x86 stringlengths 122 9.39M | arm stringlengths 122 9.33M | file stringlengths 19 200 | source stringclasses 2
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _atf_list_begin ## -- Begin function atf_list_begin
.p2align 4, 0x90
_atf_list_begin: ## @atf_list_begin
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movl (%rax), %esi
popq %rbp
jmp _entry_to_iter ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _atf_list_begin ; -- Begin function atf_list_begin
.p2align 2
_atf_list_begin: ; @atf_list_begin
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr w1, [x8]
b _entry_to_iter
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_list.c_atf_list_begin.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function AES_ige_128_encrypt_loop
_AES_ige_128_encrypt_loop: ## @AES_ige_128_encrypt_loop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rdi), %rax
movq (%rax), %r14
movq 8(%rax), %r15
movq _c@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _D_IGE_128_AES@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq _testnum@GOTPCREL(%rip), %r13
movq (%r13), %rcx
movl (%rax,%rcx,4), %edi
callq _COND
xorl %ebx, %ebx
testq %rax, %rax
je LBB0_3
## %bb.1:
movq _aes_ks1@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq _lengths@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%r13), %rcx
movq (%rax,%rcx,8), %rdx
movq _iv@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _AES_ENCRYPT@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rcx
callq _AES_ige_encrypt
incl %ebx
movq _c@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _D_IGE_128_AES@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq (%r13), %rcx
movl (%rax,%rcx,4), %edi
callq _COND
testq %rax, %rax
jne LBB0_2
LBB0_3:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _c,8,3 ## @c
.comm _D_IGE_128_AES,8,3 ## @D_IGE_128_AES
.comm _testnum,8,3 ## @testnum
.comm _lengths,8,3 ## @lengths
.comm _aes_ks1,4,2 ## @aes_ks1
.comm _iv,4,2 ## @iv
.comm _AES_ENCRYPT,4,2 ## @AES_ENCRYPT
.no_dead_strip _AES_ige_128_encrypt_loop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function AES_ige_128_encrypt_loop
_AES_ige_128_encrypt_loop: ; @AES_ige_128_encrypt_loop
.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 x8, [x0]
Lloh0:
adrp x23, _c@GOTPAGE
Lloh1:
ldr x23, [x23, _c@GOTPAGEOFF]
ldr x9, [x23]
Lloh2:
adrp x24, _D_IGE_128_AES@GOTPAGE
Lloh3:
ldr x24, [x24, _D_IGE_128_AES@GOTPAGEOFF]
ldr x10, [x24]
ldr x9, [x9, x10, lsl #3]
ldp x19, x20, [x8]
Lloh4:
adrp x25, _testnum@GOTPAGE
Lloh5:
ldr x25, [x25, _testnum@GOTPAGEOFF]
ldr x8, [x25]
ldr w0, [x9, x8, lsl #2]
bl _COND
mov w21, #0
cbz x0, LBB0_3
; %bb.1:
Lloh6:
adrp x26, _lengths@GOTPAGE
Lloh7:
ldr x26, [x26, _lengths@GOTPAGEOFF]
Lloh8:
adrp x27, _iv@GOTPAGE
Lloh9:
ldr x27, [x27, _iv@GOTPAGEOFF]
Lloh10:
adrp x28, _AES_ENCRYPT@GOTPAGE
Lloh11:
ldr x28, [x28, _AES_ENCRYPT@GOTPAGEOFF]
Lloh12:
adrp x22, _aes_ks1@GOTPAGE
Lloh13:
ldr x22, [x22, _aes_ks1@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x26]
ldr x9, [x25]
ldr x2, [x8, x9, lsl #3]
ldr w4, [x27]
ldr w5, [x28]
mov x0, x19
mov x1, x20
mov x3, x22
bl _AES_ige_encrypt
add w21, w21, #1
ldr x8, [x23]
ldr x9, [x24]
ldr x8, [x8, x9, lsl #3]
ldr x9, [x25]
ldr w0, [x8, x9, lsl #2]
bl _COND
cbnz x0, LBB0_2
LBB0_3:
mov x0, x21
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _c,8,3 ; @c
.comm _D_IGE_128_AES,8,3 ; @D_IGE_128_AES
.comm _testnum,8,3 ; @testnum
.comm _lengths,8,3 ; @lengths
.comm _aes_ks1,4,2 ; @aes_ks1
.comm _iv,4,2 ; @iv
.comm _AES_ENCRYPT,4,2 ; @AES_ENCRYPT
.no_dead_strip _AES_ige_128_encrypt_loop
.subsections_via_symbols
| AnghaBench/openssl/apps/extr_speed.c_AES_ige_128_encrypt_loop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isSolution ## -- Begin function isSolution
.p2align 4, 0x90
_isSolution: ## @isSolution
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl %esi, 16(%rdi)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printSolution ## -- Begin function printSolution
.p2align 4, 0x90
_printSolution: ## @printSolution
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $0, 16(%rdi)
jle LBB1_3
## %bb.1:
movq %rdi, %r15
leaq L_.str(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rax
movl 4(%rax,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movslq 16(%r15), %rax
incq %rbx
cmpq %rax, %rbx
jl LBB1_2
LBB1_3:
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _initSolution ## -- Begin function initSolution
.p2align 4, 0x90
_initSolution: ## @initSolution
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $0, 16(%rdi)
js LBB2_3
## %bb.1:
movq (%rdi), %rax
movq 8(%rdi), %rcx
movq $-1, %rdx
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl $-1, 4(%rax,%rdx,4)
movb $0, 1(%rcx,%rdx)
movslq 16(%rdi), %rsi
incq %rdx
cmpq %rsi, %rdx
jl LBB2_2
LBB2_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _makeMove ## -- Begin function makeMove
.p2align 4, 0x90
_makeMove: ## @makeMove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movslq %esi, %rcx
movl %edx, (%rax,%rcx,4)
movq 8(%rdi), %rax
movslq %edx, %rcx
movb $1, (%rax,%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _undoMove ## -- Begin function undoMove
.p2align 4, 0x90
_undoMove: ## @undoMove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movslq %esi, %rcx
movl $-1, (%rax,%rcx,4)
movq 8(%rdi), %rax
movslq %edx, %rcx
movb $0, (%rax,%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _backtrack ## -- Begin function backtrack
.p2align 4, 0x90
_backtrack: ## @backtrack
.cfi_startproc
## %bb.0:
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
movl 16(%rdi), %eax
cmpl %esi, %eax
jne LBB5_5
## %bb.1:
testl %esi, %esi
jle LBB5_4
## %bb.2:
leaq L_.str(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB5_3: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rax
movl 4(%rax,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movslq 16(%r15), %rax
incq %rbx
cmpq %rax, %rbx
jl LBB5_3
LBB5_4:
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _putchar ## TAILCALL
LBB5_5:
testl %eax, %eax
jle LBB5_10
## %bb.6:
incl %esi
movslq %esi, %r14
movq 8(%r15), %rcx
movl $1, %ebx
jmp LBB5_7
.p2align 4, 0x90
LBB5_9: ## in Loop: Header=BB5_7 Depth=1
leaq 1(%rbx), %rdx
movslq %eax, %rsi
cmpq %rsi, %rbx
movq %rdx, %rbx
jge LBB5_10
LBB5_7: ## =>This Inner Loop Header: Depth=1
cmpb $0, (%rcx,%rbx)
jne LBB5_9
## %bb.8: ## in Loop: Header=BB5_7 Depth=1
movq (%r15), %rax
movl %ebx, (%rax,%r14,4)
movb $1, (%rcx,%rbx)
movq %r15, %rdi
movl %r14d, %esi
callq _backtrack
movq (%r15), %rax
movl $-1, (%rax,%r14,4)
movq 8(%r15), %rcx
movb $0, (%rcx,%rbx)
movl 16(%r15), %eax
jmp LBB5_9
LBB5_10:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
cmpl $2, %edi
jne LBB6_1
## %bb.2:
movq 8(%rsi), %rdi
callq _atoi
movl %eax, %r14d
movq %rsp, %r15
leal 1(%r14), %ebx
leaq (,%rbx,4), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rax
movq %r12, -64(%rbp)
movq %rax, -56(%rbp)
movl %r14d, -48(%rbp)
leaq -64(%rbp), %rdi
xorl %ebx, %ebx
xorl %esi, %esi
callq _backtrack
movq %r15, %rsp
jmp LBB6_3
LBB6_1:
movq (%rsi), %rsi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $1, %ebx
LBB6_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB6_5
## %bb.4:
movl %ebx, %eax
leaq -32(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB6_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_.str.2: ## @.str.2
.asciz "Usage: %s [n] - Will print permutations of numbers 1 - n\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isSolution ; -- Begin function isSolution
.p2align 2
_isSolution: ; @isSolution
.cfi_startproc
; %bb.0:
ldr w8, [x0, #16]
cmp w8, w1
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _printSolution ; -- Begin function printSolution
.p2align 2
_printSolution: ; @printSolution
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr w8, [x0, #16]
cmp w8, #1
b.lt LBB1_3
; %bb.1:
mov x19, x0
mov x21, #0
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
add x8, x8, x21, lsl #2
ldr w8, [x8, #4]
str x8, [sp]
mov x0, x20
bl _printf
ldrsw x8, [x19, #16]
add x21, x21, #1
cmp x21, x8
b.lt LBB1_2
LBB1_3:
mov w0, #10
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _putchar
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _initSolution ; -- Begin function initSolution
.p2align 2
_initSolution: ; @initSolution
.cfi_startproc
; %bb.0:
ldr w8, [x0, #16]
tbnz w8, #31, LBB2_3
; %bb.1:
mov x9, #0
ldp x8, x10, [x0]
mov w11, #-1
LBB2_2: ; =>This Inner Loop Header: Depth=1
str w11, [x8, x9, lsl #2]
strb wzr, [x10, x9]
add x12, x9, #1
ldrsw x13, [x0, #16]
cmp x9, x13
mov x9, x12
b.lt LBB2_2
LBB2_3:
ret
.cfi_endproc
; -- End function
.globl _makeMove ; -- Begin function makeMove
.p2align 2
_makeMove: ; @makeMove
.cfi_startproc
; %bb.0:
ldp x8, x9, [x0]
str w2, [x8, w1, sxtw #2]
mov w8, #1
strb w8, [x9, w2, sxtw]
ret
.cfi_endproc
; -- End function
.globl _undoMove ; -- Begin function undoMove
.p2align 2
_undoMove: ; @undoMove
.cfi_startproc
; %bb.0:
mov w8, #-1
ldp x9, x10, [x0]
str w8, [x9, w1, sxtw #2]
strb wzr, [x10, w2, sxtw]
ret
.cfi_endproc
; -- End function
.globl _backtrack ; -- Begin function backtrack
.p2align 2
_backtrack: ; @backtrack
.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
ldr w8, [x0, #16]
cmp w8, w1
b.ne LBB5_5
; %bb.1:
cmp w1, #1
b.lt LBB5_4
; %bb.2:
mov x21, #0
Lloh2:
adrp x20, l_.str@PAGE
Lloh3:
add x20, x20, l_.str@PAGEOFF
LBB5_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
add x8, x8, x21, lsl #2
ldr w8, [x8, #4]
str x8, [sp]
mov x0, x20
bl _printf
ldrsw x8, [x19, #16]
add x21, x21, #1
cmp x21, x8
b.lt LBB5_3
LBB5_4:
mov w0, #10
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 _putchar
LBB5_5:
cmp w8, #1
b.lt LBB5_10
; %bb.6:
add w20, w1, #1
sxtw x10, w20
ldr x9, [x19, #8]
mov w21, #1
lsl x22, x10, #2
mov w23, #-1
mov w24, #1
b LBB5_8
LBB5_7: ; in Loop: Header=BB5_8 Depth=1
cmp x24, w8, sxtw
add x24, x24, #1
b.ge LBB5_10
LBB5_8: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x9, x24]
cbnz w10, LBB5_7
; %bb.9: ; in Loop: Header=BB5_8 Depth=1
ldr x8, [x19]
str w24, [x8, x22]
strb w21, [x9, x24]
mov x0, x19
mov x1, x20
bl _backtrack
ldp x8, x9, [x19]
str w23, [x8, x22]
strb wzr, [x9, x24]
ldr w8, [x19, #16]
b LBB5_7
LBB5_10:
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
.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
sub sp, sp, #32
Lloh4:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh5:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
stur x8, [x29, #-24]
cmp w0, #2
b.ne LBB6_2
; %bb.1:
ldr x0, [x1, #8]
bl _atoi
mov x19, sp
add w8, w0, #1
lsl x12, x8, #2
mov x9, x12
Lloh7:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh8:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x10, x12, #15
and x10, x10, #0x7fffffff0
sub x12, x9, x10
mov sp, x12
mov x9, x8
Lloh9:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh10:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x8, x9, x8
mov sp, x8
stp x12, x8, [x29, #-48]
stur w0, [x29, #-32]
sub x0, x29, #48
mov w1, #0
bl _backtrack
mov sp, x19
mov w0, #0
b LBB6_3
LBB6_2:
ldr x8, [x1]
str x8, [sp, #-16]!
Lloh11:
adrp x0, l_.str.2@PAGE
Lloh12:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add sp, sp, #16
mov w0, #1
LBB6_3:
ldur x8, [x29, #-24]
Lloh13:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh14:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x9, x8
b.ne LBB6_5
; %bb.4:
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB6_5:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.2: ; @.str.2
.asciz "Usage: %s [n] - Will print permutations of numbers 1 - n\n"
.subsections_via_symbols
| the_stack_data/117328550.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_machine_readable_output ## -- Begin function set_machine_readable_output
.p2align 4, 0x90
_set_machine_readable_output: ## @set_machine_readable_output
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _machine_readable_output@GOTPCREL(%rip), %rax
movl %edi, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _machine_readable_output,4,2 ## @machine_readable_output
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _set_machine_readable_output ; -- Begin function set_machine_readable_output
.p2align 2
_set_machine_readable_output: ; @set_machine_readable_output
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _machine_readable_output@GOTPAGE
Lloh1:
ldr x8, [x8, _machine_readable_output@GOTPAGEOFF]
Lloh2:
str w0, [x8]
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _machine_readable_output,4,2 ; @machine_readable_output
.subsections_via_symbols
| AnghaBench/openvpn/src/openvpn/extr_error.c_set_machine_readable_output.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _esp_ble_mesh_find_sig_model ## -- Begin function esp_ble_mesh_find_sig_model
.p2align 4, 0x90
_esp_ble_mesh_find_sig_model: ## @esp_ble_mesh_find_sig_model
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB0_1
## %bb.2:
popq %rbp
jmp _btc_ble_mesh_model_find ## TAILCALL
LBB0_1:
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 _esp_ble_mesh_find_sig_model ; -- Begin function esp_ble_mesh_find_sig_model
.p2align 2
_esp_ble_mesh_find_sig_model: ; @esp_ble_mesh_find_sig_model
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
b _btc_ble_mesh_model_find
LBB0_2:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/esp-idf/components/bt/esp_ble_mesh/api/core/extr_esp_ble_mesh_local_data_operation_api.c_esp_ble_mesh_find_sig_model.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___archive_pathmatch ## -- Begin function __archive_pathmatch
.p2align 4, 0x90
___archive_pathmatch: ## @__archive_pathmatch
.cfi_startproc
## %bb.0:
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, %rax
testq %rdi, %rdi
je LBB0_3
## %bb.1:
movl %edx, %r14d
movq %rdi, %r12
movb (%rdi), %cl
cmpb $94, %cl
je LBB0_6
## %bb.2:
testb %cl, %cl
jne LBB0_7
LBB0_3:
testq %rax, %rax
je LBB0_22
## %bb.4:
xorl %r15d, %r15d
cmpb $0, (%rax)
sete %r15b
jmp LBB0_23
LBB0_6:
movq _PATHMATCH_NO_ANCHOR_START@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
notl %ecx
andl %ecx, %r14d
movb 1(%r12), %cl
incq %r12
LBB0_7:
cmpb $42, %cl
je LBB0_18
## %bb.8:
cmpb $47, %cl
jne LBB0_13
## %bb.9:
xorl %r15d, %r15d
cmpb $47, (%rax)
jne LBB0_23
## %bb.10:
cmpb $47, %cl
jne LBB0_18
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
leaq 1(%r12), %rdi
cmpb $47, 1(%r12)
movq %rdi, %r12
je LBB0_11
jmp LBB0_19
LBB0_18:
movq %r12, %rdi
LBB0_19:
decq %rax
.p2align 4, 0x90
LBB0_20: ## =>This Inner Loop Header: Depth=1
cmpb $47, 1(%rax)
leaq 1(%rax), %rax
je LBB0_20
jmp LBB0_21
LBB0_13:
movq _PATHMATCH_NO_ANCHOR_START@GOTPCREL(%rip), %rcx
testl %r14d, (%rcx)
je LBB0_17
## %bb.14:
xorl %r15d, %r15d
testq %rax, %rax
je LBB0_23
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
xorl %ebx, %ebx
cmpb $47, (%rax)
sete %bl
addq %rax, %rbx
movq %r12, %rdi
movq %rbx, %rsi
movl %r14d, %edx
callq _pm
testl %eax, %eax
jne LBB0_22
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movq %rbx, %rdi
movl $47, %esi
callq _strchr
testq %rax, %rax
jne LBB0_15
jmp LBB0_23
LBB0_22:
movl $1, %r15d
LBB0_23:
movl %r15d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
movq %r12, %rdi
LBB0_21:
movq %rax, %rsi
movl %r14d, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _pm ## TAILCALL
.cfi_endproc
## -- End function
.comm _PATHMATCH_NO_ANCHOR_START,4,2 ## @PATHMATCH_NO_ANCHOR_START
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___archive_pathmatch ; -- Begin function __archive_pathmatch
.p2align 2
___archive_pathmatch: ; @__archive_pathmatch
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
cbz x0, LBB0_3
; %bb.1:
mov x19, x2
mov x20, x0
ldrb w8, [x0]
cmp w8, #94
b.eq LBB0_5
; %bb.2:
cbnz w8, LBB0_6
LBB0_3:
cbz x1, LBB0_18
; %bb.4:
ldrb w8, [x1]
cmp w8, #0
cset w0, eq
b LBB0_20
LBB0_5:
ldrb w8, [x20, #1]!
Lloh0:
adrp x9, _PATHMATCH_NO_ANCHOR_START@GOTPAGE
Lloh1:
ldr x9, [x9, _PATHMATCH_NO_ANCHOR_START@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
bic w19, w19, w9
LBB0_6:
cmp w8, #42
b.eq LBB0_11
; %bb.7:
cmp w8, #47
b.ne LBB0_14
; %bb.8:
ldrb w9, [x1]
cmp w9, #47
b.ne LBB0_19
; %bb.9:
cmp w8, #47
b.ne LBB0_11
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x20, #1]!
cmp w8, #47
b.eq LBB0_10
LBB0_11:
sub x1, x1, #1
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x1, #1]!
cmp w8, #47
b.eq LBB0_12
LBB0_13:
mov x0, x20
mov x2, 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 _pm
LBB0_14:
Lloh3:
adrp x8, _PATHMATCH_NO_ANCHOR_START@GOTPAGE
Lloh4:
ldr x8, [x8, _PATHMATCH_NO_ANCHOR_START@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
tst w8, w19
b.eq LBB0_13
; %bb.15:
cbz x1, LBB0_19
LBB0_16: ; =>This Inner Loop Header: Depth=1
mov x8, x1
ldrb w9, [x8], #1
cmp w9, #47
csel x21, x1, x8, ne
mov x0, x20
mov x1, x21
mov x2, x19
bl _pm
cbnz w0, LBB0_18
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
mov x0, x21
mov w1, #47
bl _strchr
mov x1, x0
cbnz x0, LBB0_16
b LBB0_20
LBB0_18:
mov w0, #1
b LBB0_20
LBB0_19:
mov w0, #0
LBB0_20:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _PATHMATCH_NO_ANCHOR_START,4,2 ; @PATHMATCH_NO_ANCHOR_START
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_pathmatch.c___archive_pathmatch.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vpu_dec_reset ## -- Begin function vpu_dec_reset
.p2align 4, 0x90
_vpu_dec_reset: ## @vpu_dec_reset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _AP_IPIMSG_DEC_RESET@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _vcodec_send_ap_ipi ## TAILCALL
.cfi_endproc
## -- End function
.comm _AP_IPIMSG_DEC_RESET,4,2 ## @AP_IPIMSG_DEC_RESET
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vpu_dec_reset ; -- Begin function vpu_dec_reset
.p2align 2
_vpu_dec_reset: ; @vpu_dec_reset
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _AP_IPIMSG_DEC_RESET@GOTPAGE
Lloh1:
ldr x8, [x8, _AP_IPIMSG_DEC_RESET@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _vcodec_send_ap_ipi
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AP_IPIMSG_DEC_RESET,4,2 ; @AP_IPIMSG_DEC_RESET
.subsections_via_symbols
| AnghaBench/linux/drivers/media/platform/mtk-vcodec/extr_vdec_vpu_if.c_vpu_dec_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _maxinefb_ims332_write_register ## -- Begin function maxinefb_ims332_write_register
.p2align 4, 0x90
_maxinefb_ims332_write_register: ## @maxinefb_ims332_write_register
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MAXINEFB_IMS332_ADDRESS@GOTPCREL(%rip), %rax
movq (%rax), %rax
shll $4, %edi
movslq %edi, %rcx
movl %esi, %edx
shrl $8, %edx
andl $65280, %edx ## imm = 0xFF00
movl %edx, (%rax)
movw %si, 655360(%rax,%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAXINEFB_IMS332_ADDRESS,8,3 ## @MAXINEFB_IMS332_ADDRESS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _maxinefb_ims332_write_register ; -- Begin function maxinefb_ims332_write_register
.p2align 2
_maxinefb_ims332_write_register: ; @maxinefb_ims332_write_register
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MAXINEFB_IMS332_ADDRESS@GOTPAGE
Lloh1:
ldr x8, [x8, _MAXINEFB_IMS332_ADDRESS@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
lsl w9, w0, #4
add x9, x8, w9, sxtw
lsr w10, w1, #8
and w10, w10, #0xff00
str w10, [x8]
mov w8, #655360
strh w1, [x9, x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MAXINEFB_IMS332_ADDRESS,8,3 ; @MAXINEFB_IMS332_ADDRESS
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/extr_maxinefb.c_maxinefb_ims332_write_register.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fiji_update_smc_table
_fiji_update_smc_table: ## @fiji_update_smc_table
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $128, %esi
je LBB0_3
## %bb.1:
cmpl $129, %esi
jne LBB0_4
## %bb.2:
callq _fiji_update_uvd_smc_table
jmp LBB0_4
LBB0_3:
callq _fiji_update_vce_smc_table
LBB0_4:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _fiji_update_smc_table
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fiji_update_smc_table
_fiji_update_smc_table: ; @fiji_update_smc_table
.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_4
; %bb.2:
bl _fiji_update_uvd_smc_table
b LBB0_4
LBB0_3:
bl _fiji_update_vce_smc_table
LBB0_4:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _fiji_update_smc_table
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/powerplay/smumgr/extr_fiji_smumgr.c_fiji_update_smc_table.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function netiucv_setup_netdevice
_netiucv_setup_netdevice: ## @netiucv_setup_netdevice
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _NETIUCV_MTU_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 40(%rdi)
movq _netiucv_free_netdevice@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 36(%rdi)
movq _NETIUCV_HDRLEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%rdi)
movq $0, 24(%rdi)
movq _ARPHRD_SLIP@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 20(%rdi)
movq _NETIUCV_QUEUELEN_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rdi)
movq _IFF_POINTOPOINT@GOTPCREL(%rip), %rax
movq _IFF_NOARP@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movl %ecx, (%rdi)
movq _netiucv_netdev_ops@GOTPCREL(%rip), %rax
movq %rax, 8(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NETIUCV_MTU_DEFAULT,4,2 ## @NETIUCV_MTU_DEFAULT
.comm _netiucv_free_netdevice,4,2 ## @netiucv_free_netdevice
.comm _NETIUCV_HDRLEN,4,2 ## @NETIUCV_HDRLEN
.comm _ARPHRD_SLIP,4,2 ## @ARPHRD_SLIP
.comm _NETIUCV_QUEUELEN_DEFAULT,4,2 ## @NETIUCV_QUEUELEN_DEFAULT
.comm _IFF_POINTOPOINT,4,2 ## @IFF_POINTOPOINT
.comm _IFF_NOARP,4,2 ## @IFF_NOARP
.comm _netiucv_netdev_ops,4,2 ## @netiucv_netdev_ops
.no_dead_strip _netiucv_setup_netdevice
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function netiucv_setup_netdevice
_netiucv_setup_netdevice: ; @netiucv_setup_netdevice
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _NETIUCV_MTU_DEFAULT@GOTPAGE
Lloh1:
ldr x8, [x8, _NETIUCV_MTU_DEFAULT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0, #40]
Lloh3:
adrp x8, _netiucv_free_netdevice@GOTPAGE
Lloh4:
ldr x8, [x8, _netiucv_free_netdevice@GOTPAGEOFF]
Lloh5:
adrp x9, _NETIUCV_HDRLEN@GOTPAGE
Lloh6:
ldr x9, [x9, _NETIUCV_HDRLEN@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
Lloh8:
ldr w9, [x9]
stp w9, w8, [x0, #32]
Lloh9:
adrp x8, _ARPHRD_SLIP@GOTPAGE
Lloh10:
ldr x8, [x8, _ARPHRD_SLIP@GOTPAGEOFF]
str xzr, [x0, #24]
Lloh11:
ldr w8, [x8]
Lloh12:
adrp x9, _NETIUCV_QUEUELEN_DEFAULT@GOTPAGE
Lloh13:
ldr x9, [x9, _NETIUCV_QUEUELEN_DEFAULT@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
stp w9, w8, [x0, #16]
Lloh15:
adrp x8, _IFF_POINTOPOINT@GOTPAGE
Lloh16:
ldr x8, [x8, _IFF_POINTOPOINT@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
Lloh18:
adrp x9, _IFF_NOARP@GOTPAGE
Lloh19:
ldr x9, [x9, _IFF_NOARP@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
orr w8, w9, w8
str w8, [x0]
Lloh21:
adrp x8, _netiucv_netdev_ops@GOTPAGE
Lloh22:
ldr x8, [x8, _netiucv_netdev_ops@GOTPAGEOFF]
str x8, [x0, #8]
ret
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NETIUCV_MTU_DEFAULT,4,2 ; @NETIUCV_MTU_DEFAULT
.comm _netiucv_free_netdevice,4,2 ; @netiucv_free_netdevice
.comm _NETIUCV_HDRLEN,4,2 ; @NETIUCV_HDRLEN
.comm _ARPHRD_SLIP,4,2 ; @ARPHRD_SLIP
.comm _NETIUCV_QUEUELEN_DEFAULT,4,2 ; @NETIUCV_QUEUELEN_DEFAULT
.comm _IFF_POINTOPOINT,4,2 ; @IFF_POINTOPOINT
.comm _IFF_NOARP,4,2 ; @IFF_NOARP
.comm _netiucv_netdev_ops,4,2 ; @netiucv_netdev_ops
.no_dead_strip _netiucv_setup_netdevice
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/s390/net/extr_netiucv.c_netiucv_setup_netdevice.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _InsertionSort ## -- Begin function InsertionSort
.p2align 4, 0x90
_InsertionSort: ## @InsertionSort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $2, %esi
jl LBB0_7
## %bb.1:
movl %esi, %r8d
movl $1, %r9d
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movslq %ecx, %rax
movl %edx, (%rdi,%rax,4)
incq %r9
cmpq %r8, %r9
je LBB0_7
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl (%rdi,%r9,4), %edx
movq %r9, %rcx
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq -1(%rcx), %rsi
movl %esi, %eax
movl (%rdi,%rax,4), %eax
cmpl %eax, %edx
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl %eax, (%rdi,%rcx,4)
leaq 1(%rsi), %rax
movq %rsi, %rcx
cmpq $1, %rax
jg LBB0_3
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
xorl %ecx, %ecx
jmp LBB0_6
LBB0_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $5, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $6, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $7, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $8, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $9, %esi
xorl %eax, %eax
callq _printf
movl $10, %edi
callq _putchar
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 "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _InsertionSort ; -- Begin function InsertionSort
.p2align 2
_InsertionSort: ; @InsertionSort
.cfi_startproc
; %bb.0:
cmp w1, #2
b.lt LBB0_7
; %bb.1:
mov w8, w1
mov w9, #1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sbfiz x11, x11, #2, #32
str w10, [x0, x11]
add x9, x9, #1
cmp x9, x8
b.eq LBB0_7
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
ldr w10, [x0, x9, lsl #2]
mov x11, x9
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
sub x12, x11, #1
ldr w13, [x0, w12, uxtw #2]
cmp w10, w13
b.ge LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
str w13, [x0, x11, lsl #2]
add x13, x12, #1
mov x11, x12
cmp x13, #1
b.gt LBB0_4
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x11, #0
b LBB0_2
LBB0_7:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
str xzr, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
mov w8, #1
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #2
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #3
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #4
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #5
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #6
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #7
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #8
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #9
str x8, [sp]
mov x0, x19
bl _printf
mov w0, #10
bl _putchar
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
.subsections_via_symbols
| the_stack_data/90762938.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
leaq -12(%rbp), %rdx
xorl %eax, %eax
callq _scanf
movl -12(%rbp), %r8d
testq %r8, %r8
je LBB0_5
## %bb.1:
testl %r8d, %r8d
jle LBB0_2
## %bb.3:
movslq -16(%rbp), %rsi
leaq -1(%r8), %r9
movl %r8d, %r11d
andl $7, %r11d
cmpq $7, %r9
jae LBB0_13
## %bb.4:
movl $1, %eax
xorl %ecx, %ecx
testq %r11, %r11
jne LBB0_8
jmp LBB0_10
LBB0_5:
movl $49, %edi
callq _putchar
jmp LBB0_36
LBB0_2:
movl $1, %eax
jmp LBB0_35
LBB0_13:
movl %r8d, %r10d
andl $-8, %r10d
negq %r10
movl $1, %eax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
leaq (%rsi,%rcx), %rdx
imulq %rax, %rdx
leaq (%rsi,%rcx), %rax
decq %rax
leaq (%rsi,%rcx), %rdi
addq $-2, %rdi
imulq %rax, %rdi
imulq %rdx, %rdi
leaq (%rsi,%rcx), %rax
addq $-3, %rax
leaq (%rsi,%rcx), %rdx
addq $-4, %rdx
imulq %rax, %rdx
leaq (%rsi,%rcx), %rbx
addq $-5, %rbx
imulq %rdx, %rbx
imulq %rdi, %rbx
leaq (%rsi,%rcx), %rdx
addq $-6, %rdx
leaq (%rsi,%rcx), %rax
addq $-7, %rax
imulq %rdx, %rax
imulq %rbx, %rax
addq $-8, %rcx
cmpq %rcx, %r10
jne LBB0_14
## %bb.6:
negq %rcx
testq %r11, %r11
je LBB0_10
LBB0_8:
subq %rcx, %rsi
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
imulq %rsi, %rax
decq %rsi
decq %r11
jne LBB0_9
LBB0_10:
testl %r8d, %r8d
jle LBB0_35
## %bb.11:
movl %r8d, %esi
andl $3, %esi
cmpq $3, %r9
jae LBB0_15
## %bb.12:
movl $1, %edi
testq %rsi, %rsi
jne LBB0_31
jmp LBB0_35
LBB0_15:
andl $-4, %r8d
movl $1, %edx
jmp LBB0_16
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_16 Depth=1
cqto
idivq %rcx
LBB0_28: ## in Loop: Header=BB0_16 Depth=1
leaq 1(%rcx), %rdx
cmpq %r8, %rcx
je LBB0_29
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq %rdx, %rdi
movq %rax, %rcx
orq %rdx, %rcx
shrq $32, %rcx
je LBB0_17
## %bb.18: ## in Loop: Header=BB0_16 Depth=1
cqto
idivq %rdi
jmp LBB0_19
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_16 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %edi
## kill: def $eax killed $eax def $rax
LBB0_19: ## in Loop: Header=BB0_16 Depth=1
leaq 1(%rdi), %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_20
## %bb.21: ## in Loop: Header=BB0_16 Depth=1
cqto
idivq %rcx
jmp LBB0_22
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_16 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
LBB0_22: ## in Loop: Header=BB0_16 Depth=1
incq %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_23
## %bb.24: ## in Loop: Header=BB0_16 Depth=1
cqto
idivq %rcx
jmp LBB0_25
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_16 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
LBB0_25: ## in Loop: Header=BB0_16 Depth=1
incq %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
jne LBB0_27
## %bb.26: ## in Loop: Header=BB0_16 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
jmp LBB0_28
LBB0_29:
addq $4, %rdi
testq %rsi, %rsi
jne LBB0_31
LBB0_35:
leaq L_.str.2(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
LBB0_36:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_31 Depth=1
cqto
idivq %rdi
LBB0_34: ## in Loop: Header=BB0_31 Depth=1
incq %rdi
decq %rsi
je LBB0_35
LBB0_31: ## =>This Inner Loop Header: Depth=1
movq %rax, %rcx
orq %rdi, %rcx
shrq $32, %rcx
jne LBB0_33
## %bb.32: ## in Loop: Header=BB0_31 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %edi
## kill: def $eax killed $eax def $rax
jmp LBB0_34
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%d"
L_.str.2: ## @.str.2
.asciz "%lld"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub x8, x29, #8
sub x9, x29, #4
stp x9, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
cbz w8, LBB0_4
; %bb.1:
cmp w8, #1
b.lt LBB0_5
; %bb.2:
ldursw x10, [x29, #-4]
cmp w8, #4
b.hs LBB0_6
; %bb.3:
mov x11, #0
mov w9, #1
b LBB0_9
LBB0_4:
mov w0, #49
bl _putchar
b LBB0_15
LBB0_5:
mov w9, #1
b LBB0_14
LBB0_6:
and x11, x8, #0xfffffffc
mov w9, #1
mov x12, x11
mov x13, x10
mov w14, #1
mov w15, #1
mov w16, #1
LBB0_7: ; =>This Inner Loop Header: Depth=1
sub x17, x13, #1
sub x0, x13, #2
sub x1, x13, #3
mul x9, x9, x13
mul x14, x14, x17
mul x15, x15, x0
sub x13, x13, #4
mul x16, x16, x1
subs x12, x12, #4
b.ne LBB0_7
; %bb.8:
mul x9, x14, x9
mul x9, x15, x9
mul x9, x16, x9
cmp x11, x8
b.eq LBB0_11
LBB0_9:
sub x10, x10, x11
sub x11, x8, x11
LBB0_10: ; =>This Inner Loop Header: Depth=1
mul x9, x9, x10
sub x10, x10, #1
subs x11, x11, #1
b.ne LBB0_10
LBB0_11:
cmp w8, #1
b.lt LBB0_14
; %bb.12:
add x8, x8, #1
mov w10, #1
LBB0_13: ; =>This Inner Loop Header: Depth=1
sdiv x9, x9, x10
add x10, x10, #1
cmp x8, x10
b.ne LBB0_13
LBB0_14:
str x9, [sp]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
LBB0_15:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%d"
l_.str.2: ; @.str.2
.asciz "%lld"
.subsections_via_symbols
| the_stack_data/148578856.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function luaB_collectgarbage
_luaB_collectgarbage: ## @luaB_collectgarbage
.cfi_startproc
## %bb.0:
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
leaq L_.str.2(%rip), %rdx
leaq _luaB_collectgarbage.opts(%rip), %rcx
movl $1, %esi
callq _luaL_checkoption
leaq _luaB_collectgarbage.optsnum(%rip), %rcx
movl (%rcx,%rax,4), %ebx
movq %r15, %rdi
movl $2, %esi
xorl %edx, %edx
callq _luaL_optinteger
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _lua_gc
movl %eax, %r14d
cmpl $129, %ebx
je LBB0_4
## %bb.1:
cmpl $133, %ebx
je LBB0_4
## %bb.2:
cmpl $134, %ebx
jne LBB0_5
## %bb.3:
movq _LUA_GCCOUNTB@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
xorl %edx, %edx
callq _lua_gc
## kill: def $eax killed $eax def $rax
leal 1023(%rax), %esi
testl %eax, %eax
cmovnsl %eax, %esi
sarl $10, %esi
addl %r14d, %esi
movq %r15, %rdi
callq _lua_pushnumber
jmp LBB0_6
LBB0_4:
movq %r15, %rdi
movl %r14d, %esi
callq _lua_pushboolean
jmp LBB0_6
LBB0_5:
movq %r15, %rdi
movl %r14d, %esi
callq _lua_pushinteger
LBB0_6:
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @luaB_collectgarbage.opts
_luaB_collectgarbage.opts:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "stop"
L_.str.1: ## @.str.1
.asciz "restart"
L_.str.2: ## @.str.2
.asciz "collect"
L_.str.3: ## @.str.3
.asciz "count"
L_.str.4: ## @.str.4
.asciz "step"
L_.str.5: ## @.str.5
.asciz "setpause"
L_.str.6: ## @.str.6
.asciz "setstepmul"
L_.str.7: ## @.str.7
.asciz "isrunning"
.section __TEXT,__const
.p2align 4 ## @luaB_collectgarbage.optsnum
_luaB_collectgarbage.optsnum:
.long 128 ## 0x80
.long 132 ## 0x84
.long 135 ## 0x87
.long 134 ## 0x86
.long 129 ## 0x81
.long 131 ## 0x83
.long 130 ## 0x82
.long 133 ## 0x85
.comm _LUA_GCCOUNTB,4,2 ## @LUA_GCCOUNTB
.no_dead_strip _luaB_collectgarbage
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function luaB_collectgarbage
_luaB_collectgarbage: ; @luaB_collectgarbage
.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 x2, l_.str.2@PAGE
Lloh1:
add x2, x2, l_.str.2@PAGEOFF
Lloh2:
adrp x3, _luaB_collectgarbage.opts@PAGE
Lloh3:
add x3, x3, _luaB_collectgarbage.opts@PAGEOFF
mov w1, #1
bl _luaL_checkoption
Lloh4:
adrp x8, _luaB_collectgarbage.optsnum@PAGE
Lloh5:
add x8, x8, _luaB_collectgarbage.optsnum@PAGEOFF
ldr w21, [x8, x0, lsl #2]
mov x0, x19
mov w1, #2
mov w2, #0
bl _luaL_optinteger
mov x2, x0
mov x0, x19
mov x1, x21
; kill: def $w2 killed $w2 killed $x2
bl _lua_gc
mov x20, x0
cmp w21, #129
b.eq LBB0_4
; %bb.1:
cmp w21, #133
b.eq LBB0_4
; %bb.2:
cmp w21, #134
b.ne LBB0_5
; %bb.3:
Lloh6:
adrp x8, _LUA_GCCOUNTB@GOTPAGE
Lloh7:
ldr x8, [x8, _LUA_GCCOUNTB@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x19
mov w2, #0
bl _lua_gc
add w8, w0, #1023
cmp w0, #0
csel w8, w8, w0, lt
add w1, w20, w8, asr #10
mov x0, x19
bl _lua_pushnumber
b LBB0_6
LBB0_4:
mov x0, x19
mov x1, x20
bl _lua_pushboolean
b LBB0_6
LBB0_5:
mov x0, x19
mov x1, x20
bl _lua_pushinteger
LBB0_6:
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @luaB_collectgarbage.opts
_luaB_collectgarbage.opts:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "stop"
l_.str.1: ; @.str.1
.asciz "restart"
l_.str.2: ; @.str.2
.asciz "collect"
l_.str.3: ; @.str.3
.asciz "count"
l_.str.4: ; @.str.4
.asciz "step"
l_.str.5: ; @.str.5
.asciz "setpause"
l_.str.6: ; @.str.6
.asciz "setstepmul"
l_.str.7: ; @.str.7
.asciz "isrunning"
.section __TEXT,__const
.p2align 2 ; @luaB_collectgarbage.optsnum
_luaB_collectgarbage.optsnum:
.long 128 ; 0x80
.long 132 ; 0x84
.long 135 ; 0x87
.long 134 ; 0x86
.long 129 ; 0x81
.long 131 ; 0x83
.long 130 ; 0x82
.long 133 ; 0x85
.comm _LUA_GCCOUNTB,4,2 ; @LUA_GCCOUNTB
.no_dead_strip _luaB_collectgarbage
.subsections_via_symbols
| AnghaBench/xLua/WebGLPlugins/extr_lbaselib.c_luaB_collectgarbage.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _release_engine ## -- Begin function release_engine
.p2align 4, 0x90
_release_engine: ## @release_engine
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB0_1
## %bb.2:
popq %rbp
jmp _ENGINE_free ## TAILCALL
LBB0_1:
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 _release_engine ; -- Begin function release_engine
.p2align 2
_release_engine: ; @release_engine
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
b _ENGINE_free
LBB0_2:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/apps/extr_apps.c_release_engine.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 $728, %rsp ## imm = 0x2D8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq _sigpipe(%rip), %rsi
movl $13, %edi
callq _signal
movb $0, -624(%rbp)
leaq L_.str(%rip), %r15
leaq LJTI0_0(%rip), %r12
movq _optarg@GOTPCREL(%rip), %r13
jmp LBB0_3
LBB0_1: ## in Loop: Header=BB0_3 Depth=1
movq (%r13), %rcx
movl $256, %esi ## imm = 0x100
leaq -624(%rbp), %rdi
leaq L_.str.1(%rip), %rdx
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
xorl %eax, %eax
callq _snprintf
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
movq %r14, %rsi
movq %r15, %rdx
callq _getopt
## kill: def $eax killed $eax def $rax
leal -68(%rax), %ecx
cmpl $50, %ecx
ja LBB0_11
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movslq (%r12,%rcx,4), %rax
addq %r12, %rax
jmpq *%rax
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movups L_.str.3+16(%rip), %xmm0
movaps %xmm0, -608(%rbp)
movups L_.str.3(%rip), %xmm0
movaps %xmm0, -624(%rbp)
movabsq $13563782407139377, %rax ## imm = 0x30303030303031
movq %rax, -594(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movups L_.str.2(%rip), %xmm0
movaps %xmm0, -624(%rbp)
movl $3158064, -609(%rbp) ## imm = 0x303030
jmp LBB0_3
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq (%r13), %rcx
movl $256, %esi ## imm = 0x100
leaq -624(%rbp), %rdi
leaq L_.str.4(%rip), %rdx
jmp LBB0_2
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movq (%r13), %rax
movq %rax, _opt_diff_tool(%rip)
jmp LBB0_3
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
incl _opt_verbose(%rip)
jmp LBB0_3
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movq (%r13), %rcx
movl $256, %esi ## imm = 0x100
leaq -624(%rbp), %rdi
leaq L_.str.5(%rip), %rdx
jmp LBB0_2
LBB0_11:
cmpl $-1, %eax
jne LBB0_513
## %bb.12:
cmpb $0, -624(%rbp)
je LBB0_513
## %bb.13:
xorl %ebx, %ebx
leaq -760(%rbp), %rsi
leaq -624(%rbp), %rdx
xorl %edi, %edi
callq _cmd_block_process
movq $0, -664(%rbp)
leaq -664(%rbp), %r14
movq %r14, -656(%rbp)
movq $0, -712(%rbp)
leaq -712(%rbp), %rax
movq %rax, -704(%rbp)
movq -760(%rbp), %r12
testq %r12, %r12
je LBB0_16
## %bb.14:
xorl %ebx, %ebx
movq %r12, %rax
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movl 16(%rax), %ecx
addq %rcx, %rbx
movq (%rax), %rax
testq %rax, %rax
jne LBB0_15
LBB0_16:
movl $1, %edi
movl $8232, %esi ## imm = 0x2028
callq _calloc
testq %rax, %rax
je LBB0_128
## %bb.17:
movq %rax, %r15
addq $40, %rax
movq %rax, 24(%r15)
movq %r15, %rax
addq $4136, %rax ## imm = 0x1028
movq %rax, 32(%r15)
movl $4096, 16(%r15) ## imm = 0x1000
movl $1, %edi
movl $8232, %esi ## imm = 0x2028
callq _calloc
testq %rax, %rax
je LBB0_129
## %bb.18:
movq %rax, %r11
addq $40, %rax
movq %rax, 24(%r11)
movq %r11, %rax
addq $4136, %rax ## imm = 0x1028
movq %rax, 32(%r11)
movl $4096, 16(%r11) ## imm = 0x1000
xorl %r10d, %r10d
testq %rbx, %rbx
je LBB0_127
## %bb.19:
xorl %r8d, %r8d
xorl %r9d, %r9d
xorl %r13d, %r13d
testq %r12, %r12
je LBB0_115
LBB0_20:
movq %r12, %rcx
movq %r13, %rdx
movq %r13, %rsi
.p2align 4, 0x90
LBB0_21: ## =>This Inner Loop Header: Depth=1
movl 16(%rcx), %edi
subq %rdi, %rsi
jb LBB0_23
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
movq (%rcx), %rcx
movq %rsi, %rdx
testq %rcx, %rcx
jne LBB0_21
jmp LBB0_115
.p2align 4, 0x90
LBB0_23:
movq 24(%rcx), %rsi
movzbl (%rsi,%rdx), %esi
cmpw $32, %si
je LBB0_30
## %bb.24:
movq %r8, -640(%rbp) ## 8-byte Spill
movq 32(%rcx), %rcx
movzbl (%rcx,%rdx), %r8d
shll $8, %r8d
orl %esi, %r8d
cmpb $45, %sil
movq %r9, -648(%rbp) ## 8-byte Spill
je LBB0_47
## %bb.25:
cmpb $43, %sil
jne LBB0_114
## %bb.26:
leaq 1(%r13), %r14
movq %r12, %rdx
movq %r14, %rsi
movq %r14, %rdi
.p2align 4, 0x90
LBB0_27: ## =>This Inner Loop Header: Depth=1
movl 16(%rdx), %ecx
subq %rcx, %rdi
jb LBB0_51
## %bb.28: ## in Loop: Header=BB0_27 Depth=1
movq (%rdx), %rdx
movq %rdi, %rsi
testq %rdx, %rdx
jne LBB0_27
## %bb.29:
xorl %edx, %edx
cmpw %dx, %r8w
je LBB0_52
jmp LBB0_70
LBB0_30:
testl %r10d, %r10d
jne LBB0_33
## %bb.31:
xorl %r10d, %r10d
cmpq %rbx, %r13
jb LBB0_116
jmp LBB0_124
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_33 Depth=1
movl $1, %r10d
cmpw $10, %r14w
je LBB0_115
LBB0_33: ## =>This Loop Header: Depth=1
## Child Loop BB0_36 Depth 2
incq %r13
cmpq %rbx, %r13
je LBB0_131
## %bb.34: ## in Loop: Header=BB0_33 Depth=1
movq -760(%rbp), %rax
testq %rax, %rax
je LBB0_39
## %bb.35: ## in Loop: Header=BB0_33 Depth=1
movq %r13, %rdx
movq %r13, %rcx
.p2align 4, 0x90
LBB0_36: ## Parent Loop BB0_33 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rax), %esi
subq %rsi, %rcx
jb LBB0_40
## %bb.37: ## in Loop: Header=BB0_36 Depth=2
movq (%rax), %rax
movq %rcx, %rdx
testq %rax, %rax
jne LBB0_36
LBB0_39: ## in Loop: Header=BB0_33 Depth=1
xorl %r14d, %r14d
jmp LBB0_41
.p2align 4, 0x90
LBB0_40: ## in Loop: Header=BB0_33 Depth=1
movq 24(%rax), %rax
movzbl (%rax,%rdx), %r14d
LBB0_41: ## in Loop: Header=BB0_33 Depth=1
movq 24(%r15), %rax
movb %r14b, (%rax,%r9)
incq %r9
cmpq $4096, %r9 ## imm = 0x1000
jne LBB0_44
## %bb.42: ## in Loop: Header=BB0_33 Depth=1
movq %r15, %rcx
movq %r8, %r15
movq %r11, %r12
movq $0, (%rcx)
movq -656(%rbp), %rax
movq %rax, 8(%rcx)
movq -656(%rbp), %rax
movq %rcx, (%rax)
movq %rcx, -656(%rbp)
movl $1, %edi
movl $8232, %esi ## imm = 0x2028
callq _calloc
testq %rax, %rax
je LBB0_509
## %bb.43: ## in Loop: Header=BB0_33 Depth=1
leaq 40(%rax), %rcx
movq %rcx, 24(%rax)
movq %rax, %rcx
addq $4136, %rcx ## imm = 0x1028
movq %rcx, 32(%rax)
movl $4096, 16(%rax) ## imm = 0x1000
xorl %r9d, %r9d
movq %r12, %r11
movq %r15, %r8
movq %rax, %r15
LBB0_44: ## in Loop: Header=BB0_33 Depth=1
movq 24(%r11), %rax
movb %r14b, (%rax,%r8)
incq %r8
cmpq $4096, %r8 ## imm = 0x1000
jne LBB0_32
## %bb.45: ## in Loop: Header=BB0_33 Depth=1
movq %r9, %r12
movq $0, (%r11)
movq -704(%rbp), %rax
movq %rax, 8(%r11)
movq -704(%rbp), %rax
movq %r11, (%rax)
movq %r11, -704(%rbp)
movl $1, %edi
movl $8232, %esi ## imm = 0x2028
callq _calloc
testq %rax, %rax
je LBB0_510
## %bb.46: ## in Loop: Header=BB0_33 Depth=1
movq %rax, %r11
addq $40, %rax
movq %rax, 24(%r11)
movq %r11, %rax
addq $4136, %rax ## imm = 0x1028
movq %rax, 32(%r11)
movl $4096, 16(%r11) ## imm = 0x1000
xorl %r8d, %r8d
movq %r12, %r9
jmp LBB0_32
LBB0_47:
leaq 1(%r13), %r14
movq %r12, %rdx
movq %r14, %rsi
movq %r14, %rdi
.p2align 4, 0x90
LBB0_48: ## =>This Inner Loop Header: Depth=1
movl 16(%rdx), %ecx
subq %rcx, %rdi
jb LBB0_56
## %bb.49: ## in Loop: Header=BB0_48 Depth=1
movq (%rdx), %rdx
movq %rdi, %rsi
testq %rdx, %rdx
jne LBB0_48
## %bb.50:
xorl %edx, %edx
cmpw %dx, %r8w
je LBB0_57
jmp LBB0_86
LBB0_51:
movq 24(%rdx), %rcx
movq 32(%rdx), %rdx
movzbl (%rcx,%rsi), %ecx
movzbl (%rdx,%rsi), %edx
shll $8, %edx
orl %ecx, %edx
cmpw %dx, %r8w
jne LBB0_70
LBB0_52:
leaq 2(%r13), %rsi
movq %r12, %rdx
movq %rsi, %rdi
.p2align 4, 0x90
LBB0_53: ## =>This Inner Loop Header: Depth=1
movl 16(%rdx), %ecx
subq %rcx, %rdi
jb LBB0_61
## %bb.54: ## in Loop: Header=BB0_53 Depth=1
movq (%rdx), %rdx
movq %rdi, %rsi
testq %rdx, %rdx
jne LBB0_53
## %bb.55:
xorl %edx, %edx
cmpw %dx, %r8w
je LBB0_62
jmp LBB0_70
LBB0_56:
movq 24(%rdx), %rcx
movq 32(%rdx), %rdx
movzbl (%rcx,%rsi), %ecx
movzbl (%rdx,%rsi), %edx
shll $8, %edx
orl %ecx, %edx
cmpw %dx, %r8w
jne LBB0_86
LBB0_57:
leaq 2(%r13), %rsi
movq %r12, %rdx
movq %rsi, %rdi
.p2align 4, 0x90
LBB0_58: ## =>This Inner Loop Header: Depth=1
movl 16(%rdx), %ecx
subq %rcx, %rdi
jb LBB0_65
## %bb.59: ## in Loop: Header=BB0_58 Depth=1
movq (%rdx), %rdx
movq %rdi, %rsi
testq %rdx, %rdx
jne LBB0_58
## %bb.60:
xorl %edx, %edx
cmpw %dx, %r8w
je LBB0_66
jmp LBB0_86
LBB0_61:
movq 24(%rdx), %rcx
movq 32(%rdx), %rdx
movzbl (%rcx,%rsi), %ecx
movzbl (%rdx,%rsi), %edx
shll $8, %edx
orl %ecx, %edx
cmpw %dx, %r8w
jne LBB0_70
LBB0_62:
leaq 3(%r13), %r8
movq %r12, %rdx
movq %r8, %rdi
movq %r8, %rsi
.p2align 4, 0x90
LBB0_63: ## =>This Inner Loop Header: Depth=1
movl 16(%rdx), %ecx
subq %rcx, %rsi
jb LBB0_69
## %bb.64: ## in Loop: Header=BB0_63 Depth=1
movq (%rdx), %rdx
movq %rsi, %rdi
testq %rdx, %rdx
jne LBB0_63
jmp LBB0_70
LBB0_65:
movq 24(%rdx), %rcx
movq 32(%rdx), %rdx
movzbl (%rcx,%rsi), %ecx
movzbl (%rdx,%rsi), %edx
shll $8, %edx
orl %ecx, %edx
cmpw %dx, %r8w
jne LBB0_86
LBB0_66:
leaq 3(%r13), %r8
movq %r12, %rdx
movq %r8, %rdi
movq %r8, %rsi
.p2align 4, 0x90
LBB0_67: ## =>This Inner Loop Header: Depth=1
movl 16(%rdx), %ecx
subq %rcx, %rsi
jb LBB0_85
## %bb.68: ## in Loop: Header=BB0_67 Depth=1
movq (%rdx), %rdx
movq %rsi, %rdi
testq %rdx, %rdx
jne LBB0_67
jmp LBB0_86
LBB0_69:
movq 24(%rdx), %rcx
cmpb $32, (%rcx,%rdi)
je LBB0_103
LBB0_70:
testl %r10d, %r10d
je LBB0_113
## %bb.71:
cmpq %rbx, %r14
movq -640(%rbp), %r8 ## 8-byte Reload
je LBB0_131
.p2align 4, 0x90
## %bb.72:
testq %r12, %r12
je LBB0_77
LBB0_73:
movq %r14, %rcx
movq %r14, %rax
.p2align 4, 0x90
LBB0_74: ## =>This Inner Loop Header: Depth=1
movl 16(%r12), %edx
subq %rdx, %rax
jb LBB0_78
## %bb.75: ## in Loop: Header=BB0_74 Depth=1
movq (%r12), %r12
movq %rax, %rcx
testq %r12, %r12
jne LBB0_74
jmp LBB0_77
.p2align 4, 0x90
LBB0_78:
movq 24(%r12), %rax
movzbl (%rax,%rcx), %r12d
jmp LBB0_79
.p2align 4, 0x90
LBB0_77:
xorl %r12d, %r12d
LBB0_79:
movq 32(%r15), %rax
movb $2, (%rax,%r9)
movq 24(%r15), %rax
movb %r12b, (%rax,%r9)
incq %r9
cmpq $4096, %r9 ## imm = 0x1000
jne LBB0_82
## %bb.80:
movq %r11, %r13
movq $0, (%r15)
movq -656(%rbp), %rax
movq %rax, 8(%r15)
movq -656(%rbp), %rax
movq %r15, (%rax)
movq %r15, -656(%rbp)
movl $1, %edi
movl $8232, %esi ## imm = 0x2028
callq _calloc
testq %rax, %rax
je LBB0_511
## %bb.81:
movq %rax, %r15
addq $40, %rax
movq %rax, 24(%r15)
movq %r15, %rax
addq $4136, %rax ## imm = 0x1028
movq %rax, 32(%r15)
movl $4096, 16(%r15) ## imm = 0x1000
xorl %r9d, %r9d
movq %r13, %r11
movq -640(%rbp), %r8 ## 8-byte Reload
LBB0_82:
cmpw $10, %r12w
je LBB0_126
## %bb.83:
incq %r14
cmpq %rbx, %r14
je LBB0_131
## %bb.84:
movq -760(%rbp), %r12
testq %r12, %r12
jne LBB0_73
jmp LBB0_77
LBB0_85:
movq 24(%rdx), %rcx
cmpb $32, (%rcx,%rdi)
je LBB0_103
LBB0_86:
testl %r10d, %r10d
je LBB0_113
## %bb.87:
cmpq %rbx, %r14
movq -640(%rbp), %r8 ## 8-byte Reload
je LBB0_131
.p2align 4, 0x90
## %bb.88:
testq %r12, %r12
je LBB0_93
LBB0_89:
movq %r14, %rcx
movq %r14, %rax
.p2align 4, 0x90
LBB0_90: ## =>This Inner Loop Header: Depth=1
movl 16(%r12), %edx
subq %rdx, %rax
jb LBB0_94
## %bb.91: ## in Loop: Header=BB0_90 Depth=1
movq (%r12), %r12
movq %rax, %rcx
testq %r12, %r12
jne LBB0_90
jmp LBB0_93
.p2align 4, 0x90
LBB0_94:
movq 24(%r12), %rax
movzbl (%rax,%rcx), %r12d
jmp LBB0_95
.p2align 4, 0x90
LBB0_93:
xorl %r12d, %r12d
LBB0_95:
movq 24(%r11), %rax
movb %r12b, (%rax,%r8)
incq %r8
cmpq $4096, %r8 ## imm = 0x1000
jne LBB0_98
## %bb.96:
movq $0, (%r11)
movq -704(%rbp), %rax
movq %rax, 8(%r11)
movq -704(%rbp), %rax
movq %r11, (%rax)
movq %r11, -704(%rbp)
movl $1, %edi
movl $8232, %esi ## imm = 0x2028
callq _calloc
testq %rax, %rax
je LBB0_512
## %bb.97:
movq %rax, %r11
addq $40, %rax
movq %rax, 24(%r11)
movq %r11, %rax
addq $4136, %rax ## imm = 0x1028
movq %rax, 32(%r11)
movl $4096, 16(%r11) ## imm = 0x1000
xorl %r8d, %r8d
movq -648(%rbp), %r9 ## 8-byte Reload
LBB0_98:
cmpw $10, %r12w
je LBB0_126
## %bb.99:
incq %r14
cmpq %rbx, %r14
je LBB0_131
## %bb.100:
movq -760(%rbp), %r12
testq %r12, %r12
jne LBB0_89
jmp LBB0_93
LBB0_101: ## in Loop: Header=BB0_103 Depth=1
movq 24(%rsi), %rdx
movzbl (%rdx,%rcx), %ecx
LBB0_102: ## in Loop: Header=BB0_103 Depth=1
cmpw $99, %cx
sete %dl
cmpw $104, %cx
sete %cl
orb %dl, %cl
cmpw $46, %r9w
movzbl %cl, %ecx
cmovel %ecx, %r10d
cmpw $10, %r9w
movq -648(%rbp), %r9 ## 8-byte Reload
je LBB0_114
LBB0_103: ## =>This Loop Header: Depth=1
## Child Loop BB0_105 Depth 2
## Child Loop BB0_110 Depth 2
cmpq %rbx, %r8
je LBB0_130
## %bb.104: ## in Loop: Header=BB0_103 Depth=1
movq %r8, %r13
movq %r12, %rcx
movq %r8, %rsi
movq %r13, %rdx
.p2align 4, 0x90
LBB0_105: ## Parent Loop BB0_103 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rcx), %edi
subq %rdi, %rdx
jb LBB0_108
## %bb.106: ## in Loop: Header=BB0_105 Depth=2
movq (%rcx), %rcx
movq %rdx, %rsi
testq %rcx, %rcx
jne LBB0_105
## %bb.107: ## in Loop: Header=BB0_103 Depth=1
xorl %r9d, %r9d
jmp LBB0_109
LBB0_108: ## in Loop: Header=BB0_103 Depth=1
movq 24(%rcx), %rcx
movzbl (%rcx,%rsi), %r9d
LBB0_109: ## in Loop: Header=BB0_103 Depth=1
leaq 1(%r13), %r8
movq %r12, %rsi
movq %r8, %rcx
movq %r8, %rdi
.p2align 4, 0x90
LBB0_110: ## Parent Loop BB0_103 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rsi), %edx
subq %rdx, %rdi
jb LBB0_101
## %bb.111: ## in Loop: Header=BB0_110 Depth=2
movq (%rsi), %rsi
movq %rdi, %rcx
testq %rsi, %rsi
jne LBB0_110
## %bb.112: ## in Loop: Header=BB0_103 Depth=1
xorl %ecx, %ecx
jmp LBB0_102
LBB0_113:
xorl %r10d, %r10d
LBB0_114:
movq -640(%rbp), %r8 ## 8-byte Reload
jmp LBB0_115
LBB0_126:
movl $1, %r10d
movq %r14, %r13
cmpq %rbx, %r13
jb LBB0_116
jmp LBB0_124
.p2align 4, 0x90
LBB0_115:
cmpq %rbx, %r13
jae LBB0_124
LBB0_116:
movq -760(%rbp), %rcx
jmp LBB0_119
.p2align 4, 0x90
LBB0_117: ## in Loop: Header=BB0_119 Depth=1
movq 24(%rdx), %rax
cmpb $10, (%rax,%rdi)
je LBB0_123
LBB0_118: ## in Loop: Header=BB0_119 Depth=1
incq %r13
cmpq %rbx, %r13
je LBB0_131
LBB0_119: ## =>This Loop Header: Depth=1
## Child Loop BB0_121 Depth 2
testq %rcx, %rcx
je LBB0_118
## %bb.120: ## in Loop: Header=BB0_119 Depth=1
movq %rcx, %rdx
movq %r13, %rdi
movq %r13, %rsi
.p2align 4, 0x90
LBB0_121: ## Parent Loop BB0_119 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rdx), %eax
subq %rax, %rsi
jb LBB0_117
## %bb.122: ## in Loop: Header=BB0_121 Depth=2
movq (%rdx), %rdx
movq %rsi, %rdi
testq %rdx, %rdx
jne LBB0_121
jmp LBB0_118
LBB0_123:
incq %r13
.p2align 4, 0x90
LBB0_124:
cmpq %rbx, %r13
jae LBB0_131
## %bb.125:
movq -760(%rbp), %r12
testq %r12, %r12
jne LBB0_20
jmp LBB0_115
LBB0_127:
xorl %r9d, %r9d
xorl %r8d, %r8d
jmp LBB0_132
LBB0_128:
callq _main.cold.1
jmp LBB0_503
LBB0_129:
callq _main.cold.2
jmp LBB0_503
LBB0_130:
movq -640(%rbp), %r8 ## 8-byte Reload
LBB0_131:
movq -656(%rbp), %r14
LBB0_132:
movl %r9d, 16(%r15)
movl %r8d, 16(%r11)
movq $0, (%r15)
movq %r14, 8(%r15)
movq -656(%rbp), %rax
movq %r15, (%rax)
movq %r15, -656(%rbp)
movq $0, (%r11)
movq -704(%rbp), %rax
movq %rax, 8(%r11)
movq -704(%rbp), %rax
movq %r11, (%rax)
movq %r11, -704(%rbp)
movq -664(%rbp), %rax
movb $1, %r14b
testq %rax, %rax
je LBB0_153
## %bb.133:
xorl %r13d, %r13d
movq %rax, %rcx
.p2align 4, 0x90
LBB0_134: ## =>This Inner Loop Header: Depth=1
movl 16(%rcx), %edx
addq %rdx, %r13
movq (%rcx), %rcx
testq %rcx, %rcx
jne LBB0_134
## %bb.135:
testq %r13, %r13
sete %cl
je LBB0_153
## %bb.136:
movb %cl, -640(%rbp) ## 1-byte Spill
xorl %ebx, %ebx
movq __DefaultRuneLocale@GOTPCREL(%rip), %r12
movl $262144, %r14d ## imm = 0x40000
movabsq $4294977024, %r8 ## imm = 0x100002600
.p2align 4, 0x90
LBB0_137: ## =>This Loop Header: Depth=1
## Child Loop BB0_139 Depth 2
## Child Loop BB0_150 Depth 2
movl $0, %r15d
testq %rax, %rax
je LBB0_142
## %bb.138: ## in Loop: Header=BB0_137 Depth=1
movq %rax, %rcx
movq %rbx, %rsi
movq %rbx, %rdx
.p2align 4, 0x90
LBB0_139: ## Parent Loop BB0_137 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rcx), %edi
subq %rdi, %rdx
jb LBB0_145
## %bb.140: ## in Loop: Header=BB0_139 Depth=2
movq (%rcx), %rcx
movq %rdx, %rsi
testq %rcx, %rcx
jne LBB0_139
## %bb.141: ## in Loop: Header=BB0_137 Depth=1
xorl %r15d, %r15d
LBB0_142: ## in Loop: Header=BB0_137 Depth=1
movl %r15d, %eax
movl 60(%r12,%rax,4), %eax
andl %r14d, %eax
testl %eax, %eax
je LBB0_514
LBB0_143: ## in Loop: Header=BB0_137 Depth=1
incq %rbx
cmpq %r13, %rbx
je LBB0_160
## %bb.144: ## in Loop: Header=BB0_137 Depth=1
movq -664(%rbp), %rax
jmp LBB0_137
.p2align 4, 0x90
LBB0_145: ## in Loop: Header=BB0_137 Depth=1
movq 24(%rcx), %rcx
movb (%rcx,%rsi), %cl
movq %rbx, %rdx
testb $-128, %cl
jne LBB0_150
## %bb.146: ## in Loop: Header=BB0_137 Depth=1
cmpb $32, %cl
ja LBB0_148
## %bb.147: ## in Loop: Header=BB0_137 Depth=1
movzbl %cl, %eax
btq %rax, %r8
jb LBB0_143
LBB0_148: ## in Loop: Header=BB0_137 Depth=1
movzbl %cl, %r15d
testb %cl, %cl
jns LBB0_142
## %bb.149: ## in Loop: Header=BB0_137 Depth=1
movl $262144, %esi ## imm = 0x40000
movl %r15d, %edi
callq ___maskrune
movabsq $4294977024, %r8 ## imm = 0x100002600
testl %eax, %eax
jne LBB0_143
jmp LBB0_514
.p2align 4, 0x90
LBB0_150: ## Parent Loop BB0_137 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rax), %edi
movq %rdx, %rsi
subq %rdi, %rsi
jb LBB0_152
## %bb.151: ## in Loop: Header=BB0_150 Depth=2
movq (%rax), %rax
movq %rsi, %rdx
testq %rax, %rax
jne LBB0_150
jmp LBB0_143
LBB0_152: ## in Loop: Header=BB0_137 Depth=1
movq 24(%rax), %rsi
movb %cl, (%rsi,%rdx)
movq 32(%rax), %rax
movb $1, (%rax,%rdx)
jmp LBB0_143
LBB0_153:
xorl %r13d, %r13d
LBB0_154:
xorl %ebx, %ebx
xorl %r15d, %r15d
LBB0_155:
cmpl $0, _opt_verbose(%rip)
jle LBB0_300
## %bb.156:
movq -664(%rbp), %rcx
movl $32, %edx
testq %rcx, %rcx
je LBB0_299
## %bb.157:
movq %rbx, %rax
.p2align 4, 0x90
LBB0_158: ## =>This Inner Loop Header: Depth=1
movl 16(%rcx), %esi
subq %rsi, %rax
jb LBB0_298
## %bb.159: ## in Loop: Header=BB0_158 Depth=1
movq (%rcx), %rcx
movq %rax, %rbx
testq %rcx, %rcx
jne LBB0_158
jmp LBB0_299
LBB0_160:
xorl %ebx, %ebx
testq %r13, %r13
je LBB0_500
## %bb.161:
movb $1, %r14b
jmp LBB0_164
.p2align 4, 0x90
LBB0_162: ## in Loop: Header=BB0_164 Depth=1
movq %rbx, %r9
LBB0_163: ## in Loop: Header=BB0_164 Depth=1
incq %r9
movq %r9, %rbx
cmpq %r13, %r9
jae LBB0_240
LBB0_164: ## =>This Loop Header: Depth=1
## Child Loop BB0_166 Depth 2
## Child Loop BB0_171 Depth 2
## Child Loop BB0_183 Depth 2
## Child Loop BB0_208 Depth 2
## Child Loop BB0_217 Depth 2
## Child Loop BB0_218 Depth 3
## Child Loop BB0_223 Depth 3
## Child Loop BB0_227 Depth 3
## Child Loop BB0_232 Depth 2
## Child Loop BB0_237 Depth 2
## Child Loop BB0_177 Depth 2
## Child Loop BB0_188 Depth 2
## Child Loop BB0_195 Depth 2
## Child Loop BB0_197 Depth 3
## Child Loop BB0_203 Depth 3
movq -664(%rbp), %rcx
testq %rcx, %rcx
je LBB0_162
## %bb.165: ## in Loop: Header=BB0_164 Depth=1
movq %rcx, %rax
movq %rbx, %rdx
movq %rbx, %rsi
.p2align 4, 0x90
LBB0_166: ## Parent Loop BB0_164 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rax), %edi
subq %rdi, %rsi
jb LBB0_169
## %bb.167: ## in Loop: Header=BB0_166 Depth=2
movq (%rax), %rax
movq %rsi, %rdx
testq %rax, %rax
jne LBB0_166
## %bb.168: ## in Loop: Header=BB0_164 Depth=1
xorl %r9d, %r9d
jmp LBB0_170
.p2align 4, 0x90
LBB0_169: ## in Loop: Header=BB0_164 Depth=1
movq 24(%rax), %rsi
movq 32(%rax), %rax
movzbl (%rsi,%rdx), %esi
movzbl (%rax,%rdx), %r9d
shll $8, %r9d
orl %esi, %r9d
LBB0_170: ## in Loop: Header=BB0_164 Depth=1
leaq 1(%rbx), %r10
movq %rcx, %rax
movq %r10, %rdx
movq %r10, %rdi
.p2align 4, 0x90
LBB0_171: ## Parent Loop BB0_164 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rax), %esi
subq %rsi, %rdi
jb LBB0_174
## %bb.172: ## in Loop: Header=BB0_171 Depth=2
movq (%rax), %rax
movq %rdi, %rdx
testq %rax, %rax
jne LBB0_171
jmp LBB0_162
.p2align 4, 0x90
LBB0_174: ## in Loop: Header=BB0_164 Depth=1
movq 24(%rax), %rsi
movq 32(%rax), %rdi
movb (%rsi,%rdx), %al
movb (%rdi,%rdx), %r8b
movzbl %r9b, %edx
cmpw $47, %dx
jne LBB0_180
## %bb.175: ## in Loop: Header=BB0_164 Depth=1
cmpb $47, %al
jne LBB0_180
## %bb.176: ## in Loop: Header=BB0_164 Depth=1
movq %rcx, %rdi
movq %rbx, %rax
movq %rbx, %rdx
.p2align 4, 0x90
LBB0_177: ## Parent Loop BB0_164 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rdi), %esi
subq %rsi, %rdx
jb LBB0_186
## %bb.178: ## in Loop: Header=BB0_177 Depth=2
movq (%rdi), %rdi
movq %rdx, %rax
testq %rdi, %rdi
jne LBB0_177
## %bb.179: ## in Loop: Header=BB0_164 Depth=1
testq %rcx, %rcx
jne LBB0_187
jmp LBB0_191
LBB0_180: ## in Loop: Header=BB0_164 Depth=1
cmpw $47, %dx
jne LBB0_162
## %bb.181: ## in Loop: Header=BB0_164 Depth=1
cmpb $42, %al
jne LBB0_162
## %bb.182: ## in Loop: Header=BB0_164 Depth=1
movq %rcx, %rdi
movq %rbx, %rax
movq %rbx, %rdx
.p2align 4, 0x90
LBB0_183: ## Parent Loop BB0_164 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rdi), %esi
subq %rsi, %rdx
jb LBB0_206
## %bb.184: ## in Loop: Header=BB0_183 Depth=2
movq (%rdi), %rdi
movq %rdx, %rax
testq %rdi, %rdi
jne LBB0_183
## %bb.185: ## in Loop: Header=BB0_164 Depth=1
testq %rcx, %rcx
jne LBB0_207
jmp LBB0_213
LBB0_186: ## in Loop: Header=BB0_164 Depth=1
movq 24(%rdi), %rcx
movb %r9b, (%rcx,%rax)
shrl $8, %r9d
orb $1, %r9b
movq 32(%rdi), %rcx
movb %r9b, (%rcx,%rax)
movq -664(%rbp), %rcx
testq %rcx, %rcx
je LBB0_191
LBB0_187: ## in Loop: Header=BB0_164 Depth=1
orb $1, %r8b
movq %r10, %rax
.p2align 4, 0x90
LBB0_188: ## Parent Loop BB0_164 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rcx), %edx
subq %rdx, %rax
jb LBB0_190
## %bb.189: ## in Loop: Header=BB0_188 Depth=2
movq (%rcx), %rcx
movq %rax, %r10
testq %rcx, %rcx
jne LBB0_188
jmp LBB0_191
LBB0_190: ## in Loop: Header=BB0_164 Depth=1
movq 24(%rcx), %rax
movb $47, (%rax,%r10)
movq 32(%rcx), %rax
movb %r8b, (%rax,%r10)
LBB0_191: ## in Loop: Header=BB0_164 Depth=1
addq $2, %rbx
cmpq %r13, %rbx
jb LBB0_195
jmp LBB0_162
.p2align 4, 0x90
LBB0_193: ## in Loop: Header=BB0_195 Depth=2
movq 24(%rcx), %rax
movb %dl, (%rax,%rsi)
shrl $8, %edx
orb $1, %dl
movq 32(%rcx), %rax
movb %dl, (%rax,%rsi)
LBB0_194: ## in Loop: Header=BB0_195 Depth=2
incq %rbx
cmpq %r13, %rbx
je LBB0_205
LBB0_195: ## Parent Loop BB0_164 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_197 Depth 3
## Child Loop BB0_203 Depth 3
movq -664(%rbp), %rcx
testq %rcx, %rcx
je LBB0_194
## %bb.196: ## in Loop: Header=BB0_195 Depth=2
movq %rcx, %rdx
movq %rbx, %rax
movq %rbx, %rsi
.p2align 4, 0x90
LBB0_197: ## Parent Loop BB0_164 Depth=1
## Parent Loop BB0_195 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rdx), %edi
subq %rdi, %rsi
jb LBB0_200
## %bb.198: ## in Loop: Header=BB0_197 Depth=3
movq (%rdx), %rdx
movq %rsi, %rax
testq %rdx, %rdx
jne LBB0_197
## %bb.199: ## in Loop: Header=BB0_195 Depth=2
xorl %edx, %edx
jmp LBB0_202
.p2align 4, 0x90
LBB0_200: ## in Loop: Header=BB0_195 Depth=2
movq 24(%rdx), %rsi
movzbl (%rsi,%rax), %esi
cmpw $10, %si
je LBB0_162
## %bb.201: ## in Loop: Header=BB0_195 Depth=2
movq 32(%rdx), %rdx
movzbl (%rdx,%rax), %edx
shll $8, %edx
orl %esi, %edx
LBB0_202: ## in Loop: Header=BB0_195 Depth=2
movq %rbx, %rsi
movq %rbx, %rax
.p2align 4, 0x90
LBB0_203: ## Parent Loop BB0_164 Depth=1
## Parent Loop BB0_195 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rcx), %edi
subq %rdi, %rax
jb LBB0_193
## %bb.204: ## in Loop: Header=BB0_203 Depth=3
movq (%rcx), %rcx
movq %rax, %rsi
testq %rcx, %rcx
jne LBB0_203
jmp LBB0_194
LBB0_205: ## in Loop: Header=BB0_164 Depth=1
movq %r13, %r9
jmp LBB0_163
LBB0_206: ## in Loop: Header=BB0_164 Depth=1
movq 24(%rdi), %rcx
movb %r9b, (%rcx,%rax)
shrl $8, %r9d
orb $1, %r9b
movq 32(%rdi), %rcx
movb %r9b, (%rcx,%rax)
movq -664(%rbp), %rcx
testq %rcx, %rcx
je LBB0_213
LBB0_207: ## in Loop: Header=BB0_164 Depth=1
movq %r10, %rax
.p2align 4, 0x90
LBB0_208: ## Parent Loop BB0_164 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rcx), %edx
subq %rdx, %rax
jb LBB0_212
## %bb.209: ## in Loop: Header=BB0_208 Depth=2
movq (%rcx), %rcx
movq %rax, %r10
testq %rcx, %rcx
jne LBB0_208
jmp LBB0_213
LBB0_212: ## in Loop: Header=BB0_164 Depth=1
movq 24(%rcx), %rax
movb $42, (%rax,%r10)
orb $1, %r8b
movq 32(%rcx), %rax
movb %r8b, (%rax,%r10)
LBB0_213: ## in Loop: Header=BB0_164 Depth=1
addq $2, %rbx
cmpq %r13, %rbx
jb LBB0_217
jmp LBB0_162
.p2align 4, 0x90
LBB0_215: ## in Loop: Header=BB0_217 Depth=2
incq %rbx
movq %rbx, %r9
LBB0_216: ## in Loop: Header=BB0_217 Depth=2
movq %r9, %rbx
cmpq %r13, %r9
jae LBB0_163
LBB0_217: ## Parent Loop BB0_164 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_218 Depth 3
## Child Loop BB0_223 Depth 3
## Child Loop BB0_227 Depth 3
movq -664(%rbp), %rdx
movq %rdx, %rax
movq %rbx, %rcx
testq %rdx, %rdx
je LBB0_215
.p2align 4, 0x90
LBB0_218: ## Parent Loop BB0_164 Depth=1
## Parent Loop BB0_217 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rax), %edi
movq %rcx, %rsi
subq %rdi, %rsi
jb LBB0_221
## %bb.219: ## in Loop: Header=BB0_218 Depth=3
movq (%rax), %rax
movq %rsi, %rcx
testq %rax, %rax
jne LBB0_218
## %bb.220: ## in Loop: Header=BB0_217 Depth=2
xorl %r8d, %r8d
jmp LBB0_222
.p2align 4, 0x90
LBB0_221: ## in Loop: Header=BB0_217 Depth=2
movq 24(%rax), %rsi
movq 32(%rax), %rax
movzbl (%rsi,%rcx), %esi
movzbl (%rax,%rcx), %r8d
shll $8, %r8d
orl %esi, %r8d
LBB0_222: ## in Loop: Header=BB0_217 Depth=2
leaq 1(%rbx), %r9
movq %rdx, %rdi
movq %r9, %rcx
movq %r9, %rax
.p2align 4, 0x90
LBB0_223: ## Parent Loop BB0_164 Depth=1
## Parent Loop BB0_217 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rdi), %esi
subq %rsi, %rax
jb LBB0_225
## %bb.224: ## in Loop: Header=BB0_223 Depth=3
movq (%rdi), %rdi
movq %rax, %rcx
testq %rdi, %rdi
jne LBB0_223
jmp LBB0_227
.p2align 4, 0x90
LBB0_225: ## in Loop: Header=BB0_217 Depth=2
cmpb $42, %r8b
jne LBB0_227
## %bb.226: ## in Loop: Header=BB0_217 Depth=2
movq 24(%rdi), %rax
cmpb $47, (%rax,%rcx)
je LBB0_231
.p2align 4, 0x90
LBB0_227: ## Parent Loop BB0_164 Depth=1
## Parent Loop BB0_217 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rdx), %ecx
movq %rbx, %rax
subq %rcx, %rax
jb LBB0_229
## %bb.228: ## in Loop: Header=BB0_227 Depth=3
movq (%rdx), %rdx
movq %rax, %rbx
testq %rdx, %rdx
jne LBB0_227
jmp LBB0_216
.p2align 4, 0x90
LBB0_229: ## in Loop: Header=BB0_217 Depth=2
movq 24(%rdx), %rax
movb %r8b, (%rax,%rbx)
shrl $8, %r8d
orb $1, %r8b
movq 32(%rdx), %rax
movb %r8b, (%rax,%rbx)
jmp LBB0_216
LBB0_231: ## in Loop: Header=BB0_164 Depth=1
movq 32(%rdi), %rax
movb (%rax,%rcx), %al
movq %rdx, %rdi
movq %rbx, %rcx
.p2align 4, 0x90
LBB0_232: ## Parent Loop BB0_164 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rdi), %esi
subq %rsi, %rcx
jb LBB0_234
## %bb.233: ## in Loop: Header=BB0_232 Depth=2
movq (%rdi), %rdi
movq %rcx, %rbx
testq %rdi, %rdi
jne LBB0_232
jmp LBB0_235
LBB0_234: ## in Loop: Header=BB0_164 Depth=1
movq 24(%rdi), %rcx
movb %r8b, (%rcx,%rbx)
shrl $8, %r8d
orb $1, %r8b
movq 32(%rdi), %rcx
movb %r8b, (%rcx,%rbx)
movq -664(%rbp), %rdx
LBB0_235: ## in Loop: Header=BB0_164 Depth=1
testq %rdx, %rdx
je LBB0_163
## %bb.236: ## in Loop: Header=BB0_164 Depth=1
orb $1, %al
movq %r9, %rcx
movq %r9, %rdi
.p2align 4, 0x90
LBB0_237: ## Parent Loop BB0_164 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rdx), %esi
subq %rsi, %rdi
jb LBB0_239
## %bb.238: ## in Loop: Header=BB0_237 Depth=2
movq (%rdx), %rdx
movq %rdi, %rcx
testq %rdx, %rdx
jne LBB0_237
jmp LBB0_163
LBB0_239: ## in Loop: Header=BB0_164 Depth=1
movq 24(%rdx), %rsi
movb $47, (%rsi,%rcx)
movq 32(%rdx), %rdx
movb %al, (%rdx,%rcx)
jmp LBB0_163
LBB0_240:
testq %r13, %r13
je LBB0_154
## %bb.241:
xorl %r8d, %r8d
movl $1, %r9d
xorl %r10d, %r10d
xorl %r15d, %r15d
xorl %ebx, %ebx
jmp LBB0_245
.p2align 4, 0x90
LBB0_242: ## in Loop: Header=BB0_245 Depth=1
movl %r11d, %r15d
LBB0_243: ## in Loop: Header=BB0_245 Depth=1
movl %edx, %r10d
LBB0_244: ## in Loop: Header=BB0_245 Depth=1
incq %rbx
cmpq %r13, %rbx
jae LBB0_499
LBB0_245: ## =>This Loop Header: Depth=1
## Child Loop BB0_247 Depth 2
## Child Loop BB0_258 Depth 2
## Child Loop BB0_268 Depth 2
## Child Loop BB0_270 Depth 3
## Child Loop BB0_278 Depth 3
## Child Loop BB0_290 Depth 2
## Child Loop BB0_252 Depth 2
movl %r15d, %r11d
movq -664(%rbp), %rcx
testq %rcx, %rcx
je LBB0_249
## %bb.246: ## in Loop: Header=BB0_245 Depth=1
movq %rcx, %rdx
movq %rbx, %rax
movq %rbx, %rdi
.p2align 4, 0x90
LBB0_247: ## Parent Loop BB0_245 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rdx), %esi
subq %rsi, %rdi
jb LBB0_254
## %bb.248: ## in Loop: Header=BB0_247 Depth=2
movq (%rdx), %rdx
movq %rdi, %rax
testq %rdx, %rdx
jne LBB0_247
LBB0_249: ## in Loop: Header=BB0_245 Depth=1
xorl %r14d, %r14d
movl $0, %edx
movl $0, %r15d
testl %r11d, %r11d
je LBB0_244
## %bb.250: ## in Loop: Header=BB0_245 Depth=1
testq %rcx, %rcx
je LBB0_242
LBB0_251: ## in Loop: Header=BB0_245 Depth=1
movq %rbx, %rdi
movq %rbx, %rax
.p2align 4, 0x90
LBB0_252: ## Parent Loop BB0_245 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rcx), %esi
subq %rsi, %rax
jb LBB0_261
## %bb.253: ## in Loop: Header=BB0_252 Depth=2
movq (%rcx), %rcx
movq %rax, %rdi
testq %rcx, %rcx
jne LBB0_252
jmp LBB0_242
.p2align 4, 0x90
LBB0_254: ## in Loop: Header=BB0_245 Depth=1
movq 24(%rdx), %rsi
movq 32(%rdx), %rdx
movzbl (%rsi,%rax), %r15d
movzbl (%rdx,%rax), %edx
movl %edx, %r14d
shll $8, %r14d
orl %r15d, %r14d
testl $256, %r14d ## imm = 0x100
jne LBB0_260
## %bb.255: ## in Loop: Header=BB0_245 Depth=1
testl %r11d, %r11d
jne LBB0_282
## %bb.256: ## in Loop: Header=BB0_245 Depth=1
movzwl %r14w, %eax
movzbl %al, %eax
cmpl $35, %eax
jne LBB0_282
## %bb.257: ## in Loop: Header=BB0_245 Depth=1
movq %rbx, %rsi
movq %rbx, %rax
.p2align 4, 0x90
LBB0_258: ## Parent Loop BB0_245 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rcx), %edi
subq %rdi, %rax
jb LBB0_263
## %bb.259: ## in Loop: Header=BB0_258 Depth=2
movq (%rcx), %rcx
movq %rax, %rsi
testq %rcx, %rcx
jne LBB0_258
jmp LBB0_264
LBB0_260: ## in Loop: Header=BB0_245 Depth=1
movl %r11d, %r15d
jmp LBB0_244
LBB0_261: ## in Loop: Header=BB0_245 Depth=1
movl %r11d, %r15d
LBB0_262: ## in Loop: Header=BB0_245 Depth=1
movq 24(%rcx), %rax
movb %r14b, (%rax,%rdi)
shrl $8, %r14d
orb $1, %r14b
movq 32(%rcx), %rax
movb %r14b, (%rax,%rdi)
jmp LBB0_243
LBB0_263: ## in Loop: Header=BB0_245 Depth=1
movq 24(%rcx), %rax
movb %r15b, (%rax,%rsi)
orb $1, %dl
movq 32(%rcx), %rax
movb %dl, (%rax,%rsi)
LBB0_264: ## in Loop: Header=BB0_245 Depth=1
incq %rbx
cmpq %r13, %rbx
jae LBB0_282
## %bb.265: ## in Loop: Header=BB0_245 Depth=1
xorl %r15d, %r15d
jmp LBB0_268
.p2align 4, 0x90
LBB0_266: ## in Loop: Header=BB0_268 Depth=2
xorl %r14d, %r14d
LBB0_267: ## in Loop: Header=BB0_268 Depth=2
incq %rbx
cmpq %r13, %rbx
je LBB0_281
LBB0_268: ## Parent Loop BB0_245 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_270 Depth 3
## Child Loop BB0_278 Depth 3
movq -664(%rbp), %rdx
testq %rdx, %rdx
je LBB0_266
## %bb.269: ## in Loop: Header=BB0_268 Depth=2
movq %rdx, %rdi
movq %rbx, %rax
movq %rbx, %rsi
.p2align 4, 0x90
LBB0_270: ## Parent Loop BB0_245 Depth=1
## Parent Loop BB0_268 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rdi), %ecx
subq %rcx, %rsi
jb LBB0_273
## %bb.271: ## in Loop: Header=BB0_270 Depth=3
movq (%rdi), %rdi
movq %rsi, %rax
testq %rdi, %rdi
jne LBB0_270
## %bb.272: ## in Loop: Header=BB0_268 Depth=2
xorl %r14d, %r14d
jmp LBB0_277
.p2align 4, 0x90
LBB0_273: ## in Loop: Header=BB0_268 Depth=2
movq 24(%rdi), %rcx
movq 32(%rdi), %rsi
movzbl (%rcx,%rax), %ecx
movzbl (%rsi,%rax), %r14d
shll $8, %r14d
orl %ecx, %r14d
movzbl %r14b, %eax
cmpl $10, %eax
jne LBB0_275
## %bb.274: ## in Loop: Header=BB0_268 Depth=2
testl %r15d, %r15d
movl $0, %r15d
je LBB0_282
LBB0_275: ## in Loop: Header=BB0_268 Depth=2
testl $256, %r14d ## imm = 0x100
jne LBB0_267
## %bb.276: ## in Loop: Header=BB0_268 Depth=2
cmpl $92, %eax
cmovel %r9d, %r15d
LBB0_277: ## in Loop: Header=BB0_268 Depth=2
movq %rbx, %rdi
movq %rbx, %rax
.p2align 4, 0x90
LBB0_278: ## Parent Loop BB0_245 Depth=1
## Parent Loop BB0_268 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rdx), %ecx
subq %rcx, %rax
jb LBB0_280
## %bb.279: ## in Loop: Header=BB0_278 Depth=3
movq (%rdx), %rdx
movq %rax, %rdi
testq %rdx, %rdx
jne LBB0_278
jmp LBB0_267
.p2align 4, 0x90
LBB0_280: ## in Loop: Header=BB0_268 Depth=2
movq 24(%rdx), %rax
movb %r14b, (%rax,%rdi)
movl %r14d, %eax
shrl $8, %eax
orb $1, %al
movq 32(%rdx), %rcx
movb %al, (%rcx,%rdi)
jmp LBB0_267
LBB0_281: ## in Loop: Header=BB0_245 Depth=1
movq %r13, %rbx
LBB0_282: ## in Loop: Header=BB0_245 Depth=1
movzbl %r14b, %r15d
cmpb $39, %r14b
je LBB0_284
## %bb.283: ## in Loop: Header=BB0_245 Depth=1
cmpb $34, %r14b
jne LBB0_293
LBB0_284: ## in Loop: Header=BB0_245 Depth=1
testl %r11d, %r11d
je LBB0_288
## %bb.285: ## in Loop: Header=BB0_245 Depth=1
testl %r10d, %r10d
jne LBB0_287
## %bb.286: ## in Loop: Header=BB0_245 Depth=1
cmpl %r15d, %r11d
cmovel %r8d, %r11d
LBB0_287: ## in Loop: Header=BB0_245 Depth=1
movl %r11d, %r15d
LBB0_288: ## in Loop: Header=BB0_245 Depth=1
movq -664(%rbp), %rcx
testq %rcx, %rcx
je LBB0_295
## %bb.289: ## in Loop: Header=BB0_245 Depth=1
movq %rbx, %rdi
movq %rbx, %rax
.p2align 4, 0x90
LBB0_290: ## Parent Loop BB0_245 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rcx), %edx
subq %rdx, %rax
jb LBB0_296
## %bb.291: ## in Loop: Header=BB0_290 Depth=2
movq (%rcx), %rcx
movq %rax, %rdi
testq %rcx, %rcx
jne LBB0_290
LBB0_295: ## in Loop: Header=BB0_245 Depth=1
xorl %r10d, %r10d
jmp LBB0_244
LBB0_293: ## in Loop: Header=BB0_245 Depth=1
testl %r11d, %r11d
je LBB0_297
## %bb.294: ## in Loop: Header=BB0_245 Depth=1
cmpw $92, %r15w
sete %al
testl %r10d, %r10d
sete %cl
andb %al, %cl
movzbl %cl, %edx
movq -664(%rbp), %rcx
testq %rcx, %rcx
jne LBB0_251
jmp LBB0_242
LBB0_296: ## in Loop: Header=BB0_245 Depth=1
xorl %edx, %edx
jmp LBB0_262
LBB0_297: ## in Loop: Header=BB0_245 Depth=1
xorl %r15d, %r15d
jmp LBB0_244
LBB0_298:
movq 32(%rcx), %rax
testb $2, (%rax,%rbx)
movl $32, %eax
movl $43, %edx
cmovel %eax, %edx
LBB0_299:
leaq L_.str.7(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
LBB0_300:
movl %r15d, -640(%rbp) ## 4-byte Spill
xorl %r15d, %r15d
movb %r14b, -648(%rbp) ## 1-byte Spill
testb %r14b, %r14b
je LBB0_322
LBB0_301:
cmpl $0, _opt_verbose(%rip)
jle LBB0_303
## %bb.302:
movl $10, %edi
callq _putchar
LBB0_303:
testl %r15d, %r15d
jne LBB0_501
## %bb.304:
cmpl $0, -640(%rbp) ## 4-byte Folded Reload
jne LBB0_502
## %bb.305:
xorl %eax, %eax
movb -648(%rbp), %r8b ## 1-byte Reload
testb %r8b, %r8b
jne LBB0_354
## %bb.306:
xorl %eax, %eax
jmp LBB0_309
.p2align 4, 0x90
LBB0_307: ## in Loop: Header=BB0_309 Depth=1
movq 24(%rcx), %rdi
movb %dl, (%rdi,%rsi)
shrl $8, %edx
orb $1, %dl
movq 32(%rcx), %rcx
movb %dl, (%rcx,%rsi)
LBB0_308: ## in Loop: Header=BB0_309 Depth=1
incq %rax
cmpq %r13, %rax
je LBB0_353
LBB0_309: ## =>This Loop Header: Depth=1
## Child Loop BB0_311 Depth 2
## Child Loop BB0_320 Depth 2
movq -664(%rbp), %rcx
testq %rcx, %rcx
je LBB0_314
## %bb.310: ## in Loop: Header=BB0_309 Depth=1
movq %rcx, %rdx
movq %rax, %rsi
movq %rax, %rdi
.p2align 4, 0x90
LBB0_311: ## Parent Loop BB0_309 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rdx), %ebx
subq %rbx, %rdi
jb LBB0_315
## %bb.312: ## in Loop: Header=BB0_311 Depth=2
movq (%rdx), %rdx
movq %rdi, %rsi
testq %rdx, %rdx
jne LBB0_311
LBB0_314: ## in Loop: Header=BB0_309 Depth=1
xorl %edx, %edx
jmp LBB0_316
.p2align 4, 0x90
LBB0_315: ## in Loop: Header=BB0_309 Depth=1
movq 24(%rdx), %rdi
movq 32(%rdx), %rdx
movzbl (%rdi,%rsi), %edi
movzbl (%rdx,%rsi), %edx
shll $8, %edx
orl %edi, %edx
LBB0_316: ## in Loop: Header=BB0_309 Depth=1
movzwl %dx, %esi
testl $256, %esi ## imm = 0x100
jne LBB0_308
## %bb.317: ## in Loop: Header=BB0_309 Depth=1
movzbl %sil, %esi
cmpl $10, %esi
je LBB0_308
## %bb.318: ## in Loop: Header=BB0_309 Depth=1
testq %rcx, %rcx
je LBB0_308
## %bb.319: ## in Loop: Header=BB0_309 Depth=1
movq %rax, %rsi
movq %rax, %rdi
.p2align 4, 0x90
LBB0_320: ## Parent Loop BB0_309 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rcx), %ebx
subq %rbx, %rdi
jb LBB0_307
## %bb.321: ## in Loop: Header=BB0_320 Depth=2
movq (%rcx), %rcx
movq %rdi, %rsi
testq %rcx, %rcx
jne LBB0_320
jmp LBB0_308
LBB0_322:
xorl %r15d, %r15d
xorl %r14d, %r14d
jmp LBB0_325
.p2align 4, 0x90
LBB0_323: ## in Loop: Header=BB0_325 Depth=1
decl %r15d
LBB0_324: ## in Loop: Header=BB0_325 Depth=1
incq %r14
cmpq %r13, %r14
je LBB0_301
LBB0_325: ## =>This Loop Header: Depth=1
## Child Loop BB0_327 Depth 2
## Child Loop BB0_335 Depth 2
## Child Loop BB0_348 Depth 2
movq -664(%rbp), %rax
testq %rax, %rax
je LBB0_330
## %bb.326: ## in Loop: Header=BB0_325 Depth=1
movq %r14, %rcx
movq %r14, %rdx
.p2align 4, 0x90
LBB0_327: ## Parent Loop BB0_325 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rax), %esi
subq %rsi, %rdx
jb LBB0_331
## %bb.328: ## in Loop: Header=BB0_327 Depth=2
movq (%rax), %rax
movq %rdx, %rcx
testq %rax, %rax
jne LBB0_327
LBB0_330: ## in Loop: Header=BB0_325 Depth=1
xorl %r12d, %r12d
cmpl $0, _opt_verbose(%rip)
jg LBB0_332
jmp LBB0_341
.p2align 4, 0x90
LBB0_331: ## in Loop: Header=BB0_325 Depth=1
movq 24(%rax), %rdx
movq 32(%rax), %rax
movzbl (%rdx,%rcx), %edx
movzbl (%rax,%rcx), %r12d
shll $8, %r12d
orl %edx, %r12d
cmpl $0, _opt_verbose(%rip)
jle LBB0_341
LBB0_332: ## in Loop: Header=BB0_325 Depth=1
movzbl %r12b, %ebx
movl %ebx, %edi
callq _putchar
cmpw $10, %bx
jne LBB0_341
## %bb.333: ## in Loop: Header=BB0_325 Depth=1
movq -664(%rbp), %rax
testq %rax, %rax
je LBB0_338
## %bb.334: ## in Loop: Header=BB0_325 Depth=1
leaq 1(%r14), %rcx
movq %rcx, %rdx
.p2align 4, 0x90
LBB0_335: ## Parent Loop BB0_325 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rax), %esi
subq %rsi, %rdx
jb LBB0_339
## %bb.336: ## in Loop: Header=BB0_335 Depth=2
movq (%rax), %rax
movq %rdx, %rcx
testq %rax, %rax
jne LBB0_335
LBB0_338: ## in Loop: Header=BB0_325 Depth=1
xorl %eax, %eax
jmp LBB0_340
LBB0_339: ## in Loop: Header=BB0_325 Depth=1
movq 32(%rax), %rax
movzbl (%rax,%rcx), %eax
shll $8, %eax
LBB0_340: ## in Loop: Header=BB0_325 Depth=1
testl $512, %eax ## imm = 0x200
movl $43, %edx
movl $32, %eax
cmovel %eax, %edx
leaq L_.str.7(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _printf
LBB0_341: ## in Loop: Header=BB0_325 Depth=1
testl $256, %r12d ## imm = 0x100
jne LBB0_324
## %bb.342: ## in Loop: Header=BB0_325 Depth=1
cmpb $123, %r12b
je LBB0_344
## %bb.343: ## in Loop: Header=BB0_325 Depth=1
cmpb $40, %r12b
jne LBB0_345
LBB0_344: ## in Loop: Header=BB0_325 Depth=1
incl %r15d
LBB0_345: ## in Loop: Header=BB0_325 Depth=1
testl %r15d, %r15d
je LBB0_350
## %bb.346: ## in Loop: Header=BB0_325 Depth=1
movq -664(%rbp), %rax
testq %rax, %rax
je LBB0_350
## %bb.347: ## in Loop: Header=BB0_325 Depth=1
movq %r14, %rcx
movq %r14, %rdx
.p2align 4, 0x90
LBB0_348: ## Parent Loop BB0_325 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rax), %esi
subq %rsi, %rdx
jb LBB0_351
## %bb.349: ## in Loop: Header=BB0_348 Depth=2
movq (%rax), %rax
movq %rdx, %rcx
testq %rax, %rax
jne LBB0_348
LBB0_350: ## in Loop: Header=BB0_325 Depth=1
cmpb $125, %r12b
jne LBB0_352
jmp LBB0_323
LBB0_351: ## in Loop: Header=BB0_325 Depth=1
movq 24(%rax), %rdx
movb %r12b, (%rdx,%rcx)
movl %r12d, %edx
shrl $8, %edx
orb $1, %dl
movq 32(%rax), %rax
movb %dl, (%rax,%rcx)
cmpb $125, %r12b
je LBB0_323
LBB0_352: ## in Loop: Header=BB0_325 Depth=1
cmpb $41, %r12b
je LBB0_323
jmp LBB0_324
LBB0_353:
xorl %eax, %eax
testb %r8b, %r8b
je LBB0_356
LBB0_354:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
je LBB0_505
LBB0_355:
callq ___stack_chk_fail
LBB0_356:
leaq -688(%rbp), %r12
xorl %eax, %eax
xorl %r14d, %r14d
xorl %r15d, %r15d
jmp LBB0_360
LBB0_357: ## in Loop: Header=BB0_360 Depth=1
shll $8, %edx
.p2align 4, 0x90
LBB0_358: ## in Loop: Header=BB0_360 Depth=1
leaq 1(%r15), %rcx
testl $256, %edx ## imm = 0x100
cmoveq %rcx, %r14
LBB0_359: ## in Loop: Header=BB0_360 Depth=1
incq %r15
cmpq %r13, %r15
jae LBB0_354
LBB0_360: ## =>This Loop Header: Depth=1
## Child Loop BB0_362 Depth 2
## Child Loop BB0_370 Depth 2
## Child Loop BB0_387 Depth 2
## Child Loop BB0_394 Depth 2
## Child Loop BB0_398 Depth 2
## Child Loop BB0_400 Depth 3
## Child Loop BB0_406 Depth 3
## Child Loop BB0_416 Depth 2
## Child Loop BB0_420 Depth 2
## Child Loop BB0_390 Depth 2
## Child Loop BB0_426 Depth 2
## Child Loop BB0_430 Depth 2
## Child Loop BB0_432 Depth 3
## Child Loop BB0_438 Depth 3
## Child Loop BB0_452 Depth 2
## Child Loop BB0_454 Depth 3
## Child Loop BB0_466 Depth 2
## Child Loop BB0_468 Depth 3
## Child Loop BB0_480 Depth 2
## Child Loop BB0_482 Depth 3
## Child Loop BB0_495 Depth 2
## Child Loop BB0_497 Depth 2
movq -664(%rbp), %rbx
movl $0, %edx
testq %rbx, %rbx
je LBB0_358
## %bb.361: ## in Loop: Header=BB0_360 Depth=1
movq %rbx, %rdi
movq %r15, %rdx
movq %r15, %rcx
.p2align 4, 0x90
LBB0_362: ## Parent Loop BB0_360 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rdi), %esi
subq %rsi, %rcx
jb LBB0_365
## %bb.363: ## in Loop: Header=BB0_362 Depth=2
movq (%rdi), %rdi
movq %rcx, %rdx
testq %rdi, %rdi
jne LBB0_362
## %bb.364: ## in Loop: Header=BB0_360 Depth=1
xorl %edx, %edx
jmp LBB0_358
.p2align 4, 0x90
LBB0_365: ## in Loop: Header=BB0_360 Depth=1
movq 32(%rdi), %rcx
movzbl (%rcx,%rdx), %edx
testb $2, %dl
je LBB0_357
## %bb.366: ## in Loop: Header=BB0_360 Depth=1
movl %eax, -648(%rbp) ## 4-byte Spill
movq $0, -688(%rbp)
movq %r12, -680(%rbp)
movl $1, %edi
movl $8232, %esi ## imm = 0x2028
callq _calloc
testq %rax, %rax
je LBB0_508
## %bb.367: ## in Loop: Header=BB0_360 Depth=1
leaq 40(%rax), %rdx
movq %rdx, 24(%rax)
movq %rax, %rcx
addq $4136, %rcx ## imm = 0x1028
movq %rcx, 32(%rax)
movl $4096, 16(%rax) ## imm = 0x1000
xorl %ecx, %ecx
cmpq %r13, %r14
jae LBB0_383
.p2align 4, 0x90
## %bb.368: ## in Loop: Header=BB0_360 Depth=1
testq %rbx, %rbx
je LBB0_373
LBB0_369: ## in Loop: Header=BB0_360 Depth=1
movq %r14, %rdx
movq %r14, %rsi
.p2align 4, 0x90
LBB0_370: ## Parent Loop BB0_360 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rbx), %edi
subq %rdi, %rsi
jb LBB0_374
## %bb.371: ## in Loop: Header=BB0_370 Depth=2
movq (%rbx), %rbx
movq %rsi, %rdx
testq %rbx, %rbx
jne LBB0_370
jmp LBB0_373
.p2align 4, 0x90
LBB0_374: ## in Loop: Header=BB0_360 Depth=1
movq 24(%rbx), %rsi
movq 32(%rbx), %rdi
movzbl (%rsi,%rdx), %esi
movzbl (%rdi,%rdx), %edx
shll $8, %edx
orl %esi, %edx
cmpq %r15, %r14
ja LBB0_375
jmp LBB0_376
.p2align 4, 0x90
LBB0_373: ## in Loop: Header=BB0_360 Depth=1
xorl %edx, %edx
cmpq %r15, %r14
jbe LBB0_376
LBB0_375: ## in Loop: Header=BB0_360 Depth=1
movl %edx, %esi
andl $768, %esi ## imm = 0x300
testw %si, %si
je LBB0_382
LBB0_376: ## in Loop: Header=BB0_360 Depth=1
movq 24(%rax), %rsi
movb %dl, (%rsi,%rcx)
incq %rcx
cmpq $4096, %rcx ## imm = 0x1000
jne LBB0_379
## %bb.377: ## in Loop: Header=BB0_360 Depth=1
movq $0, (%rax)
movq -680(%rbp), %rcx
movq %rcx, 8(%rax)
movq -680(%rbp), %rcx
movq %rax, (%rcx)
movq %rax, -680(%rbp)
movl $1, %edi
movl $8232, %esi ## imm = 0x2028
callq _calloc
testq %rax, %rax
je LBB0_506
## %bb.378: ## in Loop: Header=BB0_360 Depth=1
leaq 40(%rax), %rcx
movq %rcx, 24(%rax)
movq %rax, %rcx
addq $4136, %rcx ## imm = 0x1028
movq %rcx, 32(%rax)
movl $4096, 16(%rax) ## imm = 0x1000
xorl %ecx, %ecx
LBB0_379: ## in Loop: Header=BB0_360 Depth=1
incq %r14
cmpq %r13, %r14
je LBB0_381
## %bb.380: ## in Loop: Header=BB0_360 Depth=1
movq -664(%rbp), %rbx
testq %rbx, %rbx
jne LBB0_369
jmp LBB0_373
LBB0_381: ## in Loop: Header=BB0_360 Depth=1
movq %r13, %r14
LBB0_382: ## in Loop: Header=BB0_360 Depth=1
movq 24(%rax), %rdx
cmpb $10, (%rdx,%rcx)
movq %r14, %r15
je LBB0_384
LBB0_383: ## in Loop: Header=BB0_360 Depth=1
movb $10, (%rdx,%rcx)
incq %rcx
movq %r14, %r15
LBB0_384: ## in Loop: Header=BB0_360 Depth=1
movl %ecx, 16(%rax)
movq $0, (%rax)
movq -680(%rbp), %rcx
movq %rcx, 8(%rax)
movq -680(%rbp), %rcx
movq %rax, (%rcx)
movq %rax, -680(%rbp)
movq %r12, %rdi
leaq -736(%rbp), %rsi
leaq L_.str.12(%rip), %rdx
callq _cmd_block_process
cmpq $0, _opt_diff_tool(%rip)
je LBB0_388
## %bb.385: ## in Loop: Header=BB0_360 Depth=1
movaps L___const.diff_tool.ca(%rip), %xmm0
movaps %xmm0, -80(%rbp)
movabsq $24866934413088814, %rax ## imm = 0x5858585858582E
movq %rax, -66(%rbp)
movaps L___const.diff_tool.cb(%rip), %xmm0
movaps %xmm0, -112(%rbp)
movq %rax, -96(%rbp)
movq -688(%rbp), %r8
testq %r8, %r8
je LBB0_391
## %bb.386: ## in Loop: Header=BB0_360 Depth=1
movq %r8, %rcx
xorl %eax, %eax
.p2align 4, 0x90
LBB0_387: ## Parent Loop BB0_360 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rcx), %edx
addq %rdx, %rax
movq (%rcx), %rcx
testq %rcx, %rcx
jne LBB0_387
jmp LBB0_392
LBB0_388: ## in Loop: Header=BB0_360 Depth=1
movq -688(%rbp), %r9
testq %r9, %r9
je LBB0_423
## %bb.389: ## in Loop: Header=BB0_360 Depth=1
movq %r9, %rcx
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_390: ## Parent Loop BB0_360 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rcx), %eax
addq %rax, %rbx
movq (%rcx), %rcx
testq %rcx, %rcx
jne LBB0_390
jmp LBB0_424
LBB0_391: ## in Loop: Header=BB0_360 Depth=1
xorl %eax, %eax
LBB0_392: ## in Loop: Header=BB0_360 Depth=1
movq -736(%rbp), %r9
testq %r9, %r9
je LBB0_395
## %bb.393: ## in Loop: Header=BB0_360 Depth=1
movq %r9, %rcx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_394: ## Parent Loop BB0_360 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rcx), %edx
addq %rdx, %rsi
movq (%rcx), %rcx
testq %rcx, %rcx
jne LBB0_394
jmp LBB0_396
LBB0_395: ## in Loop: Header=BB0_360 Depth=1
xorl %esi, %esi
LBB0_396: ## in Loop: Header=BB0_360 Depth=1
cmpq %rsi, %rax
cmovaq %rax, %rsi
testq %rsi, %rsi
je LBB0_494
## %bb.397: ## in Loop: Header=BB0_360 Depth=1
xorl %r11d, %r11d
.p2align 4, 0x90
LBB0_398: ## Parent Loop BB0_360 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_400 Depth 3
## Child Loop BB0_406 Depth 3
xorl %r10d, %r10d
movl $0, %r14d
testq %r8, %r8
je LBB0_403
## %bb.399: ## in Loop: Header=BB0_398 Depth=2
movq %r8, %rcx
movq %r11, %rdi
movq %r11, %rdx
.p2align 4, 0x90
LBB0_400: ## Parent Loop BB0_360 Depth=1
## Parent Loop BB0_398 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rcx), %ebx
subq %rbx, %rdx
jb LBB0_404
## %bb.401: ## in Loop: Header=BB0_400 Depth=3
movq (%rcx), %rcx
movq %rdx, %rdi
testq %rcx, %rcx
jne LBB0_400
## %bb.402: ## in Loop: Header=BB0_398 Depth=2
xorl %r14d, %r14d
LBB0_403: ## in Loop: Header=BB0_398 Depth=2
testq %r9, %r9
jne LBB0_405
jmp LBB0_409
.p2align 4, 0x90
LBB0_404: ## in Loop: Header=BB0_398 Depth=2
movq 24(%rcx), %rcx
movzbl (%rcx,%rdi), %r14d
testq %r9, %r9
je LBB0_409
LBB0_405: ## in Loop: Header=BB0_398 Depth=2
movq %r9, %rdx
movq %r11, %rdi
movq %r11, %rbx
.p2align 4, 0x90
LBB0_406: ## Parent Loop BB0_360 Depth=1
## Parent Loop BB0_398 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rdx), %ecx
subq %rcx, %rbx
jb LBB0_408
## %bb.407: ## in Loop: Header=BB0_406 Depth=3
movq (%rdx), %rdx
movq %rbx, %rdi
testq %rdx, %rdx
jne LBB0_406
jmp LBB0_409
.p2align 4, 0x90
LBB0_408: ## in Loop: Header=BB0_398 Depth=2
movq 24(%rdx), %rcx
movzbl (%rcx,%rdi), %r10d
LBB0_409: ## in Loop: Header=BB0_398 Depth=2
cmpl %r10d, %r14d
jne LBB0_411
## %bb.410: ## in Loop: Header=BB0_398 Depth=2
incq %r11
cmpq %rsi, %r11
jne LBB0_398
jmp LBB0_494
LBB0_411: ## in Loop: Header=BB0_360 Depth=1
cmpl $10, %r14d
jne LBB0_414
## %bb.412: ## in Loop: Header=BB0_360 Depth=1
testl %r10d, %r10d
jne LBB0_414
## %bb.413: ## in Loop: Header=BB0_360 Depth=1
decq %rax
cmpq %rax, %r11
je LBB0_494
LBB0_414: ## in Loop: Header=BB0_360 Depth=1
leaq -80(%rbp), %rdi
callq _mkstemp
movl %eax, %r12d
leaq -112(%rbp), %rdi
callq _mkstemp
movl %eax, %r14d
testl %r12d, %r12d
js LBB0_507
## %bb.415: ## in Loop: Header=BB0_360 Depth=1
movq -688(%rbp), %rbx
testq %rbx, %rbx
je LBB0_418
.p2align 4, 0x90
LBB0_416: ## Parent Loop BB0_360 Depth=1
## => This Inner Loop Header: Depth=2
movq 24(%rbx), %rsi
movl 16(%rbx), %edx
movl %r12d, %edi
callq _write
movl 16(%rbx), %ecx
cmpq %rcx, %rax
jne LBB0_507
## %bb.417: ## in Loop: Header=BB0_416 Depth=2
movq (%rbx), %rbx
testq %rbx, %rbx
jne LBB0_416
LBB0_418: ## in Loop: Header=BB0_360 Depth=1
testl %r14d, %r14d
js LBB0_507
## %bb.419: ## in Loop: Header=BB0_360 Depth=1
movq -736(%rbp), %rbx
testq %rbx, %rbx
je LBB0_422
.p2align 4, 0x90
LBB0_420: ## Parent Loop BB0_360 Depth=1
## => This Inner Loop Header: Depth=2
movq 24(%rbx), %rsi
movl 16(%rbx), %edx
movl %r14d, %edi
callq _write
movl 16(%rbx), %ecx
cmpq %rcx, %rax
jne LBB0_507
## %bb.421: ## in Loop: Header=BB0_420 Depth=2
movq (%rbx), %rbx
testq %rbx, %rbx
jne LBB0_420
LBB0_422: ## in Loop: Header=BB0_360 Depth=1
movl %r12d, %edi
callq _close
movl %r14d, %edi
callq _close
movq _opt_diff_tool(%rip), %rcx
movl $256, %esi ## imm = 0x100
leaq -368(%rbp), %r12
movq %r12, %rdi
leaq L_.str.23(%rip), %rdx
leaq -80(%rbp), %rbx
movq %rbx, %r8
leaq -112(%rbp), %r14
movq %r14, %r9
xorl %eax, %eax
callq _snprintf
movq %r12, %rdi
callq _system
movq %rbx, %rdi
callq _unlink
movq %r14, %rdi
callq _unlink
jmp LBB0_493
LBB0_423: ## in Loop: Header=BB0_360 Depth=1
xorl %ebx, %ebx
LBB0_424: ## in Loop: Header=BB0_360 Depth=1
movq -736(%rbp), %r11
testq %r11, %r11
je LBB0_427
## %bb.425: ## in Loop: Header=BB0_360 Depth=1
movq %r11, %rdx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_426: ## Parent Loop BB0_360 Depth=1
## => This Inner Loop Header: Depth=2
movl 16(%rdx), %eax
addq %rax, %r12
movq (%rdx), %rdx
testq %rdx, %rdx
jne LBB0_426
jmp LBB0_428
LBB0_427: ## in Loop: Header=BB0_360 Depth=1
xorl %r12d, %r12d
LBB0_428: ## in Loop: Header=BB0_360 Depth=1
cmpq %r12, %rbx
movq %r12, %r10
cmovaq %rbx, %r10
testq %r10, %r10
je LBB0_494
## %bb.429: ## in Loop: Header=BB0_360 Depth=1
leaq -1(%rbx), %rax
movq %rax, -696(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
xorl %eax, %eax
.p2align 4, 0x90
LBB0_430: ## Parent Loop BB0_360 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_432 Depth 3
## Child Loop BB0_438 Depth 3
movq %rax, -640(%rbp) ## 8-byte Spill
xorl %ecx, %ecx
movl $0, %r8d
testq %r9, %r9
je LBB0_435
## %bb.431: ## in Loop: Header=BB0_430 Depth=2
movq %r9, %rdi
movq %r14, %rax
movq %r14, %rdx
.p2align 4, 0x90
LBB0_432: ## Parent Loop BB0_360 Depth=1
## Parent Loop BB0_430 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rdi), %esi
subq %rsi, %rdx
jb LBB0_436
## %bb.433: ## in Loop: Header=BB0_432 Depth=3
movq (%rdi), %rdi
movq %rdx, %rax
testq %rdi, %rdi
jne LBB0_432
## %bb.434: ## in Loop: Header=BB0_430 Depth=2
xorl %r8d, %r8d
LBB0_435: ## in Loop: Header=BB0_430 Depth=2
testq %r11, %r11
jne LBB0_437
jmp LBB0_441
.p2align 4, 0x90
LBB0_436: ## in Loop: Header=BB0_430 Depth=2
movq 24(%rdi), %rdx
movzbl (%rdx,%rax), %r8d
testq %r11, %r11
je LBB0_441
LBB0_437: ## in Loop: Header=BB0_430 Depth=2
movq %r11, %rdi
movq %r14, %rax
movq %r14, %rdx
.p2align 4, 0x90
LBB0_438: ## Parent Loop BB0_360 Depth=1
## Parent Loop BB0_430 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rdi), %esi
subq %rsi, %rdx
jb LBB0_440
## %bb.439: ## in Loop: Header=BB0_438 Depth=3
movq (%rdi), %rdi
movq %rdx, %rax
testq %rdi, %rdi
jne LBB0_438
jmp LBB0_441
.p2align 4, 0x90
LBB0_440: ## in Loop: Header=BB0_430 Depth=2
movq 24(%rdi), %rdx
movzbl (%rdx,%rax), %ecx
LBB0_441: ## in Loop: Header=BB0_430 Depth=2
movsbl %r8b, %esi
movsbl %cl, %edx
cmpl %edx, %esi
jne LBB0_444
## %bb.442: ## in Loop: Header=BB0_430 Depth=2
incq %r14
cmpq %r10, %r14
je LBB0_494
## %bb.443: ## in Loop: Header=BB0_430 Depth=2
cmpl $10, %r8d
movq -640(%rbp), %rax ## 8-byte Reload
cmoveq %r14, %rax
jmp LBB0_430
LBB0_444: ## in Loop: Header=BB0_360 Depth=1
cmpl $10, %r8d
jne LBB0_447
## %bb.445: ## in Loop: Header=BB0_360 Depth=1
testl %ecx, %ecx
jne LBB0_447
## %bb.446: ## in Loop: Header=BB0_360 Depth=1
cmpq -696(%rbp), %r14 ## 8-byte Folded Reload
je LBB0_494
LBB0_447: ## in Loop: Header=BB0_360 Depth=1
movl %esi, -716(%rbp) ## 4-byte Spill
movl %edx, -740(%rbp) ## 4-byte Spill
movl %r8d, -720(%rbp) ## 4-byte Spill
movl %ecx, -744(%rbp) ## 4-byte Spill
leaq L_str(%rip), %rdi
callq _puts
cmpq %rbx, -640(%rbp) ## 8-byte Folded Reload
jae LBB0_461
## %bb.448: ## in Loop: Header=BB0_360 Depth=1
xorl %r8d, %r8d
movq -640(%rbp), %rdi ## 8-byte Reload
jmp LBB0_452
.p2align 4, 0x90
LBB0_449: ## in Loop: Header=BB0_452 Depth=2
xorl %edi, %edi
callq _putchar
xorl %eax, %eax
LBB0_450: ## in Loop: Header=BB0_452 Depth=2
movl %eax, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $16384, %ecx ## imm = 0x4000
andl %ecx, %eax
LBB0_451: ## in Loop: Header=BB0_452 Depth=2
movl -648(%rbp), %r8d ## 4-byte Reload
movq -696(%rbp), %rdi ## 8-byte Reload
testl %eax, %eax
movl $1, %eax
cmovel %eax, %r8d
incq %rdi
cmpq %rbx, %rdi
je LBB0_461
LBB0_452: ## Parent Loop BB0_360 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_454 Depth 3
movq -688(%rbp), %rax
testq %rax, %rax
movl %r8d, -648(%rbp) ## 4-byte Spill
movq %rdi, -696(%rbp) ## 8-byte Spill
je LBB0_449
## %bb.453: ## in Loop: Header=BB0_452 Depth=2
movq %rdi, %rdx
movq %rdi, %rcx
.p2align 4, 0x90
LBB0_454: ## Parent Loop BB0_360 Depth=1
## Parent Loop BB0_452 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rax), %esi
subq %rsi, %rcx
jb LBB0_456
## %bb.455: ## in Loop: Header=BB0_454 Depth=3
movq (%rax), %rax
movq %rcx, %rdx
testq %rax, %rax
jne LBB0_454
jmp LBB0_449
.p2align 4, 0x90
LBB0_456: ## in Loop: Header=BB0_452 Depth=2
movq 24(%rax), %rax
movb (%rax,%rdx), %al
testl %r8d, %r8d
je LBB0_458
## %bb.457: ## in Loop: Header=BB0_452 Depth=2
cmpb $10, %al
je LBB0_461
LBB0_458: ## in Loop: Header=BB0_452 Depth=2
movsbl %al, %edi
movl %edi, -668(%rbp) ## 4-byte Spill
movb %al, -625(%rbp) ## 1-byte Spill
callq _putchar
cmpb $0, -625(%rbp) ## 1-byte Folded Reload
js LBB0_460
## %bb.459: ## in Loop: Header=BB0_452 Depth=2
movl -668(%rbp), %eax ## 4-byte Reload
jmp LBB0_450
LBB0_460: ## in Loop: Header=BB0_452 Depth=2
movl $16384, %esi ## imm = 0x4000
movl -668(%rbp), %edi ## 4-byte Reload
callq ___maskrune
jmp LBB0_451
LBB0_461: ## in Loop: Header=BB0_360 Depth=1
movl $10, %edi
callq _putchar
leaq L_str.32(%rip), %rdi
callq _puts
cmpq %r12, -640(%rbp) ## 8-byte Folded Reload
jae LBB0_475
## %bb.462: ## in Loop: Header=BB0_360 Depth=1
xorl %r8d, %r8d
movq -640(%rbp), %rdi ## 8-byte Reload
jmp LBB0_466
.p2align 4, 0x90
LBB0_463: ## in Loop: Header=BB0_466 Depth=2
xorl %edi, %edi
callq _putchar
xorl %eax, %eax
LBB0_464: ## in Loop: Header=BB0_466 Depth=2
movl %eax, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $16384, %ecx ## imm = 0x4000
andl %ecx, %eax
LBB0_465: ## in Loop: Header=BB0_466 Depth=2
movl -648(%rbp), %r8d ## 4-byte Reload
movq -696(%rbp), %rdi ## 8-byte Reload
testl %eax, %eax
movl $1, %eax
cmovel %eax, %r8d
incq %rdi
cmpq %r12, %rdi
je LBB0_475
LBB0_466: ## Parent Loop BB0_360 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_468 Depth 3
movq -736(%rbp), %rax
testq %rax, %rax
movl %r8d, -648(%rbp) ## 4-byte Spill
movq %rdi, -696(%rbp) ## 8-byte Spill
je LBB0_463
## %bb.467: ## in Loop: Header=BB0_466 Depth=2
movq %rdi, %rdx
movq %rdi, %rcx
.p2align 4, 0x90
LBB0_468: ## Parent Loop BB0_360 Depth=1
## Parent Loop BB0_466 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rax), %esi
subq %rsi, %rcx
jb LBB0_470
## %bb.469: ## in Loop: Header=BB0_468 Depth=3
movq (%rax), %rax
movq %rcx, %rdx
testq %rax, %rax
jne LBB0_468
jmp LBB0_463
.p2align 4, 0x90
LBB0_470: ## in Loop: Header=BB0_466 Depth=2
movq 24(%rax), %rax
movb (%rax,%rdx), %al
testl %r8d, %r8d
je LBB0_472
## %bb.471: ## in Loop: Header=BB0_466 Depth=2
cmpb $10, %al
je LBB0_475
LBB0_472: ## in Loop: Header=BB0_466 Depth=2
movsbl %al, %edi
movl %edi, -668(%rbp) ## 4-byte Spill
movb %al, -625(%rbp) ## 1-byte Spill
callq _putchar
cmpb $0, -625(%rbp) ## 1-byte Folded Reload
js LBB0_474
## %bb.473: ## in Loop: Header=BB0_466 Depth=2
movl -668(%rbp), %eax ## 4-byte Reload
jmp LBB0_464
LBB0_474: ## in Loop: Header=BB0_466 Depth=2
movl $16384, %esi ## imm = 0x4000
movl -668(%rbp), %edi ## 4-byte Reload
callq ___maskrune
jmp LBB0_465
LBB0_475: ## in Loop: Header=BB0_360 Depth=1
shll $24, -720(%rbp) ## 4-byte Folded Spill
movl $10, %edi
callq _putchar
cmpq %r14, -640(%rbp) ## 8-byte Folded Reload
jne LBB0_480
LBB0_476: ## in Loop: Header=BB0_360 Depth=1
cmpl $0, -720(%rbp) ## 4-byte Folded Reload
js LBB0_485
## %bb.477: ## in Loop: Header=BB0_360 Depth=1
movl -716(%rbp), %eax ## 4-byte Reload
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $16384, %ecx ## imm = 0x4000
andl %ecx, %eax
jmp LBB0_486
.p2align 4, 0x90
LBB0_478: ## in Loop: Header=BB0_480 Depth=2
movl $32, %edi
LBB0_479: ## in Loop: Header=BB0_480 Depth=2
callq _putchar
movq -640(%rbp), %rcx ## 8-byte Reload
incq %rcx
movq %rcx, %rax
movq %rcx, -640(%rbp) ## 8-byte Spill
cmpq %r14, %rcx
je LBB0_476
LBB0_480: ## Parent Loop BB0_360 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_482 Depth 3
movq -688(%rbp), %rax
testq %rax, %rax
je LBB0_478
## %bb.481: ## in Loop: Header=BB0_480 Depth=2
movq -640(%rbp), %rdx ## 8-byte Reload
movq %rdx, %rcx
.p2align 4, 0x90
LBB0_482: ## Parent Loop BB0_360 Depth=1
## Parent Loop BB0_480 Depth=2
## => This Inner Loop Header: Depth=3
movl 16(%rax), %esi
subq %rsi, %rcx
jb LBB0_484
## %bb.483: ## in Loop: Header=BB0_482 Depth=3
movq (%rax), %rax
movq %rcx, %rdx
testq %rax, %rax
jne LBB0_482
jmp LBB0_478
.p2align 4, 0x90
LBB0_484: ## in Loop: Header=BB0_480 Depth=2
movq 24(%rax), %rax
movl $9, %edi
cmpb $9, (%rax,%rdx)
je LBB0_479
jmp LBB0_478
LBB0_485: ## in Loop: Header=BB0_360 Depth=1
movl $16384, %esi ## imm = 0x4000
movl -716(%rbp), %edi ## 4-byte Reload
callq ___maskrune
LBB0_486: ## in Loop: Header=BB0_360 Depth=1
testl %eax, %eax
movl -744(%rbp), %eax ## 4-byte Reload
movl -740(%rbp), %edi ## 4-byte Reload
jne LBB0_491
## %bb.487: ## in Loop: Header=BB0_360 Depth=1
shll $24, %eax
js LBB0_489
## %bb.488: ## in Loop: Header=BB0_360 Depth=1
movl %edi, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $16384, %ecx ## imm = 0x4000
andl %ecx, %eax
jmp LBB0_490
LBB0_489: ## in Loop: Header=BB0_360 Depth=1
movl $16384, %esi ## imm = 0x4000
callq ___maskrune
LBB0_490: ## in Loop: Header=BB0_360 Depth=1
leaq L_.str.30(%rip), %rsi
testl %eax, %eax
je LBB0_492
LBB0_491: ## in Loop: Header=BB0_360 Depth=1
leaq L_.str.29(%rip), %rsi
LBB0_492: ## in Loop: Header=BB0_360 Depth=1
cmpq %r12, %r14
leaq L_.str.30(%rip), %rdx
leaq L_.str.31(%rip), %rax
cmovaeq %rax, %rdx
cmpq %rbx, %r14
cmovaeq %rax, %rdx
leaq L_.str.28(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_493: ## in Loop: Header=BB0_360 Depth=1
movl $1, -648(%rbp) ## 4-byte Folded Spill
LBB0_494: ## in Loop: Header=BB0_360 Depth=1
movq -688(%rbp), %rdi
testq %rdi, %rdi
leaq -680(%rbp), %rbx
je LBB0_496
.p2align 4, 0x90
LBB0_495: ## Parent Loop BB0_360 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rdi), %rax
leaq 8(%rax), %rcx
testq %rax, %rax
cmoveq %rbx, %rcx
movq 8(%rdi), %rdx
movq %rdx, (%rcx)
movq 8(%rdi), %rcx
movq %rax, (%rcx)
callq _free
movq -688(%rbp), %rdi
testq %rdi, %rdi
jne LBB0_495
LBB0_496: ## in Loop: Header=BB0_360 Depth=1
movq -736(%rbp), %rdi
testq %rdi, %rdi
leaq -728(%rbp), %rbx
leaq -688(%rbp), %r12
je LBB0_498
.p2align 4, 0x90
LBB0_497: ## Parent Loop BB0_360 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rdi), %rax
leaq 8(%rax), %rcx
testq %rax, %rax
cmoveq %rbx, %rcx
movq 8(%rdi), %rdx
movq %rdx, (%rcx)
movq 8(%rdi), %rcx
movq %rax, (%rcx)
callq _free
movq -736(%rbp), %rdi
testq %rdi, %rdi
jne LBB0_497
LBB0_498: ## in Loop: Header=BB0_360 Depth=1
movq %r15, %r14
movl -648(%rbp), %eax ## 4-byte Reload
jmp LBB0_359
LBB0_499:
movb -640(%rbp), %r14b ## 1-byte Reload
jmp LBB0_155
LBB0_500:
xorl %r15d, %r15d
movb $1, %r14b
jmp LBB0_155
LBB0_501:
callq _main.cold.7
jmp LBB0_503
LBB0_502:
callq _main.cold.6
LBB0_503:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_355
## %bb.504:
xorl %eax, %eax
LBB0_505:
addq $728, %rsp ## imm = 0x2D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_506:
callq _main.cold.5
jmp LBB0_503
LBB0_507:
leaq -80(%rbp), %rdx
leaq -112(%rbp), %rcx
movl %r12d, %edi
movl %r14d, %esi
callq _main.cold.4
jmp LBB0_503
LBB0_508:
callq _main.cold.3
jmp LBB0_503
LBB0_509:
callq _main.cold.10
jmp LBB0_503
LBB0_510:
callq _main.cold.11
jmp LBB0_503
LBB0_511:
callq _main.cold.8
jmp LBB0_503
LBB0_512:
callq _main.cold.9
jmp LBB0_503
LBB0_513:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.13(%rip), %rdi
movl $455, %esi ## imm = 0x1C7
movl $1, %edx
callq _fwrite
movl $70, %edi
callq _exit
LBB0_514:
leaq L_.str.6(%rip), %rsi
movl $70, %edi
movl %r15d, %edx
xorl %eax, %eax
callq _errx
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_513, LBB0_513-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
.long L0_0_set_5
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_10
.long L0_0_set_6
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_1
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_513
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_513
.long L0_0_set_9
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function sigpipe
_sigpipe: ## @sigpipe
.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
.p2align 4, 0x90 ## -- Begin function cmd_block_process
_cmd_block_process: ## @cmd_block_process
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq $0, (%rsi)
movq %rsi, 8(%rsi)
leaq -64(%rbp), %rsi
movq %rdx, %rdi
callq _cmd_popen
movq -64(%rbp), %r12
testq %r12, %r12
je LBB2_15
## %bb.1:
movq -56(%rbp), %r14
testq %r14, %r14
je LBB2_15
## %bb.2:
testq %rbx, %rbx
je LBB2_5
.p2align 4, 0x90
LBB2_3: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rbx
testq %rbx, %rbx
je LBB2_4
## %bb.11: ## in Loop: Header=BB2_3 Depth=1
movq 24(%rbx), %rdi
movl 16(%rbx), %edx
movl $1, %esi
movq %r12, %rcx
callq _fwrite
movl 16(%rbx), %ecx
cmpq %rcx, %rax
je LBB2_3
## %bb.12:
leaq L_.str.15(%rip), %rsi
movl $70, %edi
movq %r15, %rdx
xorl %eax, %eax
callq _err
LBB2_4:
movq %r12, %rdi
callq _fflush
LBB2_5:
movq %r12, %rdi
callq _fclose
movl $1, %edi
movl $8232, %esi ## imm = 0x2028
callq _calloc
testq %rax, %rax
je LBB2_9
## %bb.6:
movq %rax, %rbx
.p2align 4, 0x90
LBB2_7: ## =>This Inner Loop Header: Depth=1
leaq 40(%rbx), %rdi
movq %rdi, 24(%rbx)
leaq 4136(%rbx), %rax
movq %rax, 32(%rbx)
movl $4096, 16(%rbx) ## imm = 0x1000
movl $1, %esi
movl $4096, %edx ## imm = 0x1000
movq %r14, %rcx
callq _fread
testl %eax, %eax
jle LBB2_13
## %bb.8: ## in Loop: Header=BB2_7 Depth=1
movl %eax, 16(%rbx)
movq $0, (%rbx)
movq 8(%r13), %rax
movq %rax, 8(%rbx)
movq %rbx, (%rax)
movq %rbx, 8(%r13)
movl $1, %edi
movl $8232, %esi ## imm = 0x2028
callq _calloc
movq %rax, %rbx
testq %rax, %rax
jne LBB2_7
LBB2_9:
callq _cmd_block_process.cold.1
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB2_16
## %bb.10:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_13:
movq %rbx, %rdi
callq _free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB2_16
## %bb.14:
movq %r14, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _fclose ## TAILCALL
LBB2_15:
leaq L_.str.14(%rip), %rsi
movl $70, %edi
movq %r15, %rdx
xorl %eax, %eax
callq _errx
LBB2_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function cmd_popen
_cmd_popen: ## @cmd_popen
.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 $64, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
leaq -80(%rbp), %rdi
callq _pipe
testl %eax, %eax
js LBB3_8
## %bb.1:
leaq -72(%rbp), %rdi
callq _pipe
testl %eax, %eax
js LBB3_2
## %bb.3:
leaq L_.str.16(%rip), %rax
movq %rax, -64(%rbp)
leaq L_.str.17(%rip), %rax
movq %rax, -56(%rbp)
movq %rbx, -48(%rbp)
movq $0, -40(%rbp)
callq _vfork
cmpl $-1, %eax
je LBB3_6
## %bb.4:
testl %eax, %eax
je LBB3_11
## %bb.5:
movl -68(%rbp), %edi
leaq L_.str.19(%rip), %rsi
callq _fdopen
movq %rax, (%r14)
movl -80(%rbp), %edi
leaq L_.str.20(%rip), %rsi
callq _fdopen
movq %rax, 8(%r14)
movl -76(%rbp), %edi
callq _close
movl -72(%rbp), %edi
callq _close
jmp LBB3_9
LBB3_2:
movl $1, %eax
movl -80(%rbp), %edi
jmp LBB3_7
LBB3_6:
movl -80(%rbp), %edi
callq _close
movl -76(%rbp), %edi
callq _close
movl $3, %eax
movl -72(%rbp), %edi
LBB3_7:
movq %rax, %rbx
callq _close
movl -80(%rbp,%rbx,4), %edi
callq _close
LBB3_8:
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
LBB3_9:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB3_12
## %bb.10:
addq $64, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB3_12:
callq ___stack_chk_fail
LBB3_11:
movl -76(%rbp), %edi
movl $1, %esi
callq _dup2
movl -72(%rbp), %edi
xorl %esi, %esi
callq _dup2
movl -80(%rbp), %edi
callq _close
movl -68(%rbp), %edi
callq _close
movq _environ@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str.18(%rip), %rdi
leaq -64(%rbp), %rsi
callq _execve
movl $127, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.1
_main.cold.1: ## @main.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.21(%rip), %rsi
pushq $70
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.2
_main.cold.2: ## @main.cold.2
.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.21(%rip), %rsi
pushq $70
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.3
_main.cold.3: ## @main.cold.3
.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.21(%rip), %rsi
pushq $70
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.4
_main.cold.4: ## @main.cold.4
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r15
movl %esi, %ebx
callq _close
movl %ebx, %edi
callq _close
movq %r15, %rdi
callq _unlink
movq %r14, %rdi
callq _unlink
leaq L_.str.22(%rip), %rsi
pushq $70
popq %rdi
xorl %eax, %eax
callq _err
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.5
_main.cold.5: ## @main.cold.5
.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.21(%rip), %rsi
pushq $70
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.6
_main.cold.6: ## @main.cold.6
.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.11(%rip), %rsi
pushq $70
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.7
_main.cold.7: ## @main.cold.7
.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.10(%rip), %rsi
pushq $70
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.8
_main.cold.8: ## @main.cold.8
.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.21(%rip), %rsi
pushq $70
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.9
_main.cold.9: ## @main.cold.9
.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.21(%rip), %rsi
pushq $70
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.10
_main.cold.10: ## @main.cold.10
.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.21(%rip), %rsi
pushq $70
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.11
_main.cold.11: ## @main.cold.11
.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.21(%rip), %rsi
pushq $70
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function cmd_block_process.cold.1
_cmd_block_process.cold.1: ## @cmd_block_process.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.21(%rip), %rsi
pushq $70
popq %rdi
xorl %eax, %eax
callq _errx
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dDvg:s:c:ht:"
.zerofill __DATA,__bss,_opt_verbose,4,2 ## @opt_verbose
.zerofill __DATA,__bss,_opt_diff_tool,8,3 ## @opt_diff_tool
L_.str.1: ## @.str.1
.asciz "git show -U1000000 %s"
L_.str.2: ## @.str.2
.asciz "git diff -U1000000"
L_.str.3: ## @.str.3
.asciz "svn diff --diff-cmd=diff -x -U1000000"
L_.str.4: ## @.str.4
.asciz "svn diff --diff-cmd=diff -x -U1000000 -r %s"
L_.str.5: ## @.str.5
.asciz "%s"
L_.str.6: ## @.str.6
.asciz "Non printable characters are not allowed: '%c'"
L_.str.7: ## @.str.7
.asciz "L%02d%c|"
L_.str.10: ## @.str.10
.asciz "Unbalanced parenthesis"
L_.str.11: ## @.str.11
.asciz "String without end"
L_.str.12: ## @.str.12
.asciz "indent -Tbool -Tclass -TFILE -TLIST_ENTRY -TLIST_HEAD -TSLIST_ENTRY -TSLIST_HEAD -TSTAILQ_ENTRY -TSTAILQ_HEAD -TTAILQ_ENTRY -TTAILQ_HEAD -T__aligned -T__packed -T__unused -T__used -Tfd_set -Toss_mixerinfo -Tu_char -Tu_int -Tu_long -Tu_short -ta -st -bad -bap -nbbb -nbc -br -nbs -c41 -cd41 -cdb -ce -ci4 -cli0 -d0 -di8 -ndj -ei -nfc1 -nfcb -i8 -ip8 -l79 -lc77 -ldi0 -nlp -npcs -psl -sc -nsob -nv | sed -e 's/_HEAD [(]/_HEAD(/g' -e 's/_ENTRY [(]/_ENTRY(/g' -e 's/\t__aligned/ __aligned/g' -e 's/\t__packed/ __packed/g' -e 's/\t__unused/ __unused/g' -e 's/\t__used/ __used/g' -e 's/^#define /#define\t/g'"
L_.str.13: ## @.str.13
.asciz "indent_wrapper [-v] [-d] [-D] [-g <githash>]\n\t[-s <svnrevision> ] [ -t <tool> ] [ -c <command> ]\n\t-v Increase verbosity\n\t-d Check output from git diff\n\t-D Check output from svn diff\n\t-c <cmd> Set custom command to produce diff\n\t-g <hash> Check output from git hash\n\t-s <rev> Check output from svn revision\n\t-t <tool> Launch external diff tool\n\nExamples:\n\tindent_wrapper -D\n\tindent_wrapper -D -t meld\n\tindent_wrapper -D -t \"diff -u\"\n"
L_.str.14: ## @.str.14
.asciz "Cannot invoke command '%s'"
L_.str.15: ## @.str.15
.asciz "Cannot write all data to command '%s'"
L_.str.16: ## @.str.16
.asciz "sh"
L_.str.17: ## @.str.17
.asciz "-c"
L_.str.18: ## @.str.18
.asciz "/bin/sh"
L_.str.19: ## @.str.19
.asciz "w"
L_.str.20: ## @.str.20
.asciz "r"
L_.str.21: ## @.str.21
.asciz "Out of memory"
.p2align 4 ## @__const.diff_tool.ca
L___const.diff_tool.ca:
.asciz "/tmp/diff.orig.XXXXXX"
.p2align 4 ## @__const.diff_tool.cb
L___const.diff_tool.cb:
.asciz "/tmp/diff.styled.XXXXXX"
L_.str.22: ## @.str.22
.asciz "Could not write data to temporary files"
L_.str.23: ## @.str.23
.asciz "%s %s %s"
L_.str.28: ## @.str.28
.asciz "^ %sdifference%s\n"
L_.str.29: ## @.str.29
.asciz "whitespace "
L_.str.30: ## @.str.30
.space 1
L_.str.31: ## @.str.31
.asciz " in the end of a block"
L_str: ## @str
.asciz "Style error:"
L_str.32: ## @str.32
.asciz "Style corrected:"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-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, #736
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
Lloh3:
adrp x1, _sigpipe@PAGE
Lloh4:
add x1, x1, _sigpipe@PAGEOFF
mov w0, #13
bl _signal
Lloh5:
adrp x21, l_.str@PAGE
Lloh6:
add x21, x21, l_.str@PAGEOFF
Lloh7:
adrp x26, lJTI0_0@PAGE
Lloh8:
add x26, x26, lJTI0_0@PAGEOFF
Lloh9:
adrp x27, l_.str.3@PAGE
Lloh10:
add x27, x27, l_.str.3@PAGEOFF
Lloh11:
adrp x28, _optarg@GOTPAGE
Lloh12:
ldr x28, [x28, _optarg@GOTPAGEOFF]
strb wzr, [sp, #144]
mov w25, #12336
movk w25, #48, lsl #16
Lloh13:
adrp x22, l_.str.2@PAGE
Lloh14:
add x22, x22, l_.str.2@PAGEOFF
Lloh15:
adrp x23, l_.str.1@PAGE
Lloh16:
add x23, x23, l_.str.1@PAGEOFF
Lloh17:
adrp x24, l_.str.4@PAGE
Lloh18:
add x24, x24, l_.str.4@PAGEOFF
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
adrp x9, _opt_verbose@PAGE
ldr w8, [x9, _opt_verbose@PAGEOFF]
add w8, w8, #1
str w8, [x9, _opt_verbose@PAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x21
bl _getopt
sub w8, w0, #68
cmp w8, #50
b.hi LBB0_10
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
adr x9, LBB0_1
ldrh w10, [x26, x8, lsl #1]
add x9, x9, x10, lsl #2
br x9
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldp q0, q1, [x27]
stp q0, q1, [sp, #144]
ldur x8, [x27, #30]
stur x8, [sp, #174]
b LBB0_2
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x28]
str x8, [sp]
add x0, sp, #144
mov w1, #256
Lloh19:
adrp x2, l_.str.5@PAGE
Lloh20:
add x2, x2, l_.str.5@PAGEOFF
bl _snprintf
b LBB0_2
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
stur w25, [sp, #159]
ldr q0, [x22]
str q0, [sp, #144]
b LBB0_2
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x28]
str x8, [sp]
add x0, sp, #144
mov w1, #256
mov x2, x23
bl _snprintf
b LBB0_2
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x28]
str x8, [sp]
add x0, sp, #144
mov w1, #256
mov x2, x24
bl _snprintf
b LBB0_2
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x28]
adrp x9, _opt_diff_tool@PAGE
str x8, [x9, _opt_diff_tool@PAGEOFF]
b LBB0_2
LBB0_10:
cmn w0, #1
b.ne LBB0_479
; %bb.11:
ldrb w8, [sp, #144]
cbz w8, LBB0_479
; %bb.12:
add x1, sp, #128
add x2, sp, #144
mov x0, #0
bl _cmd_block_process
add x8, sp, #112
stp xzr, x8, [sp, #112]
add x8, sp, #96
stp xzr, x8, [sp, #96]
ldr x23, [sp, #128]
cbz x23, LBB0_15
; %bb.13:
mov x21, #0
mov x8, x23
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr w9, [x8, #16]
add x21, x21, x9
ldr x8, [x8]
cbnz x8, LBB0_14
b LBB0_16
LBB0_15:
mov x21, #0
LBB0_16:
mov w0, #1
mov w1, #8232
bl _calloc
cbz x0, LBB0_484
; %bb.17:
mov x19, x0
add x8, x0, #40
mov w9, #4136
add x9, x0, x9
stp x8, x9, [x0, #24]
mov w22, #4096
str w22, [x0, #16]
mov w0, #1
mov w1, #8232
bl _calloc
cbz x0, LBB0_485
; %bb.18:
mov x20, x0
add x8, x0, #40
mov w9, #4136
add x9, x0, x9
stp x8, x9, [x0, #24]
str w22, [x0, #16]
cbz x21, LBB0_124
; %bb.19:
mov w8, #0
mov x26, #0
mov x22, #0
mov x28, #0
mov w25, #4136
mov w24, #4096
cbz x23, LBB0_111
LBB0_20:
mov x9, x23
mov x10, x28
LBB0_21: ; =>This Inner Loop Header: Depth=1
ldr w11, [x9, #16]
subs x11, x10, x11
b.lo LBB0_23
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
ldr x9, [x9]
mov x10, x11
cbnz x9, LBB0_21
b LBB0_111
LBB0_23:
ldr x11, [x9, #24]
ldrb w11, [x11, x10]
cmp w11, #32
b.eq LBB0_30
; %bb.24:
ldr x9, [x9, #32]
ldrb w10, [x9, x10]
mov x9, x11
bfi w9, w10, #8, #8
cmp w11, #45
b.eq LBB0_47
; %bb.25:
cmp w11, #43
b.ne LBB0_111
; %bb.26:
add x27, x28, #1
mov x10, x23
mov x11, x27
LBB0_27: ; =>This Inner Loop Header: Depth=1
ldr w12, [x10, #16]
subs x12, x11, x12
b.lo LBB0_51
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
ldr x10, [x10]
mov x11, x12
cbnz x10, LBB0_27
; %bb.29:
cmp w9, w10
b.eq LBB0_52
b LBB0_70
LBB0_30:
cbz w8, LBB0_111
; %bb.31:
mov x23, x26
b LBB0_34
LBB0_32: ; in Loop: Header=BB0_34 Depth=1
mov x20, x0
mov x26, #0
add x8, x0, #40
add x9, x0, x25
stp x8, x9, [x0, #24]
str w24, [x0, #16]
LBB0_33: ; in Loop: Header=BB0_34 Depth=1
mov w8, #1
mov x23, x26
cmp w27, #10
b.eq LBB0_111
LBB0_34: ; =>This Loop Header: Depth=1
; Child Loop BB0_37 Depth 2
add x28, x28, #1
cmp x28, x21
b.eq LBB0_123
; %bb.35: ; in Loop: Header=BB0_34 Depth=1
ldr x8, [sp, #128]
cbz x8, LBB0_39
; %bb.36: ; in Loop: Header=BB0_34 Depth=1
mov x9, x28
LBB0_37: ; Parent Loop BB0_34 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x8, #16]
subs x10, x9, x10
b.lo LBB0_40
; %bb.38: ; in Loop: Header=BB0_37 Depth=2
ldr x8, [x8]
mov x9, x10
cbnz x8, LBB0_37
LBB0_39: ; in Loop: Header=BB0_34 Depth=1
mov w27, #0
b LBB0_41
LBB0_40: ; in Loop: Header=BB0_34 Depth=1
ldr x8, [x8, #24]
ldrb w27, [x8, x9]
LBB0_41: ; in Loop: Header=BB0_34 Depth=1
ldr x9, [x19, #24]
add x8, x22, #1
strb w27, [x9, x22]
cmp x8, #1, lsl #12 ; =4096
b.ne LBB0_44
; %bb.42: ; in Loop: Header=BB0_34 Depth=1
ldr x8, [sp, #120]
ldr x9, [sp, #120]
stp xzr, x8, [x19]
str x19, [x9]
str x19, [sp, #120]
mov w0, #1
mov w1, #8232
bl _calloc
cbz x0, LBB0_489
; %bb.43: ; in Loop: Header=BB0_34 Depth=1
mov x19, x0
mov x22, #0
add x8, x0, #40
add x9, x0, x25
stp x8, x9, [x0, #24]
str w24, [x0, #16]
b LBB0_45
LBB0_44: ; in Loop: Header=BB0_34 Depth=1
mov x22, x8
LBB0_45: ; in Loop: Header=BB0_34 Depth=1
ldr x8, [x20, #24]
add x26, x23, #1
strb w27, [x8, x23]
cmp x26, #1, lsl #12 ; =4096
b.ne LBB0_33
; %bb.46: ; in Loop: Header=BB0_34 Depth=1
ldr x8, [sp, #104]
ldr x9, [sp, #104]
stp xzr, x8, [x20]
str x20, [x9]
str x20, [sp, #104]
mov w0, #1
mov w1, #8232
bl _calloc
cbnz x0, LBB0_32
b LBB0_490
LBB0_47:
add x27, x28, #1
mov x10, x23
mov x11, x27
LBB0_48: ; =>This Inner Loop Header: Depth=1
ldr w12, [x10, #16]
subs x12, x11, x12
b.lo LBB0_56
; %bb.49: ; in Loop: Header=BB0_48 Depth=1
ldr x10, [x10]
mov x11, x12
cbnz x10, LBB0_48
; %bb.50:
cmp w9, w10
b.eq LBB0_57
b LBB0_85
LBB0_51:
ldp x12, x13, [x10, #24]
ldrb w10, [x12, x11]
ldrb w11, [x13, x11]
bfi w10, w11, #8, #8
cmp w9, w10
b.ne LBB0_70
LBB0_52:
add x11, x28, #2
mov x10, x23
LBB0_53: ; =>This Inner Loop Header: Depth=1
ldr w12, [x10, #16]
subs x12, x11, x12
b.lo LBB0_61
; %bb.54: ; in Loop: Header=BB0_53 Depth=1
ldr x10, [x10]
mov x11, x12
cbnz x10, LBB0_53
; %bb.55:
cmp w9, w10
b.eq LBB0_62
b LBB0_70
LBB0_56:
ldp x12, x13, [x10, #24]
ldrb w10, [x12, x11]
ldrb w11, [x13, x11]
bfi w10, w11, #8, #8
cmp w9, w10
b.ne LBB0_85
LBB0_57:
add x11, x28, #2
mov x10, x23
LBB0_58: ; =>This Inner Loop Header: Depth=1
ldr w12, [x10, #16]
subs x12, x11, x12
b.lo LBB0_65
; %bb.59: ; in Loop: Header=BB0_58 Depth=1
ldr x10, [x10]
mov x11, x12
cbnz x10, LBB0_58
; %bb.60:
cmp w9, w10
b.eq LBB0_66
b LBB0_85
LBB0_61:
ldp x12, x13, [x10, #24]
ldrb w10, [x12, x11]
ldrb w11, [x13, x11]
bfi w10, w11, #8, #8
cmp w9, w10
b.ne LBB0_70
LBB0_62:
add x9, x28, #3
mov x10, x23
mov x11, x9
LBB0_63: ; =>This Inner Loop Header: Depth=1
ldr w12, [x10, #16]
subs x12, x11, x12
b.lo LBB0_69
; %bb.64: ; in Loop: Header=BB0_63 Depth=1
ldr x10, [x10]
mov x11, x12
cbnz x10, LBB0_63
b LBB0_70
LBB0_65:
ldp x12, x13, [x10, #24]
ldrb w10, [x12, x11]
ldrb w11, [x13, x11]
bfi w10, w11, #8, #8
cmp w9, w10
b.ne LBB0_85
LBB0_66:
add x9, x28, #3
mov x10, x23
mov x11, x9
LBB0_67: ; =>This Inner Loop Header: Depth=1
ldr w12, [x10, #16]
subs x12, x11, x12
b.lo LBB0_84
; %bb.68: ; in Loop: Header=BB0_67 Depth=1
ldr x10, [x10]
mov x11, x12
cbnz x10, LBB0_67
b LBB0_85
LBB0_69:
ldr x10, [x10, #24]
ldrb w10, [x10, x11]
cmp w10, #32
b.eq LBB0_101
LBB0_70:
cbz w8, LBB0_111
; %bb.71:
cmp x27, x21
b.eq LBB0_122
; %bb.72:
mov w28, #2
cbz x23, LBB0_77
LBB0_73:
mov x8, x27
LBB0_74: ; =>This Inner Loop Header: Depth=1
ldr w9, [x23, #16]
subs x9, x8, x9
b.lo LBB0_76
; %bb.75: ; in Loop: Header=BB0_74 Depth=1
ldr x23, [x23]
mov x8, x9
cbnz x23, LBB0_74
b LBB0_77
LBB0_76:
ldr x9, [x23, #24]
ldrb w23, [x9, x8]
LBB0_77: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #32]
strb w28, [x8, x22]
ldr x9, [x19, #24]
add x8, x22, #1
strb w23, [x9, x22]
cmp x8, #1, lsl #12 ; =4096
b.ne LBB0_80
; %bb.78: ; in Loop: Header=BB0_77 Depth=1
ldr x8, [sp, #120]
ldr x9, [sp, #120]
stp xzr, x8, [x19]
str x19, [x9]
str x19, [sp, #120]
mov w0, #1
mov w1, #8232
bl _calloc
cbz x0, LBB0_491
; %bb.79: ; in Loop: Header=BB0_77 Depth=1
mov x19, x0
mov x22, #0
add x8, x0, #40
add x9, x0, x25
stp x8, x9, [x0, #24]
str w24, [x0, #16]
b LBB0_81
LBB0_80: ; in Loop: Header=BB0_77 Depth=1
mov x22, x8
LBB0_81: ; in Loop: Header=BB0_77 Depth=1
cmp w23, #10
b.eq LBB0_110
; %bb.82: ; in Loop: Header=BB0_77 Depth=1
add x27, x27, #1
cmp x27, x21
b.eq LBB0_122
; %bb.83: ; in Loop: Header=BB0_77 Depth=1
ldr x23, [sp, #128]
cbnz x23, LBB0_73
b LBB0_77
LBB0_84:
ldr x10, [x10, #24]
ldrb w10, [x10, x11]
cmp w10, #32
b.eq LBB0_101
LBB0_85:
cbz w8, LBB0_111
; %bb.86:
cmp x27, x21
b.eq LBB0_122
; %bb.87:
cbz x23, LBB0_92
LBB0_88:
mov x8, x27
LBB0_89: ; =>This Inner Loop Header: Depth=1
ldr w9, [x23, #16]
subs x9, x8, x9
b.lo LBB0_91
; %bb.90: ; in Loop: Header=BB0_89 Depth=1
ldr x23, [x23]
mov x8, x9
cbnz x23, LBB0_89
b LBB0_92
LBB0_91:
ldr x9, [x23, #24]
ldrb w23, [x9, x8]
LBB0_92: ; =>This Inner Loop Header: Depth=1
ldr x9, [x20, #24]
add x8, x26, #1
strb w23, [x9, x26]
cmp x8, #1, lsl #12 ; =4096
b.ne LBB0_95
; %bb.93: ; in Loop: Header=BB0_92 Depth=1
ldr x8, [sp, #104]
ldr x9, [sp, #104]
stp xzr, x8, [x20]
str x20, [x9]
str x20, [sp, #104]
mov w0, #1
mov w1, #8232
bl _calloc
cbz x0, LBB0_492
; %bb.94: ; in Loop: Header=BB0_92 Depth=1
mov x20, x0
mov x26, #0
add x8, x0, #40
add x9, x0, x25
stp x8, x9, [x0, #24]
str w24, [x0, #16]
b LBB0_96
LBB0_95: ; in Loop: Header=BB0_92 Depth=1
mov x26, x8
LBB0_96: ; in Loop: Header=BB0_92 Depth=1
cmp w23, #10
b.eq LBB0_110
; %bb.97: ; in Loop: Header=BB0_92 Depth=1
add x27, x27, #1
cmp x27, x21
b.eq LBB0_122
; %bb.98: ; in Loop: Header=BB0_92 Depth=1
ldr x23, [sp, #128]
cbnz x23, LBB0_88
b LBB0_92
LBB0_99: ; in Loop: Header=BB0_101 Depth=1
ldr x11, [x11, #24]
ldrb w11, [x11, x12]
LBB0_100: ; in Loop: Header=BB0_101 Depth=1
cmp w11, #99
mov w12, #104
ccmp w11, w12, #4, ne
cset w11, eq
cmp w10, #46
csel w8, w11, w8, eq
cmp w10, #10
b.eq LBB0_111
LBB0_101: ; =>This Loop Header: Depth=1
; Child Loop BB0_103 Depth 2
; Child Loop BB0_108 Depth 2
cmp x9, x21
b.eq LBB0_122
; %bb.102: ; in Loop: Header=BB0_101 Depth=1
mov x28, x9
mov x9, x23
mov x10, x28
LBB0_103: ; Parent Loop BB0_101 Depth=1
; => This Inner Loop Header: Depth=2
ldr w11, [x9, #16]
subs x11, x10, x11
b.lo LBB0_106
; %bb.104: ; in Loop: Header=BB0_103 Depth=2
ldr x9, [x9]
mov x10, x11
cbnz x9, LBB0_103
; %bb.105: ; in Loop: Header=BB0_101 Depth=1
mov w10, #0
b LBB0_107
LBB0_106: ; in Loop: Header=BB0_101 Depth=1
ldr x9, [x9, #24]
ldrb w10, [x9, x10]
LBB0_107: ; in Loop: Header=BB0_101 Depth=1
add x9, x28, #1
mov x11, x23
mov x12, x9
LBB0_108: ; Parent Loop BB0_101 Depth=1
; => This Inner Loop Header: Depth=2
ldr w13, [x11, #16]
subs x13, x12, x13
b.lo LBB0_99
; %bb.109: ; in Loop: Header=BB0_108 Depth=2
ldr x11, [x11]
mov x12, x13
cbnz x11, LBB0_108
b LBB0_100
LBB0_110:
mov w8, #1
mov x28, x27
LBB0_111: ; =>This Loop Header: Depth=1
; Child Loop BB0_115 Depth 2
; Child Loop BB0_117 Depth 3
cmp x28, x21
b.hs LBB0_120
; %bb.112: ; in Loop: Header=BB0_111 Depth=1
ldr x9, [sp, #128]
b LBB0_115
LBB0_113: ; in Loop: Header=BB0_115 Depth=2
ldr x10, [x10, #24]
ldrb w10, [x10, x11]
cmp w10, #10
b.eq LBB0_119
LBB0_114: ; in Loop: Header=BB0_115 Depth=2
add x28, x28, #1
cmp x28, x21
b.eq LBB0_122
LBB0_115: ; Parent Loop BB0_111 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_117 Depth 3
cbz x9, LBB0_114
; %bb.116: ; in Loop: Header=BB0_115 Depth=2
mov x10, x9
mov x11, x28
LBB0_117: ; Parent Loop BB0_111 Depth=1
; Parent Loop BB0_115 Depth=2
; => This Inner Loop Header: Depth=3
ldr w12, [x10, #16]
subs x12, x11, x12
b.lo LBB0_113
; %bb.118: ; in Loop: Header=BB0_117 Depth=3
ldr x10, [x10]
mov x11, x12
cbnz x10, LBB0_117
b LBB0_114
LBB0_119: ; in Loop: Header=BB0_111 Depth=1
add x28, x28, #1
LBB0_120: ; in Loop: Header=BB0_111 Depth=1
cmp x28, x21
b.hs LBB0_122
; %bb.121: ; in Loop: Header=BB0_111 Depth=1
ldr x23, [sp, #128]
cbnz x23, LBB0_20
b LBB0_111
LBB0_122:
mov x23, x26
LBB0_123:
ldr x8, [sp, #120]
b LBB0_125
LBB0_124:
mov x22, #0
mov x23, #0
add x8, sp, #112
LBB0_125:
str w22, [x19, #16]
str w23, [x20, #16]
stp xzr, x8, [x19]
ldr x8, [sp, #120]
str x19, [x8]
str x19, [sp, #120]
ldr x8, [sp, #104]
ldr x9, [sp, #104]
stp xzr, x8, [x20]
str x20, [x9]
str x20, [sp, #104]
ldr x8, [sp, #112]
cbz x8, LBB0_217
; %bb.126:
mov x28, #0
mov x9, x8
LBB0_127: ; =>This Inner Loop Header: Depth=1
ldr w10, [x9, #16]
add x28, x28, x10
ldr x9, [x9]
cbnz x9, LBB0_127
; %bb.128:
cmp x28, #0
cset w25, eq
mov w20, #1
cbz x28, LBB0_271
; %bb.129:
mov x22, #0
Lloh21:
adrp x21, __DefaultRuneLocale@GOTPAGE
Lloh22:
ldr x21, [x21, __DefaultRuneLocale@GOTPAGEOFF]
mov x23, #9728
movk x23, #1, lsl #32
cbnz x8, LBB0_131
b LBB0_141
LBB0_130:
ldr x8, [sp, #112]
cbz x8, LBB0_141
LBB0_131:
mov x9, x8
mov x10, x22
LBB0_132: ; =>This Inner Loop Header: Depth=1
ldr w11, [x9, #16]
subs x11, x10, x11
b.lo LBB0_134
; %bb.133: ; in Loop: Header=BB0_132 Depth=1
ldr x9, [x9]
mov x10, x11
cbnz x9, LBB0_132
b LBB0_141
LBB0_134:
ldr x9, [x9, #24]
ldrb w10, [x9, x10]
sxtb w9, w10
mov x11, x22
tbnz w10, #7, LBB0_138
; %bb.135:
and x8, x9, #0xff
cmp w9, #32
lsl x8, x20, x8
and x8, x8, x23
ccmp x8, #0, #4, ls
b.ne LBB0_143
; %bb.136:
and w19, w10, #0xff
tbz w9, #31, LBB0_142
; %bb.137:
mov x0, x19
mov w1, #262144
bl ___maskrune
cbnz w0, LBB0_143
b LBB0_480
LBB0_138: ; =>This Inner Loop Header: Depth=1
ldr w10, [x8, #16]
subs x10, x11, x10
b.lo LBB0_140
; %bb.139: ; in Loop: Header=BB0_138 Depth=1
ldr x8, [x8]
mov x11, x10
cbnz x8, LBB0_138
b LBB0_143
LBB0_140:
ldr x10, [x8, #24]
strb w9, [x10, x11]
ldr x8, [x8, #32]
strb w20, [x8, x11]
b LBB0_143
LBB0_141:
mov w19, #0
LBB0_142:
add x8, x21, w19, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x40000
cbz w0, LBB0_480
LBB0_143:
add x22, x22, #1
cmp x22, x28
b.ne LBB0_130
; %bb.144:
cbz x28, LBB0_271
; %bb.145:
mov x10, #0
mov w8, #47
mov w9, #42
b LBB0_148
LBB0_146: ; in Loop: Header=BB0_148 Depth=1
mov x10, x28
LBB0_147: ; in Loop: Header=BB0_148 Depth=1
add x10, x10, #1
cmp x10, x28
b.hs LBB0_218
LBB0_148: ; =>This Loop Header: Depth=1
; Child Loop BB0_150 Depth 2
; Child Loop BB0_155 Depth 2
; Child Loop BB0_166 Depth 2
; Child Loop BB0_188 Depth 2
; Child Loop BB0_195 Depth 2
; Child Loop BB0_196 Depth 3
; Child Loop BB0_201 Depth 3
; Child Loop BB0_205 Depth 3
; Child Loop BB0_209 Depth 2
; Child Loop BB0_214 Depth 2
; Child Loop BB0_160 Depth 2
; Child Loop BB0_171 Depth 2
; Child Loop BB0_177 Depth 2
; Child Loop BB0_179 Depth 3
; Child Loop BB0_185 Depth 3
ldr x11, [sp, #112]
cbz x11, LBB0_147
; %bb.149: ; in Loop: Header=BB0_148 Depth=1
mov x12, x11
mov x13, x10
LBB0_150: ; Parent Loop BB0_148 Depth=1
; => This Inner Loop Header: Depth=2
ldr w14, [x12, #16]
subs x14, x13, x14
b.lo LBB0_153
; %bb.151: ; in Loop: Header=BB0_150 Depth=2
ldr x12, [x12]
mov x13, x14
cbnz x12, LBB0_150
; %bb.152: ; in Loop: Header=BB0_148 Depth=1
mov w14, #0
b LBB0_154
LBB0_153: ; in Loop: Header=BB0_148 Depth=1
ldp x14, x12, [x12, #24]
ldrb w14, [x14, x13]
ldrb w12, [x12, x13]
bfi w14, w12, #8, #8
LBB0_154: ; in Loop: Header=BB0_148 Depth=1
add x12, x10, #1
mov x13, x11
mov x15, x12
LBB0_155: ; Parent Loop BB0_148 Depth=1
; => This Inner Loop Header: Depth=2
ldr w16, [x13, #16]
subs x16, x15, x16
b.lo LBB0_157
; %bb.156: ; in Loop: Header=BB0_155 Depth=2
ldr x13, [x13]
mov x15, x16
cbnz x13, LBB0_155
b LBB0_147
LBB0_157: ; in Loop: Header=BB0_148 Depth=1
ldp x16, x13, [x13, #24]
ldrb w16, [x16, x15]
ldrb w13, [x13, x15]
and w15, w14, #0xff
cmp w15, #47
b.ne LBB0_163
; %bb.158: ; in Loop: Header=BB0_148 Depth=1
cmp w16, #47
b.ne LBB0_163
; %bb.159: ; in Loop: Header=BB0_148 Depth=1
mov x15, x11
mov x16, x10
LBB0_160: ; Parent Loop BB0_148 Depth=1
; => This Inner Loop Header: Depth=2
ldr w17, [x15, #16]
subs x17, x16, x17
b.lo LBB0_169
; %bb.161: ; in Loop: Header=BB0_160 Depth=2
ldr x15, [x15]
mov x16, x17
cbnz x15, LBB0_160
; %bb.162: ; in Loop: Header=BB0_148 Depth=1
cbnz x11, LBB0_170
b LBB0_174
LBB0_163: ; in Loop: Header=BB0_148 Depth=1
cmp w15, #47
b.ne LBB0_147
; %bb.164: ; in Loop: Header=BB0_148 Depth=1
cmp w16, #42
b.ne LBB0_147
; %bb.165: ; in Loop: Header=BB0_148 Depth=1
mov x15, x11
mov x16, x10
LBB0_166: ; Parent Loop BB0_148 Depth=1
; => This Inner Loop Header: Depth=2
ldr w17, [x15, #16]
subs x17, x16, x17
b.lo LBB0_187
; %bb.167: ; in Loop: Header=BB0_166 Depth=2
ldr x15, [x15]
mov x16, x17
cbnz x15, LBB0_166
; %bb.168: ; in Loop: Header=BB0_148 Depth=1
cbnz x11, LBB0_188
b LBB0_191
LBB0_169: ; in Loop: Header=BB0_148 Depth=1
ldr x11, [x15, #24]
strb w14, [x11, x16]
lsr w11, w14, #8
orr w11, w11, #0x1
ldr x14, [x15, #32]
strb w11, [x14, x16]
ldr x11, [sp, #112]
cbz x11, LBB0_174
LBB0_170: ; in Loop: Header=BB0_148 Depth=1
orr w13, w13, #0x1
LBB0_171: ; Parent Loop BB0_148 Depth=1
; => This Inner Loop Header: Depth=2
ldr w14, [x11, #16]
subs x14, x12, x14
b.lo LBB0_173
; %bb.172: ; in Loop: Header=BB0_171 Depth=2
ldr x11, [x11]
mov x12, x14
cbnz x11, LBB0_171
b LBB0_174
LBB0_173: ; in Loop: Header=BB0_148 Depth=1
ldr x14, [x11, #24]
strb w8, [x14, x12]
ldr x11, [x11, #32]
strb w13, [x11, x12]
LBB0_174: ; in Loop: Header=BB0_148 Depth=1
add x10, x10, #2
cmp x10, x28
b.lo LBB0_177
b LBB0_147
LBB0_175: ; in Loop: Header=BB0_177 Depth=2
ldr x15, [x11, #24]
strb w12, [x15, x14]
orr w12, w13, #0x1
ldr x11, [x11, #32]
strb w12, [x11, x14]
LBB0_176: ; in Loop: Header=BB0_177 Depth=2
add x10, x10, #1
cmp x10, x28
b.eq LBB0_146
LBB0_177: ; Parent Loop BB0_148 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_179 Depth 3
; Child Loop BB0_185 Depth 3
ldr x11, [sp, #112]
cbz x11, LBB0_176
; %bb.178: ; in Loop: Header=BB0_177 Depth=2
mov x13, x11
mov x14, x10
LBB0_179: ; Parent Loop BB0_148 Depth=1
; Parent Loop BB0_177 Depth=2
; => This Inner Loop Header: Depth=3
ldr w12, [x13, #16]
subs x12, x14, x12
b.lo LBB0_182
; %bb.180: ; in Loop: Header=BB0_179 Depth=3
ldr x13, [x13]
mov x14, x12
cbnz x13, LBB0_179
; %bb.181: ; in Loop: Header=BB0_177 Depth=2
mov w12, #0
b LBB0_184
LBB0_182: ; in Loop: Header=BB0_177 Depth=2
ldr x12, [x13, #24]
ldrb w12, [x12, x14]
cmp w12, #10
b.eq LBB0_147
; %bb.183: ; in Loop: Header=BB0_177 Depth=2
ldr x13, [x13, #32]
ldrb w13, [x13, x14]
LBB0_184: ; in Loop: Header=BB0_177 Depth=2
mov x14, x10
LBB0_185: ; Parent Loop BB0_148 Depth=1
; Parent Loop BB0_177 Depth=2
; => This Inner Loop Header: Depth=3
ldr w15, [x11, #16]
subs x15, x14, x15
b.lo LBB0_175
; %bb.186: ; in Loop: Header=BB0_185 Depth=3
ldr x11, [x11]
mov x14, x15
cbnz x11, LBB0_185
b LBB0_176
LBB0_187: ; in Loop: Header=BB0_148 Depth=1
ldr x11, [x15, #24]
strb w14, [x11, x16]
lsr w11, w14, #8
orr w11, w11, #0x1
ldr x14, [x15, #32]
strb w11, [x14, x16]
ldr x11, [sp, #112]
cbz x11, LBB0_191
LBB0_188: ; Parent Loop BB0_148 Depth=1
; => This Inner Loop Header: Depth=2
ldr w14, [x11, #16]
subs x14, x12, x14
b.lo LBB0_190
; %bb.189: ; in Loop: Header=BB0_188 Depth=2
ldr x11, [x11]
mov x12, x14
cbnz x11, LBB0_188
b LBB0_191
LBB0_190: ; in Loop: Header=BB0_148 Depth=1
ldr x14, [x11, #24]
strb w9, [x14, x12]
orr w13, w13, #0x1
ldr x11, [x11, #32]
strb w13, [x11, x12]
LBB0_191: ; in Loop: Header=BB0_148 Depth=1
add x12, x10, #2
cmp x12, x28
b.lo LBB0_195
; %bb.192: ; in Loop: Header=BB0_148 Depth=1
mov x10, x12
b LBB0_147
LBB0_193: ; in Loop: Header=BB0_195 Depth=2
add x10, x12, #1
LBB0_194: ; in Loop: Header=BB0_195 Depth=2
mov x12, x10
cmp x10, x28
b.hs LBB0_147
LBB0_195: ; Parent Loop BB0_148 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_196 Depth 3
; Child Loop BB0_201 Depth 3
; Child Loop BB0_205 Depth 3
ldr x11, [sp, #112]
mov x10, x11
mov x14, x12
cbz x11, LBB0_193
LBB0_196: ; Parent Loop BB0_148 Depth=1
; Parent Loop BB0_195 Depth=2
; => This Inner Loop Header: Depth=3
ldr w13, [x10, #16]
subs x13, x14, x13
b.lo LBB0_199
; %bb.197: ; in Loop: Header=BB0_196 Depth=3
ldr x10, [x10]
mov x14, x13
cbnz x10, LBB0_196
; %bb.198: ; in Loop: Header=BB0_195 Depth=2
mov w13, #0
b LBB0_200
LBB0_199: ; in Loop: Header=BB0_195 Depth=2
ldp x13, x10, [x10, #24]
ldrb w13, [x13, x14]
ldrb w10, [x10, x14]
bfi w13, w10, #8, #8
LBB0_200: ; in Loop: Header=BB0_195 Depth=2
add x10, x12, #1
mov x14, x11
mov x15, x10
LBB0_201: ; Parent Loop BB0_148 Depth=1
; Parent Loop BB0_195 Depth=2
; => This Inner Loop Header: Depth=3
ldr w16, [x14, #16]
subs x16, x15, x16
b.lo LBB0_203
; %bb.202: ; in Loop: Header=BB0_201 Depth=3
ldr x14, [x14]
mov x15, x16
cbnz x14, LBB0_201
b LBB0_205
LBB0_203: ; in Loop: Header=BB0_195 Depth=2
and w16, w13, #0xff
cmp w16, #42
b.ne LBB0_205
; %bb.204: ; in Loop: Header=BB0_195 Depth=2
ldr x16, [x14, #24]
ldrb w16, [x16, x15]
cmp w16, #47
b.eq LBB0_208
LBB0_205: ; Parent Loop BB0_148 Depth=1
; Parent Loop BB0_195 Depth=2
; => This Inner Loop Header: Depth=3
ldr w14, [x11, #16]
subs x14, x12, x14
b.lo LBB0_207
; %bb.206: ; in Loop: Header=BB0_205 Depth=3
ldr x11, [x11]
mov x12, x14
cbnz x11, LBB0_205
b LBB0_194
LBB0_207: ; in Loop: Header=BB0_195 Depth=2
ldr x14, [x11, #24]
strb w13, [x14, x12]
lsr w13, w13, #8
orr w13, w13, #0x1
ldr x11, [x11, #32]
strb w13, [x11, x12]
b LBB0_194
LBB0_208: ; in Loop: Header=BB0_148 Depth=1
ldr x14, [x14, #32]
ldrb w14, [x14, x15]
mov x15, x11
LBB0_209: ; Parent Loop BB0_148 Depth=1
; => This Inner Loop Header: Depth=2
ldr w16, [x15, #16]
subs x16, x12, x16
b.lo LBB0_211
; %bb.210: ; in Loop: Header=BB0_209 Depth=2
ldr x15, [x15]
mov x12, x16
cbnz x15, LBB0_209
b LBB0_212
LBB0_211: ; in Loop: Header=BB0_148 Depth=1
ldr x11, [x15, #24]
strb w13, [x11, x12]
lsr w11, w13, #8
orr w11, w11, #0x1
ldr x13, [x15, #32]
strb w11, [x13, x12]
ldr x11, [sp, #112]
LBB0_212: ; in Loop: Header=BB0_148 Depth=1
cbz x11, LBB0_147
; %bb.213: ; in Loop: Header=BB0_148 Depth=1
orr w12, w14, #0x1
mov x13, x10
LBB0_214: ; Parent Loop BB0_148 Depth=1
; => This Inner Loop Header: Depth=2
ldr w14, [x11, #16]
subs x14, x13, x14
b.lo LBB0_216
; %bb.215: ; in Loop: Header=BB0_214 Depth=2
ldr x11, [x11]
mov x13, x14
cbnz x11, LBB0_214
b LBB0_147
LBB0_216: ; in Loop: Header=BB0_148 Depth=1
ldr x14, [x11, #24]
strb w8, [x14, x13]
ldr x11, [x11, #32]
strb w12, [x11, x13]
b LBB0_147
LBB0_217:
mov x28, #0
b LBB0_272
LBB0_218:
cbz x28, LBB0_271
; %bb.219:
mov w10, #0
mov w22, #0
mov x8, #0
b LBB0_223
LBB0_220: ; in Loop: Header=BB0_223 Depth=1
mov x22, x9
LBB0_221: ; in Loop: Header=BB0_223 Depth=1
mov x10, x14
LBB0_222: ; in Loop: Header=BB0_223 Depth=1
add x8, x8, #1
cmp x8, x28
b.hs LBB0_273
LBB0_223: ; =>This Loop Header: Depth=1
; Child Loop BB0_225 Depth 2
; Child Loop BB0_236 Depth 2
; Child Loop BB0_246 Depth 2
; Child Loop BB0_248 Depth 3
; Child Loop BB0_256 Depth 3
; Child Loop BB0_264 Depth 2
; Child Loop BB0_230 Depth 2
mov x9, x22
ldr x12, [sp, #112]
cbz x12, LBB0_227
; %bb.224: ; in Loop: Header=BB0_223 Depth=1
mov x11, x12
mov x13, x8
LBB0_225: ; Parent Loop BB0_223 Depth=1
; => This Inner Loop Header: Depth=2
ldr w14, [x11, #16]
subs x14, x13, x14
b.lo LBB0_232
; %bb.226: ; in Loop: Header=BB0_225 Depth=2
ldr x11, [x11]
mov x13, x14
cbnz x11, LBB0_225
LBB0_227: ; in Loop: Header=BB0_223 Depth=1
mov w13, #0
mov w11, #0
mov w14, #0
mov w22, #0
cbz w9, LBB0_222
; %bb.228: ; in Loop: Header=BB0_223 Depth=1
cbz x12, LBB0_220
LBB0_229: ; in Loop: Header=BB0_223 Depth=1
mov x10, x8
LBB0_230: ; Parent Loop BB0_223 Depth=1
; => This Inner Loop Header: Depth=2
ldr w15, [x12, #16]
subs x15, x10, x15
b.lo LBB0_239
; %bb.231: ; in Loop: Header=BB0_230 Depth=2
ldr x12, [x12]
mov x10, x15
cbnz x12, LBB0_230
b LBB0_220
LBB0_232: ; in Loop: Header=BB0_223 Depth=1
ldp x14, x11, [x11, #24]
ldrb w14, [x14, x13]
ldrb w13, [x11, x13]
mov x11, x14
bfi w11, w13, #8, #8
tbnz w11, #8, LBB0_238
; %bb.233: ; in Loop: Header=BB0_223 Depth=1
cbnz w9, LBB0_260
; %bb.234: ; in Loop: Header=BB0_223 Depth=1
and w15, w11, #0xff
cmp w15, #35
b.ne LBB0_260
; %bb.235: ; in Loop: Header=BB0_223 Depth=1
mov x15, x8
LBB0_236: ; Parent Loop BB0_223 Depth=1
; => This Inner Loop Header: Depth=2
ldr w16, [x12, #16]
subs x16, x15, x16
b.lo LBB0_241
; %bb.237: ; in Loop: Header=BB0_236 Depth=2
ldr x12, [x12]
mov x15, x16
cbnz x12, LBB0_236
b LBB0_242
LBB0_238: ; in Loop: Header=BB0_223 Depth=1
mov x22, x9
b LBB0_222
LBB0_239: ; in Loop: Header=BB0_223 Depth=1
ldr x15, [x12, #24]
strb w13, [x15, x10]
mov x22, x9
LBB0_240: ; in Loop: Header=BB0_223 Depth=1
orr w9, w11, #0x1
ldr x11, [x12, #32]
strb w9, [x11, x10]
b LBB0_221
LBB0_241: ; in Loop: Header=BB0_223 Depth=1
ldr x16, [x12, #24]
strb w14, [x16, x15]
orr w13, w13, #0x1
ldr x12, [x12, #32]
strb w13, [x12, x15]
LBB0_242: ; in Loop: Header=BB0_223 Depth=1
add x8, x8, #1
cmp x8, x28
b.hs LBB0_260
; %bb.243: ; in Loop: Header=BB0_223 Depth=1
mov w12, #0
b LBB0_246
LBB0_244: ; in Loop: Header=BB0_246 Depth=2
mov w11, #0
LBB0_245: ; in Loop: Header=BB0_246 Depth=2
add x8, x8, #1
cmp x8, x28
b.eq LBB0_259
LBB0_246: ; Parent Loop BB0_223 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_248 Depth 3
; Child Loop BB0_256 Depth 3
ldr x13, [sp, #112]
cbz x13, LBB0_244
; %bb.247: ; in Loop: Header=BB0_246 Depth=2
mov x11, x13
mov x14, x8
LBB0_248: ; Parent Loop BB0_223 Depth=1
; Parent Loop BB0_246 Depth=2
; => This Inner Loop Header: Depth=3
ldr w15, [x11, #16]
subs x15, x14, x15
b.lo LBB0_250
; %bb.249: ; in Loop: Header=BB0_248 Depth=3
ldr x11, [x11]
mov x14, x15
cbnz x11, LBB0_248
b LBB0_255
LBB0_250: ; in Loop: Header=BB0_246 Depth=2
ldp x15, x16, [x11, #24]
ldrb w11, [x15, x14]
ldrb w14, [x16, x14]
bfi w11, w14, #8, #8
and w14, w11, #0xff
cmp w14, #10
b.ne LBB0_253
; %bb.251: ; in Loop: Header=BB0_246 Depth=2
cbz w12, LBB0_260
; %bb.252: ; in Loop: Header=BB0_246 Depth=2
mov w12, #0
LBB0_253: ; in Loop: Header=BB0_246 Depth=2
tbnz w11, #8, LBB0_245
; %bb.254: ; in Loop: Header=BB0_246 Depth=2
cmp w14, #92
csinc w12, w12, wzr, ne
LBB0_255: ; in Loop: Header=BB0_246 Depth=2
mov x14, x8
LBB0_256: ; Parent Loop BB0_223 Depth=1
; Parent Loop BB0_246 Depth=2
; => This Inner Loop Header: Depth=3
ldr w15, [x13, #16]
subs x15, x14, x15
b.lo LBB0_258
; %bb.257: ; in Loop: Header=BB0_256 Depth=3
ldr x13, [x13]
mov x14, x15
cbnz x13, LBB0_256
b LBB0_245
LBB0_258: ; in Loop: Header=BB0_246 Depth=2
ldr x15, [x13, #24]
strb w11, [x15, x14]
lsr w15, w11, #8
orr w15, w15, #0x1
ldr x13, [x13, #32]
strb w15, [x13, x14]
b LBB0_245
LBB0_259: ; in Loop: Header=BB0_223 Depth=1
mov x8, x28
LBB0_260: ; in Loop: Header=BB0_223 Depth=1
and w13, w11, #0xff
cmp w13, #39
b.eq LBB0_262
; %bb.261: ; in Loop: Header=BB0_223 Depth=1
cmp w13, #34
b.ne LBB0_267
LBB0_262: ; in Loop: Header=BB0_223 Depth=1
cmp w9, w13
csel w12, wzr, w9, eq
cmp w10, #0
csel w10, w9, w12, ne
cmp w9, #0
csel w22, w13, w10, eq
ldr x12, [sp, #112]
cbz x12, LBB0_266
; %bb.263: ; in Loop: Header=BB0_223 Depth=1
mov x10, x8
LBB0_264: ; Parent Loop BB0_223 Depth=1
; => This Inner Loop Header: Depth=2
ldr w9, [x12, #16]
subs x9, x10, x9
b.lo LBB0_269
; %bb.265: ; in Loop: Header=BB0_264 Depth=2
ldr x12, [x12]
mov x10, x9
cbnz x12, LBB0_264
LBB0_266: ; in Loop: Header=BB0_223 Depth=1
mov w10, #0
b LBB0_222
LBB0_267: ; in Loop: Header=BB0_223 Depth=1
cbz w9, LBB0_270
; %bb.268: ; in Loop: Header=BB0_223 Depth=1
cmp w13, #92
ccmp w10, #0, #0, eq
cset w14, eq
lsr w11, w11, #8
ldr x12, [sp, #112]
cbnz x12, LBB0_229
b LBB0_220
LBB0_269: ; in Loop: Header=BB0_223 Depth=1
mov w14, #0
ldr x9, [x12, #24]
strb w13, [x9, x10]
lsr w11, w11, #8
b LBB0_240
LBB0_270: ; in Loop: Header=BB0_223 Depth=1
mov w22, #0
b LBB0_222
LBB0_271:
mov x8, #0
LBB0_272:
mov w22, #0
mov w25, #1
LBB0_273:
Lloh23:
adrp x9, _opt_verbose@PAGE
Lloh24:
ldr w9, [x9, _opt_verbose@PAGEOFF]
cmp w9, #1
b.lt LBB0_280
; %bb.274:
ldr x9, [sp, #112]
cbz x9, LBB0_277
LBB0_275: ; =>This Inner Loop Header: Depth=1
ldr w10, [x9, #16]
subs x10, x8, x10
b.lo LBB0_278
; %bb.276: ; in Loop: Header=BB0_275 Depth=1
ldr x9, [x9]
mov x8, x10
cbnz x9, LBB0_275
LBB0_277:
mov w8, #32
b LBB0_279
LBB0_278:
ldr x9, [x9, #32]
ldrb w8, [x9, x8]
tst w8, #0x2
mov w8, #43
mov w9, #32
csel w8, w9, w8, eq
LBB0_279:
stp xzr, x8, [sp]
Lloh25:
adrp x0, l_.str.7@PAGE
Lloh26:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
LBB0_280:
mov w23, #0
tbz w25, #0, LBB0_287
LBB0_281:
Lloh27:
adrp x8, _opt_verbose@PAGE
Lloh28:
ldr w8, [x8, _opt_verbose@PAGEOFF]
cmp w8, #1
b.lt LBB0_283
; %bb.282:
mov w0, #10
bl _putchar
LBB0_283:
cbnz w23, LBB0_486
; %bb.284:
cbnz w22, LBB0_487
; %bb.285:
tbz w25, #0, LBB0_316
; %bb.286:
mov w24, #0
b LBB0_332
LBB0_287:
mov x24, #0
mov w26, #43
mov w27, #32
Lloh29:
adrp x19, l_.str.7@PAGE
Lloh30:
add x19, x19, l_.str.7@PAGEOFF
b LBB0_290
LBB0_288: ; in Loop: Header=BB0_290 Depth=1
sub w23, w23, #1
LBB0_289: ; in Loop: Header=BB0_290 Depth=1
add x24, x24, #1
cmp x24, x28
b.eq LBB0_281
LBB0_290: ; =>This Loop Header: Depth=1
; Child Loop BB0_292 Depth 2
; Child Loop BB0_300 Depth 2
; Child Loop BB0_311 Depth 2
ldr x8, [sp, #112]
cbz x8, LBB0_294
; %bb.291: ; in Loop: Header=BB0_290 Depth=1
mov x9, x24
LBB0_292: ; Parent Loop BB0_290 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x8, #16]
subs x10, x9, x10
b.lo LBB0_295
; %bb.293: ; in Loop: Header=BB0_292 Depth=2
ldr x8, [x8]
mov x9, x10
cbnz x8, LBB0_292
LBB0_294: ; in Loop: Header=BB0_290 Depth=1
mov w21, #0
b LBB0_296
LBB0_295: ; in Loop: Header=BB0_290 Depth=1
ldp x10, x8, [x8, #24]
ldrb w21, [x10, x9]
ldrb w8, [x8, x9]
bfi w21, w8, #8, #8
LBB0_296: ; in Loop: Header=BB0_290 Depth=1
Lloh31:
adrp x8, _opt_verbose@PAGE
Lloh32:
ldr w8, [x8, _opt_verbose@PAGEOFF]
cmp w8, #1
b.lt LBB0_304
; %bb.297: ; in Loop: Header=BB0_290 Depth=1
and w20, w21, #0xff
mov x0, x20
bl _putchar
cmp w20, #10
b.ne LBB0_304
; %bb.298: ; in Loop: Header=BB0_290 Depth=1
ldr x8, [sp, #112]
cbz x8, LBB0_303
; %bb.299: ; in Loop: Header=BB0_290 Depth=1
add x9, x24, #1
LBB0_300: ; Parent Loop BB0_290 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x8, #16]
subs x10, x9, x10
b.lo LBB0_302
; %bb.301: ; in Loop: Header=BB0_300 Depth=2
ldr x8, [x8]
mov x9, x10
cbnz x8, LBB0_300
b LBB0_303
LBB0_302: ; in Loop: Header=BB0_290 Depth=1
ldr x8, [x8, #32]
ldrb w8, [x8, x9]
lsl w8, w8, #8
LBB0_303: ; in Loop: Header=BB0_290 Depth=1
tst w8, #0x200
csel x8, x27, x26, eq
stp x23, x8, [sp]
mov x0, x19
bl _printf
LBB0_304: ; in Loop: Header=BB0_290 Depth=1
tbnz w21, #8, LBB0_289
; %bb.305: ; in Loop: Header=BB0_290 Depth=1
and w8, w21, #0xff
cmp w8, #123
b.eq LBB0_307
; %bb.306: ; in Loop: Header=BB0_290 Depth=1
cmp w8, #40
b.ne LBB0_308
LBB0_307: ; in Loop: Header=BB0_290 Depth=1
add w23, w23, #1
LBB0_308: ; in Loop: Header=BB0_290 Depth=1
cbz w23, LBB0_313
; %bb.309: ; in Loop: Header=BB0_290 Depth=1
ldr x9, [sp, #112]
cbz x9, LBB0_313
; %bb.310: ; in Loop: Header=BB0_290 Depth=1
mov x10, x24
LBB0_311: ; Parent Loop BB0_290 Depth=1
; => This Inner Loop Header: Depth=2
ldr w11, [x9, #16]
subs x11, x10, x11
b.lo LBB0_314
; %bb.312: ; in Loop: Header=BB0_311 Depth=2
ldr x9, [x9]
mov x10, x11
cbnz x9, LBB0_311
LBB0_313: ; in Loop: Header=BB0_290 Depth=1
cmp w8, #125
b.ne LBB0_315
b LBB0_288
LBB0_314: ; in Loop: Header=BB0_290 Depth=1
ldr x11, [x9, #24]
strb w8, [x11, x10]
lsr w11, w21, #8
orr w11, w11, #0x1
ldr x9, [x9, #32]
strb w11, [x9, x10]
cmp w8, #125
b.eq LBB0_288
LBB0_315: ; in Loop: Header=BB0_290 Depth=1
cmp w8, #41
b.eq LBB0_288
b LBB0_289
LBB0_316:
mov x8, #0
b LBB0_319
LBB0_317: ; in Loop: Header=BB0_319 Depth=1
ldr x12, [x9, #24]
strb w10, [x12, x11]
lsr w10, w10, #8
orr w10, w10, #0x1
ldr x9, [x9, #32]
strb w10, [x9, x11]
LBB0_318: ; in Loop: Header=BB0_319 Depth=1
add x8, x8, #1
cmp x8, x28
b.eq LBB0_331
LBB0_319: ; =>This Loop Header: Depth=1
; Child Loop BB0_321 Depth 2
; Child Loop BB0_329 Depth 2
ldr x9, [sp, #112]
cbz x9, LBB0_323
; %bb.320: ; in Loop: Header=BB0_319 Depth=1
mov x10, x9
mov x11, x8
LBB0_321: ; Parent Loop BB0_319 Depth=1
; => This Inner Loop Header: Depth=2
ldr w12, [x10, #16]
subs x12, x11, x12
b.lo LBB0_325
; %bb.322: ; in Loop: Header=BB0_321 Depth=2
ldr x10, [x10]
mov x11, x12
cbnz x10, LBB0_321
b LBB0_324
LBB0_323: ; in Loop: Header=BB0_319 Depth=1
mov w10, #0
LBB0_324: ; in Loop: Header=BB0_319 Depth=1
tbz w10, #8, LBB0_326
b LBB0_318
LBB0_325: ; in Loop: Header=BB0_319 Depth=1
ldp x12, x13, [x10, #24]
ldrb w10, [x12, x11]
ldrb w11, [x13, x11]
bfi w10, w11, #8, #24
tbnz w10, #8, LBB0_318
LBB0_326: ; in Loop: Header=BB0_319 Depth=1
and w11, w10, #0xff
cmp w11, #10
b.eq LBB0_318
; %bb.327: ; in Loop: Header=BB0_319 Depth=1
cbz x9, LBB0_318
; %bb.328: ; in Loop: Header=BB0_319 Depth=1
mov x11, x8
LBB0_329: ; Parent Loop BB0_319 Depth=1
; => This Inner Loop Header: Depth=2
ldr w12, [x9, #16]
subs x12, x11, x12
b.lo LBB0_317
; %bb.330: ; in Loop: Header=BB0_329 Depth=2
ldr x9, [x9]
mov x11, x12
cbnz x9, LBB0_329
b LBB0_318
LBB0_331:
mov w24, #0
tbz w25, #0, LBB0_334
LBB0_332:
ldur x8, [x29, #-96]
Lloh33:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh34:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_488
; %bb.333:
mov x0, x24
add sp, sp, #736
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_334:
mov x19, #0
mov x20, #0
add x22, sp, #80
add x9, x22, #8
add x8, sp, #64
add x8, x8, #8
stp x8, x9, [sp, #48] ; 16-byte Folded Spill
mov w23, #4136
mov w25, #4096
b LBB0_338
LBB0_335: ; in Loop: Header=BB0_338 Depth=1
mov w8, #0
LBB0_336: ; in Loop: Header=BB0_338 Depth=1
tst w8, #0x100
csinc x19, x19, x20, ne
LBB0_337: ; in Loop: Header=BB0_338 Depth=1
add x20, x20, #1
cmp x20, x28
b.hs LBB0_332
LBB0_338: ; =>This Loop Header: Depth=1
; Child Loop BB0_340 Depth 2
; Child Loop BB0_348 Depth 2
; Child Loop BB0_366 Depth 2
; Child Loop BB0_369 Depth 2
; Child Loop BB0_380 Depth 2
; Child Loop BB0_382 Depth 3
; Child Loop BB0_386 Depth 3
; Child Loop BB0_399 Depth 2
; Child Loop BB0_403 Depth 2
; Child Loop BB0_372 Depth 2
; Child Loop BB0_375 Depth 2
; Child Loop BB0_431 Depth 2
; Child Loop BB0_433 Depth 3
; Child Loop BB0_444 Depth 2
; Child Loop BB0_446 Depth 3
; Child Loop BB0_455 Depth 2
; Child Loop BB0_458 Depth 3
; Child Loop BB0_411 Depth 2
; Child Loop BB0_417 Depth 2
; Child Loop BB0_473 Depth 2
; Child Loop BB0_476 Depth 2
ldr x21, [sp, #112]
cbz x21, LBB0_335
; %bb.339: ; in Loop: Header=BB0_338 Depth=1
mov x8, x21
mov x9, x20
LBB0_340: ; Parent Loop BB0_338 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x8, #16]
subs x10, x9, x10
b.lo LBB0_342
; %bb.341: ; in Loop: Header=BB0_340 Depth=2
ldr x8, [x8]
mov x9, x10
cbnz x8, LBB0_340
b LBB0_336
LBB0_342: ; in Loop: Header=BB0_338 Depth=1
ldr x8, [x8, #32]
ldrb w8, [x8, x9]
tbnz w8, #1, LBB0_344
; %bb.343: ; in Loop: Header=BB0_338 Depth=1
lsl w8, w8, #8
b LBB0_336
LBB0_344: ; in Loop: Header=BB0_338 Depth=1
stp xzr, x22, [sp, #80]
mov w0, #1
mov w1, #8232
bl _calloc
cbz x0, LBB0_483
; %bb.345: ; in Loop: Header=BB0_338 Depth=1
add x9, x0, #40
add x8, x0, x23
stp x9, x8, [x0, #24]
str w25, [x0, #16]
cmp x19, x28
b.hs LBB0_359
; %bb.346: ; in Loop: Header=BB0_338 Depth=1
mov x8, #0
cbz x21, LBB0_351
LBB0_347: ; in Loop: Header=BB0_338 Depth=1
mov x10, x19
LBB0_348: ; Parent Loop BB0_338 Depth=1
; => This Inner Loop Header: Depth=2
ldr w9, [x21, #16]
subs x9, x10, x9
b.lo LBB0_350
; %bb.349: ; in Loop: Header=BB0_348 Depth=2
ldr x21, [x21]
mov x10, x9
cbnz x21, LBB0_348
b LBB0_351
LBB0_350: ; in Loop: Header=BB0_338 Depth=1
ldp x9, x11, [x21, #24]
ldrb w9, [x9, x10]
ldrb w10, [x11, x10]
bfi w9, w10, #8, #8
cmp x19, x20
b.hi LBB0_352
b LBB0_353
LBB0_351: ; in Loop: Header=BB0_338 Depth=1
mov w9, #0
cmp x19, x20
b.ls LBB0_353
LBB0_352: ; in Loop: Header=BB0_338 Depth=1
and w10, w9, #0x300
cbz w10, LBB0_361
LBB0_353: ; in Loop: Header=BB0_338 Depth=1
ldr x11, [x0, #24]
add x10, x8, #1
strb w9, [x11, x8]
cmp x10, #1, lsl #12 ; =4096
b.ne LBB0_356
; %bb.354: ; in Loop: Header=BB0_338 Depth=1
ldr x8, [sp, #88]
ldr x9, [sp, #88]
stp xzr, x8, [x0]
str x0, [x9]
str x0, [sp, #88]
mov w0, #1
mov w1, #8232
bl _calloc
cbz x0, LBB0_482
; %bb.355: ; in Loop: Header=BB0_338 Depth=1
mov x8, #0
add x9, x0, #40
add x10, x0, x23
stp x9, x10, [x0, #24]
str w25, [x0, #16]
b LBB0_357
LBB0_356: ; in Loop: Header=BB0_338 Depth=1
mov x8, x10
LBB0_357: ; in Loop: Header=BB0_338 Depth=1
add x19, x19, #1
cmp x19, x28
b.eq LBB0_360
; %bb.358: ; in Loop: Header=BB0_338 Depth=1
ldr x21, [sp, #112]
cbnz x21, LBB0_347
b LBB0_351
LBB0_359: ; in Loop: Header=BB0_338 Depth=1
mov x8, #0
b LBB0_362
LBB0_360: ; in Loop: Header=BB0_338 Depth=1
mov x19, x28
LBB0_361: ; in Loop: Header=BB0_338 Depth=1
ldr x9, [x0, #24]
ldrb w10, [x9, x8]
mov x20, x19
cmp w10, #10
b.eq LBB0_363
LBB0_362: ; in Loop: Header=BB0_338 Depth=1
mov w10, #10
strb w10, [x9, x8]
add x8, x8, #1
mov x20, x19
LBB0_363: ; in Loop: Header=BB0_338 Depth=1
str w8, [x0, #16]
ldr x8, [sp, #88]
ldr x9, [sp, #88]
stp xzr, x8, [x0]
str x0, [x9]
str x0, [sp, #88]
add x0, sp, #80
add x1, sp, #64
Lloh36:
adrp x2, l_.str.12@PAGE
Lloh37:
add x2, x2, l_.str.12@PAGEOFF
bl _cmd_block_process
Lloh38:
adrp x8, _opt_diff_tool@PAGE
Lloh39:
ldr x8, [x8, _opt_diff_tool@PAGEOFF]
cbz x8, LBB0_370
; %bb.364: ; in Loop: Header=BB0_338 Depth=1
Lloh40:
adrp x8, l___const.diff_tool.ca@PAGE
Lloh41:
add x8, x8, l___const.diff_tool.ca@PAGEOFF
ldr q0, [x8]
stur q0, [x29, #-128]
ldur x8, [x8, #14]
stur x8, [x29, #-114]
Lloh42:
adrp x8, l___const.diff_tool.cb@PAGE
Lloh43:
add x8, x8, l___const.diff_tool.cb@PAGEOFF
ldr q0, [x8]
stur q0, [x29, #-160]
ldr x8, [x8, #16]
stur x8, [x29, #-144]
ldr x9, [sp, #80]
cbz x9, LBB0_376
; %bb.365: ; in Loop: Header=BB0_338 Depth=1
mov x8, #0
mov x10, x9
LBB0_366: ; Parent Loop BB0_338 Depth=1
; => This Inner Loop Header: Depth=2
ldr w11, [x10, #16]
add x8, x8, x11
ldr x10, [x10]
cbnz x10, LBB0_366
; %bb.367: ; in Loop: Header=BB0_338 Depth=1
ldr x10, [sp, #64]
cbz x10, LBB0_377
LBB0_368: ; in Loop: Header=BB0_338 Depth=1
mov x11, #0
mov x12, x10
LBB0_369: ; Parent Loop BB0_338 Depth=1
; => This Inner Loop Header: Depth=2
ldr w13, [x12, #16]
add x11, x11, x13
ldr x12, [x12]
cbnz x12, LBB0_369
b LBB0_378
LBB0_370: ; in Loop: Header=BB0_338 Depth=1
ldr x8, [sp, #80]
cbz x8, LBB0_406
; %bb.371: ; in Loop: Header=BB0_338 Depth=1
mov x23, #0
mov x9, x8
LBB0_372: ; Parent Loop BB0_338 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x9, #16]
add x23, x23, x10
ldr x9, [x9]
cbnz x9, LBB0_372
; %bb.373: ; in Loop: Header=BB0_338 Depth=1
ldr x9, [sp, #64]
cbz x9, LBB0_407
LBB0_374: ; in Loop: Header=BB0_338 Depth=1
mov x19, #0
mov x10, x9
LBB0_375: ; Parent Loop BB0_338 Depth=1
; => This Inner Loop Header: Depth=2
ldr w11, [x10, #16]
add x19, x19, x11
ldr x10, [x10]
cbnz x10, LBB0_375
b LBB0_408
LBB0_376: ; in Loop: Header=BB0_338 Depth=1
mov x8, #0
ldr x10, [sp, #64]
cbnz x10, LBB0_368
LBB0_377: ; in Loop: Header=BB0_338 Depth=1
mov x11, #0
LBB0_378: ; in Loop: Header=BB0_338 Depth=1
cmp x8, x11
csel x12, x8, x11, hi
cbz x12, LBB0_472
; %bb.379: ; in Loop: Header=BB0_338 Depth=1
mov x11, #0
LBB0_380: ; Parent Loop BB0_338 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_382 Depth 3
; Child Loop BB0_386 Depth 3
cbz x9, LBB0_388
; %bb.381: ; in Loop: Header=BB0_380 Depth=2
mov x13, x9
mov x14, x11
LBB0_382: ; Parent Loop BB0_338 Depth=1
; Parent Loop BB0_380 Depth=2
; => This Inner Loop Header: Depth=3
ldr w15, [x13, #16]
subs x15, x14, x15
b.lo LBB0_391
; %bb.383: ; in Loop: Header=BB0_382 Depth=3
ldr x13, [x13]
mov x14, x15
cbnz x13, LBB0_382
; %bb.384: ; in Loop: Header=BB0_380 Depth=2
cbz x10, LBB0_389
LBB0_385: ; in Loop: Header=BB0_380 Depth=2
mov x14, x10
mov x15, x11
LBB0_386: ; Parent Loop BB0_338 Depth=1
; Parent Loop BB0_380 Depth=2
; => This Inner Loop Header: Depth=3
ldr w16, [x14, #16]
subs x16, x15, x16
b.lo LBB0_392
; %bb.387: ; in Loop: Header=BB0_386 Depth=3
ldr x14, [x14]
mov x15, x16
cbnz x14, LBB0_386
b LBB0_390
LBB0_388: ; in Loop: Header=BB0_380 Depth=2
mov w13, #0
cbnz x10, LBB0_385
LBB0_389: ; in Loop: Header=BB0_380 Depth=2
mov w14, #0
LBB0_390: ; in Loop: Header=BB0_380 Depth=2
cmp w13, w14
b.eq LBB0_393
b LBB0_394
LBB0_391: ; in Loop: Header=BB0_380 Depth=2
ldr x13, [x13, #24]
ldrb w13, [x13, x14]
cbnz x10, LBB0_385
b LBB0_389
LBB0_392: ; in Loop: Header=BB0_380 Depth=2
ldr x14, [x14, #24]
ldrb w14, [x14, x15]
cmp w13, w14
b.ne LBB0_394
LBB0_393: ; in Loop: Header=BB0_380 Depth=2
add x11, x11, #1
cmp x11, x12
b.ne LBB0_380
b LBB0_472
LBB0_394: ; in Loop: Header=BB0_338 Depth=1
cmp w13, #10
b.ne LBB0_397
; %bb.395: ; in Loop: Header=BB0_338 Depth=1
cbnz w14, LBB0_397
; %bb.396: ; in Loop: Header=BB0_338 Depth=1
sub x8, x8, #1
cmp x11, x8
b.eq LBB0_472
LBB0_397: ; in Loop: Header=BB0_338 Depth=1
sub x0, x29, #128
bl _mkstemp
mov x24, x0
sub x0, x29, #160
bl _mkstemp
mov x25, x0
tbnz w24, #31, LBB0_481
; %bb.398: ; in Loop: Header=BB0_338 Depth=1
ldr x19, [sp, #80]
cbz x19, LBB0_401
LBB0_399: ; Parent Loop BB0_338 Depth=1
; => This Inner Loop Header: Depth=2
ldr x1, [x19, #24]
ldr w2, [x19, #16]
mov x0, x24
bl _write
ldr w8, [x19, #16]
cmp x0, x8
b.ne LBB0_481
; %bb.400: ; in Loop: Header=BB0_399 Depth=2
ldr x19, [x19]
cbnz x19, LBB0_399
LBB0_401: ; in Loop: Header=BB0_338 Depth=1
tbnz w25, #31, LBB0_481
; %bb.402: ; in Loop: Header=BB0_338 Depth=1
ldr x19, [sp, #64]
cbz x19, LBB0_405
LBB0_403: ; Parent Loop BB0_338 Depth=1
; => This Inner Loop Header: Depth=2
ldr x1, [x19, #24]
ldr w2, [x19, #16]
mov x0, x25
bl _write
ldr w8, [x19, #16]
cmp x0, x8
b.ne LBB0_481
; %bb.404: ; in Loop: Header=BB0_403 Depth=2
ldr x19, [x19]
cbnz x19, LBB0_403
LBB0_405: ; in Loop: Header=BB0_338 Depth=1
mov x0, x24
bl _close
mov x0, x25
bl _close
Lloh44:
adrp x8, _opt_diff_tool@PAGE
Lloh45:
ldr x8, [x8, _opt_diff_tool@PAGEOFF]
sub x9, x29, #160
str x9, [sp, #16]
add x0, sp, #400
sub x9, x29, #128
stp x8, x9, [sp]
mov w1, #256
Lloh46:
adrp x2, l_.str.23@PAGE
Lloh47:
add x2, x2, l_.str.23@PAGEOFF
bl _snprintf
add x0, sp, #400
bl _system
sub x0, x29, #128
bl _unlink
sub x0, x29, #160
bl _unlink
b LBB0_471
LBB0_406: ; in Loop: Header=BB0_338 Depth=1
mov x23, #0
ldr x9, [sp, #64]
cbnz x9, LBB0_374
LBB0_407: ; in Loop: Header=BB0_338 Depth=1
mov x19, #0
LBB0_408: ; in Loop: Header=BB0_338 Depth=1
cmp x23, x19
csel x11, x23, x19, hi
cbz x11, LBB0_472
; %bb.409: ; in Loop: Header=BB0_338 Depth=1
mov x27, #0
mov x21, #0
sub x10, x23, #1
cbz x8, LBB0_415
LBB0_410: ; in Loop: Header=BB0_338 Depth=1
mov x12, x8
mov x13, x27
LBB0_411: ; Parent Loop BB0_338 Depth=1
; => This Inner Loop Header: Depth=2
ldr w14, [x12, #16]
subs x14, x13, x14
b.lo LBB0_413
; %bb.412: ; in Loop: Header=BB0_411 Depth=2
ldr x12, [x12]
mov x13, x14
cbnz x12, LBB0_411
b LBB0_415
LBB0_413: ; in Loop: Header=BB0_338 Depth=1
ldr x12, [x12, #24]
ldrb w15, [x12, x13]
cbnz x9, LBB0_416
LBB0_414: ; in Loop: Header=BB0_338 Depth=1
mov w12, #0
b LBB0_420
LBB0_415: ; in Loop: Header=BB0_338 Depth=1
mov w15, #0
cbz x9, LBB0_414
LBB0_416: ; in Loop: Header=BB0_338 Depth=1
mov x12, x9
mov x13, x27
LBB0_417: ; Parent Loop BB0_338 Depth=1
; => This Inner Loop Header: Depth=2
ldr w14, [x12, #16]
subs x14, x13, x14
b.lo LBB0_419
; %bb.418: ; in Loop: Header=BB0_417 Depth=2
ldr x12, [x12]
mov x13, x14
cbnz x12, LBB0_417
b LBB0_420
LBB0_419: ; in Loop: Header=BB0_338 Depth=1
ldr x12, [x12, #24]
ldrb w12, [x12, x13]
LBB0_420: ; in Loop: Header=BB0_338 Depth=1
sxtb w26, w15
sxtb w25, w12
cmp w26, w25
b.ne LBB0_423
; %bb.421: ; in Loop: Header=BB0_338 Depth=1
add x27, x27, #1
cmp x27, x11
b.eq LBB0_472
; %bb.422: ; in Loop: Header=BB0_338 Depth=1
cmp w15, #10
csel x21, x27, x21, eq
cbnz x8, LBB0_410
b LBB0_415
LBB0_423: ; in Loop: Header=BB0_338 Depth=1
cmp w15, #10
b.ne LBB0_426
; %bb.424: ; in Loop: Header=BB0_338 Depth=1
cbnz w12, LBB0_426
; %bb.425: ; in Loop: Header=BB0_338 Depth=1
cmp x27, x10
b.eq LBB0_472
LBB0_426: ; in Loop: Header=BB0_338 Depth=1
stp w12, w15, [sp, #32] ; 8-byte Folded Spill
Lloh48:
adrp x0, l_str@PAGE
Lloh49:
add x0, x0, l_str@PAGEOFF
bl _puts
str x21, [sp, #40] ; 8-byte Folded Spill
cmp x21, x23
b.hs LBB0_439
; %bb.427: ; in Loop: Header=BB0_338 Depth=1
mov w22, #0
ldr x21, [sp, #40] ; 8-byte Folded Reload
b LBB0_431
LBB0_428: ; in Loop: Header=BB0_431 Depth=2
mov w0, #0
bl _putchar
mov w24, #0
LBB0_429: ; in Loop: Header=BB0_431 Depth=2
Lloh50:
adrp x8, __DefaultRuneLocale@GOTPAGE
Lloh51:
ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF]
add x8, x8, w24, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
LBB0_430: ; in Loop: Header=BB0_431 Depth=2
cmp w0, #0
csinc w22, w22, wzr, ne
add x21, x21, #1
cmp x21, x23
b.eq LBB0_439
LBB0_431: ; Parent Loop BB0_338 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_433 Depth 3
ldr x8, [sp, #80]
cbz x8, LBB0_428
; %bb.432: ; in Loop: Header=BB0_431 Depth=2
mov x9, x21
LBB0_433: ; Parent Loop BB0_338 Depth=1
; Parent Loop BB0_431 Depth=2
; => This Inner Loop Header: Depth=3
ldr w10, [x8, #16]
subs x10, x9, x10
b.lo LBB0_435
; %bb.434: ; in Loop: Header=BB0_433 Depth=3
ldr x8, [x8]
mov x9, x10
cbnz x8, LBB0_433
b LBB0_428
LBB0_435: ; in Loop: Header=BB0_431 Depth=2
ldr x8, [x8, #24]
ldrb w8, [x8, x9]
cbz w22, LBB0_437
; %bb.436: ; in Loop: Header=BB0_431 Depth=2
cmp w8, #10
b.eq LBB0_439
LBB0_437: ; in Loop: Header=BB0_431 Depth=2
sxtb w24, w8
mov x0, x24
bl _putchar
tbz w24, #31, LBB0_429
; %bb.438: ; in Loop: Header=BB0_431 Depth=2
mov x0, x24
mov w1, #16384
bl ___maskrune
b LBB0_430
LBB0_439: ; in Loop: Header=BB0_338 Depth=1
mov w0, #10
bl _putchar
Lloh52:
adrp x0, l_str.32@PAGE
Lloh53:
add x0, x0, l_str.32@PAGEOFF
bl _puts
ldr x8, [sp, #40] ; 8-byte Folded Reload
cmp x8, x19
b.hs LBB0_452
; %bb.440: ; in Loop: Header=BB0_338 Depth=1
mov w22, #0
ldr x21, [sp, #40] ; 8-byte Folded Reload
b LBB0_444
LBB0_441: ; in Loop: Header=BB0_444 Depth=2
mov w0, #0
bl _putchar
mov w24, #0
LBB0_442: ; in Loop: Header=BB0_444 Depth=2
Lloh54:
adrp x8, __DefaultRuneLocale@GOTPAGE
Lloh55:
ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF]
add x8, x8, w24, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
LBB0_443: ; in Loop: Header=BB0_444 Depth=2
cmp w0, #0
csinc w22, w22, wzr, ne
add x21, x21, #1
cmp x21, x19
b.eq LBB0_452
LBB0_444: ; Parent Loop BB0_338 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_446 Depth 3
ldr x8, [sp, #64]
cbz x8, LBB0_441
; %bb.445: ; in Loop: Header=BB0_444 Depth=2
mov x9, x21
LBB0_446: ; Parent Loop BB0_338 Depth=1
; Parent Loop BB0_444 Depth=2
; => This Inner Loop Header: Depth=3
ldr w10, [x8, #16]
subs x10, x9, x10
b.lo LBB0_448
; %bb.447: ; in Loop: Header=BB0_446 Depth=3
ldr x8, [x8]
mov x9, x10
cbnz x8, LBB0_446
b LBB0_441
LBB0_448: ; in Loop: Header=BB0_444 Depth=2
ldr x8, [x8, #24]
ldrb w8, [x8, x9]
cbz w22, LBB0_450
; %bb.449: ; in Loop: Header=BB0_444 Depth=2
cmp w8, #10
b.eq LBB0_452
LBB0_450: ; in Loop: Header=BB0_444 Depth=2
sxtb w24, w8
mov x0, x24
bl _putchar
tbz w24, #31, LBB0_442
; %bb.451: ; in Loop: Header=BB0_444 Depth=2
mov x0, x24
mov w1, #16384
bl ___maskrune
b LBB0_443
LBB0_452: ; in Loop: Header=BB0_338 Depth=1
mov w0, #10
bl _putchar
ldr x21, [sp, #40] ; 8-byte Folded Reload
b LBB0_455
LBB0_453: ; in Loop: Header=BB0_455 Depth=2
mov w0, #32
LBB0_454: ; in Loop: Header=BB0_455 Depth=2
bl _putchar
add x21, x21, #1
LBB0_455: ; Parent Loop BB0_338 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_458 Depth 3
cmp x21, x27
b.eq LBB0_462
; %bb.456: ; in Loop: Header=BB0_455 Depth=2
ldr x8, [sp, #80]
cbz x8, LBB0_453
; %bb.457: ; in Loop: Header=BB0_455 Depth=2
mov x9, x21
LBB0_458: ; Parent Loop BB0_338 Depth=1
; Parent Loop BB0_455 Depth=2
; => This Inner Loop Header: Depth=3
ldr w10, [x8, #16]
subs x10, x9, x10
b.lo LBB0_460
; %bb.459: ; in Loop: Header=BB0_458 Depth=3
ldr x8, [x8]
mov x9, x10
cbnz x8, LBB0_458
b LBB0_453
LBB0_460: ; in Loop: Header=BB0_455 Depth=2
ldr x8, [x8, #24]
ldrb w8, [x8, x9]
cmp w8, #9
b.ne LBB0_453
; %bb.461: ; in Loop: Header=BB0_455 Depth=2
mov w0, #9
b LBB0_454
LBB0_462: ; in Loop: Header=BB0_338 Depth=1
ldr w8, [sp, #36] ; 4-byte Folded Reload
lsl w8, w8, #24
tbnz w8, #31, LBB0_464
; %bb.463: ; in Loop: Header=BB0_338 Depth=1
Lloh56:
adrp x8, __DefaultRuneLocale@GOTPAGE
Lloh57:
ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF]
add x8, x8, w26, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
add x22, sp, #80
cbnz w0, LBB0_469
b LBB0_465
LBB0_464: ; in Loop: Header=BB0_338 Depth=1
mov x0, x26
mov w1, #16384
bl ___maskrune
add x22, sp, #80
cbnz w0, LBB0_469
LBB0_465: ; in Loop: Header=BB0_338 Depth=1
ldr w8, [sp, #32] ; 4-byte Folded Reload
lsl w8, w8, #24
tbnz w8, #31, LBB0_467
; %bb.466: ; in Loop: Header=BB0_338 Depth=1
Lloh58:
adrp x8, __DefaultRuneLocale@GOTPAGE
Lloh59:
ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF]
add x8, x8, w25, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x4000
b LBB0_468
LBB0_467: ; in Loop: Header=BB0_338 Depth=1
mov x0, x25
mov w1, #16384
bl ___maskrune
LBB0_468: ; in Loop: Header=BB0_338 Depth=1
cbz w0, LBB0_478
LBB0_469: ; in Loop: Header=BB0_338 Depth=1
Lloh60:
adrp x8, l_.str.29@PAGE
Lloh61:
add x8, x8, l_.str.29@PAGEOFF
LBB0_470: ; in Loop: Header=BB0_338 Depth=1
cmp x27, x19
ccmp x27, x23, #2, lo
Lloh62:
adrp x9, l_.str.30@PAGE
Lloh63:
add x9, x9, l_.str.30@PAGEOFF
Lloh64:
adrp x10, l_.str.31@PAGE
Lloh65:
add x10, x10, l_.str.31@PAGEOFF
csel x9, x10, x9, hs
stp x8, x9, [sp]
Lloh66:
adrp x0, l_.str.28@PAGE
Lloh67:
add x0, x0, l_.str.28@PAGEOFF
bl _printf
LBB0_471: ; in Loop: Header=BB0_338 Depth=1
mov w24, #1
LBB0_472: ; in Loop: Header=BB0_338 Depth=1
ldr x0, [sp, #80]
ldr x19, [sp, #56] ; 8-byte Folded Reload
cbz x0, LBB0_474
LBB0_473: ; Parent Loop BB0_338 Depth=1
; => This Inner Loop Header: Depth=2
ldp x8, x9, [x0]
add x10, x8, #8
cmp x8, #0
csel x10, x19, x10, eq
str x9, [x10]
ldr x9, [x0, #8]
str x8, [x9]
bl _free
ldr x0, [sp, #80]
cbnz x0, LBB0_473
LBB0_474: ; in Loop: Header=BB0_338 Depth=1
ldr x0, [sp, #64]
mov w23, #4136
mov w25, #4096
cbz x0, LBB0_477
; %bb.475: ; in Loop: Header=BB0_338 Depth=1
ldr x19, [sp, #48] ; 8-byte Folded Reload
LBB0_476: ; Parent Loop BB0_338 Depth=1
; => This Inner Loop Header: Depth=2
ldp x8, x9, [x0]
add x10, x8, #8
cmp x8, #0
csel x10, x19, x10, eq
str x9, [x10]
ldr x9, [x0, #8]
str x8, [x9]
bl _free
ldr x0, [sp, #64]
cbnz x0, LBB0_476
LBB0_477: ; in Loop: Header=BB0_338 Depth=1
mov x19, x20
b LBB0_337
LBB0_478: ; in Loop: Header=BB0_338 Depth=1
Lloh68:
adrp x8, l_.str.30@PAGE
Lloh69:
add x8, x8, l_.str.30@PAGEOFF
b LBB0_470
LBB0_479:
Lloh70:
adrp x8, ___stderrp@GOTPAGE
Lloh71:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh72:
ldr x3, [x8]
Lloh73:
adrp x0, l_.str.13@PAGE
Lloh74:
add x0, x0, l_.str.13@PAGEOFF
mov w1, #455
mov w2, #1
bl _fwrite
mov w0, #70
bl _exit
LBB0_480:
str x19, [sp]
Lloh75:
adrp x1, l_.str.6@PAGE
Lloh76:
add x1, x1, l_.str.6@PAGEOFF
mov w0, #70
bl _errx
LBB0_481:
sub x2, x29, #128
sub x3, x29, #160
mov x0, x24
mov x1, x25
bl _main.cold.4
LBB0_482:
bl _main.cold.5
LBB0_483:
bl _main.cold.3
LBB0_484:
bl _main.cold.1
LBB0_485:
bl _main.cold.2
LBB0_486:
bl _main.cold.7
LBB0_487:
bl _main.cold.6
LBB0_488:
bl ___stack_chk_fail
LBB0_489:
bl _main.cold.10
LBB0_490:
bl _main.cold.11
LBB0_491:
bl _main.cold.8
LBB0_492:
bl _main.cold.9
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdr Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdr Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdr Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdr Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpLdr Lloh44, Lloh45
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdrGot Lloh50, Lloh51
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpLdrGot Lloh54, Lloh55
.loh AdrpLdrGot Lloh56, Lloh57
.loh AdrpLdrGot Lloh58, Lloh59
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh70, Lloh71, Lloh72
.loh AdrpAdd Lloh75, Lloh76
.cfi_endproc
.section __TEXT,__const
.p2align 1
lJTI0_0:
.short (LBB0_4-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_5-LBB0_1)>>2
.short (LBB0_6-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_7-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_8-LBB0_1)>>2
.short (LBB0_9-LBB0_1)>>2
.short (LBB0_479-LBB0_1)>>2
.short (LBB0_1-LBB0_1)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.p2align 2 ; -- Begin function sigpipe
_sigpipe: ; @sigpipe
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function cmd_block_process
_cmd_block_process: ; @cmd_block_process
.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 x21, x2
mov x19, x1
mov x23, x0
Lloh77:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh78:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh79:
ldr x8, [x8]
str x8, [sp, #24]
stp xzr, x1, [x1]
add x1, sp, #8
mov x0, x2
bl _cmd_popen
ldp x22, x20, [sp, #8]
cmp x22, #0
ccmp x20, #0, #4, ne
b.eq LBB2_13
; %bb.1:
cbz x23, LBB2_6
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldr x23, [x23]
cbz x23, LBB2_5
; %bb.3: ; in Loop: Header=BB2_2 Depth=1
ldr x0, [x23, #24]
ldr w2, [x23, #16]
mov w1, #1
mov x3, x22
bl _fwrite
ldr w8, [x23, #16]
cmp x0, x8
b.eq LBB2_2
; %bb.4:
str x21, [sp]
Lloh80:
adrp x1, l_.str.15@PAGE
Lloh81:
add x1, x1, l_.str.15@PAGEOFF
mov w0, #70
bl _err
LBB2_5:
mov x0, x22
bl _fflush
LBB2_6:
mov x0, x22
bl _fclose
mov w0, #1
mov w1, #8232
bl _calloc
cbz x0, LBB2_10
; %bb.7:
mov x21, x0
mov w22, #4136
mov w23, #4096
LBB2_8: ; =>This Inner Loop Header: Depth=1
add x0, x21, #40
add x8, x21, x22
stp x0, x8, [x21, #24]
str w23, [x21, #16]
mov w1, #1
mov w2, #4096
mov x3, x20
bl _fread
cmp w0, #1
b.lt LBB2_11
; %bb.9: ; in Loop: Header=BB2_8 Depth=1
str w0, [x21, #16]
ldr x8, [x19, #8]
stp xzr, x8, [x21]
str x21, [x8]
str x21, [x19, #8]
mov w0, #1
mov w1, #8232
bl _calloc
mov x21, x0
cbnz x0, LBB2_8
LBB2_10:
bl _cmd_block_process.cold.1
LBB2_11:
mov x0, x21
bl _free
ldr x8, [sp, #24]
Lloh82:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh83:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh84:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_14
; %bb.12:
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
b _fclose
LBB2_13:
str x21, [sp]
Lloh85:
adrp x1, l_.str.14@PAGE
Lloh86:
add x1, x1, l_.str.14@PAGEOFF
mov w0, #70
bl _errx
LBB2_14:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh84
.loh AdrpAdd Lloh85, Lloh86
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function cmd_popen
_cmd_popen: ; @cmd_popen
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh87:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh88:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh89:
ldr x8, [x8]
stur x8, [x29, #-40]
add x21, sp, #8
mov x0, x21
bl _pipe
tbnz w0, #31, LBB3_8
; %bb.1:
add x0, x21, #8
bl _pipe
tbnz w0, #31, LBB3_5
; %bb.2:
Lloh90:
adrp x9, l_.str.16@PAGE
Lloh91:
add x9, x9, l_.str.16@PAGEOFF
Lloh92:
adrp x10, l_.str.17@PAGE
Lloh93:
add x10, x10, l_.str.17@PAGEOFF
stp x9, x10, [sp, #24]
stp x20, xzr, [sp, #40]
bl _vfork
cmn w0, #1
b.eq LBB3_6
; %bb.3:
cbz w0, LBB3_12
; %bb.4:
ldr w0, [sp, #20]
Lloh94:
adrp x1, l_.str.19@PAGE
Lloh95:
add x1, x1, l_.str.19@PAGEOFF
bl _fdopen
str x0, [x19]
ldr w0, [sp, #8]
Lloh96:
adrp x1, l_.str.20@PAGE
Lloh97:
add x1, x1, l_.str.20@PAGEOFF
bl _fdopen
str x0, [x19, #8]
ldr w0, [sp, #12]
bl _close
ldr w0, [sp, #16]
bl _close
b LBB3_9
LBB3_5:
ldr w0, [sp, #8]
mov w9, #1
mov x1, x9
mov x8, x1
b LBB3_7
LBB3_6:
ldr w0, [sp, #8]
bl _close
ldr w0, [sp, #12]
bl _close
mov w8, #3
; kill: def $x8 killed $w8
ldr w0, [sp, #16]
LBB3_7:
mov x20, x8
bl _close
add x8, sp, #8
ldr w0, [x8, x20, lsl #2]
bl _close
LBB3_8:
mov x8, #0
stp xzr, xzr, [x19]
LBB3_9:
ldur x8, [x29, #-40]
Lloh98:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh99:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh100:
ldr x9, [x9]
cmp x9, x8
b.ne LBB3_11
; %bb.10:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB3_11:
bl ___stack_chk_fail
LBB3_12:
ldr w0, [sp, #12]
mov w1, #1
bl _dup2
ldr w0, [sp, #16]
mov w1, #0
bl _dup2
ldr w0, [sp, #8]
bl _close
ldr w0, [sp, #20]
bl _close
Lloh101:
adrp x8, _environ@GOTPAGE
Lloh102:
ldr x8, [x8, _environ@GOTPAGEOFF]
Lloh103:
ldr x2, [x8]
Lloh104:
adrp x0, l_.str.18@PAGE
Lloh105:
add x0, x0, l_.str.18@PAGEOFF
add x1, sp, #24
bl _execve
mov w0, #127
bl _exit
.loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpAdd Lloh94, Lloh95
.loh AdrpLdrGotLdr Lloh98, Lloh99, Lloh100
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpLdrGotLdr Lloh101, Lloh102, Lloh103
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.1
_main.cold.1: ; @main.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh106:
adrp x1, l_.str.21@PAGE
Lloh107:
add x1, x1, l_.str.21@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh106, Lloh107
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.2
_main.cold.2: ; @main.cold.2
.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
Lloh108:
adrp x1, l_.str.21@PAGE
Lloh109:
add x1, x1, l_.str.21@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh108, Lloh109
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.3
_main.cold.3: ; @main.cold.3
.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
Lloh110:
adrp x1, l_.str.21@PAGE
Lloh111:
add x1, x1, l_.str.21@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh110, Lloh111
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.4
_main.cold.4: ; @main.cold.4
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x21, x1
bl _close
mov x0, x21
bl _close
mov x0, x20
bl _unlink
mov x0, x19
bl _unlink
Lloh112:
adrp x1, l_.str.22@PAGE
Lloh113:
add x1, x1, l_.str.22@PAGEOFF
mov w0, #70
bl _err
.loh AdrpAdd Lloh112, Lloh113
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.5
_main.cold.5: ; @main.cold.5
.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
Lloh114:
adrp x1, l_.str.21@PAGE
Lloh115:
add x1, x1, l_.str.21@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh114, Lloh115
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.6
_main.cold.6: ; @main.cold.6
.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
Lloh116:
adrp x1, l_.str.11@PAGE
Lloh117:
add x1, x1, l_.str.11@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh116, Lloh117
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.7
_main.cold.7: ; @main.cold.7
.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
Lloh118:
adrp x1, l_.str.10@PAGE
Lloh119:
add x1, x1, l_.str.10@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh118, Lloh119
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.8
_main.cold.8: ; @main.cold.8
.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
Lloh120:
adrp x1, l_.str.21@PAGE
Lloh121:
add x1, x1, l_.str.21@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh120, Lloh121
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.9
_main.cold.9: ; @main.cold.9
.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
Lloh122:
adrp x1, l_.str.21@PAGE
Lloh123:
add x1, x1, l_.str.21@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh122, Lloh123
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.10
_main.cold.10: ; @main.cold.10
.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
Lloh124:
adrp x1, l_.str.21@PAGE
Lloh125:
add x1, x1, l_.str.21@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh124, Lloh125
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.11
_main.cold.11: ; @main.cold.11
.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
Lloh126:
adrp x1, l_.str.21@PAGE
Lloh127:
add x1, x1, l_.str.21@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh126, Lloh127
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function cmd_block_process.cold.1
_cmd_block_process.cold.1: ; @cmd_block_process.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh128:
adrp x1, l_.str.21@PAGE
Lloh129:
add x1, x1, l_.str.21@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh128, Lloh129
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function OUTLINED_FUNCTION_0
_OUTLINED_FUNCTION_0: ; @OUTLINED_FUNCTION_0 Thunk
.cfi_startproc
; %bb.0:
mov w0, #70
b _errx
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dDvg:s:c:ht:"
.zerofill __DATA,__bss,_opt_verbose,4,2 ; @opt_verbose
.zerofill __DATA,__bss,_opt_diff_tool,8,3 ; @opt_diff_tool
l_.str.1: ; @.str.1
.asciz "git show -U1000000 %s"
l_.str.2: ; @.str.2
.asciz "git diff -U1000000"
l_.str.3: ; @.str.3
.asciz "svn diff --diff-cmd=diff -x -U1000000"
l_.str.4: ; @.str.4
.asciz "svn diff --diff-cmd=diff -x -U1000000 -r %s"
l_.str.5: ; @.str.5
.asciz "%s"
l_.str.6: ; @.str.6
.asciz "Non printable characters are not allowed: '%c'"
l_.str.7: ; @.str.7
.asciz "L%02d%c|"
l_.str.10: ; @.str.10
.asciz "Unbalanced parenthesis"
l_.str.11: ; @.str.11
.asciz "String without end"
l_.str.12: ; @.str.12
.asciz "indent -Tbool -Tclass -TFILE -TLIST_ENTRY -TLIST_HEAD -TSLIST_ENTRY -TSLIST_HEAD -TSTAILQ_ENTRY -TSTAILQ_HEAD -TTAILQ_ENTRY -TTAILQ_HEAD -T__aligned -T__packed -T__unused -T__used -Tfd_set -Toss_mixerinfo -Tu_char -Tu_int -Tu_long -Tu_short -ta -st -bad -bap -nbbb -nbc -br -nbs -c41 -cd41 -cdb -ce -ci4 -cli0 -d0 -di8 -ndj -ei -nfc1 -nfcb -i8 -ip8 -l79 -lc77 -ldi0 -nlp -npcs -psl -sc -nsob -nv | sed -e 's/_HEAD [(]/_HEAD(/g' -e 's/_ENTRY [(]/_ENTRY(/g' -e 's/\t__aligned/ __aligned/g' -e 's/\t__packed/ __packed/g' -e 's/\t__unused/ __unused/g' -e 's/\t__used/ __used/g' -e 's/^#define /#define\t/g'"
l_.str.13: ; @.str.13
.asciz "indent_wrapper [-v] [-d] [-D] [-g <githash>]\n\t[-s <svnrevision> ] [ -t <tool> ] [ -c <command> ]\n\t-v Increase verbosity\n\t-d Check output from git diff\n\t-D Check output from svn diff\n\t-c <cmd> Set custom command to produce diff\n\t-g <hash> Check output from git hash\n\t-s <rev> Check output from svn revision\n\t-t <tool> Launch external diff tool\n\nExamples:\n\tindent_wrapper -D\n\tindent_wrapper -D -t meld\n\tindent_wrapper -D -t \"diff -u\"\n"
l_.str.14: ; @.str.14
.asciz "Cannot invoke command '%s'"
l_.str.15: ; @.str.15
.asciz "Cannot write all data to command '%s'"
l_.str.16: ; @.str.16
.asciz "sh"
l_.str.17: ; @.str.17
.asciz "-c"
l_.str.18: ; @.str.18
.asciz "/bin/sh"
l_.str.19: ; @.str.19
.asciz "w"
l_.str.20: ; @.str.20
.asciz "r"
l_.str.21: ; @.str.21
.asciz "Out of memory"
l___const.diff_tool.ca: ; @__const.diff_tool.ca
.asciz "/tmp/diff.orig.XXXXXX"
l___const.diff_tool.cb: ; @__const.diff_tool.cb
.asciz "/tmp/diff.styled.XXXXXX"
l_.str.22: ; @.str.22
.asciz "Could not write data to temporary files"
l_.str.23: ; @.str.23
.asciz "%s %s %s"
l_.str.28: ; @.str.28
.asciz "^ %sdifference%s\n"
l_.str.29: ; @.str.29
.asciz "whitespace "
l_.str.30: ; @.str.30
.space 1
l_.str.31: ; @.str.31
.asciz " in the end of a block"
l_str: ; @str
.asciz "Style error:"
l_str.32: ; @str.32
.asciz "Style corrected:"
.subsections_via_symbols
| the_stack_data/316105.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ext4_xattr_user_get
_ext4_xattr_user_get: ## @ext4_xattr_user_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 %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %rbx
movl (%rdx), %edi
movq _XATTR_USER@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _test_opt
testl %eax, %eax
je LBB0_1
## %bb.2:
movq _EXT4_XATTR_INDEX_USER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _ext4_xattr_get ## TAILCALL
LBB0_1:
movq _EOPNOTSUPP@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _XATTR_USER,4,2 ## @XATTR_USER
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.comm _EXT4_XATTR_INDEX_USER,4,2 ## @EXT4_XATTR_INDEX_USER
.no_dead_strip _ext4_xattr_user_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ext4_xattr_user_get
_ext4_xattr_user_get: ; @ext4_xattr_user_get
.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, x5
mov x20, x4
mov x21, x3
mov x22, x2
ldr w0, [x2]
Lloh0:
adrp x8, _XATTR_USER@GOTPAGE
Lloh1:
ldr x8, [x8, _XATTR_USER@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _test_opt
cbz w0, LBB0_2
; %bb.1:
Lloh3:
adrp x8, _EXT4_XATTR_INDEX_USER@GOTPAGE
Lloh4:
ldr x8, [x8, _EXT4_XATTR_INDEX_USER@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x22
mov x2, x21
mov x3, x20
mov x4, 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 _ext4_xattr_get
LBB0_2:
Lloh6:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _XATTR_USER,4,2 ; @XATTR_USER
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.comm _EXT4_XATTR_INDEX_USER,4,2 ; @EXT4_XATTR_INDEX_USER
.no_dead_strip _ext4_xattr_user_get
.subsections_via_symbols
| AnghaBench/linux/fs/ext4/extr_xattr_user.c_ext4_xattr_user_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function verify_pubsignature
_verify_pubsignature: ## @verify_pubsignature
.cfi_startproc
## %bb.0:
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
movl %edi, %r14d
movq $0, -32(%rbp)
movq _PUBKEY@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -32(%rbp), %rsi
callq _config_string
testq %rax, %rax
je LBB0_3
## %bb.1:
leaq L_.str(%rip), %rdi
LBB0_2:
callq _warnx
xorl %ebx, %ebx
jmp LBB0_8
LBB0_3:
movl %ebx, %edi
callq _read_pubkey
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %r15
movq -32(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
callq _printf
movq -32(%rbp), %rsi
movq (%r15), %r8
movl 8(%r15), %r9d
movl %r14d, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq _rsa_verify_cert
movl $1, %ebx
testl %eax, %eax
jne LBB0_7
## %bb.6:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.3(%rip), %rsi
callq _fprintf
xorl %ebx, %ebx
LBB0_7:
movq (%r15), %rdi
callq _free
movq %r15, %rdi
callq _free
LBB0_8:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
leaq L_.str.1(%rip), %rdi
jmp LBB0_2
.cfi_endproc
## -- End function
.comm _PUBKEY,4,2 ## @PUBKEY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "No CONFIG_PUBKEY defined"
L_.str.1: ## @.str.1
.asciz "Error reading signature"
L_.str.2: ## @.str.2
.asciz "Verifying signature with public key %s... "
.comm _stderr,4,2 ## @stderr
L_.str.3: ## @.str.3
.asciz "Signature is not valid\n"
.no_dead_strip _verify_pubsignature
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function verify_pubsignature
_verify_pubsignature: ; @verify_pubsignature
.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
str xzr, [sp, #8]
Lloh0:
adrp x8, _PUBKEY@GOTPAGE
Lloh1:
ldr x8, [x8, _PUBKEY@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
add x1, sp, #8
bl _config_string
cbz x0, LBB0_3
; %bb.1:
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
LBB0_2:
bl _warnx
mov w20, #0
b LBB0_9
LBB0_3:
mov x0, x19
bl _read_pubkey
cbz x0, LBB0_6
; %bb.4:
mov x19, x0
ldr x1, [sp, #8]
Lloh5:
adrp x0, l_.str.2@PAGE
Lloh6:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x1, [sp, #8]
ldr x4, [x19]
ldr w5, [x19, #8]
mov x0, x20
mov x2, #0
mov w3, #0
bl _rsa_verify_cert
cbz w0, LBB0_7
; %bb.5:
mov w20, #1
b LBB0_8
LBB0_6:
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_2
LBB0_7:
Lloh9:
adrp x8, _stderr@GOTPAGE
Lloh10:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
Lloh12:
adrp x1, l_.str.3@PAGE
Lloh13:
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
mov w20, #0
LBB0_8:
ldr x0, [x19]
bl _free
mov x0, x19
bl _free
LBB0_9:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _PUBKEY,4,2 ; @PUBKEY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "No CONFIG_PUBKEY defined"
l_.str.1: ; @.str.1
.asciz "Error reading signature"
l_.str.2: ; @.str.2
.asciz "Verifying signature with public key %s... "
.comm _stderr,4,2 ; @stderr
l_.str.3: ; @.str.3
.asciz "Signature is not valid\n"
.no_dead_strip _verify_pubsignature
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/pkg/extr_pkg.c_verify_pubsignature.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ipsd_detach
_ipsd_detach: ## @ipsd_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
leaq L_.str(%rip), %rdx
movl $2, %edi
movl %ebx, %esi
callq _DEVICE_PRINTF
movl %ebx, %edi
callq _device_get_softc
movq _IPS_DEV_OPEN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_2
## %bb.1:
movq _EBUSY@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_3
LBB0_2:
movl 4(%rax), %edi
callq _disk_destroy
xorl %eax, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "in detach\n"
.comm _IPS_DEV_OPEN,4,2 ## @IPS_DEV_OPEN
.comm _EBUSY,4,2 ## @EBUSY
.no_dead_strip _ipsd_detach
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ipsd_detach
_ipsd_detach: ; @ipsd_detach
.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 x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
mov w0, #2
mov x1, x19
bl _DEVICE_PRINTF
mov x0, x19
bl _device_get_softc
ldr w8, [x0]
Lloh2:
adrp x9, _IPS_DEV_OPEN@GOTPAGE
Lloh3:
ldr x9, [x9, _IPS_DEV_OPEN@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
Lloh5:
adrp x8, _EBUSY@GOTPAGE
Lloh6:
ldr x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
b LBB0_3
LBB0_2:
ldr w0, [x0, #4]
bl _disk_destroy
mov w0, #0
LBB0_3:
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
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "in detach\n"
.comm _IPS_DEV_OPEN,4,2 ; @IPS_DEV_OPEN
.comm _EBUSY,4,2 ; @EBUSY
.no_dead_strip _ipsd_detach
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/ips/extr_ips_disk.c_ipsd_detach.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
leaq -48(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpq $0, -48(%rbp)
jle LBB0_15
## %bb.1:
leaq L_.str(%rip), %r14
leaq -56(%rbp), %r15
leaq L_.str.1(%rip), %r12
xorl %r13d, %r13d
jmp LBB0_2
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
addl %ebx, %ebx
subl %ebx, %esi
movq %r12, %rdi
xorl %eax, %eax
callq _printf
incq %r13
cmpq %r13, -48(%rbp)
jle LBB0_15
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_10 Depth 2
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movq -56(%rbp), %r8
movl $0, %esi
movl $0, %ebx
cmpq $3, %r8
jl LBB0_14
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
leaq (%r8,%r8), %rdi
movq %rdi, %rax
movabsq $-3689348814741910323, %rcx ## imm = 0xCCCCCCCCCCCCCCCD
mulq %rcx
movq %rdx, %rbx
shrq $2, %rbx
xorl %esi, %esi
movl $5, %ecx
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=2
movq %rdi, %rax
cqto
idivq %rcx
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
addl %ebx, %esi
movq %rax, %rbx
testq %rax, %rax
jle LBB0_8
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leal (%rcx,%rcx,4), %ecx
movq %rdi, %rax
shrq $32, %rax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movl %edi, %eax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
jmp LBB0_7
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
cmpq $5, %r8
jl LBB0_14
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movq %r8, %rax
movabsq $-3689348814741910323, %rcx ## imm = 0xCCCCCCCCCCCCCCCD
mulq %rcx
movq %rdx, %rdi
shrq $2, %rdi
xorl %ebx, %ebx
movl $5, %ecx
jmp LBB0_10
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_10 Depth=2
movq %r8, %rax
cqto
idivq %rcx
LBB0_13: ## in Loop: Header=BB0_10 Depth=2
addl %edi, %ebx
movq %rax, %rdi
testq %rax, %rax
jle LBB0_14
LBB0_10: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leal (%rcx,%rcx,4), %ecx
movq %r8, %rax
shrq $32, %rax
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movl %r8d, %eax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
jmp LBB0_13
LBB0_15:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _calcZeros ## -- Begin function calcZeros
.p2align 4, 0x90
_calcZeros: ## @calcZeros
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %ecx, %ecx
cmpq $5, %rdi
jl LBB1_6
## %bb.1:
movq %rdi, %r8
movabsq $-3689348814741910323, %rcx ## imm = 0xCCCCCCCCCCCCCCCD
movq %rdi, %rax
mulq %rcx
movq %rdx, %rsi
shrq $2, %rsi
xorl %ecx, %ecx
movl $5, %edi
movq %r8, %r9
shrq $32, %r9
jmp LBB1_2
.p2align 4, 0x90
LBB1_4: ## in Loop: Header=BB1_2 Depth=1
movq %r8, %rax
cqto
idivq %rdi
LBB1_5: ## in Loop: Header=BB1_2 Depth=1
addl %esi, %ecx
movq %rax, %rsi
testq %rax, %rax
jle LBB1_6
LBB1_2: ## =>This Inner Loop Header: Depth=1
leal (%rdi,%rdi,4), %edi
testq %r9, %r9
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
movl %r8d, %eax
xorl %edx, %edx
divl %edi
## kill: def $eax killed $eax def $rax
jmp LBB1_5
LBB1_6:
movl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%lld"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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
add x8, sp, #24
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr x8, [sp, #24]
cmp x8, #1
b.lt LBB0_11
; %bb.1:
mov x21, #0
add x22, sp, #16
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
mov x23, #-3689348814741910324
movk x23, #52429
Lloh4:
adrp x20, l_.str.1@PAGE
Lloh5:
add x20, x20, l_.str.1@PAGEOFF
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
mov w8, #0
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov w10, #0
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub w8, w8, w10, lsl #1
str x8, [sp]
mov x0, x20
bl _printf
add x21, x21, #1
ldr x8, [sp, #24]
cmp x8, x21
b.le LBB0_11
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_10 Depth 2
str x22, [sp]
mov x0, x19
bl _scanf
ldr x9, [sp, #16]
cmp x9, #3
b.lt LBB0_2
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov w8, #0
lsl x10, x9, #1
umulh x11, x10, x23
lsr x12, x11, #2
mov w11, #5
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
add w8, w8, w12
add w11, w11, w11, lsl #2
sdiv x12, x10, x11
cmp x12, #0
b.gt LBB0_7
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
cmp x9, #5
b.lt LBB0_3
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
mov w10, #0
umulh x11, x9, x23
lsr x12, x11, #2
mov w11, #5
LBB0_10: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
add w10, w10, w12
add w11, w11, w11, lsl #2
sdiv x12, x9, x11
cmp x12, #0
b.gt LBB0_10
b LBB0_4
LBB0_11:
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 Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _calcZeros ; -- Begin function calcZeros
.p2align 2
_calcZeros: ; @calcZeros
.cfi_startproc
; %bb.0:
cmp x0, #5
b.lt LBB1_4
; %bb.1:
mov x8, x0
mov w0, #0
mov x9, #-3689348814741910324
movk x9, #52429
umulh x9, x8, x9
lsr x10, x9, #2
mov w9, #5
LBB1_2: ; =>This Inner Loop Header: Depth=1
add w0, w0, w10
add w9, w9, w9, lsl #2
sdiv x10, x8, x9
cmp x10, #0
b.gt LBB1_2
; %bb.3:
ret
LBB1_4:
mov w0, #0
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%lld"
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/17452.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rds_ib_teardown_mr
_rds_ib_teardown_mr: ## @rds_ib_teardown_mr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl (%rdi), %r14d
callq ___rds_ib_teardown_mr
testl %r14d, %r14d
je LBB0_1
## %bb.2:
movq 8(%rbx), %rax
movq (%rax), %rsi
movl %r14d, %edi
popq %rbx
popq %r14
popq %rbp
jmp _atomic_sub ## TAILCALL
LBB0_1:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _rds_ib_teardown_mr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rds_ib_teardown_mr
_rds_ib_teardown_mr: ; @rds_ib_teardown_mr
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
ldr w19, [x0]
bl ___rds_ib_teardown_mr
cbz w19, LBB0_2
; %bb.1:
ldr x8, [x20, #8]
ldr x1, [x8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _atomic_sub
LBB0_2:
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 _rds_ib_teardown_mr
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/rds/extr_ib_rdma.c_rds_ib_teardown_mr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function parse_ipv6hdr
_parse_ipv6hdr: ## @parse_ipv6hdr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r13
movl $0, -52(%rbp)
callq _skb_network_offset
movl %eax, %r15d
movl $0, -48(%rbp)
leal 12(%r15), %esi
movq %r13, %rdi
callq _check_header
movl %eax, %ebx
movl %eax, %edi
callq _unlikely
testq %rax, %rax
je LBB0_1
LBB0_8:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq %r13, %rdi
callq _ipv6_hdr
movq %rax, %rbx
movq _NEXTHDR_NONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r14)
movq %rbx, %rdi
callq _ipv6_get_dsfield
movl %eax, 12(%r14)
movl 8(%rbx), %eax
movl %eax, 8(%r14)
movl (%rbx), %r12d
movq _IPV6_FLOWINFO_FLOWLABEL@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _htonl
andl %r12d, %eax
movl %eax, 16(%r14)
movl 4(%rbx), %eax
movl %eax, 24(%r14)
movl %r12d, 20(%r14)
leaq -52(%rbp), %rsi
leaq -42(%rbp), %rcx
leaq -48(%rbp), %r8
movq %r13, %rdi
movl $-1, %edx
callq _ipv6_find_hdr
movl %eax, %r12d
movq _IP6_FH_F_FRAG@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, -48(%rbp)
je LBB0_2
## %bb.3:
cmpw $0, -42(%rbp)
je LBB0_4
## %bb.9:
movq _OVS_FRAG_TYPE_LATER@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%r14)
movl %r12d, (%r14)
xorl %ebx, %ebx
jmp LBB0_8
LBB0_2:
movq _OVS_FRAG_TYPE_NONE@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_4:
movq _OVS_FRAG_TYPE_FIRST@GOTPCREL(%rip), %rax
LBB0_5:
movl (%rax), %eax
movl %eax, 4(%r14)
movl %r12d, %edi
shrl $31, %edi
callq _unlikely
testq %rax, %rax
je LBB0_7
## %bb.6:
movq _EPROTO@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_8
LBB0_7:
movl -52(%rbp), %esi
movl %esi, %ebx
subl %r15d, %ebx
movq %r13, %rdi
callq _skb_set_transport_header
movl %r12d, (%r14)
jmp LBB0_8
.cfi_endproc
## -- End function
.comm _NEXTHDR_NONE,4,2 ## @NEXTHDR_NONE
.comm _IPV6_FLOWINFO_FLOWLABEL,4,2 ## @IPV6_FLOWINFO_FLOWLABEL
.comm _IP6_FH_F_FRAG,4,2 ## @IP6_FH_F_FRAG
.comm _OVS_FRAG_TYPE_LATER,4,2 ## @OVS_FRAG_TYPE_LATER
.comm _OVS_FRAG_TYPE_FIRST,4,2 ## @OVS_FRAG_TYPE_FIRST
.comm _OVS_FRAG_TYPE_NONE,4,2 ## @OVS_FRAG_TYPE_NONE
.comm _EPROTO,4,2 ## @EPROTO
.no_dead_strip _parse_ipv6hdr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function parse_ipv6hdr
_parse_ipv6hdr: ; @parse_ipv6hdr
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
str wzr, [sp, #8]
bl _skb_network_offset
mov x21, x0
str wzr, [sp, #4]
add w1, w0, #12
mov x0, x20
bl _check_header
mov x23, x0
bl _unlikely
cbnz x0, LBB0_10
; %bb.1:
mov x0, x20
bl _ipv6_hdr
mov x22, x0
Lloh0:
adrp x8, _NEXTHDR_NONE@GOTPAGE
Lloh1:
ldr x8, [x8, _NEXTHDR_NONE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x19]
bl _ipv6_get_dsfield
ldr w8, [x22, #8]
stp w8, w0, [x19, #8]
Lloh3:
adrp x8, _IPV6_FLOWINFO_FLOWLABEL@GOTPAGE
Lloh4:
ldr x8, [x8, _IPV6_FLOWINFO_FLOWLABEL@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _htonl
ldr d0, [x22]
stur d0, [x19, #20]
fmov w8, s0
and w8, w0, w8
str w8, [x19, #16]
add x1, sp, #8
add x3, sp, #14
add x4, sp, #4
mov x0, x20
mov w2, #-1
bl _ipv6_find_hdr
mov x22, x0
ldr w8, [sp, #4]
Lloh6:
adrp x9, _IP6_FH_F_FRAG@GOTPAGE
Lloh7:
ldr x9, [x9, _IP6_FH_F_FRAG@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_4
; %bb.2:
ldrh w8, [sp, #14]
cbz w8, LBB0_5
; %bb.3:
mov w23, #0
Lloh9:
adrp x8, _OVS_FRAG_TYPE_LATER@GOTPAGE
Lloh10:
ldr x8, [x8, _OVS_FRAG_TYPE_LATER@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
str w8, [x19, #4]
b LBB0_9
LBB0_4:
Lloh12:
adrp x8, _OVS_FRAG_TYPE_NONE@GOTPAGE
Lloh13:
ldr x8, [x8, _OVS_FRAG_TYPE_NONE@GOTPAGEOFF]
b LBB0_6
LBB0_5:
Lloh14:
adrp x8, _OVS_FRAG_TYPE_FIRST@GOTPAGE
Lloh15:
ldr x8, [x8, _OVS_FRAG_TYPE_FIRST@GOTPAGEOFF]
LBB0_6:
ldr w8, [x8]
str w8, [x19, #4]
lsr w0, w22, #31
bl _unlikely
cbz x0, LBB0_8
; %bb.7:
Lloh16:
adrp x8, _EPROTO@GOTPAGE
Lloh17:
ldr x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
neg w23, w8
b LBB0_10
LBB0_8:
ldr w1, [sp, #8]
sub w23, w1, w21
mov x0, x20
bl _skb_set_transport_header
LBB0_9:
str w22, [x19]
LBB0_10:
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
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _NEXTHDR_NONE,4,2 ; @NEXTHDR_NONE
.comm _IPV6_FLOWINFO_FLOWLABEL,4,2 ; @IPV6_FLOWINFO_FLOWLABEL
.comm _IP6_FH_F_FRAG,4,2 ; @IP6_FH_F_FRAG
.comm _OVS_FRAG_TYPE_LATER,4,2 ; @OVS_FRAG_TYPE_LATER
.comm _OVS_FRAG_TYPE_FIRST,4,2 ; @OVS_FRAG_TYPE_FIRST
.comm _OVS_FRAG_TYPE_NONE,4,2 ; @OVS_FRAG_TYPE_NONE
.comm _EPROTO,4,2 ; @EPROTO
.no_dead_strip _parse_ipv6hdr
.subsections_via_symbols
| AnghaBench/linux/net/openvswitch/extr_flow.c_parse_ipv6hdr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gfar_change_mtu
_gfar_change_mtu: ## @gfar_change_mtu
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r14
callq _netdev_priv
movq %rax, %rbx
movq _GFAR_RESETTING@GOTPCREL(%rip), %r12
movl (%r12), %edi
movq %rax, %rsi
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
callq _test_and_set_bit_lock
testq %rax, %rax
je LBB0_3
## %bb.1: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
callq _cpu_relax
movl (%r12), %edi
movq %rbx, %rsi
jmp LBB0_2
LBB0_3:
movq _IFF_UP@GOTPCREL(%rip), %r13
movl (%r13), %eax
testl %eax, (%r14)
je LBB0_4
## %bb.5:
movq %r14, %rdi
callq _stop_gfar
movl (%r13), %eax
andl (%r14), %eax
movl %r15d, 4(%r14)
je LBB0_7
## %bb.6:
movq %r14, %rdi
callq _startup_gfar
jmp LBB0_7
LBB0_4:
movl %r15d, 4(%r14)
LBB0_7:
movl (%r12), %edi
movq %rbx, %rsi
callq _clear_bit_unlock
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFAR_RESETTING,4,2 ## @GFAR_RESETTING
.comm _IFF_UP,4,2 ## @IFF_UP
.no_dead_strip _gfar_change_mtu
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gfar_change_mtu
_gfar_change_mtu: ; @gfar_change_mtu
.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 x20, x0
bl _netdev_priv
mov x19, x0
Lloh0:
adrp x22, _GFAR_RESETTING@GOTPAGE
Lloh1:
ldr x22, [x22, _GFAR_RESETTING@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w0, [x22]
mov x1, x19
bl _test_and_set_bit_lock
cbz x0, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
bl _cpu_relax
b LBB0_1
LBB0_3:
ldr w8, [x20]
Lloh2:
adrp x23, _IFF_UP@GOTPAGE
Lloh3:
ldr x23, [x23, _IFF_UP@GOTPAGEOFF]
ldr w9, [x23]
tst w9, w8
b.eq LBB0_6
; %bb.4:
mov x0, x20
bl _stop_gfar
ldr w8, [x20]
ldr w9, [x23]
str w21, [x20, #4]
tst w9, w8
b.eq LBB0_7
; %bb.5:
mov x0, x20
bl _startup_gfar
b LBB0_7
LBB0_6:
str w21, [x20, #4]
LBB0_7:
ldr w0, [x22]
mov x1, x19
bl _clear_bit_unlock
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
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _GFAR_RESETTING,4,2 ; @GFAR_RESETTING
.comm _IFF_UP,4,2 ; @IFF_UP
.no_dead_strip _gfar_change_mtu
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/freescale/extr_gianfar.c_gfar_change_mtu.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_barh_i2i0i0_ ## -- Begin function scilab_rt_barh_i2i0i0_
.p2align 4, 0x90
_scilab_rt_barh_i2i0i0_: ## @scilab_rt_barh_i2i0i0_
.cfi_startproc
## %bb.0:
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 %r8d, -48(%rbp) ## 4-byte Spill
movl %ecx, -44(%rbp) ## 4-byte Spill
testl %edi, %edi
jle LBB0_1
## %bb.2:
movl %esi, %ecx
movl %edi, %r12d
movl %ecx, %r11d
andl $-8, %r11d
leaq -8(%r11), %r15
movq %r15, -56(%rbp) ## 8-byte Spill
shrq $3, %r15
incq %r15
movl %r15d, %r8d
andl $3, %r8d
andq $-4, %r15
leaq 112(%rdx), %rbx
leaq (,%rcx,4), %r13
movq %r8, %r10
shlq $5, %r10
xorl %r14d, %r14d
xorl %eax, %eax
jmp LBB0_3
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
incq %r14
addq %r13, %rbx
addq %r13, %rdx
cmpq %r12, %r14
je LBB0_16
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
## Child Loop BB0_12 Depth 2
## Child Loop BB0_14 Depth 2
testl %esi, %esi
jle LBB0_15
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpl $8, %esi
jae LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
jmp LBB0_14
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movd %eax, %xmm0
cmpq $24, -56(%rbp) ## 8-byte Folded Reload
jae LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
pxor %xmm1, %xmm1
xorl %eax, %eax
jmp LBB0_10
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
pxor %xmm1, %xmm1
movq %r15, %r9
xorl %eax, %eax
.p2align 4, 0x90
LBB0_9: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movdqu -112(%rbx,%rax,4), %xmm2
paddd %xmm0, %xmm2
movdqu -96(%rbx,%rax,4), %xmm0
paddd %xmm1, %xmm0
movdqu -80(%rbx,%rax,4), %xmm1
movdqu -64(%rbx,%rax,4), %xmm3
movdqu -48(%rbx,%rax,4), %xmm4
paddd %xmm1, %xmm4
paddd %xmm2, %xmm4
movdqu -32(%rbx,%rax,4), %xmm2
paddd %xmm3, %xmm2
paddd %xmm0, %xmm2
movdqu -16(%rbx,%rax,4), %xmm0
paddd %xmm4, %xmm0
movdqu (%rbx,%rax,4), %xmm1
paddd %xmm2, %xmm1
addq $32, %rax
addq $-4, %r9
jne LBB0_9
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
testq %r8, %r8
je LBB0_13
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
leaq (%rdx,%rax,4), %rax
xorl %edi, %edi
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movdqu (%rax,%rdi), %xmm2
paddd %xmm2, %xmm0
movdqu 16(%rax,%rdi), %xmm2
paddd %xmm2, %xmm1
addq $32, %rdi
cmpq %rdi, %r10
jne LBB0_12
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
paddd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %eax
movq %r11, %rdi
cmpq %rcx, %r11
je LBB0_15
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
addl (%rdx,%rdi,4), %eax
incq %rdi
cmpq %rdi, %rcx
jne LBB0_14
jmp LBB0_15
LBB0_1:
xorl %eax, %eax
LBB0_16:
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl -48(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_barh_i2i0i0_ ; -- Begin function scilab_rt_barh_i2i0i0_
.p2align 2
_scilab_rt_barh_i2i0i0_: ; @scilab_rt_barh_i2i0i0_
.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, x4
mov x20, x3
cmp w0, #1
b.lt LBB0_11
; %bb.1:
mov x8, #0
mov w14, #0
mov w9, w1
mov w10, w0
and x11, x9, #0xfffffff0
add x12, x2, #32
lsl x13, x9, #2
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x8, x8, #1
add x12, x12, x13
add x2, x2, x13
cmp x8, x10
b.eq LBB0_12
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_10 Depth 2
cmp w1, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w1, #16
b.hs LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x16, #0
b LBB0_9
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
movi.2d v0, #0000000000000000
mov.s v0[0], w14
movi.2d v1, #0000000000000000
mov x14, x11
mov x15, x12
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldp q4, q5, [x15, #-32]
ldp q6, q7, [x15], #64
add.4s v0, v4, v0
add.4s v1, v5, v1
add.4s v2, v6, v2
add.4s v3, v7, v3
subs x14, x14, #16
b.ne LBB0_7
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w14, s0
mov x16, x11
cmp x11, x9
b.eq LBB0_2
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
add x15, x2, x16, lsl #2
sub x16, x9, x16
LBB0_10: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w17, [x15], #4
add w14, w17, w14
subs x16, x16, #1
b.ne LBB0_10
b LBB0_2
LBB0_11:
mov w14, #0
LBB0_12:
str x14, [sp]
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
mov x0, x21
bl _printf
str x20, [sp]
mov x0, x21
bl _printf
str x19, [sp]
mov x0, x21
bl _printf
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"
.subsections_via_symbols
| the_stack_data/708588.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zfiWlanQueryFrequencyAttribute ## -- Begin function zfiWlanQueryFrequencyAttribute
.p2align 4, 0x90
_zfiWlanQueryFrequencyAttribute: ## @zfiWlanQueryFrequencyAttribute
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %ebx
callq _zmw_get_wlan_dev
movq _wd@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rdx
testq %rdx, %rdx
je LBB0_1
## %bb.2:
movslq %ebx, %rcx
imulq $274877907, %rcx, %rcx ## imm = 0x10624DD3
movq %rcx, %rsi
shrq $63, %rsi
sarq $38, %rcx
addl %esi, %ecx
movslq %ecx, %rsi
movq 8(%rax), %r8
cmpq $1, %rdx
jne LBB0_4
## %bb.3:
xorl %eax, %eax
xorl %edi, %edi
LBB0_10:
testb $1, %dl
je LBB0_13
## %bb.11:
shlq $4, %rdi
cmpq %rsi, (%r8,%rdi)
jne LBB0_13
## %bb.12:
movl 8(%r8,%rdi), %eax
jmp LBB0_13
LBB0_1:
xorl %eax, %eax
LBB0_13:
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_4:
movq %rdx, %rcx
andq $-2, %rcx
leaq 24(%r8), %rbx
xorl %eax, %eax
xorl %edi, %edi
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
addq $2, %rdi
addq $32, %rbx
cmpq %rdi, %rcx
je LBB0_10
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpq %rsi, -24(%rbx)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -16(%rbx), %eax
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
cmpq %rsi, -8(%rbx)
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movl (%rbx), %eax
jmp LBB0_9
.cfi_endproc
## -- End function
.comm _wd,8,3 ## @wd
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zfiWlanQueryFrequencyAttribute ; -- Begin function zfiWlanQueryFrequencyAttribute
.p2align 2
_zfiWlanQueryFrequencyAttribute: ; @zfiWlanQueryFrequencyAttribute
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _zmw_get_wlan_dev
Lloh0:
adrp x8, _wd@GOTPAGE
Lloh1:
ldr x8, [x8, _wd@GOTPAGEOFF]
Lloh2:
ldr x10, [x8]
ldr x8, [x10]
cbz x8, LBB0_5
; %bb.1:
mov w0, #0
mov w9, #19923
movk w9, #4194, lsl #16
smull x9, w19, w9
lsr x11, x9, #63
asr x9, x9, #38
add w9, w9, w11
sxtw x9, w9
ldr x10, [x10, #8]
add x10, x10, #8
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x10, x10, #16
subs x8, x8, #1
b.eq LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur x11, [x10, #-8]
cmp x11, x9
b.ne LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x10]
b LBB0_2
LBB0_5:
mov w0, #0
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _wd,8,3 ; @wd
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_coid.c_zfiWlanQueryFrequencyAttribute.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vimc_cap_buffer_prepare
_vimc_cap_buffer_prepare: ## @vimc_cap_buffer_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
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 (%rdi), %edi
callq _vb2_get_drv_priv
movq %rax, %rbx
movq 8(%rax), %r14
xorl %r15d, %r15d
movq %r12, %rdi
xorl %esi, %esi
callq _vb2_plane_size
cmpq %r14, %rax
jae LBB0_2
## %bb.1:
movl (%rbx), %r13d
movl 4(%rbx), %ebx
xorl %r15d, %r15d
movq %r12, %rdi
xorl %esi, %esi
callq _vb2_plane_size
leaq L_.str(%rip), %rsi
movl %ebx, %edi
movl %r13d, %edx
movq %rax, %rcx
movq %r14, %r8
callq _dev_err
movq _EINVAL@GOTPCREL(%rip), %rax
subl (%rax), %r15d
LBB0_2:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: buffer too small (%lu < %lu)\n"
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _vimc_cap_buffer_prepare
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vimc_cap_buffer_prepare
_vimc_cap_buffer_prepare: ; @vimc_cap_buffer_prepare
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
ldr w0, [x0]
bl _vb2_get_drv_priv
mov x21, x0
ldr x19, [x0, #8]
mov x0, x20
mov w1, #0
bl _vb2_plane_size
mov x8, x0
mov w0, #0
cmp x8, x19
b.hs LBB0_2
; %bb.1:
ldp w21, w22, [x21]
mov x0, x20
mov w1, #0
bl _vb2_plane_size
mov x3, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x22
mov x2, x21
mov x4, x19
bl _dev_err
Lloh2:
adrp x8, _EINVAL@GOTPAGE
Lloh3:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: buffer too small (%lu < %lu)\n"
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _vimc_cap_buffer_prepare
.subsections_via_symbols
| AnghaBench/linux/drivers/media/platform/vimc/extr_vimc-capture.c_vimc_cap_buffer_prepare.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
callq _foo
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _foo
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/100863.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _et131x_tx_timeout ## -- Begin function et131x_tx_timeout
.p2align 4, 0x90
_et131x_tx_timeout: ## @et131x_tx_timeout
.cfi_startproc
## %bb.0:
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 %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
callq _netdev_priv
movq %rax, %rbx
movl (%rax), %eax
movq _fMP_ADAPTER_LINK_DETECTION@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_10
## %bb.1:
movq _fMP_ADAPTER_NON_RECOVER_ERROR@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_2
LBB0_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_14
## %bb.11:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq _fMP_ADAPTER_HARDWARE_ERROR@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_5
## %bb.3:
movq 8(%rbx), %rdi
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_14
## %bb.4:
leaq L_.str(%rip), %rsi
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _dev_err ## TAILCALL
LBB0_5:
movq %rbx, %r15
addq $4, %r15
movq %r15, %rdi
callq _spin_lock_irqsave
movq 24(%rbx), %r12
testq %r12, %r12
je LBB0_12
## %bb.6:
movq (%r12), %rax
leaq 1(%rax), %rcx
movq %rcx, (%r12)
movq _NIC_SEND_HANG_THRESHOLD@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_7
LBB0_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_14
## %bb.13:
movq %r15, %rdi
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock_irqrestore ## TAILCALL
LBB0_7:
movl 12(%r12), %edi
callq _INDEX10
cmpl $8, %eax
jl LBB0_9
## %bb.8:
movq 16(%rbx), %r13
movl 12(%r12), %edi
callq _INDEX10
cltq
leaq (%rax,%r13), %rsi
addq $-6, %rsi
leaq -96(%rbp), %rdi
movl $40, %edx
callq _memcpy
LBB0_9:
movq %r15, %rdi
callq _spin_unlock_irqrestore
movq 8(%rbx), %rdi
movl 8(%r12), %ecx
movl 12(%r12), %edx
leaq L_.str.1(%rip), %rsi
callq _dev_warn
movq %r14, %rdi
callq _et131x_close
movq %r14, %rdi
callq _et131x_open
jmp LBB0_10
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _fMP_ADAPTER_LINK_DETECTION,4,2 ## @fMP_ADAPTER_LINK_DETECTION
.comm _fMP_ADAPTER_NON_RECOVER_ERROR,4,2 ## @fMP_ADAPTER_NON_RECOVER_ERROR
.comm _fMP_ADAPTER_HARDWARE_ERROR,4,2 ## @fMP_ADAPTER_HARDWARE_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hardware error - reset\n"
.comm _NIC_SEND_HANG_THRESHOLD,8,3 ## @NIC_SEND_HANG_THRESHOLD
L_.str.1: ## @.str.1
.asciz "Send stuck - reset. pMpTcb->WrIndex %x, Flags 0x%08x\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _et131x_tx_timeout ; -- Begin function et131x_tx_timeout
.p2align 2
_et131x_tx_timeout: ; @et131x_tx_timeout
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
bl _netdev_priv
ldr w8, [x0]
Lloh3:
adrp x9, _fMP_ADAPTER_LINK_DETECTION@GOTPAGE
Lloh4:
ldr x9, [x9, _fMP_ADAPTER_LINK_DETECTION@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_2
; %bb.1:
Lloh6:
adrp x9, _fMP_ADAPTER_NON_RECOVER_ERROR@GOTPAGE
Lloh7:
ldr x9, [x9, _fMP_ADAPTER_NON_RECOVER_ERROR@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_4
LBB0_2:
ldr x8, [sp, #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_14
; %bb.3:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_4:
mov x20, x0
Lloh12:
adrp x9, _fMP_ADAPTER_HARDWARE_ERROR@GOTPAGE
Lloh13:
ldr x9, [x9, _fMP_ADAPTER_HARDWARE_ERROR@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_7
; %bb.5:
ldr x0, [x20, #8]
ldr x8, [sp, #40]
Lloh15:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh16:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_14
; %bb.6:
Lloh18:
adrp x1, l_.str@PAGE
Lloh19:
add x1, x1, l_.str@PAGEOFF
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
b _dev_err
LBB0_7:
add x21, x20, #4
mov x0, x21
bl _spin_lock_irqsave
ldr x22, [x20, #24]
cbz x22, LBB0_9
; %bb.8:
ldr x8, [x22]
add x9, x8, #1
str x9, [x22]
Lloh20:
adrp x9, _NIC_SEND_HANG_THRESHOLD@GOTPAGE
Lloh21:
ldr x9, [x9, _NIC_SEND_HANG_THRESHOLD@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x8, x9
b.ge LBB0_11
LBB0_9:
ldr x8, [sp, #40]
Lloh23:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh24:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_14
; %bb.10:
mov x0, x21
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #112
b _spin_unlock_irqrestore
LBB0_11:
ldr w0, [x22, #12]
bl _INDEX10
cmp w0, #8
b.lt LBB0_13
; %bb.12:
ldr x23, [x20, #16]
ldr w0, [x22, #12]
bl _INDEX10
add x8, x23, w0, sxtw
sub x1, x8, #6
mov x0, sp
mov w2, #40
bl _memcpy
LBB0_13:
mov x0, x21
bl _spin_unlock_irqrestore
ldr x0, [x20, #8]
ldp w3, w2, [x22, #8]
Lloh26:
adrp x1, l_.str.1@PAGE
Lloh27:
add x1, x1, l_.str.1@PAGEOFF
bl _dev_warn
mov x0, x19
bl _et131x_close
mov x0, x19
bl _et131x_open
b LBB0_2
LBB0_14:
bl ___stack_chk_fail
.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 AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpAdd Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _fMP_ADAPTER_LINK_DETECTION,4,2 ; @fMP_ADAPTER_LINK_DETECTION
.comm _fMP_ADAPTER_NON_RECOVER_ERROR,4,2 ; @fMP_ADAPTER_NON_RECOVER_ERROR
.comm _fMP_ADAPTER_HARDWARE_ERROR,4,2 ; @fMP_ADAPTER_HARDWARE_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hardware error - reset\n"
.comm _NIC_SEND_HANG_THRESHOLD,8,3 ; @NIC_SEND_HANG_THRESHOLD
l_.str.1: ; @.str.1
.asciz "Send stuck - reset. pMpTcb->WrIndex %x, Flags 0x%08x\n"
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/et131x/extr_et131x_netdev.c_et131x_tx_timeout.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ad1889_readw
_ad1889_readw: ## @ad1889_readw
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl (%rdi), %esi
movl %esi, %edi
popq %rbp
jmp _readw ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _ad1889_readw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ad1889_readw
_ad1889_readw: ; @ad1889_readw
.cfi_startproc
; %bb.0:
ldr w8, [x0]
add w0, w8, w1
b _readw
.cfi_endproc
; -- End function
.no_dead_strip _ad1889_readw
.subsections_via_symbols
| AnghaBench/linux/sound/pci/extr_ad1889.c_ad1889_readw.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _i915_ggtt_init_fences ## -- Begin function i915_ggtt_init_fences
.p2align 4, 0x90
_i915_ggtt_init_fences: ## @i915_ggtt_init_fences
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
movq 24(%rdi), %r13
leaq 4(%rdi), %r14
movq %r14, %rdi
callq _INIT_LIST_HEAD
leaq 20(%r12), %rdi
callq _INIT_LIST_HEAD
leaq 16(%r12), %rdi
leaq 4(%r13), %rsi
callq _intel_wakeref_auto_init
movq %r13, %rdi
callq _detect_bit_6_swizzle
movq %r13, %rdi
callq _INTEL_GEN
cmpl $7, %eax
jl LBB0_4
## %bb.1:
movq %r13, %rdi
callq _IS_VALLEYVIEW
testq %rax, %rax
jne LBB0_4
## %bb.2:
movq %r13, %rdi
callq _IS_CHERRYVIEW
testq %rax, %rax
je LBB0_3
LBB0_4:
movq %r13, %rdi
callq _INTEL_GEN
movl $16, %ebx
cmpl $3, %eax
jg LBB0_9
## %bb.5:
movq %r13, %rdi
callq _IS_I945G
testq %rax, %rax
jne LBB0_9
## %bb.6:
movq %r13, %rdi
callq _IS_I945GM
testq %rax, %rax
jne LBB0_9
## %bb.7:
movq %r13, %rdi
callq _IS_G33
testq %rax, %rax
jne LBB0_9
## %bb.8:
movq %r13, %rdi
callq _IS_PINEVIEW
xorl %ecx, %ecx
testq %rax, %rax
setne %cl
leal 8(,%rcx,8), %ebx
jmp LBB0_9
LBB0_3:
movl $32, %ebx
LBB0_9:
movq %r13, %rdi
callq _intel_vgpu_active
testq %rax, %rax
je LBB0_11
## %bb.10:
movq _avail_rs@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _vgtif_reg
movq %r13, %rdi
movl %eax, %esi
callq _intel_uncore_read
movl %eax, %ebx
testl %eax, %eax
jle LBB0_14
LBB0_11:
movl %ebx, %ebx
movq %rbx, -48(%rbp) ## 8-byte Spill
movl $4, %ebx
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq 8(%r12), %rax
leaq (%rax,%rbx), %rdi
movq %r13, 4(%rax,%rbx)
movl %r15d, -4(%rax,%rbx)
movq %r14, %rsi
callq _list_add_tail
incq %r15
addq $16, %rbx
cmpq %r15, -48(%rbp) ## 8-byte Folded Reload
jne LBB0_12
## %bb.13:
movq -48(%rbp), %rbx ## 8-byte Reload
LBB0_14:
movl %ebx, (%r12)
movq %r13, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _i915_gem_restore_fences ## TAILCALL
.cfi_endproc
## -- End function
.comm _avail_rs,4,2 ## @avail_rs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _i915_ggtt_init_fences ; -- Begin function i915_ggtt_init_fences
.p2align 2
_i915_ggtt_init_fences: ; @i915_ggtt_init_fences
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
ldr x19, [x0, #24]
add x21, x0, #4
mov x0, x21
bl _INIT_LIST_HEAD
add x0, x20, #20
bl _INIT_LIST_HEAD
add x0, x20, #16
add x1, x19, #4
bl _intel_wakeref_auto_init
mov x0, x19
bl _detect_bit_6_swizzle
mov x0, x19
bl _INTEL_GEN
cmp w0, #7
b.lt LBB0_3
; %bb.1:
mov x0, x19
bl _IS_VALLEYVIEW
cbnz x0, LBB0_3
; %bb.2:
mov x0, x19
bl _IS_CHERRYVIEW
cbz x0, LBB0_12
LBB0_3:
mov x0, x19
bl _INTEL_GEN
cmp w0, #3
b.gt LBB0_6
; %bb.4:
mov x0, x19
bl _IS_I945G
cbnz x0, LBB0_6
; %bb.5:
mov x0, x19
bl _IS_I945GM
cbz x0, LBB0_13
LBB0_6:
mov w22, #16
LBB0_7:
mov x0, x19
bl _intel_vgpu_active
cbz x0, LBB0_9
; %bb.8:
Lloh0:
adrp x8, _avail_rs@GOTPAGE
Lloh1:
ldr x8, [x8, _avail_rs@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _vgtif_reg
mov x1, x0
mov x0, x19
bl _intel_uncore_read
mov x22, x0
cmp w0, #1
b.lt LBB0_11
LBB0_9:
mov x23, #0
mov x24, #0
mov w22, w22
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
add x8, x8, x23
str x19, [x8, #8]
str w24, [x8]
add x0, x8, #4
mov x1, x21
bl _list_add_tail
add x24, x24, #1
add x23, x23, #16
cmp x22, x24
b.ne LBB0_10
LBB0_11:
str w22, [x20]
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
b _i915_gem_restore_fences
LBB0_12:
mov w22, #32
b LBB0_7
LBB0_13:
mov x0, x19
bl _IS_G33
mov w22, #16
cbnz x0, LBB0_7
; %bb.14:
mov x0, x19
bl _IS_PINEVIEW
cmp x0, #0
mov w8, #8
csel w22, w8, w22, eq
b LBB0_7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _avail_rs,4,2 ; @avail_rs
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_gem_fence_reg.c_i915_ggtt_init_fences.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rb_redcarpet_rbase_init
_rb_redcarpet_rbase_init: ## @rb_redcarpet_rbase_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _rb_cRenderBase@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _rb_redcarpet__overload
movq _Qnil@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _rb_cRenderBase,4,2 ## @rb_cRenderBase
.comm _Qnil,4,2 ## @Qnil
.no_dead_strip _rb_redcarpet_rbase_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rb_redcarpet_rbase_init
_rb_redcarpet_rbase_init: ; @rb_redcarpet_rbase_init
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _rb_cRenderBase@GOTPAGE
Lloh1:
ldr x8, [x8, _rb_cRenderBase@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _rb_redcarpet__overload
Lloh3:
adrp x8, _Qnil@GOTPAGE
Lloh4:
ldr x8, [x8, _Qnil@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _rb_cRenderBase,4,2 ; @rb_cRenderBase
.comm _Qnil,4,2 ; @Qnil
.no_dead_strip _rb_redcarpet_rbase_init
.subsections_via_symbols
| AnghaBench/redcarpet/ext/redcarpet/extr_rc_render.c_rb_redcarpet_rbase_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $288, %rsp ## imm = 0x120
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
cmpl $1, %edi
jg LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str(%rip), %rdi
movl $18, %esi
movl $1, %edx
callq _fwrite
movl $1, %ebx
jmp LBB0_16
LBB0_2:
movq 8(%rsi), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, %rbx
movl $36, %esi
movq %rax, %rdi
xorl %edx, %edx
callq _fseek
cmpl $-1, %eax
je LBB0_5
## %bb.6:
movl $0, -300(%rbp)
movl $0, -304(%rbp)
movl $0, -296(%rbp)
leaq -300(%rbp), %rdi
movl $4, %esi
movl $1, %edx
movq %rbx, %rcx
callq _fread
leaq -304(%rbp), %rdi
movl $4, %esi
movl $1, %edx
movq %rbx, %rcx
callq _fread
leaq -296(%rbp), %rdi
movl $4, %esi
movl $1, %edx
movq %rbx, %rcx
callq _fread
movl -300(%rbp), %edx
cmpl $24061976, %edx ## imm = 0x16F2818
jne LBB0_7
## %bb.9:
movl -296(%rbp), %esi
addl $64, %esi
movq %rbx, %rdi
xorl %edx, %edx
callq _fseek
cmpl $-1, %eax
je LBB0_10
## %bb.11:
movl $0, -292(%rbp)
leaq -292(%rbp), %rdi
movl $1, %esi
movl $4, %edx
movq %rbx, %rcx
callq _fread
cmpl $1263490116, -292(%rbp) ## imm = 0x4B4F5444
jne LBB0_12
## %bb.13:
xorps %xmm0, %xmm0
movaps %xmm0, -48(%rbp)
movaps %xmm0, -64(%rbp)
movaps %xmm0, -80(%rbp)
movaps %xmm0, -96(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm0, -128(%rbp)
movaps %xmm0, -144(%rbp)
movaps %xmm0, -160(%rbp)
leaq -160(%rbp), %rdi
movl $128, %esi
movq %rbx, %rdx
callq _fgets
movq %rbx, %rdi
callq _fclose
movabsq $7311066746820913484, %rax ## imm = 0x65762078756E694C
xorq -160(%rbp), %rax
movabsq $2336927755350992246, %rcx ## imm = 0x206E6F6973726576
xorq -154(%rbp), %rcx
orq %rax, %rcx
je LBB0_15
## %bb.14:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.9(%rip), %rsi
leaq -160(%rbp), %rdx
xorl %eax, %eax
callq _fprintf
movl $32, %ebx
jmp LBB0_16
LBB0_3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rbx
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _fprintf
movl $2, %ebx
jmp LBB0_16
LBB0_5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %r14
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _fprintf
jmp LBB0_8
LBB0_7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.4(%rip), %rsi
xorl %eax, %eax
callq _fprintf
LBB0_8:
movq %rbx, %rdi
callq _fclose
movl $4, %ebx
LBB0_16:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_18
## %bb.17:
movl %ebx, %eax
addq $288, %rsp ## imm = 0x120
popq %rbx
popq %r14
popq %rbp
retq
LBB0_10:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %r14
callq ___error
movl (%rax), %edi
callq _strerror
leaq L_.str.5(%rip), %rsi
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _fprintf
movq %rbx, %rdi
callq _fclose
movl $8, %ebx
jmp LBB0_16
LBB0_12:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.7(%rip), %rsi
leaq -292(%rbp), %rdx
xorl %eax, %eax
callq _fprintf
movq %rbx, %rdi
callq _fclose
movl $16, %ebx
jmp LBB0_16
LBB0_15:
xorps %xmm0, %xmm0
movaps %xmm0, -176(%rbp)
movaps %xmm0, -192(%rbp)
movaps %xmm0, -208(%rbp)
movaps %xmm0, -224(%rbp)
movaps %xmm0, -240(%rbp)
movaps %xmm0, -256(%rbp)
movaps %xmm0, -272(%rbp)
movaps %xmm0, -288(%rbp)
leaq L_.str.10(%rip), %rsi
xorl %ebx, %ebx
leaq -160(%rbp), %rdi
leaq -288(%rbp), %r14
movq %r14, %rdx
xorl %eax, %eax
callq _sscanf
movq %r14, %rdi
callq _puts
jmp LBB0_16
LBB0_18:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "No file provided!\n"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Could not open file: %s\n"
L_.str.3: ## @.str.3
.asciz "Could not seek in file for header: %s\n"
L_.str.4: ## @.str.4
.asciz "Bad magic %08x, not a valid zImage\n"
L_.str.5: ## @.str.5
.asciz "Could not seek in file for version string: %s\n"
L_.str.7: ## @.str.7
.asciz "Expected \"DTOK\", got \"%.4s\"\n"
L_.str.8: ## @.str.8
.asciz "Linux version "
L_.str.9: ## @.str.9
.asciz "Expected \"Linux version \", got \"%.14s\"\n"
L_.str.10: ## @.str.10
.asciz "Linux version %s"
.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, #352
.cfi_def_cfa_offset 352
stp x28, x27, [sp, #304] ; 16-byte Folded Spill
stp x20, x19, [sp, #320] ; 16-byte Folded Spill
stp x29, x30, [sp, #336] ; 16-byte Folded Spill
add x29, sp, #336
.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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
cmp w0, #1
b.gt LBB0_2
; %bb.1:
Lloh3:
adrp x8, ___stderrp@GOTPAGE
Lloh4:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh5:
ldr x3, [x8]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
mov w19, #1
mov w1, #18
mov w2, #1
bl _fwrite
b LBB0_13
LBB0_2:
ldr x0, [x1, #8]
Lloh8:
adrp x1, l_.str.1@PAGE
Lloh9:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
cbz x0, LBB0_9
; %bb.3:
mov x19, x0
mov w1, #36
mov w2, #0
bl _fseek
cmn w0, #1
b.eq LBB0_10
; %bb.4:
str xzr, [sp, #24]
str wzr, [sp, #20]
add x0, sp, #28
mov w1, #4
mov w2, #1
mov x3, x19
bl _fread
add x0, sp, #24
mov w1, #4
mov w2, #1
mov x3, x19
bl _fread
add x0, sp, #20
mov w1, #4
mov w2, #1
mov x3, x19
bl _fread
ldr w8, [sp, #28]
mov w9, #10264
movk w9, #367, lsl #16
cmp w8, w9
b.ne LBB0_11
; %bb.5:
ldr w8, [sp, #20]
add w1, w8, #64
mov x0, x19
mov w2, #0
bl _fseek
cmn w0, #1
b.eq LBB0_15
; %bb.6:
str wzr, [sp, #16]
add x20, sp, #16
add x0, sp, #16
mov w1, #1
mov w2, #4
mov x3, x19
bl _fread
ldr w8, [sp, #16]
mov w9, #21572
movk w9, #19279, lsl #16
cmp w8, w9
b.ne LBB0_16
; %bb.7:
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #256]
stp q0, q0, [sp, #224]
stp q0, q0, [sp, #192]
stp q0, q0, [sp, #160]
add x20, sp, #160
add x0, sp, #160
mov w1, #128
mov x2, x19
bl _fgets
mov x0, x19
bl _fclose
ldr x8, [sp, #160]
mov x9, #26956
movk x9, #30062, lsl #16
movk x9, #8312, lsl #32
movk x9, #25974, lsl #48
eor x8, x8, x9
ldur x9, [sp, #166]
mov x10, #25974
movk x10, #29554, lsl #16
movk x10, #28521, lsl #32
movk x10, #8302, lsl #48
eor x9, x9, x10
orr x8, x8, x9
cbz x8, LBB0_17
; %bb.8:
Lloh10:
adrp x8, ___stderrp@GOTPAGE
Lloh11:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh12:
ldr x0, [x8]
str x20, [sp]
Lloh13:
adrp x1, l_.str.9@PAGE
Lloh14:
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
mov w19, #32
b LBB0_13
LBB0_9:
Lloh15:
adrp x8, ___stderrp@GOTPAGE
Lloh16:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh17:
ldr x19, [x8]
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
Lloh18:
adrp x1, l_.str.2@PAGE
Lloh19:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _fprintf
mov w19, #2
b LBB0_13
LBB0_10:
Lloh20:
adrp x8, ___stderrp@GOTPAGE
Lloh21:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh22:
ldr x20, [x8]
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
Lloh23:
adrp x1, l_.str.3@PAGE
Lloh24:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
b LBB0_12
LBB0_11:
Lloh25:
adrp x9, ___stderrp@GOTPAGE
Lloh26:
ldr x9, [x9, ___stderrp@GOTPAGEOFF]
Lloh27:
ldr x0, [x9]
str x8, [sp]
Lloh28:
adrp x1, l_.str.4@PAGE
Lloh29:
add x1, x1, l_.str.4@PAGEOFF
LBB0_12:
bl _fprintf
mov x0, x19
bl _fclose
mov w19, #4
LBB0_13:
ldur x8, [x29, #-40]
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_18
; %bb.14:
mov x0, x19
ldp x29, x30, [sp, #336] ; 16-byte Folded Reload
ldp x20, x19, [sp, #320] ; 16-byte Folded Reload
ldp x28, x27, [sp, #304] ; 16-byte Folded Reload
add sp, sp, #352
ret
LBB0_15:
Lloh33:
adrp x8, ___stderrp@GOTPAGE
Lloh34:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh35:
ldr x20, [x8]
bl ___error
ldr w0, [x0]
bl _strerror
str x0, [sp]
Lloh36:
adrp x1, l_.str.5@PAGE
Lloh37:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x20
bl _fprintf
mov x0, x19
bl _fclose
mov w19, #8
b LBB0_13
LBB0_16:
Lloh38:
adrp x8, ___stderrp@GOTPAGE
Lloh39:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh40:
ldr x0, [x8]
str x20, [sp]
Lloh41:
adrp x1, l_.str.7@PAGE
Lloh42:
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
mov x0, x19
bl _fclose
mov w19, #16
b LBB0_13
LBB0_17:
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #128]
stp q0, q0, [sp, #96]
stp q0, q0, [sp, #64]
stp q0, q0, [sp, #32]
add x8, sp, #32
str x8, [sp]
Lloh43:
adrp x1, l_.str.10@PAGE
Lloh44:
add x1, x1, l_.str.10@PAGEOFF
add x0, sp, #160
bl _sscanf
add x0, sp, #32
bl _puts
mov w19, #0
b LBB0_13
LBB0_18:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh43, Lloh44
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "No file provided!\n"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Could not open file: %s\n"
l_.str.3: ; @.str.3
.asciz "Could not seek in file for header: %s\n"
l_.str.4: ; @.str.4
.asciz "Bad magic %08x, not a valid zImage\n"
l_.str.5: ; @.str.5
.asciz "Could not seek in file for version string: %s\n"
l_.str.7: ; @.str.7
.asciz "Expected \"DTOK\", got \"%.4s\"\n"
l_.str.8: ; @.str.8
.asciz "Linux version "
l_.str.9: ; @.str.9
.asciz "Expected \"Linux version \", got \"%.14s\"\n"
l_.str.10: ; @.str.10
.asciz "Linux version %s"
.subsections_via_symbols
| the_stack_data/151877.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _comedi_dio_bitfield ## -- Begin function comedi_dio_bitfield
.p2align 4, 0x90
_comedi_dio_bitfield: ## @comedi_dio_bitfield
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %rbx
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq -80(%rbp), %r13
movq %r13, %rdi
xorl %esi, %esi
movl $24, %edx
callq _memset
movq _INSN_BITS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -60(%rbp)
movl $2, -80(%rbp)
leaq -56(%rbp), %rax
movq %rax, -72(%rbp)
movl %r15d, -64(%rbp)
movl %r14d, -56(%rbp)
movl (%rbx), %eax
movl %eax, -52(%rbp)
movq %r12, %rdi
movq %r13, %rsi
callq _comedi_do_insn
movl -52(%rbp), %ecx
movl %ecx, (%rbx)
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_2
## %bb.1:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _INSN_BITS,4,2 ## @INSN_BITS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _comedi_dio_bitfield ; -- Begin function comedi_dio_bitfield
.p2align 2
_comedi_dio_bitfield: ; @comedi_dio_bitfield
.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, x3
mov x20, x2
mov x21, x1
mov x22, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
add x0, sp, #8
mov w1, #0
mov w2, #24
bl _memset
Lloh3:
adrp x8, _INSN_BITS@GOTPAGE
Lloh4:
ldr x8, [x8, _INSN_BITS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
mov w9, #2
str w9, [sp, #8]
add x9, sp, #32
str x9, [sp, #16]
stp w21, w8, [sp, #24]
ldr w8, [x19]
stp w20, w8, [sp, #32]
add x1, sp, #8
mov x0, x22
bl _comedi_do_insn
ldr w8, [sp, #36]
str w8, [x19]
ldr x8, [sp, #40]
Lloh6:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh7:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _INSN_BITS,4,2 ; @INSN_BITS
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/comedi/kcomedilib/extr_dio.c_comedi_dio_bitfield.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mtk_dai_hostless_startup
_mtk_dai_hostless_startup: ## @mtk_dai_hostless_startup
.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, %rdi
callq _snd_soc_dai_get_drvdata
movl (%rax), %esi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _snd_soc_set_runtime_hwparams ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _mtk_dai_hostless_startup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mtk_dai_hostless_startup
_mtk_dai_hostless_startup: ; @mtk_dai_hostless_startup
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov x0, x1
bl _snd_soc_dai_get_drvdata
ldr w1, [x0]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _snd_soc_set_runtime_hwparams
.cfi_endproc
; -- End function
.no_dead_strip _mtk_dai_hostless_startup
.subsections_via_symbols
| AnghaBench/linux/sound/soc/mediatek/mt8183/extr_mt8183-dai-hostless.c_mtk_dai_hostless_startup.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/184516923.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function btrfs_xattr_acl_access_set
_btrfs_xattr_acl_access_set: ## @btrfs_xattr_acl_access_set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ACL_TYPE_ACCESS@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _btrfs_xattr_set_acl ## TAILCALL
.cfi_endproc
## -- End function
.comm _ACL_TYPE_ACCESS,4,2 ## @ACL_TYPE_ACCESS
.no_dead_strip _btrfs_xattr_acl_access_set
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function btrfs_xattr_acl_access_set
_btrfs_xattr_acl_access_set: ; @btrfs_xattr_acl_access_set
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ACL_TYPE_ACCESS@GOTPAGE
Lloh1:
ldr x8, [x8, _ACL_TYPE_ACCESS@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _btrfs_xattr_set_acl
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ACL_TYPE_ACCESS,4,2 ; @ACL_TYPE_ACCESS
.no_dead_strip _btrfs_xattr_acl_access_set
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/btrfs/extr_acl.c_btrfs_xattr_acl_access_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ar9003_mci_send_2g5g_status
_ar9003_mci_send_2g5g_status: ## @ar9003_mci_send_2g5g_status
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $0, 16(%rdi)
je LBB0_5
## %bb.1:
movq %rdi, %rbx
movq (%rdi), %rax
movq _MCI_BT_SLEEP@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_5
## %bb.2:
movl %esi, %r14d
cmpq $0, 8(%rbx)
movq _MCI_2G_FLAGS_CLEAR_MASK@GOTPCREL(%rip), %rax
cmoveq _MCI_5G_FLAGS_CLEAR_MASK@GOTPCREL(%rip), %rax
movq _MCI_2G_FLAGS_SET_MASK@GOTPCREL(%rip), %rdx
cmoveq _MCI_5G_FLAGS_SET_MASK@GOTPCREL(%rip), %rdx
movq (%rax), %rcx
movq (%rdx), %r15
testq %rcx, %rcx
je LBB0_4
## %bb.3:
movq _MCI_GPM_COEX_BT_FLAGS_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl %r14d, %esi
callq _ar9003_mci_send_coex_bt_flags
LBB0_4:
testq %r15, %r15
je LBB0_5
## %bb.6:
movq _MCI_GPM_COEX_BT_FLAGS_SET@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl %r14d, %esi
movq %r15, %rcx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _ar9003_mci_send_coex_bt_flags ## TAILCALL
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MCI_BT_SLEEP,8,3 ## @MCI_BT_SLEEP
.comm _MCI_2G_FLAGS_CLEAR_MASK,8,3 ## @MCI_2G_FLAGS_CLEAR_MASK
.comm _MCI_2G_FLAGS_SET_MASK,8,3 ## @MCI_2G_FLAGS_SET_MASK
.comm _MCI_5G_FLAGS_CLEAR_MASK,8,3 ## @MCI_5G_FLAGS_CLEAR_MASK
.comm _MCI_5G_FLAGS_SET_MASK,8,3 ## @MCI_5G_FLAGS_SET_MASK
.comm _MCI_GPM_COEX_BT_FLAGS_CLEAR,4,2 ## @MCI_GPM_COEX_BT_FLAGS_CLEAR
.comm _MCI_GPM_COEX_BT_FLAGS_SET,4,2 ## @MCI_GPM_COEX_BT_FLAGS_SET
.no_dead_strip _ar9003_mci_send_2g5g_status
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ar9003_mci_send_2g5g_status
_ar9003_mci_send_2g5g_status: ; @ar9003_mci_send_2g5g_status
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr w8, [x0, #16]
cbz w8, LBB0_6
; %bb.1:
mov x20, x0
ldr x8, [x0]
Lloh0:
adrp x9, _MCI_BT_SLEEP@GOTPAGE
Lloh1:
ldr x9, [x9, _MCI_BT_SLEEP@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_6
; %bb.2:
mov x19, x1
Lloh3:
adrp x8, _MCI_5G_FLAGS_CLEAR_MASK@GOTPAGE
Lloh4:
ldr x8, [x8, _MCI_5G_FLAGS_CLEAR_MASK@GOTPAGEOFF]
ldr x9, [x20, #8]
Lloh5:
adrp x10, _MCI_2G_FLAGS_CLEAR_MASK@GOTPAGE
Lloh6:
ldr x10, [x10, _MCI_2G_FLAGS_CLEAR_MASK@GOTPAGEOFF]
cmp x9, #0
csel x8, x8, x10, eq
ldr x3, [x8]
Lloh7:
adrp x8, _MCI_5G_FLAGS_SET_MASK@GOTPAGE
Lloh8:
ldr x8, [x8, _MCI_5G_FLAGS_SET_MASK@GOTPAGEOFF]
Lloh9:
adrp x9, _MCI_2G_FLAGS_SET_MASK@GOTPAGE
Lloh10:
ldr x9, [x9, _MCI_2G_FLAGS_SET_MASK@GOTPAGEOFF]
csel x8, x8, x9, eq
ldr x21, [x8]
cbz x3, LBB0_4
; %bb.3:
Lloh11:
adrp x8, _MCI_GPM_COEX_BT_FLAGS_CLEAR@GOTPAGE
Lloh12:
ldr x8, [x8, _MCI_GPM_COEX_BT_FLAGS_CLEAR@GOTPAGEOFF]
Lloh13:
ldr w2, [x8]
mov x0, x20
mov x1, x19
bl _ar9003_mci_send_coex_bt_flags
LBB0_4:
cbz x21, LBB0_6
; %bb.5:
Lloh14:
adrp x8, _MCI_GPM_COEX_BT_FLAGS_SET@GOTPAGE
Lloh15:
ldr x8, [x8, _MCI_GPM_COEX_BT_FLAGS_SET@GOTPAGEOFF]
Lloh16:
ldr w2, [x8]
mov x0, x20
mov x1, x19
mov x3, 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
b _ar9003_mci_send_coex_bt_flags
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
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _MCI_BT_SLEEP,8,3 ; @MCI_BT_SLEEP
.comm _MCI_2G_FLAGS_CLEAR_MASK,8,3 ; @MCI_2G_FLAGS_CLEAR_MASK
.comm _MCI_2G_FLAGS_SET_MASK,8,3 ; @MCI_2G_FLAGS_SET_MASK
.comm _MCI_5G_FLAGS_CLEAR_MASK,8,3 ; @MCI_5G_FLAGS_CLEAR_MASK
.comm _MCI_5G_FLAGS_SET_MASK,8,3 ; @MCI_5G_FLAGS_SET_MASK
.comm _MCI_GPM_COEX_BT_FLAGS_CLEAR,4,2 ; @MCI_GPM_COEX_BT_FLAGS_CLEAR
.comm _MCI_GPM_COEX_BT_FLAGS_SET,4,2 ; @MCI_GPM_COEX_BT_FLAGS_SET
.no_dead_strip _ar9003_mci_send_2g5g_status
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_mci.c_ar9003_mci_send_2g5g_status.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ShaderForLayer ## -- Begin function ShaderForLayer
.p2align 4, 0x90
_ShaderForLayer: ## @ShaderForLayer
.cfi_startproc
## %bb.0:
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 %rdx, %r14
movl %esi, %r12d
movl %edi, %r15d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq _MAX_QPATH@GOTPCREL(%rip), %rax
movl (%rax), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
cmpl %r12d, %r15d
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
movq %r14, %rdx
movl %r15d, %ecx
xorl %eax, %eax
callq _sprintf
jmp LBB0_3
LBB0_2:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
movq %r14, %rdx
movl %r15d, %ecx
movl %r12d, %r8d
xorl %eax, %eax
callq _sprintf
LBB0_3:
movq %rbx, %rdi
callq _ShaderInfoForShader
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -40(%rbp), %rcx
jne LBB0_5
## %bb.4:
leaq -32(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_QPATH,4,2 ## @MAX_QPATH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "textures/%s_%d"
L_.str.1: ## @.str.1
.asciz "textures/%s_%dto%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ShaderForLayer ; -- Begin function ShaderForLayer
.p2align 2
_ShaderForLayer: ; @ShaderForLayer
.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
sub sp, sp, #16
; kill: def $w1 killed $w1 def $x1
mov x3, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh3:
adrp x8, _MAX_QPATH@GOTPAGE
Lloh4:
ldr x8, [x8, _MAX_QPATH@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x19, x9, x8
mov sp, x19
cmp w0, w1
b.ne LBB0_2
; %bb.1:
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _sprintf
b LBB0_3
LBB0_2:
str x1, [sp, #-16]!
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _sprintf
add sp, sp, #16
LBB0_3:
mov x0, x19
bl _ShaderInfoForShader
ldur x8, [x29, #-24]
Lloh12:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh13:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_5
; %bb.4:
sub sp, x29, #16
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_5:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _MAX_QPATH,4,2 ; @MAX_QPATH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "textures/%s_%d"
l_.str.1: ; @.str.1
.asciz "textures/%s_%dto%d"
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/q3map/extr_terrain.c_ShaderForLayer.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nge_attach
_nge_attach: ## @nge_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
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r13d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _ETHER_ADDR_LEN@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %rbx, %rax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -64(%rbp) ## 8-byte Spill
movl %ebx, %eax
shrl $31, %eax
movq %rbx, -72(%rbp) ## 8-byte Spill
addl %ebx, %eax
sarl %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movl %r13d, %edi
callq _device_get_softc
movq %rax, %r12
movl %r13d, 32(%rax)
movl %r13d, %edi
callq _device_get_nameunit
movq %r12, %rdi
movl %eax, %esi
callq _NGE_LOCK_INIT
leaq 60(%r12), %rdi
leaq 56(%r12), %rsi
xorl %edx, %edx
callq _callout_init_mtx
movl %r13d, %edi
callq _pci_enable_busmaster
movq _SYS_RES_MEMORY@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r12)
movl $1, %edi
callq _PCIR_BAR
leaq 8(%r12), %rbx
movl %eax, 8(%r12)
movq (%r12), %rsi
movq _RF_ACTIVE@GOTPCREL(%rip), %r14
movl (%r14), %ecx
movl %r13d, %edi
movq %rbx, %rdx
callq _bus_alloc_resource_any
movq %rax, 48(%r12)
testq %rax, %rax
jne LBB0_5
## %bb.1:
movq _SYS_RES_MEMORY@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorl %edi, %edi
cmpq %rax, (%r12)
setne %cl
jne LBB0_3
## %bb.2:
movq _SYS_RES_IOPORT@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_3:
movb %cl, %dil
movq %rax, (%r12)
callq _PCIR_BAR
movl %eax, 8(%r12)
movq (%r12), %rsi
movl (%r14), %ecx
movl %r13d, %edi
movq %rbx, %rdx
callq _bus_alloc_resource_any
movq %rax, 48(%r12)
testq %rax, %rax
movq _SYS_RES_MEMORY@GOTPCREL(%rip), %rcx
je LBB0_4
LBB0_5:
movl $0, -56(%rbp)
movq _SYS_RES_IRQ@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _RF_SHAREABLE@GOTPCREL(%rip), %rax
movl (%r14), %ecx
orl (%rax), %ecx
leaq -56(%rbp), %rdx
movl %r13d, %edi
callq _bus_alloc_resource_any
movq %rax, 16(%r12)
testq %rax, %rax
je LBB0_6
## %bb.10:
movq _PCIR_COMMAND@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
movl %r13d, %edi
movl $2, %edx
callq _pci_read_config
movq _PCIM_CMD_MWRICEN@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl (%rbx), %esi
movl %r13d, %edi
movl %eax, %edx
movl $2, %ecx
callq _pci_write_config
movq %r12, %rdi
callq _nge_reset
movq _NGE_EE_NODEADDR@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r12, %rdi
movl %r15d, %esi
movl $3, %ecx
callq _nge_read_eeprom
movl $0, -52(%rbp)
movq _ETHER_ADDR_LEN@GOTPCREL(%rip), %r14
cmpl $2, (%r14)
jl LBB0_13
## %bb.11:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movl (%r15,%rbx,4), %edi
callq _le16toh
movl %eax, (%r15,%rbx,4)
incq %rbx
movl %ebx, -52(%rbp)
movl (%r14), %eax
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
sarl %ecx
cmpl %ecx, %ebx
jl LBB0_12
LBB0_13:
movl (%r15), %eax
movl 8(%r15), %ecx
movl %ecx, (%r15)
movl %eax, 8(%r15)
movq -72(%rbp), %rax ## 8-byte Reload
leal (,%rax,4), %edx
movq -64(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
callq _memcpy
movq %r12, %rdi
callq _nge_dma_alloc
testq %rax, %rax
je LBB0_15
## %bb.14:
movq _ENXIO@GOTPCREL(%rip), %rbx
jmp LBB0_8
LBB0_6:
movq _ENXIO@GOTPCREL(%rip), %rbx
leaq L_.str.3(%rip), %rsi
LBB0_7:
movl %r13d, %edi
xorl %eax, %eax
callq _device_printf
LBB0_8:
movl (%rbx), %ebx
testl %ebx, %ebx
je LBB0_9
LBB0_27:
movl %r13d, %edi
callq _nge_detach
jmp LBB0_28
LBB0_9:
xorl %ebx, %ebx
jmp LBB0_28
LBB0_15:
movl %r13d, %r15d
movq %r12, %rdi
callq _nge_sysctl_node
movq _IFT_ETHER@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _if_alloc
movq %rax, 40(%r12)
testq %rax, %rax
je LBB0_16
## %bb.17:
movq %rax, %r13
movq %r12, 48(%rax)
movl %r15d, %ebx
movl %r15d, %edi
callq _device_get_name
movl %eax, %r14d
movl %r15d, %edi
callq _device_get_unit
movq %r13, %rdi
movl %r14d, %esi
movl %eax, %edx
callq _if_initname
movq _IFF_BROADCAST@GOTPCREL(%rip), %rax
movq _IFF_SIMPLEX@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _IFF_MULTICAST@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movl %ecx, (%r13)
movq _nge_ioctl@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 40(%r13)
movq _nge_start@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 36(%r13)
movq _nge_init@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%r13)
movq _NGE_TX_RING_CNT@GOTPCREL(%rip), %rax
movq (%rax), %rsi
decq %rsi
movq %r13, %rbx
addq $24, %rbx
movq %rsi, 24(%r13)
movq %rbx, %rdi
callq _IFQ_SET_MAXLEN
movq %rbx, %rdi
callq _IFQ_SET_READY
movq _NGE_CSUM_FEATURES@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%r13)
movq _IFCAP_HWCSUM@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%r13)
movl 32(%r12), %edi
movq _PCIY_PMG@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -52(%rbp), %rdx
callq _pci_find_cap
testq %rax, %rax
je LBB0_19
## %bb.18:
movl 4(%r13), %eax
jmp LBB0_20
LBB0_4:
movq (%r12), %rax
cmpq (%rcx), %rax
leaq L_.str.1(%rip), %rax
leaq L_.str.2(%rip), %rdx
cmoveq %rax, %rdx
leaq L_.str(%rip), %rsi
movl %r13d, %edi
xorl %eax, %eax
callq _device_printf
movq %r12, %rdi
callq _NGE_LOCK_DESTROY
movq _ENXIO@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_28:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_30
## %bb.29:
movl %ebx, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
movq _ENOSPC@GOTPCREL(%rip), %rbx
leaq L_.str.4(%rip), %rsi
movl %r15d, %r13d
jmp LBB0_7
LBB0_19:
movq _IFCAP_WOL@GOTPCREL(%rip), %rcx
movl 4(%r13), %eax
orl (%rcx), %eax
movl %eax, 4(%r13)
LBB0_20:
movl %eax, 8(%r13)
movq _NGE_CFG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _CSR_READ_4
movq _NGE_CFG_TBI_EN@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
movl %r15d, %r14d
je LBB0_22
## %bb.21:
movq _NGE_FLAG_TBI@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 28(%r12)
leaq L_.str.5(%rip), %rsi
movl %r14d, %edi
xorl %eax, %eax
callq _device_printf
movq _NGE_GPIO@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %r12, %rdi
movl %ebx, %esi
callq _CSR_READ_4
movq _NGE_GPIO_GP4_OUT@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _NGE_GPIO_GP1_OUTENB@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _NGE_GPIO_GP2_OUTENB@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _NGE_GPIO_GP3_OUTENB@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _NGE_GPIO_GP3_IN@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _NGE_GPIO_GP4_IN@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _CSR_WRITE_4
LBB0_22:
leaq 24(%r12), %rsi
movq _nge_mediachange@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _nge_mediastatus@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _BMSR_DEFCAPMASK@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movq _MII_PHY_ANY@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _MII_OFFSET_ANY@GOTPCREL(%rip), %rdx
movl (%rdx), %ebx
subq $8, %rsp
movl %r14d, %edi
movq %r13, %rdx
pushq $0
pushq %rbx
pushq %rax
callq _mii_attach
addq $32, %rsp
testl %eax, %eax
je LBB0_24
## %bb.23:
movl %eax, %ebx
leaq L_.str.6(%rip), %rsi
movl %r14d, %r13d
jmp LBB0_26
LBB0_24:
movq %r13, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
callq _ether_ifattach
movq _IFCAP_VLAN_MTU@GOTPCREL(%rip), %rax
movq _IFCAP_VLAN_HWTAGGING@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
orl 4(%r13), %ecx
movq _IFCAP_VLAN_HWCSUM@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movl %ecx, 4(%r13)
movl %ecx, 8(%r13)
movl $4, 12(%r13)
movq _INTR_TYPE_NET@GOTPCREL(%rip), %rax
movq _INTR_MPSAFE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
movq 16(%r12), %rsi
movq _nge_intr@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %r12, %rax
addq $12, %rax
subq $8, %rsp
xorl %ebx, %ebx
movl %r14d, %edi
xorl %ecx, %ecx
movq %r12, %r9
pushq %rax
callq _bus_setup_intr
addq $16, %rsp
testl %eax, %eax
je LBB0_28
## %bb.25:
movl %r14d, %r13d
leaq L_.str.7(%rip), %rsi
movl %eax, %ebx
LBB0_26:
movl %r13d, %edi
xorl %eax, %eax
callq _device_printf
jmp LBB0_27
LBB0_30:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ETHER_ADDR_LEN,4,2 ## @ETHER_ADDR_LEN
.comm _SYS_RES_MEMORY,8,3 ## @SYS_RES_MEMORY
.comm _RF_ACTIVE,4,2 ## @RF_ACTIVE
.comm _SYS_RES_IOPORT,8,3 ## @SYS_RES_IOPORT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "couldn't allocate %s resources\n"
L_.str.1: ## @.str.1
.asciz "memory"
L_.str.2: ## @.str.2
.asciz "I/O"
.comm _ENXIO,4,2 ## @ENXIO
.comm _SYS_RES_IRQ,8,3 ## @SYS_RES_IRQ
.comm _RF_SHAREABLE,4,2 ## @RF_SHAREABLE
L_.str.3: ## @.str.3
.asciz "couldn't map interrupt\n"
.comm _PCIR_COMMAND,4,2 ## @PCIR_COMMAND
.comm _PCIM_CMD_MWRICEN,4,2 ## @PCIM_CMD_MWRICEN
.comm _NGE_EE_NODEADDR,4,2 ## @NGE_EE_NODEADDR
.comm _IFT_ETHER,4,2 ## @IFT_ETHER
L_.str.4: ## @.str.4
.asciz "can not allocate ifnet structure\n"
.comm _ENOSPC,4,2 ## @ENOSPC
.comm _IFF_BROADCAST,4,2 ## @IFF_BROADCAST
.comm _IFF_SIMPLEX,4,2 ## @IFF_SIMPLEX
.comm _IFF_MULTICAST,4,2 ## @IFF_MULTICAST
.comm _nge_ioctl,4,2 ## @nge_ioctl
.comm _nge_start,4,2 ## @nge_start
.comm _nge_init,4,2 ## @nge_init
.comm _NGE_TX_RING_CNT,8,3 ## @NGE_TX_RING_CNT
.comm _NGE_CSUM_FEATURES,4,2 ## @NGE_CSUM_FEATURES
.comm _IFCAP_HWCSUM,4,2 ## @IFCAP_HWCSUM
.comm _PCIY_PMG,4,2 ## @PCIY_PMG
.comm _IFCAP_WOL,4,2 ## @IFCAP_WOL
.comm _NGE_CFG,4,2 ## @NGE_CFG
.comm _NGE_CFG_TBI_EN,4,2 ## @NGE_CFG_TBI_EN
.comm _NGE_FLAG_TBI,4,2 ## @NGE_FLAG_TBI
L_.str.5: ## @.str.5
.asciz "Using TBI\n"
.comm _NGE_GPIO,4,2 ## @NGE_GPIO
.comm _NGE_GPIO_GP4_OUT,4,2 ## @NGE_GPIO_GP4_OUT
.comm _NGE_GPIO_GP1_OUTENB,4,2 ## @NGE_GPIO_GP1_OUTENB
.comm _NGE_GPIO_GP2_OUTENB,4,2 ## @NGE_GPIO_GP2_OUTENB
.comm _NGE_GPIO_GP3_OUTENB,4,2 ## @NGE_GPIO_GP3_OUTENB
.comm _NGE_GPIO_GP3_IN,4,2 ## @NGE_GPIO_GP3_IN
.comm _NGE_GPIO_GP4_IN,4,2 ## @NGE_GPIO_GP4_IN
.comm _nge_mediachange,4,2 ## @nge_mediachange
.comm _nge_mediastatus,4,2 ## @nge_mediastatus
.comm _BMSR_DEFCAPMASK,4,2 ## @BMSR_DEFCAPMASK
.comm _MII_PHY_ANY,4,2 ## @MII_PHY_ANY
.comm _MII_OFFSET_ANY,4,2 ## @MII_OFFSET_ANY
L_.str.6: ## @.str.6
.asciz "attaching PHYs failed\n"
.comm _IFCAP_VLAN_MTU,4,2 ## @IFCAP_VLAN_MTU
.comm _IFCAP_VLAN_HWTAGGING,4,2 ## @IFCAP_VLAN_HWTAGGING
.comm _IFCAP_VLAN_HWCSUM,4,2 ## @IFCAP_VLAN_HWCSUM
.comm _INTR_TYPE_NET,4,2 ## @INTR_TYPE_NET
.comm _INTR_MPSAFE,4,2 ## @INTR_MPSAFE
.comm _nge_intr,4,2 ## @nge_intr
L_.str.7: ## @.str.7
.asciz "couldn't set up irq\n"
.comm _IFCAP_POLLING,4,2 ## @IFCAP_POLLING
.no_dead_strip _nge_attach
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nge_attach
_nge_attach: ; @nge_attach
.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, #16
mov x19, 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 x25, _ETHER_ADDR_LEN@GOTPAGE
Lloh4:
ldr x25, [x25, _ETHER_ADDR_LEN@GOTPAGEOFF]
ldr w24, [x25]
lsl x8, x24, #2
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x21, x9, x8
mov sp, x21
cmp w24, #0
cinc w8, w24, lt
asr w8, w8, #1
lsl x9, x8, #2
add x8, x9, #15
and x8, x8, #0x7fffffff0
Lloh7:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh8:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x22, x9, x8
mov sp, x22
bl _device_get_softc
mov x20, x0
str w19, [x0, #32]
mov x0, x19
bl _device_get_nameunit
mov x1, x0
mov x0, x20
bl _NGE_LOCK_INIT
add x0, x20, #60
add x1, x20, #56
mov w2, #0
bl _callout_init_mtx
mov x0, x19
bl _pci_enable_busmaster
Lloh9:
adrp x26, _SYS_RES_MEMORY@GOTPAGE
Lloh10:
ldr x26, [x26, _SYS_RES_MEMORY@GOTPAGEOFF]
ldr x8, [x26]
str x8, [x20]
mov w0, #1
bl _PCIR_BAR
mov x23, x20
str w0, [x23, #8]!
ldr x1, [x20]
Lloh11:
adrp x27, _RF_ACTIVE@GOTPAGE
Lloh12:
ldr x27, [x27, _RF_ACTIVE@GOTPAGEOFF]
ldr w3, [x27]
mov x0, x19
mov x2, x23
bl _bus_alloc_resource_any
str x0, [x20, #48]
cbnz x0, LBB0_2
; %bb.1:
ldr x8, [x20]
Lloh13:
adrp x9, _SYS_RES_IOPORT@GOTPAGE
Lloh14:
ldr x9, [x9, _SYS_RES_IOPORT@GOTPAGEOFF]
ldr x10, [x26]
Lloh15:
ldr x9, [x9]
cmp x8, x10
csel x8, x9, x10, eq
cset w0, ne
str x8, [x20]
bl _PCIR_BAR
str w0, [x20, #8]
ldr x1, [x20]
ldr w3, [x27]
mov x0, x19
mov x2, x23
bl _bus_alloc_resource_any
str x0, [x20, #48]
cbz x0, LBB0_17
LBB0_2:
stur wzr, [x29, #-96]
Lloh16:
adrp x8, _SYS_RES_IRQ@GOTPAGE
Lloh17:
ldr x8, [x8, _SYS_RES_IRQ@GOTPAGEOFF]
Lloh18:
ldr x1, [x8]
Lloh19:
adrp x8, _RF_SHAREABLE@GOTPAGE
Lloh20:
ldr x8, [x8, _RF_SHAREABLE@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
ldr w9, [x27]
orr w3, w9, w8
sub x2, x29, #96
mov x0, x19
bl _bus_alloc_resource_any
str x0, [x20, #16]
cbz x0, LBB0_8
; %bb.3:
Lloh22:
adrp x23, _PCIR_COMMAND@GOTPAGE
Lloh23:
ldr x23, [x23, _PCIR_COMMAND@GOTPAGEOFF]
ldr w1, [x23]
mov x0, x19
mov w2, #2
bl _pci_read_config
Lloh24:
adrp x8, _PCIM_CMD_MWRICEN@GOTPAGE
Lloh25:
ldr x8, [x8, _PCIM_CMD_MWRICEN@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
orr w2, w8, w0
ldr w1, [x23]
mov x0, x19
mov w3, #2
bl _pci_write_config
mov x0, x20
bl _nge_reset
Lloh27:
adrp x8, _NGE_EE_NODEADDR@GOTPAGE
Lloh28:
ldr x8, [x8, _NGE_EE_NODEADDR@GOTPAGEOFF]
Lloh29:
ldr w2, [x8]
mov x0, x20
mov x1, x22
mov w3, #3
bl _nge_read_eeprom
stur wzr, [x29, #-92]
ldr w8, [x25]
cmp w8, #2
b.lt LBB0_6
; %bb.4:
mov x23, #0
LBB0_5: ; =>This Inner Loop Header: Depth=1
lsl x26, x23, #2
ldr w0, [x22, x26]
bl _le16toh
str w0, [x22, x26]
add x23, x23, #1
stur w23, [x29, #-92]
ldr w8, [x25]
cmp w8, #0
cinc w8, w8, lt
cmp w23, w8, asr #1
b.lt LBB0_5
LBB0_6:
ldr w8, [x22]
ldr w9, [x22, #8]
str w9, [x22]
str w8, [x22, #8]
lsl w2, w24, #2
mov x0, x21
mov x1, x22
bl _memcpy
mov x0, x20
bl _nge_dma_alloc
cbz x0, LBB0_14
; %bb.7:
Lloh30:
adrp x20, _ENXIO@GOTPAGE
Lloh31:
ldr x20, [x20, _ENXIO@GOTPAGEOFF]
b LBB0_10
LBB0_8:
Lloh32:
adrp x20, _ENXIO@GOTPAGE
Lloh33:
ldr x20, [x20, _ENXIO@GOTPAGEOFF]
Lloh34:
adrp x1, l_.str.3@PAGE
Lloh35:
add x1, x1, l_.str.3@PAGEOFF
LBB0_9:
mov x0, x19
bl _device_printf
LBB0_10:
ldr w23, [x20]
cbz w23, LBB0_12
LBB0_11:
mov x0, x19
bl _nge_detach
LBB0_12:
ldur x8, [x29, #-88]
Lloh36:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh37:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_27
; %bb.13:
mov x0, x23
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_14:
mov x0, x20
bl _nge_sysctl_node
Lloh39:
adrp x8, _IFT_ETHER@GOTPAGE
Lloh40:
ldr x8, [x8, _IFT_ETHER@GOTPAGEOFF]
Lloh41:
ldr w0, [x8]
bl _if_alloc
str x0, [x20, #40]
cbz x0, LBB0_18
; %bb.15:
mov x22, x0
str x20, [x0, #48]
mov x0, x19
bl _device_get_name
mov x23, x0
mov x0, x19
bl _device_get_unit
mov x2, x0
mov x0, x22
mov x1, x23
bl _if_initname
Lloh42:
adrp x8, _IFF_BROADCAST@GOTPAGE
Lloh43:
ldr x8, [x8, _IFF_BROADCAST@GOTPAGEOFF]
Lloh44:
ldr w8, [x8]
Lloh45:
adrp x9, _IFF_SIMPLEX@GOTPAGE
Lloh46:
ldr x9, [x9, _IFF_SIMPLEX@GOTPAGEOFF]
Lloh47:
ldr w9, [x9]
orr w8, w9, w8
Lloh48:
adrp x9, _IFF_MULTICAST@GOTPAGE
Lloh49:
ldr x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh50:
ldr w9, [x9]
orr w8, w8, w9
Lloh51:
adrp x9, _nge_ioctl@GOTPAGE
Lloh52:
ldr x9, [x9, _nge_ioctl@GOTPAGEOFF]
str w8, [x22]
Lloh53:
ldr w8, [x9]
str w8, [x22, #40]
Lloh54:
adrp x8, _nge_start@GOTPAGE
Lloh55:
ldr x8, [x8, _nge_start@GOTPAGEOFF]
Lloh56:
ldr w8, [x8]
Lloh57:
adrp x9, _nge_init@GOTPAGE
Lloh58:
ldr x9, [x9, _nge_init@GOTPAGEOFF]
Lloh59:
ldr w9, [x9]
Lloh60:
adrp x10, _NGE_TX_RING_CNT@GOTPAGE
Lloh61:
ldr x10, [x10, _NGE_TX_RING_CNT@GOTPAGEOFF]
stp w9, w8, [x22, #32]
Lloh62:
ldr x8, [x10]
sub x1, x8, #1
mov x23, x22
str x1, [x23, #24]!
mov x0, x23
bl _IFQ_SET_MAXLEN
mov x0, x23
bl _IFQ_SET_READY
Lloh63:
adrp x8, _NGE_CSUM_FEATURES@GOTPAGE
Lloh64:
ldr x8, [x8, _NGE_CSUM_FEATURES@GOTPAGEOFF]
Lloh65:
ldr w8, [x8]
str w8, [x22, #16]
Lloh66:
adrp x8, _IFCAP_HWCSUM@GOTPAGE
Lloh67:
ldr x8, [x8, _IFCAP_HWCSUM@GOTPAGEOFF]
Lloh68:
ldr w8, [x8]
str w8, [x22, #4]
ldr w0, [x20, #32]
Lloh69:
adrp x8, _PCIY_PMG@GOTPAGE
Lloh70:
ldr x8, [x8, _PCIY_PMG@GOTPAGEOFF]
Lloh71:
ldr w1, [x8]
sub x2, x29, #92
bl _pci_find_cap
cbz x0, LBB0_19
; %bb.16:
ldr w8, [x22, #4]
b LBB0_20
LBB0_17:
ldr x8, [x20]
ldr x9, [x26]
Lloh72:
adrp x10, l_.str.2@PAGE
Lloh73:
add x10, x10, l_.str.2@PAGEOFF
Lloh74:
adrp x11, l_.str.1@PAGE
Lloh75:
add x11, x11, l_.str.1@PAGEOFF
cmp x8, x9
csel x8, x11, x10, eq
str x8, [sp, #-16]!
Lloh76:
adrp x1, l_.str@PAGE
Lloh77:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _device_printf
add sp, sp, #16
mov x0, x20
bl _NGE_LOCK_DESTROY
Lloh78:
adrp x8, _ENXIO@GOTPAGE
Lloh79:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh80:
ldr w23, [x8]
b LBB0_12
LBB0_18:
Lloh81:
adrp x20, _ENOSPC@GOTPAGE
Lloh82:
ldr x20, [x20, _ENOSPC@GOTPAGEOFF]
Lloh83:
adrp x1, l_.str.4@PAGE
Lloh84:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_9
LBB0_19:
Lloh85:
adrp x8, _IFCAP_WOL@GOTPAGE
Lloh86:
ldr x8, [x8, _IFCAP_WOL@GOTPAGEOFF]
Lloh87:
ldr w8, [x8]
ldr w9, [x22, #4]
orr w8, w9, w8
str w8, [x22, #4]
LBB0_20:
str w8, [x22, #8]
Lloh88:
adrp x8, _NGE_CFG@GOTPAGE
Lloh89:
ldr x8, [x8, _NGE_CFG@GOTPAGEOFF]
Lloh90:
ldr w1, [x8]
mov x0, x20
bl _CSR_READ_4
Lloh91:
adrp x8, _NGE_CFG_TBI_EN@GOTPAGE
Lloh92:
ldr x8, [x8, _NGE_CFG_TBI_EN@GOTPAGEOFF]
Lloh93:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_22
; %bb.21:
Lloh94:
adrp x8, _NGE_FLAG_TBI@GOTPAGE
Lloh95:
ldr x8, [x8, _NGE_FLAG_TBI@GOTPAGEOFF]
Lloh96:
ldr w8, [x8]
ldr w9, [x20, #28]
orr w8, w9, w8
str w8, [x20, #28]
Lloh97:
adrp x1, l_.str.5@PAGE
Lloh98:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _device_printf
Lloh99:
adrp x8, _NGE_GPIO@GOTPAGE
Lloh100:
ldr x8, [x8, _NGE_GPIO@GOTPAGEOFF]
Lloh101:
ldr w23, [x8]
mov x0, x20
mov x1, x23
bl _CSR_READ_4
Lloh102:
adrp x8, _NGE_GPIO_GP4_OUT@GOTPAGE
Lloh103:
ldr x8, [x8, _NGE_GPIO_GP4_OUT@GOTPAGEOFF]
Lloh104:
ldr w8, [x8]
orr w8, w8, w0
Lloh105:
adrp x9, _NGE_GPIO_GP1_OUTENB@GOTPAGE
Lloh106:
ldr x9, [x9, _NGE_GPIO_GP1_OUTENB@GOTPAGEOFF]
Lloh107:
ldr w9, [x9]
orr w8, w8, w9
Lloh108:
adrp x9, _NGE_GPIO_GP2_OUTENB@GOTPAGE
Lloh109:
ldr x9, [x9, _NGE_GPIO_GP2_OUTENB@GOTPAGEOFF]
Lloh110:
ldr w9, [x9]
orr w8, w8, w9
Lloh111:
adrp x9, _NGE_GPIO_GP3_OUTENB@GOTPAGE
Lloh112:
ldr x9, [x9, _NGE_GPIO_GP3_OUTENB@GOTPAGEOFF]
Lloh113:
ldr w9, [x9]
orr w8, w8, w9
Lloh114:
adrp x9, _NGE_GPIO_GP3_IN@GOTPAGE
Lloh115:
ldr x9, [x9, _NGE_GPIO_GP3_IN@GOTPAGEOFF]
Lloh116:
ldr w9, [x9]
orr w8, w8, w9
Lloh117:
adrp x9, _NGE_GPIO_GP4_IN@GOTPAGE
Lloh118:
ldr x9, [x9, _NGE_GPIO_GP4_IN@GOTPAGEOFF]
Lloh119:
ldr w9, [x9]
orr w2, w8, w9
mov x0, x20
mov x1, x23
bl _CSR_WRITE_4
LBB0_22:
add x1, x20, #24
Lloh120:
adrp x8, _nge_mediachange@GOTPAGE
Lloh121:
ldr x8, [x8, _nge_mediachange@GOTPAGEOFF]
Lloh122:
ldr w3, [x8]
Lloh123:
adrp x8, _nge_mediastatus@GOTPAGE
Lloh124:
ldr x8, [x8, _nge_mediastatus@GOTPAGEOFF]
Lloh125:
ldr w4, [x8]
Lloh126:
adrp x8, _BMSR_DEFCAPMASK@GOTPAGE
Lloh127:
ldr x8, [x8, _BMSR_DEFCAPMASK@GOTPAGEOFF]
Lloh128:
ldr w5, [x8]
Lloh129:
adrp x8, _MII_PHY_ANY@GOTPAGE
Lloh130:
ldr x8, [x8, _MII_PHY_ANY@GOTPAGEOFF]
Lloh131:
ldr w6, [x8]
Lloh132:
adrp x8, _MII_OFFSET_ANY@GOTPAGE
Lloh133:
ldr x8, [x8, _MII_OFFSET_ANY@GOTPAGEOFF]
Lloh134:
ldr w7, [x8]
str wzr, [sp, #-16]!
mov x0, x19
mov x2, x22
bl _mii_attach
add sp, sp, #16
cbz w0, LBB0_24
; %bb.23:
mov x23, x0
Lloh135:
adrp x1, l_.str.6@PAGE
Lloh136:
add x1, x1, l_.str.6@PAGEOFF
b LBB0_26
LBB0_24:
mov x0, x22
mov x1, x21
bl _ether_ifattach
Lloh137:
adrp x8, _IFCAP_VLAN_MTU@GOTPAGE
Lloh138:
ldr x8, [x8, _IFCAP_VLAN_MTU@GOTPAGEOFF]
Lloh139:
ldr w8, [x8]
Lloh140:
adrp x9, _IFCAP_VLAN_HWTAGGING@GOTPAGE
Lloh141:
ldr x9, [x9, _IFCAP_VLAN_HWTAGGING@GOTPAGEOFF]
Lloh142:
ldr w9, [x9]
orr w8, w9, w8
ldr w9, [x22, #4]
orr w8, w8, w9
Lloh143:
adrp x9, _IFCAP_VLAN_HWCSUM@GOTPAGE
Lloh144:
ldr x9, [x9, _IFCAP_VLAN_HWCSUM@GOTPAGEOFF]
Lloh145:
ldr w9, [x9]
orr w8, w9, w8
stp w8, w8, [x22, #4]
mov w8, #4
str w8, [x22, #12]
ldr x1, [x20, #16]
Lloh146:
adrp x8, _INTR_TYPE_NET@GOTPAGE
Lloh147:
ldr x8, [x8, _INTR_TYPE_NET@GOTPAGEOFF]
Lloh148:
ldr w8, [x8]
Lloh149:
adrp x9, _INTR_MPSAFE@GOTPAGE
Lloh150:
ldr x9, [x9, _INTR_MPSAFE@GOTPAGEOFF]
Lloh151:
ldr w9, [x9]
orr w2, w9, w8
Lloh152:
adrp x8, _nge_intr@GOTPAGE
Lloh153:
ldr x8, [x8, _nge_intr@GOTPAGEOFF]
Lloh154:
ldr w4, [x8]
add x6, x20, #12
mov x0, x19
mov x3, #0
mov x5, x20
bl _bus_setup_intr
mov x23, x0
cbz w0, LBB0_12
; %bb.25:
Lloh155:
adrp x1, l_.str.7@PAGE
Lloh156:
add x1, x1, l_.str.7@PAGEOFF
LBB0_26:
mov x0, x19
bl _device_printf
b LBB0_11
LBB0_27:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh83, Lloh84
.loh AdrpLdrGot Lloh81, Lloh82
.loh AdrpLdrGotLdr Lloh85, Lloh86, Lloh87
.loh AdrpLdrGotLdr Lloh91, Lloh92, Lloh93
.loh AdrpLdrGotLdr Lloh88, Lloh89, Lloh90
.loh AdrpLdrGotLdr Lloh117, Lloh118, Lloh119
.loh AdrpLdrGotLdr Lloh114, Lloh115, Lloh116
.loh AdrpLdrGotLdr Lloh111, Lloh112, Lloh113
.loh AdrpLdrGotLdr Lloh108, Lloh109, Lloh110
.loh AdrpLdrGotLdr Lloh105, Lloh106, Lloh107
.loh AdrpLdrGotLdr Lloh102, Lloh103, Lloh104
.loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101
.loh AdrpAdd Lloh97, Lloh98
.loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh96
.loh AdrpLdrGotLdr Lloh132, Lloh133, Lloh134
.loh AdrpLdrGotLdr Lloh129, Lloh130, Lloh131
.loh AdrpLdrGotLdr Lloh126, Lloh127, Lloh128
.loh AdrpLdrGotLdr Lloh123, Lloh124, Lloh125
.loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122
.loh AdrpAdd Lloh135, Lloh136
.loh AdrpLdrGotLdr Lloh152, Lloh153, Lloh154
.loh AdrpLdrGotLdr Lloh149, Lloh150, Lloh151
.loh AdrpLdrGotLdr Lloh146, Lloh147, Lloh148
.loh AdrpLdrGotLdr Lloh143, Lloh144, Lloh145
.loh AdrpLdrGotLdr Lloh140, Lloh141, Lloh142
.loh AdrpLdrGotLdr Lloh137, Lloh138, Lloh139
.loh AdrpAdd Lloh155, Lloh156
.cfi_endproc
; -- End function
.comm _ETHER_ADDR_LEN,4,2 ; @ETHER_ADDR_LEN
.comm _SYS_RES_MEMORY,8,3 ; @SYS_RES_MEMORY
.comm _RF_ACTIVE,4,2 ; @RF_ACTIVE
.comm _SYS_RES_IOPORT,8,3 ; @SYS_RES_IOPORT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "couldn't allocate %s resources\n"
l_.str.1: ; @.str.1
.asciz "memory"
l_.str.2: ; @.str.2
.asciz "I/O"
.comm _ENXIO,4,2 ; @ENXIO
.comm _SYS_RES_IRQ,8,3 ; @SYS_RES_IRQ
.comm _RF_SHAREABLE,4,2 ; @RF_SHAREABLE
l_.str.3: ; @.str.3
.asciz "couldn't map interrupt\n"
.comm _PCIR_COMMAND,4,2 ; @PCIR_COMMAND
.comm _PCIM_CMD_MWRICEN,4,2 ; @PCIM_CMD_MWRICEN
.comm _NGE_EE_NODEADDR,4,2 ; @NGE_EE_NODEADDR
.comm _IFT_ETHER,4,2 ; @IFT_ETHER
l_.str.4: ; @.str.4
.asciz "can not allocate ifnet structure\n"
.comm _ENOSPC,4,2 ; @ENOSPC
.comm _IFF_BROADCAST,4,2 ; @IFF_BROADCAST
.comm _IFF_SIMPLEX,4,2 ; @IFF_SIMPLEX
.comm _IFF_MULTICAST,4,2 ; @IFF_MULTICAST
.comm _nge_ioctl,4,2 ; @nge_ioctl
.comm _nge_start,4,2 ; @nge_start
.comm _nge_init,4,2 ; @nge_init
.comm _NGE_TX_RING_CNT,8,3 ; @NGE_TX_RING_CNT
.comm _NGE_CSUM_FEATURES,4,2 ; @NGE_CSUM_FEATURES
.comm _IFCAP_HWCSUM,4,2 ; @IFCAP_HWCSUM
.comm _PCIY_PMG,4,2 ; @PCIY_PMG
.comm _IFCAP_WOL,4,2 ; @IFCAP_WOL
.comm _NGE_CFG,4,2 ; @NGE_CFG
.comm _NGE_CFG_TBI_EN,4,2 ; @NGE_CFG_TBI_EN
.comm _NGE_FLAG_TBI,4,2 ; @NGE_FLAG_TBI
l_.str.5: ; @.str.5
.asciz "Using TBI\n"
.comm _NGE_GPIO,4,2 ; @NGE_GPIO
.comm _NGE_GPIO_GP4_OUT,4,2 ; @NGE_GPIO_GP4_OUT
.comm _NGE_GPIO_GP1_OUTENB,4,2 ; @NGE_GPIO_GP1_OUTENB
.comm _NGE_GPIO_GP2_OUTENB,4,2 ; @NGE_GPIO_GP2_OUTENB
.comm _NGE_GPIO_GP3_OUTENB,4,2 ; @NGE_GPIO_GP3_OUTENB
.comm _NGE_GPIO_GP3_IN,4,2 ; @NGE_GPIO_GP3_IN
.comm _NGE_GPIO_GP4_IN,4,2 ; @NGE_GPIO_GP4_IN
.comm _nge_mediachange,4,2 ; @nge_mediachange
.comm _nge_mediastatus,4,2 ; @nge_mediastatus
.comm _BMSR_DEFCAPMASK,4,2 ; @BMSR_DEFCAPMASK
.comm _MII_PHY_ANY,4,2 ; @MII_PHY_ANY
.comm _MII_OFFSET_ANY,4,2 ; @MII_OFFSET_ANY
l_.str.6: ; @.str.6
.asciz "attaching PHYs failed\n"
.comm _IFCAP_VLAN_MTU,4,2 ; @IFCAP_VLAN_MTU
.comm _IFCAP_VLAN_HWTAGGING,4,2 ; @IFCAP_VLAN_HWTAGGING
.comm _IFCAP_VLAN_HWCSUM,4,2 ; @IFCAP_VLAN_HWCSUM
.comm _INTR_TYPE_NET,4,2 ; @INTR_TYPE_NET
.comm _INTR_MPSAFE,4,2 ; @INTR_MPSAFE
.comm _nge_intr,4,2 ; @nge_intr
l_.str.7: ; @.str.7
.asciz "couldn't set up irq\n"
.comm _IFCAP_POLLING,4,2 ; @IFCAP_POLLING
.no_dead_strip _nge_attach
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/nge/extr_if_nge.c_nge_attach.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function setup_handedness
_setup_handedness: ## @setup_handedness
.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 _has_usb
movq _isLeftHand@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _isLeftHand,4,2 ## @isLeftHand
.comm _EECONFIG_HANDEDNESS,4,2 ## @EECONFIG_HANDEDNESS
.no_dead_strip _setup_handedness
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function setup_handedness
_setup_handedness: ; @setup_handedness
.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 _has_usb
Lloh0:
adrp x8, _isLeftHand@GOTPAGE
Lloh1:
ldr x8, [x8, _isLeftHand@GOTPAGEOFF]
Lloh2:
str w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _isLeftHand,4,2 ; @isLeftHand
.comm _EECONFIG_HANDEDNESS,4,2 ; @EECONFIG_HANDEDNESS
.no_dead_strip _setup_handedness
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/helix/pico/extr_split_util.c_setup_handedness.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 config_input
LCPI0_0:
.quad 0xbfe0000000000000 ## double -0.5
LCPI0_1:
.quad 0x3ff0000000000000 ## double 1
LCPI0_2:
.quad 0x3fd0000000000000 ## double 0.25
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_config_input: ## @config_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
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, %r14
movq 8(%rdi), %rax
movq (%rax), %r15
cvtsi2sdl (%r15), %xmm0
movsd %xmm0, -48(%rbp) ## 8-byte Spill
movl (%rdi), %eax
cltd
idivl 8(%r15)
movl %eax, 4(%r15)
movl %eax, %edi
movl $8, %esi
callq _av_malloc_array
movq %rax, 16(%r15)
testq %rax, %rax
je LBB0_5
## %bb.1:
cmpl $0, 4(%r15)
movsd -48(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
jle LBB0_4
## %bb.2:
mulsd LCPI0_0(%rip), %xmm1
addsd LCPI0_1(%rip), %xmm1
xorl %r12d, %r12d
movq _M_PI@GOTPCREL(%rip), %r13
movsd %xmm1, -48(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl 8(%r15), %eax
imull %r12d, %eax
cltd
idivl (%r14)
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movl (%r13), %ebx
addsd LCPI0_2(%rip), %xmm0
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _fmod
imull %eax, %ebx
addl %ebx, %ebx
movl %ebx, %edi
callq _sin
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movsd -48(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _fabs
movsd -48(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movl $1, %ecx
subl %eax, %ecx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
mulsd -56(%rbp), %xmm0 ## 8-byte Folded Reload
addsd %xmm1, %xmm0
movq 16(%r15), %rax
movsd %xmm0, (%rax,%r12,8)
incq %r12
movslq 4(%r15), %rax
cmpq %rax, %r12
jl LBB0_3
LBB0_4:
movq $0, 24(%r15)
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _AVERROR ## TAILCALL
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _M_PI,4,2 ## @M_PI
.no_dead_strip _config_input
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function config_input
_config_input: ; @config_input
.cfi_startproc
; %bb.0:
stp d11, d10, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
.cfi_offset b10, -88
.cfi_offset b11, -96
mov x19, x0
ldr x8, [x0, #8]
ldr x20, [x8]
ldr s8, [x20]
ldr w8, [x0]
ldr w9, [x20, #8]
sdiv w0, w8, w9
str w0, [x20, #4]
mov w1, #8
bl _av_malloc_array
str x0, [x20, #16]
cbz x0, LBB0_5
; %bb.1:
ldr w8, [x20, #4]
cmp w8, #1
b.lt LBB0_4
; %bb.2:
mov x21, #0
sshll.2d v0, v8, #0
scvtf d0, d0
fmov d1, #-0.50000000
fmul d0, d0, d1
fmov d1, #1.00000000
fadd d8, d0, d1
Lloh0:
adrp x22, _M_PI@GOTPAGE
Lloh1:
ldr x22, [x22, _M_PI@GOTPAGEOFF]
fmov d10, #0.25000000
mov w23, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, #8]
mul w8, w8, w21
ldr w9, [x19]
sdiv w8, w8, w9
scvtf d0, w8
ldr w24, [x22]
fadd d0, d0, d10
fmov d1, #1.00000000
bl _fmod
mul w8, w24, w0
lsl w0, w8, #1
bl _sin
fmov d9, d0
fmov d0, d8
bl _fabs
sub w8, w23, w0
scvtf d0, w8
fmadd d0, d9, d0, d8
ldr x8, [x20, #16]
str d0, [x8, x21, lsl #3]
add x21, x21, #1
ldrsw x8, [x20, #4]
cmp x21, x8
b.lt LBB0_3
LBB0_4:
str xzr, [x20, #24]
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_5:
Lloh2:
adrp x8, _ENOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #96 ; 16-byte Folded Reload
b _AVERROR
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _M_PI,4,2 ; @M_PI
.no_dead_strip _config_input
.subsections_via_symbols
| AnghaBench/FFmpeg/libavfilter/extr_af_tremolo.c_config_input.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl ___bionic_libgcc_compat_symbols ## @__bionic_libgcc_compat_symbols
.p2align 4
___bionic_libgcc_compat_symbols:
.quad ___divdi3
.quad ___moddi3
.quad ___popcountsi2
.quad ___udivdi3
.quad ___umoddi3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __DATA,__data
.globl ___bionic_libgcc_compat_symbols ; @__bionic_libgcc_compat_symbols
.p2align 3
___bionic_libgcc_compat_symbols:
.quad ___divdi3
.quad ___moddi3
.quad ___popcountsi2
.quad ___udivdi3
.quad ___umoddi3
.subsections_via_symbols
| the_stack_data/1112310.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mt9m001_s_stream
_mt9m001_s_stream: ## @mt9m001_s_stream
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
xorl %ebx, %ebx
testl %esi, %esi
setne %bl
callq _v4l2_get_subdevdata
movq _MT9M001_OUTPUT_CONTROL@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
addl %ebx, %ebx
movq %rax, %rdi
movl %ebx, %edx
callq _reg_write
movq _EIO@GOTPCREL(%rip), %rcx
xorl %edx, %edx
subl (%rcx), %edx
sarq $63, %rax
andl %edx, %eax
## kill: def $eax killed $eax killed $rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MT9M001_OUTPUT_CONTROL,4,2 ## @MT9M001_OUTPUT_CONTROL
.comm _EIO,4,2 ## @EIO
.no_dead_strip _mt9m001_s_stream
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mt9m001_s_stream
_mt9m001_s_stream: ; @mt9m001_s_stream
.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, #0
cset w19, ne
bl _v4l2_get_subdevdata
Lloh0:
adrp x8, _MT9M001_OUTPUT_CONTROL@GOTPAGE
Lloh1:
ldr x8, [x8, _MT9M001_OUTPUT_CONTROL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
lsl w2, w19, #1
bl _reg_write
Lloh3:
adrp x8, _EIO@GOTPAGE
Lloh4:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
asr x9, x0, #63
neg w8, w8
and w0, w9, w8
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 _MT9M001_OUTPUT_CONTROL,4,2 ; @MT9M001_OUTPUT_CONTROL
.comm _EIO,4,2 ; @EIO
.no_dead_strip _mt9m001_s_stream
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/extr_mt9m001.c_mt9m001_s_stream.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wmt_clearbits
_wmt_clearbits: ## @wmt_clearbits
.cfi_startproc
## %bb.0:
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, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdi), %rdi
addq %rsi, %rdi
callq _readl_relaxed
notq %rbx
andq %rax, %rbx
addq (%r15), %r14
movq %rbx, %rdi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _writel_relaxed ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _wmt_clearbits
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wmt_clearbits
_wmt_clearbits: ; @wmt_clearbits
.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
ldr x8, [x0]
add x0, x8, x1
bl _readl_relaxed
bic x0, x0, x19
ldr x8, [x21]
add x1, x8, 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 _writel_relaxed
.cfi_endproc
; -- End function
.no_dead_strip _wmt_clearbits
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/vt8500/extr_pinctrl-wmt.c_wmt_clearbits.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function imx_uart_txint
_imx_uart_txint: ## @imx_uart_txint
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
movq %rsi, %rdi
callq _spin_lock
movq %rbx, %rdi
callq _imx_uart_transmit_buffer
movq %rbx, %rdi
callq _spin_unlock
movq _IRQ_HANDLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED
.no_dead_strip _imx_uart_txint
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function imx_uart_txint
_imx_uart_txint: ; @imx_uart_txint
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x0, x1
bl _spin_lock
mov x0, x19
bl _imx_uart_transmit_buffer
mov x0, x19
bl _spin_unlock
Lloh0:
adrp x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED
.no_dead_strip _imx_uart_txint
.subsections_via_symbols
| AnghaBench/linux/drivers/tty/serial/extr_imx.c_imx_uart_txint.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_filter_wildcard__flip ## -- Begin function test_filter_wildcard__flip
.p2align 4, 0x90
_test_filter_wildcard__flip: ## @test_filter_wildcard__flip
.cfi_startproc
## %bb.0:
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 _GIT_BUF_INIT@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq %rax, -32(%rbp)
movq _g_repo@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _GIT_FILTER_TO_ODB@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq L_.str(%rip), %rcx
leaq -40(%rbp), %rdi
xorl %edx, %edx
xorl %r9d, %r9d
callq _git_filter_list_load
movl %eax, %edi
callq _cl_git_pass
movq _input@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _DATA_LEN@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
leaq -48(%rbp), %r15
movq %r15, %rdi
callq _git_buf_put
movl %eax, %edi
callq _cl_git_pass
movq -40(%rbp), %rsi
leaq -32(%rbp), %r14
movq %r14, %rdi
movq %r15, %rdx
callq _git_filter_list_apply_to_data
movl %eax, %edi
callq _cl_git_pass
movl (%rbx), %edi
movl -32(%rbp), %esi
callq _cl_assert_equal_i
movq _flipped@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl -32(%rbp), %edx
movl -28(%rbp), %esi
callq _memcmp
xorl %edi, %edi
movl %eax, %esi
callq _cl_assert_equal_i
movq -40(%rbp), %rdi
callq _git_filter_list_free
movq %r14, %rdi
callq _git_buf_dispose
movq %r15, %rdi
callq _git_buf_dispose
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GIT_BUF_INIT,8,2 ## @GIT_BUF_INIT
.comm _g_repo,4,2 ## @g_repo
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hero-flip-foo"
.comm _GIT_FILTER_TO_ODB,4,2 ## @GIT_FILTER_TO_ODB
.comm _input,8,3 ## @input
.comm _DATA_LEN,4,2 ## @DATA_LEN
.comm _flipped,4,2 ## @flipped
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_filter_wildcard__flip ; -- Begin function test_filter_wildcard__flip
.p2align 2
_test_filter_wildcard__flip: ; @test_filter_wildcard__flip
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _GIT_BUF_INIT@GOTPAGE
Lloh1:
ldr x8, [x8, _GIT_BUF_INIT@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stp x8, x8, [sp, #8]
Lloh3:
adrp x8, _g_repo@GOTPAGE
Lloh4:
ldr x8, [x8, _g_repo@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x8, _GIT_FILTER_TO_ODB@GOTPAGE
Lloh7:
ldr x8, [x8, _GIT_FILTER_TO_ODB@GOTPAGEOFF]
Lloh8:
ldr w4, [x8]
Lloh9:
adrp x3, l_.str@PAGE
Lloh10:
add x3, x3, l_.str@PAGEOFF
add x0, sp, #24
mov x2, #0
mov w5, #0
bl _git_filter_list_load
bl _cl_git_pass
Lloh11:
adrp x8, _input@GOTPAGE
Lloh12:
ldr x8, [x8, _input@GOTPAGEOFF]
Lloh13:
ldr x1, [x8]
Lloh14:
adrp x19, _DATA_LEN@GOTPAGE
Lloh15:
ldr x19, [x19, _DATA_LEN@GOTPAGEOFF]
ldr w2, [x19]
add x0, sp, #16
bl _git_buf_put
bl _cl_git_pass
ldr x1, [sp, #24]
add x0, sp, #8
add x2, sp, #16
bl _git_filter_list_apply_to_data
bl _cl_git_pass
ldr w0, [x19]
ldr w1, [sp, #8]
bl _cl_assert_equal_i
Lloh16:
adrp x8, _flipped@GOTPAGE
Lloh17:
ldr x8, [x8, _flipped@GOTPAGEOFF]
Lloh18:
ldr w0, [x8]
ldp w2, w1, [sp, #8]
bl _memcmp
mov x1, x0
mov w0, #0
bl _cl_assert_equal_i
ldr x0, [sp, #24]
bl _git_filter_list_free
add x0, sp, #8
bl _git_buf_dispose
add x0, sp, #16
bl _git_buf_dispose
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _GIT_BUF_INIT,8,2 ; @GIT_BUF_INIT
.comm _g_repo,4,2 ; @g_repo
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hero-flip-foo"
.comm _GIT_FILTER_TO_ODB,4,2 ; @GIT_FILTER_TO_ODB
.comm _input,8,3 ; @input
.comm _DATA_LEN,4,2 ; @DATA_LEN
.comm _flipped,4,2 ; @flipped
.subsections_via_symbols
| AnghaBench/libgit2/tests/filter/extr_wildcard.c_test_filter_wildcard__flip.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/20449843.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rtl_tx_skb_cb_info
_rtl_tx_skb_cb_info: ## @rtl_tx_skb_cb_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
callq _IEEE80211_SKB_CB
movq %rax, %rbx
xorl %edi, %edi
callq _BUILD_BUG_ON
movq (%rbx), %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _rtl_tx_skb_cb_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rtl_tx_skb_cb_info
_rtl_tx_skb_cb_info: ; @rtl_tx_skb_cb_info
.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 _IEEE80211_SKB_CB
mov x19, x0
mov w0, #0
bl _BUILD_BUG_ON
ldr 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
.no_dead_strip _rtl_tx_skb_cb_info
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_..wifi.h_rtl_tx_skb_cb_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function max6621_volatile_reg
_max6621_volatile_reg: ## @max6621_volatile_reg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl $-128, %esi
xorl %eax, %eax
cmpl $14, %esi
setb %al
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _max6621_volatile_reg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function max6621_volatile_reg
_max6621_volatile_reg: ; @max6621_volatile_reg
.cfi_startproc
; %bb.0:
sub w8, w1, #128
cmp w8, #14
cset w0, lo
ret
.cfi_endproc
; -- End function
.no_dead_strip _max6621_volatile_reg
.subsections_via_symbols
| AnghaBench/linux/drivers/hwmon/extr_max6621.c_max6621_volatile_reg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ui2a
_ui2a: ## @ui2a
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
.cfi_offset %rbx, -24
movl %edx, %r9d
movl %edi, %r8d
movl $1, %edi
cmpl %esi, %r8d
jb LBB0_4
## %bb.1:
movl $1, %edi
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
imull %esi, %edi
movl %r8d, %eax
xorl %edx, %edx
divl %edi
cmpl %esi, %eax
jae LBB0_2
## %bb.3:
testl %edi, %edi
je LBB0_11
LBB0_4:
xorl %r10d, %r10d
testl %r9d, %r9d
sete %r10b
shll $5, %r10d
addl $55, %r10d
xorl %ebx, %ebx
movl $48, %r11d
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
cmpl $10, %r9d
movl %r10d, %edx
cmovll %r11d, %edx
addl %r9d, %edx
movb %dl, (%rcx)
incq %rcx
incl %ebx
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
cmpl %esi, %edi
movl %eax, %edi
jb LBB0_11
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl %r8d, %eax
xorl %edx, %edx
divl %edi
movl %eax, %r9d
movl %edx, %r8d
movl %edi, %eax
xorl %edx, %edx
divl %esi
testl %ebx, %ebx
jne LBB0_9
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
testl %r9d, %r9d
jg LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
cmpl %esi, %edi
jb LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
xorl %ebx, %ebx
jmp LBB0_10
LBB0_11:
movb $0, (%rcx)
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ui2a
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ui2a
_ui2a: ; @ui2a
.cfi_startproc
; %bb.0:
mov w8, #1
cmp w0, w1
b.lo LBB0_3
LBB0_1: ; =>This Inner Loop Header: Depth=1
mul w8, w8, w1
udiv w9, w0, w8
cmp w9, w1
b.hs LBB0_1
; %bb.2:
cbz w8, LBB0_10
LBB0_3:
mov w9, #0
mov w10, #55
mov w11, #87
cmp w2, #0
csel w10, w11, w10, eq
mov w11, #48
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
cmp w12, #10
csel w13, w11, w10, lt
add w13, w13, w12
strb w13, [x3], #1
add w9, w9, #1
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
msub w0, w12, w8, w0
udiv w12, w8, w1
cmp w8, w1
mov x8, x12
b.lo LBB0_10
LBB0_6: ; =>This Inner Loop Header: Depth=1
udiv w12, w0, w8
cbnz w9, LBB0_4
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
cmp w12, #0
b.gt LBB0_4
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
cmp w8, w1
b.lo LBB0_4
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
mov w9, #0
b LBB0_5
LBB0_10:
strb wzr, [x3]
ret
.cfi_endproc
; -- End function
.no_dead_strip _ui2a
.subsections_via_symbols
| AnghaBench/raspberry-pi-os/exercises/lesson03/2/bl4ckout31/src/extr_printf.c_ui2a.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _fdt_string_eq
__fdt_string_eq: ## @_fdt_string_eq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r15d
movq %rdx, %r14
callq _fdt_string
movq %rax, %rbx
movq %rax, %rdi
callq _strlen
movl %eax, %ecx
xorl %eax, %eax
cmpl %r15d, %ecx
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq _memcmp
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
sete %al
LBB0_2:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip __fdt_string_eq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _fdt_string_eq
__fdt_string_eq: ; @_fdt_string_eq
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
bl _fdt_string
mov x21, x0
bl _strlen
cmp w0, w19
b.ne LBB0_2
; %bb.1:
mov x0, x21
mov x1, x20
mov x2, x19
bl _memcmp
cmp x0, #0
cset w0, eq
b LBB0_3
LBB0_2:
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip __fdt_string_eq
.subsections_via_symbols
| AnghaBench/freebsd/contrib/dtc/libfdt/extr_fdt_ro.c__fdt_string_eq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mv64x60_mc_check
_mv64x60_mc_check: ## @mv64x60_mc_check
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq 8(%rdi), %r12
movq _MV64X60_SDRAM_ERR_ADDR@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%r12), %rdi
callq _in_le32
testl %eax, %eax
je LBB0_5
## %bb.1:
movl %eax, %ebx
movl %eax, %r13d
andl $-4, %ebx
movq _MV64X60_SDRAM_ERR_ECC_RCVD@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%r12), %rdi
callq _in_le32
movl %eax, %r15d
movq _MV64X60_SDRAM_ERR_ECC_CALC@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%r12), %rdi
callq _in_le32
testb $1, %r13b
jne LBB0_3
## %bb.2:
xorl %r15d, %eax
movq _PAGE_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
movl %ebx, %esi
sarl %cl, %esi
movq _PAGE_MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %ebx
movl (%r14), %ecx
movl %ecx, (%rsp)
movq %r14, %rdi
movl %ebx, %edx
movl %eax, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _edac_mc_handle_ce
jmp LBB0_4
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movq _PAGE_SHIFT@GOTPCREL(%rip), %rax
movb (%rax), %cl
movl %ebx, %esi
sarl %cl, %esi
movq _PAGE_MASK@GOTPCREL(%rip), %rax
andl (%rax), %ebx
movl (%r14), %r8d
movq %r14, %rdi
movl %ebx, %edx
xorl %ecx, %ecx
callq _edac_mc_handle_ue
LBB0_4:
movq _MV64X60_SDRAM_ERR_ADDR@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%r12), %rdi
xorl %esi, %esi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _out_le32 ## TAILCALL
.cfi_endproc
## -- End function
.comm _MV64X60_SDRAM_ERR_ADDR,8,3 ## @MV64X60_SDRAM_ERR_ADDR
.comm _MV64X60_SDRAM_ERR_ECC_RCVD,8,3 ## @MV64X60_SDRAM_ERR_ECC_RCVD
.comm _MV64X60_SDRAM_ERR_ECC_CALC,8,3 ## @MV64X60_SDRAM_ERR_ECC_CALC
.comm _PAGE_SHIFT,4,2 ## @PAGE_SHIFT
.comm _PAGE_MASK,4,2 ## @PAGE_MASK
.no_dead_strip _mv64x60_mc_check
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mv64x60_mc_check
_mv64x60_mc_check: ; @mv64x60_mc_check
.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 x22, [x0, #8]
ldr x8, [x22]
Lloh0:
adrp x23, _MV64X60_SDRAM_ERR_ADDR@GOTPAGE
Lloh1:
ldr x23, [x23, _MV64X60_SDRAM_ERR_ADDR@GOTPAGEOFF]
ldr x9, [x23]
add x0, x9, x8
bl _in_le32
cbz w0, LBB0_3
; %bb.1:
mov x20, x0
and w24, w0, #0xfffffffc
ldr x8, [x22]
Lloh2:
adrp x9, _MV64X60_SDRAM_ERR_ECC_RCVD@GOTPAGE
Lloh3:
ldr x9, [x9, _MV64X60_SDRAM_ERR_ECC_RCVD@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
add x0, x9, x8
bl _in_le32
mov x21, x0
ldr x8, [x22]
Lloh5:
adrp x9, _MV64X60_SDRAM_ERR_ECC_CALC@GOTPAGE
Lloh6:
ldr x9, [x9, _MV64X60_SDRAM_ERR_ECC_CALC@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
add x0, x9, x8
bl _in_le32
tbnz w20, #0, LBB0_4
; %bb.2:
eor w3, w0, w21
Lloh8:
adrp x8, _PAGE_SHIFT@GOTPAGE
Lloh9:
ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
asr w1, w24, w8
Lloh11:
adrp x8, _PAGE_MASK@GOTPAGE
Lloh12:
ldr x8, [x8, _PAGE_MASK@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
and w2, w8, w24
ldr w6, [x19]
mov x0, x19
mov w4, #0
mov w5, #0
bl _edac_mc_handle_ce
b LBB0_5
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_4:
Lloh14:
adrp x8, _PAGE_SHIFT@GOTPAGE
Lloh15:
ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
asr w1, w24, w8
Lloh17:
adrp x8, _PAGE_MASK@GOTPAGE
Lloh18:
ldr x8, [x8, _PAGE_MASK@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
and w2, w8, w24
ldr w4, [x19]
mov x0, x19
mov w3, #0
bl _edac_mc_handle_ue
LBB0_5:
ldr x8, [x22]
ldr x9, [x23]
add x0, x9, x8
mov w1, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _out_le32
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _MV64X60_SDRAM_ERR_ADDR,8,3 ; @MV64X60_SDRAM_ERR_ADDR
.comm _MV64X60_SDRAM_ERR_ECC_RCVD,8,3 ; @MV64X60_SDRAM_ERR_ECC_RCVD
.comm _MV64X60_SDRAM_ERR_ECC_CALC,8,3 ; @MV64X60_SDRAM_ERR_ECC_CALC
.comm _PAGE_SHIFT,4,2 ; @PAGE_SHIFT
.comm _PAGE_MASK,4,2 ; @PAGE_MASK
.no_dead_strip _mv64x60_mc_check
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/edac/extr_mv64x60_edac.c_mv64x60_mc_check.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_rnn_token_data ## -- Begin function get_rnn_token_data
.p2align 4, 0x90
_get_rnn_token_data: ## @get_rnn_token_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, -64(%rbp) ## 4-byte Spill
movq %rcx, %r12
movl %edx, %ebx
movq %rsi, %r13
movq %rdi, -96(%rbp) ## 8-byte Spill
movl %r8d, %r15d
imull %edx, %r15d
movl %r15d, %r14d
movl %r9d, -44(%rbp) ## 4-byte Spill
imull %r9d, %r14d
movl %r14d, %edi
movl $4, %esi
callq _calloc
movq %rax, -88(%rbp) ## 8-byte Spill
movl %r14d, %edi
movl $4, %esi
callq _calloc
movq -96(%rbp), %r8 ## 8-byte Reload
movq %rax, -80(%rbp) ## 8-byte Spill
movl -64(%rbp), %eax ## 4-byte Reload
testl %eax, %eax
jle LBB0_17
## %bb.1:
movl %ebx, %r10d
movl %eax, %eax
movq %rax, -104(%rbp) ## 8-byte Spill
movslq %r15d, %rax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
movq %r13, -112(%rbp) ## 8-byte Spill
movl %ebx, -68(%rbp) ## 4-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
incq %r14
movq -56(%rbp), %rax ## 8-byte Reload
addl %r10d, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
cmpq -104(%rbp), %r14 ## 8-byte Folded Reload
je LBB0_17
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jle LBB0_16
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movslq -56(%rbp), %r15 ## 4-byte Folded Reload
movl -44(%rbp), %esi ## 4-byte Reload
jmp LBB0_4
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_4 Depth=2
leaq L_.str(%rip), %rdi
movq %r8, %rbx
movl %esi, %r13d
callq _error
movl %r13d, %esi
movq %rbx, %r8
movl -68(%rbp), %r10d ## 4-byte Reload
movq -112(%rbp), %r13 ## 8-byte Reload
LBB0_15: ## in Loop: Header=BB0_4 Depth=2
addq -64(%rbp), %r15 ## 8-byte Folded Reload
decl %esi
je LBB0_16
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r13,%r14,8), %rcx
movq %rcx, %rax
orq %r12, %rax
shrq $32, %rax
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
movq %rcx, %rax
xorl %edx, %edx
divq %r12
jmp LBB0_7
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_4 Depth=2
movl %ecx, %eax
xorl %edx, %edx
divl %r12d
## kill: def $edx killed $edx def $rdx
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
movslq (%r8,%rdx,4), %rbx
incq %rcx
movq %rcx, %rax
orq %r12, %rax
shrq $32, %rax
je LBB0_8
## %bb.9: ## in Loop: Header=BB0_4 Depth=2
movq %rcx, %rax
xorl %edx, %edx
divq %r12
jmp LBB0_10
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_4 Depth=2
movl %ecx, %eax
xorl %edx, %edx
divl %r12d
## kill: def $edx killed $edx def $rdx
LBB0_10: ## in Loop: Header=BB0_4 Depth=2
movslq (%r8,%rdx,4), %rax
movq %rbx, %rcx
addq %r15, %rcx
movq -88(%rbp), %rdi ## 8-byte Reload
movl $1065353216, (%rdi,%rcx,4) ## imm = 0x3F800000
leaq (%r15,%rax), %rcx
movq -80(%rbp), %rdi ## 8-byte Reload
movl $1065353216, (%rdi,%rcx,4) ## imm = 0x3F800000
movq %rdx, (%r13,%r14,8)
cmpl %r10d, %ebx
jge LBB0_14
## %bb.11: ## in Loop: Header=BB0_4 Depth=2
testl %ebx, %ebx
js LBB0_14
## %bb.12: ## in Loop: Header=BB0_4 Depth=2
cmpl %r10d, %eax
jge LBB0_14
## %bb.13: ## in Loop: Header=BB0_4 Depth=2
testl %eax, %eax
jns LBB0_15
jmp LBB0_14
LBB0_17:
movq -88(%rbp), %rax ## 8-byte Reload
movq -80(%rbp), %rdx ## 8-byte Reload
addq $72, %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 "Bad char"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_rnn_token_data ; -- Begin function get_rnn_token_data
.p2align 2
_get_rnn_token_data: ; @get_rnn_token_data
.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 x26, x4
mov x20, x3
mov x21, x2
mov x22, x1
mov x23, x0
mul w19, w4, w2
str w5, [sp, #12] ; 4-byte Folded Spill
mul w25, w19, w5
mov x0, x25
mov w1, #4
bl _calloc
str x0, [sp, #24] ; 8-byte Folded Spill
mov x0, x25
mov w1, #4
bl _calloc
mov x25, x0
cmp w26, #1
b.lt LBB0_11
; %bb.1:
mov w8, #0
mov x27, #0
sxtw x28, w19
mov w9, w26
str x9, [sp] ; 8-byte Folded Spill
mov w19, #1065353216
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x27, x27, #1
ldr x8, [sp, #16] ; 8-byte Folded Reload
add w8, w8, w21
ldr x9, [sp] ; 8-byte Folded Reload
cmp x27, x9
b.eq LBB0_11
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
sxtw x8, w8
str x8, [sp, #16] ; 8-byte Folded Spill
ldr w8, [sp, #12] ; 4-byte Folded Reload
cmp w8, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x26, [sp, #16] ; 8-byte Folded Reload
ldr w24, [sp, #12] ; 4-byte Folded Reload
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=2
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _error
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
add x26, x26, x28
subs w24, w24, #1
b.eq LBB0_2
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
lsl x10, x27, #3
ldr x8, [x22, x10]
udiv x9, x8, x20
msub x9, x9, x20, x8
ldrsw x9, [x23, x9, lsl #2]
add x8, x8, #1
udiv x11, x8, x20
msub x11, x11, x20, x8
ldrsw x8, [x23, x11, lsl #2]
add x12, x26, x9
ldr x13, [sp, #24] ; 8-byte Folded Reload
str w19, [x13, x12, lsl #2]
add x12, x26, x8
str w19, [x25, x12, lsl #2]
str x11, [x22, x10]
cmp w9, w21
b.ge LBB0_5
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
tbnz w9, #31, LBB0_5
; %bb.9: ; in Loop: Header=BB0_7 Depth=2
cmp w8, w21
b.ge LBB0_5
; %bb.10: ; in Loop: Header=BB0_7 Depth=2
tbz w8, #31, LBB0_6
b LBB0_5
LBB0_11:
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x1, x25
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
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Bad char"
.subsections_via_symbols
| AnghaBench/darknet/examples/extr_rnn.c_get_rnn_token_data.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
jmp LBB0_1
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
callq _putchar
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
shll $24, %eax
movl $32, %edi
cmpl $536870912, %eax ## imm = 0x20000000
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $167772160, %eax ## imm = 0xA000000
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
sarl $24, %eax
incl %eax
movl %eax, %edi
jmp LBB0_4
LBB0_5:
movl $10, %edi
callq _putchar
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp 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 w19, #536870912
mov w20, #167772160
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
mov w0, #32
bl _putchar
LBB0_2: ; =>This Inner Loop Header: Depth=1
bl _getchar
lsl w8, w0, #24
cmp w8, w19
b.eq LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cmp w8, w20
b.eq LBB0_5
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
asr w8, w8, #24
add w0, w8, #1
bl _putchar
b LBB0_2
LBB0_5:
mov w0, #10
bl _putchar
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/103265058.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rsu_site_survey
_rsu_site_survey: ## @rsu_site_survey
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _RSU_ASSERT_LOCKED
leaq -48(%rbp), %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
cmpq $0, 8(%rbx)
je LBB0_2
## %bb.1:
movl $1, %edi
callq _htole32
movq %rax, -32(%rbp)
LBB0_2:
movl $48, %edi
callq _htole32
movq %rax, -24(%rbp)
testq %r14, %r14
je LBB0_4
## %bb.3:
movl $1, (%rbx)
movl (%r14), %edi
callq _htole32
movq %rax, -48(%rbp)
movl -40(%rbp), %edi
movl (%r14), %edx
movl 4(%r14), %esi
callq _memcpy
LBB0_4:
movq _R92S_CMD_SITE_SURVEY@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -48(%rbp), %rdx
movq %rbx, %rdi
movl $32, %ecx
callq _rsu_fw_cmd
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _R92S_CMD_SITE_SURVEY,4,2 ## @R92S_CMD_SITE_SURVEY
.comm _RSU_DEBUG_FWCMD,4,2 ## @RSU_DEBUG_FWCMD
.comm _RSU_DEBUG_SCAN,4,2 ## @RSU_DEBUG_SCAN
.comm _rsu_debug,4,2 ## @rsu_debug
.no_dead_strip _rsu_site_survey
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rsu_site_survey
_rsu_site_survey: ; @rsu_site_survey
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
bl _RSU_ASSERT_LOCKED
mov x0, sp
mov w1, #0
mov w2, #32
bl _memset
ldr x8, [x19, #8]
cbz x8, LBB0_2
; %bb.1:
mov w0, #1
bl _htole32
str x0, [sp, #16]
LBB0_2:
mov w0, #48
bl _htole32
str x0, [sp, #24]
cbz x20, LBB0_4
; %bb.3:
mov w8, #1
str w8, [x19]
ldr w0, [x20]
bl _htole32
str x0, [sp]
ldr w0, [sp, #8]
ldp w2, w1, [x20]
bl _memcpy
LBB0_4:
Lloh0:
adrp x8, _R92S_CMD_SITE_SURVEY@GOTPAGE
Lloh1:
ldr x8, [x8, _R92S_CMD_SITE_SURVEY@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x2, sp
mov x0, x19
mov w3, #32
bl _rsu_fw_cmd
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _R92S_CMD_SITE_SURVEY,4,2 ; @R92S_CMD_SITE_SURVEY
.comm _RSU_DEBUG_FWCMD,4,2 ; @RSU_DEBUG_FWCMD
.comm _RSU_DEBUG_SCAN,4,2 ; @RSU_DEBUG_SCAN
.comm _rsu_debug,4,2 ; @rsu_debug
.no_dead_strip _rsu_site_survey
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rsu.c_rsu_site_survey.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function b43_do_interrupt
_b43_do_interrupt: ## @b43_do_interrupt
.cfi_startproc
## %bb.0:
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 _B43_MMIO_GEN_IRQ_REASON@GOTPCREL(%rip), %r15
movl (%r15), %esi
callq _b43_read32
movl %eax, %r14d
movq _IRQ_NONE@GOTPCREL(%rip), %rax
cmpl $-1, %r14d
je LBB0_3
## %bb.1:
andl (%rbx), %r14d
je LBB0_3
## %bb.2:
movq _B43_MMIO_DMA0_REASON@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _b43_read32
andl $130048, %eax ## imm = 0x1FC00
movq 8(%rbx), %rcx
movl %eax, (%rcx)
movq _B43_MMIO_DMA1_REASON@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _b43_read32
andl $56320, %eax ## imm = 0xDC00
movq 8(%rbx), %rcx
movl %eax, 4(%rcx)
movq _B43_MMIO_DMA2_REASON@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _b43_read32
andl $56320, %eax ## imm = 0xDC00
movq 8(%rbx), %rcx
movl %eax, 8(%rcx)
movq _B43_MMIO_DMA3_REASON@GOTPCREL(%rip), %r13
movl (%r13), %esi
movq %rbx, %rdi
callq _b43_read32
andl $121856, %eax ## imm = 0x1DC00
movq 8(%rbx), %rcx
movl %eax, 12(%rcx)
movq _B43_MMIO_DMA4_REASON@GOTPCREL(%rip), %r12
movl (%r12), %esi
movq %rbx, %rdi
callq _b43_read32
andl $56320, %eax ## imm = 0xDC00
movq 8(%rbx), %rcx
movl %eax, 16(%rcx)
movl (%r15), %esi
movq %rbx, %rdi
movl %r14d, %edx
callq _b43_write32
movq _B43_MMIO_DMA0_REASON@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq 8(%rbx), %rax
movl (%rax), %edx
movq %rbx, %rdi
callq _b43_write32
movq _B43_MMIO_DMA1_REASON@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq 8(%rbx), %rax
movl 4(%rax), %edx
movq %rbx, %rdi
callq _b43_write32
movq _B43_MMIO_DMA2_REASON@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq 8(%rbx), %rax
movl 8(%rax), %edx
movq %rbx, %rdi
callq _b43_write32
movl (%r13), %esi
movq 8(%rbx), %rax
movl 12(%rax), %edx
movq %rbx, %rdi
callq _b43_write32
movl (%r12), %esi
movq 8(%rbx), %rax
movl 16(%rax), %edx
movq %rbx, %rdi
callq _b43_write32
movq _B43_MMIO_GEN_IRQ_MASK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq _b43_write32
movl %r14d, 16(%rbx)
movq _IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _B43_MMIO_GEN_IRQ_REASON,4,2 ## @B43_MMIO_GEN_IRQ_REASON
.comm _IRQ_NONE,4,2 ## @IRQ_NONE
.comm _B43_MMIO_DMA0_REASON,4,2 ## @B43_MMIO_DMA0_REASON
.comm _B43_MMIO_DMA1_REASON,4,2 ## @B43_MMIO_DMA1_REASON
.comm _B43_MMIO_DMA2_REASON,4,2 ## @B43_MMIO_DMA2_REASON
.comm _B43_MMIO_DMA3_REASON,4,2 ## @B43_MMIO_DMA3_REASON
.comm _B43_MMIO_DMA4_REASON,4,2 ## @B43_MMIO_DMA4_REASON
.comm _B43_MMIO_GEN_IRQ_MASK,4,2 ## @B43_MMIO_GEN_IRQ_MASK
.comm _IRQ_WAKE_THREAD,4,2 ## @IRQ_WAKE_THREAD
.no_dead_strip _b43_do_interrupt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function b43_do_interrupt
_b43_do_interrupt: ; @b43_do_interrupt
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x21, _B43_MMIO_GEN_IRQ_REASON@GOTPAGE
Lloh1:
ldr x21, [x21, _B43_MMIO_GEN_IRQ_REASON@GOTPAGEOFF]
ldr w1, [x21]
bl _b43_read32
cmn w0, #1
b.eq LBB0_3
; %bb.1:
ldr w8, [x19]
ands w20, w8, w0
b.eq LBB0_3
; %bb.2:
Lloh2:
adrp x22, _B43_MMIO_DMA0_REASON@GOTPAGE
Lloh3:
ldr x22, [x22, _B43_MMIO_DMA0_REASON@GOTPAGEOFF]
ldr w1, [x22]
mov x0, x19
bl _b43_read32
and w8, w0, #0x1fc00
ldr x9, [x19, #8]
str w8, [x9]
Lloh4:
adrp x23, _B43_MMIO_DMA1_REASON@GOTPAGE
Lloh5:
ldr x23, [x23, _B43_MMIO_DMA1_REASON@GOTPAGEOFF]
ldr w1, [x23]
mov x0, x19
bl _b43_read32
mov w25, #56320
and w8, w0, w25
ldr x9, [x19, #8]
str w8, [x9, #4]
Lloh6:
adrp x24, _B43_MMIO_DMA2_REASON@GOTPAGE
Lloh7:
ldr x24, [x24, _B43_MMIO_DMA2_REASON@GOTPAGEOFF]
ldr w1, [x24]
mov x0, x19
bl _b43_read32
and w8, w0, w25
ldr x9, [x19, #8]
str w8, [x9, #8]
Lloh8:
adrp x26, _B43_MMIO_DMA3_REASON@GOTPAGE
Lloh9:
ldr x26, [x26, _B43_MMIO_DMA3_REASON@GOTPAGEOFF]
ldr w1, [x26]
mov x0, x19
bl _b43_read32
and w8, w0, #0x1fc00
and w8, w8, #0xffffdfff
ldr x9, [x19, #8]
str w8, [x9, #12]
Lloh10:
adrp x27, _B43_MMIO_DMA4_REASON@GOTPAGE
Lloh11:
ldr x27, [x27, _B43_MMIO_DMA4_REASON@GOTPAGEOFF]
ldr w1, [x27]
mov x0, x19
bl _b43_read32
and w8, w0, w25
ldr x9, [x19, #8]
str w8, [x9, #16]
ldr w1, [x21]
mov x0, x19
mov x2, x20
bl _b43_write32
ldr w1, [x22]
ldr x8, [x19, #8]
ldr w2, [x8]
mov x0, x19
bl _b43_write32
ldr w1, [x23]
ldr x8, [x19, #8]
ldr w2, [x8, #4]
mov x0, x19
bl _b43_write32
ldr w1, [x24]
ldr x8, [x19, #8]
ldr w2, [x8, #8]
mov x0, x19
bl _b43_write32
ldr w1, [x26]
ldr x8, [x19, #8]
ldr w2, [x8, #12]
mov x0, x19
bl _b43_write32
ldr w1, [x27]
ldr x8, [x19, #8]
ldr w2, [x8, #16]
mov x0, x19
bl _b43_write32
Lloh12:
adrp x8, _B43_MMIO_GEN_IRQ_MASK@GOTPAGE
Lloh13:
ldr x8, [x8, _B43_MMIO_GEN_IRQ_MASK@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x19
mov w2, #0
bl _b43_write32
str w20, [x19, #16]
Lloh15:
adrp x8, _IRQ_WAKE_THREAD@GOTPAGE
Lloh16:
ldr x8, [x8, _IRQ_WAKE_THREAD@GOTPAGEOFF]
b LBB0_4
LBB0_3:
Lloh17:
adrp x8, _IRQ_NONE@GOTPAGE
Lloh18:
ldr x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_4:
ldr w0, [x8]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _B43_MMIO_GEN_IRQ_REASON,4,2 ; @B43_MMIO_GEN_IRQ_REASON
.comm _IRQ_NONE,4,2 ; @IRQ_NONE
.comm _B43_MMIO_DMA0_REASON,4,2 ; @B43_MMIO_DMA0_REASON
.comm _B43_MMIO_DMA1_REASON,4,2 ; @B43_MMIO_DMA1_REASON
.comm _B43_MMIO_DMA2_REASON,4,2 ; @B43_MMIO_DMA2_REASON
.comm _B43_MMIO_DMA3_REASON,4,2 ; @B43_MMIO_DMA3_REASON
.comm _B43_MMIO_DMA4_REASON,4,2 ; @B43_MMIO_DMA4_REASON
.comm _B43_MMIO_GEN_IRQ_MASK,4,2 ; @B43_MMIO_GEN_IRQ_MASK
.comm _IRQ_WAKE_THREAD,4,2 ; @IRQ_WAKE_THREAD
.no_dead_strip _b43_do_interrupt
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_main.c_b43_do_interrupt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cleanup_sigint_signal_handler
_cleanup_sigint_signal_handler: ## @cleanup_sigint_signal_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _SIGINT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _handle_sigint@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _signal
movq _sigint_remote_twice_token@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_2
## %bb.1:
movq _sigint_remote_twice_token@GOTPCREL(%rip), %rdi
callq _delete_async_signal_handler
LBB0_2:
movq _sigint_remote_token@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_3
## %bb.4:
movq _sigint_remote_token@GOTPCREL(%rip), %rdi
popq %rbp
jmp _delete_async_signal_handler ## TAILCALL
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SIGINT,4,2 ## @SIGINT
.comm _handle_sigint,4,2 ## @handle_sigint
.comm _sigint_remote_twice_token,8,3 ## @sigint_remote_twice_token
.comm _sigint_remote_token,8,3 ## @sigint_remote_token
.no_dead_strip _cleanup_sigint_signal_handler
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cleanup_sigint_signal_handler
_cleanup_sigint_signal_handler: ; @cleanup_sigint_signal_handler
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _SIGINT@GOTPAGE
Lloh1:
ldr x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _handle_sigint@GOTPAGE
Lloh4:
ldr x8, [x8, _handle_sigint@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _signal
Lloh6:
adrp x8, _sigint_remote_twice_token@GOTPAGE
Lloh7:
ldr x8, [x8, _sigint_remote_twice_token@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cbz x8, LBB0_2
; %bb.1:
Lloh9:
adrp x0, _sigint_remote_twice_token@GOTPAGE
Lloh10:
ldr x0, [x0, _sigint_remote_twice_token@GOTPAGEOFF]
bl _delete_async_signal_handler
LBB0_2:
Lloh11:
adrp x8, _sigint_remote_token@GOTPAGE
Lloh12:
ldr x8, [x8, _sigint_remote_token@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
cbz x8, LBB0_4
; %bb.3:
Lloh14:
adrp x0, _sigint_remote_token@GOTPAGE
Lloh15:
ldr x0, [x0, _sigint_remote_token@GOTPAGEOFF]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _delete_async_signal_handler
LBB0_4:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _SIGINT,4,2 ; @SIGINT
.comm _handle_sigint,4,2 ; @handle_sigint
.comm _sigint_remote_twice_token,8,3 ; @sigint_remote_twice_token
.comm _sigint_remote_token,8,3 ; @sigint_remote_token
.no_dead_strip _cleanup_sigint_signal_handler
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_remote.c_cleanup_sigint_signal_handler.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ata_cable_ignore ## -- Begin function ata_cable_ignore
.p2align 4, 0x90
_ata_cable_ignore: ## @ata_cable_ignore
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _ATA_CBL_PATA_IGN@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ATA_CBL_PATA_IGN,4,2 ## @ATA_CBL_PATA_IGN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ata_cable_ignore ; -- Begin function ata_cable_ignore
.p2align 2
_ata_cable_ignore: ; @ata_cable_ignore
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _ATA_CBL_PATA_IGN@GOTPAGE
Lloh1:
ldr x8, [x8, _ATA_CBL_PATA_IGN@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ATA_CBL_PATA_IGN,4,2 ; @ATA_CBL_PATA_IGN
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_ata_cable_ignore.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __mthca_alloc_mtt
___mthca_alloc_mtt: ## @__mthca_alloc_mtt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testl %esi, %esi
jle LBB0_1
## %bb.2:
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $24, %edi
callq _kmalloc
movq _ENOMEM@GOTPCREL(%rip), %r13
testq %rax, %rax
je LBB0_8
## %bb.3:
movq %rax, %r12
movq %r14, 16(%rax)
movq $0, 8(%rax)
movl (%r15), %ecx
leal 7(%rcx), %eax
testl %ecx, %ecx
cmovnsl %ecx, %eax
sarl $3, %eax
xorl %esi, %esi
cmpl %ebx, %eax
jge LBB0_6
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
incq %rsi
addl %eax, %eax
cmpl %ebx, %eax
jl LBB0_4
## %bb.5:
movq %rsi, 8(%r12)
LBB0_6:
movq %r15, %rdi
movq %r14, %rdx
callq _mthca_alloc_mtt_range
movl %eax, (%r12)
cmpl $-1, %eax
je LBB0_7
## %bb.9:
movq %r12, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %r13
jmp LBB0_8
LBB0_7:
movq %r12, %rdi
callq _kfree
LBB0_8:
xorl %edi, %edi
subl (%r13), %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ERR_PTR ## TAILCALL
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip ___mthca_alloc_mtt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __mthca_alloc_mtt
___mthca_alloc_mtt: ; @__mthca_alloc_mtt
.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 w1, #1
b.lt LBB0_8
; %bb.1:
mov x19, x2
mov x22, x1
mov x21, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #24
bl _kmalloc
cbz x0, LBB0_10
; %bb.2:
mov x20, x0
mov x1, #0
stp xzr, x19, [x0, #8]
ldr w8, [x21]
add w9, w8, #7
cmp w8, #0
csel w8, w9, w8, lt
asr w8, w8, #3
cmp w8, w22
b.ge LBB0_6
; %bb.3:
mov x1, #0
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x1, x1, #1
lsl w8, w8, #1
cmp w8, w22
b.lt LBB0_4
; %bb.5:
str x1, [x20, #8]
LBB0_6:
mov x0, x21
mov x2, x19
bl _mthca_alloc_mtt_range
str w0, [x20]
cmn w0, #1
b.eq LBB0_9
; %bb.7:
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
LBB0_8:
Lloh3:
adrp x8, _EINVAL@GOTPAGE
Lloh4:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_11
LBB0_9:
mov x0, x20
bl _kfree
LBB0_10:
Lloh5:
adrp x8, _ENOMEM@GOTPAGE
Lloh6:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_11:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _ERR_PTR
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip ___mthca_alloc_mtt
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/mthca/extr_mthca_mr.c___mthca_alloc_mtt.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 filter_flt
LCPI0_0:
.quad 0x3ff4000000000000 ## double 1.25
LCPI0_7:
.quad 0x3ff8000000000000 ## double 1.5
.section __TEXT,__literal4,4byte_literals
.p2align 2
LCPI0_1:
.long 0x40a00000 ## float 5
LCPI0_2:
.long 0xbda7c5ac ## float -0.0819199979
LCPI0_3:
.long 0xc0000000 ## float -2
LCPI0_4:
.long 0x3f800000 ## float 1
LCPI0_5:
.long 0x40000000 ## float 2
LCPI0_6:
.long 0xbf800000 ## float -1
LCPI0_8:
.long 0x40400000 ## float 3
LCPI0_9:
.long 0xbe17a787 ## float -0.148100004
LCPI0_10:
.long 0x00000000 ## float 0
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_filter_flt: ## @filter_flt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -48(%rbp) ## 4-byte Spill
movq %rdx, -96(%rbp) ## 8-byte Spill
movq %rsi, -88(%rbp) ## 8-byte Spill
movq %rdi, -72(%rbp) ## 8-byte Spill
testl %r8d, %r8d
jle LBB0_48
## %bb.1:
movq -72(%rbp), %rax ## 8-byte Reload
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, -52(%rbp) ## 4-byte Spill
movl %r8d, %eax
movq %rax, -104(%rbp) ## 8-byte Spill
movl -48(%rbp), %r14d ## 4-byte Reload
movl %r14d, %eax
andl $-2, %eax
movq %rax, -80(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_2
LBB0_45: ## in Loop: Header=BB0_2 Depth=1
movss %xmm1, -44(%rbp) ## 4-byte Spill
callq _sqrtf
movss -44(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
LBB0_46: ## in Loop: Header=BB0_2 Depth=1
divss %xmm0, %xmm1
movss %xmm1, (%r13,%r15,4)
.p2align 4, 0x90
LBB0_47: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
incq %rcx
movq %rcx, %rax
movq %rcx, -64(%rbp) ## 8-byte Spill
cmpq -104(%rbp), %rcx ## 8-byte Folded Reload
je LBB0_48
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_31 Depth 2
## Child Loop BB0_24 Depth 2
## Child Loop BB0_20 Depth 2
## Child Loop BB0_17 Depth 2
## Child Loop BB0_10 Depth 2
## Child Loop BB0_6 Depth 2
## Child Loop BB0_27 Depth 2
movq -72(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %eax
addl $-128, %eax
cmpl $6, %eax
ja LBB0_47
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq -96(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %rdx ## 8-byte Reload
movq (%rcx,%rdx,8), %r12
movq -88(%rbp), %rcx ## 8-byte Reload
movq (%rcx,%rdx,8), %r13
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_25: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jle LBB0_47
## %bb.26: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_27: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movss (%r12,%rbx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -52(%rbp), %xmm0 ## 4-byte Folded Reload
callq _tanhf
movss %xmm0, (%r13,%rbx,4)
incq %rbx
cmpq %rbx, %r14
jne LBB0_27
jmp LBB0_47
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jle LBB0_47
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
jmp LBB0_6
.p2align 4, 0x90
LBB0_43: ## in Loop: Header=BB0_6 Depth=2
callq _sinf
LBB0_44: ## in Loop: Header=BB0_6 Depth=2
movss %xmm0, (%r13,%rbx,4)
incq %rbx
cmpq %rbx, %r14
je LBB0_47
LBB0_6: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movss (%r12,%rbx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _FFABS
movq _M_PI_2@GOTPCREL(%rip), %rax
ucomisd (%rax), %xmm0
movss (%r12,%rbx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
jb LBB0_43
## %bb.7: ## in Loop: Header=BB0_6 Depth=2
callq _FFSIGN
jmp LBB0_44
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jle LBB0_47
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
jmp LBB0_10
.p2align 4, 0x90
LBB0_41: ## in Loop: Header=BB0_10 Depth=2
movss %xmm0, -44(%rbp) ## 4-byte Spill
movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _powf
mulss LCPI0_2(%rip), %xmm0
addss -44(%rbp), %xmm0 ## 4-byte Folded Reload
LBB0_42: ## in Loop: Header=BB0_10 Depth=2
movss %xmm0, (%r13,%rbx,4)
incq %rbx
cmpq %rbx, %r14
je LBB0_47
LBB0_10: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movss (%r12,%rbx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _FFABS
ucomisd LCPI0_0(%rip), %xmm0
movss (%r12,%rbx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
jb LBB0_41
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
callq _FFSIGN
jmp LBB0_42
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jle LBB0_47
## %bb.16: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movss (%r12,%rbx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss LCPI0_3(%rip), %xmm0
callq _expf
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
addss LCPI0_4(%rip), %xmm0
movss LCPI0_5(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm0, %xmm1
addss LCPI0_6(%rip), %xmm1
movss %xmm1, (%r13,%rbx,4)
incq %rbx
cmpq %rbx, %r14
jne LBB0_17
jmp LBB0_47
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jle LBB0_47
## %bb.19: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
jmp LBB0_20
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_20 Depth=2
movss %xmm0, -44(%rbp) ## 4-byte Spill
movss LCPI0_8(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _powf
mulss LCPI0_9(%rip), %xmm0
addss -44(%rbp), %xmm0 ## 4-byte Folded Reload
LBB0_29: ## in Loop: Header=BB0_20 Depth=2
movss %xmm0, (%r13,%rbx,4)
incq %rbx
cmpq %rbx, %r14
je LBB0_47
LBB0_20: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movss (%r12,%rbx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _FFABS
ucomisd LCPI0_7(%rip), %xmm0
movss (%r12,%rbx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
jb LBB0_28
## %bb.21: ## in Loop: Header=BB0_20 Depth=2
callq _FFSIGN
jmp LBB0_29
LBB0_22: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jle LBB0_47
## %bb.23: ## in Loop: Header=BB0_2 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_24: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movss LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq _M_PI@GOTPCREL(%rip), %rax
divss (%rax), %xmm0
movss %xmm0, -44(%rbp) ## 4-byte Spill
movss (%r12,%rbx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -52(%rbp), %xmm0 ## 4-byte Folded Reload
callq _atanf
mulss -44(%rbp), %xmm0 ## 4-byte Folded Reload
movss %xmm0, (%r13,%rbx,4)
incq %rbx
cmpq %rbx, %r14
jne LBB0_24
jmp LBB0_47
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jle LBB0_47
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
cmpl $1, -48(%rbp) ## 4-byte Folded Reload
jne LBB0_30
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
xorl %r15d, %r15d
LBB0_38: ## in Loop: Header=BB0_2 Depth=1
testb $1, %r14b
je LBB0_47
## %bb.39: ## in Loop: Header=BB0_2 Depth=1
movss (%r12,%r15,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movaps %xmm1, %xmm0
mulss %xmm1, %xmm0
addss -52(%rbp), %xmm0 ## 4-byte Folded Reload
ucomiss LCPI0_10(%rip), %xmm0
jb LBB0_45
## %bb.40: ## in Loop: Header=BB0_2 Depth=1
sqrtss %xmm0, %xmm0
jmp LBB0_46
LBB0_30: ## in Loop: Header=BB0_2 Depth=1
xorl %r15d, %r15d
movq -80(%rbp), %rbx ## 8-byte Reload
jmp LBB0_31
.p2align 4, 0x90
LBB0_36: ## in Loop: Header=BB0_31 Depth=2
movss %xmm1, -44(%rbp) ## 4-byte Spill
callq _sqrtf
movss -44(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
LBB0_37: ## in Loop: Header=BB0_31 Depth=2
divss %xmm0, %xmm1
movss %xmm1, 4(%r13,%r15,4)
addq $2, %r15
cmpq %r15, %rbx
je LBB0_38
LBB0_31: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movss (%r12,%r15,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movaps %xmm1, %xmm0
mulss %xmm1, %xmm0
addss -52(%rbp), %xmm0 ## 4-byte Folded Reload
ucomiss LCPI0_10(%rip), %xmm0
jb LBB0_33
## %bb.32: ## in Loop: Header=BB0_31 Depth=2
sqrtss %xmm0, %xmm0
jmp LBB0_34
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_31 Depth=2
movss %xmm1, -44(%rbp) ## 4-byte Spill
callq _sqrtf
movss -44(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
LBB0_34: ## in Loop: Header=BB0_31 Depth=2
divss %xmm0, %xmm1
movss %xmm1, (%r13,%r15,4)
movss 4(%r12,%r15,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movaps %xmm1, %xmm0
mulss %xmm1, %xmm0
addss -52(%rbp), %xmm0 ## 4-byte Folded Reload
ucomiss LCPI0_10(%rip), %xmm0
jb LBB0_36
## %bb.35: ## in Loop: Header=BB0_31 Depth=2
sqrtss %xmm0, %xmm0
jmp LBB0_37
LBB0_48:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
.long L0_0_set_25
.long L0_0_set_4
.long L0_0_set_8
.long L0_0_set_15
.long L0_0_set_18
.long L0_0_set_22
.long L0_0_set_12
.end_data_region
## -- End function
.comm _M_PI,4,2 ## @M_PI
.comm _M_PI_2,8,3 ## @M_PI_2
.no_dead_strip _filter_flt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function filter_flt
_filter_flt: ; @filter_flt
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp d15, d14, [sp, #16] ; 16-byte Folded Spill
stp d13, d12, [sp, #32] ; 16-byte Folded Spill
stp d11, d10, [sp, #48] ; 16-byte Folded Spill
stp d9, d8, [sp, #64] ; 16-byte Folded Spill
stp x28, x27, [sp, #80] ; 16-byte Folded Spill
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
.cfi_offset b10, -120
.cfi_offset b11, -128
.cfi_offset b12, -136
.cfi_offset b13, -144
.cfi_offset b14, -152
.cfi_offset b15, -160
str x2, [sp, #8] ; 8-byte Folded Spill
cmp w4, #1
b.lt LBB0_31
; %bb.1:
mov x19, x3
mov x21, x1
mov x22, x0
mov x23, #0
ldr s9, [x0]
Lloh0:
adrp x24, _M_PI_2@GOTPAGE
Lloh1:
ldr x24, [x24, _M_PI_2@GOTPAGEOFF]
fmov d10, #1.25000000
mov w26, w4
fmov s11, #-2.00000000
fmov s12, #1.00000000
fmov s13, #2.00000000
mov w8, w3
str x8, [sp] ; 8-byte Folded Spill
fmov s14, #-1.00000000
fmov d15, #1.50000000
Lloh2:
adrp x25, _M_PI@GOTPAGE
Lloh3:
ldr x25, [x25, _M_PI@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x23, x23, #1
cmp x23, x26
b.eq LBB0_31
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_29 Depth 2
; Child Loop BB0_26 Depth 2
; Child Loop BB0_23 Depth 2
; Child Loop BB0_19 Depth 2
; Child Loop BB0_16 Depth 2
; Child Loop BB0_11 Depth 2
; Child Loop BB0_7 Depth 2
ldr w8, [x22, #4]
sub w8, w8, #128
cmp w8, #6
b.hi LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
lsl x9, x23, #3
ldr x10, [sp, #8] ; 8-byte Folded Reload
ldr x27, [x10, x9]
ldr x28, [x21, x9]
Lloh4:
adrp x11, lJTI0_0@PAGE
Lloh5:
add x11, x11, lJTI0_0@PAGEOFF
adr x9, LBB0_5
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
cmp w19, #1
b.lt LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr x20, [sp] ; 8-byte Folded Reload
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [x27], #4
fmul s0, s9, s0
bl _tanhf
str s0, [x28], #4
subs x20, x20, #1
b.ne LBB0_7
b LBB0_2
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldr x20, [sp] ; 8-byte Folded Reload
cmp w19, #1
b.ge LBB0_11
b LBB0_2
LBB0_9: ; in Loop: Header=BB0_11 Depth=2
bl _sinf
LBB0_10: ; in Loop: Header=BB0_11 Depth=2
str s0, [x28], #4
add x27, x27, #4
subs x20, x20, #1
b.eq LBB0_2
LBB0_11: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [x27]
bl _FFABS
fmov d1, d0
ldr d2, [x24]
ldr s0, [x27]
fcmp d1, d2
b.lt LBB0_9
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
bl _FFSIGN
b LBB0_10
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
ldr x20, [sp] ; 8-byte Folded Reload
cmp w19, #1
b.ge LBB0_16
b LBB0_2
LBB0_14: ; in Loop: Header=BB0_16 Depth=2
fmov s1, #5.00000000
fmov s0, s8
bl _powf
mov w8, #50604
movk w8, #48551, lsl #16
fmov s1, w8
fmadd s0, s0, s1, s8
LBB0_15: ; in Loop: Header=BB0_16 Depth=2
str s0, [x28], #4
add x27, x27, #4
subs x20, x20, #1
b.eq LBB0_2
LBB0_16: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [x27]
bl _FFABS
ldr s8, [x27]
fcmp d0, d10
b.lt LBB0_14
; %bb.17: ; in Loop: Header=BB0_16 Depth=2
fmov s0, s8
bl _FFSIGN
b LBB0_15
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
ldr x20, [sp] ; 8-byte Folded Reload
cmp w19, #1
b.lt LBB0_2
LBB0_19: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [x27], #4
fmul s0, s0, s11
bl _expf
scvtf s0, w0
fadd s0, s0, s12
fdiv s0, s13, s0
fadd s0, s0, s14
str s0, [x28], #4
subs x20, x20, #1
b.ne LBB0_19
b LBB0_2
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
ldr x20, [sp] ; 8-byte Folded Reload
cmp w19, #1
b.ge LBB0_23
b LBB0_2
LBB0_21: ; in Loop: Header=BB0_23 Depth=2
fmov s1, #3.00000000
fmov s0, s8
bl _powf
mov w8, #42887
movk w8, #48663, lsl #16
fmov s1, w8
fmadd s0, s0, s1, s8
LBB0_22: ; in Loop: Header=BB0_23 Depth=2
str s0, [x28], #4
add x27, x27, #4
subs x20, x20, #1
b.eq LBB0_2
LBB0_23: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [x27]
bl _FFABS
ldr s8, [x27]
fcmp d0, d15
b.lt LBB0_21
; %bb.24: ; in Loop: Header=BB0_23 Depth=2
fmov s0, s8
bl _FFSIGN
b LBB0_22
LBB0_25: ; in Loop: Header=BB0_3 Depth=1
ldr x20, [sp] ; 8-byte Folded Reload
cmp w19, #1
b.lt LBB0_2
LBB0_26: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr s1, [x25]
ldr s0, [x27], #4
fmul s0, s9, s0
fdiv s8, s13, s1
bl _atanf
fmul s0, s8, s0
str s0, [x28], #4
subs x20, x20, #1
b.ne LBB0_26
b LBB0_2
LBB0_27: ; in Loop: Header=BB0_3 Depth=1
ldr x20, [sp] ; 8-byte Folded Reload
cmp w19, #1
b.ge LBB0_29
b LBB0_2
LBB0_28: ; in Loop: Header=BB0_29 Depth=2
fmov s0, s1
bl _sqrtf
b LBB0_30
LBB0_29: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr s8, [x27]
fmadd s1, s8, s8, s9
fsqrt s0, s1
fcmp s0, s0
b.vs LBB0_28
LBB0_30: ; in Loop: Header=BB0_29 Depth=2
fdiv s0, s8, s0
str s0, [x28], #4
add x27, x27, #4
subs x20, x20, #1
b.ne LBB0_29
b LBB0_2
LBB0_31:
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
ldp d9, d8, [sp, #64] ; 16-byte Folded Reload
ldp d11, d10, [sp, #48] ; 16-byte Folded Reload
ldp d13, d12, [sp, #32] ; 16-byte Folded Reload
ldp d15, d14, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #176
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_5-LBB0_5)>>2
.byte (LBB0_8-LBB0_5)>>2
.byte (LBB0_13-LBB0_5)>>2
.byte (LBB0_18-LBB0_5)>>2
.byte (LBB0_20-LBB0_5)>>2
.byte (LBB0_25-LBB0_5)>>2
.byte (LBB0_27-LBB0_5)>>2
; -- End function
.comm _M_PI,4,2 ; @M_PI
.comm _M_PI_2,8,3 ; @M_PI_2
.no_dead_strip _filter_flt
.subsections_via_symbols
| AnghaBench/FFmpeg/libavfilter/extr_af_asoftclip.c_filter_flt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xilly_dma_sync_single_nop
_xilly_dma_sync_single_nop: ## @xilly_dma_sync_single_nop
.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 _xilly_dma_sync_single_nop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xilly_dma_sync_single_nop
_xilly_dma_sync_single_nop: ; @xilly_dma_sync_single_nop
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _xilly_dma_sync_single_nop
.subsections_via_symbols
| AnghaBench/linux/drivers/char/xillybus/extr_xillybus_of.c_xilly_dma_sync_single_nop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _saa7134_tvaudio_do_scan ## -- Begin function saa7134_tvaudio_do_scan
.p2align 4, 0x90
_saa7134_tvaudio_do_scan: ## @saa7134_tvaudio_do_scan
.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 40(%rdi), %rax
movq (%rax), %rax
movq _TV@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.3:
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.4:
movq _UNSET@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%rbx)
incl 20(%rbx)
cmpl $0, 32(%rbx)
jne LBB0_7
## %bb.5:
cmpl $0, 16(%rbx)
jne LBB0_7
## %bb.6:
callq _wake_up_process
jmp LBB0_7
LBB0_1:
leaq L_.str(%rip), %rdi
callq _dprintk
LBB0_2:
movq $0, (%rbx)
movq %rbx, %rdi
callq _saa7134_tvaudio_setmute
LBB0_7:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TV,8,3 ## @TV
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "sound IF not in use, skipping scan\n"
.comm _UNSET,4,2 ## @UNSET
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _saa7134_tvaudio_do_scan ; -- Begin function saa7134_tvaudio_do_scan
.p2align 2
_saa7134_tvaudio_do_scan: ; @saa7134_tvaudio_do_scan
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0, #40]
ldr x8, [x8]
Lloh0:
adrp x9, _TV@GOTPAGE
Lloh1:
ldr x9, [x9, _TV@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
; %bb.1:
ldr x0, [x19, #8]
cbz x0, LBB0_6
; %bb.2:
Lloh3:
adrp x8, _UNSET@GOTPAGE
Lloh4:
ldr x8, [x8, _UNSET@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [x19, #20]
add w9, w9, #1
stp w9, w8, [x19, #20]
ldr w8, [x19, #32]
cbnz w8, LBB0_7
; %bb.3:
ldr w8, [x19, #16]
cbnz w8, LBB0_7
; %bb.4:
bl _wake_up_process
b LBB0_7
LBB0_5:
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _dprintk
LBB0_6:
str xzr, [x19]
mov x0, x19
bl _saa7134_tvaudio_setmute
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _TV,8,3 ; @TV
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sound IF not in use, skipping scan\n"
.comm _UNSET,4,2 ; @UNSET
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/saa7134/extr_saa7134-tvaudio.c_saa7134_tvaudio_do_scan.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 nth_valueStepFunc
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_nth_valueStepFunc: ## @nth_valueStepFunc
.cfi_startproc
## %bb.0:
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 %rdx, %r12
movl %esi, %r14d
movq %rdi, %r15
movl $16, %esi
callq _sqlite3_aggregate_context
testq %rax, %rax
je LBB0_9
## %bb.1:
movq %rax, %rbx
movq 8(%r12), %rdi
callq _sqlite3_value_numeric_type
cmpl $129, %eax
je LBB0_4
## %bb.2:
cmpl $128, %eax
jne LBB0_10
## %bb.3:
movq 8(%r12), %rdi
callq _sqlite3_value_int64
jmp LBB0_5
LBB0_4:
movq 8(%r12), %rdi
callq _sqlite3_value_double
ucomisd %xmm0, %xmm0
jp LBB0_10
LBB0_5:
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jae LBB0_10
## %bb.6:
movsd (%rbx), %xmm1 ## xmm1 = mem[0],zero
addsd LCPI0_0(%rip), %xmm1
movsd %xmm1, (%rbx)
ucomisd %xmm1, %xmm0
jne LBB0_9
jp LBB0_9
## %bb.7:
movq (%r12), %rdi
callq _sqlite3_value_dup
movl %eax, 8(%rbx)
testl %eax, %eax
jne LBB0_9
## %bb.8:
movq %r15, %rdi
callq _sqlite3_result_error_nomem
LBB0_9:
movl %r14d, %edi
callq _UNUSED_PARAMETER
movl %r12d, %edi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _UNUSED_PARAMETER ## TAILCALL
LBB0_10:
leaq L_.str(%rip), %rsi
movq %r15, %rdi
movl $-1, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _sqlite3_result_error ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "second argument to nth_value must be a positive integer"
.no_dead_strip _nth_valueStepFunc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nth_valueStepFunc
_nth_valueStepFunc: ; @nth_valueStepFunc
.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
mov w1, #16
bl _sqlite3_aggregate_context
cbz x0, LBB0_9
; %bb.1:
mov x22, x0
ldr x0, [x19, #8]
bl _sqlite3_value_numeric_type
cmp w0, #129
b.eq LBB0_4
; %bb.2:
cmp w0, #128
b.ne LBB0_10
; %bb.3:
ldr x0, [x19, #8]
bl _sqlite3_value_int64
b LBB0_5
LBB0_4:
ldr x0, [x19, #8]
bl _sqlite3_value_double
fcmp d0, d0
b.vs LBB0_10
LBB0_5:
fcmp d0, #0.0
b.ls LBB0_10
; %bb.6:
ldr d1, [x22]
fmov d2, #1.00000000
fadd d1, d1, d2
str d1, [x22]
fcmp d0, d1
b.ne LBB0_9
; %bb.7:
ldr x0, [x19]
bl _sqlite3_value_dup
str w0, [x22, #8]
cbnz w0, LBB0_9
; %bb.8:
mov x0, x21
bl _sqlite3_result_error_nomem
LBB0_9:
mov x0, x20
bl _UNUSED_PARAMETER
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 _UNUSED_PARAMETER
LBB0_10:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
mov w2, #-1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _sqlite3_result_error
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "second argument to nth_value must be a positive integer"
.no_dead_strip _nth_valueStepFunc
.subsections_via_symbols
| AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_nth_valueStepFunc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qib_r_grab
_qib_r_grab: ## @qib_r_grab
.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 _SJA_EN@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _kr_r_access@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _qib_write_kreg
movq _kr_scratch@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _qib_read_kreg32
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SJA_EN,4,2 ## @SJA_EN
.comm _kr_r_access,4,2 ## @kr_r_access
.comm _kr_scratch,4,2 ## @kr_scratch
.no_dead_strip _qib_r_grab
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qib_r_grab
_qib_r_grab: ; @qib_r_grab
.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, _SJA_EN@GOTPAGE
Lloh1:
ldr x8, [x8, _SJA_EN@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x8, _kr_r_access@GOTPAGE
Lloh4:
ldr x8, [x8, _kr_r_access@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _qib_write_kreg
Lloh6:
adrp x8, _kr_scratch@GOTPAGE
Lloh7:
ldr x8, [x8, _kr_scratch@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x19
bl _qib_read_kreg32
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 _SJA_EN,4,2 ; @SJA_EN
.comm _kr_r_access,4,2 ; @kr_r_access
.comm _kr_scratch,4,2 ; @kr_scratch
.no_dead_strip _qib_r_grab
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_iba7322.c_qib_r_grab.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ixgbe_set_fw_drv_ver_generic ## -- Begin function ixgbe_set_fw_drv_ver_generic
.p2align 4, 0x90
_ixgbe_set_fw_drv_ver_generic: ## @ixgbe_set_fw_drv_ver_generic
.cfi_startproc
## %bb.0:
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 %r9d, %r13d
movq %r8, %r12
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rsi, %r15
movq %rdi, %r14
movq _IXGBE_SUCCESS@GOTPCREL(%rip), %rax
movq (%rax), %rbx
leaq L_.str(%rip), %rdi
callq _DEBUGFUNC
movl %r13d, %edi
movq 16(%rbp), %rsi
callq _UNREFERENCED_2PARAMETER
movq _FW_CEM_CMD_DRIVER_INFO@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -120(%rbp)
movq _FW_CEM_CMD_DRIVER_INFO_LEN@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq %rsi, -136(%rbp)
movq _FW_CEM_CMD_RESERVED@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -144(%rbp)
movq (%r14), %rax
movq %rax, -64(%rbp)
movq %r15, -72(%rbp)
movq -48(%rbp), %rax ## 8-byte Reload
movq %rax, -80(%rbp)
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, -88(%rbp)
movq %r12, -96(%rbp)
movq $0, -128(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -112(%rbp)
movq _FW_CEM_HDR_LEN@GOTPCREL(%rip), %rax
addq (%rax), %rsi
leaq -152(%rbp), %rdi
callq _ixgbe_calculate_checksum
movq %rax, -128(%rbp)
movq _FW_CEM_MAX_RETRIES@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
js LBB0_6
## %bb.1:
movl $-1, %r12d
movq _TRUE@GOTPCREL(%rip), %r13
leaq -152(%rbp), %r15
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq _IXGBE_HI_COMMAND_TIMEOUT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl (%r13), %r8d
movq %r14, %rdi
movq %r15, %rsi
movl $96, %edx
callq _ixgbe_host_interface_command
movq %rax, %rbx
movq _IXGBE_SUCCESS@GOTPCREL(%rip), %rax
cmpq (%rax), %rbx
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
incl %r12d
movq _FW_CEM_MAX_RETRIES@GOTPCREL(%rip), %rax
cmpl (%rax), %r12d
jl LBB0_3
jmp LBB0_6
LBB0_4:
movq -152(%rbp), %rax
movq _FW_CEM_RESP_STATUS_SUCCESS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_6
## %bb.5:
movq _IXGBE_ERR_HOST_INTERFACE_COMMAND@GOTPCREL(%rip), %rax
movq (%rax), %rbx
LBB0_6:
movq %rbx, %rax
addq $120, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IXGBE_SUCCESS,8,3 ## @IXGBE_SUCCESS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ixgbe_set_fw_drv_ver_generic"
.comm _FW_CEM_CMD_DRIVER_INFO,4,2 ## @FW_CEM_CMD_DRIVER_INFO
.comm _FW_CEM_CMD_DRIVER_INFO_LEN,8,3 ## @FW_CEM_CMD_DRIVER_INFO_LEN
.comm _FW_CEM_CMD_RESERVED,4,2 ## @FW_CEM_CMD_RESERVED
.comm _FW_CEM_HDR_LEN,8,3 ## @FW_CEM_HDR_LEN
.comm _FW_CEM_MAX_RETRIES,4,2 ## @FW_CEM_MAX_RETRIES
.comm _IXGBE_HI_COMMAND_TIMEOUT,4,2 ## @IXGBE_HI_COMMAND_TIMEOUT
.comm _TRUE,4,2 ## @TRUE
.comm _FW_CEM_RESP_STATUS_SUCCESS,8,3 ## @FW_CEM_RESP_STATUS_SUCCESS
.comm _IXGBE_ERR_HOST_INTERFACE_COMMAND,8,3 ## @IXGBE_ERR_HOST_INTERFACE_COMMAND
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ixgbe_set_fw_drv_ver_generic ; -- Begin function ixgbe_set_fw_drv_ver_generic
.p2align 2
_ixgbe_set_fw_drv_ver_generic: ; @ixgbe_set_fw_drv_ver_generic
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x28, x27, [sp, #96] ; 16-byte Folded Spill
stp x26, x25, [sp, #112] ; 16-byte Folded Spill
stp x24, x23, [sp, #128] ; 16-byte Folded Spill
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x6
mov x22, x5
mov x23, x4
mov x24, x3
mov x25, x2
mov x26, x1
mov x19, x0
Lloh0:
adrp x27, _IXGBE_SUCCESS@GOTPAGE
Lloh1:
ldr x27, [x27, _IXGBE_SUCCESS@GOTPAGEOFF]
ldr x20, [x27]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _DEBUGFUNC
mov x0, x22
mov x1, x21
bl _UNREFERENCED_2PARAMETER
Lloh4:
adrp x8, _FW_CEM_CMD_DRIVER_INFO@GOTPAGE
Lloh5:
ldr x8, [x8, _FW_CEM_CMD_DRIVER_INFO@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
str w8, [sp, #32]
Lloh7:
adrp x8, _FW_CEM_CMD_DRIVER_INFO_LEN@GOTPAGE
Lloh8:
ldr x8, [x8, _FW_CEM_CMD_DRIVER_INFO_LEN@GOTPAGEOFF]
Lloh9:
ldr x8, [x8]
Lloh10:
adrp x9, _FW_CEM_CMD_RESERVED@GOTPAGE
Lloh11:
ldr x9, [x9, _FW_CEM_CMD_RESERVED@GOTPAGEOFF]
Lloh12:
ldr w9, [x9]
str w9, [sp, #8]
ldr x9, [x19]
stp x26, x9, [sp, #80]
stp x24, x25, [sp, #64]
stp xzr, x23, [sp, #48]
stp x8, xzr, [sp, #16]
str xzr, [sp, #40]
Lloh13:
adrp x9, _FW_CEM_HDR_LEN@GOTPAGE
Lloh14:
ldr x9, [x9, _FW_CEM_HDR_LEN@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
add x1, x9, x8
mov x0, sp
bl _ixgbe_calculate_checksum
str x0, [sp, #24]
Lloh16:
adrp x21, _FW_CEM_MAX_RETRIES@GOTPAGE
Lloh17:
ldr x21, [x21, _FW_CEM_MAX_RETRIES@GOTPAGEOFF]
ldr w8, [x21]
tbnz w8, #31, LBB0_5
; %bb.1:
mov w22, #-1
Lloh18:
adrp x23, _IXGBE_HI_COMMAND_TIMEOUT@GOTPAGE
Lloh19:
ldr x23, [x23, _IXGBE_HI_COMMAND_TIMEOUT@GOTPAGEOFF]
Lloh20:
adrp x24, _TRUE@GOTPAGE
Lloh21:
ldr x24, [x24, _TRUE@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w3, [x23]
ldr w4, [x24]
mov x1, sp
mov x0, x19
mov w2, #96
bl _ixgbe_host_interface_command
mov x20, x0
ldr x8, [x27]
cmp x0, x8
b.eq LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x21]
add w22, w22, #1
cmp w22, w8
b.lt LBB0_2
b LBB0_5
LBB0_4:
ldr x8, [sp]
Lloh22:
adrp x9, _FW_CEM_RESP_STATUS_SUCCESS@GOTPAGE
Lloh23:
ldr x9, [x9, _FW_CEM_RESP_STATUS_SUCCESS@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
Lloh25:
adrp x10, _IXGBE_ERR_HOST_INTERFACE_COMMAND@GOTPAGE
Lloh26:
ldr x10, [x10, _IXGBE_ERR_HOST_INTERFACE_COMMAND@GOTPAGEOFF]
Lloh27:
ldr x10, [x10]
cmp x8, x9
csel x20, x20, x10, eq
LBB0_5:
mov x0, x20
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
ldp x24, x23, [sp, #128] ; 16-byte Folded Reload
ldp x26, x25, [sp, #112] ; 16-byte Folded Reload
ldp x28, x27, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #192
ret
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _IXGBE_SUCCESS,8,3 ; @IXGBE_SUCCESS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ixgbe_set_fw_drv_ver_generic"
.comm _FW_CEM_CMD_DRIVER_INFO,4,2 ; @FW_CEM_CMD_DRIVER_INFO
.comm _FW_CEM_CMD_DRIVER_INFO_LEN,8,3 ; @FW_CEM_CMD_DRIVER_INFO_LEN
.comm _FW_CEM_CMD_RESERVED,4,2 ; @FW_CEM_CMD_RESERVED
.comm _FW_CEM_HDR_LEN,8,3 ; @FW_CEM_HDR_LEN
.comm _FW_CEM_MAX_RETRIES,4,2 ; @FW_CEM_MAX_RETRIES
.comm _IXGBE_HI_COMMAND_TIMEOUT,4,2 ; @IXGBE_HI_COMMAND_TIMEOUT
.comm _TRUE,4,2 ; @TRUE
.comm _FW_CEM_RESP_STATUS_SUCCESS,8,3 ; @FW_CEM_RESP_STATUS_SUCCESS
.comm _IXGBE_ERR_HOST_INTERFACE_COMMAND,8,3 ; @IXGBE_ERR_HOST_INTERFACE_COMMAND
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/ixgbe/extr_ixgbe_common.c_ixgbe_set_fw_drv_ver_generic.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ZDICT_addEntropyTablesFromBuffer_advanced
_ZDICT_addEntropyTablesFromBuffer_advanced: ## @ZDICT_addEntropyTablesFromBuffer_advanced
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -44(%rbp) ## 4-byte Spill
movq %r8, -80(%rbp) ## 8-byte Spill
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %rdx, %rbx
movq %rsi, %r13
movq %rdi, %r12
movl 16(%rbp), %r15d
movl 20(%rbp), %eax
movq %rax, -64(%rbp) ## 8-byte Spill
testl %r15d, %r15d
jne LBB0_2
## %bb.1:
movq _g_compressionLevel_default@GOTPCREL(%rip), %rax
movl (%rax), %r15d
LBB0_2:
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rdx
movl $2, %edi
xorl %eax, %eax
callq _DISPLAYLEVEL
leaq L_.str.2(%rip), %rsi
movl $2, %edi
xorl %eax, %eax
callq _DISPLAYLEVEL
leaq 8(%r12), %rdi
leaq -8(%rbx), %rsi
movq %rbx, -56(%rbp) ## 8-byte Spill
leaq (%r12,%rbx), %r14
subq %r13, %r14
subq $8, %rsp
movl %r15d, %edx
movq -72(%rbp), %rcx ## 8-byte Reload
movq -80(%rbp), %r8 ## 8-byte Reload
movl -44(%rbp), %r9d ## 4-byte Reload
pushq -64(%rbp) ## 8-byte Folded Reload
pushq %r13
pushq %r14
callq _ZDICT_analyzeEntropy
addq $32, %rsp
movq %rax, %rbx
movq %rax, %rdi
callq _ZDICT_isError
leaq 8(%rbx), %rcx
movl $8, %r15d
testq %rax, %rax
cmoveq %rcx, %r15
je LBB0_3
## %bb.6:
movq %rbx, %rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
leaq 16(%rbp), %rbx
movq _ZSTD_MAGIC_DICTIONARY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _MEM_writeLE32
movq %r14, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq _XXH64
## kill: def $eax killed $eax def $rax
movl %eax, %ecx
movl $2147516417, %edx ## imm = 0x80008001
imulq %rcx, %rdx
shrq $62, %rdx
imull $2147450880, %edx, %ecx ## imm = 0x7FFF8000
negl %ecx
leal (%rax,%rcx), %esi
addl $32768, %esi ## imm = 0x8000
movl 8(%rbx), %eax
testl %eax, %eax
cmovnel %eax, %esi
leaq 4(%r12), %rdi
callq _MEM_writeLE32
leaq (%r15,%r13), %rbx
movq %r13, %rdx
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, %r13
cmpq %rax, %rbx
jae LBB0_5
## %bb.4:
addq %r15, %r12
movq %r12, %rdi
movq %r14, %rsi
callq _memmove
LBB0_5:
movq %r13, %rdi
movq %rbx, %rsi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _MIN ## TAILCALL
.cfi_endproc
## -- End function
.comm _g_compressionLevel_default,4,2 ## @g_compressionLevel_default
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\r%70s\r"
L_.str.1: ## @.str.1
.space 1
L_.str.2: ## @.str.2
.asciz "statistics ... \n"
.comm _ZSTD_MAGIC_DICTIONARY,4,2 ## @ZSTD_MAGIC_DICTIONARY
.no_dead_strip _ZDICT_addEntropyTablesFromBuffer_advanced
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ZDICT_addEntropyTablesFromBuffer_advanced
_ZDICT_addEntropyTablesFromBuffer_advanced: ; @ZDICT_addEntropyTablesFromBuffer_advanced
.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 x22, x7
mov x24, x5
mov x25, x4
mov x26, x3
mov x19, x2
mov x20, x1
mov x21, x0
lsr x28, x6, #32
Lloh0:
adrp x8, _g_compressionLevel_default@GOTPAGE
Lloh1:
ldr x8, [x8, _g_compressionLevel_default@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w6, #0
csel w27, w8, w6, eq
Lloh3:
adrp x8, l_.str.1@PAGE
Lloh4:
add x8, x8, l_.str.1@PAGEOFF
str x8, [sp]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
mov w0, #2
bl _DISPLAYLEVEL
Lloh7:
adrp x1, l_.str.2@PAGE
Lloh8:
add x1, x1, l_.str.2@PAGEOFF
mov w0, #2
bl _DISPLAYLEVEL
add x0, x21, #8
sub x1, x19, #8
add x8, x21, x19
sub x23, x8, x20
str w28, [sp]
mov x2, x27
mov x3, x26
mov x4, x25
mov x5, x24
mov x6, x23
mov x7, x20
bl _ZDICT_analyzeEntropy
mov x24, x0
bl _ZDICT_isError
add x8, x24, #8
mov w9, #8
cmp x0, #0
csel x25, x8, x9, eq
cbz x0, LBB0_2
; %bb.1:
mov x0, x24
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_2:
Lloh9:
adrp x8, _ZSTD_MAGIC_DICTIONARY@GOTPAGE
Lloh10:
ldr x8, [x8, _ZSTD_MAGIC_DICTIONARY@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x21
bl _MEM_writeLE32
mov x0, x23
mov x1, x20
mov w2, #0
bl _XXH64
mov w8, #32769
movk w8, #32768, lsl #16
umull x8, w0, w8
lsr x8, x8, #62
mov w9, #2147450880
msub w8, w8, w9, w0
add w8, w8, #8, lsl #12 ; =32768
cmp w22, #0
csel w1, w8, w22, eq
add x0, x21, #4
bl _MEM_writeLE32
add x22, x25, x20
cmp x22, x19
b.hs LBB0_4
; %bb.3:
add x0, x21, x25
mov x1, x23
mov x2, x20
bl _memmove
LBB0_4:
mov x0, x19
mov x1, x22
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
b _MIN
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _g_compressionLevel_default,4,2 ; @g_compressionLevel_default
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\r%70s\r"
l_.str.1: ; @.str.1
.space 1
l_.str.2: ; @.str.2
.asciz "statistics ... \n"
.comm _ZSTD_MAGIC_DICTIONARY,4,2 ; @ZSTD_MAGIC_DICTIONARY
.no_dead_strip _ZDICT_addEntropyTablesFromBuffer_advanced
.subsections_via_symbols
| AnghaBench/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_addEntropyTablesFromBuffer_advanced.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fixlabel
_fixlabel: ## @fixlabel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
testl %eax, %eax
jle LBB0_5
## %bb.1:
movq _RAW_PART@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
shlq $4, %rcx
shlq $4, %rax
xorl %edx, %edx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
addq $16, %rdx
cmpq %rdx, %rax
je LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq %rdx, %rcx
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq 16(%rdi), %rsi
cmpq $0, 8(%rsi,%rdx)
je LBB0_4
## %bb.6:
popq %rbp
retq
LBB0_5:
movq 16(%rdi), %rcx
movq _BBSIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _secsize@GOTPCREL(%rip), %rsi
cltd
idivl (%rsi)
movl %eax, (%rcx)
movq 8(%rdi), %rdx
cltq
subq %rax, %rdx
movq %rdx, 8(%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RAW_PART,4,2 ## @RAW_PART
.comm _BBSIZE,4,2 ## @BBSIZE
.comm _secsize,4,2 ## @secsize
.no_dead_strip _fixlabel
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fixlabel
_fixlabel: ; @fixlabel
.cfi_startproc
; %bb.0:
ldr w10, [x0]
cmp w10, #1
b.lt LBB0_6
; %bb.1:
mov x8, #0
Lloh0:
adrp x9, _RAW_PART@GOTPAGE
Lloh1:
ldr x9, [x9, _RAW_PART@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
lsl x9, x9, #4
lsl x10, x10, #4
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x8, x8, #16
cmp x10, x8
b.eq LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
cmp x9, x8
b.eq LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x11, [x0, #16]
add x11, x11, x8
ldr x11, [x11, #8]
cbz x11, LBB0_2
; %bb.5:
ret
LBB0_6:
Lloh3:
adrp x8, _BBSIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _BBSIZE@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _secsize@GOTPAGE
Lloh7:
ldr x9, [x9, _secsize@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
sdiv w8, w8, w9
ldp x10, x9, [x0, #8]
str w8, [x9]
sub x8, x10, w8, sxtw
str x8, [x9, #8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _RAW_PART,4,2 ; @RAW_PART
.comm _BBSIZE,4,2 ; @BBSIZE
.comm _secsize,4,2 ; @secsize
.no_dead_strip _fixlabel
.subsections_via_symbols
| AnghaBench/freebsd/sbin/bsdlabel/extr_bsdlabel.c_fixlabel.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ENGINE_register_EC ## -- Begin function ENGINE_register_EC
.p2align 4, 0x90
_ENGINE_register_EC: ## @ENGINE_register_EC
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $0, (%rdi)
je LBB0_1
## %bb.2:
movq %rdi, %rdx
movq _engine_unregister_all_EC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _dh_table@GOTPCREL(%rip), %rdi
movq _dummy_nid@GOTPCREL(%rip), %rcx
movl $1, %r8d
xorl %r9d, %r9d
popq %rbp
jmp _engine_table_register ## TAILCALL
LBB0_1:
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _dh_table,4,2 ## @dh_table
.comm _engine_unregister_all_EC,4,2 ## @engine_unregister_all_EC
.comm _dummy_nid,4,2 ## @dummy_nid
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ENGINE_register_EC ; -- Begin function ENGINE_register_EC
.p2align 2
_ENGINE_register_EC: ; @ENGINE_register_EC
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cbz x8, LBB0_2
; %bb.1:
mov x2, x0
Lloh0:
adrp x8, _engine_unregister_all_EC@GOTPAGE
Lloh1:
ldr x8, [x8, _engine_unregister_all_EC@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x0, _dh_table@GOTPAGE
Lloh4:
ldr x0, [x0, _dh_table@GOTPAGEOFF]
Lloh5:
adrp x3, _dummy_nid@GOTPAGE
Lloh6:
ldr x3, [x3, _dummy_nid@GOTPAGEOFF]
mov w4, #1
mov w5, #0
b _engine_table_register
LBB0_2:
mov w0, #1
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _dh_table,4,2 ; @dh_table
.comm _engine_unregister_all_EC,4,2 ; @engine_unregister_all_EC
.comm _dummy_nid,4,2 ; @dummy_nid
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/engine/extr_tb_eckey.c_ENGINE_register_EC.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function parse_cmdline
_parse_cmdline: ## @parse_cmdline
.cfi_startproc
## %bb.0:
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 LBB0_3
## %bb.1:
testq %rsi, %rsi
je LBB0_3
## %bb.2:
movq %rdx, %rbx
testq %rdx, %rdx
je LBB0_3
## %bb.4:
movq %rdi, %r15
leaq -32(%rbp), %rax
movq %rsi, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq _simple_strtoul
movq -32(%rbp), %rsi
movq %rax, %rdi
callq _handle_unit
movq %rax, %r14
cmpb $43, (%rbx)
jne LBB0_5
## %bb.8:
incq %rbx
leaq -32(%rbp), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq _simple_strtoul
movq -32(%rbp), %rsi
movq %rax, %rdi
callq _handle_unit
movq %rax, %rbx
jmp LBB0_9
LBB0_3:
xorl %ebx, %ebx
xorl %eax, %eax
callq _unregister_devices
movq _EINVAL@GOTPCREL(%rip), %rax
subl (%rax), %ebx
jmp LBB0_16
LBB0_5:
leaq -32(%rbp), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq _simple_strtoul
movq -32(%rbp), %rsi
movq %rax, %rdi
callq _handle_unit
movq %rax, %rbx
subq %r14, %rbx
jb LBB0_6
LBB0_9:
leaq L_.str(%rip), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq _T
movq _SLRAM_BLK_SZ@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq %rbx, %rax
orq %rcx, %rax
shrq $32, %rax
je LBB0_10
## %bb.11:
movq %rbx, %rax
xorl %edx, %edx
divq %rcx
testq %rdx, %rdx
je LBB0_13
LBB0_6:
leaq L_.str.1(%rip), %rdi
callq _E
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_16
LBB0_10:
movl %ebx, %eax
xorl %edx, %edx
divl %ecx
## kill: def $edx killed $edx def $rdx
testq %rdx, %rdx
jne LBB0_6
LBB0_13:
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq _register_device
testq %rax, %rax
je LBB0_14
## %bb.15:
movq %rax, %rbx
xorl %eax, %eax
callq _unregister_devices
jmp LBB0_16
LBB0_14:
xorl %ebx, %ebx
LBB0_16:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "slram: devname=%s, devstart=0x%lx, devlength=0x%lx\n"
.comm _SLRAM_BLK_SZ,8,3 ## @SLRAM_BLK_SZ
L_.str.1: ## @.str.1
.asciz "slram: Illegal length parameter.\n"
.no_dead_strip _parse_cmdline
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function parse_cmdline
_parse_cmdline: ; @parse_cmdline
.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
cbz x0, LBB0_5
; %bb.1:
mov x8, x1
cbz x1, LBB0_5
; %bb.2:
mov x21, x2
cbz x2, LBB0_5
; %bb.3:
mov x19, x0
add x1, sp, #8
mov x0, x8
mov w2, #0
bl _simple_strtoul
ldr x1, [sp, #8]
bl _handle_unit
mov x20, x0
ldrb w8, [x21]
cmp w8, #43
b.ne LBB0_6
; %bb.4:
add x0, x21, #1
add x1, sp, #8
mov w2, #0
bl _simple_strtoul
ldr x1, [sp, #8]
bl _handle_unit
mov x21, x0
b LBB0_7
LBB0_5:
bl _unregister_devices
b LBB0_9
LBB0_6:
add x1, sp, #8
mov x0, x21
mov w2, #0
bl _simple_strtoul
ldr x1, [sp, #8]
bl _handle_unit
subs x21, x0, x20
b.lo LBB0_8
LBB0_7:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
mov x2, x20
mov x3, x21
bl _T
Lloh2:
adrp x8, _SLRAM_BLK_SZ@GOTPAGE
Lloh3:
ldr x8, [x8, _SLRAM_BLK_SZ@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
udiv x9, x21, x8
msub x8, x9, x8, x21
cbz x8, LBB0_11
LBB0_8:
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _E
LBB0_9:
Lloh7:
adrp x8, _EINVAL@GOTPAGE
Lloh8:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
neg w19, w8
LBB0_10:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_11:
mov x0, x19
mov x1, x20
mov x2, x21
bl _register_device
mov x19, x0
cbz x0, LBB0_10
; %bb.12:
bl _unregister_devices
b LBB0_10
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "slram: devname=%s, devstart=0x%lx, devlength=0x%lx\n"
.comm _SLRAM_BLK_SZ,8,3 ; @SLRAM_BLK_SZ
l_.str.1: ; @.str.1
.asciz "slram: Illegal length parameter.\n"
.no_dead_strip _parse_cmdline
.subsections_via_symbols
| AnghaBench/linux/drivers/mtd/devices/extr_slram.c_parse_cmdline.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ipsec_set_tunnel
_ipsec_set_tunnel: ## @ipsec_set_tunnel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r12d
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _IPSEC_SPCOUNT@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movq _SA_XLOCKED@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _ipsec_ioctl_sx@GOTPCREL(%rip), %rdi
callq _sx_assert
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movq %r13, %rcx
movl %r12d, %r8d
callq _ipsec_newpolicies
testq %rax, %rax
je LBB0_1
## %bb.16:
movq _IFF_DRV_RUNNING@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
movq 8(%r14), %rcx
andl %eax, (%rcx)
movq _ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_17
LBB0_1:
movq _IPSEC_SPCOUNT@GOTPCREL(%rip), %r12
movl (%r12), %esi
movq %r15, %rdi
callq _key_register_ifnet
testq %rax, %rax
je LBB0_6
## %bb.2:
cmpl $0, (%r12)
jle LBB0_5
## %bb.3:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _key_freesp
incq %rbx
movslq (%r12), %rax
addq $8, %r15
cmpq %rax, %rbx
jl LBB0_4
LBB0_5:
movq _EAGAIN@GOTPCREL(%rip), %rax
LBB0_17:
movl (%rax), %eax
LBB0_18:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_20
## %bb.19:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
cmpq $0, (%r14)
je LBB0_8
## %bb.7:
movq %r14, %rdi
callq _ipsec_delete_tunnel
LBB0_8:
movl (%r12), %edx
testl %edx, %edx
movq %rbx, %rdi
jle LBB0_15
## %bb.9:
leaq -1(%rdx), %rcx
movl %edx, %eax
andl $3, %eax
cmpq $3, %rcx
jae LBB0_11
## %bb.10:
xorl %ecx, %ecx
jmp LBB0_13
LBB0_11:
andl $-4, %edx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq (%r15,%rcx,8), %rsi
movq 16(%r14), %rbx
movq %rsi, (%rbx,%rcx,8)
movq 8(%r15,%rcx,8), %rsi
movq 16(%r14), %rbx
movq %rsi, 8(%rbx,%rcx,8)
movq 16(%r15,%rcx,8), %rsi
movq 16(%r14), %rbx
movq %rsi, 16(%rbx,%rcx,8)
movq 24(%r15,%rcx,8), %rsi
movq 16(%r14), %rbx
movq %rsi, 24(%rbx,%rcx,8)
addq $4, %rcx
cmpq %rcx, %rdx
jne LBB0_12
LBB0_13:
testq %rax, %rax
je LBB0_15
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq (%r15,%rcx,8), %rdx
movq 16(%r14), %rsi
movq %rdx, (%rsi,%rcx,8)
incq %rcx
decq %rax
jne LBB0_14
LBB0_15:
movq (%rdi), %rax
movq %rax, (%r14)
callq _ipsec_srchash
movq _srchash@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %eax, %edi
movq %r14, %rsi
callq _CK_LIST_INSERT_HEAD
movq %r14, %rdi
callq _ipsec_set_running
xorl %eax, %eax
jmp LBB0_18
LBB0_20:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _IPSEC_SPCOUNT,4,2 ## @IPSEC_SPCOUNT
.comm _ipsec_ioctl_sx,4,2 ## @ipsec_ioctl_sx
.comm _SA_XLOCKED,4,2 ## @SA_XLOCKED
.comm _EAGAIN,4,2 ## @EAGAIN
.comm _srchash,4,2 ## @srchash
.comm _IFF_DRV_RUNNING,4,2 ## @IFF_DRV_RUNNING
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _ipsec_set_tunnel
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ipsec_set_tunnel
_ipsec_set_tunnel: ; @ipsec_set_tunnel
.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 x22, x3
mov x23, x2
mov x21, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x24, _IPSEC_SPCOUNT@GOTPAGE
Lloh4:
ldr x24, [x24, _IPSEC_SPCOUNT@GOTPAGEOFF]
ldr w8, [x24]
lsl x8, x8, #3
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x20, x9, x8
mov sp, x20
Lloh7:
adrp x8, _SA_XLOCKED@GOTPAGE
Lloh8:
ldr x8, [x8, _SA_XLOCKED@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
Lloh10:
adrp x0, _ipsec_ioctl_sx@GOTPAGE
Lloh11:
ldr x0, [x0, _ipsec_ioctl_sx@GOTPAGEOFF]
bl _sx_assert
mov x0, x19
mov x1, x20
mov x2, x21
mov x3, x23
mov x4, x22
bl _ipsec_newpolicies
cbz x0, LBB0_2
; %bb.1:
Lloh12:
adrp x8, _IFF_DRV_RUNNING@GOTPAGE
Lloh13:
ldr x8, [x8, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
ldr x9, [x19, #8]
ldr w10, [x9]
bic w8, w10, w8
str w8, [x9]
Lloh15:
adrp x8, _ENOMEM@GOTPAGE
Lloh16:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_7
LBB0_2:
ldr w1, [x24]
mov x0, x20
bl _key_register_ifnet
cbz x0, LBB0_10
; %bb.3:
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_6
; %bb.4:
mov x19, #0
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _key_freesp
add x19, x19, #1
ldrsw x8, [x24]
add x20, x20, #8
cmp x19, x8
b.lt LBB0_5
LBB0_6:
Lloh17:
adrp x8, _EAGAIN@GOTPAGE
Lloh18:
ldr x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_7:
ldr w0, [x8]
LBB0_8:
ldur x8, [x29, #-56]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_16
; %bb.9:
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
LBB0_10:
ldr x8, [x19]
cbz x8, LBB0_12
; %bb.11:
mov x0, x19
bl _ipsec_delete_tunnel
LBB0_12:
ldr w9, [x24]
cmp w9, #1
b.lt LBB0_15
; %bb.13:
mov x8, #0
lsl x9, x9, #3
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr x10, [x20, x8]
ldr x11, [x19, #16]
str x10, [x11, x8]
add x8, x8, #8
cmp x9, x8
b.ne LBB0_14
LBB0_15:
ldr x8, [x21]
str x8, [x19]
mov x0, x21
bl _ipsec_srchash
Lloh22:
adrp x8, _srchash@GOTPAGE
Lloh23:
ldr x8, [x8, _srchash@GOTPAGEOFF]
Lloh24:
ldr w2, [x8]
mov x1, x19
bl _CK_LIST_INSERT_HEAD
mov x0, x19
bl _ipsec_set_running
mov w0, #0
b LBB0_8
LBB0_16:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _IPSEC_SPCOUNT,4,2 ; @IPSEC_SPCOUNT
.comm _ipsec_ioctl_sx,4,2 ; @ipsec_ioctl_sx
.comm _SA_XLOCKED,4,2 ; @SA_XLOCKED
.comm _EAGAIN,4,2 ; @EAGAIN
.comm _srchash,4,2 ; @srchash
.comm _IFF_DRV_RUNNING,4,2 ; @IFF_DRV_RUNNING
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _ipsec_set_tunnel
.subsections_via_symbols
| AnghaBench/freebsd/sys/net/extr_if_ipsec.c_ipsec_set_tunnel.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wps_process_cred_eap_type
_wps_process_cred_eap_type: ## @wps_process_cred_eap_type
.cfi_startproc
## %bb.0:
testq %rsi, %rsi
je LBB0_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdx, %rcx
movq %rsi, %rdx
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _wpa_hexdump
popq %rbp
LBB0_2:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.comm _MSG_DEBUG,4,2 ## @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "WPS: EAP Type"
.no_dead_strip _wps_process_cred_eap_type
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wps_process_cred_eap_type
_wps_process_cred_eap_type: ; @wps_process_cred_eap_type
.cfi_startproc
; %bb.0:
cbz x1, LBB0_2
; %bb.1:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x3, x2
mov x2, x1
Lloh0:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh1:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _wpa_hexdump
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
mov w0, #0
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MSG_DEBUG,4,2 ; @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "WPS: EAP Type"
.no_dead_strip _wps_process_cred_eap_type
.subsections_via_symbols
| AnghaBench/esp-idf/components/wpa_supplicant/src/wps/extr_wps_attr_process.c_wps_process_cred_eap_type.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pty_release ## -- Begin function pty_release
.p2align 4, 0x90
_pty_release: ## @pty_release
.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
xorl %esi, %esi
xorl %edx, %edx
callq _chown
testq %rax, %rax
jns LBB0_2
## %bb.1:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq _error
LBB0_2:
movq %rbx, %rdi
movl $438, %esi ## imm = 0x1B6
callq _chmod
testq %rax, %rax
js LBB0_4
## %bb.3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_4:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _strerror
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
movq %rax, %rdx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _error ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "chown %.100s 0 0 failed: %.100s"
.comm _errno,4,2 ## @errno
L_.str.1: ## @.str.1
.asciz "chmod %.100s 0666 failed: %.100s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pty_release ; -- Begin function pty_release
.p2align 2
_pty_release: ; @pty_release
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w1, #0
mov w2, #0
bl _chown
tbz x0, #63, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _errno@GOTPAGE
Lloh1:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _strerror
mov x2, x0
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _error
LBB0_2:
mov x0, x19
mov w1, #438
bl _chmod
tbnz x0, #63, 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:
Lloh5:
adrp x8, _errno@GOTPAGE
Lloh6:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
bl _strerror
mov x2, x0
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _error
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "chown %.100s 0 0 failed: %.100s"
.comm _errno,4,2 ; @errno
l_.str.1: ; @.str.1
.asciz "chmod %.100s 0666 failed: %.100s"
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssh/extr_sshpty.c_pty_release.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hgpk_reset_spew_detection
_hgpk_reset_spew_detection: ## @hgpk_reset_spew_detection
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorps %xmm0, %xmm0
movups %xmm0, 24(%rdi)
movups %xmm0, 8(%rdi)
movq _NO_SPEW@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NO_SPEW,4,2 ## @NO_SPEW
.no_dead_strip _hgpk_reset_spew_detection
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hgpk_reset_spew_detection
_hgpk_reset_spew_detection: ; @hgpk_reset_spew_detection
.cfi_startproc
; %bb.0:
movi.2d v0, #0000000000000000
stur q0, [x0, #24]
stur q0, [x0, #8]
Lloh0:
adrp x8, _NO_SPEW@GOTPAGE
Lloh1:
ldr x8, [x8, _NO_SPEW@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NO_SPEW,4,2 ; @NO_SPEW
.no_dead_strip _hgpk_reset_spew_detection
.subsections_via_symbols
| AnghaBench/linux/drivers/input/mouse/extr_hgpk.c_hgpk_reset_spew_detection.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fibonacci ## -- Begin function fibonacci
.p2align 4, 0x90
_fibonacci: ## @fibonacci
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %ebx
decl %ebx
movl $1, %r14d
cmpl $2, %ebx
jb LBB0_4
## %bb.1:
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
callq _fibonacci
addq %rax, %r14
addl $-2, %ebx
cmpl $1, %ebx
ja LBB0_2
## %bb.3:
incq %r14
LBB0_4:
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -4(%rbp), %edi
callq _fibonacci
leaq L_.str.1(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%ld"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fibonacci ; -- Begin function fibonacci
.p2align 2
_fibonacci: ; @fibonacci
.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
sub w19, w0, #1
cmp w19, #2
b.hs LBB0_2
; %bb.1:
mov w0, #1
b LBB0_5
LBB0_2:
mov x20, #0
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _fibonacci
add x20, x0, x20
sub w19, w19, #2
cmp w19, #1
b.hi LBB0_3
; %bb.4:
add x0, x20, #1
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub x8, x29, #4
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w0, [x29, #-4]
bl _fibonacci
str x0, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%ld"
.subsections_via_symbols
| the_stack_data/43887492.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -5(%rbp)
movl $12849, -8(%rbp) ## imm = 0x3231
leaq -8(%rbp), %rdi
callq _ft_str_is_lowercase
leaq L_.str(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
l___const.main.str: ## @__const.main.str
.asciz "12\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [sp, #11]
mov w8, #12849
str w8, [sp, #8]
add x0, sp, #8
bl _ft_str_is_lowercase
; 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
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__const
l___const.main.str: ; @__const.main.str
.asciz "12\000\000\000\000"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/119505.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
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
movl $1, %esi
xorl %eax, %eax
callq _printf
movl $18, %eax
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %ebx, %ecx
leal (%rcx,%rax), %edx
movl %edx, %esi
shrl $31, %esi
addl %edx, %esi
sarl %esi
leal 1(%rsi), %ebx
cmpl $12, %esi
cmovael %ecx, %ebx
cmovbl %eax, %esi
movl %esi, %eax
cmpl %esi, %ebx
jne LBB0_1
## %bb.2:
movslq %ebx, %rax
addq $-12, %rax
cmpq $3, %rax
setb %al
cmpl $12, %ebx
sete %cl
andb %al, %cl
movzbl %cl, %esi
leaq L_.str(%rip), %r14
xorl %ebx, %ebx
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq %r14, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movl $18, %eax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %ebx, %ecx
leal (%rcx,%rax), %edx
movl %edx, %esi
shrl $31, %esi
addl %edx, %esi
sarl %esi
leal 1(%rsi), %ebx
cmpl $6, %esi
cmovael %ecx, %ebx
cmovbl %eax, %esi
movl %esi, %eax
cmpl %esi, %ebx
jne LBB0_3
## %bb.4:
movslq %ebx, %rax
addq $-6, %rax
cmpq $4, %rax
setb %al
cmpl $6, %ebx
sete %cl
andb %al, %cl
movzbl %cl, %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _binsearch ## -- Begin function binsearch
.p2align 4, 0x90
_binsearch: ## @binsearch
.cfi_startproc
## %bb.0:
## kill: def $edx killed $edx def $rdx
testl %edx, %edx
je LBB1_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %r8d, %r8d
decl %edx
jne LBB1_3
jmp LBB1_7
.p2align 4, 0x90
LBB1_5: ## in Loop: Header=BB1_3 Depth=1
movl %ecx, %edx
cmpl %edx, %r8d
je LBB1_7
LBB1_3: ## =>This Inner Loop Header: Depth=1
leal (%rdx,%r8), %eax
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
sarl %ecx
movslq %ecx, %rax
cmpl %edi, (%rsi,%rax,4)
jge LBB1_5
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
incl %ecx
movl %ecx, %r8d
cmpl %edx, %r8d
jne LBB1_3
LBB1_7:
movslq %r8d, %rax
cmpl %edi, (%rsi,%rax,4)
movl $-1, %ecx
cmovnel %ecx, %eax
popq %rbp
## kill: def $eax killed $eax killed $rax
retq
LBB1_1:
movl $-1, %eax
## kill: def $eax killed $eax killed $rax
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 w8, #1
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #0
mov w9, #18
LBB0_1: ; =>This Inner Loop Header: Depth=1
add w10, w8, w9
cmp w10, #0
cinc w10, w10, lt
asr w10, w10, #1
cmp w10, #12
csel w9, w9, w10, lo
csinc w8, w8, w10, hs
cmp w8, w9
b.ne LBB0_1
; %bb.2:
sxtw x9, w8
sub x9, x9, #12
cmp x9, #3
ccmp w8, #12, #0, lo
cset w8, eq
str x8, [sp]
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
mov w8, #1
str x8, [sp]
mov x0, x19
bl _printf
mov w8, #0
mov w9, #18
LBB0_3: ; =>This Inner Loop Header: Depth=1
add w10, w8, w9
cmp w10, #0
cinc w10, w10, lt
asr w10, w10, #1
cmp w10, #6
csel w9, w9, w10, lo
csinc w8, w8, w10, hs
cmp w8, w9
b.ne LBB0_3
; %bb.4:
sxtw x9, w8
sub x9, x9, #6
cmp x9, #4
ccmp w8, #6, #0, lo
cset w8, eq
str x8, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _binsearch ; -- Begin function binsearch
.p2align 2
_binsearch: ; @binsearch
.cfi_startproc
; %bb.0:
cbz w2, LBB1_4
; %bb.1:
mov w9, #0
subs w8, w2, #1
b.eq LBB1_3
LBB1_2: ; =>This Inner Loop Header: Depth=1
add w10, w8, w9
cmp w10, #0
cinc w10, w10, lt
asr w10, w10, #1
ldr w11, [x1, w10, sxtw #2]
cmp w11, w0
csel w8, w8, w10, lt
csinc w9, w9, w10, ge
cmp w9, w8
b.ne LBB1_2
LBB1_3:
ldr w8, [x1, w9, sxtw #2]
cmp w8, w0
csinv w0, w9, wzr, eq
ret
LBB1_4:
mov w0, #-1
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/18888981.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___stack_chk_fail ## -- Begin function __stack_chk_fail
.p2align 4, 0x90
___stack_chk_fail: ## @__stack_chk_fail
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
popq %rbp
jmp _error ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "stack-protector: Kernel stack is corrupted\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___stack_chk_fail ; -- Begin function __stack_chk_fail
.p2align 2
___stack_chk_fail: ; @__stack_chk_fail
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
b _error
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "stack-protector: Kernel stack is corrupted\n"
.subsections_via_symbols
| AnghaBench/linux/arch/mips/boot/compressed/extr_decompress.c___stack_chk_fail.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sigignore ## -- Begin function sigignore
.p2align 4, 0x90
_sigignore: ## @sigignore
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq $0, -8(%rbp)
movq $1, -16(%rbp)
leaq -16(%rbp), %rsi
xorl %edx, %edx
callq _sigaction
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 _sigignore ; -- Begin function sigignore
.p2align 2
_sigignore: ; @sigignore
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #1
stp x8, xzr, [sp]
mov x1, sp
mov x2, #0
bl _sigaction
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/237644483.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function __floatunsdidf
LCPI0_0:
.quad 0x4010000000000000 ## double 4
.section __TEXT,__text,regular,pure_instructions
.globl ___floatunsdidf
.p2align 4, 0x90
___floatunsdidf: ## @__floatunsdidf
.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 _H@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
movq _LONG_BITS@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
addb $-2, %cl
movl $1, %esi
shll %cl, %esi
cvtsi2sdq (%rax,%rdx,8), %xmm0
cvtsi2sd %esi, %xmm1
mulsd LCPI0_0(%rip), %xmm1
mulsd %xmm0, %xmm1
movq _L@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
xorps %xmm0, %xmm0
cvtsi2sdq (%rax,%rcx,8), %xmm0
addsd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _H,8,3 ## @H
.comm _LONG_BITS,4,2 ## @LONG_BITS
.comm _L,8,3 ## @L
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___floatunsdidf ; -- Begin function __floatunsdidf
.p2align 2
___floatunsdidf: ; @__floatunsdidf
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _H@GOTPAGE
Lloh1:
ldr x8, [x8, _H@GOTPAGEOFF]
mov w9, w0
Lloh2:
ldr x8, [x8]
ldr d0, [x9, x8, lsl #3]
Lloh3:
adrp x8, _LONG_BITS@GOTPAGE
Lloh4:
ldr x8, [x8, _LONG_BITS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
sub w8, w8, #2
mov w10, #1
lsl w8, w10, w8
scvtf d1, w8
scvtf d0, d0
fmov d2, #4.00000000
fmul d1, d1, d2
fmul d0, d1, d0
Lloh6:
adrp x8, _L@GOTPAGE
Lloh7:
ldr x8, [x8, _L@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
ldr d1, [x9, x8, lsl #3]
scvtf d1, d1
fadd d0, d0, d1
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _H,8,3 ; @H
.comm _LONG_BITS,4,2 ; @LONG_BITS
.comm _L,8,3 ; @L
.subsections_via_symbols
| AnghaBench/freebsd/lib/libc/quad/extr_floatunsdidf.c___floatunsdidf.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function da9055_wdt_set_timeout
_da9055_wdt_set_timeout: ## @da9055_wdt_set_timeout
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r13d
movq %rdi, %r14
callq _watchdog_get_drvdata
movq (%rax), %r15
movq _da9055_wdt_maps@GOTPCREL(%rip), %r12
movq (%r12), %rdi
callq _ARRAY_SIZE
xorl %ebx, %ebx
testl %eax, %eax
jle LBB0_3
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rdi
cmpl %r13d, (%rdi,%rbx,8)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
incq %rbx
callq _ARRAY_SIZE
cltq
cmpq %rax, %rbx
jl LBB0_1
LBB0_3:
movq (%r12), %rdi
callq _ARRAY_SIZE
cmpl %eax, %ebx
jne LBB0_5
## %bb.4:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
subl (%rax), %r12d
testl %r12d, %r12d
js LBB0_7
LBB0_8:
movl %r13d, (%r14)
xorl %r12d, %r12d
jmp LBB0_9
LBB0_5:
movq _DA9055_REG_CONTROL_B@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _DA9055_TWDSCALE_MASK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq (%r12), %rax
movl %ebx, %ecx
movl 4(%rax,%rcx,8), %eax
movq _DA9055_TWDSCALE_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %eax
movq %r15, %rdi
movl %eax, %ecx
callq _da9055_reg_update
movl %eax, %r12d
testl %r12d, %r12d
jns LBB0_8
LBB0_7:
movl (%r15), %edi
leaq L_.str(%rip), %rsi
movl %r12d, %edx
callq _dev_err
LBB0_9:
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _da9055_wdt_maps,8,3 ## @da9055_wdt_maps
.comm _EINVAL,4,2 ## @EINVAL
.comm _DA9055_REG_CONTROL_B,4,2 ## @DA9055_REG_CONTROL_B
.comm _DA9055_TWDSCALE_MASK,4,2 ## @DA9055_TWDSCALE_MASK
.comm _DA9055_TWDSCALE_SHIFT,4,2 ## @DA9055_TWDSCALE_SHIFT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to update timescale bit, %d\n"
.no_dead_strip _da9055_wdt_set_timeout
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function da9055_wdt_set_timeout
_da9055_wdt_set_timeout: ; @da9055_wdt_set_timeout
.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 _watchdog_get_drvdata
ldr x21, [x0]
Lloh0:
adrp x22, _da9055_wdt_maps@GOTPAGE
Lloh1:
ldr x22, [x22, _da9055_wdt_maps@GOTPAGEOFF]
ldr x0, [x22]
bl _ARRAY_SIZE
cmp w0, #1
b.lt LBB0_4
; %bb.1:
mov x24, #0
mov x23, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x22]
ldr w8, [x0, x24]
cmp w8, w19
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x23, x23, #1
bl _ARRAY_SIZE
add x24, x24, #8
cmp x23, w0, sxtw
b.lt LBB0_2
b LBB0_5
LBB0_4:
mov w23, #0
LBB0_5:
ldr x0, [x22]
bl _ARRAY_SIZE
cmp w23, w0
b.ne LBB0_8
; %bb.6:
Lloh2:
adrp x8, _EINVAL@GOTPAGE
Lloh3:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w22, w8
tbnz w22, #31, LBB0_9
LBB0_7:
mov w22, #0
str w19, [x20]
b LBB0_10
LBB0_8:
Lloh5:
adrp x8, _DA9055_REG_CONTROL_B@GOTPAGE
Lloh6:
ldr x8, [x8, _DA9055_REG_CONTROL_B@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
Lloh8:
adrp x8, _DA9055_TWDSCALE_MASK@GOTPAGE
Lloh9:
ldr x8, [x8, _DA9055_TWDSCALE_MASK@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
ldr x8, [x22]
add x8, x8, w23, uxtw #3
ldr w8, [x8, #4]
Lloh11:
adrp x9, _DA9055_TWDSCALE_SHIFT@GOTPAGE
Lloh12:
ldr x9, [x9, _DA9055_TWDSCALE_SHIFT@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
lsl w3, w8, w9
mov x0, x21
bl _da9055_reg_update
mov x22, x0
tbz w22, #31, LBB0_7
LBB0_9:
ldr w0, [x21]
Lloh14:
adrp x1, l_.str@PAGE
Lloh15:
add x1, x1, l_.str@PAGEOFF
mov x2, x22
bl _dev_err
LBB0_10:
mov x0, x22
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _da9055_wdt_maps,8,3 ; @da9055_wdt_maps
.comm _EINVAL,4,2 ; @EINVAL
.comm _DA9055_REG_CONTROL_B,4,2 ; @DA9055_REG_CONTROL_B
.comm _DA9055_TWDSCALE_MASK,4,2 ; @DA9055_TWDSCALE_MASK
.comm _DA9055_TWDSCALE_SHIFT,4,2 ; @DA9055_TWDSCALE_SHIFT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to update timescale bit, %d\n"
.no_dead_strip _da9055_wdt_set_timeout
.subsections_via_symbols
| AnghaBench/linux/drivers/watchdog/extr_da9055_wdt.c_da9055_wdt_set_timeout.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
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -44(%rbp)
jle LBB0_3
## %bb.1:
leaq L_.str(%rip), %r14
leaq -48(%rbp), %r15
leaq L_.str.1(%rip), %r12
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
incl %r13d
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -48(%rbp), %edx
leal (%rdx,%rdx,4), %eax
movl %edx, %ecx
shll $5, %ecx
subl %edx, %ecx
subl %edx, %ecx
movl %eax, %esi
shrl $31, %esi
addl %eax, %esi
sarl %esi
leal 3(%rdx), %edi
testl %edx, %edx
cmovnsl %edx, %edi
sarl $2, %edi
subl %edi, %esi
imull $55, %esi, %edx
movslq %edx, %r8
imulq $-1240768329, %r8, %rdx ## imm = 0xB60B60B7
shrq $32, %rdx
addl %edx, %r8d
movl %r8d, %edx
shrl $31, %edx
sarl $5, %r8d
addl %edx, %r8d
movl %r8d, %edx
subl %eax, %edx
movslq %ecx, %rax
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rax
shrq $63, %rax
sarq $35, %rcx
addl %eax, %ecx
movl %ecx, %ebx
negl %ebx
movq %r12, %rdi
movl %r13d, %esi
movl %ecx, %r9d
xorl %eax, %eax
pushq %rbx
pushq %rdx
pushq %rbx
pushq %r8
callq _printf
addq $32, %rsp
cmpl -44(%rbp), %r13d
jl LBB0_2
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "Case %d:\n%d %d\n%d %d\n%d %d\n%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, #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
sub x8, x29, #68
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-68]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov w21, #0
add x22, sp, #72
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
mov w23, #30
mov w24, #55
mov w25, #24759
movk w25, #46603, lsl #16
mov w26, #26215
movk w26, #26214, lsl #16
Lloh4:
adrp x20, l_.str.1@PAGE
Lloh5:
add x20, x20, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
add w21, w21, #1
str x22, [sp]
mov x0, x19
bl _scanf
ldr w8, [sp, #72]
add w9, w8, w8, lsl #2
mul w10, w8, w23
cmp w9, #0
cinc w11, w9, lt
asr w11, w11, #1
add w12, w8, #3
cmp w8, #0
csel w8, w12, w8, lt
sub w8, w11, w8, asr #2
mul w8, w8, w24
smull x11, w8, w25
lsr x11, x11, #32
add w8, w11, w8
asr w11, w8, #5
add w8, w11, w8, lsr #31
sub w9, w8, w9
smull x10, w10, w26
lsr x11, x10, #32
lsr x10, x10, #63
add w10, w10, w11, asr #3
neg w11, w10
stp x9, x11, [sp, #56]
stp x10, x8, [sp, #32]
stp x10, x8, [sp, #16]
str x11, [sp, #48]
stp x21, x9, [sp]
mov x0, x20
bl _printf
ldur w8, [x29, #-68]
cmp w21, w8
b.lt LBB0_2
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #160
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 "Case %d:\n%d %d\n%d %d\n%d %d\n%d %d\n"
.subsections_via_symbols
| the_stack_data/64438.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function destroy_node
_destroy_node: ## @destroy_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
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_12
## %bb.1:
movq 40(%rbx), %rax
testq %rax, %rax
je LBB0_3
## %bb.2:
movq %rax, %rdi
callq _ibv_destroy_ah
movq (%rbx), %rdi
LBB0_3:
cmpq $0, (%rdi)
je LBB0_5
## %bb.4:
callq _rdma_destroy_qp
LBB0_5:
movq 32(%rbx), %rdi
testq %rdi, %rdi
je LBB0_7
## %bb.6:
callq _ibv_destroy_cq
LBB0_7:
cmpq $0, 16(%rbx)
je LBB0_9
## %bb.8:
movl 24(%rbx), %edi
callq _ibv_dereg_mr
movq 16(%rbx), %rdi
callq _free
LBB0_9:
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_11
## %bb.10:
callq _ibv_dealloc_pd
LBB0_11:
movq (%rbx), %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _rdma_destroy_id ## TAILCALL
LBB0_12:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _destroy_node
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function destroy_node
_destroy_node: ; @destroy_node
.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]
cbz x0, LBB0_12
; %bb.1:
ldr x8, [x19, #40]
cbz x8, LBB0_3
; %bb.2:
mov x0, x8
bl _ibv_destroy_ah
ldr x0, [x19]
LBB0_3:
ldr x8, [x0]
cbz x8, LBB0_5
; %bb.4:
bl _rdma_destroy_qp
LBB0_5:
ldr x0, [x19, #32]
cbz x0, LBB0_7
; %bb.6:
bl _ibv_destroy_cq
LBB0_7:
ldr x8, [x19, #16]
cbz x8, LBB0_9
; %bb.8:
ldr w0, [x19, #24]
bl _ibv_dereg_mr
ldr x0, [x19, #16]
bl _free
LBB0_9:
ldr x0, [x19, #8]
cbz x0, LBB0_11
; %bb.10:
bl _ibv_dealloc_pd
LBB0_11:
ldr x0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _rdma_destroy_id
LBB0_12:
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 _destroy_node
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_udaddy.c_destroy_node.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
callq _puts
leaq L_str.28(%rip), %rdi
callq _puts
leaq L_str.29(%rip), %rdi
callq _puts
leaq L_.str.3(%rip), %rdi
callq _puts
leaq L_str.30(%rip), %rdi
callq _puts
movl $1048576, %edi ## imm = 0x100000
callq _malloc
leaq L_.str.5(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
movl $1048576, %edi ## imm = 0x100000
callq _malloc
movq %rax, %r14
leaq L_.str.6(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
movl $1048576, %edi ## imm = 0x100000
callq _malloc
movq %rax, %rbx
leaq L_.str.7(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
leaq L_str.31(%rip), %rdi
callq _puts
movq -16(%rbx), %rsi
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _printf
movq -8(%rbx), %rsi
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str.32(%rip), %rdi
callq _puts
leaq L_str.33(%rip), %rdi
callq _puts
leaq L_str.34(%rip), %rdi
callq _puts
movabsq $1099511627773, %rsi ## imm = 0xFFFFFFFFFD
movq -8(%rbx), %rax
andq %rsi, %rax
andq -8(%r14), %rsi
addq %rax, %rsi
orq $2, %rsi
movq %rsi, -8(%rbx)
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str.35(%rip), %rdi
callq _puts
movq %rbx, %rdi
callq _free
leaq L_str.36(%rip), %rdi
callq _puts
leaq L_str.37(%rip), %rdi
callq _puts
movl $3145728, %edi ## imm = 0x300000
callq _malloc
movq %rax, %r15
leaq L_.str.18(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _printf
movq -8(%r15), %rsi
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r14, %rbx
subq %r15, %rbx
shrq $3, %rbx
leaq L_.str.20(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq (%r14), %rsi
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str.38(%rip), %rdi
callq _puts
movslq %ebx, %rbx
movabsq $1234605616436508552, %rax ## imm = 0x1122334455667788
movq %rax, (%r15,%rbx,8)
movq (%r14), %rsi
leaq L_.str.23(%rip), %rdi
xorl %eax, %eax
callq _printf
movq (%r15,%rbx,8), %rsi
leaq L_.str.24(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str.39(%rip), %rdi
callq _puts
movq (%r14), %rax
cmpq (%r15,%rbx,8), %rax
jne LBB0_1
LBB0_2:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
callq _main.cold.1
jmp LBB0_2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.1
_main.cold.1: ## @main.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L___func__.main(%rip), %rdi
leaq L_.str.26(%rip), %rsi
leaq L_.str.27(%rip), %rcx
movl $139, %edx
callq ___assert_rtn
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "=======================================================\n"
L_.str.5: ## @.str.5
.asciz "The first mmap chunk goes directly above LibC: %p\n"
L_.str.6: ## @.str.6
.asciz "The second mmap chunk goes below LibC: %p\n"
L_.str.7: ## @.str.7
.asciz "The third mmap chunk goes below the second mmap chunk: %p\n"
L_.str.9: ## @.str.9
.asciz "Prev Size of third mmap chunk: 0x%llx\n"
L_.str.10: ## @.str.10
.asciz "Size of third mmap chunk: 0x%llx\n\n"
L_.str.14: ## @.str.14
.asciz "New size of third mmap chunk: 0x%llx\n"
L_.str.18: ## @.str.18
.asciz "Overlapped chunk Ptr: %p\n"
L_.str.19: ## @.str.19
.asciz "Overlapped chunk Ptr Size: 0x%llx\n"
L_.str.20: ## @.str.20
.asciz "Distance between new chunk and the second mmap chunk (which was munmapped): 0x%x\n"
L_.str.21: ## @.str.21
.asciz "Value of index 0 of mmap chunk 2 prior to write: %llx\n"
L_.str.23: ## @.str.23
.asciz "Second chunk value (after write): 0x%llx\n"
L_.str.24: ## @.str.24
.asciz "Overlapped chunk value: 0x%llx\n\n"
L___func__.main: ## @__func__.main
.asciz "main"
L_.str.26: ## @.str.26
.asciz "11076408.c"
L_.str.27: ## @.str.27
.asciz "mmap_chunk_2[0] == overlapping_chunk[distance]"
L_str: ## @str
.asciz "This is performing an overlapping chunk attack but on extremely large chunks (mmap chunks)."
L_str.28: ## @str.28
.asciz "Extremely large chunks are special because they are allocated in their own mmaped section"
L_str.29: ## @str.29
.asciz "of memory, instead of being put onto the normal heap."
L_str.30: ## @str.30
.asciz "Allocating three extremely large heap chunks of size 0x100000 \n"
L_str.31: ## @str.31
.asciz "\nCurrent System Memory Layout \n================================================\nrunning program\nheap\n....\nthird mmap chunk\nsecond mmap chunk\nLibC\n....\nld\nfirst mmap chunk\n===============================================\n"
L_str.32: ## @str.32
.asciz "Change the size of the third mmap chunk to overlap with the second mmap chunk"
L_str.33: ## @str.33
.asciz "This will cause both chunks to be Munmapped and given back to the system"
L_str.34: ## @str.34
.asciz "This is where the vulnerability occurs; corrupting the size or prev_size of a chunk"
L_str.35: ## @str.35
.asciz "Free the third mmap chunk, which munmaps the second and third chunks\n"
L_str.36: ## @str.36
.asciz "Get a very large chunk from malloc to get mmapped chunk"
L_str.37: ## @str.37
.asciz "This should overlap over the previously munmapped/freed chunks"
L_str.38: ## @str.38
.asciz "Setting the value of the overlapped chunk"
L_str.39: ## @str.39
.asciz "Boom! The new chunk has been overlapped with a previous mmaped chunk"
.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
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh2:
adrp x0, l_str.28@PAGE
Lloh3:
add x0, x0, l_str.28@PAGEOFF
bl _puts
Lloh4:
adrp x0, l_str.29@PAGE
Lloh5:
add x0, x0, l_str.29@PAGEOFF
bl _puts
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _puts
Lloh8:
adrp x0, l_str.30@PAGE
Lloh9:
add x0, x0, l_str.30@PAGEOFF
bl _puts
mov w0, #1048576
bl _malloc
str x0, [sp]
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #1048576
bl _malloc
mov x19, x0
str x0, [sp]
Lloh12:
adrp x0, l_.str.6@PAGE
Lloh13:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w0, #1048576
bl _malloc
mov x20, x0
str x0, [sp]
Lloh14:
adrp x0, l_.str.7@PAGE
Lloh15:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
Lloh16:
adrp x0, l_str.31@PAGE
Lloh17:
add x0, x0, l_str.31@PAGEOFF
bl _puts
ldur x8, [x20, #-16]
str x8, [sp]
Lloh18:
adrp x0, l_.str.9@PAGE
Lloh19:
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldur x8, [x20, #-8]
str x8, [sp]
Lloh20:
adrp x0, l_.str.10@PAGE
Lloh21:
add x0, x0, l_.str.10@PAGEOFF
bl _printf
Lloh22:
adrp x0, l_str.32@PAGE
Lloh23:
add x0, x0, l_str.32@PAGEOFF
bl _puts
Lloh24:
adrp x0, l_str.33@PAGE
Lloh25:
add x0, x0, l_str.33@PAGEOFF
bl _puts
Lloh26:
adrp x0, l_str.34@PAGE
Lloh27:
add x0, x0, l_str.34@PAGEOFF
bl _puts
ldur x8, [x20, #-8]
mov x9, #1099511562240
movk x9, #65533
and x8, x8, x9
ldur x10, [x19, #-8]
and x9, x10, x9
add x8, x9, x8
orr x8, x8, #0x2
stur x8, [x20, #-8]
str x8, [sp]
Lloh28:
adrp x0, l_.str.14@PAGE
Lloh29:
add x0, x0, l_.str.14@PAGEOFF
bl _printf
Lloh30:
adrp x0, l_str.35@PAGE
Lloh31:
add x0, x0, l_str.35@PAGEOFF
bl _puts
mov x0, x20
bl _free
Lloh32:
adrp x0, l_str.36@PAGE
Lloh33:
add x0, x0, l_str.36@PAGEOFF
bl _puts
Lloh34:
adrp x0, l_str.37@PAGE
Lloh35:
add x0, x0, l_str.37@PAGEOFF
bl _puts
mov w0, #3145728
bl _malloc
mov x20, x0
str x0, [sp]
Lloh36:
adrp x0, l_.str.18@PAGE
Lloh37:
add x0, x0, l_.str.18@PAGEOFF
bl _printf
ldur x8, [x20, #-8]
str x8, [sp]
Lloh38:
adrp x0, l_.str.19@PAGE
Lloh39:
add x0, x0, l_.str.19@PAGEOFF
bl _printf
sub x21, x19, x20
lsr x8, x21, #3
str x8, [sp]
Lloh40:
adrp x0, l_.str.20@PAGE
Lloh41:
add x0, x0, l_.str.20@PAGEOFF
bl _printf
ldr x8, [x19]
str x8, [sp]
Lloh42:
adrp x0, l_.str.21@PAGE
Lloh43:
add x0, x0, l_.str.21@PAGEOFF
bl _printf
Lloh44:
adrp x0, l_str.38@PAGE
Lloh45:
add x0, x0, l_str.38@PAGEOFF
bl _puts
sbfx x8, x21, #3, #32
lsl x21, x8, #3
mov x8, #30600
movk x8, #21862, lsl #16
movk x8, #13124, lsl #32
movk x8, #4386, lsl #48
str x8, [x20, x21]
ldr x8, [x19]
str x8, [sp]
Lloh46:
adrp x0, l_.str.23@PAGE
Lloh47:
add x0, x0, l_.str.23@PAGEOFF
bl _printf
ldr x8, [x20, x21]
str x8, [sp]
Lloh48:
adrp x0, l_.str.24@PAGE
Lloh49:
add x0, x0, l_.str.24@PAGEOFF
bl _printf
Lloh50:
adrp x0, l_str.39@PAGE
Lloh51:
add x0, x0, l_str.39@PAGEOFF
bl _puts
ldr x8, [x19]
ldr x9, [x20, x21]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
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
LBB0_2:
bl _main.cold.1
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.1
_main.cold.1: ; @main.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh52:
adrp x0, l___func__.main@PAGE
Lloh53:
add x0, x0, l___func__.main@PAGEOFF
Lloh54:
adrp x1, l_.str.26@PAGE
Lloh55:
add x1, x1, l_.str.26@PAGEOFF
Lloh56:
adrp x3, l_.str.27@PAGE
Lloh57:
add x3, x3, l_.str.27@PAGEOFF
mov w2, #139
bl ___assert_rtn
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh52, Lloh53
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "=======================================================\n"
l_.str.5: ; @.str.5
.asciz "The first mmap chunk goes directly above LibC: %p\n"
l_.str.6: ; @.str.6
.asciz "The second mmap chunk goes below LibC: %p\n"
l_.str.7: ; @.str.7
.asciz "The third mmap chunk goes below the second mmap chunk: %p\n"
l_.str.9: ; @.str.9
.asciz "Prev Size of third mmap chunk: 0x%llx\n"
l_.str.10: ; @.str.10
.asciz "Size of third mmap chunk: 0x%llx\n\n"
l_.str.14: ; @.str.14
.asciz "New size of third mmap chunk: 0x%llx\n"
l_.str.18: ; @.str.18
.asciz "Overlapped chunk Ptr: %p\n"
l_.str.19: ; @.str.19
.asciz "Overlapped chunk Ptr Size: 0x%llx\n"
l_.str.20: ; @.str.20
.asciz "Distance between new chunk and the second mmap chunk (which was munmapped): 0x%x\n"
l_.str.21: ; @.str.21
.asciz "Value of index 0 of mmap chunk 2 prior to write: %llx\n"
l_.str.23: ; @.str.23
.asciz "Second chunk value (after write): 0x%llx\n"
l_.str.24: ; @.str.24
.asciz "Overlapped chunk value: 0x%llx\n\n"
l___func__.main: ; @__func__.main
.asciz "main"
l_.str.26: ; @.str.26
.asciz "11076408.c"
l_.str.27: ; @.str.27
.asciz "mmap_chunk_2[0] == overlapping_chunk[distance]"
l_str: ; @str
.asciz "This is performing an overlapping chunk attack but on extremely large chunks (mmap chunks)."
l_str.28: ; @str.28
.asciz "Extremely large chunks are special because they are allocated in their own mmaped section"
l_str.29: ; @str.29
.asciz "of memory, instead of being put onto the normal heap."
l_str.30: ; @str.30
.asciz "Allocating three extremely large heap chunks of size 0x100000 \n"
l_str.31: ; @str.31
.asciz "\nCurrent System Memory Layout \n================================================\nrunning program\nheap\n....\nthird mmap chunk\nsecond mmap chunk\nLibC\n....\nld\nfirst mmap chunk\n===============================================\n"
l_str.32: ; @str.32
.asciz "Change the size of the third mmap chunk to overlap with the second mmap chunk"
l_str.33: ; @str.33
.asciz "This will cause both chunks to be Munmapped and given back to the system"
l_str.34: ; @str.34
.asciz "This is where the vulnerability occurs; corrupting the size or prev_size of a chunk"
l_str.35: ; @str.35
.asciz "Free the third mmap chunk, which munmaps the second and third chunks\n"
l_str.36: ; @str.36
.asciz "Get a very large chunk from malloc to get mmapped chunk"
l_str.37: ; @str.37
.asciz "This should overlap over the previously munmapped/freed chunks"
l_str.38: ; @str.38
.asciz "Setting the value of the overlapped chunk"
l_str.39: ; @str.39
.asciz "Boom! The new chunk has been overlapped with a previous mmaped chunk"
.subsections_via_symbols
| the_stack_data/11076408.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CON_LogRead ## -- Begin function CON_LogRead
.p2align 4, 0x90
_CON_LogRead: ## @CON_LogRead
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r14
xorl %r13d, %r13d
xorl %eax, %eax
callq _CON_LogSize
cmpl %r15d, %eax
jae LBB0_2
## %bb.1:
xorl %eax, %eax
callq _CON_LogSize
movl %eax, %r15d
LBB0_2:
movq _readPos@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _MAX_LOG@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, %ebx
subl %esi, %ebx
leal (%rsi,%r15), %ecx
movl %r15d, %r12d
subl %ebx, %r12d
cmpl %eax, %ecx
cmovbel %r15d, %ebx
cmovbel %r13d, %r12d
movq _consoleLog@GOTPCREL(%rip), %r13
addq (%r13), %rsi
movq %r14, %rdi
movl %ebx, %edx
callq _Com_Memcpy
addq %r14, %rbx
movq (%r13), %rsi
movq %rbx, %rdi
movl %r12d, %edx
callq _Com_Memcpy
movq _readPos@GOTPCREL(%rip), %rcx
movl (%rcx), %eax
addl %r15d, %eax
xorl %edx, %edx
movq _MAX_LOG@GOTPCREL(%rip), %rsi
divl (%rsi)
movl %edx, (%rcx)
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _readPos,4,2 ## @readPos
.comm _MAX_LOG,4,2 ## @MAX_LOG
.comm _consoleLog,8,3 ## @consoleLog
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _CON_LogRead ; -- Begin function CON_LogRead
.p2align 2
_CON_LogRead: ; @CON_LogRead
.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, x1
mov x20, x0
bl _CON_LogSize
cmp w0, w19
b.hs LBB0_2
; %bb.1:
bl _CON_LogSize
mov x19, x0
LBB0_2:
Lloh0:
adrp x23, _readPos@GOTPAGE
Lloh1:
ldr x23, [x23, _readPos@GOTPAGEOFF]
Lloh2:
adrp x24, _MAX_LOG@GOTPAGE
Lloh3:
ldr x24, [x24, _MAX_LOG@GOTPAGEOFF]
ldr w8, [x23]
ldr w9, [x24]
sub w10, w9, w8
sub w11, w19, w10
add w12, w8, w19
cmp w12, w9
csel w21, w10, w19, hi
csel w22, w11, wzr, hi
Lloh4:
adrp x25, _consoleLog@GOTPAGE
Lloh5:
ldr x25, [x25, _consoleLog@GOTPAGEOFF]
ldr x9, [x25]
add x1, x9, x8
mov x0, x20
mov x2, x21
bl _Com_Memcpy
add x0, x20, x21
ldr x1, [x25]
mov x2, x22
bl _Com_Memcpy
ldr w8, [x23]
add w8, w8, w19
ldr w9, [x24]
udiv w10, w8, w9
msub w8, w10, w9, w8
str w8, [x23]
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _readPos,4,2 ; @readPos
.comm _MAX_LOG,4,2 ; @MAX_LOG
.comm _consoleLog,8,3 ; @consoleLog
.subsections_via_symbols
| AnghaBench/lab/engine/code/sys/extr_con_log.c_CON_LogRead.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wps_validate_uuid_r
_wps_validate_uuid_r: ## @wps_validate_uuid_r
.cfi_startproc
## %bb.0:
xorl %eax, %eax
testq %rdi, %rdi
jne LBB0_3
## %bb.1:
testl %esi, %esi
je LBB0_3
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MSG_INFO@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _wpa_printf
movl $-1, %eax
popq %rbp
LBB0_3:
retq
.cfi_endproc
## -- End function
.comm _MSG_INFO,4,2 ## @MSG_INFO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "WPS-STRICT: UUID-R attribute missing"
.no_dead_strip _wps_validate_uuid_r
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wps_validate_uuid_r
_wps_validate_uuid_r: ; @wps_validate_uuid_r
.cfi_startproc
; %bb.0:
mov x8, x0
mov w0, #0
cbnz x8, LBB0_3
; %bb.1:
cbz w1, LBB0_3
; %bb.2:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _MSG_INFO@GOTPAGE
Lloh1:
ldr x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _wpa_printf
mov w0, #-1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
LBB0_3:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MSG_INFO,4,2 ; @MSG_INFO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "WPS-STRICT: UUID-R attribute missing"
.no_dead_strip _wps_validate_uuid_r
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/wps/extr_wps_validate.c_wps_validate_uuid_r.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function break_cb
_break_cb: ## @break_cb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _test_ok@GOTPCREL(%rip), %rax
movl $1, (%rax)
xorl %eax, %eax
popq %rbp
jmp _event_loopbreak ## TAILCALL
.cfi_endproc
## -- End function
.comm _test_ok,4,2 ## @test_ok
.no_dead_strip _break_cb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function break_cb
_break_cb: ; @break_cb
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _test_ok@GOTPAGE
Lloh1:
ldr x8, [x8, _test_ok@GOTPAGEOFF]
mov w9, #1
Lloh2:
str w9, [x8]
b _event_loopbreak
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _test_ok,4,2 ; @test_ok
.no_dead_strip _break_cb
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libevent/test/extr_regress.c_break_cb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cfg_buffers
_cfg_buffers: ## @cfg_buffers
.cfi_startproc
## %bb.0:
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, %rbx
movq 8(%rdi), %r15
callq _hantro_get_dst_buf
movq %rax, %r14
movl 4(%rbx), %esi
movq _G1_REG_ADDR_QTABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
callq _vdpu_write_relaxed
movl (%rbx), %edi
callq _G1_REG_FWD_PIC1_SEGMENT_BASE
movl %eax, %ebx
movl (%r12), %eax
movq _V4L2_VP8_SEGMENT_HEADER_FLAG_ENABLED@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_3
## %bb.1:
movq _G1_REG_FWD_PIC1_SEGMENT_E@GOTPCREL(%rip), %rcx
orl (%rcx), %ebx
movq _V4L2_VP8_SEGMENT_HEADER_FLAG_UPDATE_MAP@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_3
## %bb.2:
movq _G1_REG_FWD_PIC1_SEGMENT_UPD_E@GOTPCREL(%rip), %rax
orl (%rax), %ebx
LBB0_3:
xorl %edi, %edi
callq _G1_REG_FWD_PIC
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _vdpu_write_relaxed
movq %r14, %rdi
xorl %esi, %esi
callq _vb2_dma_contig_plane_dma_addr
movq _G1_REG_ADDR_DST@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq %r15, %rdi
movl %eax, %esi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _vdpu_write_relaxed ## TAILCALL
.cfi_endproc
## -- End function
.comm _G1_REG_ADDR_QTABLE,4,2 ## @G1_REG_ADDR_QTABLE
.comm _V4L2_VP8_SEGMENT_HEADER_FLAG_ENABLED,4,2 ## @V4L2_VP8_SEGMENT_HEADER_FLAG_ENABLED
.comm _G1_REG_FWD_PIC1_SEGMENT_E,4,2 ## @G1_REG_FWD_PIC1_SEGMENT_E
.comm _V4L2_VP8_SEGMENT_HEADER_FLAG_UPDATE_MAP,4,2 ## @V4L2_VP8_SEGMENT_HEADER_FLAG_UPDATE_MAP
.comm _G1_REG_FWD_PIC1_SEGMENT_UPD_E,4,2 ## @G1_REG_FWD_PIC1_SEGMENT_UPD_E
.comm _G1_REG_ADDR_DST,4,2 ## @G1_REG_ADDR_DST
.no_dead_strip _cfg_buffers
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cfg_buffers
_cfg_buffers: ; @cfg_buffers
.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
ldr x19, [x0, #8]
bl _hantro_get_dst_buf
mov x20, x0
ldr w1, [x21, #4]
Lloh0:
adrp x8, _G1_REG_ADDR_QTABLE@GOTPAGE
Lloh1:
ldr x8, [x8, _G1_REG_ADDR_QTABLE@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x0, x19
bl _vdpu_write_relaxed
ldr w0, [x21]
bl _G1_REG_FWD_PIC1_SEGMENT_BASE
mov x21, x0
ldr w8, [x22]
Lloh3:
adrp x9, _V4L2_VP8_SEGMENT_HEADER_FLAG_ENABLED@GOTPAGE
Lloh4:
ldr x9, [x9, _V4L2_VP8_SEGMENT_HEADER_FLAG_ENABLED@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
; %bb.1:
Lloh6:
adrp x9, _G1_REG_FWD_PIC1_SEGMENT_E@GOTPAGE
Lloh7:
ldr x9, [x9, _G1_REG_FWD_PIC1_SEGMENT_E@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w21, w9, w21
Lloh9:
adrp x9, _V4L2_VP8_SEGMENT_HEADER_FLAG_UPDATE_MAP@GOTPAGE
Lloh10:
ldr x9, [x9, _V4L2_VP8_SEGMENT_HEADER_FLAG_UPDATE_MAP@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
; %bb.2:
Lloh12:
adrp x8, _G1_REG_FWD_PIC1_SEGMENT_UPD_E@GOTPAGE
Lloh13:
ldr x8, [x8, _G1_REG_FWD_PIC1_SEGMENT_UPD_E@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
orr w21, w8, w21
LBB0_3:
mov w0, #0
bl _G1_REG_FWD_PIC
mov x2, x0
mov x0, x19
mov x1, x21
bl _vdpu_write_relaxed
mov x0, x20
mov w1, #0
bl _vb2_dma_contig_plane_dma_addr
mov x1, x0
Lloh15:
adrp x8, _G1_REG_ADDR_DST@GOTPAGE
Lloh16:
ldr x8, [x8, _G1_REG_ADDR_DST@GOTPAGEOFF]
Lloh17:
ldr w2, [x8]
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 _vdpu_write_relaxed
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _G1_REG_ADDR_QTABLE,4,2 ; @G1_REG_ADDR_QTABLE
.comm _V4L2_VP8_SEGMENT_HEADER_FLAG_ENABLED,4,2 ; @V4L2_VP8_SEGMENT_HEADER_FLAG_ENABLED
.comm _G1_REG_FWD_PIC1_SEGMENT_E,4,2 ; @G1_REG_FWD_PIC1_SEGMENT_E
.comm _V4L2_VP8_SEGMENT_HEADER_FLAG_UPDATE_MAP,4,2 ; @V4L2_VP8_SEGMENT_HEADER_FLAG_UPDATE_MAP
.comm _G1_REG_FWD_PIC1_SEGMENT_UPD_E,4,2 ; @G1_REG_FWD_PIC1_SEGMENT_UPD_E
.comm _G1_REG_ADDR_DST,4,2 ; @G1_REG_ADDR_DST
.no_dead_strip _cfg_buffers
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/media/hantro/extr_hantro_g1_vp8_dec.c_cfg_buffers.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___dvd_resetasync ## -- Begin function __dvd_resetasync
.p2align 4, 0x90
___dvd_resetasync: ## @__dvd_resetasync
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
callq __CPU_ISR_Disable
xorl %eax, %eax
callq ___dvd_clearwaitingqueue
movq ___dvd_canceling@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_2
## %bb.1:
movq ___dvd_cancelcallback@GOTPCREL(%rip), %rax
movl %ebx, (%rax)
jmp LBB0_5
LBB0_2:
movq ___dvd_executing@GOTPCREL(%rip), %rax
movq (%rax), %rax
testq %rax, %rax
je LBB0_4
## %bb.3:
movq $0, (%rax)
LBB0_4:
movl %ebx, %edi
callq _DVD_CancelAllAsync
LBB0_5:
addq $8, %rsp
popq %rbx
popq %rbp
jmp __CPU_ISR_Restore ## TAILCALL
.cfi_endproc
## -- End function
.comm ___dvd_canceling,8,3 ## @__dvd_canceling
.comm ___dvd_cancelcallback,4,2 ## @__dvd_cancelcallback
.comm ___dvd_executing,8,3 ## @__dvd_executing
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___dvd_resetasync ; -- Begin function __dvd_resetasync
.p2align 2
___dvd_resetasync: ; @__dvd_resetasync
.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 __CPU_ISR_Disable
bl ___dvd_clearwaitingqueue
Lloh0:
adrp x8, ___dvd_canceling@GOTPAGE
Lloh1:
ldr x8, [x8, ___dvd_canceling@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz x8, LBB0_2
; %bb.1:
Lloh3:
adrp x8, ___dvd_cancelcallback@GOTPAGE
Lloh4:
ldr x8, [x8, ___dvd_cancelcallback@GOTPAGEOFF]
Lloh5:
str w19, [x8]
b LBB0_5
LBB0_2:
Lloh6:
adrp x8, ___dvd_executing@GOTPAGE
Lloh7:
ldr x8, [x8, ___dvd_executing@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cbz x8, LBB0_4
; %bb.3:
str xzr, [x8]
LBB0_4:
mov x0, x19
bl _DVD_CancelAllAsync
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b __CPU_ISR_Restore
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm ___dvd_canceling,8,3 ; @__dvd_canceling
.comm ___dvd_cancelcallback,4,2 ; @__dvd_cancelcallback
.comm ___dvd_executing,8,3 ; @__dvd_executing
.subsections_via_symbols
| AnghaBench/RetroArch/wii/libogc/libogc/extr_dvd.c___dvd_resetasync.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
| AnghaBench/nanomsg/tests/extr_zerocopy.c_main.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_hid_entry
_do_hid_entry: ## @do_hid_entry
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movl (%rsi), %edi
callq _TO_NATIVE
movl %eax, (%rbx)
movl 4(%rbx), %edi
callq _TO_NATIVE
movl %eax, 4(%rbx)
movl 8(%rbx), %edi
callq _TO_NATIVE
movl %eax, 8(%rbx)
movl (%rbx), %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _sprintf
movslq 4(%rbx), %rcx
movq _HID_ANY_ID@GOTPCREL(%rip), %r15
xorl %edx, %edx
cmpq %rcx, (%r15)
setne %dl
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
callq _ADD
movslq 8(%rbx), %rcx
xorl %edx, %edx
cmpq %rcx, (%r15)
setne %dl
leaq L_.str.2(%rip), %rsi
movq %r14, %rdi
callq _ADD
movl $1, %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 "hid:b%04X"
L_.str.1: ## @.str.1
.asciz "v"
.comm _HID_ANY_ID,8,3 ## @HID_ANY_ID
L_.str.2: ## @.str.2
.asciz "p"
.no_dead_strip _do_hid_entry
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_hid_entry
_do_hid_entry: ; @do_hid_entry
.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
ldr w0, [x1]
bl _TO_NATIVE
str w0, [x20]
ldr w0, [x20, #4]
bl _TO_NATIVE
str w0, [x20, #4]
ldr w0, [x20, #8]
bl _TO_NATIVE
str w0, [x20, #8]
ldr w2, [x20]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _sprintf
ldrsw x3, [x20, #4]
Lloh2:
adrp x21, _HID_ANY_ID@GOTPAGE
Lloh3:
ldr x21, [x21, _HID_ANY_ID@GOTPAGEOFF]
ldr x8, [x21]
cmp x8, x3
cset w2, ne
Lloh4:
adrp x1, l_.str.1@PAGE
Lloh5:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _ADD
ldrsw x3, [x20, #8]
ldr x8, [x21]
cmp x8, x3
cset w2, ne
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _ADD
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hid:b%04X"
l_.str.1: ; @.str.1
.asciz "v"
.comm _HID_ANY_ID,8,3 ; @HID_ANY_ID
l_.str.2: ; @.str.2
.asciz "p"
.no_dead_strip _do_hid_entry
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/scripts/mod/extr_file2alias.c_do_hid_entry.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $-20, %ebx
movw $-160, %r15w
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
addl $20, %ebx
movswl %r15w, %eax
imull $7282, %eax, %eax ## imm = 0x1C72
movl %eax, %ecx
shrl $31, %ecx
shrl $16, %eax
addl %ecx, %eax
movswl %ax, %edx
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
addl $100, %r15d
cmpl $281, %ebx ## imm = 0x119
jb LBB0_1
## %bb.2:
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 "%3d\t%6d\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
mov w20, #-20
mov w21, #7282
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
add w20, w20, #20
add w8, w20, w20, lsl #2
sub w8, w8, #160
sxth w8, w8
mul w8, w8, w21
lsr w9, w8, #16
add w8, w9, w8, lsr #31
sxth x8, w8
stp x20, x8, [sp]
mov x0, x19
bl _printf
cmp w20, #281
b.lo LBB0_1
; %bb.2:
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 "%3d\t%6d\n"
.subsections_via_symbols
| the_stack_data/84979.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wpas_ctrl_set_relative_rssi
_wpas_ctrl_set_relative_rssi: ## @wpas_ctrl_set_relative_rssi
.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
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _os_strcmp
xorl %ecx, %ecx
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rbx, %rdi
callq _atoi
movl $-1, %ecx
cmpl $100, %eax
ja LBB0_4
## %bb.2:
movl %eax, 4(%r14)
movl $1, %ecx
LBB0_3:
movl %ecx, (%r14)
xorl %ecx, %ecx
LBB0_4:
movl %ecx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "disable"
.no_dead_strip _wpas_ctrl_set_relative_rssi
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wpas_ctrl_set_relative_rssi
_wpas_ctrl_set_relative_rssi: ; @wpas_ctrl_set_relative_rssi
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _os_strcmp
cbz x0, LBB0_3
; %bb.1:
mov x0, x20
bl _atoi
cmp w0, #100
b.ls LBB0_4
; %bb.2:
mov w0, #-1
b LBB0_6
LBB0_3:
mov w8, #0
b LBB0_5
LBB0_4:
str w0, [x19, #4]
mov w8, #1
LBB0_5:
mov w0, #0
str w8, [x19]
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "disable"
.no_dead_strip _wpas_ctrl_set_relative_rssi
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_ctrl_iface.c_wpas_ctrl_set_relative_rssi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _testf_dso_pthread_create ## -- Begin function testf_dso_pthread_create
.p2align 4, 0x90
_testf_dso_pthread_create: ## @testf_dso_pthread_create
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _pthread_create
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _ATF_REQUIRE
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 _testf_dso_pthread_create ; -- Begin function testf_dso_pthread_create
.p2align 2
_testf_dso_pthread_create: ; @testf_dso_pthread_create
.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 _pthread_create
cmp w0, #0
cset w0, eq
bl _ATF_REQUIRE
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/dlopen/dso/extr_h_pthread_dlopen.c_testf_dso_pthread_create.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lgs8gl5_update_reg
_lgs8gl5_update_reg: ## @lgs8gl5_update_reg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
callq _lgs8gl5_read_reg
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq _lgs8gl5_write_reg
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _lgs8gl5_update_reg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lgs8gl5_update_reg
_lgs8gl5_update_reg: ; @lgs8gl5_update_reg
.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
bl _lgs8gl5_read_reg
mov x0, x21
mov x1, x20
mov x2, x19
bl _lgs8gl5_write_reg
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _lgs8gl5_update_reg
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_lgs8gl5.c_lgs8gl5_update_reg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _matrix_scan_user ## -- Begin function matrix_scan_user
.weak_definition _matrix_scan_user
.p2align 4, 0x90
_matrix_scan_user: ## @matrix_scan_user
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _matrix_scan_user ; -- Begin function matrix_scan_user
.weak_definition _matrix_scan_user
.p2align 2
_matrix_scan_user: ; @matrix_scan_user
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/ergotaco/extr_matrix.c_matrix_scan_user.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rr_is_rrsig_covering
_rr_is_rrsig_covering: ## @rr_is_rrsig_covering
.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 _ldns_rr_get_type
movq %rax, %rcx
movq _LDNS_RR_TYPE_RRSIG@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _ldns_rr_rrsig_typecovered
movl %eax, %edi
callq _ldns_rdf2rr_type
movq %rax, %rcx
xorl %eax, %eax
cmpq %r14, %rcx
sete %al
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LDNS_RR_TYPE_RRSIG,8,3 ## @LDNS_RR_TYPE_RRSIG
.no_dead_strip _rr_is_rrsig_covering
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rr_is_rrsig_covering
_rr_is_rrsig_covering: ; @rr_is_rrsig_covering
.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 _ldns_rr_get_type
Lloh0:
adrp x8, _LDNS_RR_TYPE_RRSIG@GOTPAGE
Lloh1:
ldr x8, [x8, _LDNS_RR_TYPE_RRSIG@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_2
; %bb.1:
mov x0, x20
bl _ldns_rr_rrsig_typecovered
bl _ldns_rdf2rr_type
cmp x0, x19
cset w0, eq
b LBB0_3
LBB0_2:
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LDNS_RR_TYPE_RRSIG,8,3 ; @LDNS_RR_TYPE_RRSIG
.no_dead_strip _rr_is_rrsig_covering
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ldns/extr_dnssec_zone.c_rr_is_rrsig_covering.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 polybench_flush_cache
LCPI0_0:
.quad 0x4024000000000000 ## double 10
.section __TEXT,__text,regular,pure_instructions
.globl _polybench_flush_cache
.p2align 4, 0x90
_polybench_flush_cache: ## @polybench_flush_cache
.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 $8, %ebx
movl $4194560, %edi ## imm = 0x400100
movl $8, %esi
callq _calloc
xorpd %xmm0, %xmm0
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
addsd -56(%rax,%rbx,8), %xmm0
addsd -48(%rax,%rbx,8), %xmm0
addsd -40(%rax,%rbx,8), %xmm0
addsd -32(%rax,%rbx,8), %xmm0
addsd -24(%rax,%rbx,8), %xmm0
addsd -16(%rax,%rbx,8), %xmm0
addsd -8(%rax,%rbx,8), %xmm0
cmpq $4194560, %rbx ## imm = 0x400100
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
addsd (%rax,%rbx,8), %xmm0
addq $8, %rbx
jmp LBB0_1
LBB0_3:
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jb LBB0_4
## %bb.5:
movq %rax, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
LBB0_4:
callq _polybench_flush_cache.cold.1
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function polybench_prepare_instruments
LCPI1_0:
.quad 0x4024000000000000 ## double 10
.section __TEXT,__text,regular,pure_instructions
.globl _polybench_prepare_instruments
.p2align 4, 0x90
_polybench_prepare_instruments: ## @polybench_prepare_instruments
.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 $8, %ebx
movl $4194560, %edi ## imm = 0x400100
movl $8, %esi
callq _calloc
xorpd %xmm0, %xmm0
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
addsd -56(%rax,%rbx,8), %xmm0
addsd -48(%rax,%rbx,8), %xmm0
addsd -40(%rax,%rbx,8), %xmm0
addsd -32(%rax,%rbx,8), %xmm0
addsd -24(%rax,%rbx,8), %xmm0
addsd -16(%rax,%rbx,8), %xmm0
addsd -8(%rax,%rbx,8), %xmm0
cmpq $4194560, %rbx ## imm = 0x400100
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
addsd (%rax,%rbx,8), %xmm0
addq $8, %rbx
jmp LBB1_1
LBB1_3:
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jb LBB1_4
## %bb.5:
movq %rax, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
LBB1_4:
callq _polybench_prepare_instruments.cold.1
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function polybench_timer_start
LCPI2_0:
.quad 0x4024000000000000 ## double 10
.section __TEXT,__text,regular,pure_instructions
.globl _polybench_timer_start
.p2align 4, 0x90
_polybench_timer_start: ## @polybench_timer_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl $8, %ebx
movl $4194560, %edi ## imm = 0x400100
movl $8, %esi
callq _calloc
xorpd %xmm0, %xmm0
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
addsd -56(%rax,%rbx,8), %xmm0
addsd -48(%rax,%rbx,8), %xmm0
addsd -40(%rax,%rbx,8), %xmm0
addsd -32(%rax,%rbx,8), %xmm0
addsd -24(%rax,%rbx,8), %xmm0
addsd -16(%rax,%rbx,8), %xmm0
addsd -8(%rax,%rbx,8), %xmm0
cmpq $4194560, %rbx ## imm = 0x400100
je LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
addsd (%rax,%rbx,8), %xmm0
addq $8, %rbx
jmp LBB2_1
LBB2_3:
movsd LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jb LBB2_4
## %bb.6:
movq %rax, %rdi
callq _free
movq _polybench_t_start@GOTPCREL(%rip), %rax
movq $0, (%rax)
LBB2_5:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB2_4:
callq _polybench_timer_start.cold.1
jmp LBB2_5
.cfi_endproc
## -- End function
.globl _polybench_timer_stop ## -- Begin function polybench_timer_stop
.p2align 4, 0x90
_polybench_timer_stop: ## @polybench_timer_stop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _polybench_t_end@GOTPCREL(%rip), %rax
movq $0, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _polybench_timer_print ## -- Begin function polybench_timer_print
.p2align 4, 0x90
_polybench_timer_print: ## @polybench_timer_print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _polybench_t_end@GOTPCREL(%rip), %rax
movsd (%rax), %xmm0 ## xmm0 = mem[0],zero
movq _polybench_t_start@GOTPCREL(%rip), %rax
subsd (%rax), %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _polybench_alloc_data ## -- Begin function polybench_alloc_data
.p2align 4, 0x90
_polybench_alloc_data: ## @polybench_alloc_data
.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
movslq %esi, %rdx
imulq %rdi, %rdx
movq $0, -8(%rbp)
leaq -8(%rbp), %rdi
movl $32, %esi
callq _posix_memalign
movl %eax, %ecx
movq -8(%rbp), %rax
testq %rax, %rax
je LBB5_3
## %bb.1:
testl %ecx, %ecx
jne LBB5_3
## %bb.2:
addq $16, %rsp
popq %rbp
retq
LBB5_3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.3(%rip), %rdi
movl $50, %esi
movl $1, %edx
callq _fwrite
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function polybench_flush_cache.cold.1
_polybench_flush_cache.cold.1: ## @polybench_flush_cache.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L___func__.polybench_flush_cache(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
pushq $97
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function polybench_prepare_instruments.cold.1
_polybench_prepare_instruments.cold.1: ## @polybench_prepare_instruments.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L___func__.polybench_flush_cache(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
pushq $97
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function polybench_timer_start.cold.1
_polybench_timer_start.cold.1: ## @polybench_timer_start.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L___func__.polybench_flush_cache(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
pushq $97
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.globl _polybench_papi_counters_threadid ## @polybench_papi_counters_threadid
.zerofill __DATA,__common,_polybench_papi_counters_threadid,4,2
.globl _polybench_program_total_flops ## @polybench_program_total_flops
.zerofill __DATA,__common,_polybench_program_total_flops,8,3
.section __TEXT,__cstring,cstring_literals
L___func__.polybench_flush_cache: ## @__func__.polybench_flush_cache
.asciz "polybench_flush_cache"
L_.str: ## @.str
.asciz "231392216.c"
L_.str.1: ## @.str.1
.asciz "tmp <= 10.0"
.comm _polybench_t_start,8,3 ## @polybench_t_start
.comm _polybench_t_end,8,3 ## @polybench_t_end
L_.str.2: ## @.str.2
.asciz "%0.6f\n"
.comm _polybench_c_start,8,3 ## @polybench_c_start
.comm _polybench_c_end,8,3 ## @polybench_c_end
L_.str.3: ## @.str.3
.asciz "[PolyBench] posix_memalign: cannot allocate memory"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _polybench_flush_cache ; -- Begin function polybench_flush_cache
.p2align 2
_polybench_flush_cache: ; @polybench_flush_cache
.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, #256
movk w0, #64, lsl #16
mov w1, #8
bl _calloc
mov x8, #0
movi d0, #0000000000000000
mov w9, #2016
movk w9, #512, lsl #16
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x10, x0, x8
ldp d1, d2, [x10, #8]
ldp d3, d4, [x10, #24]
fadd d0, d0, d1
fadd d0, d0, d2
fadd d0, d0, d3
fadd d0, d0, d4
add x8, x8, #32
cmp x8, x9
b.ne LBB0_1
; %bb.2:
mov w8, #2024
movk w8, #512, lsl #16
ldr d1, [x0, x8]
fadd d0, d0, d1
mov w8, #2032
movk w8, #512, lsl #16
ldr d1, [x0, x8]
fadd d0, d0, d1
mov w8, #2040
movk w8, #512, lsl #16
ldr d1, [x0, x8]
fadd d0, d0, d1
fmov d1, #10.00000000
fcmp d0, d1
b.hi LBB0_4
; %bb.3:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _free
LBB0_4:
bl _polybench_flush_cache.cold.1
.cfi_endproc
; -- End function
.globl _polybench_prepare_instruments ; -- Begin function polybench_prepare_instruments
.p2align 2
_polybench_prepare_instruments: ; @polybench_prepare_instruments
.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, #256
movk w0, #64, lsl #16
mov w1, #8
bl _calloc
mov x8, #0
movi d0, #0000000000000000
mov w9, #2016
movk w9, #512, lsl #16
LBB1_1: ; =>This Inner Loop Header: Depth=1
add x10, x0, x8
ldp d1, d2, [x10, #8]
ldp d3, d4, [x10, #24]
fadd d0, d0, d1
fadd d0, d0, d2
fadd d0, d0, d3
fadd d0, d0, d4
add x8, x8, #32
cmp x8, x9
b.ne LBB1_1
; %bb.2:
mov w8, #2024
movk w8, #512, lsl #16
ldr d1, [x0, x8]
fadd d0, d0, d1
mov w8, #2032
movk w8, #512, lsl #16
ldr d1, [x0, x8]
fadd d0, d0, d1
mov w8, #2040
movk w8, #512, lsl #16
ldr d1, [x0, x8]
fadd d0, d0, d1
fmov d1, #10.00000000
fcmp d0, d1
b.hi LBB1_4
; %bb.3:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _free
LBB1_4:
bl _polybench_prepare_instruments.cold.1
.cfi_endproc
; -- End function
.globl _polybench_timer_start ; -- Begin function polybench_timer_start
.p2align 2
_polybench_timer_start: ; @polybench_timer_start
.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, #256
movk w0, #64, lsl #16
mov w1, #8
bl _calloc
mov x8, #0
movi d0, #0000000000000000
mov w9, #2016
movk w9, #512, lsl #16
LBB2_1: ; =>This Inner Loop Header: Depth=1
add x10, x0, x8
ldp d1, d2, [x10, #8]
ldp d3, d4, [x10, #24]
fadd d0, d0, d1
fadd d0, d0, d2
fadd d0, d0, d3
fadd d0, d0, d4
add x8, x8, #32
cmp x8, x9
b.ne LBB2_1
; %bb.2:
mov w8, #2024
movk w8, #512, lsl #16
ldr d1, [x0, x8]
fadd d0, d0, d1
mov w8, #2032
movk w8, #512, lsl #16
ldr d1, [x0, x8]
fadd d0, d0, d1
mov w8, #2040
movk w8, #512, lsl #16
ldr d1, [x0, x8]
fadd d0, d0, d1
fmov d1, #10.00000000
fcmp d0, d1
b.hi LBB2_4
; %bb.3:
bl _free
Lloh0:
adrp x8, _polybench_t_start@GOTPAGE
Lloh1:
ldr x8, [x8, _polybench_t_start@GOTPAGEOFF]
Lloh2:
str xzr, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB2_4:
bl _polybench_timer_start.cold.1
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.globl _polybench_timer_stop ; -- Begin function polybench_timer_stop
.p2align 2
_polybench_timer_stop: ; @polybench_timer_stop
.cfi_startproc
; %bb.0:
Lloh3:
adrp x8, _polybench_t_end@GOTPAGE
Lloh4:
ldr x8, [x8, _polybench_t_end@GOTPAGEOFF]
Lloh5:
str xzr, [x8]
ret
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _polybench_timer_print ; -- Begin function polybench_timer_print
.p2align 2
_polybench_timer_print: ; @polybench_timer_print
.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
Lloh6:
adrp x8, _polybench_t_end@GOTPAGE
Lloh7:
ldr x8, [x8, _polybench_t_end@GOTPAGEOFF]
Lloh8:
ldr d0, [x8]
Lloh9:
adrp x8, _polybench_t_start@GOTPAGE
Lloh10:
ldr x8, [x8, _polybench_t_start@GOTPAGEOFF]
Lloh11:
ldr d1, [x8]
fsub d0, d0, d1
str d0, [sp]
Lloh12:
adrp x0, l_.str.2@PAGE
Lloh13:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.globl _polybench_alloc_data ; -- Begin function polybench_alloc_data
.p2align 2
_polybench_alloc_data: ; @polybench_alloc_data
.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
; kill: def $w1 killed $w1 def $x1
sxtw x8, w1
mul x2, x8, x0
str xzr, [sp, #8]
add x0, sp, #8
mov w1, #32
bl _posix_memalign
mov x8, x0
ldr x0, [sp, #8]
cmp x0, #0
ccmp w8, #0, #0, ne
b.ne LBB5_2
; %bb.1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB5_2:
Lloh14:
adrp x8, ___stderrp@GOTPAGE
Lloh15:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh16:
ldr x3, [x8]
Lloh17:
adrp x0, l_.str.3@PAGE
Lloh18:
add x0, x0, l_.str.3@PAGEOFF
mov w1, #50
mov w2, #1
bl _fwrite
mov w0, #1
bl _exit
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function polybench_flush_cache.cold.1
_polybench_flush_cache.cold.1: ; @polybench_flush_cache.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh19:
adrp x0, l___func__.polybench_flush_cache@PAGE
Lloh20:
add x0, x0, l___func__.polybench_flush_cache@PAGEOFF
Lloh21:
adrp x1, l_.str@PAGE
Lloh22:
add x1, x1, l_.str@PAGEOFF
Lloh23:
adrp x3, l_.str.1@PAGE
Lloh24:
add x3, x3, l_.str.1@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function polybench_prepare_instruments.cold.1
_polybench_prepare_instruments.cold.1: ; @polybench_prepare_instruments.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh25:
adrp x0, l___func__.polybench_flush_cache@PAGE
Lloh26:
add x0, x0, l___func__.polybench_flush_cache@PAGEOFF
Lloh27:
adrp x1, l_.str@PAGE
Lloh28:
add x1, x1, l_.str@PAGEOFF
Lloh29:
adrp x3, l_.str.1@PAGE
Lloh30:
add x3, x3, l_.str.1@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function polybench_timer_start.cold.1
_polybench_timer_start.cold.1: ; @polybench_timer_start.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh31:
adrp x0, l___func__.polybench_flush_cache@PAGE
Lloh32:
add x0, x0, l___func__.polybench_flush_cache@PAGEOFF
Lloh33:
adrp x1, l_.str@PAGE
Lloh34:
add x1, x1, l_.str@PAGEOFF
Lloh35:
adrp x3, l_.str.1@PAGE
Lloh36:
add x3, x3, l_.str.1@PAGEOFF
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function OUTLINED_FUNCTION_0
_OUTLINED_FUNCTION_0: ; @OUTLINED_FUNCTION_0 Thunk
.cfi_startproc
; %bb.0:
mov w2, #97
b ___assert_rtn
.cfi_endproc
; -- End function
.globl _polybench_papi_counters_threadid ; @polybench_papi_counters_threadid
.zerofill __DATA,__common,_polybench_papi_counters_threadid,4,2
.globl _polybench_program_total_flops ; @polybench_program_total_flops
.zerofill __DATA,__common,_polybench_program_total_flops,8,3
.section __TEXT,__cstring,cstring_literals
l___func__.polybench_flush_cache: ; @__func__.polybench_flush_cache
.asciz "polybench_flush_cache"
l_.str: ; @.str
.asciz "231392216.c"
l_.str.1: ; @.str.1
.asciz "tmp <= 10.0"
.comm _polybench_t_start,8,3 ; @polybench_t_start
.comm _polybench_t_end,8,3 ; @polybench_t_end
l_.str.2: ; @.str.2
.asciz "%0.6f\n"
.comm _polybench_c_start,8,3 ; @polybench_c_start
.comm _polybench_c_end,8,3 ; @polybench_c_end
l_.str.3: ; @.str.3
.asciz "[PolyBench] posix_memalign: cannot allocate memory"
.subsections_via_symbols
| the_stack_data/231392216.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hdsp_channel_buffer_location
_hdsp_channel_buffer_location: ## @hdsp_channel_buffer_location
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r15
testl %edx, %edx
js LBB0_2
## %bb.1:
xorl %edi, %edi
cmpl %ebx, (%r15)
setle %dil
jmp LBB0_3
LBB0_2:
movl $1, %edi
LBB0_3:
callq _snd_BUG_ON
testq %rax, %rax
je LBB0_5
LBB0_7:
xorl %eax, %eax
jmp LBB0_8
LBB0_5:
movq 8(%r15), %rax
movslq %ebx, %rcx
movslq (%rax,%rcx,4), %rcx
testq %rcx, %rcx
js LBB0_7
## %bb.6:
movq _SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rax
xorl %edx, %edx
cmpl %r14d, (%rax)
setne %dl
movq _HDSP_CHANNEL_BUFFER_BYTES@GOTPCREL(%rip), %rax
movslq (%rax), %rax
imulq %rcx, %rax
addq 16(%r15,%rdx,8), %rax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SNDRV_PCM_STREAM_CAPTURE,4,2 ## @SNDRV_PCM_STREAM_CAPTURE
.comm _HDSP_CHANNEL_BUFFER_BYTES,4,2 ## @HDSP_CHANNEL_BUFFER_BYTES
.no_dead_strip _hdsp_channel_buffer_location
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hdsp_channel_buffer_location
_hdsp_channel_buffer_location: ; @hdsp_channel_buffer_location
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x20, x1
mov x19, x0
tbnz w2, #31, LBB0_2
; %bb.1:
ldr w8, [x19]
cmp w8, w21
cset w0, le
bl _snd_BUG_ON
cbnz x0, LBB0_5
b LBB0_3
LBB0_2:
mov w0, #1
bl _snd_BUG_ON
cbnz x0, LBB0_5
LBB0_3:
ldr x8, [x19, #8]
ldrsw x8, [x8, w21, sxtw #2]
tbnz w8, #31, LBB0_5
; %bb.4:
Lloh0:
adrp x9, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh1:
ldr x9, [x9, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
cmp w9, w20
mov w9, #24
mov w10, #16
csel x9, x10, x9, eq
ldr x9, [x19, x9]
Lloh3:
adrp x10, _HDSP_CHANNEL_BUFFER_BYTES@GOTPAGE
Lloh4:
ldr x10, [x10, _HDSP_CHANNEL_BUFFER_BYTES@GOTPAGEOFF]
Lloh5:
ldrsw x10, [x10]
madd x0, x10, x8, x9
b LBB0_6
LBB0_5:
mov x0, #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 Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SNDRV_PCM_STREAM_CAPTURE,4,2 ; @SNDRV_PCM_STREAM_CAPTURE
.comm _HDSP_CHANNEL_BUFFER_BYTES,4,2 ; @HDSP_CHANNEL_BUFFER_BYTES
.no_dead_strip _hdsp_channel_buffer_location
.subsections_via_symbols
| AnghaBench/linux/sound/pci/rme9652/extr_hdsp.c_hdsp_channel_buffer_location.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
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 _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/686083.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _createRecPtrList ## -- Begin function createRecPtrList
.p2align 4, 0x90
_createRecPtrList: ## @createRecPtrList
.cfi_startproc
## %bb.0:
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, %r15d
movq %rdi, %r14
movq %rdx, (%rdi)
leaq L_.str(%rip), %rsi
movq %rdx, %rdi
callq _strtok
movl $1, %ebx
cmpl $2, %r15d
setge %cl
jl LBB0_5
## %bb.1:
testq %rax, %rax
je LBB0_5
## %bb.2:
movl %r15d, %r12d
movl $1, %ebx
leaq L_.str(%rip), %r15
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
xorl %edi, %edi
movq %r15, %rsi
callq _strtok
movq %rax, (%r14,%rbx,8)
incq %rbx
cmpq %r12, %rbx
setb %cl
jae LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
testq %rax, %rax
jne LBB0_3
LBB0_5:
movzbl %cl, %eax
subl %eax, %ebx
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 "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _createRecPtrList ; -- Begin function createRecPtrList
.p2align 2
_createRecPtrList: ; @createRecPtrList
.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
str x2, [x0]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x2
bl _strtok
cmp w20, #1
cset w9, gt
mov w8, #1
cmp w20, #2
b.lt LBB0_5
; %bb.1:
cbz x0, LBB0_5
; %bb.2:
mov w21, w20
mov w8, #1
Lloh2:
adrp x20, l_.str@PAGE
Lloh3:
add x20, x20, l_.str@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x22, x8
mov x0, #0
mov x1, x20
bl _strtok
add x8, x22, #1
str x0, [x19, x22, lsl #3]
cmp x8, x21
cset w9, lo
b.hs LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cbnz x0, LBB0_3
LBB0_5:
sub w0, w8, w9
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
.subsections_via_symbols
| the_stack_data/551521.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ixgbe_fdir_set_input_mask_82599 ## -- Begin function ixgbe_fdir_set_input_mask_82599
.p2align 4, 0x90
_ixgbe_fdir_set_input_mask_82599: ## @ixgbe_fdir_set_input_mask_82599
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq _IXGBE_FDIRM_DIPv6@GOTPCREL(%rip), %rax
movl (%rax), %r15d
cmpq $0, 48(%rsi)
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _hw_dbg
LBB0_2:
movl (%rbx), %eax
andl $127, %eax
cmpl $127, %eax
je LBB0_5
## %bb.3:
testl %eax, %eax
jne LBB0_13
## %bb.4:
movq _IXGBE_FDIRM_POOL@GOTPCREL(%rip), %rax
orl (%rax), %r15d
LBB0_5:
testb $-128, 4(%rbx)
jne LBB0_9
## %bb.6:
cmpl $0, 40(%rbx)
jne LBB0_15
## %bb.7:
cmpl $0, 36(%rbx)
je LBB0_8
LBB0_15:
leaq L_.str.2(%rip), %rsi
jmp LBB0_14
LBB0_13:
leaq L_.str.1(%rip), %rsi
jmp LBB0_14
LBB0_8:
movq _IXGBE_FDIRM_L4P@GOTPCREL(%rip), %rax
orl (%rax), %r15d
LBB0_9:
movl 32(%rbx), %edi
callq _ntohs
andw $-4097, %ax ## imm = 0xEFFF
movzwl %ax, %ecx
jns LBB0_16
## %bb.10:
cmpl $57344, %ecx ## imm = 0xE000
je LBB0_20
## %bb.11:
cmpl $61439, %ecx ## imm = 0xEFFF
je LBB0_22
jmp LBB0_12
LBB0_16:
cmpl $4095, %ecx ## imm = 0xFFF
je LBB0_19
## %bb.17:
testw %ax, %ax
jne LBB0_12
## %bb.18:
movq _IXGBE_FDIRM_VLANID@GOTPCREL(%rip), %rax
orl (%rax), %r15d
LBB0_19:
movq _IXGBE_FDIRM_VLANP@GOTPCREL(%rip), %rax
jmp LBB0_21
LBB0_20:
movq _IXGBE_FDIRM_VLANID@GOTPCREL(%rip), %rax
LBB0_21:
orl (%rax), %r15d
LBB0_22:
movzwl 8(%rbx), %eax
cmpw $-1, %ax
je LBB0_25
## %bb.23:
testw %ax, %ax
jne LBB0_27
## %bb.24:
movq _IXGBE_FDIRM_FLEX@GOTPCREL(%rip), %rax
orl (%rax), %r15d
LBB0_25:
movq _IXGBE_FDIRM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
movl %r15d, %edx
callq _IXGBE_WRITE_REG
movq %rbx, %rdi
callq _ixgbe_get_fdirtcpm_82599
movl %eax, %r15d
movq _IXGBE_FDIRTCPM@GOTPCREL(%rip), %rax
movl (%rax), %esi
notl %r15d
movq %r14, %rdi
movl %r15d, %edx
callq _IXGBE_WRITE_REG
movq _IXGBE_FDIRUDPM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
movl %r15d, %edx
callq _IXGBE_WRITE_REG
movq _IXGBE_FDIRSIP4M@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq 24(%rbx), %rax
movl (%rax), %edx
notl %edx
movq %r14, %rdi
callq _IXGBE_WRITE_REG_BE32
movq _IXGBE_FDIRDIP4M@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq 16(%rbx), %rax
movl (%rax), %edx
notl %edx
movq %r14, %rdi
callq _IXGBE_WRITE_REG_BE32
xorl %eax, %eax
jmp LBB0_26
LBB0_27:
leaq L_.str.5(%rip), %rsi
jmp LBB0_14
LBB0_12:
leaq L_.str.4(%rip), %rsi
LBB0_14:
movq %r14, %rdi
callq _hw_dbg
movq _IXGBE_ERR_CONFIG@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_26:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IXGBE_FDIRM_DIPv6,4,2 ## @IXGBE_FDIRM_DIPv6
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " bucket hash should always be 0 in mask\n"
.comm _IXGBE_FDIRM_POOL,4,2 ## @IXGBE_FDIRM_POOL
L_.str.1: ## @.str.1
.asciz " Error on vm pool mask\n"
.comm _IXGBE_ERR_CONFIG,4,2 ## @IXGBE_ERR_CONFIG
.comm _IXGBE_FDIRM_L4P,4,2 ## @IXGBE_FDIRM_L4P
L_.str.2: ## @.str.2
.asciz " Error on src/dst port mask\n"
.comm _IXGBE_FDIRM_VLANID,4,2 ## @IXGBE_FDIRM_VLANID
.comm _IXGBE_FDIRM_VLANP,4,2 ## @IXGBE_FDIRM_VLANP
L_.str.4: ## @.str.4
.asciz " Error on VLAN mask\n"
.comm _IXGBE_FDIRM_FLEX,4,2 ## @IXGBE_FDIRM_FLEX
L_.str.5: ## @.str.5
.asciz " Error on flexible byte mask\n"
.comm _IXGBE_FDIRM,4,2 ## @IXGBE_FDIRM
.comm _IXGBE_FDIRTCPM,4,2 ## @IXGBE_FDIRTCPM
.comm _IXGBE_FDIRUDPM,4,2 ## @IXGBE_FDIRUDPM
.comm _IXGBE_FDIRSIP4M,4,2 ## @IXGBE_FDIRSIP4M
.comm _IXGBE_FDIRDIP4M,4,2 ## @IXGBE_FDIRDIP4M
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ixgbe_fdir_set_input_mask_82599 ; -- Begin function ixgbe_fdir_set_input_mask_82599
.p2align 2
_ixgbe_fdir_set_input_mask_82599: ; @ixgbe_fdir_set_input_mask_82599
.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
Lloh0:
adrp x8, _IXGBE_FDIRM_DIPv6@GOTPAGE
Lloh1:
ldr x8, [x8, _IXGBE_FDIRM_DIPv6@GOTPAGEOFF]
Lloh2:
ldr w21, [x8]
ldr x8, [x1, #48]
cbz x8, LBB0_2
; %bb.1:
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _hw_dbg
LBB0_2:
ldr w8, [x20]
and w8, w8, #0x7f
cmp w8, #127
b.eq LBB0_5
; %bb.3:
cbnz w8, LBB0_9
; %bb.4:
Lloh5:
adrp x8, _IXGBE_FDIRM_POOL@GOTPAGE
Lloh6:
ldr x8, [x8, _IXGBE_FDIRM_POOL@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
orr w21, w8, w21
LBB0_5:
ldrb w8, [x20, #4]
tbnz w8, #7, LBB0_11
; %bb.6:
ldr w8, [x20, #40]
cbnz w8, LBB0_8
; %bb.7:
ldr w8, [x20, #36]
cbz w8, LBB0_10
LBB0_8:
Lloh8:
adrp x1, l_.str.2@PAGE
Lloh9:
add x1, x1, l_.str.2@PAGEOFF
b LBB0_26
LBB0_9:
Lloh10:
adrp x1, l_.str.1@PAGE
Lloh11:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_26
LBB0_10:
Lloh12:
adrp x8, _IXGBE_FDIRM_L4P@GOTPAGE
Lloh13:
ldr x8, [x8, _IXGBE_FDIRM_L4P@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
orr w21, w8, w21
LBB0_11:
ldr w0, [x20, #32]
bl _ntohs
mov w8, #61439
and w8, w0, w8
cmp w8, #14, lsl #12 ; =57344
b.ge LBB0_14
; %bb.12:
cbz w8, LBB0_17
; %bb.13:
cmp w8, #4095
b.eq LBB0_18
b LBB0_16
LBB0_14:
b.eq LBB0_19
; %bb.15:
mov w9, #61439
cmp w8, w9
b.eq LBB0_21
LBB0_16:
Lloh15:
adrp x1, l_.str.4@PAGE
Lloh16:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_26
LBB0_17:
Lloh17:
adrp x8, _IXGBE_FDIRM_VLANID@GOTPAGE
Lloh18:
ldr x8, [x8, _IXGBE_FDIRM_VLANID@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
orr w21, w8, w21
LBB0_18:
Lloh20:
adrp x8, _IXGBE_FDIRM_VLANP@GOTPAGE
Lloh21:
ldr x8, [x8, _IXGBE_FDIRM_VLANP@GOTPAGEOFF]
b LBB0_20
LBB0_19:
Lloh22:
adrp x8, _IXGBE_FDIRM_VLANID@GOTPAGE
Lloh23:
ldr x8, [x8, _IXGBE_FDIRM_VLANID@GOTPAGEOFF]
LBB0_20:
ldr w8, [x8]
orr w21, w8, w21
LBB0_21:
ldrh w8, [x20, #8]
mov w9, #65535
cmp w8, w9
b.eq LBB0_24
; %bb.22:
cbnz w8, LBB0_25
; %bb.23:
Lloh24:
adrp x8, _IXGBE_FDIRM_FLEX@GOTPAGE
Lloh25:
ldr x8, [x8, _IXGBE_FDIRM_FLEX@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
orr w21, w8, w21
LBB0_24:
Lloh27:
adrp x8, _IXGBE_FDIRM@GOTPAGE
Lloh28:
ldr x8, [x8, _IXGBE_FDIRM@GOTPAGEOFF]
Lloh29:
ldr w1, [x8]
mov x0, x19
mov x2, x21
bl _IXGBE_WRITE_REG
mov x0, x20
bl _ixgbe_get_fdirtcpm_82599
Lloh30:
adrp x8, _IXGBE_FDIRTCPM@GOTPAGE
Lloh31:
ldr x8, [x8, _IXGBE_FDIRTCPM@GOTPAGEOFF]
Lloh32:
ldr w1, [x8]
mvn w21, w0
mov x0, x19
mov x2, x21
bl _IXGBE_WRITE_REG
Lloh33:
adrp x8, _IXGBE_FDIRUDPM@GOTPAGE
Lloh34:
ldr x8, [x8, _IXGBE_FDIRUDPM@GOTPAGEOFF]
Lloh35:
ldr w1, [x8]
mov x0, x19
mov x2, x21
bl _IXGBE_WRITE_REG
Lloh36:
adrp x8, _IXGBE_FDIRSIP4M@GOTPAGE
Lloh37:
ldr x8, [x8, _IXGBE_FDIRSIP4M@GOTPAGEOFF]
Lloh38:
ldr w1, [x8]
ldr x8, [x20, #24]
ldr w8, [x8]
mvn w2, w8
mov x0, x19
bl _IXGBE_WRITE_REG_BE32
Lloh39:
adrp x8, _IXGBE_FDIRDIP4M@GOTPAGE
Lloh40:
ldr x8, [x8, _IXGBE_FDIRDIP4M@GOTPAGEOFF]
Lloh41:
ldr w1, [x8]
ldr x8, [x20, #16]
ldr w8, [x8]
mvn w2, w8
mov x0, x19
bl _IXGBE_WRITE_REG_BE32
mov w0, #0
b LBB0_27
LBB0_25:
Lloh42:
adrp x1, l_.str.5@PAGE
Lloh43:
add x1, x1, l_.str.5@PAGEOFF
LBB0_26:
mov x0, x19
bl _hw_dbg
Lloh44:
adrp x8, _IXGBE_ERR_CONFIG@GOTPAGE
Lloh45:
ldr x8, [x8, _IXGBE_ERR_CONFIG@GOTPAGEOFF]
Lloh46:
ldr w0, [x8]
LBB0_27:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.cfi_endproc
; -- End function
.comm _IXGBE_FDIRM_DIPv6,4,2 ; @IXGBE_FDIRM_DIPv6
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " bucket hash should always be 0 in mask\n"
.comm _IXGBE_FDIRM_POOL,4,2 ; @IXGBE_FDIRM_POOL
l_.str.1: ; @.str.1
.asciz " Error on vm pool mask\n"
.comm _IXGBE_ERR_CONFIG,4,2 ; @IXGBE_ERR_CONFIG
.comm _IXGBE_FDIRM_L4P,4,2 ; @IXGBE_FDIRM_L4P
l_.str.2: ; @.str.2
.asciz " Error on src/dst port mask\n"
.comm _IXGBE_FDIRM_VLANID,4,2 ; @IXGBE_FDIRM_VLANID
.comm _IXGBE_FDIRM_VLANP,4,2 ; @IXGBE_FDIRM_VLANP
l_.str.4: ; @.str.4
.asciz " Error on VLAN mask\n"
.comm _IXGBE_FDIRM_FLEX,4,2 ; @IXGBE_FDIRM_FLEX
l_.str.5: ; @.str.5
.asciz " Error on flexible byte mask\n"
.comm _IXGBE_FDIRM,4,2 ; @IXGBE_FDIRM
.comm _IXGBE_FDIRTCPM,4,2 ; @IXGBE_FDIRTCPM
.comm _IXGBE_FDIRUDPM,4,2 ; @IXGBE_FDIRUDPM
.comm _IXGBE_FDIRSIP4M,4,2 ; @IXGBE_FDIRSIP4M
.comm _IXGBE_FDIRDIP4M,4,2 ; @IXGBE_FDIRDIP4M
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_82599.c_ixgbe_fdir_set_input_mask_82599.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.