file
stringlengths 6
20
| x86
stringlengths 902
260k
| arm
stringlengths 1.04k
269k
|
|---|---|---|
natlog.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function main
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
LCPI0_1:
.quad 0x3ff0000a7c5ac472 ## double 1.0000100000000001
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movl $-100000, %eax ## imm = 0xFFFE7960
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
addl $10, %eax
jne LBB0_1
## %bb.2:
leaq L_.str(%rip), %rdi
movb $1, %al
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "natlog: e=%f\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
fmov d0, #1.00000000
mov w8, #34465 ; =0x86a1
movk w8, #1, lsl #16
mov x9, #50290 ; =0xc472
movk x9, #31834, lsl #16
movk x9, #10, lsl #32
movk x9, #16368, lsl #48
LBB0_1: ; =>This Inner Loop Header: Depth=1
fmov d1, x9
fmul d0, d0, d1
sub w8, w8, #1
cmp w8, #1
b.hi LBB0_1
; %bb.2:
sub sp, sp, #32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str d0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "natlog: e=%f\n"
.subsections_via_symbols
|
quaternions.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function quat_from_euler
LCPI0_0:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI0_1:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _quat_from_euler
.p2align 4, 0x90
_quat_from_euler: ## @quat_from_euler
.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 $80, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
testq %rsi, %rsi
je LBB0_1
## %bb.3:
movq %rsi, %r14
movsd 16(%rsi), %xmm0 ## xmm0 = mem[0],zero
mulsd LCPI0_0(%rip), %xmm0
callq _libmin_cos
movapd %xmm0, -96(%rbp) ## 16-byte Spill
movsd 16(%r14), %xmm0 ## xmm0 = mem[0],zero
mulsd LCPI0_0(%rip), %xmm0
callq _libmin_sin
movapd %xmm0, -80(%rbp) ## 16-byte Spill
movsd 8(%r14), %xmm0 ## xmm0 = mem[0],zero
mulsd LCPI0_0(%rip), %xmm0
callq _libmin_cos
movapd %xmm0, -64(%rbp) ## 16-byte Spill
movsd 8(%r14), %xmm0 ## xmm0 = mem[0],zero
mulsd LCPI0_0(%rip), %xmm0
callq _libmin_sin
movapd %xmm0, -48(%rbp) ## 16-byte Spill
movsd (%r14), %xmm0 ## xmm0 = mem[0],zero
mulsd LCPI0_0(%rip), %xmm0
callq _libmin_cos
movapd %xmm0, -32(%rbp) ## 16-byte Spill
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd (%r14), %xmm0
callq _libmin_sin
movapd -48(%rbp), %xmm4 ## 16-byte Reload
movapd %xmm4, %xmm1
mulsd %xmm0, %xmm1
movapd -32(%rbp), %xmm7 ## 16-byte Reload
mulsd %xmm7, %xmm4
movapd LCPI0_1(%rip), %xmm2 ## xmm2 = [-0.0E+0,-0.0E+0]
movapd %xmm4, %xmm3
movapd %xmm4, %xmm6
xorpd %xmm2, %xmm3
movddup -64(%rbp), %xmm4 ## 16-byte Folded Reload
## xmm4 = mem[0,0]
unpcklpd %xmm0, %xmm7 ## xmm7 = xmm7[0],xmm0[0]
mulpd %xmm4, %xmm7
movapd -80(%rbp), %xmm5 ## 16-byte Reload
movddup %xmm5, %xmm0 ## xmm0 = xmm5[0,0]
movapd %xmm1, %xmm4
unpcklpd %xmm3, %xmm4 ## xmm4 = xmm4[0],xmm3[0]
mulpd %xmm0, %xmm4
movapd -96(%rbp), %xmm3 ## 16-byte Reload
movddup %xmm3, %xmm0 ## xmm0 = xmm3[0,0]
mulpd %xmm7, %xmm0
addpd %xmm4, %xmm0
movupd %xmm0, (%rbx)
xorpd %xmm2, %xmm1
movapd %xmm5, %xmm0
unpcklpd %xmm3, %xmm0 ## xmm0 = xmm0[0],xmm3[0]
unpcklpd %xmm7, %xmm6 ## xmm6 = xmm6[0],xmm7[0]
shufpd $1, %xmm1, %xmm7 ## xmm7 = xmm7[1],xmm1[0]
mulpd %xmm0, %xmm7
movapd %xmm3, %xmm0
unpcklpd %xmm5, %xmm0 ## xmm0 = xmm0[0],xmm5[0]
mulpd %xmm6, %xmm0
addpd %xmm7, %xmm0
movupd %xmm0, 16(%rbx)
jmp LBB0_2
LBB0_1:
leaq L_.str(%rip), %rdi
leaq L___func__.quat_from_euler(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
xorpd %xmm0, %xmm0
movupd %xmm0, (%rbx)
movupd %xmm0, 16(%rbx)
LBB0_2:
movq %rbx, %rax
addq $80, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function euler_from_quat
LCPI1_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _euler_from_quat
.p2align 4, 0x90
_euler_from_quat: ## @euler_from_quat
.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
xorpd %xmm0, %xmm0
movupd %xmm0, (%rdi)
movq $0, 16(%rdi)
testq %rsi, %rsi
je LBB1_1
## %bb.3:
movq %rsi, %r14
movsd 8(%rsi), %xmm2 ## xmm2 = mem[0],zero
movsd 16(%rsi), %xmm1 ## xmm1 = mem[0],zero
movsd 24(%rsi), %xmm3 ## xmm3 = mem[0],zero
mulsd %xmm1, %xmm3
movsd (%rsi), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm3, %xmm0
addsd %xmm0, %xmm0
mulsd %xmm1, %xmm1
mulsd %xmm2, %xmm2
addsd %xmm1, %xmm2
addsd %xmm2, %xmm2
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm2, %xmm1
callq _libmin_atan2
movsd %xmm0, (%rbx)
movsd (%r14), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%r14), %xmm1 ## xmm1 = mem[0],zero
mulsd 24(%r14), %xmm1
mulsd 16(%r14), %xmm0
addsd %xmm1, %xmm0
addsd %xmm0, %xmm0
callq _libmin_asin
movsd %xmm0, 8(%rbx)
movsd 16(%r14), %xmm4 ## xmm4 = mem[0],zero
movsd 24(%r14), %xmm2 ## xmm2 = mem[0],zero
movsd 8(%r14), %xmm3 ## xmm3 = mem[0],zero
mulsd %xmm4, %xmm3
movsd (%r14), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm2, %xmm0
addsd %xmm3, %xmm0
addsd %xmm0, %xmm0
mulsd %xmm2, %xmm2
mulsd %xmm4, %xmm4
addsd %xmm2, %xmm4
addsd %xmm4, %xmm4
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm4, %xmm1
callq _libmin_atan2
movsd %xmm0, 16(%rbx)
jmp LBB1_2
LBB1_1:
leaq L_.str(%rip), %rdi
leaq L___func__.euler_from_quat(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
LBB1_2:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function quaternion_multiply
LCPI2_0:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _quaternion_multiply
.p2align 4, 0x90
_quaternion_multiply: ## @quaternion_multiply
.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
xorpd %xmm0, %xmm0
movupd %xmm0, 16(%rdi)
movupd %xmm0, (%rdi)
testq %rsi, %rsi
je LBB2_2
## %bb.1:
testq %rdx, %rdx
je LBB2_2
## %bb.4:
movapd LCPI2_0(%rip), %xmm3 ## xmm3 = [-0.0E+0,-0.0E+0]
movsd 8(%rsi), %xmm2 ## xmm2 = mem[0],zero
movsd 16(%rsi), %xmm0 ## xmm0 = mem[0],zero
movapd %xmm2, %xmm1
xorpd %xmm3, %xmm1
xorpd %xmm0, %xmm3
movupd (%rdx), %xmm4
movupd 16(%rdx), %xmm6
movddup (%rsi), %xmm5 ## xmm5 = mem[0,0]
movapd %xmm5, %xmm7
movapd %xmm3, %xmm8
unpcklpd %xmm0, %xmm8 ## xmm8 = xmm8[0],xmm0[0]
mulpd %xmm6, %xmm8
mulpd %xmm6, %xmm5
shufpd $1, %xmm6, %xmm6 ## xmm6 = xmm6[1,0]
mulpd %xmm4, %xmm7
unpcklpd %xmm3, %xmm0 ## xmm0 = xmm0[0],xmm3[0]
mulpd %xmm4, %xmm0
shufpd $1, %xmm4, %xmm4 ## xmm4 = xmm4[1,0]
unpcklpd %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0]
movapd %xmm4, %xmm2
mulpd %xmm1, %xmm2
addpd %xmm2, %xmm7
addpd %xmm7, %xmm8
movddup 24(%rsi), %xmm2 ## xmm2 = mem[0,0]
mulpd %xmm2, %xmm4
mulpd %xmm6, %xmm2
subpd %xmm2, %xmm8
movupd %xmm8, (%rbx)
mulpd %xmm6, %xmm1
addpd %xmm1, %xmm5
addpd %xmm5, %xmm0
addpd %xmm0, %xmm4
movupd %xmm4, 16(%rbx)
jmp LBB2_3
LBB2_2:
leaq L_.str(%rip), %rdi
leaq L___func__.quaternion_multiply(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
LBB2_3:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function main
LCPI3_0:
.quad 0x3fefffd7c6d0df55 ## double 0.99998081999999988
LCPI3_1:
.quad 0x3ef41c9790558000 ## double 1.9180000000118547E-5
LCPI3_2:
.quad 0x3ff0000000000000 ## double 1
LCPI3_3:
.quad 0x3fe0000000000000 ## double 0.5
LCPI3_4:
.quad 0xbfe6a0902de00d1b ## double -0.70709999999999995
LCPI3_5:
.quad 0x3f847ae147ae147b ## double 0.01
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movsd LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI3_1(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _libmin_atan2
movsd %xmm0, -24(%rbp) ## 8-byte Spill
xorps %xmm0, %xmm0
callq _libmin_asin
movsd %xmm0, -8(%rbp) ## 8-byte Spill
movsd LCPI3_2(%rip), %xmm1 ## xmm1 = mem[0],zero
xorps %xmm0, %xmm0
callq _libmin_atan2
movaps %xmm0, %xmm2
movsd %xmm0, -16(%rbp) ## 8-byte Spill
leaq L_.str.1(%rip), %rdi
movsd -8(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -24(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movb $3, %al
callq _libmin_printf
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd LCPI3_3(%rip), %xmm0
movsd %xmm0, -16(%rbp) ## 8-byte Spill
callq _libmin_cos
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_sin
movsd %xmm0, -48(%rbp) ## 8-byte Spill
movsd -8(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd LCPI3_3(%rip), %xmm0
movsd %xmm0, -8(%rbp) ## 8-byte Spill
callq _libmin_cos
movsd %xmm0, -16(%rbp) ## 8-byte Spill
movsd -8(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_sin
movsd %xmm0, -8(%rbp) ## 8-byte Spill
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd LCPI3_3(%rip), %xmm0
movsd %xmm0, -24(%rbp) ## 8-byte Spill
callq _libmin_cos
movsd %xmm0, -32(%rbp) ## 8-byte Spill
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_sin
movsd -16(%rbp), %xmm4 ## 8-byte Reload
## xmm4 = mem[0],zero
movapd %xmm4, %xmm3
movsd -32(%rbp), %xmm10 ## 8-byte Reload
## xmm10 = mem[0],zero
mulsd %xmm10, %xmm3
movsd -8(%rbp), %xmm6 ## 8-byte Reload
## xmm6 = mem[0],zero
movapd %xmm6, %xmm1
mulsd %xmm0, %xmm1
movsd -48(%rbp), %xmm8 ## 8-byte Reload
## xmm8 = mem[0],zero
movapd %xmm8, %xmm2
mulsd %xmm1, %xmm2
movapd %xmm3, %xmm9
movsd -56(%rbp), %xmm7 ## 8-byte Reload
## xmm7 = mem[0],zero
mulsd %xmm7, %xmm9
addsd %xmm2, %xmm9
movsd %xmm9, -40(%rbp) ## 8-byte Spill
mulsd %xmm0, %xmm4
mulsd %xmm10, %xmm6
movapd %xmm8, %xmm2
movapd %xmm8, %xmm0
mulsd %xmm6, %xmm0
mulsd %xmm8, %xmm3
mulsd %xmm4, %xmm2
mulsd %xmm7, %xmm4
subsd %xmm0, %xmm4
mulsd %xmm7, %xmm6
addsd %xmm2, %xmm6
mulsd %xmm7, %xmm1
subsd %xmm1, %xmm3
leaq L_.str.2(%rip), %rdi
movapd %xmm9, %xmm0
movsd %xmm4, -16(%rbp) ## 8-byte Spill
movapd %xmm4, %xmm1
movsd %xmm6, -8(%rbp) ## 8-byte Spill
movapd %xmm6, %xmm2
movsd %xmm3, -24(%rbp) ## 8-byte Spill
movb $4, %al
callq _libmin_printf
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd LCPI3_4(%rip), %xmm0
callq _libmin_fabs
movsd LCPI3_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB3_2
## %bb.1:
movl $1, %edi
callq _libmin_fail
LBB3_2:
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd LCPI3_4(%rip), %xmm0
callq _libmin_fabs
movsd LCPI3_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB3_4
## %bb.3:
movl $1, %edi
callq _libmin_fail
LBB3_4:
movsd -8(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_fabs
movsd LCPI3_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB3_6
## %bb.5:
movl $1, %edi
callq _libmin_fail
LBB3_6:
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_fabs
movsd LCPI3_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB3_8
## %bb.7:
movl $1, %edi
callq _libmin_fail
LBB3_8:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: Invalid input."
L___func__.quat_from_euler: ## @__func__.quat_from_euler
.asciz "quat_from_euler"
L___func__.euler_from_quat: ## @__func__.euler_from_quat
.asciz "euler_from_quat"
L___func__.quaternion_multiply: ## @__func__.quaternion_multiply
.asciz "quaternion_multiply"
L_.str.1: ## @.str.1
.asciz "Euler: %.4lf, %.4lf, %.4lf\n"
L_.str.2: ## @.str.2
.asciz "Quaternion: %.4lf %+.4lf %+.4lf %+.4lf\n"
L_.str.3: ## @.str.3
.asciz "All tests passed!\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _quat_from_euler ; -- Begin function quat_from_euler
.p2align 2
_quat_from_euler: ; @quat_from_euler
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp d13, d12, [sp, #16] ; 16-byte Folded Spill
stp d11, d10, [sp, #32] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
.cfi_offset b10, -56
.cfi_offset b11, -64
.cfi_offset b12, -72
.cfi_offset b13, -80
cbz x0, LBB0_2
; %bb.1:
mov x19, x0
ldr d0, [x0, #16]
fmov d13, #0.50000000
fmul d0, d0, d13
bl _libmin_cos
fmov d8, d0
ldr d0, [x19, #16]
fmul d0, d0, d13
bl _libmin_sin
fmov d9, d0
ldr d0, [x19, #8]
fmul d0, d0, d13
bl _libmin_cos
fmov d10, d0
ldr d0, [x19, #8]
fmul d0, d0, d13
bl _libmin_sin
fmov d11, d0
ldr d0, [x19]
fmul d0, d0, d13
bl _libmin_cos
fmov d12, d0
ldr d0, [x19]
fmul d0, d0, d13
bl _libmin_sin
fmov d1, d0
fmul d3, d10, d12
fmul d4, d11, d0
fmul d0, d9, d4
fmadd d0, d3, d8, d0
fmul d2, d10, d1
fmul d5, d11, d12
fnmul d1, d5, d9
fmadd d1, d2, d8, d1
fmul d2, d9, d2
fmadd d2, d5, d8, d2
fnmul d4, d4, d8
fmadd d3, d3, d9, d4
b LBB0_3
LBB0_2:
Lloh0:
adrp x8, l___func__.quat_from_euler@PAGE
Lloh1:
add x8, x8, l___func__.quat_from_euler@PAGEOFF
str x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
movi d0, #0000000000000000
movi d1, #0000000000000000
movi d2, #0000000000000000
movi d3, #0000000000000000
LBB0_3:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
ldp d11, d10, [sp, #32] ; 16-byte Folded Reload
ldp d13, d12, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _euler_from_quat ; -- Begin function euler_from_quat
.p2align 2
_euler_from_quat: ; @euler_from_quat
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp d11, d10, [sp, #16] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
.cfi_offset b10, -56
.cfi_offset b11, -64
cbz x0, LBB1_2
; %bb.1:
mov x19, x0
ldp d0, d1, [x0]
ldp d2, d3, [x0, #16]
fmul d3, d2, d3
fmadd d0, d0, d1, d3
fadd d0, d0, d0
fmul d2, d2, d2
fmadd d1, d1, d1, d2
fmov d10, #1.00000000
fmov d11, #-2.00000000
fmadd d1, d1, d11, d10
bl _libmin_atan2
fmov d8, d0
ldp d0, d1, [x19]
ldp d2, d3, [x19, #16]
fmul d1, d1, d3
fmadd d0, d0, d2, d1
fadd d0, d0, d0
bl _libmin_asin
fmov d9, d0
ldp d0, d1, [x19]
ldp d3, d2, [x19, #16]
fmul d1, d1, d3
fmadd d0, d0, d2, d1
fadd d0, d0, d0
fmul d1, d2, d2
fmadd d1, d3, d3, d1
fmadd d1, d1, d11, d10
bl _libmin_atan2
fmov d2, d0
b LBB1_3
LBB1_2:
Lloh4:
adrp x8, l___func__.euler_from_quat@PAGE
Lloh5:
add x8, x8, l___func__.euler_from_quat@PAGEOFF
str x8, [sp]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
movi d9, #0000000000000000
movi d2, #0000000000000000
movi d8, #0000000000000000
LBB1_3:
fmov d0, d8
fmov d1, d9
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
ldp d11, d10, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _quaternion_multiply ; -- Begin function quaternion_multiply
.p2align 2
_quaternion_multiply: ; @quaternion_multiply
.cfi_startproc
; %bb.0:
sub sp, sp, #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
cbz x0, LBB2_3
; %bb.1:
cbz x1, LBB2_3
; %bb.2:
ldp d3, d4, [x0]
ldp d5, d6, [x1]
fnmul d0, d4, d6
fmadd d0, d3, d5, d0
ldp d7, d16, [x0, #16]
ldp d17, d18, [x1, #16]
fmsub d0, d7, d17, d0
fmsub d0, d16, d18, d0
fmul d1, d5, d4
fmadd d1, d3, d6, d1
fmadd d1, d7, d18, d1
fmsub d1, d16, d17, d1
fnmul d2, d4, d18
fmadd d2, d3, d17, d2
fmadd d2, d7, d5, d2
fmadd d2, d16, d6, d2
fmul d4, d4, d17
fmadd d3, d3, d18, d4
fmsub d3, d7, d6, d3
fmadd d3, d16, d5, d3
b LBB2_4
LBB2_3:
Lloh8:
adrp x8, l___func__.quaternion_multiply@PAGE
Lloh9:
add x8, x8, l___func__.quaternion_multiply@PAGEOFF
str x8, [sp]
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
movi d2, #0000000000000000
movi d3, #0000000000000000
movi d1, #0000000000000000
movi d0, #0000000000000000
LBB2_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp d15, d14, [sp, #32] ; 16-byte Folded Spill
stp d13, d12, [sp, #48] ; 16-byte Folded Spill
stp d11, d10, [sp, #64] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -24
.cfi_offset b9, -32
.cfi_offset b10, -40
.cfi_offset b11, -48
.cfi_offset b12, -56
.cfi_offset b13, -64
.cfi_offset b14, -72
.cfi_offset b15, -80
mov x8, #57173 ; =0xdf55
movk x8, #50896, lsl #16
movk x8, #65495, lsl #32
movk x8, #16367, lsl #48
fmov d0, x8
mov x8, #32768 ; =0x8000
movk x8, #36949, lsl #16
movk x8, #7319, lsl #32
movk x8, #16116, lsl #48
fmov d1, x8
bl _libmin_atan2
fmov d8, d0
movi d0, #0000000000000000
bl _libmin_asin
fmov d9, d0
movi d0, #0000000000000000
fmov d1, #1.00000000
bl _libmin_atan2
fmov d10, d0
stp d8, d0, [sp, #8]
str d9, [sp]
Lloh12:
adrp x0, l_.str.1@PAGE
Lloh13:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
fmov d13, #0.50000000
fmul d10, d10, d13
fmov d0, d10
bl _libmin_cos
fmov d11, d0
fmov d0, d10
bl _libmin_sin
fmov d10, d0
fmul d9, d9, d13
fmov d0, d9
bl _libmin_cos
fmov d12, d0
fmov d0, d9
bl _libmin_sin
fmov d9, d0
fmul d8, d8, d13
fmov d0, d8
bl _libmin_cos
fmov d13, d0
fmov d0, d8
bl _libmin_sin
fmul d1, d12, d13
fmul d2, d9, d0
fmul d3, d10, d2
fmadd d14, d1, d11, d3
fmul d0, d12, d0
fmul d3, d9, d13
fnmul d4, d3, d10
fmadd d12, d0, d11, d4
fmul d0, d10, d0
fmadd d9, d3, d11, d0
fnmul d0, d2, d11
fmadd d8, d1, d10, d0
stp d9, d8, [sp, #16]
stp d14, d12, [sp]
Lloh14:
adrp x0, l_.str.2@PAGE
Lloh15:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov x8, #3355 ; =0xd1b
movk x8, #11744, lsl #16
movk x8, #41104, lsl #32
movk x8, #49126, lsl #48
fmov d0, x8
fadd d0, d14, d0
bl _libmin_fabs
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16260, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB3_2
; %bb.1:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB3_2:
mov x8, #3355 ; =0xd1b
movk x8, #11744, lsl #16
movk x8, #41104, lsl #32
movk x8, #49126, lsl #48
fmov d0, x8
fadd d0, d12, d0
bl _libmin_fabs
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16260, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB3_4
; %bb.3:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB3_4:
fmov d0, d9
bl _libmin_fabs
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16260, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB3_6
; %bb.5:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB3_6:
fmov d0, d8
bl _libmin_fabs
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16260, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB3_8
; %bb.7:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB3_8:
Lloh16:
adrp x0, l_.str.3@PAGE
Lloh17:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp d9, d8, [sp, #80] ; 16-byte Folded Reload
ldp d11, d10, [sp, #64] ; 16-byte Folded Reload
ldp d13, d12, [sp, #48] ; 16-byte Folded Reload
ldp d15, d14, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: Invalid input."
l___func__.quat_from_euler: ; @__func__.quat_from_euler
.asciz "quat_from_euler"
l___func__.euler_from_quat: ; @__func__.euler_from_quat
.asciz "euler_from_quat"
l___func__.quaternion_multiply: ; @__func__.quaternion_multiply
.asciz "quaternion_multiply"
l_.str.1: ; @.str.1
.asciz "Euler: %.4lf, %.4lf, %.4lf\n"
l_.str.2: ; @.str.2
.asciz "Quaternion: %.4lf %+.4lf %+.4lf %+.4lf\n"
l_.str.3: ; @.str.3
.asciz "All tests passed!\n"
.subsections_via_symbols
|
anagram.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _Fatal ## -- Begin function Fatal
.p2align 4, 0x90
_Fatal: ## @Fatal
.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 _libmin_printf
movl $1, %edi
popq %rbp
jmp _libmin_fail ## TAILCALL
.cfi_endproc
## -- End function
.globl _ReadDict ## -- Begin function ReadDict
.p2align 4, 0x90
_ReadDict: ## @ReadDict
.cfi_startproc
## %bb.0:
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 _mwords(%rip), %rdi
callq _libmin_msize
addq $52000, %rax ## imm = 0xCB20
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rax, %rdi
callq _libmin_malloc
movq %rax, %r14
movq _pchDictionary@GOTPCREL(%rip), %rax
movq %r14, (%rax)
testq %r14, %r14
jne LBB1_2
## %bb.1:
leaq L_.str.2(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
LBB1_2:
movq _mwords(%rip), %rdi
leaq L_.str.3(%rip), %rsi
callq _libmin_mopen
movq _mwords(%rip), %rdi
callq _libmin_meof
xorl %ebx, %ebx
testl %eax, %eax
je LBB1_3
LBB1_9:
movq _mwords(%rip), %rdi
callq _libmin_mclose
movb $0, (%r14)
leaq L_.str.4(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _libmin_printf
cmpl $26000, %ebx ## imm = 0x6590
jb LBB1_11
## %bb.10:
leaq L_.str.5(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
LBB1_11:
notq %r14
addq -56(%rbp), %r14 ## 8-byte Folded Reload
movq _pchDictionary@GOTPCREL(%rip), %rax
addq (%rax), %r14
leaq L_.str.6(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
LBB1_3:
xorl %ebx, %ebx
movq __pctype@GOTPCREL(%rip), %r13
jmp LBB1_4
.p2align 4, 0x90
LBB1_8: ## in Loop: Header=BB1_4 Depth=1
movb $0, -1(%r14)
movb %r15b, (%r12)
movb %bl, 1(%r12)
movl -44(%rbp), %ebx ## 4-byte Reload
incl %ebx
movq _mwords(%rip), %rdi
callq _libmin_meof
testl %eax, %eax
jne LBB1_9
LBB1_4: ## =>This Loop Header: Depth=1
## Child Loop BB1_5 Depth 2
movl %ebx, -44(%rbp) ## 4-byte Spill
movq %r14, %r12
addq $3, %r14
movb $3, %r15b
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_5: ## Parent Loop BB1_4 Depth=1
## => This Inner Loop Header: Depth=2
movq _mwords(%rip), %rdi
callq _libmin_mgetc
cmpl $-1, %eax
je LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=2
cmpl $10, %eax
je LBB1_8
## %bb.7: ## in Loop: Header=BB1_5 Depth=2
movq (%r13), %rcx
movslq %eax, %rdx
movzwl (%rcx,%rdx,2), %ecx
andl $3, %ecx
cmpw $1, %cx
sbbb $-1, %bl
movb %al, -1(%r14)
incq %r14
incb %r15b
jmp LBB1_5
.cfi_endproc
## -- End function
.globl _BuildMask ## -- Begin function BuildMask
.p2align 4, 0x90
_BuildMask: ## @BuildMask
.cfi_startproc
## %bb.0:
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, %r12
movq _alPhrase@GOTPCREL(%rip), %rdi
xorl %r14d, %r14d
movl $416, %edx ## imm = 0x1A0
xorl %esi, %esi
callq _libmin_memset
movq _aqMainMask@GOTPCREL(%rip), %rdi
movl $16, %edx
xorl %esi, %esi
callq _libmin_memset
movq _aqMainSign@GOTPCREL(%rip), %rdi
movl $16, %edx
xorl %esi, %esi
callq _libmin_memset
movq _cchPhraseLength@GOTPCREL(%rip), %rax
movl $0, (%rax)
movzbl (%r12), %edx
testb %dl, %dl
je LBB2_7
## %bb.1:
movq __pctype@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
incq %r12
jmp LBB2_2
.p2align 4, 0x90
LBB2_5: ## in Loop: Header=BB2_2 Depth=1
movq _alPhrase@GOTPCREL(%rip), %rsi
movslq %edx, %rdx
shlq $4, %rdx
incl -1552(%rdx,%rsi)
incl %r14d
movl %r14d, (%rax)
LBB2_6: ## in Loop: Header=BB2_2 Depth=1
movzbl (%r12), %edx
incq %r12
testb %dl, %dl
je LBB2_7
LBB2_2: ## =>This Inner Loop Header: Depth=1
movsbq %dl, %rsi
movzwl (%rcx,%rsi,2), %esi
testb $3, %sil
je LBB2_6
## %bb.3: ## in Loop: Header=BB2_2 Depth=1
movsbl %dl, %edx
testb $1, %sil
je LBB2_5
## %bb.4: ## in Loop: Header=BB2_2 Depth=1
addl $32, %edx
jmp LBB2_5
LBB2_7:
xorl %r12d, %r12d
movq _auGlobalFrequency@GOTPCREL(%rip), %r10
xorl %r13d, %r13d
xorl %r11d, %r11d
movq _alPhrase@GOTPCREL(%rip), %rdi
movq _aqMainMask@GOTPCREL(%rip), %r8
movq _aqMainSign@GOTPCREL(%rip), %r9
jmp LBB2_8
.p2align 4, 0x90
LBB2_15: ## in Loop: Header=BB2_8 Depth=1
leal -1(%r15), %edx
movl %r13d, %ecx
shlq %cl, %r15
movl %r11d, %esi
orq %r15, (%r9,%rsi,8)
shlq %cl, %rax
orq %rax, (%r8,%rsi,8)
movl %edx, 8(%rdi,%r14)
movl %r13d, 4(%rdi,%r14)
movl %r11d, 12(%rdi,%r14)
addl %ebx, %r13d
LBB2_16: ## in Loop: Header=BB2_8 Depth=1
incq %r12
cmpq $26, %r12
je LBB2_17
LBB2_8: ## =>This Loop Header: Depth=1
## Child Loop BB2_11 Depth 2
movq %r12, %r14
shlq $4, %r14
movl (%rdi,%r14), %eax
testq %rax, %rax
je LBB2_9
## %bb.10: ## in Loop: Header=BB2_8 Depth=1
leaq (%rdi,%r14), %rdx
movl $0, (%r10,%r12,4)
movl $1, %ebx
movl $1, %r15d
.p2align 4, 0x90
LBB2_11: ## Parent Loop BB2_8 Depth=1
## => This Inner Loop Header: Depth=2
incl %ebx
addq %r15, %r15
cmpq %rax, %r15
jbe LBB2_11
## %bb.12: ## in Loop: Header=BB2_8 Depth=1
leal (%rbx,%r13), %ecx
cmpl $33, %ecx
jl LBB2_15
## %bb.13: ## in Loop: Header=BB2_8 Depth=1
incl %r11d
xorl %r13d, %r13d
cmpl $2, %r11d
jb LBB2_15
## %bb.14: ## in Loop: Header=BB2_8 Depth=1
xorl %r13d, %r13d
leaq L_.str.7(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
movl %r11d, -44(%rbp) ## 4-byte Spill
movq %rdx, -56(%rbp) ## 8-byte Spill
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
movl -44(%rbp), %r11d ## 4-byte Reload
movq _auGlobalFrequency@GOTPCREL(%rip), %r10
movq _aqMainSign@GOTPCREL(%rip), %r9
movq _aqMainMask@GOTPCREL(%rip), %r8
movq _alPhrase@GOTPCREL(%rip), %rdi
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %eax
jmp LBB2_15
.p2align 4, 0x90
LBB2_9: ## in Loop: Header=BB2_8 Depth=1
movl $-1, (%r10,%r12,4)
jmp LBB2_16
LBB2_17:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _NewWord ## -- Begin function NewWord
.p2align 4, 0x90
_NewWord: ## @NewWord
.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 $32, %edi
callq _libmin_malloc
movq %rax, %rbx
testq %rax, %rax
jne LBB3_2
## %bb.1:
movq _cpwCand@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
LBB3_2:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _wprint ## -- Begin function wprint
.p2align 4, 0x90
_wprint: ## @wprint
.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, %rsi
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _NextWord ## -- Begin function NextWord
.p2align 4, 0x90
_NextWord: ## @NextWord
.cfi_startproc
## %bb.0:
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 _cpwCand@GOTPCREL(%rip), %r14
movl (%r14), %eax
cmpl $5000, %eax ## imm = 0x1388
jb LBB5_2
## %bb.1:
leaq L_.str.10(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
movl (%r14), %eax
LBB5_2:
leal 1(%rax), %ecx
movl %ecx, (%r14)
movl %eax, %eax
movq _apwCand@GOTPCREL(%rip), %r15
movq (%r15,%rax,8), %rbx
testq %rbx, %rbx
jne LBB5_6
## %bb.3:
movl $32, %edi
callq _libmin_malloc
movq %rax, %rbx
testq %rax, %rax
jne LBB5_5
## %bb.4:
movl (%r14), %esi
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
LBB5_5:
movl (%r14), %eax
decl %eax
movq %rbx, (%r15,%rax,8)
LBB5_6:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _BuildWord ## -- Begin function BuildWord
.p2align 4, 0x90
_BuildWord: ## @BuildWord
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $48, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
leaq -80(%rbp), %rdi
xorl %r12d, %r12d
movl $26, %edx
xorl %esi, %esi
callq _libmin_memset
movq __pctype@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _alPhrase@GOTPCREL(%rip), %r15
movq %rbx, %rcx
.p2align 4, 0x90
LBB6_1: ## =>This Inner Loop Header: Depth=1
movsbq (%rcx), %rdx
testq %rdx, %rdx
je LBB6_2
## %bb.6: ## in Loop: Header=BB6_1 Depth=1
incq %rcx
movzwl (%rax,%rdx,2), %esi
testb $3, %sil
je LBB6_1
## %bb.7: ## in Loop: Header=BB6_1 Depth=1
leal 32(%rdx), %edi
testb $1, %sil
cmovel %edx, %edi
movslq %edi, %rdx
leaq -97(%rdx), %rsi
movzbl -177(%rbp,%rdx), %edi
incb %dil
movb %dil, -177(%rbp,%rdx)
movzbl %dil, %edx
shlq $4, %rsi
cmpl %edx, (%r15,%rsi)
jb LBB6_4
## %bb.8: ## in Loop: Header=BB6_1 Depth=1
incl %r12d
jmp LBB6_1
LBB6_2:
pmovzxbd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
pmovzxbd -76(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
movq _auGlobalFrequency@GOTPCREL(%rip), %rax
paddd (%rax), %xmm0
paddd 16(%rax), %xmm1
movdqa %xmm0, (%rax)
movdqa %xmm1, 16(%rax)
pmovzxbd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
pmovzxbd -68(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
paddd 32(%rax), %xmm0
paddd 48(%rax), %xmm1
movdqa %xmm0, 32(%rax)
movdqa %xmm1, 48(%rax)
pmovzxbd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
pmovzxbd -60(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
paddd 64(%rax), %xmm0
paddd 80(%rax), %xmm1
movdqa %xmm0, 64(%rax)
movdqa %xmm1, 80(%rax)
movzbl -56(%rbp), %ecx
addl %ecx, 96(%rax)
movzbl -55(%rbp), %ecx
addl %ecx, 100(%rax)
callq _NextWord
movq %rax, %r14
movl $16, %edx
movq %rax, %rdi
xorl %esi, %esi
callq _libmin_memset
movq %rbx, 16(%r14)
movl %r12d, 24(%r14)
addq $28, %r15
movl $1, %eax
.p2align 4, 0x90
LBB6_3: ## =>This Inner Loop Header: Depth=1
movzbl -81(%rbp,%rax), %edx
movzbl -24(%r15), %ecx
shlq %cl, %rdx
movl -16(%r15), %ecx
orq %rdx, (%r14,%rcx,8)
movzbl -80(%rbp,%rax), %edx
movzbl -8(%r15), %ecx
shlq %cl, %rdx
movl (%r15), %ecx
orq %rdx, (%r14,%rcx,8)
addq $2, %rax
addq $32, %r15
cmpq $27, %rax
jne LBB6_3
LBB6_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB6_9
## %bb.5:
addq $48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB6_9:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _AddWords ## -- Begin function AddWords
.p2align 4, 0x90
_AddWords: ## @AddWords
.cfi_startproc
## %bb.0:
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 _pchDictionary@GOTPCREL(%rip), %rax
movq (%rax), %r14
movq _cpwCand@GOTPCREL(%rip), %rbx
movl $0, (%rbx)
movzbl (%r14), %eax
testb %al, %al
je LBB7_1
## %bb.2:
movl _cchMinLength(%rip), %ecx
movq _cchPhraseLength@GOTPCREL(%rip), %r15
jmp LBB7_3
.p2align 4, 0x90
LBB7_7: ## in Loop: Header=BB7_3 Depth=1
leaq 2(%r14), %rdi
callq _BuildWord
movl _cchMinLength(%rip), %ecx
movzbl (%r14), %eax
LBB7_8: ## in Loop: Header=BB7_3 Depth=1
movsbq %al, %rdx
movzbl (%r14,%rdx), %eax
addq %rdx, %r14
testb %al, %al
je LBB7_9
LBB7_3: ## =>This Inner Loop Header: Depth=1
movsbl 1(%r14), %edx
cmpl %edx, %ecx
jle LBB7_4
## %bb.6: ## in Loop: Header=BB7_3 Depth=1
cmpl %edx, (%r15)
je LBB7_7
jmp LBB7_8
.p2align 4, 0x90
LBB7_4: ## in Loop: Header=BB7_3 Depth=1
leal (%rcx,%rdx), %edi
movl (%r15), %esi
cmpl %esi, %edi
jle LBB7_7
## %bb.5: ## in Loop: Header=BB7_3 Depth=1
cmpl %edx, %esi
jne LBB7_8
jmp LBB7_7
LBB7_9:
movl (%rbx), %esi
jmp LBB7_10
LBB7_1:
xorl %esi, %esi
LBB7_10:
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _DumpCandidates ## -- Begin function DumpCandidates
.p2align 4, 0x90
_DumpCandidates: ## @DumpCandidates
.cfi_startproc
## %bb.0:
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 _cpwCand@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
je LBB8_3
## %bb.1:
movq _apwCand@GOTPCREL(%rip), %r15
movl $10, %r12d
leaq L_.str.12(%rip), %rbx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB8_2: ## =>This Inner Loop Header: Depth=1
movq (%r15,%r13,8), %rax
movq 16(%rax), %rsi
movl %r13d, %eax
notl %eax
testb $3, %al
movl $32, %edx
cmovel %r12d, %edx
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r13
movl (%r14), %eax
cmpq %rax, %r13
jb LBB8_2
LBB8_3:
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _DumpWords ## -- Begin function DumpWords
.p2align 4, 0x90
_DumpWords: ## @DumpWords
.cfi_startproc
## %bb.0:
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 _cpwLast@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
jle LBB9_3
## %bb.1:
movq _apwSol@GOTPCREL(%rip), %r15
leaq L_.str.9(%rip), %rbx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB9_2: ## =>This Inner Loop Header: Depth=1
movq (%r15,%r12,8), %rax
movq 16(%rax), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r12
movslq (%r14), %rax
cmpq %rax, %r12
jl LBB9_2
LBB9_3:
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _FindAnagram ## -- Begin function FindAnagram
.p2align 4, 0x90
_FindAnagram: ## @FindAnagram
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _cpwCand@GOTPCREL(%rip), %r9
movl (%r9), %r10d
movslq %edx, %rax
leal -1(%rax), %r15d
addq _achByFrequency@GOTPCREL(%rip), %rax
movq _alPhrase@GOTPCREL(%rip), %rdx
.p2align 4, 0x90
LBB10_1: ## =>This Inner Loop Header: Depth=1
movsbq (%rax), %rcx
shlq $4, %rcx
movl 12(%rdx,%rcx), %r12d
movl 8(%rdx,%rcx), %r14d
movzbl 4(%rdx,%rcx), %ecx
shll %cl, %r14d
incl %r15d
incq %rax
testl %r14d, (%rdi,%r12,8)
je LBB10_1
## %bb.2:
shlq $3, %r10
addq _apwCand@GOTPCREL(%rip), %r10
cmpq %r13, %r10
jbe LBB10_10
## %bb.3:
movq _aqMainSign@GOTPCREL(%rip), %r11
jmp LBB10_6
LBB10_13: ## in Loop: Header=BB10_6 Depth=1
movl (%r9), %eax
shlq $3, %rax
addq _apwCand@GOTPCREL(%rip), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
leaq -64(%rbp), %rdi
movq %r13, %rsi
movl %r15d, %edx
callq _FindAnagram
LBB10_18: ## in Loop: Header=BB10_6 Depth=1
movl 24(%rbx), %eax
movq _cchPhraseLength@GOTPCREL(%rip), %rcx
addl %eax, (%rcx)
movq _cpwLast@GOTPCREL(%rip), %rax
decl (%rax)
movq -88(%rbp), %rdi ## 8-byte Reload
movq _cpwCand@GOTPCREL(%rip), %r9
movq -72(%rbp), %r10 ## 8-byte Reload
movq _aqMainSign@GOTPCREL(%rip), %r11
LBB10_5: ## in Loop: Header=BB10_6 Depth=1
addq $8, %r13
cmpq %r10, %r13
jae LBB10_10
LBB10_6: ## =>This Loop Header: Depth=1
## Child Loop BB10_4 Depth 2
## Child Loop BB10_16 Depth 2
movq (%rdi), %rax
movq (%r11), %rcx
movq 8(%r11), %rdx
.p2align 4, 0x90
LBB10_4: ## Parent Loop BB10_6 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r13), %rbx
movq %rax, %rsi
subq (%rbx), %rsi
testq %rsi, %rcx
jne LBB10_5
## %bb.7: ## in Loop: Header=BB10_4 Depth=2
movq 8(%rdi), %r8
subq 8(%rbx), %r8
testq %r8, %rdx
jne LBB10_5
## %bb.8: ## in Loop: Header=BB10_4 Depth=2
testl %r14d, (%rbx,%r12,8)
jne LBB10_12
## %bb.9: ## in Loop: Header=BB10_4 Depth=2
movq -8(%r10), %rsi
movq %rsi, (%r13)
movq %rbx, -8(%r10)
leaq -8(%r10), %rsi
movq %rsi, %r10
cmpq %rsi, %r13
jb LBB10_4
jmp LBB10_10
.p2align 4, 0x90
LBB10_12: ## in Loop: Header=BB10_6 Depth=1
movq %r8, -56(%rbp)
movq %rsi, -64(%rbp)
movq _cpwLast@GOTPCREL(%rip), %rdx
movslq (%rdx), %rax
leal 1(%rax), %ecx
movl %ecx, (%rdx)
movq _apwSol@GOTPCREL(%rip), %rsi
movq %rbx, (%rsi,%rax,8)
movl 24(%rbx), %ecx
movq _cchPhraseLength@GOTPCREL(%rip), %r8
subl %ecx, (%r8)
movq %rdi, -88(%rbp) ## 8-byte Spill
jne LBB10_13
## %bb.14: ## in Loop: Header=BB10_6 Depth=1
movq %r10, -72(%rbp) ## 8-byte Spill
movq %r13, -80(%rbp) ## 8-byte Spill
testl %eax, %eax
js LBB10_17
## %bb.15: ## in Loop: Header=BB10_6 Depth=1
xorl %r13d, %r13d
.p2align 4, 0x90
LBB10_16: ## Parent Loop BB10_6 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rsi,%r13,8), %rax
movq 16(%rax), %rsi
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq _apwSol@GOTPCREL(%rip), %rsi
movq _cpwLast@GOTPCREL(%rip), %rax
incq %r13
movslq (%rax), %rax
cmpq %rax, %r13
jl LBB10_16
LBB10_17: ## in Loop: Header=BB10_6 Depth=1
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq -80(%rbp), %r13 ## 8-byte Reload
jmp LBB10_18
LBB10_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB10_19
## %bb.11:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB10_19:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _CompareFrequency ## -- Begin function CompareFrequency
.p2align 4, 0x90
_CompareFrequency: ## @CompareFrequency
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsbq (%rdi), %rax
movq _auGlobalFrequency@GOTPCREL(%rip), %rcx
movl (%rcx,%rax,4), %eax
movsbq (%rsi), %rdx
xorl %esi, %esi
cmpl (%rcx,%rdx,4), %eax
setne %sil
movl $-1, %eax
cmovael %esi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function SortCandidates
LCPI12_0:
.byte 0 ## 0x0
.byte 1 ## 0x1
.byte 2 ## 0x2
.byte 3 ## 0x3
.byte 4 ## 0x4
.byte 5 ## 0x5
.byte 6 ## 0x6
.byte 7 ## 0x7
.byte 8 ## 0x8
.byte 9 ## 0x9
.byte 10 ## 0xa
.byte 11 ## 0xb
.byte 12 ## 0xc
.byte 13 ## 0xd
.byte 14 ## 0xe
.byte 15 ## 0xf
.section __TEXT,__text,regular,pure_instructions
.globl _SortCandidates
.p2align 4, 0x90
_SortCandidates: ## @SortCandidates
.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
movaps LCPI12_0(%rip), %xmm0 ## xmm0 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
movq _achByFrequency@GOTPCREL(%rip), %rbx
movaps %xmm0, (%rbx)
movabsq $1663540288323457296, %rax ## imm = 0x1716151413121110
movq %rax, 16(%rbx)
movw $6424, 24(%rbx) ## imm = 0x1918
leaq _CompareFrequency(%rip), %rcx
movl $26, %esi
movl $1, %edx
movq %rbx, %rdi
callq _libmin_qsort
leaq L_.str.14(%rip), %rdi
xorl %r14d, %r14d
xorl %eax, %eax
callq _libmin_printf
.p2align 4, 0x90
LBB12_1: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx,%r14), %eax
addb $97, %al
movsbl %al, %edi
callq _libmin_putc
incq %r14
cmpq $26, %r14
jne LBB12_1
## %bb.2:
movl $10, %edi
popq %rbx
popq %r14
popq %rbp
jmp _libmin_putc ## TAILCALL
.cfi_endproc
## -- End function
.globl _GetPhrase ## -- Begin function GetPhrase
.p2align 4, 0x90
_GetPhrase: ## @GetPhrase
.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 _minput(%rip), %rdx
movl $255, %esi
callq _libmin_mgets
testq %rax, %rax
cmovneq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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
## kill: def $edi killed $edi def $rdi
leal -4(%rdi), %eax
cmpl $-3, %eax
ja LBB14_2
## %bb.1:
leaq L_.str.15(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
jmp LBB14_4
LBB14_2:
cmpl $3, %edi
jne LBB14_4
## %bb.3:
movq 16(%rsi), %rdi
callq _libmin_atoi
movl %eax, _cchMinLength(%rip)
LBB14_4:
callq _ReadDict
movq _minput(%rip), %rdx
movq _achPhrase@GOTPCREL(%rip), %r13
movl $255, %esi
movq %r13, %rdi
callq _libmin_mgets
testq %rax, %rax
je LBB14_27
## %bb.5:
movq _cpwCand@GOTPCREL(%rip), %r14
movq _apwCand@GOTPCREL(%rip), %r12
leaq L_.str.12(%rip), %r15
movq _cchPhraseLength@GOTPCREL(%rip), %rbx
jmp LBB14_6
.p2align 4, 0x90
LBB14_7: ## in Loop: Header=BB14_6 Depth=1
movq %r13, %rdi
callq _libmin_atoi
movl %eax, _cchMinLength(%rip)
leaq L_.str.16(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _libmin_printf
LBB14_26: ## in Loop: Header=BB14_6 Depth=1
movq _minput(%rip), %rdx
movl $255, %esi
movq %r13, %rdi
callq _libmin_mgets
testq %rax, %rax
je LBB14_27
LBB14_6: ## =>This Loop Header: Depth=1
## Child Loop BB14_16 Depth 2
## Child Loop BB14_11 Depth 2
movq __pctype@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movsbq (%r13), %rax
testb $4, (%rcx,%rax,2)
jne LBB14_7
## %bb.8: ## in Loop: Header=BB14_6 Depth=1
cmpb $63, %al
jne LBB14_13
## %bb.9: ## in Loop: Header=BB14_6 Depth=1
cmpl $0, (%r14)
movl $10, %ebx
je LBB14_12
## %bb.10: ## in Loop: Header=BB14_6 Depth=1
xorl %r13d, %r13d
.p2align 4, 0x90
LBB14_11: ## Parent Loop BB14_6 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r12,%r13,8), %rax
movq 16(%rax), %rsi
movl %r13d, %eax
notl %eax
testb $3, %al
movl $32, %edx
cmovel %ebx, %edx
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r13
movl (%r14), %eax
cmpq %rax, %r13
jb LBB14_11
LBB14_12: ## in Loop: Header=BB14_6 Depth=1
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq _achPhrase@GOTPCREL(%rip), %r13
movq _cchPhraseLength@GOTPCREL(%rip), %rbx
jmp LBB14_26
.p2align 4, 0x90
LBB14_13: ## in Loop: Header=BB14_6 Depth=1
movq %r13, %rdi
callq _BuildMask
movq _pchDictionary@GOTPCREL(%rip), %rax
movq (%rax), %r13
movl $0, (%r14)
movzbl (%r13), %eax
testb %al, %al
je LBB14_14
## %bb.15: ## in Loop: Header=BB14_6 Depth=1
movl _cchMinLength(%rip), %ecx
jmp LBB14_16
.p2align 4, 0x90
LBB14_20: ## in Loop: Header=BB14_16 Depth=2
leaq 2(%r13), %rdi
callq _BuildWord
movl _cchMinLength(%rip), %ecx
movzbl (%r13), %eax
LBB14_21: ## in Loop: Header=BB14_16 Depth=2
movsbq %al, %rdx
movzbl (%r13,%rdx), %eax
addq %rdx, %r13
testb %al, %al
je LBB14_22
LBB14_16: ## Parent Loop BB14_6 Depth=1
## => This Inner Loop Header: Depth=2
movsbl 1(%r13), %edx
cmpl %edx, %ecx
jle LBB14_17
## %bb.19: ## in Loop: Header=BB14_16 Depth=2
cmpl %edx, (%rbx)
je LBB14_20
jmp LBB14_21
.p2align 4, 0x90
LBB14_17: ## in Loop: Header=BB14_16 Depth=2
leal (%rcx,%rdx), %edi
movl (%rbx), %esi
cmpl %esi, %edi
jle LBB14_20
## %bb.18: ## in Loop: Header=BB14_16 Depth=2
cmpl %edx, %esi
jne LBB14_21
jmp LBB14_20
LBB14_22: ## in Loop: Header=BB14_6 Depth=1
movl (%r14), %esi
jmp LBB14_23
LBB14_14: ## in Loop: Header=BB14_6 Depth=1
xorl %esi, %esi
LBB14_23: ## in Loop: Header=BB14_6 Depth=1
movq _achPhrase@GOTPCREL(%rip), %r13
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
cmpl $0, (%r14)
je LBB14_26
## %bb.24: ## in Loop: Header=BB14_6 Depth=1
cmpl $0, (%rbx)
je LBB14_26
## %bb.25: ## in Loop: Header=BB14_6 Depth=1
movq _cpwLast@GOTPCREL(%rip), %rax
movl $0, (%rax)
callq _SortCandidates
movq _aqMainMask@GOTPCREL(%rip), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq _FindAnagram
jmp LBB14_26
LBB14_27:
callq _libmin_success
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,__const
.globl ___words ## @__words
.p2align 4, 0x0
___words:
.ascii "10th\n1st\n2nd\n3rd\n4th\n5th\n6th\n7th\n8th\n9th\na\nAaron\nABA\nAbaba\naback\nabalone\nabandon\nabase\nabash\nabate\nabbas\nabbe\nabbey\nabbot\nAbbott\nabbreviate\nabc\nabdicate\nabdomen\nabdominal\nabduct\nAbe\nabed\nAbel\nAbelian\nAbelson\nAberdeen\nAbernathy\naberrant\naberrate\nabet\nabetted\nabetting\nabeyance\nabeyant\nabhorred\nabhorrent\nabide\nAbidjan\nAbigail\nabject\nablate\nablaze\nable\nablution\nAbner\nabnormal\nAbo\naboard\nabode\nabolish\nabolition\nabominable\nabominate\naboriginal\naborigine\naborning\nabort\nabound\nabout\nabove\naboveboard\naboveground\nabovementioned\nabrade\nAbraham\nAbram\nAbramson\nabrasion\nabrasive\nabreact\nabreast\nabridge\nabridgment\nabroad\nabrogate\nabrupt\nabscess\nabscissa\nabscissae\nabsence\nabsent\nabsentee\nabsenteeism\nabsentia\nabsentminded\nabsinthe\nabsolute\nabsolution\nabsolve\nabsorb\nabsorbent\nabsorption\nabsorptive\nabstain\nabstention\nabstinent\nabstract\nabstractor\nabstruse\nabsurd\nabuilding\nabundant\nabusable\nabuse\nabusive\nabut\nabutted\nabutting\nabysmal\nabyss\nAbyssinia\nAC\nacademia\nacademic\nacademician\nacademy\nAcadia\nacanthus\nAcapulco\naccede\naccelerate\naccelerometer\naccent\naccentual\naccentuate\naccept\nacceptant\nacceptor\naccess\naccessible\naccession\naccessory\naccident\naccidental\naccipiter\nacclaim\nacclamation\nacclimate\nacclimatize\naccolade\naccommodate\naccompaniment\naccompanist\naccompany\naccomplice\naccomplish\naccord\naccordant\naccordion\naccost\naccount\naccountant\naccouter\nAccra\naccredit\naccreditate\naccretion\naccrual\naccrue\nacculturate\naccumulate\naccuracy\naccurate\naccusation\naccusative\naccuse\naccustom\nace\nacetate\nacetic\nacetone\nacetylene\nache\nachieve\nAchilles\naching\nachromatic\nacid\nacidic\nacidulous\nAckerman\nAckley\nacknowledge\nacknowledgeable\nACM\nacme\nacolyte\nacorn\nacoustic\nacquaint\nacquaintance\nacquiesce\nacquiescent\nacquire\nacquisition\nacquisitive\nacquit\nacquittal\nacquitting\nacre\nacreage\nacrid\nacrobacy\nacrobat\nacrobatic\nacronym\nacropolis\nacross\nacrylate\nacrylic\nact\nActaeon\nactinic\nactinide\nactinium\nactinolite\nactinometer\nactivate\nactivation\nactivism\nActon\nactor\nactress\nActs\nactual\nactuarial\nactuate\nacuity\nacumen\nacute\nacyclic\nad\nAda\nadage\nadagio\nAdair\nAdam\nadamant\nAdams\nAdamson\nadapt\nadaptation\nadaptive\nadd\nadded\naddend\naddenda\naddendum\naddict\nAddis\nAddison\naddition\nadditional\nadditive\naddle\naddress\naddressee\nAddressograph\nadduce\nAdelaide\nAdele\nAdelia\nAden\nadenoma\nadept\nadequacy\nadequate\nadhere\nadherent\nadhesion\nadhesive\nadiabatic\nadieu\nadipic\nAdirondack\nadjacent\nadject\nadjectival\nadjoin\nadjoint\nadjourn\nadjudge\nadjudicate\nadjunct\nadjust\nadjutant\nAdkins\nAdler\nadminister\nadministrable\nadministrate\nadministratrix\nadmiral\nadmiralty\nadmiration\nadmire\nadmissible\nadmission\nadmit\nadmittance\nadmitted\nadmitting\nadmix\nadmixture\nadmonish\nadmonition\nado\nadobe\nadolescent\nAdolph\nAdolphus\nAdonis\nadopt\nadoption\nadoptive\nadore\nadorn\nadrenal\nadrenaline\nAdrian\nAdriatic\nAdrienne\nadrift\nadroit\nadsorb\nadsorbate\nadsorption\nadsorptive\nadulate\nadult\nadulterate\nadulterous\nadultery\nadulthood\nadvance\nadvantage\nadvantageous\nadvent\nadventitious\nadventure\nadventurous\nadverb\nadverbial\nadversary\nadverse\nadvert\nadvertise\nadvice\nadvisable\nadvise\nadvisee\nadvisor\nadvisory\nadvocacy\nadvocate\nAegean\naegis\nAeneas\nAeneid\naeolian\nAeolus\naerate\naerial\nAerobacter\naerobic\naerodynamic\naerogene\naeronautic\naerosol\naerospace\nAeschylus\naesthete\naesthetic\nafar\naffable\naffair\naffect\naffectate\naffectionate\nafferent\naffiance\naffidavit\naffiliate\naffine\naffinity\naffirm\naffirmation\naffirmative\naffix\nafflict\naffluence\naffluent\nafford\nafforest\nafforestation\naffront\nAfghan\nAfghanistan\naficionado\nafield\nafire\naflame\nafloat\nafoot\naforementioned\naforesaid\naforethought\nafraid\nafresh\nAfrica\nafro\naft\naftereffect\nafterglow\nafterimage\nafterlife\naftermath\nafternoon\nafterthought\nafterward\nagain\nagainst\nAgamemnon\nagate\nAgatha\nagave\nage\nAgee\nagenda\nagent\nagglomerate\nagglutinate\nagglutinin\naggravate\naggregate\naggression\naggressive\naggressor\naggrieve\naghast\nagile\naging\nagitate\nagleam\nAgnes\nAgnew\nagnomen\nagnostic\nago\nagone\nagony\nagouti\nagrarian\nagree\nagreeable\nagreed\nagreeing\nAgricola\nagricultural\nagriculture\nagrimony\nague\nAgway\nah\nahead\nahem\nAhmadabad\nahoy\naid\nAida\naide\nAides\nAiken\nail\nailanthus\naile\naileron\naim\nain't\nAinu\nair\nairborne\naircraft\nairdrop\nairedale\nAires\nairfare\nairfield\nairflow\nairframe\nairlift\nairline\nairlock\nairmail\nairman\nairmass\nairmen\nairpark\nairplane\nairport\nairspeed\nairstrip\nairtight\nairway\nairy\naisle\nAitken\najar\nAjax\nAkers\nakin\nAkron\nala\nAlabama\nAlabamian\nalabaster\nalacrity\nalai\nAlameda\nAlamo\nalan\nalarm\nAlaska\nalb\nalba\nalbacore\nAlbania\nAlbanian\nAlbany\nalbatross\nalbeit\nAlberich\nAlbert\nAlberta\nAlberto\nAlbrecht\nAlbright\nalbum\nalbumin\nAlbuquerque\nAlcestis\nalchemy\nAlcmena\nAlcoa\nalcohol\nalcoholic\nalcoholism\nAlcott\nalcove\nAldebaran\naldehyde\nAlden\nalder\nalderman\naldermen\nAldrich\naldrin\nale\nAlec\nAleck\naleph\nalert\nalewife\nAlex\nAlexander\nAlexandra\nAlexandre\nAlexandria\nAlexei\nAlexis\nalfalfa\nalfonso\nAlfred\nAlfredo\nalfresco\nalga\nalgae\nalgaecide\nalgal\nalgebra\nalgebraic\nAlgenib\nAlger\nAlgeria\nAlgerian\nAlgiers\nalginate\nAlgol\nAlgonquin\nalgorithm\nalgorithmic\nAlhambra\nalia\nalias\nalibi\nAlice\nAlicia\nalien\nalienate\nalight\nalign\nalike\nalimony\naliphatic\naliquot\nAlison\nAlistair\nalive\nalizarin\nalkali\nalkaline\nalkaloid\nall\nAllah\nallay\nallegate\nallege\nAllegheny\nallegiant\nallegoric\nallegory\nAllegra\nallegro\nallele\nallemand\nAllen\nAllentown\nallergic\nallergy\nalleviate\nalley\nalleyway\nalliance\nallied\nalligator\nAllis\nAllison\nalliterate\nallocable\nallocate\nallot\nallotropic\nallotted\nallotting\nallow\nallowance\nalloy\nallspice\nAllstate\nallude\nallure\nallusion\nallusive\nalluvial\nalluvium\nally\nallyl\nAllyn\nalma\nAlmaden\nalmagest\nalmanac\nalmighty\nalmond\nalmost\naloe\naloft\naloha\nalone\nalong\nalongside\naloof\naloud\nalp\nalpenstock\nAlpert\nalpha\nalphabet\nalphabetic\nalphanumeric\nAlpheratz\nAlphonse\nalpine\nAlps\nalready\nAlsatian\nalso\nAlsop\nAltair\naltar\nalter\nalterate\naltercate\nalterman\naltern\nalternate\nalthea\nalthough\naltimeter\naltitude\nalto\naltogether\nAlton\naltruism\naltruist\nalum\nalumina\naluminate\nalumna\nalumnae\nalumni\nalumnus\nalundum\nAlva\nAlvarez\nalveolar\nalveoli\nalveolus\nAlvin\nalway\nalyssum\nam\nAMA\nAmadeus\namalgam\namalgamate\namanita\namanuensis\namaranth\nAmarillo\namass\namateur\namateurish\namatory\namaze\nAmazon\nambassador\namber\nambiance\nambidextrous\nambient\nambiguity\nambiguous\nambition\nambitious\nambivalent\namble\nambling\nambrose\nambrosia\nambrosial\nambulant\nambulatory\nambuscade\nambush\nAmelia\nameliorate\namen\namend\namende\nAmerada\nAmerica\nAmerican\nAmericana\nAmericanism\namericium\nAmes\namethyst\namethystine\nAmherst\nami\namicable\namid\namide\namidst\namigo\namino\naminobenzoic\namiss\namity\nAmman\nAmmerman\nammeter\nammo\nammonia\nammoniac\nammonium\nammunition\nAmoco\namoeba\namoebae\namok\namong\namongst\namoral\namorphous\namort\nAmos\namount\namperage\nampere\nampersand\nAmpex\namphetamine\namphibian\namphibious\namphibole\namphibology\nample\namplifier\namplify\namplitude\namply\namputate\namra\nAmsterdam\nAmtrak\namulet\namuse\namy\namygdaloid\nan\nana\nAnabaptist\nAnabel\nanachronism\nanachronistic\nanaconda\nanaerobic\nanaglyph\nanagram\nAnaheim\nanaleptic\nanalgesic\nanalogous\nanalogue\nanalogy\nanalyses\nanalysis\nanalyst\nanalytic\nanamorphic\nanaplasmosis\nanarch\nanarchic\nanarchy\nanastigmat\nanastigmatic\nanastomosis\nanastomotic\nanathema\nAnatole\nanatomic\nanatomy\nancestor\nancestral\nancestry\nanchor\nanchorage\nanchorite\nanchoritism\nanchovy\nancient\nancillary\nand\nAndean\nAndersen\nAnderson\nAndes\nandesine\nandesite\nAndorra\nAndover\nAndre\nAndrea\nAndrei\nAndrew\nAndrews\nAndromache\nAndromeda\nAndy\nanecdotal\nanecdote\nanemone\nanent\nanew\nangel\nAngela\nAngeles\nangelfish\nangelic\nAngelica\nAngelina\nAngeline\nAngelo\nanger\nAngie\nangiosperm\nangle\nAngles\nAnglican\nAnglicanism\nangling\nAnglo\nAnglophobia\nAngola\nAngora\nangry\nangst\nangstrom\nanguish\nangular\nAngus\nanharmonic\nAnheuser\nanhydride\nanhydrite\nanhydrous\nani\naniline\nanimadversion\nanimadvert\nanimal\nanimate\nanimism\nanimosity\nanion\nanionic\nanise\naniseikonic\nanisotropic\nanisotropy\nAnita\nAnkara\nankle\nAnn\nAnna\nannal\nAnnale\nAnnalen\nAnnapolis\nAnne\nanneal\nannex\nAnnie\nannihilate\nanniversary\nannotate\nannounce\nannoy\nannoyance\nannual\nannuity\nannul\nannular\nannuli\nannulled\nannulling\nannulus\nannum\nannunciate\nanode\nanodic\nanomalous\nanomaly\nanomie\nanonymity\nanonymous\nanorexia\nanorthic\nanorthite\nanorthosite\nanother\nAnselm\nAnselmo\nANSI\nanswer\nant\nantacid\nAntaeus\nantagonism\nantagonist\nantagonistic\nAntarctica\nAntares\nante\nanteater\nantebellum\nantecedent\nantedate\nantelope\nantenna\nantennae\nanterior\nanthem\nanther\nanthology\nAnthony\nanthracite\nanthracnose\nanthropogenic\nanthropology\nanthropomorphic\nanti\nantic\nanticipate\nanticipatory\nAntietam\nantigen\nAntigone\nantigorite\nantimony\nAntioch\nantipasto\nantipathy\nantiperspirant\nantiphonal\nantipodes\nantiquarian\nantiquary\nantiquated\nantique\nantiquity\nantisemitic\nantisemitism\nantithetic\nantler\nAntoine\nAntoinette\nAnton\nAntonio\nAntony\nanus\nanvil\nanxiety\nanxious\nany\nanybody\nanybody'd\nanyhow\nanyone\nanyplace\nanything\nanyway\nanywhere\naorta\nA&P\napache\napart\napartheid\napathetic\napathy\napatite\nape\naperiodic\naperture\napex\naphasia\naphasic\naphelion\naphid\naphorism\nAphrodite\napices\napiece\naplomb\napocalypse\napocalyptic\nApocrypha\napocryphal\napogee\nApollo\nApollonian\napologetic\napologia\napology\napostate\napostle\napostolic\napostrophe\napothecary\napothegm\napotheosis\nAppalachia\nappall\nappanage\napparatus\napparel\napparent\napparition\nappeal\nappear\nappearance\nappeasable\nappease\nappellant\nappellate\nappend\nappendage\nappendices\nappendix\nappertain\nappetite\nAppian\napplaud\napplause\napple\nAppleby\napplejack\nAppleton\nappliance\napplicable\napplicant\napplicate\napplied\napplique\napply\nappoint\nappointe\nappointee\napport\napposite\napposition\nappraisal\nappraise\nappreciable\nappreciate\napprehend\napprehension\napprehensive\napprentice\napprise\napproach\napprobation\nappropriable\nappropriate\napproval\napprove\napproximable\napproximant\napproximate\napricot\nApril\napron\napropos\napse\napt\naptitude\naqua\naquarium\nAquarius\naquatic\naqueduct\naqueous\nAquila\nAquinas\nArab\narabesque\nArabia\nArabic\nAraby\nArachne\narachnid\narbiter\narbitrage\narbitrary\narbitrate\narboreal\narboretum\narbutus\narc\narcade\nArcadia\narcana\narcane\narccos\narccosine\narch\narchae\narchaic\narchaism\narchangel\narchbishop\narchdiocese\narchenemy\nArcher\narchery\narchetype\narchetypical\narchfool\nArchibald\nArchimedes\narching\narchipelago\narchitect\narchitectonic\narchitectural\narchitecture\narchival\narchive\narcing\narcsin\narcsine\narctan\narctangent\narctic\nArcturus\nArden\nardency\nardent\narduous\nare\narea\nareaway\nareawide\narena\narenaceous\naren't\nArequipa\nAres\nArgentina\nargillaceous\nArgive\nargo\nargon\nArgonaut\nArgonne\nargot\nargue\nargument\nargumentation\nargumentative\nArgus\narhat\nAriadne\nArianism\narid\nAries\narise\narisen\naristocracy\naristocrat\naristocratic\nAristotelean\nAristotelian\nAristotle\narithmetic\nArizona\nark\nArkansan\nArkansas\nArlen\nArlene\nArlington\narm\narmada\narmadillo\nArmageddon\narmament\nArmata\narmature\narmchair\nArmco\nArmenian\narmful\narmhole\narmillaria\narmistice\narmload\narmoire\nArmonk\nArmour\narmpit\nArmstrong\narmy\nArnold\naroma\naromatic\narose\naround\narousal\narouse\nARPA\narpeggio\narrack\nArragon\narraign\narrange\narrangeable\narray\narrear\narrest\nArrhenius\narrival\narrive\narrogant\narrogate\narrow\narrowhead\narrowroot\narroyo\narsenal\narsenate\narsenic\narsenide\narsine\narson\nart\nArtemis\nartemisia\narterial\narteriole\narteriolosclerosis\narteriosclerosis\nartery\nartful\narthritis\nArthur\nartichoke\narticle\narticulate\narticulatory\nArtie\nartifact\nartifice\nartificial\nartillery\nartisan\nartistry\nArturo\nartwork\narty\nAruba\narum\naryl\na's\nas\nasbestos\nascend\nascendant\nascension\nascent\nascertain\nascetic\nasceticism\nascomycetes\nascribe\nascription\naseptic\nash\nashame\nashen\nAsher\nAsheville\nAshland\nAshley\nashman\nashmen\nAshmolean\nashore\nashtray\nashy\nAsia\nAsiatic\naside\nAsilomar\nasinine\nask\naskance\naskew\nasleep\nasocial\nasparagus\naspect\naspen\nasperity\naspersion\nasphalt\naspheric\nasphyxiate\naspidistra\naspirant\naspirate\naspire\naspirin\nasplenium\nass\nassai\nassail\nassailant\nAssam\nassassin\nassassinate\nassault\nassay\nassemblage\nassemble\nassent\nassert\nassess\nassessor\nasset\nassiduity\nassiduous\nassign\nassignation\nassignee\nassimilable\nassimilate\nassist\nassistant\nassociable\nassociate\nassociative\nassonant\nassort\nassuage\nassume\nassumption\nassurance\nassure\nAssyria\nAssyriology\nAstarte\nastatine\naster\nasteria\nasterisk\nasteroid\nasteroidal\nasthma\nastigmat\nastigmatic\nastigmatism\nASTM\nastonish\nAstor\nAstoria\nastound\nastraddle\nastral\nastray\nastride\nastringent\nastronaut\nastronautic\nastronomer\nastronomic\nastronomy\nastrophysical\nastrophysics\nastute\nAsuncion\nasunder\nasylum\nasymmetric\nasymmetry\nasymptote\nasymptotic\nasynchronous\nasynchrony\nat\nAtalanta\natavism\natavistic\nAtchison\nate\nAthabascan\natheist\nAthena\nAthenian\nAthens\nathlete\nathletic\nathwart\nAtkins\nAtkinson\nAtlanta\natlantes\natlantic\nAtlantica\nAtlantis\natlas\natmosphere\natmospheric\natom\natomic\natonal\natone\natop\nAtreus\natrocious\natrocity\natrophic\natrophy\nAtropos\nAT&T\nattach\nattache\nattack\nattain\nattainder\nattempt\nattend\nattendant\nattendee\nattention\nattentive\nattenuate\nattest\nattestation\nattic\nAttica\nattire\nattitude\nattorney\nattract\nattribute\nattribution\nattributive\nattrition\nattune\nAtwater\nAtwood\natypic\nAuberge\nAubrey\nauburn\nauction\nauctioneer\naudacious\naudacity\naudible\naudience\naudio\naudiotape\naudiovisual\naudit\naudition\nauditor\nauditorium\nauditory\nAudrey\nAudubon\nAuerbach\nAug\nAugean\nauger\naugite\naugment\naugmentation\naugur\naugust\nAugusta\nAugustan\nAugustine\nAugustus\nauk\naunt\nauntie\naura\naural\nAurelius\naureomycin\nauric\nAuriga\naurora\nAuschwitz\nauspices\nauspicious\naustere\nAustin\nAustralia\nAustralis\naustralite\nAustria\nauthentic\nauthenticate\nauthor\nauthoritarian\nauthoritative\nautism\nautistic\nauto\nautobiography\nautoclave\nautocollimate\nautocorrelate\nautocracy\nautocrat\nautocratic\nautograph\nautomat\nautomata\nautomate\nautomatic\nautomaton\nautomobile\nautomotive\nautonomic\nautonomous\nautonomy\nautopsy\nautosuggestible\nautotransformer\nautumn\nautumnal\nauxiliary\navail\navalanche\navarice\navaricious\nAve\navenge\nAventine\navenue\naver\naverage\naverred\naverring\naverse\naversion\navert\navertive\nAvery\nAvesta\naviary\naviate\naviatrix\navid\navionic\nAvis\nAviv\navocado\navocate\navocet\nAvogadro\navoid\navoidance\nAvon\navow\nawait\nawake\nawaken\naward\naware\nawash\naway\nawe\nawesome\nawful\nawhile\nawkward\nawl\nawn\nawoke\nawry\nax\naxe\naxes\naxial\naxiology\naxiom\naxiomatic\naxis\naxisymmetric\naxle\naxon\naye\nAyers\nAylesbury\nazalea\nAzerbaijan\nazimuth\nazimuthal\nAztec\nAztecan\nazure\nb\nbabbitt\nbabble\nBabcock\nbabe\nBabel\nbaboon\nbaby\nbabyhood\nBabylon\nBabylonian\nbabysat\nbabysit\nbabysitting\nbaccarat\nBacchus\nBach\nbachelor\nbacilli\nbacillus\nback\nbackboard\nbackbone\nbackdrop\nbackfill\nbackground\nbackhand\nbacklash\nbacklog\nbackorder\nbackpack\nbackplane\nbackplate\nbackside\nbackspace\nbackstage\nbackstitch\nbackstop\nbacktrack\nbackup\nbackward\nbackwater\nbackwood\nbackyard\nbacon\nbacteria\nbacterial\nbacterium\nbad\nbade\nBaden\nbadge\nbadinage\nbadland\nbadminton\nBaffin\nbaffle\nbag\nbagatelle\nbaggage\nbagging\nbaggy\nBaghdad\nBagley\nbagpipe\nbah\nBahama\nBahrein\nbail\nBailey\nbailiff\nBaird\nbait\nbake\nBakelite\nBakersfield\nbakery\nBakhtiari\nbaklava\nBaku\nbalance\nBalboa\nbalcony\nbald\nbaldpate\nBaldwin\nbaldy\nbale\nbaleen\nbaleful\nBalfour\nBali\nBalinese\nbalk\nBalkan\nbalky\nball\nballad\nBallard\nballast\nballed\nballerina\nballet\nballetomane\nballfield\nballoon\nballot\nballroom\nballyhoo\nbalm\nbalmy\nbalsa\nbalsam\nBaltic\nBaltimore\nBaltimorean\nbalustrade\nBalzac\nbam\nBamako\nBamberger\nBambi\nbamboo\nban\nbanal\nbanana\nBanbury\nband\nbandage\nbandgap\nbandit\nbandpass\nbandstand\nbandstop\nbandwagon\nbandwidth\nbandy\nbane\nbaneberry\nbaneful\nbang\nbangkok\nBangladesh\nbangle\nBangor\nBangui\nbanish\nbanister\nbanjo\nbank\nbankrupt\nbankruptcy\nBanks\nbanning\nbanquet\nbanshee\nbantam\nbanter\nBantu\nBantus\nbaptism\nbaptismal\nBaptist\nBaptiste\nbaptistery\nbar\nbarb\nBarbados\nBarbara\nbarbarian\nbarbaric\nbarbarism\nbarbarous\nbarbecue\nbarbell\nbarber\nbarberry\nbarbital\nbarbiturate\nBarbour\nbarbudo\nBarcelona\nBarclay\nbard\nbare\nbarefaced\nbarefoot\nbarfly\nbargain\nbarge\nbaritone\nbarium\nbark\nbarkeep\nbarley\nBarlow\nbarn\nBarnabas\nbarnacle\nBarnard\nBarnes\nBarnet\nBarnett\nBarney\nBarnhard\nbarnstorm\nbarnyard\nbarometer\nbarometric\nbaron\nbaroness\nbaronet\nbaronial\nbarony\nbaroque\nBarr\nbarrack\nbarracuda\nbarrage\nbarre\nbarrel\nbarren\nBarrett\nbarrette\nbarricade\nbarrier\nbarring\nBarrington\nbarrow\nBarry\nBarrymore\nBarstow\nbartend\nbartender\nbarter\nBarth\nBartholomew\nBartlett\nBartok\nBarton\nbarycentric\nbasal\nbase\nbaseball\nbaseband\nbaseboard\nBasel\nbaseline\nbaseman\nbasemen\nbaseplate\nbash\nbashaw\nbashful\nbasic\nbasidiomycetes\nbasil\nbasilar\nbasilisk\nbasin\nbasis\nbask\nbasket\nbasketball\nbasophilic\nbass\nBassett\nbassi\nbassinet\nbasso\nbasswood\nbastard\nbaste\nbastion\nbat\nBatavia\nbatch\nBatchelder\nbate\nbateau\nBateman\nbater\nBates\nbath\nbathe\nbathos\nbathrobe\nbathroom\nbathtub\nBathurst\nbatik\nbaton\nBator\nbatt\nbattalion\nBattelle\nbatten\nbattery\nbattle\nbattlefield\nbattlefront\nbattleground\nbatwing\nbauble\nbaud\nBaudelaire\nBauer\nBauhaus\nBausch\nbauxite\nBavaria\nbawd\nbawdy\nbawl\nBaxter\nbay\nbayberry\nBayda\nbayed\nBayesian\nBaylor\nbayonet\nBayonne\nbayou\nBayport\nBayreuth\nbazaar\nbe\nbeach\nbeachhead\nbeacon\nbead\nbeadle\nbeady\nbeak\nbeam\nbean\nbear\nbearberry\nbeard\nBeardsley\nbearish\nbeast\nbeat\nbeaten\nbeater\nbeatific\nbeatify\nbeatitude\nbeatnik\nBeatrice\nbeau\nBeaujolais\nBeaumont\nBeauregard\nbeauteous\nbeautiful\nbeautify\nbeauty\nbeaux\nbeaver\nbebop\nbecalm\nbecame\nbecause\nBechtel\nbeck\nBecker\nbecket\nBeckman\nbeckon\nBecky\nbecome\nbed\nbedazzle\nbedbug\nbedding\nbedfast\nBedford\nbedim\nbedimmed\nbedimming\nbedlam\nbedpost\nbedraggle\nbedridden\nbedrock\nbedroom\nbedside\nbedspread\nbedspring\nbedstraw\nbedtime\nbee\nBeebe\nbeebread\nbeech\nBeecham\nbeechwood\nbeef\nbeefsteak\nbeefy\nbeehive\nbeen\nbeep\nbeer\nbeet\nBeethoven\nbeetle\nbefall\nbefallen\nbefell\nbefit\nbefitting\nbefog\nbefogging\nbefore\nbeforehand\nbefoul\nbefuddle\nbeg\nbegan\nbeget\nbegetting\nbeggar\nbeggary\nbegging\nbegin\nbeginner\nbeginning\nbegonia\nbegotten\nbegrudge\nbeguile\nbegun\nbehalf\nbehave\nbehavioral\nbehead\nbeheld\nbehind\nbehold\nbeige\nbeing\nBeirut\nbel\nBela\nbelate\nbelch\nBelfast\nbelfry\nBelgian\nBelgium\nBelgrade\nbelie\nbelief\nbelieve\nbelittle\nbell\nBella\nbelladonna\nBellamy\nBellatrix\nbellboy\nbelle\nbellflower\nbellhop\nbellicose\nbelligerent\nBellingham\nBellini\nbellman\nbellmen\nbellow\nbellum\nbellwether\nbelly\nbellyache\nbellyfull\nBelmont\nBeloit\nbelong\nbelove\nbelow\nBelshazzar\nbelt\nBeltsville\nbelvedere\nbelvidere\nbelying\nBEMA\nbemadden\nbeman\nbemoan\nbemuse\nBen\nbench\nbenchmark\nbend\nBender\nBendix\nbeneath\nBenedict\nBenedictine\nbenediction\nbenefactor\nbenefice\nbeneficent\nbeneficial\nbeneficiary\nbenefit\nBenelux\nbenevolent\nBengal\nBengali\nbenight\nbenign\nBenjamin\nBennett\nBennington\nBenny\nBenson\nbent\nBentham\nbenthic\nBentley\nBenton\nBenz\nBenzedrine\nbenzene\nBeowulf\nbeplaster\nbequeath\nbequest\nberate\nBerea\nbereave\nbereft\nBerenices\nberet\nberg\nbergamot\nBergen\nBergland\nBerglund\nBergman\nBergson\nBergstrom\nberibbon\nberiberi\nBerkeley\nberkelium\nBerkowitz\nBerkshire\nBerlin\nBerlioz\nBerlitz\nBerman\nBermuda\nBern\nBernadine\nBernard\nBernardino\nBernardo\nberne\nBernet\nBernhard\nBernice\nBernie\nBerniece\nBernini\nBernoulli\nBernstein\nBerra\nberry\nberserk\nBert\nberth\nBertha\nBertie\nBertram\nBertrand\nBerwick\nberyl\nberyllium\nbeseech\nbeset\nbesetting\nbeside\nbesiege\nbesmirch\nbesotted\nbespeak\nbespectacled\nbespoke\nBess\nBessel\nBessemer\nBessie\nbest\nbestial\nbestir\nbestirring\nbestow\nbestowal\nbestseller\nbestselling\nbestubble\nbet\nbeta\nbetatron\nbetel\nBetelgeuse\nbeth\nbethel\nBethesda\nBethlehem\nbethought\nbetide\nbetoken\nbetony\nbetray\nbetrayal\nbetrayer\nbetroth\nbetrothal\nBetsey\nBetsy\nBette\nbetting\nbettor\nBetty\nbetween\nbetwixt\nbevel\nbeverage\nBeverly\nbevy\nbewail\nbeware\nbewhisker\nbewilder\nbewitch\nbey\nbeyond\nbezel\nbhoy\nBhutan\nbianco\nbias\nbiaxial\nbib\nbibb\nBible\nbiblical\nbibliography\nbibliophile\nbicameral\nbicarbonate\nbicep\nbiceps\nbichromate\nbicker\nbiconcave\nbiconnected\nbicycle\nbid\nbiddable\nbidding\nbiddy\nbide\nbidiagonal\nbidirectional\nbien\nbiennial\nbiennium\nbifocal\nbifurcate\nbig\nBigelow\nBiggs\nbigot\nbigotry\nbiharmonic\nbijouterie\nbikini\nbilateral\nbilayer\nbile\nbilge\nbilharziasis\nbilinear\nbilingual\nbilk\nbill\nbillboard\nbillet\nbilliard\nBillie\nBilliken\nBillings\nbillion\nbillionth\nbillow\nbilly\nBiltmore\nbimetallic\nbimetallism\nBimini\nbimodal\nbimolecular\nbimonthly\nbin\nbinary\nbinaural\nbind\nbindery\nbindle\nbindweed\nbing\nbinge\nBingham\nBinghamton\nbingle\nBini\nbinocular\nbinomial\nbinuclear\nbiochemic\nbiochemist\nbiochemistry\nbiograph\nbiography\nbiology\nbiomass\nbiomedical\nbiometric\nBiometrika\nbiometry\nbiophysic\nbiophysical\nbiophysicist\nbiopsy\nbioscience\nbiosphere\nbiostatistic\nbiosynthesize\nbiota\nbiotic\nbiotite\nbipartisan\nbipartite\nbiplane\nbipolar\nbiracial\nbirch\nbird\nbirdbath\nbirdie\nbirdlike\nbirdseed\nbirdwatch\nbirefringent\nBirgit\nBirmingham\nbirth\nbirthday\nbirthplace\nbirthright\nbiscuit\nbisect\nbishop\nbishopric\nBismarck\nBismark\nbismuth\nbison\nbisque\nBissau\nbistable\nbistate\nbit\nbitch\nbite\nbitt\nbitten\nbittern\nbitternut\nbitterroot\nbittersweet\nbitumen\nbituminous\nbitwise\nbivalve\nbivariate\nbivouac\nbiz\nbizarre\nBizet\nblab\nblabbing\nblack\nblackball\nblackberry\nblackbird\nblackboard\nblackbody\nBlackburn\nblacken\nBlackfeet\nblackjack\nblackmail\nBlackman\nblackout\nblacksmith\nBlackstone\nBlackwell\nbladder\nbladdernut\nbladderwort\nblade\nBlaine\nBlair\nBlake\nblame\nblameworthy\nblanc\nblanch\nBlanchard\nBlanche\nbland\nblank\nblanket\nblare\nblaspheme\nblasphemous\nblasphemy\nblast\nblat\nblatant\nblather\nblatting\nBlatz\nblaze\nblazon\nbleach\nbleak\nbleary\nbleat\nbled\nbleed\nBleeker\nblemish\nblend\nBlenheim\nbless\nblest\nblew\nblight\nblimp\nblind\nblindfold\nblink\nBlinn\nblip\nbliss\nblissful\nblister\nblithe\nblitz\nblizzard\nbloat\nblob\nbloc\nBloch\nblock\nblockade\nblockage\nblockhouse\nblocky\nbloke\nBlomberg\nBlomquist\nblond\nblonde\nblood\nbloodbath\nbloodhound\nbloodroot\nbloodshed\nbloodshot\nbloodstain\nbloodstone\nbloodstream\nbloody\nbloom\nBloomfield\nBloomington\nbloop\nblossom\nblot\nblotch\nblotting\nblouse\nblow\nblowfish\nblown\nblowup\nblubber\nbludgeon\nblue\nblueback\nblueberry\nbluebill\nbluebird\nbluebonnet\nbluebook\nbluebush\nbluefish\nbluegill\nbluegrass\nbluejacket\nblueprint\nbluestocking\nbluet\nbluff\nbluish\nBlum\nBlumenthal\nblunder\nblunt\nblur\nblurring\nblurry\nblurt\nblush\nbluster\nblustery\nblutwurst\nBlythe\nBMW\nboa\nboar\nboard\nboardinghouse\nboast\nboastful\nboat\nboathouse\nboatload\nboatman\nboatmen\nboatswain\nboatyard\nbob\nBobbie\nbobbin\nbobbing\nbobble\nbobby\nbobcat\nbobolink\nBoca\nbock\nbode\nbodhisattva\nbodice\nbodied\nBodleian\nbody\nbodybuilder\nbodybuilding\nbodyguard\nBoeing\nBoeotian\nbog\nbogey\nbogeymen\nbogging\nboggle\nboggy\nBogota\nbogus\nbogy\nBohemia\nBohr\nboil\nBois\nBoise\nboisterous\nbold\nboldface\nbole\nboletus\nbolivar\nBolivia\nbolo\nBologna\nbolometer\nBolshevik\nBolshevism\nBolshevist\nBolshoi\nbolster\nbolt\nBolton\nBoltzmann\nbomb\nbombard\nbombast\nbombastic\nBombay\nbombproof\nbon\nbona\nbonanza\nBonaparte\nBonaventure\nbond\nbondage\nbondsman\nbondsmen\nbone\nbonfire\nbong\nbongo\nBoniface\nbonito\nBonn\nbonnet\nBonneville\nBonnie\nbonus\nbony\nbonze\nboo\nbooby\nboogie\nbook\nbookbind\nbookcase\nbookend\nbookie\nbookish\nbookkeep\nbooklet\nbookplate\nbookseller\nbookshelf\nbookshelves\nbookstore\nbooky\nboolean\nboom\nboomerang\nboon\nBoone\nboor\nboorish\nboost\nboot\nBootes\nbooth\nbootleg\nbootlegger\nbootlegging\nbootstrap\nbootstrapping\nbooty\nbooze\nbop\nbopping\nborate\nborax\nBordeaux\nbordello\nBorden\nborder\nborderland\nborderline\nbore\nBorealis\nBoreas\nboredom\nBorg\nboric\nBoris\nborn\nborne\nBorneo\nboron\nborosilicate\nborough\nBorroughs\nborrow\nBosch\nBose\nbosom\nboson\nboss\nBoston\nBostonian\nBoswell\nbotanic\nbotanist\nbotany\nbotch\nbotfly\nboth\nbothersome\nBotswana\nbottle\nbottleneck\nbottom\nbottommost\nbotulin\nbotulism\nBoucher\nbouffant\nbough\nbought\nboulder\nboulevard\nbounce\nbouncy\nbound\nboundary\nbounty\nbouquet\nbourbon\nbourgeois\nbourgeoisie\nbourn\nboustrophedon\nbout\nboutique\nbovine\nbow\nBowditch\nBowdoin\nbowel\nBowen\nbowfin\nbowie\nbowl\nbowline\nbowman\nbowmen\nbowstring\nbox\nboxcar\nboxwood\nboxy\nboy\nboyar\nBoyce\nboycott\nBoyd\nboyhood\nboyish\nBoyle\nBoylston\nBP\nbrace\nbracelet\nbracken\nbracket\nbrackish\nbract\nbrad\nBradbury\nBradford\nBradley\nBradshaw\nBrady\nbrae\nbrag\nBragg\nbragging\nBrahmaputra\nBrahms\nBrahmsian\nbraid\nBraille\nbrain\nBrainard\nbrainstorm\nbrainwash\nbrainy\nbrake\nbrakeman\nbramble\nbran\nbranch\nbrand\nBrandeis\nBrandenburg\nbrandish\nBrandon\nBrandt\nbrandy\nbrandywine\nBraniff\nbrant\nbrash\nBrasilia\nbrass\nbrassiere\nbrassy\nbratwurst\nBraun\nbravado\nbrave\nbravery\nbravo\nbravura\nbrawl\nbray\nbrazen\nbrazier\nBrazil\nBrazilian\nBrazzaville\nbreach\nbread\nbreadboard\nbreadfruit\nbreadroot\nbreadth\nbreak\nbreakage\nbreakaway\nbreakdown\nbreakfast\nbreakoff\nbreakpoint\nbreakthrough\nbreakup\nbreakwater\nbream\nbreast\nbreastplate\nbreastwork\nbreath\nbreathe\nbreathtaking\nbreathy\nbreccia\nbred\nbreech\nbreeches\nbreed\nbreeze\nbreezy\nBremen\nbremsstrahlung\nBrenda\nBrendan\nBrennan\nBrenner\nBrent\nBrest\nbrethren\nBreton\nBrett\nbreve\nbrevet\nbrevity\nbrew\nbrewery\nBrewster\nBrian\nbriar\nbribe\nbribery\nBrice\nbrick\nbrickbat\nbricklayer\nbricklaying\nbridal\nbride\nbridegroom\nbridesmaid\nbridge\nbridgeable\nbridgehead\nBridgeport\nBridget\nBridgetown\nBridgewater\nbridgework\nbridle\nbrief\nbriefcase\nbrig\nbrigade\nbrigadier\nbrigantine\nBriggs\nBrigham\nbright\nbrighten\nBrighton\nbrilliant\nBrillouin\nbrim\nbrimful\nbrimming\nbrimstone\nBrindisi\nbrindle\nbrine\nbring\nbrink\nbrinkmanship\nbriny\nBrisbane\nbrisk\nbristle\nBristol\nBritain\nBritannic\nBritannica\nbritches\nBritish\nBriton\nBrittany\nBritten\nbrittle\nbroach\nbroad\nbroadcast\nbroaden\nbroadloom\nbroadside\nBroadway\nbrocade\nbroccoli\nbrochure\nBrock\nbrockle\nBroglie\nbroil\nbroke\nbroken\nbrokerage\nBromfield\nbromide\nbromine\nBromley\nbronchi\nbronchial\nbronchiolar\nbronchiole\nbronchitis\nbronchus\nbronco\nBronx\nbronze\nbronzy\nbrood\nbroody\nbrook\nBrooke\nBrookhaven\nBrookline\nBrooklyn\nbrookside\nbroom\nbroomcorn\nbroth\nbrothel\nbrother\nbrotherhood\nbrought\nbrouhaha\nbrow\nbrowbeaten\nbrown\nBrowne\nBrownell\nBrownian\nbrownie\nbrownish\nbrowse\nBruce\nbrucellosis\nBruckner\nBruegel\nbruise\nbruit\nBrumidi\nbrunch\nbrunette\nBrunhilde\nBruno\nBrunswick\nbrunt\nbrush\nbrushfire\nbrushlike\nbrushwork\nbrushy\nbrusque\nBrussels\nbrutal\nbrute\nBryan\nBryant\nBryce\nBryn\nbryophyta\nbryophyte\nbryozoa\nb's\nBSTJ\nBTL\nbub\nbubble\nBuchanan\nBucharest\nBuchenwald\nBuchwald\nbuck\nbuckaroo\nbuckboard\nbucket\nbucketfull\nbuckeye\nbuckhorn\nbuckle\nBuckley\nBucknell\nbuckshot\nbuckskin\nbuckthorn\nbuckwheat\nbucolic\nbud\nBudapest\nBudd\nBuddha\nBuddhism\nBuddhist\nbudding\nbuddy\nbudge\nbudget\nbudgetary\nBudweiser\nBuena\nBuenos\nbuff\nbuffalo\nbuffet\nbufflehead\nbuffoon\nbug\nbugaboo\nbugeyed\nbugging\nbuggy\nbugle\nBuick\nbuild\nbuildup\nbuilt\nbuiltin\nBujumbura\nbulb\nbulblet\nBulgaria\nbulge\nbulk\nbulkhead\nbulky\nbull\nbulldog\nbulldoze\nbullet\nbulletin\nbullfinch\nbullfrog\nbullhead\nbullhide\nbullish\nbullock\nbullseye\nbullwhack\nbully\nbullyboy\nbulrush\nbulwark\nbum\nbumble\nbumblebee\nbumming\nbump\nbumptious\nbun\nbunch\nBundestag\nbundle\nbundy\nbungalow\nbungle\nbunk\nbunkmate\nbunny\nBunsen\nbunt\nBunyan\nbuoy\nbuoyant\nburbank\nBurch\nburden\nburdensome\nburdock\nbureau\nbureaucracy\nbureaucrat\nbureaucratic\nburet\nburette\nburg\nburgeon\nburgess\nburgher\nburglar\nburglarproof\nburglary\nBurgundian\nBurgundy\nburial\nburied\nBurke\nburl\nburlap\nburlesque\nburley\nBurlington\nburly\nBurma\nBurmese\nburn\nBurnett\nBurnham\nburnish\nBurnside\nburnt\nburp\nBurr\nburro\nBurroughs\nburrow\nbursitis\nburst\nbursty\nBurt\nBurton\nBurtt\nBurundi\nbury\nbus\nbusboy\nBusch\nbush\nbushel\nbushmaster\nBushnell\nbushwhack\nbushy\nbusiness\nbusinessman\nbusinessmen\nbuss\nbust\nbustard\nbustle\nbusy\nbut\nbutadiene\nbutane\nbutch\nbutchery\nbutene\nbuteo\nbutler\nbutt\nbutte\nbutterball\nbuttercup\nbutterfat\nButterfield\nbutterfly\nbuttermilk\nbutternut\nbuttery\nbuttock\nbutton\nbuttonhole\nbuttonweed\nbuttress\nButtrick\nbutyl\nbutyrate\nbuxom\nBuxtehude\nBuxton\nbuy\nbuyer\nbuzz\nBuzzard\nbuzzer\nbuzzing\nbuzzword\nbuzzy\nby\nbye\nByers\nbygone\nbylaw\nbyline\nbypass\nbypath\nbyproduct\nByrd\nByrne\nbyroad\nByron\nByronic\nbystander\nbyte\nbyway\nbyword\nByzantine\nByzantium\nc\ncab\ncabal\ncabana\ncabaret\ncabbage\ncabdriver\ncabin\ncabinet\ncabinetmake\ncabinetry\ncable\nCabot\ncacao\ncachalot\ncache\ncackle\nCACM\ncacophonist\ncacophony\ncacti\ncactus\ncadaver\ncadaverous\ncaddis\ncaddy\ncadent\ncadenza\ncadet\nCadillac\ncadmium\ncadre\nCady\nCaesar\ncafe\ncafeteria\ncage\ncagey\nCahill\ncahoot\ncaiman\nCain\nCaine\ncairn\nCairo\ncajole\ncake\nCal\nCalais\ncalamitous\ncalamity\ncalamus\ncalcareous\ncalcify\ncalcite\ncalcium\ncalculable\ncalculate\ncalculi\ncalculus\nCalcutta\nCalder\ncaldera\nCaldwell\nCaleb\ncalendar\ncalendrical\ncalf\ncalfskin\nCalgary\nCalhoun\ncaliber\ncalibrate\ncalibre\ncalico\nCalifornia\ncalifornium\ncaliper\ncaliph\ncaliphate\ncalisthenic\nCalkins\ncall\ncalla\nCallaghan\nCallahan\ncaller\ncalligraph\ncalligraphy\ncalliope\nCallisto\ncallous\ncallus\ncalm\ncaloric\ncalorie\ncalorimeter\ncalorimetric\ncalorimetry\nCalumet\ncalumniate\ncalumny\nCalvary\ncalve\nCalvert\nCalvin\nCalvinist\ncalypso\ncam\ncamaraderie\ncamber\nCambodia\ncambric\nCambridge\nCamden\ncame\ncamel\ncamelback\ncamellia\ncamelopard\nCamelot\ncameo\ncamera\ncameraman\ncameramen\nCameron\nCameroun\ncamilla\nCamille\nCamino\ncamouflage\ncamp\ncampaign\ncampanile\nCampbell\ncampfire\ncampground\ncampion\ncampsite\ncampus\ncan\nCanaan\nCanada\nCanadian\ncanal\ncanary\nCanaveral\nCanberra\ncancel\ncancellate\ncancer\ncancerous\ncandela\ncandelabra\ncandid\ncandidacy\ncandidate\nCandide\ncandle\ncandlelight\ncandlestick\ncandlewick\ncandy\ncane\nCanfield\ncanine\nCanis\ncanister\ncanker\ncankerworm\ncanna\ncannabis\ncannel\ncannery\ncannibal\ncanning\ncannister\ncannon\ncannonball\ncannot\ncanny\ncanoe\nCanoga\ncanon\ncanonic\ncanopy\ncan't\ncant\ncantaloupe\ncanteen\nCanterbury\ncanterelle\ncanticle\ncantilever\ncantle\ncanto\ncanton\nCantonese\ncantor\ncanvas\ncanvasback\ncanvass\ncanyon\ncap\ncapacious\ncapacitance\ncapacitate\ncapacitive\ncapacitor\ncapacity\ncape\ncapella\ncaper\nCapetown\ncapillary\nCapistrano\ncapita\ncapital\ncapitol\nCapitoline\ncapitulate\ncapo\ncapping\ncaprice\ncapricious\nCapricorn\ncapstan\ncapstone\ncapsule\ncaptain\ncaptaincy\ncaption\ncaptious\ncaptivate\ncaptive\ncaptor\ncapture\nCaputo\ncapybara\ncar\ncarabao\nCaracas\ncaramel\ncaravan\ncaraway\ncarbide\ncarbine\ncarbohydrate\nCarboloy\ncarbon\ncarbonaceous\ncarbonate\nCarbondale\nCarbone\ncarbonic\ncarbonyl\ncarborundum\ncarboxy\ncarboy\ncarbuncle\ncarcass\ncarcinogen\ncarcinogenic\ncarcinoma\ncard\ncardamom\ncardboard\ncardiac\ncardinal\ncardiology\ncardiovascular\ncare\ncareen\ncareer\ncarefree\ncareful\ncaress\ncaret\ncaretaker\ncareworn\nCarey\nCargill\ncargo\ncargoes\nCarib\nCaribbean\ncaribou\ncaricature\nCarl\nCarla\nCarleton\nCarlin\nCarlisle\nCarlo\ncarload\nCarlson\nCarlton\nCarlyle\nCarmela\nCarmen\nCarmichael\ncarmine\ncarnage\ncarnal\ncarnation\ncarne\nCarnegie\ncarney\ncarnival\ncarob\ncarol\nCarolina\nCaroline\nCarolingian\nCarolinian\nCarolyn\ncarouse\ncarp\nCarpathia\ncarpenter\ncarpentry\ncarpet\ncarport\nCarr\ncarrageen\nCarrara\ncarrel\ncarriage\nCarrie\ncarrion\nCarroll\ncarrot\nCarruthers\ncarry\ncarryover\nCarson\ncart\ncarte\ncartel\nCartesian\nCarthage\ncartilage\ncartographer\ncartographic\ncartography\ncarton\ncartoon\ncartridge\ncartwheel\nCaruso\ncarve\ncarven\nCasanova\ncasbah\ncascade\ncascara\ncase\ncasebook\ncasein\ncasework\nCasey\ncash\ncashew\ncashier\ncashmere\ncasino\ncask\ncasket\nCassandra\ncasserole\ncassette\nCassiopeia\nCassius\ncassock\ncast\ncastanet\ncaste\ncasteth\ncastigate\nCastillo\ncastle\ncastor\nCastro\ncasual\ncasualty\ncat\ncataclysmic\nCatalina\ncatalogue\ncatalpa\ncatalysis\ncatalyst\ncatalytic\ncatapult\ncataract\ncatastrophe\ncatastrophic\ncatatonia\ncatatonic\ncatawba\ncatbird\ncatch\ncatchup\ncatchword\ncatchy\ncatechism\ncategoric\ncategory\ncatenate\ncater\ncaterpillar\ncatfish\ncatharsis\ncathedral\nCatherine\nCatherwood\ncatheter\ncathode\ncathodic\ncatholic\nCatholicism\nCathy\ncation\ncationic\ncatkin\ncatlike\ncatnip\nCatskill\ncatsup\ncattail\ncattle\ncattleman\ncattlemen\nCaucasian\nCaucasus\nCauchy\ncaucus\ncaught\ncauliflower\ncaulk\ncausal\ncausate\ncause\ncaustic\ncaution\ncautionary\ncautious\ncavalcade\ncavalier\ncavalry\ncave\ncaveat\ncaveman\ncavemen\nCavendish\ncavern\ncavernous\ncaviar\ncavil\ncavilling\nCaviness\ncavort\ncaw\ncayenne\nCayley\nCayuga\nCBS\nCDC\ncease\nCecil\nCecilia\nCecropia\ncedar\ncede\ncedilla\nCedric\nceil\ncelandine\nCelanese\nCelebes\ncelebrant\ncelebrate\ncelebrity\ncelerity\ncelery\ncelesta\ncelestial\nCelia\ncell\ncellar\ncellophane\ncellular\ncellulose\nCelsius\nCeltic\ncement\ncemetery\nCenozoic\ncensor\ncensorial\ncensure\ncensus\ncent\ncentaur\ncentenary\ncentennial\ncenterline\ncenterpiece\ncentigrade\ncentipede\ncentral\ncentrex\ncentric\ncentrifugal\ncentrifugate\ncentrifuge\ncentrist\ncentroid\ncentum\ncentury\nCepheus\nceramic\nceramium\nCerberus\ncereal\ncerebellum\ncerebral\ncerebrate\nceremonial\nceremonious\nceremony\nCeres\ncereus\ncerise\ncerium\nCERN\ncertain\ncertainty\ncertificate\ncertified\ncertify\ncertiorari\ncertitude\ncerulean\nCervantes\nCesare\ncesium\ncessation\ncession\nCessna\ncetera\nCetus\nCeylon\nCezanne\nChablis\nChad\nChadwick\nchafe\nchaff\nchagrin\nchain\nchair\nchairlady\nchairman\nchairmen\nchairperson\nchairwoman\nchairwomen\nchaise\nchalcedony\nchalcocite\nchalice\nchalk\nchalkline\nchalky\nchallenge\nChalmers\nchamber\nchamberlain\nchambermaid\nChambers\nchameleon\nchamfer\nchamois\nchamomile\nchamp\nchampagne\nChampaign\nchampion\nChamplain\nchance\nchancel\nchancellor\nchancery\nchancy\nchandelier\nchandler\nChang\nchange\nchangeable\nchangeover\nchannel\nchanson\nchant\nchantey\nChantilly\nchantry\nChao\nchaos\nchaotic\nchap\nchaparral\nchapel\nchaperon\nchaperone\nchaplain\nChaplin\nChapman\nchapping\nchapter\nchar\ncharacter\ncharacteristic\ncharcoal\nchard\ncharge\nchargeable\nchariot\ncharisma\ncharismatic\ncharitable\ncharity\nCharles\nCharleston\nCharley\nCharlie\nCharlotte\nCharlottesville\ncharm\nCharon\ncharring\nchart\nCharta\nChartres\nchartreuse\nchartroom\nCharybdis\nchase\nchasm\nchassis\nchaste\nchastise\nchastity\nchat\nchateau\nchateaux\nChatham\nChattanooga\nchattel\nchatting\nchatty\nChaucer\nchauffeur\nChauncey\nChautauqua\nchaw\ncheap\ncheat\ncheater\ncheck\ncheckbook\ncheckerberry\ncheckerboard\nchecklist\ncheckout\ncheckpoint\nchecksum\nchecksummed\nchecksumming\ncheckup\ncheek\ncheekbone\ncheeky\ncheer\ncheerful\ncheerleader\ncheery\ncheese\ncheesecloth\ncheesy\ncheetah\nchef\nchelate\nchemic\nchemise\nchemisorb\nchemisorption\nchemist\nchemistry\nChen\nCheney\nchenille\ncherish\nCherokee\ncherry\nchert\ncherub\ncherubim\nChesapeake\nCheshire\nchess\nchest\nChester\nChesterton\nchestnut\nchevalier\nChevrolet\nchevron\nchevy\nchew\nCheyenne\nchi\nChiang\nchianti\nchic\nChicago\nChicagoan\nchicanery\nChicano\nchick\nchickadee\nchicken\nchickweed\nchicory\nchide\nchief\nchiefdom\nchieftain\nchiffon\nchigger\nchignon\nchilblain\nchild\nchildbirth\nchildhood\nchildish\nchildlike\nchildren\nChile\nchili\nchill\nchilly\nchime\nchimera\nchimeric\nChimique\nchimney\nchimpanzee\nchin\nchina\nChinaman\nChinamen\nChinatown\nchinch\nchinchilla\nchine\nChinese\nchink\nchinning\nChinook\nchinquapin\nchip\nchipboard\nchipmunk\nChippendale\nchipping\nchiropractor\nchirp\nchisel\nChisholm\nchit\nchiton\nchivalrous\nchivalry\nchive\nchlorate\nchlordane\nchloride\nchlorine\nchloroform\nchlorophyll\nchloroplatinate\nchock\nchocolate\nChoctaw\nchoice\nchoir\nchoirmaster\nchoke\nchokeberry\ncholera\ncholesterol\ncholinesterase\nchomp\nchoose\nchoosy\nchop\nChopin\nchopping\nchoppy\nchoral\nchorale\nchord\nchordal\nchordata\nchordate\nchore\nchoreograph\nchoreography\nchorine\nchortle\nchorus\nchose\nchosen\nChou\nchow\nchowder\nChris\nChrist\nchristen\nChristendom\nChristensen\nChristenson\nChristian\nChristiana\nChristianson\nChristie\nChristina\nChristine\nChristlike\nChristmas\nChristoffel\nChristopher\nChristy\nchromate\nchromatic\nchromatogram\nchromatograph\nchromatography\nchrome\nchromic\nchromium\nchromosphere\nchronic\nchronicle\nchronograph\nchronography\nchronology\nchrysanthemum\nChrysler\nchrysolite\nchub\nchubby\nchuck\nchuckle\nchuckwalla\nchuff\nchug\nchugging\nchum\nchumming\nchummy\nchump\nChungking\nchunk\nchunky\nchurch\nchurchgoer\nchurchgoing\nChurchill\nChurchillian\nchurchman\nchurchmen\nchurchwoman\nchurchwomen\nchurchyard\nchurn\nchute\nchutney\nCIA\ncicada\nCicero\nCiceronian\ncider\ncigar\ncigarette\ncilia\nciliate\ncimcumvention\ncinch\nCincinnati\ncinder\nCinderella\ncinema\ncinematic\nCinerama\ncinnabar\ncinnamon\ncinquefoil\ncipher\ncirca\nCirce\ncircle\ncirclet\ncircuit\ncircuitous\ncircuitry\ncirculant\ncircular\ncirculate\ncirculatory\ncircumcircle\ncircumcise\ncircumcision\ncircumference\ncircumferential\ncircumflex\ncircumlocution\ncircumpolar\ncircumscribe\ncircumscription\ncircumspect\ncircumsphere\ncircumstance\ncircumstantial\ncircumvent\ncircumvention\ncircus\ncirmcumferential\ncistern\ncitadel\ncitation\ncite\ncitizen\ncitizenry\ncitrate\ncitric\nCitroen\ncitron\ncitrus\ncity\ncityscape\ncitywide\ncivet\ncivic\ncivil\ncivilian\nclad\ncladding\ncladophora\nclaim\nclaimant\nClaire\nclairvoyant\nclam\nclamber\nclamming\nclammy\nclamp\nclamshell\nclan\nclandestine\nclang\nclank\nclannish\nclap\nclapboard\nClapeyron\nclapping\nClara\nClare\nClaremont\nClarence\nClarendon\nclaret\nclarify\nclarinet\nclarity\nClark\nClarke\nclash\nclasp\nclass\nclassic\nclassification\nclassificatory\nclassify\nclassmate\nclassroom\nclassy\nclatter\nclattery\nClaude\nClaudia\nClaudio\nClaus\nclause\nClausen\nClausius\nclaustrophobia\nclaustrophobic\nclaw\nclay\nClayton\nclean\ncleanse\ncleanup\nclear\nclearance\nclearheaded\nClearwater\ncleat\ncleavage\ncleave\ncleft\nclement\nClemson\nclench\nclergy\nclergyman\nclergymen\ncleric\nclerk\nCleveland\nclever\ncliche\nclick\nclient\nclientele\ncliff\ncliffhang\nClifford\nClifton\nclimactic\nclimate\nclimatic\nclimatology\nclimax\nclimb\nclime\nclinch\ncling\nclinging\nclinic\nclinician\nclink\nClint\nClinton\nClio\nclip\nclipboard\nclipping\nclique\nClive\ncloak\ncloakroom\nclobber\nclock\nclockwatcher\nclockwise\nclockwork\nclod\ncloddish\nclog\nclogging\ncloister\nclomp\nclone\nclonic\nclose\ncloset\ncloseup\nclosure\nclot\ncloth\nclothbound\nclothe\nclothesbrush\nclotheshorse\nclothesline\nclothesman\nclothesmen\nclothier\nClotho\nclotting\ncloture\ncloud\ncloudburst\ncloudy\nclout\nclove\nclown\ncloy\nclub\nclubbing\nclubhouse\nclubroom\ncluck\nclue\nclump\nclumsy\nclung\ncluster\nclutch\nclutter\nClyde\nClytemnestra\ncoach\ncoachman\ncoachmen\ncoachwork\ncoadjutor\ncoagulable\ncoagulate\ncoal\ncoalesce\ncoalescent\ncoalition\ncoarse\ncoarsen\ncoast\ncoastal\ncoastline\ncoat\nCoates\ncoattail\ncoauthor\ncoax\ncoaxial\ncobalt\nCobb\ncobble\ncobblestone\nCobol\ncobra\ncobweb\ncoca\ncocaine\ncoccidiosis\ncochineal\ncochlea\nCochran\nCochrane\ncock\ncockatoo\ncockcrow\ncockeye\ncockle\ncocklebur\ncockleshell\ncockpit\ncockroach\ncocksure\ncocktail\ncocky\ncoco\ncocoa\ncoconut\ncocoon\ncod\ncoda\nCoddington\ncoddle\ncode\ncodebreak\ncodeposit\ncodetermine\ncodeword\ncodfish\ncodicil\ncodify\ncodpiece\nCody\ncoed\ncoeditor\ncoeducation\ncoefficient\ncoequal\ncoerce\ncoercible\ncoercion\ncoercive\ncoexist\ncoexistent\ncoextensive\ncofactor\ncoffee\ncoffeecup\ncoffeepot\ncoffer\nCoffey\ncoffin\nCoffman\ncog\ncogent\ncogitate\ncognac\ncognate\ncognition\ncognitive\ncognizable\ncognizant\nCohen\ncohere\ncoherent\ncohesion\ncohesive\nCohn\ncohort\ncohosh\ncoiffure\ncoil\ncoin\ncoinage\ncoincide\ncoincident\ncoincidental\ncoke\ncol\ncola\ncolander\ncolatitude\nColby\ncold\nCole\nColeman\nColeridge\nColette\ncoleus\nColgate\ncolicky\ncoliform\ncoliseum\ncollaborate\ncollage\ncollagen\ncollapse\ncollapsible\ncollar\ncollarbone\ncollard\ncollate\ncollateral\ncolleague\ncollect\ncollectible\ncollector\ncollege\ncollegian\ncollegiate\ncollet\ncollide\ncollie\nCollier\ncollimate\ncollinear\nCollins\ncollision\ncollocation\ncolloidal\ncolloquia\ncolloquial\ncolloquium\ncolloquy\ncollude\ncollusion\nCologne\nColombia\nColombo\ncolon\ncolonel\ncolonial\ncolonist\ncolonnade\ncolony\nColorado\ncolorate\ncoloratura\ncolorimeter\ncolorimetry\ncolossal\nColosseum\ncolossi\ncolossus\ncolt\ncoltish\ncoltsfoot\nColumbia\ncolumbine\nColumbus\ncolumn\ncolumnar\ncolza\ncoma\nComanche\ncomatose\ncomb\ncombat\ncombatant\ncombatted\ncombinate\ncombinator\ncombinatorial\ncombinatoric\ncombine\ncombustible\ncombustion\ncome\ncomeback\ncomedian\ncomedy\ncomet\ncometary\ncometh\ncomfort\ncomic\nCominform\ncomma\ncommand\ncommandant\ncommandeer\ncommando\ncommemorate\ncommend\ncommendation\ncommendatory\ncommensurable\ncommensurate\ncomment\ncommentary\ncommentator\ncommerce\ncommercial\ncommingle\ncommiserate\ncommissariat\ncommissary\ncommission\ncommit\ncommittable\ncommittal\ncommitted\ncommittee\ncommitteeman\ncommitteemen\ncommitteewoman\ncommitteewomen\ncommitting\ncommodious\ncommodity\ncommodore\ncommon\ncommonality\ncommonplace\ncommonweal\ncommonwealth\ncommotion\ncommunal\ncommune\ncommunicable\ncommunicant\ncommunicate\ncommunion\ncommunique\ncommutate\ncommute\ncompact\nCompagnie\ncompanion\ncompanionway\ncompany\ncomparative\ncomparator\ncompare\ncomparison\ncompartment\ncompass\ncompassion\ncompassionate\ncompatible\ncompatriot\ncompel\ncompellable\ncompelled\ncompelling\ncompendia\ncompendium\ncompensable\ncompensate\ncompensatory\ncompete\ncompetent\ncompetition\ncompetitive\ncompetitor\ncompilation\ncompile\ncomplacent\ncomplain\ncomplainant\ncomplaint\ncomplaisant\ncomplement\ncomplementarity\ncomplementary\ncomplementation\ncomplete\ncompletion\ncomplex\ncomplexion\ncompliant\ncomplicate\ncomplicity\ncompliment\ncomplimentary\ncompline\ncomply\ncomponent\ncomponentry\ncomport\ncompose\ncomposite\ncomposition\ncompositor\ncompost\ncomposure\ncompote\ncompound\ncomprehend\ncomprehensible\ncomprehension\ncomprehensive\ncompress\ncompressible\ncompression\ncompressive\ncompressor\ncomprise\ncompromise\nCompton\ncomptroller\ncompulsion\ncompulsive\ncompulsory\ncomputation\ncompute\ncomrade\ncon\nConakry\nConant\nconcatenate\nconcave\nconceal\nconcede\nconceit\nconceive\nconcentrate\nconcentric\nconcept\nconception\nconceptual\nconcern\nconcert\nconcerti\nconcertina\nconcertmaster\nconcerto\nconcession\nconcessionaire\nconch\nconcierge\nconciliate\nconciliatory\nconcise\nconcision\nconclave\nconclude\nconclusion\nconclusive\nconcoct\nconcomitant\nconcord\nconcordant\nconcourse\nconcrete\nconcretion\nconcubine\nconcur\nconcurred\nconcurrent\nconcurring\nconcussion\ncondemn\ncondemnate\ncondemnatory\ncondensate\ncondense\ncondensible\ncondescend\ncondescension\ncondiment\ncondition\ncondolence\ncondone\nconduce\nconducive\nconduct\nconductance\nconductive\nconductor\nconduit\ncone\nconeflower\nConestoga\nconey\nconfabulate\nconfect\nconfectionery\nconfederacy\nconfederate\nconfer\nconferee\nconference\nconferrable\nconferred\nconferring\nconfess\nconfession\nconfessor\nconfidant\nconfidante\nconfide\nconfident\nconfidential\nconfiguration\nconfigure\nconfine\nconfirm\nconfirmation\nconfirmatory\nconfiscable\nconfiscate\nconfiscatory\nconflagrate\nconflict\nconfluent\nconfocal\nconform\nconformal\nconformance\nconformation\nconfound\nconfrere\nconfront\nconfrontation\nConfucian\nConfucianism\nConfucius\nconfuse\nconfusion\nconfute\ncongeal\ncongener\ncongenial\ncongenital\ncongest\ncongestion\ncongestive\nconglomerate\nCongo\nCongolese\ncongratulate\ncongratulatory\ncongregate\ncongress\ncongressional\ncongressman\ncongressmen\ncongresswoman\ncongresswomen\ncongruent\nconic\nconifer\nconiferous\nconjectural\nconjecture\nconjoin\nconjoint\nconjugal\nconjugate\nconjunct\nconjuncture\nconjure\nConklin\nConley\nconn\nConnally\nconnect\nConnecticut\nconnector\nConner\nConnie\nconnivance\nconnive\nconnoisseur\nConnors\nconnotation\nconnotative\nconnote\nconnubial\nconquer\nconqueror\nconquest\nconquistador\nConrad\nConrail\nconsanguine\nconsanguineous\nconscience\nconscientious\nconscionable\nconscious\nconscript\nconscription\nconsecrate\nconsecutive\nconsensus\nconsent\nconsequent\nconsequential\nconservation\nconservatism\nconservative\nconservator\nconservatory\nconserve\nconsider\nconsiderate\nconsign\nconsignee\nconsignor\nconsist\nconsistent\nconsolation\nconsole\nconsolidate\nconsonant\nconsonantal\nconsort\nconsortium\nconspicuous\nconspiracy\nconspirator\nconspiratorial\nconspire\nConstance\nconstant\nConstantine\nConstantinople\nconstellate\nconsternate\nconstituent\nconstitute\nconstitution\nconstrain\nconstraint\nconstrict\nconstrictor\nconstruct\nconstructible\nconstructor\nconstrue\nconsul\nconsular\nconsulate\nconsult\nconsultant\nconsultation\nconsultative\nconsume\nconsummate\nconsumption\nconsumptive\ncontact\ncontagion\ncontagious\ncontain\ncontaminant\ncontaminate\ncontemplate\ncontemporaneous\ncontemporary\ncontempt\ncontemptible\ncontemptuous\ncontend\ncontent\ncontention\ncontentious\ncontest\ncontestant\ncontext\ncontextual\ncontiguity\ncontiguous\ncontinent\ncontinental\ncontingent\ncontinua\ncontinual\ncontinuant\ncontinuation\ncontinue\ncontinued\ncontinuity\ncontinuo\ncontinuous\ncontinuum\ncontort\ncontour\ncontraband\ncontrabass\ncontraception\ncontraceptive\ncontract\ncontractor\ncontractual\ncontradict\ncontradictory\ncontradistinct\ncontradistinguish\ncontralateral\ncontralto\ncontraption\ncontrariety\ncontrary\ncontrast\ncontravariant\ncontravene\ncontravention\ncontretemps\ncontribute\ncontribution\ncontributor\ncontributory\ncontrite\ncontrition\ncontrivance\ncontrive\ncontrol\ncontrollable\ncontrolled\ncontroller\ncontrolling\ncontroversial\ncontroversy\ncontrovertible\ncontumacy\ncontusion\nconundrum\nConvair\nconvalesce\nconvalescent\nconvect\nconvene\nconvenient\nconvent\nconvention\nconverge\nconvergent\nconversant\nconversation\nconverse\nconversion\nconvert\nconvertible\nconvex\nconvey\nconveyance\nconveyor\nconvict\nconvince\nconvivial\nconvocate\nconvoke\nconvolute\nconvolution\nconvolve\nconvoy\nconvulse\nconvulsion\nconvulsive\nConway\ncony\ncoo\ncook\ncookbook\nCooke\ncookery\ncookie\ncooky\ncool\ncoolant\nCooley\ncoolheaded\nCoolidge\ncoon\ncoop\ncooperate\ncoordinate\nCoors\ncoot\ncop\ncope\nCopeland\nCopenhagen\nCopernican\nCopernicus\ncopious\ncoplanar\ncopolymer\ncopperas\nCopperfield\ncopperhead\ncoppery\ncopra\ncoprinus\ncopter\ncopy\ncopybook\ncopyright\ncopywriter\ncoquette\ncoquina\ncoral\ncoralberry\ncoralline\ncorbel\nCorbett\nCorcoran\ncord\ncordage\ncordial\ncordite\ncordon\ncorduroy\ncore\nCorey\ncoriander\nCorinth\nCorinthian\nCoriolanus\ncork\ncorkscrew\ncormorant\ncorn\ncornbread\ncornea\nCornelia\nCornelius\nCornell\ncornerstone\ncornet\ncornfield\ncornflower\ncornish\ncornmeal\ncornstarch\ncornucopia\nCornwall\ncorny\ncorollary\ncorona\nCoronado\ncoronary\ncoronate\ncoroner\ncoronet\ncoroutine\nCorp\ncorpora\ncorporal\ncorporate\ncorporeal\ncorps\ncorpse\ncorpsman\ncorpsmen\ncorpulent\ncorpus\ncorpuscular\ncorral\ncorralled\ncorrect\ncorrector\ncorrelate\ncorrespond\ncorrespondent\ncorridor\ncorrigenda\ncorrigendum\ncorrigible\ncorroborate\ncorroboree\ncorrode\ncorrodible\ncorrosion\ncorrosive\ncorrugate\ncorrupt\ncorruptible\ncorruption\ncorsage\ncortege\ncortex\ncortical\nCortland\ncorundum\ncoruscate\ncorvette\nCorvus\ncos\ncosec\ncoset\nCosgrove\ncosh\ncosine\ncosmetic\ncosmic\ncosmology\ncosmopolitan\ncosmos\ncosponsor\nCossack\ncost\nCostello\ncostume\ncosy\ncot\ncotangent\ncotillion\ncotman\ncotoneaster\ncotta\ncottage\ncotton\ncottonmouth\ncottonseed\ncottonwood\ncottony\nCottrell\ncotty\ncouch\ncougar\ncough\ncould\ncouldn't\ncoulomb\nCoulter\ncouncil\ncouncilman\ncouncilmen\ncouncilwoman\ncouncilwomen\ncounsel\ncounselor\ncount\ncountenance\ncounteract\ncounterargument\ncounterattack\ncounterbalance\ncounterclockwise\ncounterexample\ncounterfeit\ncounterflow\ncounterintuitive\ncounterman\ncountermen\ncounterpart\ncounterpoint\ncounterpoise\ncounterproductive\ncounterproposal\ncountersink\ncountersunk\ncountervail\ncountrify\ncountry\ncountryman\ncountrymen\ncountryside\ncountrywide\ncounty\ncountywide\ncoup\ncoupe\ncouple\ncoupon\ncourage\ncourageous\ncourier\ncourse\ncourt\ncourteous\ncourtesan\ncourtesy\ncourthouse\ncourtier\nCourtney\ncourtroom\ncourtyard\ncousin\ncouturier\ncovalent\ncovariant\ncovariate\ncovary\ncove\ncoven\ncovenant\nCoventry\ncover\ncoverage\ncoverall\ncoverlet\ncovert\ncovet\ncovetous\ncow\nCowan\ncoward\ncowardice\ncowbell\ncowbird\ncowboy\ncowhand\ncowherd\ncowhide\ncowl\ncowlick\ncowman\ncowmen\ncoworker\ncowpea\ncowpoke\ncowpony\ncowpox\ncowpunch\ncowry\ncowslip\ncox\ncoxcomb\ncoy\ncoyote\ncoypu\ncozen\ncozier\ncozy\nCPA\ncrab\ncrabapple\ncrabbing\ncrack\ncrackle\ncrackpot\ncradle\ncraft\ncraftsman\ncraftsmen\ncraftspeople\ncraftsperson\ncrafty\ncrag\ncraggy\nCraig\ncram\nCramer\ncramming\ncramp\ncranberry\nCrandall\ncrane\ncranelike\nCranford\ncrania\ncranium\ncrank\ncrankcase\ncrankshaft\ncranky\ncranny\nCranston\ncrap\ncrappie\ncrash\ncrass\ncrate\ncrater\ncravat\ncrave\ncraven\ncraw\nCrawford\ncrawl\ncrawlspace\ncrayfish\ncrayon\ncraze\ncrazy\ncreak\ncreaky\ncream\ncreamery\ncreamy\ncrease\ncreate\ncreating\ncreature\ncreche\ncredent\ncredential\ncredenza\ncredible\ncredit\ncreditor\ncredo\ncredulity\ncredulous\ncreed\ncreedal\ncreek\ncreekside\ncreep\ncreepy\ncremate\ncrematory\nCreole\nCreon\ncreosote\ncrepe\ncrept\ncrescendo\ncrescent\ncress\ncrest\ncrestfallen\nCrestview\nCretaceous\nCretan\nCrete\ncretin\ncretinous\ncrevice\ncrew\ncrewcut\ncrewel\ncrewman\ncrewmen\ncrib\ncribbing\ncricket\ncried\ncrime\nCrimea\ncriminal\ncrimp\ncrimson\ncringe\ncrinkle\ncripple\ncrises\ncrisis\ncrisp\nCrispin\ncriss\ncrisscross\ncriteria\ncriterion\ncritic\ncritique\ncritter\ncroak\ncrochet\ncrock\ncrockery\nCrockett\ncrocodile\ncrocodilian\ncrocus\ncroft\nCroix\nCromwell\nCromwellian\ncrone\ncrony\ncrook\ncroon\ncrop\ncropping\nCrosby\ncross\ncrossarm\ncrossbar\ncrossbill\ncrosscut\ncrosshatch\ncrossover\ncrosspoint\ncrossroad\ncrosstalk\ncrosswalk\ncrossway\ncrosswise\ncrosswort\ncrotch\ncrotchety\ncrouch\ncroupier\ncrow\ncrowbait\ncrowberry\ncrowd\ncrowfoot\nCrowley\ncrown\ncroydon\nCRT\ncrucial\ncrucible\ncrucifix\ncrucifixion\ncrucify\ncrud\ncruddy\ncrude\ncruel\ncruelty\nCruickshank\ncruise\ncrumb\ncrumble\ncrummy\ncrump\ncrumple\ncrunch\ncrupper\ncrusade\ncrush\nCrusoe\ncrust\ncrutch\ncrux\ncry\ncryogenic\ncryostat\ncrypt\ncryptanalysis\ncryptanalyst\ncryptanalytic\ncryptic\ncryptogram\ncryptographer\ncryptography\ncrystal\ncrystalline\ncrystallite\ncrystallographer\ncrystallography\nc's\ncub\nCuba\ncubbyhole\ncube\ncubic\ncuckoo\ncucumber\ncud\ncuddle\ncuddly\ncudgel\ncue\ncuff\ncufflink\ncuisine\nCulbertson\nculinary\ncull\nculminate\nculpa\nculpable\nculprit\ncult\ncultivable\ncultivate\ncultural\nculture\nCulver\nculvert\nCumberland\ncumbersome\ncumin\nCummings\nCummins\ncumulate\ncumulus\nCunard\ncunning\nCunningham\nCUNY\ncup\ncupboard\ncupful\nCupid\ncupidity\ncupping\ncupric\ncuprous\ncur\ncurate\ncurb\ncurbside\ncurd\ncurdle\ncure\ncurfew\ncuria\ncurie\ncurio\ncuriosity\ncurious\ncurium\ncurl\ncurlew\ncurlicue\nCurran\ncurrant\ncurrent\ncurricula\ncurricular\ncurriculum\ncurry\ncurse\ncursive\ncursor\ncursory\ncurt\ncurtail\ncurtain\nCurtis\ncurtsey\ncurvaceous\ncurvature\ncurve\ncurvilinear\nCushing\ncushion\nCushman\ncusp\nCuster\ncustodial\ncustodian\ncustody\ncustom\ncustomary\ncustomhouse\ncut\ncutaneous\ncutback\ncute\ncutlass\ncutler\ncutlet\ncutoff\ncutout\ncutover\ncutthroat\ncutting\ncuttlebone\ncuttlefish\ncutworm\nCyanamid\ncyanate\ncyanic\ncyanide\ncybernetics\ncycad\nCyclades\ncycle\ncyclic\ncyclist\ncyclone\ncyclopean\nCyclops\ncyclorama\ncyclotron\nCygnus\ncylinder\ncylindric\ncynic\nCynthia\ncypress\nCyprian\nCypriot\nCyprus\nCyril\nCyrus\ncyst\ncytochemistry\ncytolysis\ncytoplasm\nczar\nczarina\nCzechoslovakia\nCzerniak\nd\ndab\ndabbing\ndabble\nDacca\ndachshund\ndactyl\ndactylic\ndad\nDadaism\nDadaist\ndaddy\nDade\nDaedalus\ndaffodil\ndaffy\ndagger\nDahl\ndahlia\nDahomey\nDailey\nDaimler\ndainty\ndairy\nDairylea\ndairyman\ndairymen\ndais\ndaisy\nDakar\nDakota\ndale\nDaley\nDallas\ndally\nDalton\nDaly\nDalzell\ndam\ndamage\nDamascus\ndamask\ndame\ndamming\ndamn\ndamnation\nDamon\ndamp\ndampen\ndamsel\nDan\nDana\nDanbury\ndance\ndandelion\ndandy\nDane\ndang\ndanger\ndangerous\ndangle\nDaniel\nDanielson\nDanish\ndank\nDanny\nDante\nDanube\nDanubian\nDanzig\nDaphne\ndapper\ndapple\nDar\ndare\nDarius\ndark\ndarken\ndarkle\nDarlene\ndarling\ndarn\nDarrell\nd'art\ndart\nDartmouth\nDarwin\nDarwinian\ndash\ndashboard\ndastard\ndata\ndatabase\ndate\ndateline\ndater\nDatsun\ndatum\ndaub\nDaugherty\ndaughter\ndaunt\ndauphin\ndauphine\nDave\ndavenport\nDavid\nDavidson\nDavies\nDavis\nDavison\ndavit\nDavy\ndawn\nDawson\nday\ndaybed\ndaybreak\ndaydream\ndaylight\ndaytime\nDayton\nDaytona\ndaze\ndazzle\nDC\nDe\ndeacon\ndeaconess\ndeactivate\ndead\ndeaden\ndeadhead\ndeadline\ndeadlock\ndeadwood\ndeaf\ndeafen\ndeal\ndeallocate\ndealt\ndean\nDeane\nDeanna\ndear\nDearborn\ndearie\ndearth\ndeath\ndeathbed\ndeathward\ndebacle\ndebar\ndebarring\ndebase\ndebate\ndebater\ndebauch\ndebauchery\nDebbie\nDebby\ndebenture\ndebilitate\ndebility\ndebit\ndebonair\nDeborah\nDebra\ndebrief\ndebris\ndebt\ndebtor\ndebug\ndebugged\ndebugger\ndebugging\ndebunk\nDebussy\ndebut\ndebutante\nDec\ndecade\ndecadent\ndecal\ndecant\ndecathlon\nDecatur\ndecay\nDecca\ndecease\ndecedent\ndeceit\ndeceitful\ndeceive\ndecelerate\nDecember\ndecennial\ndecent\ndeception\ndeceptive\ndecertify\ndecibel\ndecide\ndeciduous\ndecile\ndecimal\ndecipher\ndecision\ndecisional\ndecisive\ndeck\nDecker\ndeclaim\ndeclamation\ndeclamatory\ndeclaration\ndeclarative\ndeclarator\ndeclaratory\ndeclare\ndeclassify\ndeclination\ndecline\ndeclivity\ndecode\ndecolletage\ndecollimate\ndecompile\ndecomposable\ndecompose\ndecomposition\ndecompress\ndecompression\ndecontrol\ndecontrolled\ndecontrolling\ndeconvolution\ndeconvolve\ndecor\ndecorate\ndecorous\ndecorticate\ndecorum\ndecouple\ndecrease\ndecree\ndecreeing\ndecrement\ndecry\ndecrypt\ndecryption\ndedicate\ndeduce\ndeducible\ndeduct\ndeductible\nDee\ndeed\ndeem\ndeep\ndeepen\ndeer\nDeere\ndeerskin\ndeerstalker\ndeface\ndefault\ndefeat\ndefecate\ndefect\ndefend\ndefendant\ndefensible\ndefensive\ndefer\ndeferent\ndeferrable\ndeferred\ndeferring\ndefiant\ndeficient\ndeficit\ndefine\ndefinite\ndefinition\ndefinitive\ndeflate\ndeflater\ndeflect\ndeflector\ndefocus\ndeforest\ndeforestation\ndeform\ndeformation\ndefraud\ndefray\ndefrost\ndeft\ndefunct\ndefy\ndegas\ndegassing\ndegeneracy\ndegenerate\ndegradation\ndegrade\ndegrease\ndegree\ndegum\ndegumming\ndehumidify\ndehydrate\ndeify\ndeign\ndeity\ndeja\ndeject\nDel\nDelaney\nDelano\nDelaware\ndelay\ndelectable\ndelectate\ndelegable\ndelegate\ndelete\ndeleterious\ndeletion\nDelhi\nDelia\ndeliberate\ndelicacy\ndelicate\ndelicatessen\ndelicious\ndelicti\ndelight\ndelightful\nDelilah\ndelimit\ndelimitation\ndelineament\ndelineate\ndelinquent\ndeliquesce\ndeliquescent\ndelirious\ndelirium\ndeliver\ndeliverance\ndelivery\ndell\nDella\nDelmarva\ndelouse\nDelphi\nDelphic\ndelphine\ndelphinium\nDelphinus\ndelta\ndeltoid\ndelude\ndeluge\ndelusion\ndelusive\ndeluxe\ndelve\ndemagnify\ndemagogue\ndemand\ndemarcate\ndemark\ndemean\ndemented\ndemerit\ndemigod\ndemijohn\ndemiscible\ndemise\ndemit\ndemitted\ndemitting\ndemocracy\ndemocrat\ndemocratic\ndemodulate\ndemography\ndemolish\ndemolition\ndemon\ndemoniac\ndemonic\ndemonstrable\ndemonstrate\ndemote\ndemountable\nDempsey\ndemultiplex\ndemur\ndemure\ndemurred\ndemurrer\ndemurring\ndemythologize\nden\ndenature\nDeneb\nDenebola\ndeniable\ndenial\ndenigrate\ndenizen\nDenmark\nDennis\nDenny\ndenominate\ndenotation\ndenotative\ndenote\ndenouement\ndenounce\ndense\ndensitometer\ndensitometric\ndensitometry\ndent\ndental\ndentistry\nDenton\ndenture\ndenudation\ndenude\ndenumerable\ndenunciate\nDenver\ndeny\ndeodorant\ndeoxyribonucleic\ndepart\ndepartment\ndeparture\ndepend\ndependent\ndepict\ndeplete\ndepletion\ndeplore\ndeploy\ndeport\ndeportation\ndeportee\ndepose\ndeposit\ndepositary\ndeposition\ndepositor\ndepository\ndepot\ndeprave\ndeprecate\ndeprecatory\ndepreciable\ndepreciate\ndepress\ndepressant\ndepressed\ndepressible\ndepressing\ndepression\ndepressive\ndepressor\ndeprivation\ndeprive\ndepth\ndeputation\ndepute\ndeputy\nderail\nderange\nderate\nderby\nDerbyshire\ndereference\nderegulate\nDerek\nderelict\nderide\nderision\nderisive\nderivate\nderive\nderogate\nderogatory\nderrick\nderriere\ndervish\nDes\ndescant\nDescartes\ndescend\ndescendant\ndescendent\ndescent\ndescribe\ndescription\ndescriptive\ndescriptor\ndesecrate\ndesecrater\ndesegregate\ndesert\ndeserve\ndesiderata\ndesideratum\ndesign\ndesignate\ndesire\ndesirous\ndesist\ndesk\nDesmond\ndesolate\ndesolater\ndesorption\ndespair\ndesperado\ndesperate\ndespicable\ndespise\ndespite\ndespoil\ndespond\ndespondent\ndespot\ndespotic\ndessert\ndessicate\ndestabilize\ndestinate\ndestine\ndestiny\ndestitute\ndestroy\ndestruct\ndestructor\ndesuetude\ndesultory\ndesynchronize\ndetach\ndetail\ndetain\nd'etat\ndetect\ndetector\ndetent\ndetente\ndetention\ndeter\ndetergent\ndeteriorate\ndeterminant\ndeterminate\ndetermine\ndeterred\ndeterrent\ndeterring\ndetest\ndetestation\ndetonable\ndetonate\ndetour\ndetract\ndetractor\ndetriment\nDetroit\ndeuce\ndeus\ndeuterate\ndeuterium\ndevastate\ndevelop\ndeviant\ndeviate\ndevice\ndevil\ndevilish\ndevious\ndevise\ndevisee\ndevoid\ndevolve\nDevon\nDevonshire\ndevote\ndevotee\ndevotion\ndevour\ndevout\ndew\ndewar\ndewdrop\nDewey\nDewitt\ndewy\ndexter\ndexterity\ndextrous\ndey\nDhabi\ndharma\ndiabase\ndiabetes\ndiabetic\ndiabolic\ndiachronic\ndiacritical\ndiadem\ndiagnosable\ndiagnose\ndiagnoses\ndiagnosis\ndiagnostic\ndiagnostician\ndiagonal\ndiagram\ndiagrammatic\ndial\ndialect\ndialectic\ndialogue\ndialysis\ndiamagnetic\ndiamagnetism\ndiameter\ndiametric\ndiamond\nDiana\nDiane\nDianne\ndiaper\ndiaphanous\ndiaphragm\ndiary\ndiathermy\ndiathesis\ndiatom\ndiatomaceous\ndiatomic\ndiatonic\ndibble\ndice\ndichloride\ndichondra\ndichotomy\ndick\ndickcissel\ndickens\nDickerson\ndickey\nDickinson\nDickson\ndicotyledon\ndicta\ndictate\ndictatorial\ndiction\ndictionary\ndictum\ndid\ndidactic\ndiddle\ndidn't\nDido\ndie\nDiebold\ndied\nDiego\ndiehard\ndieldrin\ndielectric\ndiem\ndiesel\ndiet\ndietary\ndietetic\ndiethylstilbestrol\ndietician\nDietrich\ndiety\nDietz\ndiffer\ndifferent\ndifferentiable\ndifferential\ndifferentiate\ndifficult\ndifficulty\ndiffident\ndiffract\ndiffractometer\ndiffuse\ndiffusible\ndiffusion\ndiffusive\ndifluoride\ndig\ndigest\ndigestible\ndigestion\ndigestive\ndigging\ndigit\ndigital\ndigitalis\ndignify\ndignitary\ndignity\ndigram\ndigress\ndigression\ndihedral\ndilapidate\ndilatation\ndilate\ndilation\ndilatory\ndilemma\ndilettante\ndiligent\ndill\nDillon\ndilogarithm\ndiluent\ndilute\ndilution\ndim\ndime\ndimension\ndimethyl\ndiminish\ndiminution\ndiminutive\ndimming\ndimple\ndin\nDinah\ndine\nding\ndinghy\ndingo\ndingy\ndinnertime\ndinnerware\ndinosaur\ndint\ndiocesan\ndiocese\ndiode\nDionysian\nDionysus\nDiophantine\ndiopter\ndiorama\ndiorite\ndioxide\ndip\ndiphthong\ndiploma\ndiplomacy\ndiplomat\ndiplomatic\ndipole\ndipping\nDirac\ndire\ndirect\ndirector\ndirectorate\ndirectory\ndirectrices\ndirectrix\ndirge\nDirichlet\ndirt\ndirty\nDis\ndisambiguate\ndisastrous\ndisburse\ndisc\ndiscern\ndiscernible\ndisciple\ndisciplinary\ndiscipline\ndiscoid\ndiscomfit\ndiscordant\ndiscovery\ndiscreet\ndiscrepant\ndiscrete\ndiscretion\ndiscretionary\ndiscriminable\ndiscriminant\ndiscriminate\ndiscriminatory\ndiscus\ndiscuss\ndiscussant\ndiscussion\ndisdain\ndisdainful\ndisembowel\ndisgruntle\ndisgustful\ndish\ndishevel\ndishwasher\ndishwater\ndisjunct\ndisk\ndismal\ndismissal\nDisney\nDisneyland\ndisparage\ndisparate\ndispel\ndispelled\ndispelling\ndispensary\ndispensate\ndispense\ndispersal\ndisperse\ndispersible\ndispersion\ndispersive\ndisposable\ndisposal\ndisputant\ndispute\ndisquietude\ndisquisition\ndisrupt\ndisruption\ndisruptive\ndissemble\ndisseminate\ndissension\ndissertation\ndissident\ndissipate\ndissociable\ndissociate\ndissonant\ndissuade\ndistaff\ndistal\ndistant\ndistillate\ndistillery\ndistinct\ndistinguish\ndistort\ndistortion\ndistraught\ndistribution\ndistributive\ndistributor\ndistrict\ndisturb\ndisturbance\ndisulfide\ndisyllable\nditch\ndither\nditto\nditty\ndiurnal\ndiva\ndivalent\ndivan\ndive\ndiverge\ndivergent\ndiverse\ndiversify\ndiversion\ndiversionary\ndivert\ndivest\ndivestiture\ndivide\ndividend\ndivination\ndivine\ndivisible\ndivision\ndivisional\ndivisive\ndivisor\ndivorce\ndivorcee\ndivulge\nDixie\ndixieland\nDixon\ndizzy\nDjakarta\nDNA\nDnieper\ndo\nDobbin\nDobbs\ndoberman\ndobson\ndocile\ndock\ndocket\ndockside\ndockyard\ndoctor\ndoctoral\ndoctorate\ndoctrinaire\ndoctrinal\ndoctrine\ndocument\ndocumentary\ndocumentation\nDOD\nDodd\ndodecahedra\ndodecahedral\ndodecahedron\ndodge\nDodson\ndoe\ndoesn't\nd'oeuvre\ndoff\ndog\ndogbane\ndogberry\nDoge\ndogfish\ndogging\ndoggone\ndoghouse\ndogleg\ndogma\ndogmatic\ndogmatism\ndogtooth\ndogtrot\ndogwood\nDoherty\nDolan\ndolce\ndoldrum\ndole\ndoleful\ndoll\ndollar\ndolly\ndolomite\ndolomitic\nDolores\ndolphin\ndolt\ndoltish\ndomain\ndome\nDomenico\nDomesday\ndomestic\ndomicile\ndominant\ndominate\ndomineer\nDomingo\nDominic\nDominican\nDominick\ndominion\nDominique\ndomino\ndon\nDonahue\nDonald\nDonaldson\ndonate\ndone\nDoneck\ndonkey\nDonna\nDonnelly\nDonner\ndonning\ndonnybrook\ndonor\nDonovan\ndon't\ndoodle\nDooley\nDoolittle\ndoom\ndoomsday\ndoor\ndoorbell\ndoorkeep\ndoorkeeper\ndoorknob\ndoorman\ndoormen\ndoorstep\ndoorway\ndopant\ndope\nDoppler\nDora\nDorado\nDorcas\nDorchester\nDoreen\nDoria\nDoric\nDoris\ndormant\ndormitory\nDorothea\nDorothy\nDorset\ndosage\ndose\ndosimeter\ndossier\nDostoevsky\ndot\ndote\ndotting\ndouble\nDoubleday\ndoubleheader\ndoublet\ndoubleton\ndoubloon\ndoubt\ndoubtful\ndouce\nDoug\ndough\nDougherty\ndoughnut\nDouglas\nDouglass\ndour\ndouse\ndove\ndovekie\ndovetail\nDow\ndowager\ndowel\ndowitcher\nDowling\ndown\ndownbeat\ndowncast\ndowndraft\nDowney\ndownfall\ndowngrade\ndownhill\nDowning\ndownplay\ndownpour\ndownright\nDowns\ndownside\ndownslope\ndownspout\ndownstairs\ndownstream\ndowntown\ndowntrend\ndowntrodden\ndownturn\ndownward\ndownwind\ndowry\nDoyle\ndoze\ndozen\nDr\ndrab\nDraco\ndraft\ndraftee\ndraftsman\ndraftsmen\ndraftsperson\ndrafty\ndrag\ndragging\ndragnet\ndragon\ndragonfly\ndragonhead\ndragoon\ndrain\ndrainage\ndrake\ndram\ndrama\ndramatic\ndramatist\ndramaturgy\ndrank\ndrape\ndrapery\ndrastic\ndraw\ndrawback\ndrawbridge\ndrawl\ndrawn\ndread\ndreadful\ndreadnought\ndream\ndreamboat\ndreamlike\ndreamt\ndreamy\ndreary\ndredge\ndreg\ndrench\ndress\ndressmake\ndressy\ndrew\nDrexel\nDreyfuss\ndrib\ndribble\ndried\ndrier\ndrift\ndrill\ndrink\ndrip\ndripping\ndrippy\nDriscoll\ndrive\ndriven\ndriveway\ndrizzle\ndrizzly\ndroll\ndromedary\ndrone\ndrool\ndroop\ndroopy\ndrop\ndrophead\ndroplet\ndropout\ndropping\ndrosophila\ndross\ndrought\ndrove\ndrown\ndrowse\ndrowsy\ndrub\ndrubbing\ndrudge\ndrudgery\ndrug\ndrugging\ndrugstore\ndruid\ndrum\ndrumhead\ndrumlin\ndrumming\nDrummond\ndrunk\ndrunkard\ndrunken\nDrury\ndry\ndryad\nDryden\nd's\ndu\ndual\ndualism\nDuane\ndub\nDubhe\ndubious\ndubitable\nDublin\nducat\nduchess\nduck\nduckling\nduct\nductile\nductwork\ndud\nDudley\ndue\nduel\nduet\nduff\nduffel\nDuffy\ndug\nDugan\ndugout\nduke\ndulcet\ndull\ndully\ndulse\nDuluth\nduly\nDuma\ndumb\ndumbbell\ndummy\ndump\nDumpty\ndumpy\ndun\nDunbar\nDuncan\ndunce\ndune\nDunedin\ndung\ndungeon\nDunham\ndunk\nDunkirk\nDunlap\nDunlop\nDunn\nduopolist\nduopoly\ndupe\nduplex\nduplicable\nduplicate\nduplicity\nDuPont\ndurable\nDurango\nduration\nDurer\nduress\nDurham\nduring\nDurkee\nDurkin\nDurrell\nDurward\nDusenberg\nDusenbury\ndusk\ndusky\nDusseldorf\ndust\ndustbin\ndusty\nDutch\ndutchess\nDutchman\nDutchmen\ndutiable\ndutiful\nDutton\nduty\ndwarf\ndwarves\ndwell\ndwelt\nDwight\ndwindle\nDwyer\ndyad\ndyadic\ndye\ndyer\ndying\nDyke\nDylan\ndynamic\ndynamism\ndynamite\ndynamo\ndynast\ndynastic\ndynasty\ndyne\ndysentery\ndyspeptic\ndysplasia\ndysprosium\ndystrophy\ne\neach\nEagan\neager\neagle\near\neardrum\nearl\nearmark\nearn\nearnest\nearphone\nearring\nearsplitting\nearth\nearthen\nearthenware\nearthmen\nearthmover\nearthmoving\nearthquake\nearthworm\nearthy\nearwig\nease\neasel\neast\neastbound\neastern\neasternmost\nEastland\nEastman\neastward\nEastwood\neasy\neasygoing\neat\neaten\neater\nEaton\neave\neavesdrop\neavesdropping\nebb\nEben\nebony\nebullient\neccentric\nEccles\necclesiastic\nechelon\nechinoderm\necho\nechoes\neclat\neclectic\neclipse\necliptic\neclogue\nEcole\necology\neconometric\nEconometrica\neconomic\neconomist\neconomy\necosystem\necstasy\necstatic\nEcuador\necumenic\necumenist\nEd\nEddie\neddy\nedelweiss\nedematous\nEden\nEdgar\nedge\nEdgerton\nedgewise\nedging\nedgy\nedible\nedict\nedifice\nedify\nEdinburgh\nEdison\nedit\nEdith\nedition\neditor\neditorial\nEdmonds\nEdmondson\nEdmonton\nEdmund\nEdna\nEDT\neducable\neducate\nEdward\nEdwardian\nEdwards\nEdwin\nEdwina\neel\neelgrass\nEEOC\ne'er\neerie\neerily\nefface\neffaceable\neffect\neffectual\neffectuate\neffeminate\nefferent\neffete\nefficacious\nefficacy\nefficient\nEffie\neffloresce\nefflorescent\neffluent\neffluvia\neffluvium\neffort\neffusive\neft\negalitarian\nEgan\negg\negghead\neggplant\neggshell\nego\negocentric\negotism\negotist\negregious\negress\negret\nEgypt\nEgyptian\neh\nEhrlich\neider\neidetic\neigenfunction\neigenstate\neigenvalue\neigenvector\neight\neighteen\neighteenth\neightfold\neighth\neightieth\neighty\nEileen\nEinstein\nEinsteinian\neinsteinium\nEire\nEisenhower\nEisner\neither\nejaculate\neject\nejector\neke\nEkstrom\nEktachrome\nel\nelaborate\nElaine\nelan\nelapse\nelastic\nelastomer\nelate\nElba\nelbow\nelder\neldest\nEldon\nEleanor\nEleazar\nelect\nelector\nelectoral\nelectorate\nElectra\nelectress\nelectret\nelectric\nelectrician\nelectrify\nelectro\nelectrocardiogram\nelectrocardiograph\nelectrode\nelectroencephalogram\nelectroencephalograph\nelectroencephalography\nelectrolysis\nelectrolyte\nelectrolytic\nelectron\nelectronic\nelectrophoresis\nelectrophorus\nelegant\nelegiac\nelegy\nelement\nelementary\nElena\nelephant\nelephantine\nelevate\neleven\neleventh\nelfin\nElgin\nEli\nelicit\nelide\neligible\nElijah\neliminate\nElinor\nEliot\nElisabeth\nElisha\nelision\nelite\nElizabeth\nElizabethan\nelk\nElkhart\nell\nElla\nEllen\nElliott\nellipse\nellipsis\nellipsoid\nellipsoidal\nellipsometer\nellipsometry\nelliptic\nEllis\nEllison\nEllsworth\nEllwood\nelm\nElmer\nElmhurst\nElmira\nElmsford\nEloise\nelongate\nelope\neloquent\nelse\nElsevier\nelsewhere\nElsie\nElsinore\nElton\neluate\nelucidate\nelude\nelusive\nelute\nelution\nelves\nEly\nElysee\nelysian\nem\nemaciate\nemanate\nemancipate\nEmanuel\nemasculate\nembalm\nembank\nembarcadero\nembargo\nembargoes\nembark\nembarrass\nembassy\nembattle\nembed\nembedded\nembedder\nembedding\nembellish\nember\nembezzle\nemblematic\nembodiment\nembody\nembolden\nemboss\nembouchure\nembower\nembrace\nembraceable\nembrittle\nembroider\nembroidery\nembroil\nembryo\nembryonic\nemcee\nemendable\nemerald\nemerge\nemergent\nemeritus\nEmerson\nEmery\nemigrant\nemigrate\nEmil\nEmile\nEmilio\nEmily\neminent\nemirate\nemissary\nemission\nemissivity\nemit\nemittance\nemitted\nemitter\nemitting\nemma\nEmmanuel\nEmmett\nemolument\nEmory\nemotion\nemotional\nempathy\nemperor\nemphases\nemphasis\nemphatic\nemphysema\nemphysematous\nempire\nempiric\nemplace\nemploy\nemployed\nemployee\nemployer\nemploying\nemporium\nempower\nempress\nempty\nemulate\nemulsify\nemulsion\nen\nenact\nenamel\nencamp\nencapsulate\nencase\nencephalitis\nenchain\nenchant\nenchantress\nencipher\nencircle\nenclave\nenclose\nenclosure\nencode\nencomia\nencomium\nencompass\nencore\nencounter\nencourage\nencroach\nencrust\nencrypt\nencryption\nencumber\nencumbrance\nencyclical\nencyclopedic\nend\nendanger\nendear\nendgame\nEndicott\nendogamous\nendogamy\nendogenous\nendorse\nendosperm\nendothelial\nendothermic\nendow\nendpoint\nendurance\nendure\nenemy\nenergetic\nenergy\nenervate\nenfant\nenfeeble\nEnfield\nenforce\nenforceable\nenforcible\nenfranchise\nEng\nengage\nEngel\nengender\nengine\nengineer\nEngland\nEnglander\nEngle\nEnglewood\nEnglish\nEnglishman\nEnglishmen\nengrave\nengross\nengulf\nenhance\nEnid\nenigma\nenigmatic\nenjoin\nenjoinder\nenjoy\nenlarge\nenlargeable\nenlighten\nenlist\nenliven\nenmesh\nenmity\nEnoch\nenormity\nenormous\nEnos\nenough\nenquire\nenquiry\nenrage\nenrapture\nenrich\nEnrico\nenroll\nenrollee\nensconce\nensemble\nenshroud\nensign\nenslave\nensnare\nenstatite\nensue\nensure\nentail\nentangle\nentendre\nenter\nenterprise\nentertain\nenthalpy\nenthrall\nenthrone\nenthusiasm\nenthusiast\nenthusiastic\nentice\nentire\nentirety\nentitle\nentity\nentomb\nentomology\nentourage\nentrain\nentrance\nentranceway\nentrant\nentrap\nentrapping\nentreat\nentreaty\nentree\nentrench\nentrepreneur\nentrepreneurial\nentropy\nentrust\nentry\nentwine\nenumerable\nenumerate\nenunciable\nenunciate\nenvelop\nenvelope\nenvenom\nenviable\nenvious\nenviron\nenvisage\nenvision\nenvoy\nenvy\nenzymatic\nenzyme\nenzymology\nEocene\neohippus\neosine\nEPA\nepaulet\nephemeral\nephemerides\nephemeris\nEphesian\nEphesus\nEphraim\nepic\nepicure\nEpicurean\nepicycle\nepicyclic\nepidemic\nepidemiology\nepidermic\nepidermis\nepigenetic\nepigram\nepigrammatic\nepigraph\nepileptic\nepilogue\nEpiphany\nepiphyseal\nepiphysis\nepiscopal\nEpiscopalian\nepiscopate\nepisode\nepistemology\nepistle\nepistolatory\nepitaph\nepitaxial\nepitaxy\nepithelial\nepithelium\nepithet\nepitome\nepoch\nepoxy\nepsilon\nEpsom\nEpstein\nequable\nequal\nequanimity\nequate\nequatorial\nequestrian\nequidistant\nequilateral\nequilibrate\nequilibria\nequilibrium\nequine\nequinoctial\nequinox\nequip\nequipoise\nequipotent\nequipped\nequipping\nequitable\nequitation\nequity\nequivalent\nequivocal\nera\neradicable\neradicate\nerasable\nerase\nErasmus\nErastus\nerasure\nErato\nEratosthenes\nerbium\nERDA\nere\nerect\nerg\nergodic\nEric\nErich\nErickson\nEricsson\nErie\nErlenmeyer\nErnest\nErnestine\nErnie\nErnst\nerode\nerodible\nEros\nerosible\nerosion\nerosive\nerotic\nerotica\nerr\nerrancy\nerrand\nerrant\nerrantry\nerrata\nerratic\nerratum\nErrol\nerroneous\nerror\nersatz\nErskine\nerudite\nerudition\nerupt\neruption\nErvin\nErwin\ne's\nescadrille\nescalate\nescapade\nescape\nescapee\nescheat\neschew\nescort\nescritoire\nescrow\nescutcheon\nEskimo\nEsmark\nesophagi\nesoteric\nespecial\nespionage\nesplanade\nEsposito\nespousal\nespouse\nesprit\nesquire\nessay\nEssen\nessence\nessential\nEssex\nEST\nestablish\nestate\nesteem\nEstella\nester\nEstes\nEsther\nestimable\nestimate\nestop\nestoppal\nestrange\nestuarine\nestuary\net\neta\netc\netch\neternal\neternity\nEthan\nethane\nethanol\nEthel\nether\nethereal\nethic\nEthiopia\nethnic\nethnography\nethnology\nethology\nethos\nethyl\nethylene\netiology\netiquette\nEtruscan\netude\netymology\neucalyptus\nEucharist\nEuclid\nEuclidean\neucre\nEugene\nEugenia\neugenic\nEuler\nEulerian\neulogy\nEumenides\nEunice\neuphemism\neuphemist\neuphorbia\neuphoria\neuphoric\nEuphrates\nEurasia\neureka\nEuridyce\nEuripides\nEuropa\nEurope\nEuropean\neuropium\nEurydice\neutectic\nEuterpe\neuthanasia\nEva\nevacuate\nevade\nevaluable\nevaluate\nevanescent\nevangel\nevangelic\nEvans\nEvanston\nEvansville\nevaporate\nevasion\nevasive\neve\nEvelyn\neven\nevenhanded\nevensong\nevent\neventful\neventide\neventual\neventuate\nEveready\nEverett\nEverglades\nevergreen\nEverhart\neverlasting\nevery\neverybody\neveryday\neveryman\neveryone\neverything\neverywhere\nevict\nevident\nevidential\nevil\nevildoer\nevince\nevocable\nevocate\nevoke\nevolution\nevolutionary\nevolve\nevzone\newe\nEwing\nexacerbate\nexact\nexaggerate\nexalt\nexaltation\nexam\nexamination\nexamine\nexample\nexasperate\nexasperater\nexcavate\nexceed\nexcel\nexcelled\nexcellent\nexcelling\nexcelsior\nexcept\nexception\nexceptional\nexcerpt\nexcess\nexcessive\nexchange\nexchangeable\nexchequer\nexcisable\nexcise\nexcision\nexcitation\nexcitatory\nexcite\nexciton\nexclaim\nexclamation\nexclamatory\nexclude\nexclusion\nexclusionary\nexclusive\nexcommunicate\nexcoriate\nexcrescent\nexcresence\nexcrete\nexcretion\nexcretory\nexcruciate\nexculpatory\nexcursion\nexcursus\nexcusable\nexcuse\nexecrable\nexecrate\nexecute\nexecution\nexecutive\nexecutor\nexecutrix\nexegesis\nexegete\nexemplar\nexemplary\nexemplify\nexempt\nexemption\nexercisable\nexercise\nexert\nExeter\nexhale\nexhaust\nexhaustible\nexhaustion\nexhaustive\nexhibit\nexhibition\nexhibitor\nexhilarate\nexhort\nexhortation\nexhumation\nexhume\nexigent\nexile\nexist\nexistent\nexistential\nexit\nexodus\nexogamous\nexogamy\nexogenous\nexonerate\nexorbitant\nexorcise\nexorcism\nexorcist\nexoskeleton\nexothermic\nexotic\nexotica\nexpand\nexpanse\nexpansible\nexpansion\nexpansive\nexpatiate\nexpect\nexpectant\nexpectation\nexpectorant\nexpectorate\nexpedient\nexpedite\nexpedition\nexpeditious\nexpel\nexpellable\nexpelled\nexpelling\nexpend\nexpenditure\nexpense\nexpensive\nexperience\nexperiential\nexperiment\nexperimentation\nexpert\nexpertise\nexpiable\nexpiate\nexpiration\nexpire\nexplain\nexplanation\nexplanatory\nexpletive\nexplicable\nexplicate\nexplicit\nexplode\nexploit\nexploitation\nexploration\nexploratory\nexplore\nexplosion\nexplosive\nexponent\nexponential\nexponentiate\nexport\nexportation\nexpose\nexposit\nexposition\nexpositor\nexpository\nexposure\nexpound\nexpress\nexpressible\nexpression\nexpressive\nexpressway\nexpropriate\nexpulsion\nexpunge\nexpurgate\nexquisite\nextant\nextemporaneous\nextempore\nextend\nextendible\nextensible\nextension\nextensive\nextensor\nextent\nextenuate\nexterior\nexterminate\nexternal\nextinct\nextinguish\nextirpate\nextol\nextolled\nextoller\nextolling\nextort\nextra\nextracellular\nextract\nextractor\nextraditable\nextralegal\nextramarital\nextraneous\nextraordinary\nextrapolate\nextraterrestrial\nextravagant\nextravaganza\nextrema\nextremal\nextreme\nextremum\nextricable\nextricate\nextrinsic\nextroversion\nextrovert\nextrude\nextrusion\nextrusive\nexuberant\nexudation\nexude\nexult\nexultant\nexultation\nExxon\neye\neyeball\neyebright\neyebrow\neyed\neyeful\neyeglass\neyelash\neyelet\neyelid\neyepiece\neyesight\neyewitness\nEzekiel\nEzra\nf\nFAA\nFaber\nFabian\nfable\nfabric\nfabricate\nfabulous\nfacade\nface\nfaceplate\nfacet\nfacetious\nfacial\nfacile\nfacilitate\nfacsimile\nfact\nfactious\nfacto\nfactor\nfactorial\nfactory\nfactual\nfaculty\nfad\nfade\nfadeout\nfaery\nFafnir\nfag\nFahey\nFahrenheit\nfail\nfailsoft\nfailure\nfain\nfaint\nfair\nFairchild\nFairfax\nFairfield\nfairgoer\nFairport\nfairway\nfairy\nfaith\nfaithful\nfake\nfalcon\nfalconry\nfall\nfallacious\nfallacy\nfallen\nfallible\nfalloff\nfallout\nfallow\nFalmouth\nfalse\nfalsehood\nfalsify\nFalstaff\nfalter\nfame\nfamilial\nfamiliar\nfamiliarly\nfamilism\nfamily\nfamine\nfamish\nfamous\nfan\nfanatic\nfanciful\nfancy\nfanfare\nfanfold\nfang\nfangled\nfanning\nFanny\nfanout\nfantasia\nfantasist\nfantastic\nfantasy\nfantod\nfar\nfarad\nFaraday\nFarber\nfarce\nfarcical\nfare\nfarewell\nfarfetched\nFargo\nfarina\nFarkas\nFarley\nfarm\nfarmhouse\nFarmington\nfarmland\nFarnsworth\nfaro\nFarrell\nfarsighted\nfarther\nfarthest\nfascicle\nfasciculate\nfascinate\nfascism\nfascist\nfashion\nfast\nfasten\nfastidious\nfat\nfatal\nfate\nfateful\nfather\nfathom\nfatigue\nFatima\nfatten\nfatty\nfatuous\nfaucet\nFaulkner\nfault\nfaulty\nfaun\nfauna\nFaust\nFaustian\nFaustus\nfawn\nfay\nFayette\nFayetteville\nfaze\nFBI\nFCC\nFDA\nFe\nfealty\nfear\nfearful\nfearsome\nfeasible\nfeast\nfeat\nfeather\nfeatherbed\nfeatherbedding\nfeatherbrain\nfeathertop\nfeatherweight\nfeathery\nfeature\nFeb\nfebrile\nFebruary\nfecund\nfed\nFedders\nfederal\nfederate\nFedora\nfee\nfeeble\nfeed\nfeedback\nfeel\nFeeney\nfeet\nfeign\nfeint\nFeldman\nfeldspar\nFelice\nFelicia\nfelicitous\nfelicity\nfeline\nFelix\nfell\nfellow\nfelon\nfelonious\nfelony\nfelsite\nfelt\nfemale\nfeminine\nfeminism\nfeminist\nfemur\nfence\nfencepost\nfend\nfennel\nFenton\nfenugreek\nFerber\nFerdinand\nFerguson\nFermat\nferment\nfermentation\nFermi\nfermion\nfermium\nfern\nFernando\nfernery\nferocious\nferocity\nFerrer\nferret\nferric\nferris\nferrite\nferroelectric\nferromagnet\nferromagnetic\nferromagnetism\nferrous\nferruginous\nferrule\nferry\nfertile\nfervent\nfescue\nfest\nfestival\nfestive\nfetal\nfetch\nfete\nfetid\nfetish\nfetter\nfettle\nfetus\nfeud\nfeudal\nfeudatory\nfever\nfeverish\nfew\nfiance\nfiancee\nfiasco\nfiat\nfib\nfibbing\nfiberboard\nFiberglas\nFibonacci\nfibrin\nfibrosis\nfibrous\nfiche\nfickle\nfiction\nfictitious\nfictive\nfiddle\nfiddlestick\nfide\nfidelity\nfidget\nfiducial\nfief\nfiefdom\nfield\nFields\nfieldstone\nfieldwork\nfiend\nfiendish\nfierce\nfiery\nfiesta\nfife\nFIFO\nfifteen\nfifteenth\nfifth\nfiftieth\nfifty\nfig\nfigaro\nfight\nfigural\nfigurate\nfigure\nfigurine\nfilament\nfilamentary\nfilbert\nfilch\nfile\nfilet\nfilial\nfilibuster\nfiligree\nFilipino\nfill\nfilled\nfiller\nfillet\nfillip\nfilly\nfilm\nfilmdom\nfilmmake\nfilmstrip\nfilmy\nfilter\nfilth\nfilthy\nfiltrate\nfin\nfinal\nfinale\nfinance\nfinancial\nfinancier\nfinch\nfind\nfine\nfinesse\nfinessed\nfinessing\nfinger\nfingernail\nfingerprint\nfingertip\nfinial\nfinicky\nfinish\nfinite\nfink\nFinland\nFinley\nFinn\nFinnegan\nFinnish\nfinny\nfir\nfire\nfirearm\nfireboat\nfirebreak\nfirebug\nfirecracker\nfirefly\nfirehouse\nfirelight\nfireman\nfiremen\nfireplace\nfirepower\nfireproof\nfireside\nFirestone\nfirewall\nfirewood\nfirework\nfirm\nfirst\nfirsthand\nfiscal\nFischbein\nFischer\nfish\nfisherman\nfishermen\nfishery\nfishmonger\nfishpond\nfishy\nFisk\nFiske\nfissile\nfission\nfissure\nfist\nfisticuff\nfit\nFitch\nFitchburg\nfitful\nfitting\nFitzgerald\nFitzpatrick\nFitzroy\nfive\nfivefold\nfix\nfixate\nfixture\nFizeau\nfizzle\nfjord\nflabbergast\nflack\nflag\nflagellate\nflageolet\nflagging\nFlagler\nflagpole\nflagrant\nFlagstaff\nflagstone\nflail\nflair\nflak\nflake\nflaky\nflam\nflamboyant\nflame\nflamingo\nflammable\nFlanagan\nFlanders\nflange\nflank\nflannel\nflap\nflapping\nflare\nflash\nflashback\nflashlight\nflashy\nflask\nflat\nflatbed\nflathead\nflatiron\nflatland\nflatten\nflattery\nflatulent\nflatus\nflatworm\nflaunt\nflautist\nflaw\nflax\nflaxen\nflaxseed\nflea\nfleabane\nfleawort\nfleck\nfled\nfledge\nfledgling\nflee\nfleece\nfleeing\nfleet\nFleming\nflemish\nflesh\nfleshy\nfletch\nFletcher\nflew\nflex\nflexible\nflexural\nflexure\nflick\nflier\nflight\nflimsy\nflinch\nfling\nflint\nflintlock\nflinty\nflip\nflipflop\nflippant\nflipping\nflirt\nflirtation\nflirtatious\nflit\nflitting\nFlo\nfloat\nfloc\nflocculate\nflock\nfloe\nflog\nflogging\nflood\nfloodgate\nfloodlight\nfloodlit\nfloor\nfloorboard\nflop\nflopping\nfloppy\nflora\nfloral\nFlorence\nFlorentine\nflorican\nflorid\nFlorida\nFloridian\nflorin\nflorist\nflotation\nflotilla\nflounce\nflounder\nflour\nflourish\nfloury\nflout\nflow\nflowchart\nflowerpot\nflowery\nflown\nFloyd\nflu\nflub\nflubbing\nfluctuate\nflue\nfluency\nfluent\nfluff\nfluffy\nfluid\nfluke\nflung\nfluoresce\nfluorescein\nfluorescent\nfluoridate\nfluoride\nfluorine\nfluorite\nfluorocarbon\nfluorspar\nflurry\nflush\nfluster\nflute\nflutter\nflux\nfly\nflycatcher\nflyer\nFlynn\nflyway\nFM\nFMC\nfoal\nfoam\nfoamflower\nfoamy\nfob\nfobbing\nfocal\nfoci\nfocus\nfocussed\nfodder\nfoe\nfog\nfogging\nfoggy\nfogy\nfoible\nfoil\nfoist\nfold\nfoldout\nFoley\nfoliage\nfoliate\nfolio\nfolk\nfolklore\nfolksong\nfolksy\nfollicle\nfollicular\nfollow\nfolloweth\nfolly\nFomalhaut\nfond\nfondle\nfondly\nfont\nFontaine\nFontainebleau\nfood\nfoodstuff\nfool\nfoolhardy\nfoolish\nfoolproof\nfoot\nfootage\nfootball\nfootbridge\nFoote\nfootfall\nfoothill\nfootman\nfootmen\nfootnote\nfootpad\nfootpath\nfootprint\nfootstep\nfootstool\nfootwear\nfootwork\nfop\nfoppish\nfor\nforage\nforay\nforbade\nforbear\nforbearance\nForbes\nforbid\nforbidden\nforbidding\nforbore\nforborne\nforce\nforceful\nforcible\nford\nFordham\nfore\nforeign\nforensic\nforest\nforestry\nforever\nforfeit\nforfeiture\nforfend\nforgave\nforge\nforgery\nforget\nforgetful\nforgettable\nforgetting\nforgive\nforgiven\nforgot\nforgotten\nfork\nforklift\nforlorn\nform\nformal\nformaldehyde\nformant\nformat\nformate\nformatting\nformic\nFormica\nformidable\nFormosa\nformula\nformulae\nformulaic\nformulate\nForrest\nforsake\nforsaken\nforsook\nforswear\nForsythe\nfort\nforte\nFortescue\nforth\nforthcome\nforthright\nforthwith\nfortieth\nfortify\nfortin\nfortiori\nfortitude\nfortnight\nFortran\nfortress\nfortunate\nfortune\nforty\nforum\nforward\nFoss\nfossil\nfossiliferous\nfoster\nfosterite\nfought\nfoul\nfoulmouth\nfound\nfoundation\nfoundling\nfoundry\nfount\nfountain\nfountainhead\nfour\nfourfold\nFourier\nfoursome\nfoursquare\nfourteen\nfourteenth\nfourth\nfovea\nfowl\nfox\nfoxglove\nFoxhall\nfoxhole\nfoxhound\nfoxtail\nfoxy\nfoyer\nFPC\nfraction\nfractionate\nfractious\nfracture\nfragile\nfragment\nfragmentary\nfragmentation\nfragrant\nfrail\nfrailty\nframbesia\nframe\nframework\nfranc\nfranca\nFrance\nFrances\nfranchise\nFrancis\nFranciscan\nFrancisco\nfrancium\nfranco\nfrangipani\nfrank\nFrankfort\nFrankfurt\nfrankfurter\nfranklin\nfrantic\nFranz\nFraser\nfraternal\nfraternity\nFrau\nfraud\nfraudulent\nfraught\nfray\nfrayed\nFrazier\nfrazzle\nfreak\nfreakish\nfreckle\nFred\nFreddie\nFreddy\nFrederic\nFrederick\nFredericks\nFredericksburg\nFredericton\nFredholm\nFredrickson\nfree\nfreeboot\nfreed\nFreedman\nfreedmen\nfreedom\nfreehand\nfreehold\nfreeing\nfreeman\nfreemen\nFreeport\nfreer\nfreest\nfreestone\nfreethink\nFreetown\nfreeway\nfreewheel\nfreeze\nfreight\nFrench\nFrenchman\nFrenchmen\nfrenetic\nfrenzy\nfreon\nfrequent\nfresco\nfrescoes\nfresh\nfreshen\nfreshman\nfreshmen\nfreshwater\nFresnel\nFresno\nfret\nfretting\nFreud\nFreudian\nFrey\nFreya\nfriable\nfriar\nfricative\nFrick\nfriction\nfrictional\nFriday\nfried\nFriedman\nfriend\nfrieze\nfrigate\nFrigga\nfright\nfrighten\nfrightful\nfrigid\nFrigidaire\nfrill\nfrilly\nfringe\nfrisky\nfritillary\nfritter\nFritz\nfrivolity\nfrivolous\nfrizzle\nfro\nfrock\nfrog\nfrolic\nfrom\nfront\nfrontage\nfrontal\nfrontier\nfrontiersman\nfrontiersmen\nfrost\nfrostbite\nfrostbitten\nfrosty\nfroth\nfrothy\nfrown\nfrowzy\nfroze\nfrozen\nFruehauf\nfrugal\nfruit\nfruitful\nfruition\nfrustrate\nfrustrater\nfrustum\nfry\nFrye\nf's\nFTC\nFuchs\nFuchsia\nfudge\nfuel\nfugal\nfugitive\nfugue\nFuji\nFujitsu\nfulcrum\nfulfill\nfull\nfullback\nFullerton\nfully\nfulminate\nfulsome\nFulton\nfum\nfumble\nfume\nfumigant\nfumigate\nfun\nfunction\nfunctionary\nfunctor\nfund\nfundamental\nfuneral\nfunereal\nfungal\nfungi\nfungible\nfungicide\nfungoid\nfungus\nfunk\nfunnel\nfunny\nfur\nfurbish\nfurious\nfurl\nfurlong\nfurlough\nFurman\nfurnace\nfurnish\nfurniture\nfurrier\nfurring\nfurrow\nfurry\nfurther\nfurthermore\nfurthermost\nfurthest\nfurtive\nfury\nfurze\nfuse\nfuselage\nfusible\nfusiform\nfusillade\nfusion\nfuss\nfussy\nfusty\nfutile\nfuture\nfuzz\nfuzzy\ng\ngab\ngabardine\ngabbing\ngabble\ngabbro\nGaberones\ngable\nGabon\nGabriel\nGabrielle\ngad\ngadding\ngadfly\ngadget\ngadgetry\ngadolinium\ngadwall\nGaelic\ngaff\ngaffe\ngag\ngage\ngagging\ngaggle\ngagwriter\ngaiety\nGail\ngaillardia\ngain\nGaines\nGainesville\ngainful\ngait\nGaithersburg\ngal\ngala\ngalactic\nGalapagos\nGalatea\nGalatia\ngalaxy\nGalbreath\ngale\nGalen\ngalena\ngalenite\nGalilee\ngall\nGallagher\ngallant\ngallantry\ngallberry\ngallery\ngalley\ngallinule\ngallium\ngallivant\ngallon\ngallonage\ngallop\nGalloway\ngallows\ngallstone\nGallup\ngallus\nGalois\nGalt\ngalvanic\ngalvanism\ngalvanometer\nGalveston\nGalway\ngam\nGambia\ngambit\ngamble\ngambol\ngame\ngamecock\ngamin\ngamma\ngamut\ngander\ngang\nGanges\ngangland\ngangling\nganglion\ngangplank\ngangster\ngangway\ngannet\nGannett\ngantlet\ngantry\nGanymede\nGAO\ngap\ngape\ngar\ngarage\ngarb\ngarbage\ngarble\nGarcia\ngarden\ngardenia\nGardner\nGarfield\ngargantuan\ngargle\nGaribaldi\ngarish\ngarland\ngarlic\ngarner\ngarnet\nGarrett\ngarrison\nGarrisonian\ngarrulous\nGarry\ngarter\nGarth\nGarvey\nGary\ngas\nGascony\ngaseous\ngash\ngasify\ngasket\ngaslight\ngasoline\ngasp\nGaspee\ngassing\ngassy\nGaston\ngastrointestinal\ngastronome\ngastronomy\ngate\nGates\ngateway\ngather\nGatlinburg\ngator\ngauche\ngaucherie\ngaudy\ngauge\ngaugeable\nGauguin\nGaul\ngauleiter\nGaulle\ngaunt\ngauntlet\ngaur\ngauss\nGaussian\ngauze\ngave\ngavel\nGavin\ngavotte\ngawk\ngawky\ngay\nGaylord\ngaze\ngazelle\ngazette\nGE\ngear\ngecko\ngee\ngeese\nGegenschein\nGeiger\nGeigy\ngeisha\ngel\ngelable\ngelatin\ngelatine\ngelatinous\ngeld\ngem\nGemini\ngemlike\nGemma\ngender\ngene\ngenealogy\ngenera\ngeneral\ngenerate\ngeneric\ngenerosity\ngenerous\nGenesco\ngenesis\ngenetic\nGeneva\nGenevieve\ngenial\ngenie\ngenii\ngenius\nGenoa\ngenotype\ngenre\ngent\ngenteel\ngentian\ngentile\ngentility\ngentle\ngentleman\ngentlemen\ngentry\ngenuine\ngenus\ngeocentric\ngeochemical\ngeochemistry\ngeochronology\ngeodesic\ngeodesy\ngeodetic\ngeoduck\nGeoffrey\ngeographer\ngeography\ngeology\ngeometer\ngeometric\ngeometrician\ngeometry\ngeophysical\ngeophysics\ngeopolitic\nGeorge\nGeorgetown\nGeorgia\nGerald\nGeraldine\ngeranium\nGerard\nGerber\ngerbil\nGerhard\nGerhardt\ngeriatric\ngerm\nGerman\ngermane\nGermanic\ngermanium\nGermantown\nGermany\ngermicidal\ngermicide\ngerminal\ngerminate\nGerry\nGershwin\nGertrude\ngerund\ngerundial\ngerundive\ngestalt\nGestapo\ngesticulate\ngesture\nget\ngetaway\ngetting\nGetty\nGettysburg\ngeyser\nGhana\nghastly\nGhent\ngherkin\nghetto\nghost\nghostlike\nghostly\nghoul\nghoulish\nGiacomo\ngiant\ngiantess\ngibberish\ngibbet\ngibbon\nGibbons\ngibbous\nGibbs\ngibby\ngibe\ngiblet\nGibraltar\nGibson\ngiddap\ngiddy\nGideon\nGifford\ngift\ngig\ngigacycle\ngigahertz\ngigantic\ngigavolt\ngigawatt\ngigging\ngiggle\nGil\ngila\ngilbert\nGilbertson\nGilchrist\ngild\nGilead\nGiles\ngill\nGillespie\nGillette\nGilligan\nGilmore\ngilt\ngimbal\nGimbel\ngimpy\ngin\nGina\nginger\ngingham\ngingko\nginkgo\nginmill\nGinn\nginning\nGino\nGinsberg\nGinsburg\nginseng\nGiovanni\ngiraffe\ngird\ngirdle\ngirl\ngirlie\ngirlish\ngirth\ngist\nGiuliano\nGiuseppe\ngive\ngiveaway\ngiven\ngiveth\nglacial\nglaciate\nglacier\nglacis\nglad\ngladden\ngladdy\nglade\ngladiator\ngladiolus\nGladstone\nGladys\nglamor\nglamorous\nglamour\nglance\ngland\nglandular\nglare\nGlasgow\nglass\nglassine\nglassware\nglasswort\nglassy\nGlaswegian\nglaucoma\nglaucous\nglaze\ngleam\nglean\nGleason\nglee\ngleeful\nglen\nGlenda\nGlendale\nGlenn\nglib\nGlidden\nglide\nglimmer\nglimpse\nglint\nglissade\nglisten\nglitch\nglitter\ngloat\nglob\nglobal\nglobe\nglobular\nglobule\nglobulin\nglom\nglomerular\ngloom\ngloomy\nGloria\nGloriana\nglorify\nglorious\nglory\ngloss\nglossary\nglossed\nglossolalia\nglossy\nglottal\nglottis\nGloucester\nglove\nglow\nglue\nglued\ngluey\ngluing\nglum\nglut\nglutamic\nglutinous\nglutting\nglutton\nglyceride\nglycerin\nglycerinate\nglycerine\nglycerol\nglycol\nglyph\nGM\nGMT\ngnarl\ngnash\ngnat\ngnaw\ngneiss\ngnome\ngnomon\ngnomonic\ngnostic\nGNP\ngnu\ngo\nGoa\ngoad\ngoal\ngoat\ngob\ngobble\ngobbledygook\ngoblet\ngod\nGoddard\ngoddess\ngodfather\nGodfrey\ngodhead\ngodkin\ngodlike\ngodmother\ngodparent\ngodsend\ngodson\nGodwin\ngodwit\ngoer\ngoes\nGoethe\nGoff\ngog\ngoggle\nGogh\ngogo\ngold\nGoldberg\ngolden\ngoldeneye\ngoldenrod\ngoldenseal\ngoldfinch\ngoldfish\nGoldman\ngoldsmith\nGoldstein\nGoldstine\nGoldwater\nGoleta\ngolf\nGoliath\ngolly\ngondola\ngone\ngong\nGonzales\nGonzalez\ngoober\ngood\nGoode\nGoodman\nGoodrich\ngoodwill\nGoodwin\ngoody\nGoodyear\ngoof\ngoofy\ngoose\ngooseberry\nGOP\ngopher\nGordian\nGordon\ngore\nGoren\ngorge\ngorgeous\ngorgon\nGorham\ngorilla\nGorky\ngorse\nGorton\ngory\ngosh\ngoshawk\ngosling\ngospel\ngossamer\ngossip\ngot\nGotham\nGothic\ngotten\nGottfried\ngouge\nGould\ngourd\ngourmet\ngout\ngovern\ngovernance\ngoverness\ngovernor\ngown\nGPO\ngrab\ngrabbing\ngrace\ngraceful\ngracious\ngrackle\ngrad\ngradate\ngrade\ngradient\ngradual\ngraduate\nGrady\nGraff\ngraft\ngraham\ngrail\ngrain\ngrammar\ngrammarian\ngrammatic\ngranary\ngrand\ngrandchild\ngrandchildren\ngranddaughter\ngrandeur\ngrandfather\ngrandiloquent\ngrandiose\ngrandma\ngrandmother\ngrandnephew\ngrandniece\ngrandpa\ngrandparent\ngrandson\ngrandstand\ngranite\ngranitic\ngranny\ngranola\ngrant\ngrantee\ngrantor\ngranular\ngranulate\ngranule\nGranville\ngrape\ngrapefruit\ngrapevine\ngraph\ngrapheme\ngraphic\ngraphite\ngrapple\ngrasp\ngrass\ngrassland\ngrassy\ngrata\ngrate\ngrateful\ngrater\ngratify\ngratis\ngratitude\ngratuitous\ngratuity\ngrave\ngravel\ngraven\nGraves\ngravestone\ngraveyard\ngravid\ngravitate\ngravy\ngray\ngraybeard\nGrayson\ngraywacke\ngraze\ngrease\ngreasy\ngreat\ngreatcoat\ngreater\ngrebe\nGrecian\nGreece\ngreed\ngreedy\nGreek\ngreen\nGreenbelt\nGreenberg\nGreenblatt\nGreenbriar\nGreene\ngreenery\nGreenfield\ngreengrocer\ngreenhouse\ngreenish\nGreenland\nGreensboro\ngreensward\ngreenware\nGreenwich\ngreenwood\nGreer\ngreet\nGreg\ngregarious\nGregg\nGregory\ngrenade\nGrendel\nGrenoble\nGresham\nGreta\nGretchen\ngrew\ngrey\ngreyhound\ngreylag\ngrid\ngriddle\ngridiron\ngrief\ngrievance\ngrieve\ngrievous\ngriffin\nGriffith\ngrill\ngrille\ngrilled\ngrillwork\ngrim\ngrimace\nGrimaldi\ngrime\nGrimes\nGrimm\ngrin\ngrind\ngrindstone\ngrinning\ngrip\ngripe\ngrippe\ngripping\ngrisly\ngrist\ngristmill\nGriswold\ngrit\ngritty\ngrizzle\ngrizzly\ngroan\ngroat\ngrocer\ngrocery\ngroggy\ngroin\ngrommet\ngroom\ngroove\ngrope\ngrosbeak\ngross\nGrosset\nGrossman\nGrosvenor\ngrotesque\nGroton\nground\ngroundsel\ngroundskeep\ngroundwork\ngroup\ngrout\ngrove\ngrovel\nGrover\ngrow\ngrowl\ngrown\ngrownup\ngrowth\ngrub\ngrubbing\ngrubby\ngrudge\ngruesome\ngruff\ngrumble\nGrumman\ngrunt\ngryphon\ng's\nGSA\nGuam\nguanidine\nguano\nguarantee\nguaranteeing\nguaranty\nguard\nguardhouse\nGuardia\nguardian\nGuatemala\ngubernatorial\nGuenther\nguerdon\nguernsey\nguerrilla\nguess\nguesswork\nguest\nguffaw\nGuggenheim\nGuiana\nguidance\nguide\nguidebook\nguideline\nguidepost\nguiding\nguignol\nguild\nguildhall\nguile\nGuilford\nguillemot\nguilt\nguilty\nguinea\nguise\nguitar\ngules\ngulf\ngull\nGullah\ngullet\ngullible\ngully\ngulp\ngum\ngumbo\ngumming\ngummy\ngumption\ngumshoe\ngun\nGunderson\ngunfight\ngunfire\ngunflint\ngunk\ngunky\ngunman\ngunmen\ngunnery\ngunning\ngunny\ngunplay\ngunpowder\ngunshot\ngunsling\nGunther\ngurgle\nGurkha\nguru\nGus\ngush\ngusset\ngust\nGustafson\nGustav\nGustave\nGustavus\ngusto\ngusty\ngut\nGutenberg\nGuthrie\ngutsy\ngutting\nguttural\nguy\nGuyana\nguzzle\nGwen\nGwyn\ngym\ngymnasium\ngymnast\ngymnastic\ngymnosperm\ngyp\ngypping\ngypsite\ngypsum\ngypsy\ngyrate\ngyrfalcon\ngyro\ngyrocompass\ngyroscope\nh\nha\nHaag\nHaas\nhabeas\nhaberdashery\nHaberman\nHabib\nhabit\nhabitant\nhabitat\nhabitation\nhabitual\nhabituate\nhacienda\nhack\nhackberry\nHackett\nhackle\nhackmatack\nhackney\nhackneyed\nhacksaw\nhad\nHadamard\nHaddad\nhaddock\nHades\nHadley\nhadn't\nHadrian\nhadron\nhafnium\nHagen\nHager\nhaggard\nhaggle\nHagstrom\nHague\nHahn\nHaifa\nhaiku\nhail\nhailstone\nhailstorm\nHaines\nhair\nhaircut\nhairdo\nhairpin\nhairy\nHaiti\nHaitian\nHal\nhalcyon\nhale\nHaley\nhalf\nhalfback\nhalfhearted\nhalfway\nhalibut\nhalide\nHalifax\nhalite\nhall\nhallelujah\nHalley\nhallmark\nhallow\nHalloween\nhallucinate\nhallway\nhalma\nhalo\nhalocarbon\nhalogen\nHalsey\nHalstead\nhalt\nhalvah\nhalve\nHalverson\nham\nHamal\nHamburg\nhamburger\nHamilton\nHamiltonian\nhamlet\nHamlin\nhammerhead\nhamming\nhammock\nHammond\nhamper\nHampshire\nHampton\nhamster\nHan\nHancock\nhand\nhandbag\nhandbook\nhandclasp\nhandcuff\nHandel\nhandful\nhandgun\nhandhold\nhandicap\nhandicapped\nhandicapper\nhandicapping\nhandicraft\nhandicraftsman\nhandicraftsmen\nhandiwork\nhandkerchief\nhandle\nhandleable\nhandlebar\nhandline\nhandmade\nhandmaiden\nhandout\nhandset\nhandshake\nhandsome\nhandspike\nhandstand\nhandwrite\nhandwritten\nhandy\nhandyman\nhandymen\nHaney\nHanford\nhang\nhangable\nhangar\nhangman\nhangmen\nhangout\nhangover\nhank\nHankel\nHanley\nHanlon\nHanna\nHannah\nHannibal\nHanoi\nHanover\nHanoverian\nHans\nHansel\nHansen\nhansom\nHanson\nHanukkah\nhap\nhaphazard\nhappen\nhappenstance\nhappy\nharangue\nharass\nHarbin\nharbinger\nHarcourt\nhard\nhardbake\nhardboard\nhardboiled\nharden\nhardhat\nHardin\nHarding\nhardscrabble\nhardtack\nhardtop\nhardware\nhardwood\nhardworking\nhardy\nhare\nharelip\nharem\nhark\nHarlan\nHarlem\nHarley\nharm\nharmful\nHarmon\nharmonic\nharmonious\nharmony\nharness\nHarold\nharp\nharpsichord\nHarpy\nHarriet\nHarriman\nHarrington\nHarris\nHarrisburg\nHarrison\nharrow\nharry\nharsh\nharshen\nhart\nHartford\nHartley\nHartman\nHarvard\nharvest\nharvestman\nHarvey\nhash\nhashish\nhasn't\nhasp\nhassle\nhast\nhaste\nhasten\nHastings\nhasty\nhat\nhatch\nhatchet\nhatchway\nhate\nhateful\nhater\nHatfield\nhath\nHathaway\nhatred\nHatteras\nHattie\nHaugen\nhaughty\nhaul\nhaulage\nhaunch\nhaunt\nHavana\nhave\nhaven\nhaven't\nHavilland\nhavoc\nhaw\nHawaii\nHawaiian\nhawk\nHawkins\nHawley\nhawthorn\nHawthorne\nhay\nHayden\nHaydn\nHayes\nhayfield\nHaynes\nHays\nhaystack\nhayward\nhazard\nhazardous\nhaze\nhazel\nhazelnut\nhazy\nhe\nhead\nheadache\nheadboard\nheaddress\nheadland\nheadlight\nheadline\nheadmaster\nheadphone\nheadquarter\nheadroom\nheadset\nheadsman\nheadsmen\nheadstand\nheadstone\nheadwall\nheadwater\nheadway\nheady\nheal\nHealey\nhealth\nhealthful\nhealthy\nHealy\nheap\nhear\nheard\nhearken\nhearsay\nhearse\nHearst\nheart\nheartbeat\nheartbreak\nhearten\nheartfelt\nhearth\nhearty\nheat\nheater\nheath\nheathen\nheathenish\nHeathkit\nheave\nheaven\nheavenward\nheavy\nheavyweight\nHebe\nhebephrenic\nHebraic\nHebrew\nHecate\nhecatomb\nheck\nheckle\nHeckman\nhectic\nhector\nHecuba\nhe'd\nhedge\nhedgehog\nhedonism\nhedonist\nheed\nheel\nheft\nhefty\nHegelian\nhegemony\nHeidelberg\nheigh\nheight\nheighten\nHeine\nHeinz\nheir\nheiress\nHeisenberg\nheld\nHelen\nHelena\nHelene\nhelical\nhelicopter\nheliocentric\nheliotrope\nhelium\nhelix\nhe'll\nhell\nhellbender\nhellebore\nHellenic\nhellfire\nhellgrammite\nhellish\nhello\nhelm\nhelmet\nHelmholtz\nhelmsman\nhelmsmen\nHelmut\nhelp\nhelpful\nhelpmate\nHelsinki\nHelvetica\nhem\nhematite\nHemingway\nhemisphere\nhemispheric\nhemlock\nhemming\nhemoglobin\nhemolytic\nhemorrhage\nhemorrhoid\nhemosiderin\nhemp\nHempstead\nhen\nhenbane\nhence\nhenceforth\nhenchman\nhenchmen\nHenderson\nHendrick\nHendricks\nHendrickson\nhenequen\nHenley\nHenning\nhenpeck\nHenri\nHenrietta\nhenry\nhepatica\nhepatitis\nHepburn\nheptane\nher\nHera\nHeraclitus\nherald\nherb\nHerbert\nHerculean\nHercules\nherd\nherdsman\nhere\nhereabout\nhereafter\nhereby\nhereditary\nheredity\nHereford\nherein\nhereinabove\nhereinafter\nhereinbelow\nhereof\nheresy\nheretic\nhereto\nheretofore\nhereunder\nhereunto\nherewith\nheritable\nheritage\nHerkimer\nHerman\nhermeneutic\nHermes\nhermetic\nHermite\nhermitian\nHermosa\nhero\nHerodotus\nheroes\nheroic\nheroin\nheroine\nheroism\nheron\nherpes\nherpetology\nHerr\nherring\nherringbone\nHerschel\nherself\nHershel\nHershey\nhertz\nHertzog\nhesitant\nhesitate\nhesitater\nHesperus\nHess\nHessian\nHester\nheterodyne\nheterogamous\nheterogeneity\nheterogeneous\nheterosexual\nheterostructure\nheterozygous\nHetman\nHettie\nHetty\nHeublein\nheuristic\nHeusen\nHeuser\nhew\nHewett\nHewitt\nHewlett\nhewn\nhex\nhexachloride\nhexadecimal\nhexafluoride\nhexagon\nhexagonal\nhexameter\nhexane\nhey\nheyday\nhi\nHiatt\nHiawatha\nhibachi\nHibbard\nhibernate\nHibernia\nhick\nHickey\nHickman\nhickory\nHicks\nhid\nhidalgo\nhidden\nhide\nhideaway\nhideous\nhideout\nhierarchal\nhierarchic\nhierarchy\nhieratic\nhieroglyphic\nHieronymus\nhifalutin\nHiggins\nhigh\nhighball\nhighboy\nhighest\nhighfalutin\nhighhanded\nhighland\nhighlight\nhighroad\nhightail\nhighway\nhighwayman\nhighwaymen\nhijack\nhike\nhilarious\nhilarity\nHilbert\nHildebrand\nhill\nhillbilly\nHillcrest\nHillel\nhillman\nhillmen\nhillside\nhilltop\nhilly\nhilt\nHilton\nhilum\nhim\nHimalaya\nhimself\nhind\nhindmost\nhindrance\nhindsight\nHindu\nHinduism\nHines\nhinge\nHinman\nhint\nhinterland\nhip\nhipping\nhippo\nhippodrome\nhippopotamus\nhippy\nhipster\nHiram\nhire\nhireling\nHiroshi\nHiroshima\nHirsch\nhis\nhiss\nhistochemic\nhistochemistry\nhistogram\nhistology\nhistorian\nhistoric\nhistoriography\nhistory\nhistrionic\nhit\nHitachi\nhitch\nHitchcock\nhither\nhitherto\nHitler\nhitting\nhive\nho\nhoagie\nHoagland\nhoagy\nhoar\nhoard\nhoarfrost\nhoarse\nhob\nHobart\nHobbes\nhobble\nHobbs\nhobby\nhobbyhorse\nhobo\nHoboken\nhoc\nhock\nhockey\nhodge\nhodgepodge\nHodges\nHodgkin\nhoe\nHoff\nHoffman\nhog\nhogan\nhogging\nhoi\nHokan\nHolbrook\nHolcomb\nhold\nholden\nholdover\nholdup\nhole\nholeable\nholiday\nHolland\nHollandaise\nholler\nHollerith\nHollingsworth\nHollister\nhollow\nHolloway\nhollowware\nholly\nhollyhock\nHollywood\nHolm\nHolman\nHolmdel\nHolmes\nholmium\nholocaust\nHolocene\nhologram\nholography\nHolst\nHolstein\nholster\nholt\nHolyoke\nholystone\nhomage\nhome\nhomebound\nhomebuilder\nhomebuilding\nhomecoming\nhomeland\nhomemade\nhomemake\nhomeomorph\nhomeomorphic\nhomeopath\nhomeowner\nHomeric\nhomesick\nhomestead\nhomeward\nhomework\nhomicidal\nhomicide\nhomily\nhomo\nhomogenate\nhomogeneity\nhomogeneous\nhomologous\nhomologue\nhomology\nhomomorphic\nhomomorphism\nhomonym\nhomosexual\nhomotopy\nhomozygous\nHonda\nhondo\nHonduras\nhone\nhonest\nhonesty\nhoney\nhoneybee\nhoneycomb\nhoneydew\nhoneymoon\nhoneysuckle\nHoneywell\nhong\nhonk\nHonolulu\nhonorarium\nhonorary\nhonoree\nHonshu\nhooch\nhood\nhoodlum\nhoof\nhoofmark\nhook\nhookup\nhookworm\nhooligan\nhoop\nhoopla\nhoosegow\nHoosier\nhoot\nHoover\nhooves\nhop\nhope\nhopeful\nHopkins\nHopkinsian\nhopping\nhopple\nhopscotch\nHorace\nHoratio\nhorde\nhorehound\nhorizon\nhorizontal\nhormone\nhorn\nhornbeam\nhornblende\nHornblower\nhornet\nhornmouth\nhorntail\nhornwort\nhorny\nhorology\nhoroscope\nHorowitz\nhorrendous\nhorrible\nhorrid\nhorrify\nhorror\nhorse\nhorseback\nhorsedom\nhorseflesh\nhorsefly\nhorsehair\nhorselike\nhorseman\nhorsemen\nhorseplay\nhorsepower\nhorseshoe\nhorsetail\nhorsewoman\nhorsewomen\nhorticulture\nHorton\nHorus\nhose\nhosiery\nhospice\nhospitable\nhospital\nhost\nhostage\nhostelry\nhostess\nhostile\nhostler\nhot\nhotbed\nhotbox\nhotel\nhotelman\nhothead\nhothouse\nhotrod\nHoudaille\nHoudini\nhough\nHoughton\nhound\nhour\nhourglass\nhouse\nhouseboat\nhousebreak\nhousebroken\nhousefly\nhousehold\nhousekeep\nhousewife\nhousewives\nhousework\nHouston\nhove\nhovel\nhover\nhow\nHoward\nhowdy\nHowe\nHowell\nhowever\nhowl\nhowsoever\nhowsomever\nhoy\nhoyden\nhoydenish\nHoyt\nHrothgar\nh's\nhub\nHubbard\nHubbell\nhubbub\nhubby\nHuber\nHubert\nhuck\nhuckleberry\nhuckster\nhuddle\nHudson\nhue\nhued\nhuff\nHuffman\nhug\nhuge\nhugging\nHuggins\nHugh\nHughes\nHugo\nhuh\nhulk\nhull\nhum\nhuman\nhumane\nhumanitarian\nhumble\nHumboldt\nhumerus\nhumid\nhumidify\nhumidistat\nhumiliate\nhumility\nHummel\nhumming\nhummingbird\nhummock\nhumorous\nhump\nhumpback\nHumphrey\nhumpty\nhumus\nHun\nhunch\nhundred\nhundredfold\nhundredth\nhung\nHungarian\nHungary\nhungry\nhunk\nhunt\nHunter\nHuntington\nHuntley\nHuntsville\nHurd\nhurdle\nhurl\nhurley\nHuron\nhurrah\nhurray\nhurricane\nhurry\nHurst\nhurt\nhurtle\nhurty\nHurwitz\nhusband\nhusbandman\nhusbandmen\nhusbandry\nhush\nhusky\nhustle\nHuston\nhut\nhutch\nHutchins\nHutchinson\nHutchison\nHuxley\nHuxtable\nhuzzah\nhyacinth\nHyades\nhyaline\nHyannis\nhybrid\nHyde\nhydra\nhydrangea\nhydrant\nhydrate\nhydraulic\nhydride\nhydro\nhydrocarbon\nhydrochemistry\nhydrochloric\nhydrochloride\nhydrodynamic\nhydroelectric\nhydrofluoric\nhydrogen\nhydrogenate\nhydrology\nhydrolysis\nhydrometer\nhydrophilic\nhydrophobia\nhydrophobic\nhydrosphere\nhydrostatic\nhydrothermal\nhydrous\nhydroxide\nhydroxy\nhydroxyl\nhydroxylate\nhyena\nhygiene\nhygrometer\nhygroscopic\nhying\nhymen\nhymn\nhymnal\nhyperbola\nhyperbolic\nhyperboloid\nhyperboloidal\nhypertensive\nhyphen\nhyphenate\nhypnosis\nhypnotic\nhypoactive\nhypocrisy\nhypocrite\nhypocritic\nhypocycloid\nhypodermic\nhypophyseal\nhypotenuse\nhypothalamic\nhypothalamus\nhypotheses\nhypothesis\nhypothetic\nhypothyroid\nhysterectomy\nhysteresis\nhysteria\nhysteric\nhysteron\ni\niambic\nIberia\nibex\nibid\nibis\nIBM\nIbn\nIcarus\nICC\nice\niceberg\nicebox\niceland\nIcelandic\nichneumon\nicicle\nicing\nicon\niconoclasm\niconoclast\nicosahedra\nicosahedral\nicosahedron\nicy\nI'd\nIda\nIdaho\nidea\nideal\nideate\nidempotent\nidentical\nidentify\nidentity\nideology\nidiocy\nidiom\nidiomatic\nidiosyncrasy\nidiosyncratic\nidiot\nidiotic\nidle\nidol\nidolatry\nidyll\nidyllic\nIEEE\nif\niffy\nIfni\nigloo\nigneous\nignite\nignition\nignoble\nignominious\nignoramus\nignorant\nignore\nii\niii\nIke\nileum\niliac\nIliad\nI'll\nill\nillegal\nillegible\nillegitimacy\nillegitimate\nillicit\nillimitable\nIllinois\nilliteracy\nilliterate\nillogic\nillume\nilluminate\nillumine\nillusion\nillusionary\nillusive\nillusory\nillustrate\nillustrious\nIlona\nIlyushin\nI'm\nimage\nimagery\nimaginary\nimaginate\nimagine\nimbalance\nimbecile\nimbibe\nImbrium\nimbroglio\nimbrue\nimbue\nimitable\nimitate\nimmaculate\nimmanent\nimmaterial\nimmature\nimmeasurable\nimmediacy\nimmediate\nimmemorial\nimmense\nimmerse\nimmersion\nimmigrant\nimmigrate\nimminent\nimmobile\nimmobility\nimmoderate\nimmodest\nimmodesty\nimmoral\nimmortal\nimmovable\nimmune\nimmunization\nimmunoelectrophoresis\nimmutable\nimp\nimpact\nimpair\nimpale\nimpalpable\nimpart\nimpartation\nimpartial\nimpassable\nimpasse\nimpassion\nimpassive\nimpatient\nimpeach\nimpeccable\nimpedance\nimpede\nimpediment\nimpel\nimpelled\nimpeller\nimpelling\nimpend\nimpenetrable\nimperate\nimperceivable\nimperceptible\nimperfect\nimperial\nimperil\nimperious\nimperishable\nimpermeable\nimpermissible\nimpersonal\nimpersonate\nimpertinent\nimperturbable\nimpervious\nimpetuous\nimpetus\nimpiety\nimpinge\nimpious\nimpish\nimplacable\nimplant\nimplantation\nimplausible\nimplement\nimplementation\nimplementer\nimplementor\nimplicant\nimplicate\nimplicit\nimplore\nimpolite\nimpolitic\nimponderable\nimport\nimportant\nimportation\nimportunate\nimportune\nimpose\nimposition\nimpossible\nimpost\nimposture\nimpotent\nimpound\nimpoverish\nimpracticable\nimpractical\nimprecate\nimprecise\nimpregnable\nimpregnate\nimpresario\nimpress\nimpressible\nimpression\nimpressive\nimprimatur\nimprint\nimprison\nimprobable\nimpromptu\nimproper\nimpropriety\nimprove\nimprovident\nimprovisate\nimprovise\nimprudent\nimpudent\nimpugn\nimpulse\nimpulsive\nimpunity\nimpure\nimputation\nimpute\nin\ninability\ninaccessible\ninaccuracy\ninaccurate\ninaction\ninactivate\ninactive\ninadequacy\ninadequate\ninadmissible\ninadvertent\ninadvisable\ninalienable\ninalterable\ninane\ninanimate\ninappeasable\ninapplicable\ninappreciable\ninapproachable\ninappropriate\ninapt\ninaptitude\ninarticulate\ninasmuch\ninattention\ninattentive\ninaudible\ninaugural\ninaugurate\ninauspicious\ninboard\ninborn\ninbred\ninbreed\nInc\nInca\nincalculable\nincandescent\nincant\nincantation\nincapable\nincapacitate\nincapacity\nincarcerate\nincarnate\nincautious\nincendiary\nincense\nincentive\ninception\ninceptor\nincessant\nincest\nincestuous\ninch\nincident\nincidental\nincinerate\nincipient\nincise\nincisive\nincite\ninclement\ninclination\nincline\ninclose\ninclude\ninclusion\ninclusive\nincoherent\nincombustible\nincome\nincommensurable\nincommensurate\nincommunicable\nincommutable\nincomparable\nincompatible\nincompetent\nincomplete\nincompletion\nincomprehensible\nincomprehension\nincompressible\nincomputable\ninconceivable\ninconclusive\nincondensable\nincongruity\nincongruous\ninconsequential\ninconsiderable\ninconsiderate\ninconsistent\ninconsolable\ninconspicuous\ninconstant\nincontestable\nincontrollable\nincontrovertible\ninconvenient\ninconvertible\nincorporable\nincorporate\nincorrect\nincorrigible\nincorruptible\nincreasable\nincrease\nincredible\nincredulity\nincredulous\nincrement\nincriminate\nincubate\nincubi\nincubus\ninculcate\ninculpable\nincumbent\nincur\nincurred\nincurrer\nincurring\nincursion\nindebted\nindecent\nindecipherable\nindecision\nindecisive\nindecomposable\nindeed\nindefatigable\nindefensible\nindefinable\nindefinite\nindelible\nindelicate\nindemnity\nindent\nindentation\nindenture\nindependent\nindescribable\nindestructible\nindeterminable\nindeterminacy\nindeterminate\nindex\nIndia\nIndian\nIndiana\nIndianapolis\nindicant\nindicate\nindices\nindict\nIndies\nindifferent\nindigene\nindigenous\nindigent\nindigestible\nindigestion\nindignant\nindignation\nindignity\nindigo\nIndira\nindirect\nindiscernible\nindiscoverable\nindiscreet\nindiscretion\nindiscriminate\nindispensable\nindispose\nindisposition\nindisputable\nindissoluble\nindistinct\nindistinguishable\nindium\nindividual\nindividualism\nindividuate\nindivisible\nIndochina\nindoctrinate\nindolent\nindomitable\nIndonesia\nIndonesian\nindoor\nindorse\nindubitable\ninduce\ninducible\ninduct\ninductance\ninductee\ninductor\nindulge\nindulgent\nindustrial\nindustrialism\nindustrious\nindustry\nindwell\nindy\nineducable\nineffable\nineffective\nineffectual\ninefficacy\ninefficient\ninelastic\ninelegant\nineligible\nineluctable\ninept\ninequality\ninequitable\ninequity\ninequivalent\nineradicable\ninert\ninertance\ninertia\ninertial\ninescapable\ninestimable\ninevitable\ninexact\ninexcusable\ninexhaustible\ninexorable\ninexpedient\ninexpensive\ninexperience\ninexpert\ninexpiable\ninexplainable\ninexplicable\ninexplicit\ninexpressible\ninextinguishable\ninextricable\ninfallible\ninfamous\ninfamy\ninfancy\ninfant\ninfantile\ninfantry\ninfantryman\ninfantrymen\ninfarct\ninfatuate\ninfeasible\ninfect\ninfectious\ninfelicitous\ninfelicity\ninfer\ninference\ninferential\ninferior\ninfernal\ninferno\ninferred\ninferring\ninfertile\ninfest\ninfestation\ninfidel\ninfield\ninfighting\ninfiltrate\ninfima\ninfimum\ninfinite\ninfinitesimal\ninfinitive\ninfinitude\ninfinitum\ninfinity\ninfirm\ninfirmary\ninfix\ninflame\ninflammable\ninflammation\ninflammatory\ninflate\ninflater\ninflect\ninflexible\ninflict\ninflow\ninfluence\ninfluent\ninfluential\ninfluenza\ninflux\ninform\ninformal\ninformant\nInformatica\ninformation\ninformative\ninfra\ninfract\ninfrared\ninfrastructure\ninfrequent\ninfringe\ninfuriate\ninfuse\ninfusible\ninfusion\ningather\ningenious\ningenuity\ningenuous\nIngersoll\ningest\ningestible\ningestion\ninglorious\ningot\nIngram\ningrate\ningratiate\ningratitude\ningredient\ningrown\ninhabit\ninhabitant\ninhabitation\ninhalation\ninhale\ninharmonious\ninhere\ninherent\ninherit\ninheritance\ninheritor\ninhibit\ninhibition\ninhibitor\ninhibitory\ninholding\ninhomogeneity\ninhomogeneous\ninhospitable\ninhuman\ninhumane\ninimical\ninimitable\niniquitous\niniquity\ninitial\ninitiate\ninject\ninjudicious\nInjun\ninjunct\ninjure\ninjurious\ninjury\ninjustice\nink\ninkling\ninlaid\ninland\ninlay\ninlet\nInman\ninmate\ninn\ninnards\ninnate\ninner\ninnermost\ninning\ninnocent\ninnovate\ninnuendo\ninnumerable\ninoculate\ninoperable\ninoperative\ninopportune\ninordinate\ninorganic\ninput\ninquest\ninquire\ninquiry\ninquisition\ninquisitive\ninquisitor\ninroad\ninsane\ninsatiable\ninscribe\ninscription\ninscrutable\ninsect\ninsecticide\ninsecure\ninseminate\ninsensible\ninsensitive\ninseparable\ninsert\ninset\ninshore\ninside\ninsidious\ninsight\ninsightful\ninsignia\ninsignificant\ninsincere\ninsinuate\ninsipid\ninsist\ninsistent\ninsofar\ninsolent\ninsoluble\ninsolvable\ninsolvent\ninsomnia\ninsomniac\ninsouciant\ninspect\ninspector\ninspiration\ninspire\ninstable\ninstall\ninstallation\ninstalment\ninstance\ninstant\ninstantaneous\ninstead\ninstep\ninstigate\ninstill\ninstillation\ninstinct\ninstinctual\ninstitute\ninstitution\ninstruct\ninstructor\ninstrument\ninstrumentation\ninsubordinate\ninsubstantial\ninsufferable\ninsufficient\ninsular\ninsulate\ninsulin\ninsult\ninsuperable\ninsupportable\ninsuppressible\ninsurance\ninsure\ninsurgent\ninsurmountable\ninsurrect\nintact\nintake\nintangible\ninteger\nintegrable\nintegral\nintegrand\nintegrate\nintegrity\nintegument\nintellect\nintellectual\nintelligent\nintelligentsia\nintelligible\nintemperance\nintemperate\nintend\nintendant\nintense\nintensify\nintensive\nintent\nintention\ninter\nintercalate\nintercept\ninterception\ninterceptor\nintercom\ninterdict\ninterest\ninterfere\ninterference\ninterferometer\ninterferometric\ninterferometry\ninterim\ninterior\ninterject\ninterlude\nintermediary\nintermit\nintermittent\nintern\ninternal\ninternescine\nInterpol\ninterpolate\ninterpolatory\ninterpret\ninterpretation\ninterpretive\ninterregnum\ninterrogate\ninterrogatory\ninterrupt\ninterruptible\ninterruption\nintersect\nintersperse\ninterstice\ninterstitial\ninterval\nintervene\nintervenor\nintervention\ninterviewee\nintestate\nintestine\nintimacy\nintimal\nintimate\nintimater\nintimidate\ninto\nintolerable\nintolerant\nintonate\nintone\nintoxicant\nintoxicate\nintracity\nintractable\nintradepartment\nintramural\nintramuscular\nintranasal\nintransigent\nintransitive\nintraoffice\nintrastate\nintravenous\nintrepid\nintricacy\nintricate\nintrigue\nintrinsic\nintroduce\nintroduction\nintroductory\nintroit\nintroject\nintrospect\nintroversion\nintrovert\nintrude\nintrusion\nintrusive\nintuitable\nintuition\nintuitive\ninundate\ninure\ninvade\ninvalid\ninvalidate\ninvaluable\ninvariable\ninvariant\ninvasion\ninvasive\ninvective\ninveigh\ninveigle\ninvent\ninvention\ninventive\ninventor\ninventory\nInverness\ninverse\ninversion\ninvert\ninvertebrate\ninvertible\ninvest\ninvestigate\ninvestigatory\ninvestor\ninveterate\ninviable\ninvidious\ninvigorate\ninvincible\ninviolable\ninviolate\ninvisible\ninvitation\ninvite\ninvitee\ninvocate\ninvoice\ninvoke\ninvoluntary\ninvolute\ninvolution\ninvolutorial\ninvolve\ninvulnerable\ninward\nIo\niodate\niodide\niodinate\niodine\nion\nionic\nionosphere\nionospheric\niota\nIowa\nipecac\nipsilateral\nipso\nIQ\nIR\nIra\nIran\nIraq\nirate\nire\nIreland\nIrene\niridium\niris\nIrish\nIrishman\nIrishmen\nirk\nirksome\nIrma\niron\nironic\nironside\nironstone\nironwood\nirony\nIroquois\nirradiate\nirrational\nIrrawaddy\nirreclaimable\nirreconcilable\nirrecoverable\nirredeemable\nirredentism\nirredentist\nirreducible\nirrefutable\nirregular\nirrelevancy\nirrelevant\nirremediable\nirremovable\nirreparable\nirreplaceable\nirrepressible\nirreproachable\nirreproducible\nirresistible\nirresolute\nirresolution\nirresolvable\nirrespective\nirresponsible\nirretrievable\nirreverent\nirreversible\nirrevocable\nirrigate\nirritable\nirritant\nirritate\nirruption\nIRS\nIrvin\nIrvine\nIrving\nIrwin\ni's\nis\nIsaac\nIsaacson\nIsabel\nIsabella\nIsaiah\nisentropic\nIsfahan\nIsing\nisinglass\nIsis\nIslam\nIslamabad\nIslamic\nisland\nisle\nisn't\nisochronal\nisochronous\nisocline\nisolate\nIsolde\nisomer\nisomorph\nisomorphic\nisopleth\nisotherm\nisothermal\nisotope\nisotopic\nisotropic\nisotropy\nIsrael\nIsraeli\nIsraelite\nissuance\nissuant\nissue\nIstanbul\nit\nItalian\nitalic\nItaly\nitch\nit'd\nitem\niterate\nIthaca\nitinerant\nitinerary\nit'll\nIto\nitself\nIT&T\nITT\niv\nIvan\nIvanhoe\nI've\nIverson\nivory\nivy\nix\nIzvestia\nj\njab\njabbing\nJablonsky\njack\njackanapes\njackass\njackboot\njackdaw\njacket\nJackie\njackknife\nJackman\njackpot\nJackson\nJacksonian\nJacksonville\nJacky\nJACM\nJacob\nJacobean\nJacobi\nJacobian\nJacobite\nJacobs\nJacobsen\nJacobson\nJacobus\nJacqueline\nJacques\njade\nJaeger\njag\njagging\njaguar\njail\nJakarta\njake\njalopy\njam\nJamaica\njamboree\nJames\nJamestown\njamming\nJan\nJane\nJaneiro\nJanet\njangle\nJanice\njanissary\njanitor\njanitorial\nJanos\nJansenist\nJanuary\nJanus\nJapan\nJapanese\njar\njargon\njarring\nJarvin\nJason\njasper\njaundice\njaunty\nJava\njavelin\njaw\njawbone\njay\njazz\njazzy\njealous\njealousy\njean\nJeannie\nJed\njeep\nJeff\nJefferson\nJeffersonian\nJeffrey\nJehovah\njejune\njejunum\njelly\njellyfish\nJenkins\nJennie\nJennifer\nJennings\njenny\nJensen\njeopard\njeopardy\nJeremiah\nJeremy\nJeres\nJericho\njerk\njerky\nJeroboam\nJerome\njerry\njersey\nJerusalem\njess\nJesse\nJessica\nJessie\njest\nJesuit\nJesus\njet\njetliner\njetting\njettison\nJew\njewel\nJewell\njewelry\nJewett\nJewish\njibe\njiffy\njig\njigging\njiggle\njigsaw\nJill\njilt\nJim\nJimenez\nJimmie\njimmy\njingle\njinx\njitter\njitterbug\njittery\njive\nJo\nJoan\nJoanna\nJoanne\nJoaquin\njob\njobbing\njobholder\njock\njockey\njockstrap\njocose\njocular\njocund\nJoe\nJoel\njoey\njog\njogging\njoggle\nJohann\nJohannes\nJohannesburg\nJohansen\nJohanson\nJohn\nJohnny\nJohns\nJohnsen\nJohnson\nJohnston\nJohnstown\njoin\njoint\njoke\nJoliet\nJolla\njolly\njolt\nJon\nJonas\nJonathan\nJones\njonquil\nJordan\nJorge\nJorgensen\nJorgenson\nJose\nJosef\nJoseph\nJosephine\nJosephson\nJosephus\nJoshua\nJosiah\njoss\njostle\njot\njotting\njoule\njounce\njournal\njournalese\njourney\njourneyman\njourneymen\njoust\nJovanovich\nJove\njovial\nJovian\njowl\njowly\njoy\nJoyce\njoyful\njoyous\njoyride\njoystick\nJr\nj's\nJuan\nJuanita\njubilant\njubilate\nJudaism\nJudas\nJudd\nJude\njudge\njudicable\njudicatory\njudicature\njudicial\njudiciary\njudicious\nJudith\njudo\nJudson\nJudy\njug\njugate\njugging\njuggle\njuice\njuicy\njuju\njujube\njuke\nJukes\njulep\nJules\nJulia\nJulie\nJuliet\nJulio\nJulius\nJuly\njumble\njumbo\njump\njumpy\njunco\njunction\njunctor\njuncture\nJune\nJuneau\njungle\njunior\njuniper\njunk\njunkerdom\njunketeer\njunky\nJuno\njunta\nJupiter\nJura\njure\njuridic\njurisdiction\njurisprudent\njurisprudential\njuror\njury\njust\njustice\njusticiable\njustify\nJustine\nJustinian\njut\njute\nJutish\njutting\njuvenile\njuxtapose\njuxtaposition\nk\nKabuki\nKabul\nKaddish\nKafka\nKafkaesque\nKahn\nkaiser\nKajar\nKalamazoo\nkale\nkaleidescope\nkaleidoscope\nkalmia\nKalmuk\nKamchatka\nkamikaze\nKampala\nKane\nkangaroo\nKankakee\nKansas\nKant\nkaolin\nkaolinite\nKaplan\nkapok\nkappa\nKarachi\nKaramazov\nkarate\nKaren\nKarl\nKarol\nKarp\nkaryatid\nKaskaskia\nKate\nKatharine\nKatherine\nKathleen\nKathy\nKatie\nKatmandu\nKatowice\nKatz\nKauffman\nKaufman\nkava\nKay\nkayo\nkazoo\nKeaton\nKeats\nkeddah\nkeel\nkeelson\nkeen\nKeenan\nkeep\nkeeshond\nkeg\nKeith\nKeller\nKelley\nKellogg\nkelly\nkelp\nKelsey\nKelvin\nKemp\nken\nKendall\nKennan\nKennecott\nKennedy\nkennel\nKenneth\nKenney\nkenning\nkeno\nKensington\nKent\nKenton\nKentucky\nKenya\nKenyon\nKepler\nkept\nkerchief\nKermit\nkern\nkernel\nkerosene\nKerr\nkerry\nkerygma\nKessler\nkestrel\nketch\nketchup\nketone\nketosis\nKettering\nkettle\nKevin\nkey\nkeyboard\nkeyed\nKeyes\nkeyhole\nKeynes\nKeynesian\nkeynote\nkeypunch\nkeys\nkeystone\nkeyword\nkhaki\nkhan\nKhartoum\nKhmer\nKhrushchev\nkibbutzim\nkibitz\nkick\nkickback\nkickoff\nkid\nKidde\nkiddie\nkidding\nkidnap\nkidnapping\nkidney\nKieffer\nKiev\nKiewit\nKigali\nKikuyu\nKilgore\nkill\nkilldeer\nkilljoy\nkilobit\nkilobuck\nkilobyte\nkilogauss\nkilohertz\nkilohm\nkilojoule\nkiloton\nkilovolt\nkilowatt\nkiloword\nKim\nKimball\nKimberly\nkimono\nkin\nkind\nkindergarten\nkindle\nkindred\nkinematic\nkinesic\nkinesthesis\nkinetic\nking\nkingbird\nkingdom\nkingfisher\nkinglet\nkingpin\nKingsbury\nKingsley\nKingston\nkink\nkinky\nKinney\nKinshasha\nkiosk\nKiowa\nKipling\nKirby\nKirchner\nKirchoff\nkirk\nKirkland\nKirkpatrick\nKirov\nkiss\nkissing\nkit\nKitakyushu\nkitchen\nkitchenette\nkite\nkitten\nkittenish\nkittle\nkitty\nkiva\nkivu\nKiwanis\nKlan\nKlaus\nklaxon\nkleenex\nKlein\nKline\nKlux\nklystron\nknack\nKnapp\nknapsack\nKnauer\nknead\nknee\nkneecap\nkneel\nknelt\nknew\nknick\nKnickerbocker\nknife\nknifelike\nknight\nKnightsbridge\nknit\nknitting\nknives\nknob\nknobby\nknock\nknockdown\nknockout\nknoll\nknot\nKnott\nknotting\nknotty\nknow\nknoweth\nknowhow\nknowledge\nknowledgeable\nKnowles\nKnowlton\nknown\nKnox\nKnoxville\nknuckle\nknuckleball\nKnudsen\nKnudson\nknurl\nKnutsen\nKnutson\nkoala\nKoch\nKochab\nKodachrome\nkodak\nKodiak\nKoenig\nKoenigsberg\nkohlrabi\nkoinonia\nkola\nkolkhoz\nkombu\nKong\nKoppers\nKoran\nKorea\nkosher\nKowalewski\nKowalski\nkraft\nKrakatoa\nKrakow\nKramer\nKrause\nkraut\nKremlin\nKresge\nKrieger\nKrishna\nKristin\nKronecker\nKrueger\nKruger\nKruse\nkrypton\nk's\nKu\nkudo\nkudzu\nKuhn\nkulak\nkumquat\nKurd\nKurt\nKuwait\nkwashiorkor\nKyle\nKyoto\nl\nla\nlab\nLaban\nlabel\nlabile\nlaboratory\nlaborious\nlabour\nLabrador\nlabradorite\nlabyrinth\nlac\nlace\nlacerate\nLacerta\nlacewing\nLachesis\nlack\nlackadaisic\nlackey\nlacquer\nlacrosse\nlactate\nlacuna\nlacunae\nlacustrine\nlacy\nlad\nladen\nladle\nlady\nladyfern\nladylike\nLafayette\nlag\nlager\nlagging\nlagoon\nLagos\nLagrange\nLagrangian\nLaguerre\nLahore\nlaid\nLaidlaw\nlain\nlair\nlaissez\nlaity\nlake\nLakehurst\nlakeside\nlam\nLamar\nlamb\nlambda\nlambert\nlame\nlamellar\nlament\nlamentation\nlaminate\nlamming\nlamp\nlampblack\nlamplight\nlampoon\nlamprey\nLana\nLancashire\nLancaster\nlance\nland\nlandau\nlandfill\nlandhold\nLandis\nlandlord\nlandmark\nlandowner\nlandscape\nlandslide\nlane\nLang\nLange\nLangley\nLangmuir\nlanguage\nlanguid\nlanguish\nLanka\nlanky\nLansing\nlantern\nlanthanide\nlanthanum\nLao\nLaocoon\nLaos\nLaotian\nlap\nlapel\nlapelled\nlapidary\nLaplace\nlappet\nlapping\nlapse\nLaramie\nlarceny\nlarch\nlard\nLaredo\nLares\nlarge\nlargemouth\nlargesse\nlariat\nlark\nLarkin\nlarkspur\nLarry\nLars\nLarsen\nLarson\nlarva\nlarvae\nlarval\nlaryngeal\nlarynges\nlarynx\nlascar\nlascivious\nlase\nlash\nlass\nlasso\nlast\nlatch\nlate\nlatent\nlater\nlatera\nlateral\nLateran\nlaterite\nlatest\nlatex\nlath\nlathe\nLathrop\nLatin\nLatinate\nlatitude\nlatitudinal\nlatitudinary\nLatrobe\nlatter\nlattice\nlatus\nlaud\nlaudanum\nlaudatory\nLauderdale\nLaue\nlaugh\nlaughingstock\nLaughlin\nlaughter\nlaunch\nlaunder\nlaundry\nlaura\nlaureate\nlaurel\nLauren\nLaurence\nLaurent\nLaurentian\nLaurie\nLausanne\nlava\nlavabo\nlavatory\nlavender\nlavish\nLavoisier\nlaw\nlawbreaker\nlawbreaking\nlawful\nlawgiver\nlawgiving\nlawmake\nlawman\nlawmen\nlawn\nLawrence\nlawrencium\nLawson\nlawsuit\nlawyer\nlax\nlaxative\nlay\nlayette\nlayman\nlaymen\nlayoff\nlayout\nLayton\nlayup\nLazarus\nlaze\nlazy\nlazybones\nlea\nleach\nleachate\nlead\nleaden\nleadeth\nleadsman\nleadsmen\nleaf\nleaflet\nleafy\nleague\nleak\nleakage\nleaky\nlean\nLeander\nleap\nleapfrog\nleapt\nLear\nlearn\nlease\nleasehold\nleash\nleast\nleather\nleatherback\nleatherneck\nleatherwork\nleathery\nleave\nleaven\nLeavenworth\nLebanese\nLebanon\nlebensraum\nLebesgue\nlecher\nlechery\nlectionary\nlecture\nled\nledge\nlee\nleech\nLeeds\nleek\nleer\nleery\nleeward\nleeway\nleft\nleftmost\nleftover\nleftward\nlefty\nleg\nlegacy\nlegal\nlegate\nlegatee\nlegato\nlegend\nlegendary\nLegendre\nlegerdemain\nlegging\nleggy\nleghorn\nlegible\nlegion\nlegislate\nlegislature\nlegitimacy\nlegitimate\nlegume\nleguminous\nLehigh\nLehman\nLeigh\nLeighton\nLeila\nleisure\nleitmotif\nleitmotiv\nLeland\nlemma\nlemming\nlemon\nlemonade\nLemuel\nLen\nLena\nlend\nlength\nlengthen\nlengthwise\nlengthy\nlenient\nLenin\nLeningrad\nLeninism\nLeninist\nLennox\nLenny\nlens\nlent\nLenten\nlenticular\nlentil\nLeo\nLeon\nLeona\nLeonard\nLeonardo\nLeone\nLeonid\nleonine\nleopard\nLeopold\nleper\nlepidolite\nleprosy\nLeroy\nLesbian\nlesion\nLeslie\nLesotho\nless\nlessee\nlessen\nlesson\nlessor\nlest\nLester\nlet\nlethal\nlethargy\nLethe\nLetitia\nletterhead\nletterman\nlettermen\nletting\nlettuce\nleukemia\nlevee\nlevel\nlever\nleverage\nLevi\nLevin\nLevine\nLevis\nlevitate\nLeviticus\nLevitt\nlevity\nlevy\nlew\nlewd\nlewis\nlexical\nlexicography\nlexicon\nLexington\nLeyden\nliable\nliaison\nliar\nlibation\nlibel\nlibelous\nliberal\nliberate\nLiberia\nlibertarian\nlibertine\nliberty\nlibidinous\nlibido\nlibrarian\nlibrary\nlibrate\nlibrettist\nlibretto\nLibreville\nLibya\nlice\nlicensable\nlicensee\nlicensor\nlicentious\nlichen\nlick\nlicorice\nlid\nlidding\nlie\nLiechtenstein\nlied\nlien\nlieu\nlieutenant\nlife\nlifeblood\nlifeboat\nlifeguard\nlifelike\nlifelong\nlifespan\nlifestyle\nlifetime\nLIFO\nlift\nligament\nligand\nligature\nLigget\nLiggett\nlight\nlighten\nlightface\nlighthearted\nlighthouse\nlightning\nlightproof\nlightweight\nlignite\nlignum\nlike\nliken\nlikewise\nLila\nlilac\nLilian\nLillian\nLilliputian\nLilly\nlilt\nlily\nLima\nlimb\nlimbic\nlimbo\nlime\nlimelight\nLimerick\nlimestone\nlimit\nlimitate\nlimousine\nlimp\nlimpet\nlimpid\nlimpkin\nLin\nLincoln\nLind\nLinda\nLindberg\nLindbergh\nlinden\nLindholm\nLindquist\nLindsay\nLindsey\nLindstrom\nline\nlineage\nlineal\nlinear\nlinebacker\nlineman\nlinemen\nlinen\nlineup\nlinger\nlingerie\nlingo\nlingua\nlingual\nlinguist\nliniment\nlink\nlinkage\nlinoleum\nLinotype\nlinseed\nlint\nLinus\nlion\nLionel\nlioness\nlip\nlipid\nLippincott\nLipschitz\nLipscomb\nlipstick\nLipton\nliquefaction\nliquefy\nliqueur\nliquid\nliquidate\nliquor\nLisa\nLisbon\nLise\nlisle\nlisp\nLissajous\nlist\nlisten\nlit\nlitany\nliteracy\nliteral\nliterary\nliterate\nliterature\nlithe\nlithic\nlithium\nlithograph\nlithography\nlithology\nlithosphere\nlithospheric\nlitigant\nlitigate\nlitigious\nlitmus\nlitterbug\nlittle\nlittleneck\nLittleton\nLitton\nlittoral\nliturgic\nliturgy\nlive\nLivermore\nLiverpool\nliverwort\nlivery\nlivestock\nliveth\nlivid\nLivingston\nlivre\nLiz\nlizard\nLizzie\nLloyd\nlo\nload\nloaf\nloam\nloamy\nloan\nloath\nloathe\nloathsome\nloaves\nlob\nlobar\nlobby\nlobe\nloblolly\nlobo\nlobscouse\nlobster\nlobular\nlobule\nlocal\nlocale\nlocate\nloci\nlock\nLocke\nLockhart\nLockheed\nLockian\nlocknut\nlockout\nlocksmith\nlockup\nLockwood\nlocomote\nlocomotion\nlocomotive\nlocomotor\nlocomotory\nlocoweed\nlocus\nlocust\nlocutor\nlodestone\nlodge\nlodgepole\nLodowick\nLoeb\nl'oeil\nloess\nloft\nlofty\nlog\nLogan\nlogarithm\nlogarithmic\nloge\nloggerhead\nlogging\nlogic\nlogistic\nlogjam\nloin\nloincloth\nLoire\nLois\nloiter\nLoki\nLola\nloll\nlollipop\nlolly\nLomb\nLombard\nLombardy\nLome\nLondon\nlone\nlonesome\nlong\nlongevity\nLongfellow\nlonghand\nlonghorn\nlongish\nlongitude\nlongitudinal\nlongleg\nlongstanding\nlongtime\nlongue\nlook\nlookout\nlookup\nloom\nLoomis\nloon\nloop\nloophole\nloose\nlooseleaf\nloosen\nloosestrife\nloot\nlop\nlope\nLopez\nlopping\nlopseed\nlopsided\nloquacious\nloquacity\nlord\nlore\nLorelei\nLoren\nLorinda\nLorraine\nLos\nlosable\nlose\nloss\nlossy\nlost\nlot\nlotion\nLotte\nlottery\nLottie\nlotus\nLou\nloud\nloudspeaker\nloudspeaking\nLouis\nLouisa\nLouise\nLouisiana\nLouisville\nlounge\nLounsbury\nLourdes\nlouse\nlousewort\nlousy\nlouver\nLouvre\nlove\nlovebird\nLovelace\nLoveland\nlovelorn\nlow\nlowboy\nlowdown\nLowe\nLowell\nlower\nlowland\nLowry\nloy\nloyal\nloyalty\nlozenge\nl's\nLSI\nLTV\nLubbock\nLubell\nlubricant\nlubricate\nlubricious\nlubricity\nLucas\nLucerne\nLucia\nLucian\nlucid\nLucifer\nLucille\nLucius\nluck\nlucky\nlucrative\nlucre\nLucretia\nLucretius\nlucy\nludicrous\nLudlow\nLudwig\nLufthansa\nLuftwaffe\nlug\nluge\nluger\nluggage\nlugging\nLuis\nluke\nlukemia\nlukewarm\nlull\nlullaby\nlulu\nlumbar\nlumber\nlumberman\nlumbermen\nlumen\nluminance\nluminary\nluminescent\nluminosity\nluminous\nlummox\nlump\nlumpish\nLumpur\nlumpy\nlunacy\nlunar\nlunary\nlunate\nlunatic\nlunch\nluncheon\nlunchroom\nlunchtime\nLund\nLundberg\nLundquist\nlung\nlunge\nlupine\nLura\nlurch\nlure\nlurid\nlurk\nLusaka\nluscious\nlush\nlust\nlustful\nlustrous\nlusty\nlutanist\nlute\nlutetium\nLuther\nLutheran\nLutz\nlux\nluxe\nLuxembourg\nluxuriant\nluxuriate\nluxurious\nluxury\nLuzon\nlycopodium\nLydia\nlye\nlying\nLykes\nLyle\nLyman\nlymph\nlymphocyte\nlymphoma\nlynch\nLynchburg\nLynn\nlynx\nLyon\nLyons\nLyra\nlyric\nlyricism\nlysergic\nm\nma\nMabel\nMac\nmacabre\nmacaque\nMacArthur\nMacassar\nMacbeth\nMacDonald\nmace\nMacedon\nMacedonia\nMacGregor\nMach\nMachiavelli\nmachination\nmachine\nmachinelike\nmachinery\nmachismo\nmacho\nmacintosh\nmack\nMacKenzie\nmackerel\nMackey\nMackinac\nMackinaw\nmackintosh\nMacMillan\nMacon\nmacro\nmacromolecule\nmacrophage\nmacroscopic\nmad\nMadagascar\nmadam\nMadame\nmadcap\nmadden\nmadding\nMaddox\nmade\nMadeira\nMadeleine\nMadeline\nmadhouse\nMadison\nmadman\nmadmen\nMadonna\nMadras\nMadrid\nmadrigal\nMadsen\nmadstone\nMae\nMaelstrom\nmaestro\nmagazine\nMagdalene\nmagenta\nMaggie\nmaggot\nmaggoty\nmagi\nmagic\nmagician\nmagisterial\nmagistrate\nmagna\nmagnanimity\nmagnanimous\nmagnate\nmagnesia\nmagnesite\nmagnesium\nmagnet\nmagnetic\nmagnetite\nmagneto\nmagnetron\nmagnificent\nmagnify\nmagnitude\nmagnolia\nmagnum\nMagnuson\nMagog\nmagpie\nMagruder\nMahayana\nMahayanist\nmahogany\nMahoney\nmaid\nmaiden\nmaidenhair\nmaidservant\nMaier\nmail\nmailbox\nmailman\nmailmen\nmaim\nmain\nMaine\nmainland\nmainline\nmainstream\nmaintain\nmaintenance\nmaitre\nmajestic\nmajesty\nmajor\nmake\nmakeshift\nmakeup\nMalabar\nmaladapt\nmaladaptive\nmaladjust\nmaladroit\nmalady\nMalagasy\nmalaise\nmalaprop\nmalaria\nmalarial\nMalawi\nMalay\nMalaysia\nMalcolm\nmalconduct\nmalcontent\nMalden\nmaldistribute\nMaldive\nmale\nmaledict\nmalevolent\nmalfeasant\nmalformation\nmalformed\nmalfunction\nMali\nmalice\nmalicious\nmalign\nmalignant\nmall\nmallard\nmalleable\nmallet\nMallory\nmallow\nmalnourished\nmalnutrition\nmalocclusion\nMalone\nMaloney\nmalposed\nmalpractice\nMalraux\nmalt\nMalta\nMaltese\nMalton\nmaltreat\nmambo\nmamma\nmammal\nmammalian\nmammoth\nman\nmana\nmanage\nmanageable\nmanagerial\nManagua\nManama\nmanatee\nManchester\nmandamus\nmandarin\nmandate\nmandatory\nmandrake\nmandrel\nmandrill\nmane\nmaneuver\nManfred\nmanganese\nmange\nmangel\nmangle\nManhattan\nmanhole\nmanhood\nmania\nmaniac\nmaniacal\nmanic\nmanifest\nmanifestation\nmanifold\nmanikin\nManila\nmanipulable\nmanipulate\nManitoba\nmankind\nManley\nMann\nmanna\nmannequin\nmannerism\nmanning\nmanometer\nmanometric\nmanor\nmanpower\nMans\nmanse\nmanservant\nMansfield\nmansion\nmanslaughter\nmantel\nmantic\nmantis\nmantissa\nmantle\nmantlepiece\nmantrap\nmanual\nManuel\nmanufacture\nmanumission\nmanumit\nmanumitted\nmanure\nmanuscript\nManville\nmany\nmanzanita\nMao\nMaori\nmap\nmaple\nmapping\nmar\nmarathon\nmaraud\nmarble\nMarc\nMarceau\nMarcel\nMarcello\nmarch\nMarcia\nMarco\nMarcus\nMarcy\nMardi\nmare\nMargaret\nmargarine\nMargery\nmargin\nmarginal\nmarginalia\nMargo\nMarguerite\nmaria\nMarie\nMarietta\nmarigold\nmarijuana\nMarilyn\nmarimba\nMarin\nmarina\nmarinade\nmarinate\nmarine\nMarino\nMario\nMarion\nmarionette\nmarital\nmaritime\nMarjorie\nMarjory\nmark\nmarket\nmarketeer\nmarketplace\nmarketwise\nMarkham\nMarkov\nMarkovian\nMarks\nmarksman\nmarksmen\nMarlboro\nMarlborough\nMarlene\nmarlin\nMarlowe\nmarmalade\nmarmot\nmaroon\nmarque\nmarquee\nmarquess\nMarquette\nmarquis\nmarriage\nmarriageable\nmarried\nMarrietta\nmarring\nMarriott\nmarrow\nmarrowbone\nmarry\nMars\nMarseilles\nmarsh\nMarsha\nmarshal\nMarshall\nmarshland\nmarshmallow\nmart\nmarten\nMartha\nmartial\nMartian\nmartin\nMartinez\nmartingale\nmartini\nMartinique\nMartinson\nMarty\nmartyr\nmartyrdom\nmarvel\nmarvelous\nMarvin\nMarx\nMary\nMaryland\nmascara\nmasculine\nmaser\nMaseru\nmash\nmask\nmason\nMasonic\nMasonite\nmasonry\nmasque\nmasquerade\nmass\nMassachusetts\nmassacre\nmassage\nmasseur\nMassey\nmassif\nmassive\nmast\nmasterful\nmastermind\nmasterpiece\nmastery\nmastic\nmastiff\nmastodon\nmat\nmatch\nmatchbook\nmatchmake\nmate\nMateo\nmater\nmaterial\nmateriel\nmaternal\nmaternity\nmath\nmathematic\nmathematician\nMathematik\nMathews\nMathewson\nMathias\nMathieu\nMatilda\nmatinal\nmatinee\nmatins\nMatisse\nmatriarch\nmatriarchal\nmatrices\nmatriculate\nmatrimonial\nmatrimony\nmatrix\nmatroid\nmatron\nMatson\nmatte\nMatthew\nMatthews\nmatting\nmattock\nmattress\nMattson\nmaturate\nmature\nmaudlin\nmaul\nMaureen\nMaurice\nMaurine\nMauritania\nMauritius\nmausoleum\nmauve\nmaverick\nMavis\nmaw\nmawkish\nMawr\nMax\nmaxim\nmaxima\nmaximal\nMaximilian\nmaximum\nMaxine\nmaxwell\nMaxwellian\nmay\nMaya\nmayapple\nmaybe\nMayer\nMayfair\nMayflower\nmayhem\nMaynard\nMayo\nmayonnaise\nmayor\nmayoral\nmayst\nMazda\nmaze\nmazurka\nMBA\nMbabane\nMcAdams\nMcAllister\nMcBride\nMcCabe\nMcCall\nMcCann\nMcCarthy\nMcCarty\nMcCauley\nMcClain\nMcClellan\nMcClure\nMcCluskey\nMcConnel\nMcConnell\nMcCormick\nMcCoy\nMcCracken\nMcCullough\nMcDaniel\nMcDermott\nMcDonald\nMcDonnell\nMcDougall\nMcDowell\nMcElroy\nMcFadden\nMcFarland\nMcGee\nMcGill\nMcGinnis\nMcGovern\nMcGowan\nMcGrath\nMcGraw\nMcGregor\nMcGuire\nMcHugh\nMcIntosh\nMcIntyre\nMcKay\nMcKee\nMcKenna\nMcKenzie\nMcKeon\nMcKesson\nMcKinley\nMcKinney\nMcKnight\nMcLaughlin\nMcLean\nMcLeod\nMcMahon\nMcMillan\nMcMullen\nMcNally\nMcNaughton\nMcNeil\nMcPherson\nme\nmead\nmeadow\nmeadowland\nmeadowsweet\nmeager\nmeal\nmealtime\nmealy\nmean\nmeander\nmeaningful\nmeant\nmeantime\nmeanwhile\nmeasle\nmeasure\nmeat\nmeaty\nMecca\nmechanic\nmechanism\nmechanist\nmecum\nmedal\nmedallion\nmeddle\nMedea\nmedia\nmedial\nmedian\nmediate\nmedic\nmedicate\nMedici\nmedicinal\nmedicine\nmedico\nmediocre\nmediocrity\nmeditate\nMediterranean\nmedium\nmedley\nMedusa\nmeek\nmeet\nmeetinghouse\nMeg\nmegabit\nmegabyte\nmegahertz\nmegalomania\nmegalomaniac\nmegaton\nmegavolt\nmegawatt\nmegaword\nmegohm\nMeier\nMeistersinger\nMekong\nMel\nmelamine\nmelancholy\nMelanesia\nmelange\nMelanie\nmelanin\nmelanoma\nMelbourne\nMelcher\nmeld\nmelee\nMelinda\nmeliorate\nMelissa\nMellon\nmellow\nmelodic\nmelodious\nmelodrama\nmelodramatic\nmelody\nmelon\nMelpomene\nmelt\nMelville\nMelvin\nmember\nmembrane\nmemento\nmemo\nmemoir\nmemorabilia\nmemorable\nmemoranda\nmemorandum\nmemorial\nmemory\nMemphis\nmen\nmenace\nmenagerie\nmenarche\nmend\nmendacious\nmendacity\nmendelevium\nMendelssohn\nMenelaus\nmenfolk\nmenhaden\nmenial\nMenlo\nMennonite\nmenstruate\nmensurable\nmensuration\nmental\nmention\nmentor\nmenu\nMenzies\nMephistopheles\nmercantile\nMercator\nMercedes\nmercenary\nmercer\nmerchandise\nmerchant\nmerciful\nmercilessly\nMerck\nmercurial\nmercuric\nmercury\nmercy\nmere\nMeredith\nmeretricious\nmerganser\nmerge\nmeridian\nmeridional\nmeringue\nmerit\nmeritorious\nMerle\nmerlin\nmermaid\nMerriam\nMerrill\nMerrimack\nmerriment\nMerritt\nmerry\nmerrymake\nMervin\nmesa\nmescal\nmescaline\nmesenteric\nmesh\nmesmeric\nmeson\nMesozoic\nmesquite\nmess\nmessage\nmessenger\nMessiah\nmessieurs\nMessrs\nmessy\nmet\nmetabole\nmetabolic\nmetabolism\nmetabolite\nmetal\nmetallic\nmetalliferous\nmetallography\nmetalloid\nmetallurgic\nmetallurgy\nmetalwork\nmetamorphic\nmetamorphism\nmetamorphose\nmetamorphosis\nmetaphor\nmetaphoric\nMetcalf\nmete\nmeteor\nmeteoric\nmeteorite\nmeteoritic\nmeteorology\nmeter\nmethacrylate\nmethane\nmethod\nmethodic\nMethodism\nMethodist\nmethodology\nMethuen\nMethuselah\nmethyl\nmethylene\nmeticulous\nmetier\nmetric\nmetro\nmetronome\nmetropolis\nmetropolitan\nmettle\nmettlesome\nMetzler\nmew\nMexican\nMexico\nMeyer\nMeyers\nmezzo\nmi\nMiami\nmiasma\nmiasmal\nmica\nmice\nMichael\nMichaelangelo\nMichelangelo\nMichelin\nMichelson\nmichigan\nMickelson\nMickey\nMicky\nmicro\nmicrobial\nmicrocosm\nmicrography\nmicrojoule\nmicron\nMicronesia\nmicroscopy\nmid\nMidas\nmidband\nmidday\nmiddle\nMiddlebury\nmiddleman\nmiddlemen\nMiddlesex\nMiddleton\nMiddletown\nmiddleweight\nmidge\nmidget\nmidland\nmidmorn\nmidnight\nmidpoint\nmidrange\nmidscale\nmidsection\nmidshipman\nmidshipmen\nmidspan\nmidst\nmidstream\nmidway\nmidweek\nMidwest\nMidwestern\nmidwife\nmidwives\nmien\nmiff\nmig\nmight\nmightn't\nmighty\nmignon\nmigrant\nmigrate\nmigratory\nMiguel\nmike\nmila\nMilan\nmilch\nmild\nmildew\nMildred\nmile\nmileage\nMiles\nmilestone\nmilieu\nmilitant\nmilitarism\nmilitarist\nmilitary\nmilitate\nmilitia\nmilitiamen\nmilk\nmilkweed\nmilky\nmill\nMillard\nmillenarian\nmillenia\nmillennia\nmillennium\nmiller\nmillet\nmilliammeter\nmilliampere\nMillie\nmillihenry\nmillijoule\nMillikan\nmillinery\nmillion\nmillionaire\nmillionth\nmillipede\nmillisecond\nmillivolt\nmillivoltmeter\nmilliwatt\nMills\nmillstone\nmilord\nmilt\nMilton\nMiltonic\nMilwaukee\nmimeograph\nmimesis\nmimetic\nMimi\nmimic\nmimicked\nmimicking\nminaret\nmince\nmincemeat\nmind\nMindanao\nmindful\nmine\nminefield\nmineral\nmineralogy\nMinerva\nminesweeper\nmingle\nmini\nminiature\nminicomputer\nminim\nminima\nminimal\nminimax\nminimum\nminion\nministerial\nministry\nmink\nMinneapolis\nMinnesota\nMinnie\nminnow\nMinoan\nminor\nMinos\nminot\nMinsky\nminstrel\nminstrelsy\nmint\nminuend\nminuet\nminus\nminuscule\nminute\nminuteman\nminutemen\nminutiae\nMiocene\nMira\nmiracle\nmiraculous\nmirage\nMiranda\nmire\nMirfak\nMiriam\nmirror\nmirth\nmisanthrope\nmisanthropic\nmiscegenation\nmiscellaneous\nmiscellany\nmischievous\nmiscreant\nmiser\nmisery\nmisnomer\nmisogynist\nmisogyny\nmispronunciation\nmiss\nmisshapen\nmissile\nmission\nmissionary\nMississippi\nMississippian\nmissive\nMissoula\nMissouri\nMissy\nmist\nmistletoe\nmistress\nmisty\nMIT\nMitchell\nmite\nmiterwort\nmitigate\nmitral\nmitre\nmitt\nmitten\nmix\nmixture\nmixup\nMizar\nmnemonic\nmoan\nmoat\nmob\nmobbing\nmobcap\nMobil\nmobile\nmobility\nmobster\nmoccasin\nmock\nmockernut\nmockery\nmockingbird\nmockup\nmodal\nmode\nmodel\nmodem\nmoderate\nmodern\nmodest\nModesto\nmodesty\nmodicum\nmodify\nmodish\nmodular\nmodulate\nmodule\nmoduli\nmodulo\nmodulus\nMoe\nMoen\nMogadiscio\nMohammedan\nMohawk\nMohr\nmoiety\nMoines\nmoire\nMoiseyev\nmoist\nmoisten\nmoisture\nmolal\nmolar\nmolasses\nmold\nmoldboard\nmole\nmolecular\nmolecule\nmolehill\nmolest\nMoliere\nMoline\nMoll\nMollie\nmollify\nmollusk\nMolly\nmollycoddle\nMoloch\nmolt\nmolten\nMoluccas\nmolybdate\nmolybdenite\nmolybdenum\nmoment\nmomenta\nmomentary\nmomentous\nmomentum\nmommy\nMona\nMonaco\nmonad\nmonadic\nmonarch\nmonarchic\nmonarchy\nmonastery\nmonastic\nmonaural\nMonday\nmonel\nmonetarism\nmonetary\nmoney\nmoneymake\nmoneywort\nMongolia\nmongoose\nMonica\nmonies\nmonitor\nmonitory\nmonk\nmonkey\nmonkeyflower\nmonkish\nMonmouth\nMonoceros\nmonochromatic\nmonochromator\nmonocotyledon\nmonocular\nmonogamous\nmonogamy\nmonolith\nmonologist\nmonologue\nmonomer\nmonomeric\nmonomial\nMonongahela\nmonopoly\nmonotonous\nmonoxide\nMonroe\nMonrovia\nMonsanto\nmonsieur\nmonsoon\nmonster\nmonstrosity\nmonstrous\nMont\nmontage\nMontague\nMontana\nMontclair\nmonte\nMontenegrin\nMonterey\nMonteverdi\nMontevideo\nMontgomery\nmonth\nMonticello\nMontmartre\nMontpelier\nMontrachet\nMontreal\nMonty\nmonument\nmoo\nmood\nmoody\nmoon\nMooney\nmoonlight\nmoonlike\nmoonlit\nmoor\nMoore\nMoorish\nmoose\nmoot\nmop\nmopping\nmoraine\nmoral\nmorale\nMoran\nmorass\nmoratorium\nMoravia\nmorbid\nmore\nmorel\nMoreland\nmoreover\nMoresby\nMorgan\nmorgen\nmorgue\nMoriarty\nmoribund\nMorley\nMormon\nmorn\nMoroccan\nMorocco\nmoron\nmorose\nmorpheme\nmorphemic\nmorphine\nmorphology\nmorphophonemic\nMorrill\nmorris\nMorrison\nMorrissey\nMorristown\nmorrow\nMorse\nmorsel\nmort\nmortal\nmortar\nmortem\nmortgage\nmortgagee\nmortgagor\nmortician\nmortify\nmortise\nMorton\nmosaic\nMoscow\nMoser\nMoses\nMoslem\nmosque\nmosquito\nmoss\nmossy\nmost\nmot\nmotel\nmotet\nmoth\nmother\nmotherhood\nmotherland\nmotif\nmotion\nmotivate\nmotive\nmotley\nmotor\nmotorcycle\nMotorola\nmottle\nmotto\nmould\nMoulton\nmound\nmount\nmountain\nmountaineer\nmountainous\nmountainside\nmourn\nmournful\nmouse\nmoustache\nmousy\nmouth\nmouthful\nmouthpiece\nMouton\nmove\nmovie\nmow\nMoyer\nMozart\nMPH\nMr\nMrs\nMs\nm's\nmu\nmuch\nmucilage\nmuck\nmucosa\nmucus\nmud\nMudd\nmudding\nmuddle\nmuddlehead\nmuddy\nmudguard\nmudsling\nMueller\nmuezzin\nmuff\nmuffin\nmuffle\nmug\nmugging\nmuggy\nmugho\nMuir\nMukden\nmulatto\nmulberry\nmulch\nmulct\nmule\nmulish\nmull\nmullah\nmullein\nMullen\nmulligan\nmulligatawny\nmullion\nmulti\nmultinomial\nmultiple\nmultiplex\nmultiplexor\nmultipliable\nmultiplicand\nmultiplication\nmultiplicative\nmultiplicity\nmultiply\nmultitude\nmultitudinous\nmum\nmumble\nMumford\nmummy\nmunch\nMuncie\nmundane\nmung\nMunich\nmunicipal\nmunificent\nmunition\nMunson\nmuon\nMuong\nmural\nmurder\nmurderous\nmuriatic\nMuriel\nmurk\nmurky\nmurmur\nMurphy\nMurray\nmurre\nMuscat\nmuscle\nMuscovite\nMuscovy\nmuscular\nmusculature\nmuse\nmuseum\nmush\nmushroom\nmushy\nmusic\nmusicale\nmusician\nmusicology\nmusk\nMuskegon\nmuskellunge\nmusket\nmuskmelon\nmuskox\nmuskoxen\nmuskrat\nmuslim\nmuslin\nmussel\nmust\nmustache\nmustachio\nmustang\nmustard\nmustn't\nmusty\nmutandis\nmutant\nmutate\nmutatis\nmute\nmutilate\nmutineer\nmutiny\nmutt\nmutter\nmutton\nmutual\nmutuel\nMuzak\nMuzo\nmuzzle\nmy\nMycenae\nMycenaean\nmycobacteria\nmycology\nmyel\nmyeline\nmyeloid\nMyers\nmylar\nmynah\nMynheer\nmyocardial\nmyocardium\nmyofibril\nmyopia\nmyopic\nmyosin\nMyra\nmyriad\nMyron\nmyrrh\nmyrtle\nmyself\nmysterious\nmystery\nmystic\nmystify\nmystique\nmyth\nmythic\nmythology\nn\nNAACP\nnab\nnabbing\nNabisco\nNadine\nnadir\nnag\nNagasaki\nnagging\nNagoya\nNagy\nnaiad\nnail\nNair\nNairobi\nnaive\nnaivete\nnaked\nname\nnameable\nnameplate\nnamesake\nNan\nNancy\nNanette\nNanking\nnanosecond\nNantucket\nNaomi\nnap\nnapkin\nNaples\nNapoleon\nNapoleonic\nnapping\nNarbonne\nnarcissist\nnarcissus\nnarcosis\nnarcotic\nNarragansett\nnarrate\nnarrow\nnary\nNASA\nnasal\nnascent\nNash\nNashua\nNashville\nNassau\nnasturtium\nnasty\nNat\nnatal\nNatalie\nNatchez\nNathan\nNathaniel\nnation\nnationhood\nnationwide\nnative\nNATO\nnatty\nnatural\nnature\nnaturopath\nnaughty\nnausea\nnauseate\nnauseum\nnautical\nnautilus\nNavajo\nnaval\nnave\nnavel\nnavigable\nnavigate\nnavy\nnay\nNazarene\nNazareth\nNazi\nNazism\nNBC\nNBS\nNC\nNCAA\nNCR\nND\nNdjamena\nne\nNeal\nNeanderthal\nNeapolitan\nnear\nnearby\nnearest\nnearsighted\nneat\nneater\nneath\nNebraska\nnebula\nnebulae\nnebular\nnebulous\nnecessary\nnecessitate\nnecessity\nneck\nnecklace\nneckline\nnecktie\nnecromancer\nnecromancy\nnecromantic\nnecropsy\nnecrosis\nnecrotic\nnectar\nnectareous\nnectary\nNed\nnee\nneed\nneedful\nneedham\nneedle\nneedlepoint\nneedn't\nneedy\nNeff\nnegate\nneglect\nnegligee\nnegligent\nnegligible\nnegotiable\nnegotiate\nNegro\nNegroes\nNegroid\nNehru\nNeil\nneither\nNell\nNellie\nNelsen\nNelson\nnemesis\nneoclassic\nneodymium\nneolithic\nneologism\nneon\nneonatal\nneonate\nneophyte\nneoprene\nNepal\nnepenthe\nnephew\nNeptune\nneptunium\nnereid\nNero\nnerve\nnervous\nNess\nnest\nnestle\nNestor\nnet\nnether\nNetherlands\nnetherworld\nnetting\nnettle\nnettlesome\nnetwork\nNeumann\nneural\nneuralgia\nneurasthenic\nneuritis\nneuroanatomic\nneuroanatomy\nneuroanotomy\nneurology\nneuromuscular\nneuron\nneuronal\nneuropathology\nneurophysiology\nneuropsychiatric\nneuroses\nneurosis\nneurotic\nneuter\nneutral\nneutrino\nneutron\nNeva\nNevada\nneve\nnevertheless\nNevins\nnew\nNewark\nNewbold\nnewborn\nNewcastle\nnewcomer\nnewel\nNewell\nnewfound\nNewfoundland\nnewlywed\nNewman\nNewport\nnewsboy\nnewscast\nnewsletter\nnewsman\nnewsmen\nnewspaper\nnewspaperman\nnewspapermen\nnewsreel\nnewsstand\nNewsweek\nnewt\nnewton\nNewtonian\nnext\nNguyen\nNH\nNiagara\nNiamey\nnib\nnibble\nNibelung\nnibs\nNicaragua\nnice\nnicety\nniche\nNicholas\nNicholls\nNichols\nNicholson\nnichrome\nnick\nnickel\nnickname\nNicodemus\nNicosia\nnicotine\nniece\nNielsen\nNielson\nNietzsche\nNiger\nNigeria\nniggardly\nnigger\nniggle\nnigh\nnight\nnightcap\nnightclub\nnightdress\nnightfall\nnightgown\nnighthawk\nnightingale\nnightmare\nnightmarish\nnightshirt\nnighttime\nNIH\nnihilism\nnihilist\nNikko\nNikolai\nnil\nNile\nnilpotent\nnimble\nnimbus\nNIMH\nNina\nnine\nninebark\nninefold\nnineteen\nnineteenth\nninetieth\nninety\nNineveh\nninth\nNiobe\nniobium\nnip\nnipping\nnipple\nNippon\nnirvana\nnit\nnitpick\nnitrate\nnitric\nnitride\nnitrite\nnitrogen\nnitrogenous\nnitroglycerine\nnitrous\nnitty\nNixon\nNJ\nNM\nno\nNOAA\nNoah\nnob\nNobel\nnobelium\nnoble\nnobleman\nnoblemen\nnoblesse\nnobody\nnobody'd\nnocturnal\nnocturne\nnod\nnodal\nnodding\nnode\nnodular\nnodule\nNoel\nnoise\nnoisemake\nnoisy\nNolan\nNoll\nnolo\nnomenclature\nnominal\nnominate\nnominee\nnon\nnonce\nnonchalant\nnondescript\nnone\nnonetheless\nnonogenarian\nnonsensic\nnoodle\nnook\nnoon\nnoontime\nnoose\nnor\nNordhoff\nNordstrom\nNoreen\nNorfolk\nnorm\nNorma\nnormal\nnormalcy\nNorman\nNormandy\nnormative\nNorris\nnorth\nNorthampton\nnorthbound\nnortheast\nnortheastern\nnortherly\nnorthern\nnorthernmost\nnorthland\nNorthrop\nNorthrup\nNorthumberland\nnorthward\nnorthwest\nnorthwestern\nNorton\nNorwalk\nNorway\nNorwegian\nNorwich\nnose\nnosebag\nnosebleed\nnostalgia\nnostalgic\nNostradamus\nNostrand\nnostril\nnot\nnotarize\nnotary\nnotate\nnotch\nnote\nnotebook\nnoteworthy\nnothing\nnotice\nnoticeable\nnotify\nnotion\nnotoriety\nnotorious\nNottingham\nnotwithstanding\nNouakchott\nnoun\nnourish\nnouveau\nNov\nnova\nNovak\nnovel\nnovelty\nNovember\nnovice\nnovitiate\nnovo\nNovosibirsk\nnow\nnowaday\nnowhere\nnowise\nnoxious\nnozzle\nNRC\nn's\nNSF\nNTIS\nnu\nnuance\nNubia\nnubile\nnucleant\nnuclear\nnucleate\nnuclei\nnucleic\nnucleoli\nnucleolus\nnucleotide\nnucleus\nnuclide\nnude\nnudge\nnugatory\nnugget\nnuisance\nnull\nnullify\nnumb\nnumerable\nnumeral\nnumerate\nnumeric\nNumerische\nnumerology\nnumerous\nnuminous\nnumismatic\nnumismatist\nnun\nnuptial\nnurse\nnursery\nnurture\nnut\nnutate\nnutcrack\nnuthatch\nnutmeg\nnutria\nnutrient\nnutrition\nnutritious\nnutritive\nnutshell\nnutting\nnuzzle\nNY\nNYC\nnylon\nnymph\nnymphomania\nnymphomaniac\nNyquist\nNYU\no\noaf\noak\noaken\nOakland\nOakley\noakwood\noar\noases\noasis\noat\noath\noatmeal\nobduracy\nobdurate\nobedient\nobeisant\nobelisk\nOberlin\nobese\nobey\nobfuscate\nobfuscatory\nobituary\nobject\nobjectify\nobjectivity\nobjector\nobjet\nobligate\nobligatory\noblige\noblique\nobliterate\noblivion\noblivious\noblong\nobnoxious\noboe\noboist\nO'Brien\nobscene\nobscure\nobsequious\nobsequy\nobservant\nobservation\nobservatory\nobserve\nobsess\nobsession\nobsessive\nobsidian\nobsolescent\nobsolete\nobstacle\nobstinacy\nobstinate\nobstruct\nobtain\nobtrude\nobtrusive\nobverse\nobviate\nobvious\nocarina\noccasion\noccident\noccidental\noccipital\nocclude\nocclusion\nocclusive\noccult\noccultate\noccupant\noccupation\noccupy\noccur\noccurred\noccurrent\noccurring\nocean\nOceania\noceanic\noceanography\noceanside\nocelot\no'clock\nO'Connell\nO'Connor\nOct\noctagon\noctagonal\noctahedra\noctahedral\noctahedron\noctal\noctane\noctave\nOctavia\noctennial\noctet\noctile\noctillion\nOctober\noctogenarian\noctopus\noctoroon\nocular\nodd\node\nO'Dell\nOdessa\nOdin\nodious\nodium\nodometer\nO'Donnell\nodorous\nO'Dwyer\nOdysseus\nOdyssey\nOedipal\nOedipus\no'er\noersted\nof\noff\noffal\noffbeat\nOffenbach\noffend\noffensive\noffer\noffertory\noffhand\noffice\nofficeholder\nofficemate\nofficial\nofficialdom\nofficiate\nofficio\nofficious\noffing\noffload\noffsaddle\noffset\noffsetting\noffshoot\noffshore\noffspring\noffstage\noft\noften\noftentimes\nOgden\nogle\nogre\nogress\noh\nO'Hare\nOhio\nohm\nohmic\nohmmeter\noil\noilcloth\noilman\noilmen\noilseed\noily\noint\nOK\nOkay\nOkinawa\nOklahoma\nOlaf\nold\nolden\nOldenburg\nOldsmobile\noldster\noldy\noleander\nO'Leary\nolefin\noleomargarine\nOlga\noligarchic\noligarchy\noligoclase\noligopoly\nOlin\nolive\nOliver\nOlivetti\nOlivia\nolivine\nOlsen\nOlson\nOlympia\nOlympic\nOmaha\nOman\nomega\nomelet\nomen\nomicron\nominous\nomission\nomit\nomitted\nomitting\nomnibus\nomnipotent\nomnipresent\nomniscient\non\nonce\noncology\noncoming\none\nOneida\nonerous\noneself\nonetime\noneupmanship\nongoing\nonion\nonlooker\nonlooking\nonly\nOnondaga\nonrush\nonrushing\nonset\nonslaught\nOntario\nonto\nontogeny\nontology\nonus\nonward\nonyx\noodles\nooze\nopacity\nopal\nopalescent\nopaque\nOPEC\nOpel\nopen\nopera\noperable\noperand\noperant\noperate\noperatic\noperetta\nOphiucus\nopiate\nopinion\nopinionate\nopium\nopossum\nOppenheimer\nopponent\nopportune\nopposable\noppose\nopposite\nopposition\noppress\noppression\noppressive\noppressor\nopprobrium\nopt\nopthalmic\nopthalmologic\nopthalmology\noptic\noptima\noptimal\noptimism\noptimist\noptimistic\noptimum\noption\noptoacoustic\noptoisolate\noptometric\noptometrist\noptometry\nopulent\nopus\nor\noracle\noral\norange\norangeroot\norangutan\norate\noratoric\noratorio\noratory\norb\norbit\norbital\norchard\norchestra\norchestral\norchestrate\norchid\norchis\nordain\nordeal\norder\norderly\nordinal\nordinance\nordinary\nordinate\nordnance\nore\noregano\nOregon\nOresteia\nOrestes\norgan\norgandy\norganic\norganismic\norganometallic\norgasm\norgiastic\norgy\norient\noriental\norifice\norigin\noriginal\noriginate\nOrin\nOrinoco\noriole\nOrion\nOrkney\nOrlando\nOrleans\nornament\nornamentation\nornate\nornately\nornery\norographic\norography\nOrono\norphan\norphanage\nOrpheus\nOrphic\nOrr\nOrtega\northant\northicon\northoclase\northodontic\northodontist\northodox\northodoxy\northogonal\northography\northonormal\northopedic\northophosphate\northorhombic\nOrville\nOrwell\nOrwellian\no's\nOsaka\nOsborn\nOsborne\nOscar\noscillate\noscillatory\noscilloscope\nOsgood\nO'Shea\nOshkosh\nosier\nOsiris\nOslo\nosmium\nosmosis\nosmotic\nosprey\nosseous\nossify\nostensible\nostentatious\nosteology\nosteopath\nosteopathic\nosteopathy\nosteoporosis\nostracism\nostracod\nOstrander\nostrich\nO'Sullivan\nOswald\nOthello\nother\notherwise\notherworld\notherworldly\nOtis\nOtt\nOttawa\notter\nOtto\nOttoman\nOuagadougou\nouch\nought\noughtn't\nounce\nour\nourselves\noust\nout\noutermost\noutlandish\noutlawry\noutrageous\nouzel\nouzo\nova\noval\novary\novate\noven\novenbird\nover\noverhang\novert\noverture\nOvid\noviform\now\nowe\nOwens\nowing\nowl\nowly\nown\nox\noxalate\noxalic\noxcart\noxen\noxeye\nOxford\noxidant\noxidate\noxide\nOxnard\noxygen\noxygenate\noyster\nOzark\nozone\np\npa\nPablo\nPabst\npace\npacemake\npacesetting\npacific\npacifism\npacifist\npacify\npack\npackage\nPackard\npacket\npact\npad\npadding\npaddle\npaddock\npaddy\npadlock\npadre\npaean\npagan\npage\npageant\npageantry\npaginate\npagoda\npaid\npail\npain\nPaine\npainful\npainstaking\npaint\npaintbrush\npair\npairwise\nPakistan\nPakistani\npal\npalace\npalate\nPalatine\npalazzi\npalazzo\npale\nPaleolithic\nPaleozoic\nPalermo\nPalestine\npalette\npalfrey\npalindrome\npalindromic\npalisade\npall\npalladia\nPalladian\npalladium\npallet\npalliate\npallid\npalm\npalmate\npalmetto\nPalmolive\nPalmyra\nPalo\nPalomar\npalpable\npalsy\nPam\nPamela\npampa\npamper\npamphlet\npan\npanacea\npanama\npancake\nPancho\npanda\nPandanus\npandemic\npandemonium\npander\nPandora\npane\npanel\npang\npanic\npanicked\npanicky\npanicle\npanjandrum\npanning\npanoply\npanorama\npanoramic\npansy\npant\npantheism\npantheist\npantheon\npanther\npantomime\npantomimic\npantry\npanty\nPaoli\npap\npapa\npapal\npapaw\npaper\npaperback\npaperweight\npaperwork\npapery\npapillary\npapoose\nPappas\npappy\npaprika\nPapua\npapyri\npapyrus\npar\nparabola\nparabolic\nparaboloid\nparaboloidal\nparachute\nparade\nparadigm\nparadigmatic\nparadise\nparadox\nparadoxic\nparaffin\nparagon\nparagonite\nparagraph\nParaguay\nparakeet\nparalinguistic\nparallax\nparallel\nparallelepiped\nparalysis\nparamagnet\nparamagnetic\nparameter\nparametric\nparamilitary\nparamount\nParamus\nparanoia\nparanoiac\nparanoid\nparanormal\nparapet\nparaphernalia\nparaphrase\nparapsychology\nparasite\nparasitic\nparasol\nparasympathetic\nparatroop\nparaxial\nparboil\nparcel\nparch\npardon\npare\nparegoric\nparent\nparentage\nparental\nparentheses\nparenthesis\nparenthetic\nparenthood\nPareto\npariah\nparimutuel\nParis\nparish\nparishioner\nParisian\npark\nParke\nParkinson\nparkish\nparkland\nparklike\nParks\nparkway\nparlance\nparlay\nparley\nparliament\nparliamentarian\nparliamentary\nparochial\nparody\nparole\nparolee\nparquet\nParr\nParrish\nparrot\nparrotlike\nparry\nparse\nParsifal\nparsimonious\nparsimony\nparsley\nparsnip\nparson\nparsonage\nParsons\npart\npartake\nParthenon\npartial\nparticipant\nparticipate\nparticiple\nparticle\nparticular\nparticulate\npartisan\npartition\npartner\npartook\npartridge\nparty\nparvenu\nPasadena\nPascal\npaschal\npasha\nPaso\npass\npassage\npassageway\nPassaic\npassband\npasse\npassenger\npasser\npasserby\npassion\npassionate\npassivate\npassive\nPassover\npassport\npassword\npast\npaste\npasteboard\npastel\npasteup\nPasteur\npastiche\npastime\npastor\npastoral\npastry\npasture\npasty\npat\nPatagonia\npatch\npatchwork\npatchy\npate\npatent\npatentee\npater\npaternal\npaternoster\nPaterson\npath\npathetic\npathogen\npathogenesis\npathogenic\npathology\npathos\npathway\npatient\npatina\npatio\npatriarch\npatriarchal\npatriarchy\nPatrice\nPatricia\npatrician\nPatrick\npatrimonial\npatrimony\npatriot\npatriotic\npatristic\npatrol\npatrolled\npatrolling\npatrolman\npatrolmen\npatron\npatronage\npatroness\nPatsy\npattern\nPatterson\nPatti\npatting\nPatton\npatty\npaucity\nPaul\nPaula\nPaulette\nPauli\nPauline\nPaulo\nPaulsen\nPaulson\nPaulus\npaunch\npaunchy\npauper\npause\npavanne\npave\npavilion\nPavlov\npaw\npawn\npawnshop\nPawtucket\npax\npay\npaycheck\npayday\npaymaster\nPayne\npayoff\npayroll\nPaz\nPBS\npea\nPeabody\npeace\npeaceable\npeaceful\npeacemake\npeacetime\npeach\nPeachtree\npeacock\npeafowl\npeak\npeaky\npeal\nPeale\npeanut\npear\nPearce\npearl\npearlstone\nPearson\npeasant\npeasanthood\nPease\npeat\npebble\npecan\npeccary\npeck\nPecos\npectoral\npectoralis\npeculate\npeculiar\npecuniary\npedagogic\npedagogue\npedagogy\npedal\npedant\npedantic\npedantry\npeddle\npedestal\npedestrian\npediatric\npediatrician\npedigree\npediment\nPedro\npee\npeed\npeek\npeel\npeep\npeephole\npeepy\npeer\npeg\nPegasus\npegboard\npegging\nPeggy\npejorative\nPeking\nPelham\npelican\npellagra\npellet\npelt\npeltry\npelvic\npelvis\nPembroke\npemmican\npen\npenal\npenalty\npenance\npenates\npence\npenchant\npencil\npend\npendant\npendulum\nPenelope\npenetrable\npenetrate\npenguin\nPenh\npenicillin\npeninsula\npenitent\npenitential\npenitentiary\npenman\npenmen\nPenn\npenna\npennant\npenning\nPennsylvania\npenny\npennyroyal\nPenrose\nPensacola\npension\npensive\npent\npentagon\npentagonal\npentane\nPentecost\npentecostal\npenthouse\npenultimate\npenumbra\npenurious\npenury\npeony\npeople\nPeoria\npep\npeppergrass\npeppermint\npepperoni\npeppery\npepping\npeppy\nPepsi\nPepsiCo\npeptide\nper\nperceive\npercent\npercentage\npercentile\npercept\nperceptible\nperception\nperceptive\nperceptual\nperch\nperchance\nperchlorate\nPercival\npercolate\npercussion\npercussive\nPercy\nperdition\nperemptory\nperennial\nPerez\nperfect\nperfectible\nperfidious\nperfidy\nperforate\nperforce\nperform\nperformance\nperfume\nperfumery\nperfunctory\nperfusion\nPergamon\nperhaps\nPericlean\nPericles\nperidotite\nperihelion\nperil\nPerilla\nperilous\nperimeter\nperiod\nperiodic\nperipatetic\nperipheral\nperiphery\nperiphrastic\nperiscope\nperish\nperitectic\nperiwinkle\nperjure\nperjury\nperk\nPerkins\nperky\nPerle\npermalloy\npermanent\npermeable\npermeate\nPermian\npermissible\npermission\npermissive\npermit\npermitted\npermitting\npermutation\npermute\npernicious\nperoxide\nperpendicular\nperpetrate\nperpetual\nperpetuate\nperpetuity\nperplex\nperquisite\nPerry\npersecute\npersecution\npersecutory\nPerseus\nperseverance\npersevere\nPershing\nPersia\nPersian\npersiflage\npersimmon\npersist\npersistent\nperson\npersona\npersonage\npersonal\npersonify\npersonnel\nperspective\nperspicacious\nperspicous\nperspicuity\nperspicuous\nperspiration\nperspire\npersuade\npersuasion\npersuasive\npert\npertain\nPerth\npertinacious\npertinent\nperturb\nperturbate\nPeru\nperusal\nperuse\nPeruvian\npervade\npervasion\npervasive\nperverse\nperversion\npervert\npessimal\npessimism\npessimist\npessimum\npest\npeste\npesticide\npestilent\npestilential\npestle\npet\npetal\nPete\nPeter\nPeters\nPetersburg\nPetersen\nPeterson\npetit\npetite\npetition\npetrel\npetri\npetrify\npetrochemical\npetroglyph\npetrol\npetroleum\npetrology\npetticoat\npetting\npetty\npetulant\npetunia\nPeugeot\npew\npewee\npewter\npfennig\nPfizer\nphagocyte\nphalanger\nphalanx\nphalarope\nphantasy\nphantom\npharmaceutic\npharmacist\npharmacology\npharmacopoeia\npharmacy\nphase\nPhD\npheasant\nPhelps\nphenol\nphenolic\nphenomena\nphenomenal\nphenomenology\nphenomenon\nphenotype\nphenyl\nphi\nPhil\nPhiladelphia\nphilanthrope\nphilanthropic\nphilanthropy\nphilharmonic\nPhilip\nPhilippine\nPhilistine\nPhillips\nphilodendron\nphilology\nphilosoph\nphilosophic\nphilosophy\nPhipps\nphloem\nphlox\nphobic\nphoebe\nPhoenicia\nphoenix\nphon\nphone\nphoneme\nphonemic\nphonetic\nphonic\nphonograph\nphonology\nphonon\nphony\nphosgene\nphosphate\nphosphide\nphosphine\nphosphor\nphosphoresce\nphosphorescent\nphosphoric\nphosphorus\nphoto\nphotogenic\nphotography\nphotolysis\nphotolytic\nphotometric\nphotometry\nphoton\nphrase\nphrasemake\nphraseology\nphthalate\nphycomycetes\nphyla\nPhyllis\nphylogeny\nphysic\nphysician\nPhysik\nphysiochemical\nphysiognomy\nphysiology\nphysiotherapist\nphysiotherapy\nphysique\nphytoplankton\npi\npianissimo\npianist\npiano\npiazza\npica\nPicasso\npicayune\nPiccadilly\npiccolo\npick\npickaxe\npickerel\nPickering\npicket\nPickett\nPickford\npickle\nPickman\npickoff\npickup\npicky\npicnic\npicnicked\npicnicker\npicnicking\npicofarad\npicojoule\npicosecond\npictorial\npicture\npicturesque\npiddle\npidgin\npie\npiece\npiecemeal\npiecewise\nPiedmont\npier\npierce\nPierre\nPierson\npietism\npiety\npiezoelectric\npig\npigeon\npigeonberry\npigeonfoot\npigeonhole\npigging\npiggish\npiggy\npigment\npigmentation\npigpen\npigroot\npigskin\npigtail\npike\nPilate\npile\npilewort\npilfer\npilferage\npilgrim\npilgrimage\npill\npillage\npillar\npillory\npillow\nPillsbury\npilot\npimp\npimple\npin\npinafore\npinball\npinch\npincushion\npine\npineapple\nPinehurst\nping\npinhead\npinhole\npinion\npink\npinkie\npinkish\npinnacle\npinnate\npinning\npinochle\npinpoint\npinscher\nPinsky\npint\npintail\npinto\npinwheel\npinxter\npion\npioneer\npious\npip\npipe\npipeline\nPiper\npipette\npipsissewa\npiquant\npique\npiracy\nPiraeus\npirate\npirogue\npirouette\nPiscataway\nPisces\npiss\npistachio\npistol\npistole\npiston\npit\npitch\npitchblende\npitchfork\npitchstone\npiteous\npitfall\npith\npithy\npitiable\npitiful\npitilessly\npitman\nPitney\nPitt\npitting\nPittsburgh\nPittsfield\nPittston\npituitary\npity\nPius\npivot\npivotal\npixel\npixy\npizza\npizzicato\nplacate\nplacater\nplace\nplaceable\nplacebo\nplaceholder\nplacenta\nplacental\nplacid\nplagiarism\nplagiarist\nplagioclase\nplague\nplagued\nplaguey\nplaid\nplain\nPlainfield\nplaintiff\nplaintive\nplan\nplanar\nPlanck\nplane\nplaneload\nplanet\nplanetaria\nplanetarium\nplanetary\nplanetesimal\nplanetoid\nplank\nplankton\nplanning\nplanoconcave\nplanoconvex\nplant\nplantain\nplantation\nplaque\nplasm\nplasma\nplasmon\nplaster\nplastic\nplastisol\nplastron\nplat\nplate\nplateau\nplatelet\nplaten\nplatform\nplatinize\nplatinum\nplatitude\nplatitudinous\nPlato\nplatonic\nPlatonism\nPlatonist\nplatoon\nPlatte\nplatting\nplausible\nplay\nplaya\nplayback\nplayboy\nplayful\nplayground\nplayhouse\nplaymate\nplayoff\nplayroom\nplaytime\nplaywright\nplaywriting\nplaza\nplea\nplead\npleasant\nplease\npleasure\npleat\nplebeian\nplebian\npledge\nPleiades\nPleistocene\nplenary\nplenipotentiary\nplenitude\nplentiful\nplenty\nplenum\nplethora\npleura\npleural\nPlexiglas\npliable\npliancy\npliant\npliers\nplight\nPliny\nPliocene\nplod\nplodding\nplop\nplopping\nplot\nplotting\nplover\nplow\nplowman\nplowshare\npluck\nplucky\nplug\npluggable\nplugging\nplum\nplumage\nplumb\nplumbago\nplumbate\nplume\nplummet\nplump\nplunder\nplunge\nplunk\nplural\nplus\nplush\nplushy\nPlutarch\nPluto\nplutonium\nply\nPlymouth\nplyscore\nplywood\nPM\npneumatic\npneumonia\nPo\npoach\npocket\npocketbook\npocketful\nPocono\npod\npodge\npodia\npodium\nPoe\npoem\npoesy\npoet\npoetic\npoetry\npogo\npogrom\npoi\npoignant\nPoincare\npoinsettia\npoint\npoise\npoison\npoisonous\nPoisson\npoke\npokerface\npol\nPoland\npolar\npolarimeter\npolarimetry\nPolaris\npolariscope\npolariton\npolarogram\npolarograph\npolarography\nPolaroid\npolaron\npole\npolecat\npolemic\npolice\npoliceman\npolicemen\npolicy\npolio\npolis\npolish\nPolitburo\npolite\npolitic\npolitician\npoliticking\npolitico\npolity\nPolk\npolka\npoll\nPollard\npollcadot\npollen\npollock\npolloi\npollutant\npollute\npollution\nPollux\npolo\npolonaise\npolonium\npolopony\npolygon\npolygonal\npolygynous\npolyhedra\npolyhedral\npolyhedron\nPolyhymnia\npolymer\npolymerase\npolymeric\npolymorph\npolymorphic\npolynomial\nPolyphemus\npolyphony\npolypropylene\npolytechnic\npolytope\npolytypy\npomade\npomegranate\nPomona\npomp\npompadour\npompano\nPompeii\npompey\npompon\npomposity\npompous\nPonce\nPonchartrain\nponcho\npond\nponder\nponderous\npong\npont\nPontiac\npontiff\npontific\npontificate\npony\npooch\npoodle\npooh\npool\nPoole\npoop\npoor\npop\npope\npopish\npoplar\npoplin\npopping\npoppy\npopulace\npopular\npopulate\npopulous\nporcelain\nporch\nporcine\nporcupine\npore\npork\npornographer\npornography\nporosity\nporous\nporphyry\nporpoise\nporridge\nport\nportage\nportal\nPorte\nportend\nportent\nportentous\nporterhouse\nportfolio\nPortia\nportico\nportland\nportmanteau\nPorto\nportrait\nportraiture\nportray\nportrayal\nPortsmouth\nPortugal\nPortuguese\nportulaca\npose\nPoseidon\nposeur\nposey\nposh\nposit\nposition\npositive\npositron\nposse\nposseman\npossemen\npossess\npossession\npossessive\npossessor\npossible\npossum\npost\npostage\npostal\npostcard\npostcondition\npostdoctoral\nposterior\nposteriori\nposterity\npostfix\npostgraduate\nposthumous\npostlude\npostman\npostmark\npostmaster\npostmen\npostmortem\npostmultiply\npostoperative\npostorder\npostpone\npostprocess\npostprocessor\npostscript\npostulate\nposture\npostwar\nposy\npot\npotable\npotash\npotassium\npotato\npotatoes\npotbelly\npotboil\npotent\npotentate\npotential\npotentiometer\npothole\npotion\npotlatch\nPotomac\npotpourri\npottery\npotting\nPotts\npouch\nPoughkeepsie\npoultice\npoultry\npounce\npound\npour\npout\npoverty\npow\npowder\npowderpuff\npowdery\nPowell\npower\npowerful\nPowers\nPoynting\nppm\npracticable\npractical\npractice\npractise\npractitioner\nPrado\npragmatic\npragmatism\npragmatist\nPrague\nprairie\npraise\npraiseworthy\npram\nprance\nprank\npraseodymium\nPratt\nPravda\npray\nprayer\nprayerful\npreach\npreachy\npreamble\nPrecambrian\nprecarious\nprecaution\nprecautionary\nprecede\nprecedent\nprecept\nprecess\nprecession\nprecinct\nprecious\nprecipice\nprecipitable\nprecipitate\nprecipitous\nprecise\nprecision\npreclude\nprecocious\nprecocity\nprecursor\npredatory\npredecessor\npredicament\npredicate\npredict\npredictor\npredilect\npredispose\npredisposition\npredominant\npredominate\npreeminent\npreempt\npreemption\npreemptive\npreemptor\npreen\nprefab\nprefabricate\npreface\nprefatory\nprefect\nprefecture\nprefer\npreference\npreferential\npreferred\npreferring\nprefix\npregnant\nprehistoric\nprejudice\nprejudicial\npreliminary\nprelude\npremature\npremeditate\npremier\npremiere\npremise\npremium\npremonition\npremonitory\nPrentice\npreoccupy\nprep\npreparation\npreparative\npreparatory\nprepare\npreponderant\npreponderate\npreposition\npreposterous\nprepping\nprerequisite\nprerogative\npresage\nPresbyterian\nPrescott\nprescribe\nprescript\nprescription\nprescriptive\npresence\npresent\npresentation\npresentational\npreservation\npreserve\npreside\npresident\npresidential\npress\npressure\nprestidigitate\nprestige\nprestigious\npresto\nPreston\npresume\npresumed\npresuming\npresumption\npresumptive\npresumptuous\npresuppose\npresupposition\npretend\npretense\npretension\npretentious\npretext\nPretoria\npretty\nprevail\nprevalent\nprevent\nprevention\npreventive\npreview\nprevious\nprexy\nprey\nPriam\nprice\nprick\nprickle\npride\npriest\nPriestley\nprig\npriggish\nprim\nprima\nprimacy\nprimal\nprimary\nprimate\nprime\nprimeval\nprimitive\nprimitivism\nprimp\nprimrose\nprince\nprincess\nPrinceton\nprincipal\nPrincipia\nprinciple\nprint\nprintmake\nprintout\nprior\npriori\npriory\nPriscilla\nprism\nprismatic\nprison\nprissy\npristine\nPritchard\nprivacy\nprivate\nprivet\nprivilege\nprivy\nprize\nprizewinning\npro\nprobabilist\nprobate\nprobe\nprobity\nproblem\nproblematic\nprocaine\nprocedural\nprocedure\nproceed\nprocess\nprocession\nprocessor\nproclaim\nproclamation\nproclivity\nprocrastinate\nprocreate\nprocrustean\nProcrustes\nProcter\nproctor\nprocure\nProcyon\nprod\nprodding\nprodigal\nprodigious\nprodigy\nproduce\nproducible\nproduct\nproductivity\nProf\nprofane\nprofess\nprofession\nprofessional\nprofessor\nprofessorial\nproffer\nproficient\nprofile\nprofit\nprofligate\nprofound\nprofundity\nprofuse\nprofusion\nprogenitor\nprogeny\nprognosis\nprognosticate\nprogrammable\nprogrammed\nprogrammer\nprogramming\nprogress\nprogression\nprogressive\nprohibit\nprohibition\nprohibitive\nprohibitory\nproject\nprojectile\nprojector\nProkofieff\nprolate\nproletariat\nproliferate\nprolific\nprolix\nprologue\nprolong\nprolongate\nprolusion\npromenade\nPromethean\nPrometheus\npromethium\nprominent\npromiscuous\npromise\npromote\npromotion\nprompt\npromptitude\npromulgate\nprone\nprong\npronoun\npronounce\npronounceable\npronto\npronunciation\nproof\nproofread\nprop\npropaganda\npropagandist\npropagate\npropane\npropel\npropellant\npropelled\npropeller\npropelling\npropensity\nproper\nproperty\nprophecy\nprophesy\nprophet\nprophetic\npropionate\npropitiate\npropitious\nproponent\nproportion\nproportionate\npropos\nproposal\npropose\nproposition\npropping\nproprietary\nproprietor\npropriety\nproprioception\nproprioceptive\npropulsion\npropyl\npropylene\nprorate\nprorogue\nprosaic\nproscenium\nproscribe\nproscription\nprose\nprosecute\nprosecution\nprosecutor\nProserpine\nprosodic\nprosody\nprosopopoeia\nprospect\nprospector\nprospectus\nprosper\nprosperous\nprostate\nprosthetic\nprostitute\nprostitution\nprostrate\nprotactinium\nprotagonist\nprotean\nprotease\nprotect\nprotector\nprotectorate\nprotege\nprotein\nproteolysis\nproteolytic\nprotest\nprotestant\nprotestation\nprothonotary\nprotocol\nproton\nprotoplasm\nprotoplasmic\nprototype\nprototypic\nProtozoa\nprotozoan\nprotract\nprotrude\nprotrusion\nprotrusive\nprotuberant\nproud\nProust\nprove\nproven\nprovenance\nproverb\nproverbial\nprovide\nprovident\nprovidential\nprovince\nprovincial\nprovision\nprovisional\nproviso\nprovocateur\nprovocation\nprovocative\nprovoke\nprovost\nprow\nprowess\nprowl\nproximal\nproximate\nproximity\nproxy\nprudent\nprudential\nprune\nprurient\nPrussia\npry\np's\npsalm\npsalter\npseudo\npsi\npsych\npsyche\npsychiatric\npsychiatrist\npsychiatry\npsychic\npsycho\npsychoacoustic\npsychoanalysis\npsychoanalyst\npsychoanalytic\npsychobiology\npsychology\npsychometric\npsychometry\npsychopath\npsychopathic\npsychophysic\npsychophysical\npsychophysics\npsychophysiology\npsychopomp\npsychoses\npsychosis\npsychosomatic\npsychotherapeutic\npsychotherapist\npsychotherapy\npsychotic\npsyllium\nPTA\nptarmigan\nPtolemaic\nPtolemy\npub\npuberty\npubescent\npublic\npublication\npublish\nPuccini\npuck\npuckish\npudding\npuddingstone\npuddle\npuddly\npueblo\npuerile\nPuerto\npuff\npuffball\npuffed\npuffery\npuffin\npuffy\npug\nPugh\npuissant\npuke\nPulaski\nPulitzer\npull\npulley\nPullman\npullover\npulmonary\npulp\npulpit\npulsar\npulsate\npulse\npulverable\npuma\npumice\npummel\npump\npumpkin\npumpkinseed\npun\npunch\npunctual\npunctuate\npuncture\npundit\npunditry\npungent\nPunic\npunish\npunitive\npunk\npunky\npunning\npunster\npunt\npuny\npup\npupal\npupate\npupil\npuppet\npuppeteer\npuppy\npuppyish\nPurcell\npurchasable\npurchase\nPurdue\npure\npurgation\npurgative\npurgatory\npurge\npurify\nPurina\nPuritan\npuritanic\npurl\npurloin\npurple\npurport\npurpose\npurposeful\npurposive\npurr\npurse\npurslane\npursuant\npursue\npursuer\npursuit\npurvey\npurveyor\npurview\npus\nPusan\nPusey\npush\npushbutton\npussy\npussycat\nput\nputative\nPutnam\nputt\nputty\npuzzle\nPVC\nPygmalion\npygmy\nPyhrric\npyknotic\nPyle\nPyongyang\npyracanth\npyramid\npyramidal\npyre\nPyrex\npyridine\npyrite\npyroelectric\npyrolyse\npyrolysis\npyrometer\npyrometry\npyrophosphate\npyrotechnic\npyroxene\npyroxenite\nPythagoras\nPythagorean\npython\nq\nQatar\nQED\nq's\nqua\nquack\nquackery\nquad\nquadrangle\nquadrangular\nquadrant\nquadratic\nquadrature\nquadrennial\nquadric\nquadriceps\nquadrilateral\nquadrille\nquadrillion\nquadripartite\nquadrivium\nquadruple\nquadrupole\nquaff\nquagmire\nquahog\nquail\nquaint\nquake\nQuakeress\nqualified\nqualify\nqualitative\nquality\nqualm\nquandary\nquanta\nQuantico\nquantify\nquantile\nquantitative\nquantity\nquantum\nquarantine\nquark\nquarrel\nquarrelsome\nquarry\nquarryman\nquarrymen\nquart\nquarterback\nquartermaster\nquartet\nquartic\nquartile\nquartz\nquartzite\nquasar\nquash\nquasi\nquasiparticle\nquaternary\nquatrain\nquaver\nquay\nqueasy\nQuebec\nqueen\nqueer\nquell\nquench\nquerulous\nquery\nquest\nquestion\nquestionnaire\nquetzal\nqueue\nQuezon\nquibble\nquick\nquicken\nquickie\nquicklime\nquicksand\nquicksilver\nquickstep\nquiescent\nquiet\nquietus\nquill\nquillwort\nquilt\nquince\nquinine\nQuinn\nquint\nquintet\nquintic\nquintillion\nquintus\nquip\nquipping\nQuirinal\nquirk\nquirky\nquirt\nquit\nquite\nQuito\nquitting\nquiver\nQuixote\nquixotic\nquiz\nquizzical\nquo\nquod\nquonset\nquorum\nquota\nquotation\nquote\nquotient\nr\nrabat\nrabbet\nrabbi\nrabbit\nrabble\nrabid\nrabies\nRabin\nraccoon\nrace\nracetrack\nraceway\nRachel\nRachmaninoff\nracial\nrack\nracket\nracketeer\nrackety\nracy\nradar\nRadcliffe\nradial\nradian\nradiant\nradiate\nradical\nradices\nradii\nradio\nradioactive\nradioastronomy\nradiocarbon\nradiochemical\nradiochemistry\nradiography\nradiology\nradiometer\nradiometric\nradiometry\nradiophysics\nradiosonde\nradiosterilize\nradiotherapy\nradish\nradium\nradius\nradix\nradon\nRae\nRafael\nRafferty\nraffia\nraffish\nraft\nrag\nrage\nragging\nragout\nragweed\nraid\nrail\nrailbird\nrailhead\nraillery\nrailroad\nrailway\nrain\nrainbow\nraincoat\nraindrop\nrainfall\nrainstorm\nrainy\nraise\nraisin\nraj\nrajah\nrake\nrakish\nRaleigh\nrally\nRalph\nRalston\nram\nRamada\nRaman\nramble\nramify\nramming\nRamo\nramp\nrampage\nrampant\nrampart\nramrod\nRamsey\nran\nranch\nrancho\nrancid\nrancorous\nRand\nRandall\nRandolph\nrandom\nrandy\nrang\nrange\nrangeland\nRangoon\nrangy\nRanier\nrank\nRankin\nrankle\nransack\nransom\nrant\nRaoul\nrap\nrapacious\nrape\nRaphael\nrapid\nrapier\nrapping\nrapport\nrapprochement\nrapt\nrapture\nrare\nrarefy\nRaritan\nrarity\nrasa\nrascal\nrash\nRasmussen\nrasp\nraspberry\nraster\nRastus\nrat\nrata\nrate\nrater\nrather\nratify\nratio\nratiocinate\nrationale\nrattail\nrattle\nrattlesnake\nraucous\nravage\nrave\nravel\nraven\nravenous\nravine\nravish\nraw\nrawboned\nrawhide\nRawlinson\nray\nRayleigh\nRaymond\nRaytheon\nraze\nrazor\nrazorback\nRCA\nR&D\nre\nreach\nreactant\nreactionary\nread\nreadout\nready\nReagan\nreagent\nreal\nrealisable\nrealm\nrealtor\nrealty\nream\nreap\nrear\nreason\nreave\nreb\nRebecca\nrebel\nrebelled\nrebelling\nrebellion\nrebellious\nrebuke\nrebut\nrebuttal\nrebutted\nrebutting\nrecalcitrant\nrecant\nrecappable\nrecede\nreceipt\nreceive\nrecent\nreceptacle\nreception\nreceptive\nreceptor\nrecess\nrecession\nrecessive\nrecherche\nRecife\nrecipe\nrecipient\nreciprocal\nreciprocate\nreciprocity\nrecital\nrecitative\nreck\nreckon\nreclamation\nrecline\nrecluse\nrecompense\nreconcile\nrecondite\nreconnaissance\nrecord\nrecoup\nrecourse\nrecovery\nrecriminate\nrecruit\nrectangle\nrectangular\nrectifier\nrectify\nrectilinear\nrectitude\nrector\nrectory\nrecumbent\nrecuperate\nrecur\nrecurred\nrecurrent\nrecurring\nrecursion\nrecursive\nrecusant\nrecuse\nred\nredact\nredactor\nredbird\nredbud\nredcoat\nredden\nreddish\nredeem\nredemption\nredemptive\nredhead\nRedmond\nredneck\nredound\nredpoll\nredshank\nredstart\nRedstone\nredtop\nreduce\nreducible\nreduct\nredundant\nredwood\nreed\nreedbuck\nreedy\nreef\nreek\nreel\nReese\nreeve\nReeves\nrefectory\nrefer\nreferee\nrefereeing\nreferenda\nreferendum\nreferent\nreferential\nreferral\nreferred\nreferring\nrefinery\nreflect\nreflectance\nreflector\nreflexive\nreforestation\nreformatory\nrefract\nrefractometer\nrefractory\nrefrain\nrefrigerate\nrefuge\nrefugee\nrefusal\nrefutation\nrefute\nregal\nregale\nregalia\nregard\nregatta\nregent\nregime\nregimen\nregiment\nregimentation\nRegina\nReginald\nregion\nregional\nRegis\nregistrable\nregistrant\nregistrar\nregistration\nregistry\nregress\nregression\nregret\nregretful\nregrettable\nregretted\nregretting\nregular\nregulate\nregulatory\nRegulus\nrehabilitate\nrehearsal\nrehearse\nReich\nReid\nreign\nReilly\nreimbursable\nreimburse\nrein\nreindeer\nreinforce\nReinhold\nreinstate\nreject\nrejoice\nrejoinder\nrelate\nrelax\nrelaxation\nrelay\nreleasable\nrelevant\nreliable\nreliant\nrelic\nrelict\nrelief\nrelieve\nreligion\nreligiosity\nreligious\nrelinquish\nreliquary\nrelish\nreluctant\nremainder\nreman\nremand\nremark\nRembrandt\nremediable\nremedial\nremedy\nremember\nremembrance\nRemington\nreminisce\nreminiscent\nremiss\nremission\nremit\nremittance\nremitted\nremitting\nremnant\nremonstrate\nremorse\nremorseful\nremote\nremoval\nremunerate\nRemus\nRena\nrenaissance\nrenal\nRenault\nrend\nrender\nrendezvous\nrendition\nrenegotiable\nrenewal\nRenoir\nrenounce\nrenovate\nrenown\nRensselaer\nrent\nrental\nrenunciate\nrep\nrepairman\nrepairmen\nreparation\nrepartee\nrepeal\nrepeat\nrepeater\nrepel\nrepelled\nrepellent\nrepelling\nrepent\nrepentant\nrepertoire\nrepertory\nrepetition\nrepetitious\nrepetitive\nreplaceable\nreplenish\nreplete\nreplica\nreplicate\nreport\nreportorial\nrepository\nreprehensible\nrepresentative\nrepression\nrepressive\nreprieve\nreprimand\nreprisal\nreprise\nreproach\nreptile\nreptilian\nrepublic\nrepublican\nrepudiate\nrepugnant\nrepulsion\nrepulsive\nreputation\nrepute\nrequest\nrequire\nrequisite\nrequisition\nrequited\nreredos\nrescind\nrescue\nresemblant\nresemble\nresent\nresentful\nreserpine\nreservation\nreserve\nreservoir\nreside\nresident\nresidential\nresidual\nresiduary\nresidue\nresiduum\nresign\nresignation\nresilient\nresin\nresinlike\nresiny\nresist\nresistant\nresistible\nresistive\nresistor\nresolute\nresolution\nresolve\nresonant\nresonate\nresorcinol\nresort\nresourceful\nrespect\nrespectful\nrespiration\nrespirator\nrespiratory\nrespire\nrespite\nresplendent\nrespond\nrespondent\nresponse\nresponsible\nresponsive\nrest\nrestaurant\nrestaurateur\nrestful\nrestitution\nrestive\nrestoration\nrestorative\nrestrain\nrestraint\nrestrict\nrestroom\nresult\nresultant\nresume\nresuming\nresumption\nresurgent\nresurrect\nresuscitate\nret\nretail\nretain\nretaliate\nretaliatory\nretard\nretardant\nretardation\nretch\nretention\nretentive\nreticent\nreticulate\nreticulum\nretina\nretinal\nretinue\nretire\nretiree\nretort\nretract\nretribution\nretrieval\nretrieve\nretroactive\nretrofit\nretrofitting\nretrograde\nretrogress\nretrogressive\nretrorocket\nretrospect\nretrovision\nreturn\nReub\nReuben\nReuters\nreveal\nrevel\nrevelation\nrevelatory\nrevelry\nrevenge\nrevenue\nrever\nreverberate\nrevere\nreverend\nreverent\nreverie\nreversal\nreverse\nreversible\nreversion\nrevert\nrevertive\nrevery\nrevet\nrevile\nrevisable\nrevisal\nrevise\nrevision\nrevisionary\nrevival\nrevive\nrevocable\nrevoke\nrevolt\nrevolution\nrevolutionary\nrevolve\nrevulsion\nrevved\nrevving\nreward\nRex\nReykjavik\nReynolds\nrhapsodic\nrhapsody\nRhea\nRhenish\nrhenium\nrheology\nrheostat\nrhesus\nrhetoric\nrhetorician\nrheum\nrheumatic\nrheumatism\nRhine\nrhinestone\nrhino\nrhinoceros\nrho\nRhoda\nRhode\nRhodes\nRhodesia\nrhodium\nrhododendron\nrhodolite\nrhodonite\nrhombi\nrhombic\nrhombus\nrhubarb\nrhyme\nrhythm\nrhythmic\nrib\nribald\nribbing\nribbon\nriboflavin\nribonucleic\nRica\nrice\nrich\nRichard\nRichards\nRichardson\nRichfield\nRichmond\nRichter\nrick\nrickets\nRickettsia\nrickety\nrickshaw\nRico\nricochet\nrid\nriddance\nridden\nridding\nriddle\nride\nridge\nridgepole\nRidgway\nridicule\nridiculous\nRiemann\nriffle\nrifle\nrifleman\nriflemen\nrift\nrig\nRigel\nrigging\nRiggs\nright\nrighteous\nrightful\nrightmost\nrightward\nrigid\nrigorous\nRiley\nrill\nrilly\nrim\nrime\nrimming\nrimy\nRinehart\nring\nringlet\nringside\nrink\nrinse\nRio\nRiordan\nriot\nriotous\nrip\nriparian\nripe\nripen\nRipley\nripoff\nripping\nripple\nrise\nrisen\nrisible\nrisk\nrisky\nRitchie\nrite\nRitter\nritual\nRitz\nrival\nrivalry\nriven\nriver\nriverbank\nriverfront\nriverine\nriverside\nrivet\nRiviera\nrivulet\nRiyadh\nroach\nroad\nroadbed\nroadblock\nroadhouse\nroadside\nroadster\nroadway\nroam\nroar\nroast\nrob\nrobbery\nrobbin\nrobbing\nRobbins\nrobe\nRobert\nRoberta\nRoberto\nRoberts\nRobertson\nrobin\nRobinson\nrobot\nrobotics\nrobust\nRochester\nrock\nrockabye\nrockaway\nrockbound\nRockefeller\nrocket\nRockford\nRockies\nRockland\nrocklike\nRockwell\nrocky\nrococo\nrod\nrode\nrodent\nrodeo\nRodgers\nRodney\nRodriguez\nroe\nroebuck\nRoentgen\nRoger\nRogers\nrogue\nroil\nroister\nRoland\nrole\nroll\nrollback\nrollick\nRollins\nRoman\nromance\nRomano\nromantic\nRome\nRomeo\nromp\nRomulus\nRon\nRonald\nrondo\nRonnie\nrood\nroof\nrooftop\nrooftree\nrook\nrookie\nrooky\nroom\nroomful\nroommate\nroomy\nRoosevelt\nRooseveltian\nroost\nroot\nrope\nRosa\nRosalie\nrosary\nrose\nrosebud\nrosebush\nRoseland\nrosemary\nRosen\nRosenberg\nRosenblum\nRosenthal\nRosenzweig\nrosette\nRoss\nroster\nrostrum\nrosy\nrot\nRotarian\nrotary\nrotate\nROTC\nrotenone\nRoth\nrotogravure\nrotor\nrototill\nrotten\nrotting\nrotund\nrotunda\nrouge\nrough\nroughcast\nroughen\nroughish\nroughneck\nroughshod\nroulette\nround\nroundabout\nroundhead\nroundhouse\nroundoff\nroundtable\nroundup\nroundworm\nrouse\nRousseau\nroustabout\nrout\nroute\nroutine\nrove\nrow\nrowboat\nrowdy\nRowe\nRowena\nRowland\nRowley\nRoy\nroyal\nroyalty\nRoyce\nRPM\nr's\nRSVP\nRuanda\nrub\nrubbery\nrubbing\nrubbish\nrubble\nrubdown\nRube\nRuben\nrubicund\nrubidium\nrubric\nruby\nruckus\nrudder\nruddy\nrude\nrudiment\nrudimentary\nRudolf\nRudolph\nRudy\nRudyard\nrue\nrueful\nruffian\nruffle\nrufous\nRufus\nrug\nruin\nruinous\nrule\nrum\nRumania\nrumble\nrumen\nRumford\nruminant\nrummage\nrummy\nrump\nrumple\nrumpus\nrun\nrunabout\nrunaway\nrundown\nrune\nrung\nRunge\nrunic\nrunneth\nrunning\nRunnymede\nrunoff\nrunt\nrunty\nrunway\nRunyon\nrupee\nrupture\nrural\nruse\nrush\nRushmore\nrusk\nRuss\nRussell\nrusset\nRussia\nRusso\nrussula\nrust\nrustic\nrustle\nrustproof\nrusty\nrut\nrutabaga\nRutgers\nRuth\nruthenium\nRutherford\nruthless\nrutile\nRutland\nRutledge\nrutting\nrutty\nRwanda\nRyan\nRydberg\nRyder\nrye\ns\nsa\nsabbath\nsabbatical\nSabina\nSabine\nsable\nsabotage\nsabra\nsac\nsachem\nsack\nsacral\nsacrament\nSacramento\nsacred\nsacrifice\nsacrificial\nsacrilege\nsacrilegious\nsacrosanct\nsad\nsadden\nsaddle\nsaddlebag\nSadie\nsadism\nsadist\nSadler\nsafari\nsafe\nsafeguard\nsafekeeping\nsafety\nsaffron\nsag\nsaga\nsagacious\nsagacity\nsage\nsagebrush\nsagging\nSaginaw\nsagittal\nSagittarius\nsago\nsaguaro\nSahara\nsaid\nSaigon\nsail\nsailboat\nsailfish\nsailor\nsaint\nsainthood\nsake\nSal\nSalaam\nsalacious\nsalad\nsalamander\nsalami\nsalaried\nsalary\nsale\nSalem\nSalerno\nsalesgirl\nSalesian\nsaleslady\nsalesman\nsalesmen\nsalesperson\nsalient\nSalina\nsaline\nSalisbury\nSalish\nsaliva\nsalivary\nsalivate\nSalk\nSalle\nsallow\nsally\nsalmon\nsalmonberry\nsalon\nsaloon\nsaloonkeep\nsalsify\nsalt\nsaltbush\nsaltwater\nsalty\nsalubrious\nsalutary\nsalutation\nsalute\nSalvador\nsalvage\nsalvageable\nsalvation\nSalvatore\nsalve\nsalvo\nSam\nsamarium\nsamba\nsame\nSammy\nSamoa\nsamovar\nsample\nSampson\nSamson\nSamuel\nSamuelson\nSan\nSana\nsanatoria\nsanatorium\nSanborn\nSanchez\nSancho\nsanctify\nsanctimonious\nsanction\nsanctity\nsanctuary\nsand\nsandal\nsandalwood\nsandbag\nsandblast\nSandburg\nsanderling\nSanders\nSanderson\nsandhill\nSandia\nsandman\nsandpaper\nsandpile\nsandpiper\nSandra\nsandstone\nSandusky\nsandwich\nsandy\nsane\nSanford\nsang\nsangaree\nsanguinary\nsanguine\nsanguineous\nSanhedrin\nsanicle\nsanitarium\nsanitary\nsanitate\nsank\nsans\nSanta\nSantayana\nSantiago\nSanto\nSao\nsap\nsapiens\nsapient\nsapling\nsaponify\nsapphire\nsapping\nsappy\nsapsucker\nSara\nSaracen\nSarah\nSaran\nSarasota\nSaratoga\nsarcasm\nsarcastic\nsarcoma\nsardine\nsardonic\nSargent\nsari\nsarsaparilla\nsarsparilla\nsash\nsashay\nSaskatchewan\nsassafras\nsat\nsatan\nsatanic\nsatellite\nsatiable\nsatiate\nsatiety\nsatin\nsatire\nsatiric\nsatisfaction\nsatisfactory\nsatisfy\nsaturable\nsaturate\nsaturater\nSaturday\nSaturn\nSaturnalia\nsaturnine\nsatyr\nsauce\nsaucepan\nsaucy\nSaud\nSaudi\nsauerkraut\nSaul\nSault\nSaunders\nsausage\nsaute\nsauterne\nsavage\nsavagery\nSavannah\nsavant\nsave\nSaviour\nSavonarola\nsavoy\nSavoyard\nsavvy\nsaw\nsawbelly\nsawdust\nsawfish\nsawfly\nsawmill\nsawtimber\nsawtooth\nsawyer\nsax\nsaxifrage\nSaxon\nSaxony\nsaxophone\nsay\nSC\nscab\nscabbard\nscabious\nscabrous\nscaffold\nScala\nscalar\nscald\nscale\nscallop\nscalp\nscamp\nscan\nscandal\nscandalous\nScandinavia\nscandium\nscanning\nscant\nscanty\nscapegoat\nscapula\nscapular\nscar\nScarborough\nscarce\nscare\nscarecrow\nscarf\nscarface\nscarify\nscarlet\nScarsdale\nscarves\nscary\nscat\nscathe\nscatterbrain\nscattergun\nscatting\nscaup\nscavenge\nscenario\nscene\nscenery\nscenic\nscent\nsceptic\nSchaefer\nSchafer\nSchantz\nschedule\nschelling\nschema\nschemata\nschematic\nscheme\nSchenectady\nscherzo\nSchiller\nschism\nschist\nschizoid\nschizomycetes\nschizophrenia\nschizophrenic\nSchlesinger\nschlieren\nSchlitz\nSchloss\nSchmidt\nSchmitt\nSchnabel\nschnapps\nSchneider\nSchoenberg\nSchofield\nscholar\nscholastic\nschool\nschoolbook\nschoolboy\nschoolgirl\nschoolgirlish\nschoolhouse\nschoolmarm\nschoolmaster\nschoolmate\nschoolroom\nschoolteacher\nschoolwork\nschooner\nSchottky\nSchroeder\nSchroedinger\nSchubert\nSchultz\nSchulz\nSchumacher\nSchumann\nSchuster\nSchuyler\nSchuylkill\nSchwab\nSchwartz\nSchweitzer\nsciatica\nscience\nscientific\nscientist\nscimitar\nscintillate\nscion\nscissor\nsclerosis\nsclerotic\nSCM\nscoff\nscold\nscoop\nscoot\nscope\nscopic\nscops\nscorch\nscore\nscoreboard\nscorecard\nscoria\nscorn\nscornful\nScorpio\nscorpion\nScot\nscotch\nScotia\nScotland\nScotsman\nScotsmen\nScott\nScottish\nScottsdale\nScotty\nscoundrel\nscour\nscourge\nscout\nscowl\nscrabble\nscraggly\nscram\nscramble\nscramming\nScranton\nscrap\nscrapbook\nscrape\nscrapping\nscratch\nscratchy\nscrawl\nscrawny\nscream\nscreech\nscreechy\nscreed\nscreen\nscreenplay\nscrew\nscrewball\nscrewbean\nscrewdriver\nscrewworm\nscribble\nscribe\nScribners\nscrim\nscrimmage\nScripps\nscript\nscription\nscriptural\nscripture\nscriven\nscroll\nscrooge\nscrounge\nscrub\nscrubbing\nscrumptious\nscruple\nscrupulosity\nscrupulous\nscrutable\nscrutiny\nscuba\nscud\nscudding\nscuff\nscuffle\nscull\nsculpin\nsculpt\nsculptor\nsculptural\nsculpture\nscum\nscurrilous\nscurry\nscurvy\nscuttle\nscutum\nScylla\nscythe\nScythia\nSD\nsea\nseaboard\nseacoast\nseafare\nseafood\nSeagram\nseagull\nseahorse\nseal\nsealant\nseam\nseaman\nseamen\nseamy\nSean\nseance\nseaport\nseaquake\nsear\nsearch\nsearchlight\nSears\nseashore\nseaside\nseason\nseasonal\nseat\nseater\nSeattle\nseaward\nseaweed\nSebastian\nsec\nsecant\nsecede\nsecession\nseclude\nseclusion\nsecond\nsecondary\nsecondhand\nsecrecy\nsecret\nsecretarial\nsecretariat\nsecretary\nsecrete\nsecretion\nsecretive\nsect\nsectarian\nsection\nsector\nsecular\nsecure\nsedan\nsedate\nsedentary\nseder\nsedge\nsediment\nsedimentary\nsedimentation\nsedition\nseditious\nseduce\nseduction\nseductive\nsedulous\nsee\nseeable\nseed\nseedbed\nseedling\nseedy\nseeing\nseek\nseem\nseen\nseep\nseepage\nseersucker\nseethe\nsegment\nsegmentation\nSegovia\nsegregant\nsegregate\nSegundo\nSeidel\nseismic\nseismograph\nseismography\nseismology\nseize\nseizure\nseldom\nselect\nselectman\nselectmen\nselector\nSelectric\nSelena\nselenate\nselenite\nselenium\nself\nselfish\nSelfridge\nSelkirk\nsell\nseller\nsellout\nSelma\nseltzer\nselves\nSelwyn\nsemantic\nsemaphore\nsemblance\nsemester\nsemi\nseminal\nseminar\nseminarian\nseminary\nSeminole\nSemiramis\nSemite\nSemitic\nsemper\nsen\nsenate\nsenatorial\nsend\nSeneca\nSenegal\nsenile\nsenior\nsenor\nSenora\nsenorita\nsensate\nsense\nsensible\nsensitive\nsensor\nsensory\nsensual\nsensuous\nsent\nsentence\nsentential\nsentient\nsentiment\nsentinel\nsentry\nSeoul\nsepal\nseparable\nseparate\nsepia\nSepoy\nsept\nsepta\nseptate\nSeptember\nseptennial\nseptic\nseptillion\nseptuagenarian\nseptum\nsepuchral\nsepulchral\nsequel\nsequent\nsequential\nsequester\nsequestration\nsequin\nsequitur\nSequoia\nsera\nseraglio\nserape\nseraphim\nserenade\nserendipitous\nserene\nserge\nsergeant\nSergei\nserial\nseriatim\nseries\nserif\nserious\nsermon\nserology\nSerpens\nserpent\nserpentine\nserum\nservant\nserve\nservice\nserviceable\nserviceberry\nserviceman\nservicemen\nserviette\nservile\nservitor\nservo\nservomechanism\nsesame\nsession\nset\nsetback\nSeth\nSeton\nsetscrew\nsetting\nsettle\nsetup\nseven\nsevenfold\nseventeen\nseventeenth\nseventh\nseventieth\nseventy\nsever\nseveral\nseveralfold\nseveralty\nsevere\nSevern\nSeville\nsew\nsewage\nSeward\nsewerage\nsewn\nsex\nSextans\nsextet\nsextillion\nsexton\nsextuple\nsextuplet\nsexual\nsexy\nSeymour\nsforzando\nshabby\nshack\nshackle\nshad\nshadbush\nshade\nshadflower\nshadow\nshadowy\nshady\nShafer\nShaffer\nshaft\nshag\nshagbark\nshagging\nshaggy\nshah\nshake\nshakeable\nshakedown\nshaken\nShakespeare\nShakespearean\nShakespearian\nshako\nshaky\nshale\nshall\nshallot\nshallow\nshalom\nsham\nshamble\nshame\nshameface\nshameful\nshampoo\nshamrock\nShanghai\nshank\nShannon\nshan't\nShantung\nshanty\nshape\nShapiro\nshard\nshare\nsharecrop\nshareholder\nShari\nshark\nSharon\nsharp\nSharpe\nsharpen\nsharpshoot\nShasta\nshatter\nshatterproof\nShattuck\nshave\nshaven\nshaw\nshawl\nShawnee\nshay\nshe\nShea\nsheaf\nshear\nShearer\nsheath\nsheathe\nsheave\nshe'd\nshed\nshedding\nShedir\nSheehan\nsheen\nsheep\nsheepskin\nsheer\nsheet\nSheffield\nsheik\nSheila\nShelby\nSheldon\nshelf\nshe'll\nshell\nShelley\nshelter\nShelton\nshelve\nShenandoah\nshenanigan\nShepard\nshepherd\nSheppard\nSheraton\nsherbet\nSheridan\nsheriff\nSherlock\nSherman\nSherrill\nsherry\nSherwin\nSherwood\nshibboleth\nshied\nshield\nShields\nshift\nshifty\nshill\nShiloh\nshim\nshimming\nshimmy\nshin\nshinbone\nshine\nshingle\nShinto\nshiny\nship\nshipboard\nshipbuild\nshipbuilding\nshiplap\nShipley\nshipman\nshipmate\nshipmen\nshipping\nshipshape\nshipwreck\nshipyard\nshire\nshirk\nShirley\nshirt\nshirtmake\nshish\nshitepoke\nshiv\nshiver\nshivery\nshoal\nshock\nShockley\nshod\nshoddy\nshoe\nshoehorn\nshoelace\nshoemake\nshoestring\nshoji\nshone\nshoo\nshoofly\nshook\nshoot\nshop\nshopkeep\nshopping\nshopworn\nshore\nshoreline\nshort\nshortage\nshortcoming\nshortcut\nshorten\nshortfall\nshorthand\nshortish\nshortsighted\nshortstop\nshot\nshotbush\nshotgun\nshould\nshoulder\nshouldn't\nshout\nshove\nshovel\nshow\nshowboat\nshowcase\nshowdown\nshowman\nshowmen\nshown\nshowpiece\nshowplace\nshowroom\nshowy\nshrank\nshrapnel\nshred\nshredding\nShreveport\nshrew\nshrewd\nshrewish\nshriek\nshrift\nshrike\nshrill\nshrilly\nshrimp\nshrine\nshrink\nshrinkage\nshrive\nshrivel\nshroud\nshrove\nshrub\nshrubbery\nshrug\nshrugging\nshrunk\nshrunken\nShu\nshuck\nshudder\nshuddery\nshuffle\nshuffleboard\nShulman\nshun\nshunning\nshunt\nshut\nshutdown\nshutoff\nshutout\nshutting\nshuttle\nshuttlecock\nshy\nShylock\nsial\nSIAM\nSiamese\nSian\nsib\nSiberia\nsibilant\nSibley\nsibling\nsibyl\nsic\nSicilian\nSicily\nsick\nsicken\nsickish\nsickle\nsicklewort\nsickroom\nside\nsidearm\nsideband\nsideboard\nsidecar\nsidelight\nsideline\nsidelong\nsideman\nsidemen\nsidereal\nsiderite\nsidesaddle\nsideshow\nsidestep\nsidestepping\nsidetrack\nsidewalk\nsidewall\nsideway\nsidewinder\nsidewise\nsidle\nSidney\nsiege\nSiegel\nSiegfried\nSieglinda\nSiegmund\nSiemens\nsienna\nsierra\nsiesta\nsieve\nsift\nsigh\nsight\nsightsee\nsightseeing\nsightseer\nsigma\nSigmund\nsign\nsignal\nsignature\nsignboard\nsignet\nsignificant\nsignify\nSignor\nSignora\nsignpost\nSikorsky\nsilage\nsilane\nSilas\nsilent\nsilhouette\nsilica\nsilicate\nsiliceous\nsilicic\nsilicide\nsilicon\nsilicone\nsilk\nsilken\nsilkworm\nsilky\nsill\nsilly\nsilo\nsilt\nsiltation\nsiltstone\nsilty\nsilver\nSilverman\nsilversmith\nsilverware\nsilvery\nsima\nsimilar\nsimile\nsimilitude\nsimmer\nSimmons\nSimon\nSimons\nSimonson\nsimper\nsimple\nsimplectic\nsimpleminded\nsimpleton\nsimplex\nsimplicity\nsimplify\nsimplistic\nsimply\nSimpson\nSims\nsimulate\nsimulcast\nsimultaneity\nsimultaneous\nsin\nSinai\nsince\nsincere\nSinclair\nsine\nsinew\nsinewy\nsinful\nsing\nsingable\nSingapore\nsinge\nsingle\nsinglehanded\nsinglet\nsingleton\nsingsong\nsingular\nsinh\nsinister\nsinistral\nsink\nsinkhole\nsinning\nsinter\nsinuous\nsinus\nsinusoid\nsinusoidal\nSioux\nsip\nsipping\nsir\nsire\nsiren\nSirius\nsis\nsisal\nsiskin\nsister\nSistine\nSisyphean\nSisyphus\nsit\nsite\nsitting\nsitu\nsituate\nsitus\nsiva\nsix\nsixfold\nsixgun\nsixteen\nsixteenth\nsixth\nsixtieth\nsixty\nsize\nsizzle\nskat\nskate\nskater\nskeet\nskeletal\nskeleton\nskeptic\nsketch\nsketchbook\nsketchpad\nsketchy\nskew\nski\nskid\nskidding\nskiddy\nskied\nskiff\nskill\nskillet\nskillful\nskim\nskimming\nskimp\nskimpy\nskin\nskindive\nskinning\nskinny\nskip\nskipjack\nskipping\nSkippy\nskirmish\nskirt\nskit\nskittle\nskulk\nskull\nskullcap\nskullduggery\nskunk\nsky\nSkye\nskyhook\nskyjack\nskylark\nskylight\nskyline\nskyrocket\nskyscrape\nskyward\nskywave\nskyway\nslab\nslack\nslacken\nsladang\nslag\nslain\nslake\nslam\nslamming\nslander\nslanderous\nslang\nslant\nslap\nslapping\nslapstick\nslash\nslat\nslate\nslater\nslatting\nslaughter\nslaughterhouse\nSlav\nslave\nslavery\nSlavic\nslavish\nslay\nsled\nsledding\nsledge\nsledgehammer\nsleek\nsleep\nsleepwalk\nsleepy\nsleet\nsleety\nsleeve\nsleigh\nsleight\nslender\nslept\nsleuth\nslew\nslice\nslick\nslid\nslide\nslight\nslim\nslime\nslimy\nsling\nslingshot\nslip\nslippage\nslippery\nslipping\nslit\nslither\nslitting\nsliver\nslivery\nSloan\nSloane\nslob\nSlocum\nsloe\nslog\nslogan\nsloganeer\nslogging\nsloop\nslop\nslope\nslopping\nsloppy\nslosh\nslot\nsloth\nslothful\nslouch\nslough\nsloven\nslow\nslowdown\nsludge\nslug\nslugging\nsluggish\nsluice\nslum\nslumber\nslumming\nslump\nslung\nslur\nslurp\nslurring\nslurry\nsly\nsmack\nsmall\nsmaller\nSmalley\nsmallish\nsmallpox\nsmalltime\nsmart\nsmash\nsmattering\nsmear\nsmell\nsmelt\nsmile\nsmirk\nsmith\nsmithereens\nSmithfield\nSmithson\nSmithsonian\nsmithy\nsmitten\nsmog\nsmoke\nsmokehouse\nsmokescreen\nsmokestack\nsmoky\nsmolder\nsmooch\nsmooth\nsmoothbore\nsmother\nSmucker\nsmudge\nsmudgy\nsmug\nsmuggle\nsmut\nsmutty\nSmyrna\nSmythe\nsnack\nsnafu\nsnag\nsnagging\nsnail\nsnake\nsnakebird\nsnakelike\nsnakeroot\nsnap\nsnapback\nsnapdragon\nsnapping\nsnappish\nsnappy\nsnapshot\nsnare\nsnark\nsnarl\nsnatch\nsnazzy\nsneak\nsneaky\nsneer\nsneeze\nsnell\nsnick\nSnider\nsniff\nsniffle\nsniffly\nsnifter\nsnigger\nsnip\nsnipe\nsnippet\nsnippy\nsnivel\nsnob\nsnobbery\nsnobbish\nsnook\nsnoop\nsnoopy\nsnore\nsnorkel\nsnort\nsnotty\nsnout\nsnow\nsnowball\nsnowfall\nsnowflake\nsnowstorm\nsnowy\nsnub\nsnubbing\nsnuff\nsnuffer\nsnuffle\nsnuffly\nsnug\nsnuggle\nsnuggly\nsnyaptic\nSnyder\nso\nsoak\nsoap\nsoapstone\nsoapsud\nsoapy\nsoar\nsob\nsobbing\nsober\nsobriety\nsobriquet\nsoccer\nsociable\nsocial\nsocietal\nSociete\nsociety\nsocioeconomic\nsociology\nsociometric\nsociometry\nsock\nsocket\nsockeye\nSocrates\nSocratic\nsod\nsoda\nsodden\nsodding\nsodium\nsofa\nsoffit\nSofia\nsoft\nsoftball\nsoften\nsoftware\nsoftwood\nsoggy\nsoignee\nsoil\nsoiree\nsojourn\nSol\nsolace\nsolar\nsold\nsolder\nsoldier\nsoldiery\nsole\nsolecism\nsolemn\nsolemnity\nsolenoid\nsolicit\nsolicitation\nsolicitor\nsolicitous\nsolicitude\nsolid\nsolidarity\nsolidify\nsoliloquy\nsolipsism\nsolitary\nsolitude\nsolo\nSolomon\nSolon\nsolstice\nsoluble\nsolute\nsolution\nsolvate\nsolve\nsolvent\nsoma\nsomal\nSomali\nsomatic\nsomber\nsombre\nsome\nsomebody\nsomebody'll\nsomeday\nsomehow\nsomeone\nsomeone'll\nsomeplace\nSomers\nsomersault\nSomerset\nSomerville\nsomething\nsometime\nsomewhat\nsomewhere\nsommelier\nSommerfeld\nsomnolent\nson\nsonar\nsonata\nsong\nsongbag\nsongbook\nsongful\nsonic\nsonnet\nsonny\nSonoma\nSonora\nsonority\nsonorous\nSony\nsoon\nsoot\nsooth\nsoothe\nsoothsay\nsoothsayer\nsop\nsophia\nSophie\nsophism\nsophisticate\nsophistry\nSophoclean\nSophocles\nsophomore\nsophomoric\nsopping\nsoprano\nsora\nsorb\nsorcery\nsordid\nsore\nSorensen\nSorenson\nsorghum\nsorority\nsorption\nsorrel\nsorrow\nsorrowful\nsorry\nsort\nsortie\nsou\nsouffle\nsought\nsoul\nsoulful\nsound\nsoundproof\nsoup\nsour\nsourberry\nsource\nsourdough\nsourwood\nSousa\nsoutane\nsouth\nSouthampton\nsouthbound\nsoutheast\nsoutheastern\nsouthern\nsouthernmost\nSouthey\nsouthland\nsouthpaw\nsouthward\nsouthwest\nsouthwestern\nsouvenir\nsovereign\nsovereignty\nsoviet\nsovkhoz\nsow\nsowbelly\nsown\nsoy\nsoya\nsoybean\nspa\nspace\nspacecraft\nspacesuit\nspacious\nspade\nspaghetti\nSpain\nspalding\nspan\nspandrel\nspangle\nSpaniard\nspaniel\nSpanish\nspanning\nspar\nspare\nsparge\nspark\nsparkle\nSparkman\nsparky\nsparling\nsparring\nsparrow\nsparse\nSparta\nSpartan\nspasm\nspastic\nspat\nspate\nspatial\nspatlum\nspatterdock\nspatula\nSpaulding\nspavin\nspawn\nspay\nspayed\nspeak\nspeakeasy\nspear\nspearhead\nspearmint\nspec\nspecial\nspecie\nspecies\nspecific\nspecify\nspecimen\nspecious\nspeck\nspeckle\nspectacle\nspectacular\nspectator\nSpector\nspectra\nspectral\nspectrogram\nspectrograph\nspectrography\nspectrometer\nspectrometric\nspectrometry\nspectrophotometer\nspectrophotometric\nspectrophotometry\nspectroscope\nspectroscopic\nspectroscopy\nspectrum\nspecular\nspeculate\nsped\nspeech\nspeed\nspeedboat\nspeedometer\nspeedup\nspeedwell\nspeedy\nspell\nspellbound\nSpencer\nSpencerian\nspend\nspent\nsperm\nspermatophyte\nSperry\nspew\nsphagnum\nsphalerite\nsphere\nspheric\nspheroid\nspheroidal\nspherule\nsphinx\nSpica\nspice\nspicebush\nspicy\nspider\nspiderwort\nspidery\nSpiegel\nspigot\nspike\nspikenard\nspiky\nspill\nspilt\nspin\nspinach\nspinal\nspindle\nspine\nspinnaker\nspinneret\nspinning\nspinodal\nspinoff\nspinster\nspiny\nspiral\nspire\nspirit\nspiritual\nSpiro\nspit\nspite\nspiteful\nspitfire\nspitting\nspittle\nspitz\nsplash\nsplashy\nsplat\nsplay\nsplayed\nspleen\nspleenwort\nsplendid\nsplenetic\nsplice\nspline\nsplint\nsplintery\nsplit\nsplitting\nsplotch\nsplotchy\nsplurge\nsplutter\nspoil\nspoilage\nSpokane\nspoke\nspoken\nspokesman\nspokesmen\nsponge\nspongy\nsponsor\nspontaneity\nspontaneous\nspoof\nspook\nspooky\nspool\nspoon\nspoonful\nsporadic\nspore\nsport\nsportsman\nsportsmen\nsportswear\nsportswriter\nsportswriting\nsporty\nspot\nspotlight\nspotting\nspotty\nspouse\nspout\nSprague\nsprain\nsprang\nsprawl\nspray\nspread\nspree\nsprig\nsprightly\nspring\nspringboard\nspringe\nSpringfield\nspringtail\nspringtime\nspringy\nsprinkle\nsprint\nsprite\nsprocket\nSproul\nsprout\nspruce\nsprue\nsprung\nspud\nspume\nspumoni\nspun\nspunk\nspur\nspurge\nspurious\nspurn\nspurring\nspurt\nsputnik\nsputter\nspy\nspyglass\nsquabble\nsquad\nsquadron\nsqualid\nsquall\nsquamous\nsquander\nsquare\nsquash\nsquashberry\nsquashy\nsquat\nsquatting\nsquaw\nsquawbush\nsquawk\nsquawroot\nsqueak\nsqueaky\nsqueal\nsqueamish\nsqueegee\nsqueeze\nsquelch\nSquibb\nsquid\nsquill\nsquint\nsquire\nsquirehood\nsquirm\nsquirmy\nsquirrel\nsquirt\nsquishy\nSri\ns's\nSST\nSt\nSt.\nstab\nstabbing\nstabile\nstable\nstableman\nstablemen\nstaccato\nstack\nStacy\nstadia\nstadium\nstaff\nStafford\nstag\nstage\nstagecoach\nstagnant\nstagnate\nstagy\nStahl\nstaid\nstain\nstair\nstaircase\nstairway\nstairwell\nstake\nstalactite\nstale\nstalemate\nStaley\nStalin\nstalk\nstall\nstallion\nstalwart\nstamen\nStamford\nstamina\nstaminate\nstammer\nstamp\nstampede\nStan\nstance\nstanch\nstanchion\nstand\nstandard\nstandby\nstandeth\nStandish\nstandoff\nstandpoint\nstandstill\nStanford\nStanhope\nstank\nStanley\nstannic\nstannous\nStanton\nstanza\nstaph\nstaphylococcus\nstaple\nStapleton\nstar\nstarboard\nstarch\nstarchy\nstardom\nstare\nstarfish\nstargaze\nstark\nStarkey\nstarlet\nstarlight\nstarling\nStarr\nstarring\nstart\nstartle\nstartup\nstarvation\nstarve\nstash\nstasis\nstate\nStaten\nstater\nstateroom\nstatesman\nstatesmanlike\nstatesmen\nstatewide\nstatic\nstationarity\nstationary\nstationery\nstationmaster\nstatistician\nStatler\nstator\nstatuary\nstatue\nstatuette\nstature\nstatus\nstatute\nstatutory\nStauffer\nstaunch\nStaunton\nstave\nstay\nstayed\nstead\nsteadfast\nsteady\nsteak\nsteal\nstealth\nstealthy\nsteam\nsteamboat\nsteamy\nStearns\nsteed\nsteel\nSteele\nsteelmake\nsteely\nSteen\nsteep\nsteepen\nsteeple\nsteeplebush\nsteer\nsteeve\nStefan\nstein\nSteinberg\nSteiner\nstella\nstellar\nstem\nstemming\nstench\nstencil\nstenographer\nstenography\nstenotype\nstep\nstepchild\nStephanie\nstephanotis\nStephen\nStephens\nStephenson\nstepmother\nsteppe\nstepping\nsteprelation\nstepson\nstepwise\nsteradian\nstereo\nstereography\nstereoscopy\nsterile\nsterling\nstern\nsternal\nSterno\nsternum\nsteroid\nstethoscope\nStetson\nSteuben\nSteve\nstevedore\nSteven\nStevens\nStevenson\nstew\nsteward\nstewardess\nStewart\nstick\nstickle\nstickleback\nstickpin\nsticktight\nsticky\nstiff\nstiffen\nstifle\nstigma\nstigmata\nstile\nstiletto\nstill\nstillbirth\nstillwater\nstilt\nstimulant\nstimulate\nstimulatory\nstimuli\nstimulus\nsting\nstingy\nstink\nstinkpot\nstinky\nstint\nstipend\nstipple\nstipulate\nstir\nStirling\nstirring\nstirrup\nstitch\nstochastic\nstock\nstockade\nstockbroker\nstockholder\nStockholm\nstockpile\nstockroom\nStockton\nstocky\nstodgy\nstoic\nstoichiometric\nstoichiometry\nstoke\nStokes\nstole\nstolen\nstolid\nstomach\nstomp\nstone\nstonecrop\nStonehenge\nstonewall\nstoneware\nstonewort\nstony\nstood\nstooge\nstool\nstoop\nstop\nstopband\nstopcock\nstopgap\nstopover\nstoppage\nstopping\nstopwatch\nstorage\nstore\nstorehouse\nstorekeep\nstoreroom\nStorey\nstork\nstorm\nstormbound\nstormy\nstory\nstoryboard\nstoryteller\nstout\nstove\nstow\nstowage\nstrabismic\nstrabismus\nstraddle\nstrafe\nstraggle\nstraight\nstraightaway\nstraighten\nstraightforward\nstraightway\nstrain\nstrait\nstrand\nstrange\nstrangle\nstrangulate\nstrap\nstrapping\nstrata\nstratagem\nstrategic\nstrategist\nstrategy\nStratford\nstratify\nstratosphere\nstratospheric\nStratton\nstratum\nStrauss\nstraw\nstrawberry\nstrawflower\nstray\nstreak\nstream\nstreamline\nstreamside\nstreet\nstreetcar\nstrength\nstrengthen\nstrenuous\nstreptococcus\nstress\nstressful\nstretch\nstrewn\nstriate\nstricken\nStrickland\nstrict\nstricture\nstride\nstrife\nstrike\nstrikebreak\nstring\nstringent\nstringy\nstrip\nstripe\nstripping\nstriptease\nstrive\nstriven\nstrobe\nstroboscopic\nstrode\nstroke\nstroll\nStrom\nStromberg\nstrong\nstronghold\nstrongroom\nstrontium\nstrop\nstrophe\nstropping\nstrove\nstruck\nstructural\nstructure\nstruggle\nstrum\nstrumming\nstrung\nstrut\nstrutting\nstrychnine\nStuart\nstub\nstubbing\nstubble\nstubborn\nstubby\nstucco\nstuck\nstud\nstudding\nStudebaker\nstudent\nstudio\nstudious\nstudy\nstuff\nstuffy\nstultify\nstumble\nstump\nstumpage\nstumpy\nstun\nstung\nstunk\nstunning\nstunt\nstupefy\nstupendous\nstupid\nstupor\nSturbridge\nsturdy\nsturgeon\nSturm\nstutter\nStuttgart\nStuyvesant\nStygian\nstyle\nstyli\nstylish\nstylites\nstylus\nstymie\nstyrene\nStyrofoam\nStyx\nsuave\nsub\nsubbing\nsubject\nsubjectivity\nsublimate\nsubliminal\nsubmersible\nsubmit\nsubmittal\nsubmitted\nsubmitting\nsubpoena\nsubrogation\nsubservient\nsubsidiary\nsubsidy\nsubsist\nsubsistent\nsubstantial\nsubstantiate\nsubstantive\nsubstituent\nsubstitute\nsubstitution\nsubstitutionary\nsubstrate\nsubsume\nsubsumed\nsubsuming\nsubterfuge\nsubterranean\nsubtle\nsubtlety\nsubtly\nsubtrahend\nsuburb\nsuburbia\nsubversive\nsubvert\nsucceed\nsuccess\nsuccessful\nsuccession\nsuccessive\nsuccessor\nsuccinct\nsuccubus\nsuccumb\nsuch\nsuck\nsuckling\nsuction\nsud\nSudan\nSudanese\nsudden\nsuds\nsue\nsuey\nSuez\nsuffer\nsuffice\nsufficient\nsuffix\nsuffocate\nSuffolk\nsuffrage\nsuffragette\nsuffuse\nsugar\nsuggest\nsuggestible\nsuggestion\nsuggestive\nsuicidal\nsuicide\nsuit\nsuitcase\nsuite\nsuitor\nsulfa\nsulfate\nsulfide\nsulfite\nsulfonamide\nsulfur\nsulfuric\nsulfurous\nsulk\nsulky\nsullen\nSullivan\nsully\nsulphur\nsultan\nsultry\nsum\nsumac\nSumatra\nSumerian\nsummand\nsummarily\nsummary\nsummate\nSummers\nsummertime\nsumming\nsummit\nsummitry\nsummon\nSumner\nsumptuous\nSumter\nsun\nsunbeam\nsunbonnet\nsunburn\nsunburnt\nSunday\nsunder\nsundew\nsundial\nsundown\nsundry\nsunfish\nsunflower\nsung\nsunk\nsunken\nsunlight\nsunlit\nsunning\nsunny\nSunnyvale\nsunrise\nsunset\nsunshade\nsunshine\nsunshiny\nsunspot\nsuntan\nsuntanned\nsuntanning\nSUNY\nsup\nsuper\nsuperannuate\nsuperb\nsuperbly\nsupercilious\nsuperficial\nsuperfluity\nsuperfluous\nsuperintendent\nsuperior\nsuperlative\nsuperlunary\nsupernatant\nsuperposable\nsupersede\nsuperstition\nsuperstitious\nsupervene\nsupervisory\nsupine\nsupping\nsupplant\nsupple\nsupplementary\nsupplicate\nsupply\nsupport\nsupposable\nsuppose\nsupposition\nsuppress\nsuppressible\nsuppression\nsuppressor\nsupra\nsupranational\nsupremacy\nsupreme\nsurcease\nsurcharge\nsure\nsurety\nsurf\nsurface\nsurfactant\nsurfeit\nsurge\nsurgeon\nsurgery\nsurgical\nsurmise\nsurmount\nsurname\nsurpass\nsurplus\nsurprise\nsurreal\nsurrender\nsurreptitious\nsurrey\nsurrogate\nsurround\nsurtax\nsurtout\nsurveillant\nsurvey\nsurveyor\nsurvival\nsurvive\nsurvivor\nSus\nSusan\nSusanne\nsusceptible\nsushi\nSusie\nsuspect\nsuspend\nsuspense\nsuspension\nsuspensor\nsuspicion\nsuspicious\nSussex\nsustain\nsustenance\nSutherland\nSutton\nsuture\nSuzanne\nsuzerain\nsuzerainty\nSuzuki\nsvelte\nswab\nswabbing\nswabby\nswag\nSwahili\nswain\nswallow\nswallowtail\nswam\nswami\nswamp\nswampy\nswan\nswank\nswanky\nswanlike\nSwanson\nswap\nswapping\nswarm\nswart\nSwarthmore\nSwarthout\nswarthy\nswastika\nswat\nswatch\nswath\nswathe\nswatting\nsway\nSwaziland\nswear\nsweat\nsweatband\nsweater\nsweatshirt\nsweaty\nSwede\nSweden\nSwedish\nSweeney\nsweep\nsweepstake\nsweet\nsweetheart\nsweetish\nswell\nswelt\nswelter\nSwenson\nswept\nswerve\nswift\nswig\nswigging\nswim\nswimming\nswimsuit\nswindle\nswine\nswing\nswingable\nswingy\nswipe\nswirl\nswirly\nswish\nswishy\nswiss\nswitch\nswitchblade\nswitchboard\nswitchgear\nswitchman\nSwitzer\nSwitzerland\nswivel\nswizzle\nswollen\nswoop\nsword\nswordfish\nswordplay\nswordtail\nswore\nsworn\nswum\nswung\nsybarite\nSybil\nsycamore\nsycophant\nsycophantic\nSydney\nsyenite\nSykes\nsyllabic\nsyllabify\nsyllable\nsyllogism\nsyllogistic\nsylvan\nSylvania\nSylvester\nSylvia\nsymbiosis\nsymbiotic\nsymbol\nsymbolic\nsymmetric\nsymmetry\nsympathetic\nsympathy\nsymphonic\nsymphony\nsymposia\nsymposium\nsymptom\nsymptomatic\nsynagogue\nsynapse\nsynapses\nsynaptic\nsynchronism\nsynchronous\nsynchrony\nsynchrotron\nsyncopate\nsyndic\nsyndicate\nsyndrome\nsynergism\nsynergistic\nsynergy\nsynod\nsynonym\nsynonymous\nsynonymy\nsynopses\nsynopsis\nsynoptic\nsyntactic\nsyntax\nsynthesis\nsynthetic\nSyracuse\nSyria\nsyringa\nsyringe\nsyrinx\nsyrup\nsyrupy\nsystem\nsystematic\nsystemic\nsystemization\nsystemwide\nt\ntab\ntabbing\ntabernacle\ntable\ntableau\ntableaux\ntablecloth\ntableland\ntablespoon\ntablespoonful\ntablet\ntabloid\ntaboo\ntabu\ntabula\ntabular\ntabulate\ntachinid\ntachometer\ntacit\nTacitus\ntack\ntackle\ntacky\nTacoma\ntact\ntactful\ntactic\ntactile\ntactual\ntad\ntadpole\ntaffeta\ntaffy\ntaft\ntag\ntagging\nTahiti\nTahoe\ntail\ntailgate\ntailor\ntaint\nTaipei\nTaiwan\ntake\ntaken\ntakeoff\ntakeover\ntalc\ntalcum\ntale\ntalent\ntalisman\ntalismanic\ntalk\ntalkative\ntalkie\ntalky\ntall\nTallahassee\ntallow\ntally\ntallyho\nTalmud\ntalon\ntalus\ntam\ntamale\ntamarack\ntamarind\ntambourine\ntame\nTammany\ntamp\nTampa\ntampon\ntan\ntanager\nTanaka\nTananarive\ntandem\ntang\ntangent\ntangential\ntangerine\ntangible\ntangle\ntango\ntangy\ntanh\ntank\ntannin\ntanning\ntansy\ntantalum\nTantalus\ntantamount\ntantrum\nTanya\nTanzania\ntao\nTaoist\nTaos\ntap\ntapa\ntape\ntaper\ntapestry\ntapeworm\ntapir\ntapis\ntappa\ntappet\ntapping\ntar\ntara\ntarantara\ntarantula\nTarbell\ntardy\ntarget\ntariff\ntarnish\ntarpaper\ntarpaulin\ntarpon\ntarring\ntarry\nTarrytown\ntart\ntartar\nTartary\nTarzan\ntask\ntaskmaster\nTasmania\nTass\ntassel\ntaste\ntasteful\ntasting\ntasty\ntat\ntate\ntater\ntatting\ntattle\ntattler\ntattletale\ntattoo\ntatty\ntau\ntaught\ntaunt\nTaurus\ntaut\ntautology\ntavern\ntaverna\ntawdry\ntawny\ntax\ntaxation\ntaxi\ntaxicab\ntaxied\ntaxonomy\ntaxpayer\ntaxpaying\nTaylor\ntea\nteacart\nteach\nteacup\nteahouse\nteakettle\nteakwood\nteal\nteam\nteammate\nteamster\nteamwork\nteapot\ntear\nteardrop\ntearful\ntease\nteasel\nteaspoon\nteaspoonful\nteat\ntech\ntechnetium\ntechnic\ntechnician\ntechnique\ntechnology\ntectonic\ntecum\nted\ntedding\nTeddy\ntedious\ntedium\ntee\nteeing\nteem\nteen\nteenage\nteensy\nteet\nteeth\nteethe\nteetotal\nTeflon\nTegucigalpa\nTeheran\nTehran\ntektite\nTektronix\ntelecommunicate\nteleconference\nTeledyne\nTelefunken\ntelegram\ntelegraph\ntelegraphy\ntelekinesis\ntelemeter\ntelemetric\ntelemetry\nteleology\nteleost\ntelepathic\ntelepathy\ntelephone\ntelephonic\ntelephony\ntelephotography\nteleprinter\nteleprocessing\nteleprompter\ntelescope\ntelescopic\nteletype\nteletypesetting\nteletypewrite\ntelevise\ntelevision\nTelex\ntell\nteller\ntellurium\ntemerity\ntemper\ntempera\ntemperance\ntemperate\ntemperature\ntempest\ntempestuous\ntemplate\ntemple\nTempleton\ntempo\ntemporal\ntemporary\ntempt\ntemptation\ntemptress\nten\ntenable\ntenacious\ntenacity\ntenant\ntend\ntendency\ntenderfoot\ntenderloin\ntendon\ntenebrous\ntenement\ntenet\ntenfold\nTenneco\nTennessee\nTenney\ntennis\nTennyson\ntenon\ntenor\ntense\ntensile\ntension\ntensional\ntensor\ntenspot\ntent\ntentacle\ntentative\ntenth\ntenuous\ntenure\ntepee\ntepid\nteratogenic\nteratology\nterbium\ntercel\nTeresa\nterm\nterminable\nterminal\nterminate\ntermini\nterminology\nterminus\ntermite\ntern\nternary\nTerpsichore\nterpsichorean\nTerra\nterrace\nterrain\nterramycin\nterrapin\nTerre\nterrestrial\nterrible\nterrier\nterrific\nterrify\nterritorial\nterritory\nterror\nterry\nterse\ntertiary\nTess\ntessellate\ntest\ntestament\ntestamentary\ntestate\ntestes\ntesticle\ntesticular\ntestify\ntestimonial\ntestimony\ntesty\ntetanus\ntete\ntether\ntetrachloride\ntetrafluouride\ntetragonal\ntetrahedra\ntetrahedral\ntetrahedron\ntetravalent\nTeutonic\nTexaco\nTexan\nTexas\ntext\ntextbook\ntextile\nTextron\ntextual\ntextural\ntexture\nThai\nThailand\nThalia\nthallium\nthallophyte\nthan\nthank\nthankful\nthanksgiving\nthat\nthatch\nthat'd\nthat'll\nthaw\nThayer\nthe\nThea\ntheatric\nThebes\nthee\ntheft\ntheir\nThelma\nthem\nthematic\ntheme\nthemselves\nthen\nthence\nthenceforth\ntheocracy\nTheodore\nTheodosian\ntheologian\ntheology\ntheorem\ntheoretic\ntheoretician\ntheorist\ntheory\ntherapeutic\ntherapist\ntherapy\nthere\nthereabouts\nthereafter\nthereat\nthereby\nthere'd\ntherefor\ntherefore\ntherefrom\ntherein\nthere'll\nthereof\nthereon\nTheresa\nthereto\ntheretofore\nthereunder\nthereupon\ntherewith\nthermal\nthermionic\nthermistor\nthermo\nthermocouple\nthermodynamic\nthermoelastic\nthermoelectric\nThermofax\nthermometer\nthermometric\nthermometry\nthermomigrate\nthermonuclear\nthermopile\nthermoplastic\nthermopower\nthermosetting\nthermostable\nthermostat\nthermostatic\nthesaurus\nthese\ntheses\nTheseus\nthesis\nthespian\ntheta\nThetis\nthey\nthey'd\nthey'll\nthey're\nthey've\nthiamin\nthick\nthicken\nthicket\nthickish\nthief\nthieves\nthieving\nthigh\nthimble\nThimbu\nthin\nthine\nthing\nthink\nthinning\nthinnish\nthiocyanate\nthiouracil\nthird\nthirst\nthirsty\nthirteen\nthirteenth\nthirtieth\nthirty\nthis\nthis'll\nthistle\nthistledown\nthither\nThomas\nThomistic\nThompson\nThomson\nthong\nThor\nThoreau\nthoriate\nthorium\nthorn\nThornton\nthorny\nthorough\nthoroughbred\nthoroughfare\nthoroughgoing\nThorpe\nThorstein\nthose\nthou\nthough\nthought\nthoughtful\nthousand\nthousandth\nthrash\nthread\nthreadbare\nthreat\nthreaten\nthree\nthreefold\nthreesome\nthresh\nthreshold\nthrew\nthrice\nthrift\nthrifty\nthrill\nthrips\nthrive\nthroat\nthroaty\nthrob\nthrobbing\nthroes\nthrombosis\nthrone\nthrong\nthrottle\nthrough\nthroughout\nthroughput\nthrow\nthrowback\nthrown\nthrum\nthrumming\nthrush\nthrust\nThruway\nThuban\nthud\nthudding\nthug\nthuggee\nThule\nthulium\nthumb\nthumbnail\nthump\nthunder\nthunderclap\nthunderflower\nthunderous\nthunderstorm\nThurman\nThursday\nthus\nthwack\nthwart\nthy\nthyratron\nthyroglobulin\nthyroid\nthyroidal\nthyronine\nthyrotoxic\nthyroxine\nti\nTiber\ntibet\nTibetan\ntibia\ntic\ntick\nticket\ntickle\nticklish\ntid\ntidal\ntidbit\ntide\ntideland\ntidewater\ntidings\ntidy\ntie\ntied\nTientsin\ntier\nTiffany\ntift\ntiger\ntight\ntighten\ntigress\nTigris\ntil\ntilde\ntile\ntill\ntilt\ntilth\nTim\ntimber\ntimberland\ntimbre\ntime\ntimeout\ntimepiece\ntimeshare\ntimetable\ntimeworn\nTimex\ntimid\nTimon\ntimothy\ntin\ntincture\ntinder\ntine\ntinfoil\ntinge\ntingle\ntinker\ntinkle\ntinning\ntinsel\ntint\ntintype\ntiny\nTioga\ntip\ntipoff\nTipperary\ntipping\ntipple\ntippy\ntipsy\ntiptoe\ntirade\nTirana\ntire\ntiresome\ntissue\ntit\nTitan\ntitanate\ntitanic\ntitanium\ntithe\ntitian\ntitillate\ntitle\ntitmouse\ntitrate\ntitular\nTitus\nTNT\nto\ntoad\ntoady\ntoast\ntobacco\nTobago\ntoccata\ntoday\ntoday'll\nTodd\ntoddle\ntoe\ntoenail\ntoffee\ntofu\ntog\ntogether\ntogging\ntoggle\nTogo\ntogs\ntoil\ntoilet\ntoilsome\ntokamak\ntoken\nTokyo\ntold\nToledo\ntolerable\ntolerant\ntolerate\ntoll\ntollgate\ntollhouse\nTolstoy\ntoluene\nTom\ntomato\ntomatoes\ntomb\ntomblike\ntombstone\ntome\nTomlinson\nTommie\ntommy\ntomography\ntomorrow\nTompkins\nton\ntonal\ntone\ntong\ntongue\nToni\ntonic\ntonight\ntonk\ntonnage\ntonsil\ntonsillitis\ntony\ntoo\ntoodle\ntook\ntool\ntoolkit\ntoolmake\ntoolsmith\ntoot\ntooth\ntoothbrush\ntoothpaste\ntootle\ntop\ntopaz\ntopcoat\nTopeka\ntopgallant\ntopic\ntopmost\ntopnotch\ntopocentric\ntopography\ntopology\ntopping\ntopple\ntopsoil\nTopsy\ntor\ntorah\ntorch\ntore\ntori\ntorn\ntornado\ntoroid\ntoroidal\nToronto\ntorpedo\ntorpid\ntorpor\ntorque\ntorr\nTorrance\ntorrent\ntorrid\ntorsion\ntorso\ntort\ntortoise\ntortoiseshell\ntortuous\ntorture\ntorus\ntory\nToshiba\ntoss\ntot\ntotal\ntotalitarian\ntote\ntotem\ntotemic\ntouch\ntouchdown\ntouchstone\ntouchy\ntough\ntour\ntournament\ntousle\ntout\ntow\ntoward\ntowboat\ntowel\ntower\ntowhead\ntowhee\ntown\ntownhouse\nTownsend\ntownsman\ntownsmen\ntoxic\ntoxicology\ntoxin\ntoy\nToyota\ntrace\ntraceable\ntracery\ntrachea\ntrack\ntrackage\ntract\ntractor\nTracy\ntrade\ntrademark\ntradeoff\ntradesman\ntradesmen\ntradition\ntraffic\ntrafficked\ntrafficking\ntrag\ntragedian\ntragedy\ntragic\ntragicomic\ntrail\ntrailside\ntrain\ntrainee\ntrainman\ntrainmen\ntraipse\ntrait\ntraitor\ntraitorous\ntrajectory\ntram\ntrammel\ntramp\ntrample\ntramway\ntrance\ntranquil\ntranquillity\ntransact\ntransalpine\ntransatlantic\ntransceiver\ntranscend\ntranscendent\ntranscendental\ntransconductance\ntranscontinental\ntranscribe\ntranscript\ntranscription\ntransducer\ntransduction\ntransect\ntransept\ntransfer\ntransferee\ntransference\ntransferor\ntransferral\ntransferred\ntransferring\ntransfix\ntransform\ntransformation\ntransfusable\ntransfuse\ntransfusion\ntransgress\ntransgression\ntransgressor\ntransient\ntransistor\ntransit\nTransite\ntransition\ntransitive\ntransitory\ntranslate\ntransliterate\ntranslucent\ntransmissible\ntransmission\ntransmit\ntransmittable\ntransmittal\ntransmittance\ntransmitted\ntransmitter\ntransmitting\ntransmutation\ntransmute\ntransoceanic\ntransom\ntranspacific\ntransparent\ntranspiration\ntranspire\ntransplant\ntransplantation\ntransport\ntransportation\ntransposable\ntranspose\ntransposition\ntransship\ntransshipping\ntransversal\ntransverse\ntransvestite\ntrap\ntrapezium\ntrapezoid\ntrapezoidal\ntrapping\ntrash\ntrashy\nTrastevere\ntrauma\ntraumatic\ntravail\ntravel\ntravelogue\ntraversable\ntraversal\ntraverse\ntravertine\ntravesty\nTravis\ntrawl\ntray\ntreacherous\ntreachery\ntread\ntreadle\ntreadmill\ntreason\ntreasonous\ntreasure\ntreasury\ntreat\ntreatise\ntreaty\ntreble\ntree\ntreelike\ntreetop\ntrefoil\ntrek\ntrekking\ntrellis\ntremble\ntremendous\ntremor\ntremulous\ntrench\ntrenchant\ntrencherman\ntrenchermen\ntrend\ntrendy\nTrenton\ntrepidation\ntrespass\ntress\ntrestle\nTrevelyan\ntriable\ntriad\ntrial\ntriangle\ntriangular\ntriangulate\nTriangulum\nTrianon\ntriatomic\ntribal\ntribe\ntribesman\ntribesmen\ntribulate\ntribunal\ntribune\ntributary\ntribute\nTrichinella\ntrichloroacetic\ntrichloroethane\ntrichrome\ntrick\ntrickery\ntrickle\ntrickster\ntricky\ntrident\ntridiagonal\ntried\ntriennial\ntrifle\ntrifluouride\ntrig\ntrigonal\ntrigonometric\ntrigonometry\ntrigram\ntrill\ntrillion\ntrilobite\ntrilogy\ntrim\ntrimer\ntrimester\ntrimming\nTrinidad\ntrinitarian\ntrinity\ntrinket\ntrio\ntriode\ntrioxide\ntrip\ntripartite\ntripe\ntriphenylphosphine\ntriple\ntriplet\nTriplett\ntriplex\ntriplicate\ntripod\ntripoli\ntripping\ntriptych\ntrisodium\nTristan\ntristate\ntrisyllable\ntrite\ntritium\ntriton\ntriumph\ntriumphal\ntriumphant\ntriune\ntrivalent\ntrivia\ntrivial\ntrivium\ntrod\ntrodden\ntroglodyte\ntroika\nTrojan\ntroll\ntrolley\ntrollop\ntrombone\ntrompe\ntroop\ntrophic\ntrophy\ntropic\ntropopause\ntroposphere\ntropospheric\ntrot\ntrotting\ntrouble\ntroubleshoot\ntroublesome\ntrough\ntrounce\ntroupe\ntrouser\ntrout\nTroutman\ntroy\ntruancy\ntruant\ntruce\ntruck\ntruculent\ntrudge\nTrudy\ntrue\ntruism\ntruly\nTruman\nTrumbull\ntrump\ntrumpery\ntrumpet\ntruncate\ntrundle\ntrunk\ntruss\ntrust\ntrustee\ntrustful\ntrustworthy\ntruth\ntruthful\nTRW\ntry\ntrypsin\nt's\ntsar\ntsarina\ntsunami\nTTL\nTTY\ntub\ntuba\ntube\ntuberculin\ntuberculosis\ntubular\ntubule\ntuck\nTucson\nTudor\nTuesday\ntuff\ntuft\ntug\ntugging\ntuition\nTulane\ntularemia\ntulip\ntulle\nTulsa\ntum\ntumble\ntumbrel\ntumult\ntumultuous\ntun\ntuna\ntundra\ntune\ntuneful\ntung\ntungstate\ntungsten\ntunic\nTunis\nTunisia\ntunnel\ntupelo\nturban\nturbinate\nturbine\nturbofan\nturbojet\nturbulent\nturf\nTurin\nTuring\nturk\nturkey\nTurkish\nturmoil\nturn\nturnabout\nturnaround\nturnery\nturnip\nturnkey\nturnoff\nturnout\nturnover\nturnpike\nturnstone\nturntable\nturpentine\nturpitude\nturquoise\nturret\nturtle\nturtleback\nturtleneck\nturvy\nTuscaloosa\nTuscan\nTuscany\nTuscarora\ntusk\nTuskegee\ntussle\ntutelage\ntutor\ntutorial\nTuttle\ntutu\ntuxedo\nTV\nTVA\nTWA\ntwaddle\ntwain\ntweak\ntweed\ntweedy\ntweeze\ntwelfth\ntwelve\ntwentieth\ntwenty\ntwice\ntwiddle\ntwig\ntwigging\ntwilight\ntwill\ntwin\ntwine\ntwinge\ntwinkle\ntwinning\ntwirl\ntwirly\ntwist\ntwisty\ntwit\ntwitch\ntwitchy\ntwitting\ntwo\ntwofold\nTwombly\ntwosome\nTWX\nTyburn\ntycoon\ntying\nTyler\ntype\ntypeface\ntypescript\ntypeset\ntypesetter\ntypesetting\ntypewrite\ntypewritten\ntyphoid\nTyphon\ntyphoon\ntyphus\ntypic\ntypify\ntypo\ntypographer\ntypography\ntypology\ntyrannic\ntyrannicide\ntyranny\ntyrant\ntyrosine\nTyson\nu\nubiquitous\nubiquity\nUCLA\nUganda\nugh\nugly\nUK\nUkrainian\nUlan\nulcer\nulcerate\nUllman\nUlster\nulterior\nultimate\nultimatum\nultra\nultracentrifuge\nultraconservative\nultrafast\nultramarine\nultramodern\nultrashort\nultrasonic\nultrasound\nultrastructure\nultraviolet\nUlysses\number\numbilical\numbilici\numbilicus\numbra\numbrage\numbrella\numpire\nUN\nunanimity\nunanimous\nunary\nunbeknownst\nunbidden\nunchristian\nuncle\nuncouth\nunction\nunder\nunderclassman\nunderclassmen\nunderling\nundulate\nUNESCO\nuniaxial\nunicorn\nunidimensional\nunidirectional\nuniform\nunify\nunilateral\nunimodal\nuninominal\nunion\nuniplex\nunipolar\nuniprocessor\nunique\nUniroyal\nunison\nunit\nunitarian\nunitary\nunite\nunity\nUnivac\nunivalent\nunivariate\nuniversal\nuniverse\nUnix\nunkempt\nunruly\nuntil\nunwieldy\nup\nupbeat\nupbraid\nupbring\nupcome\nupdate\nupdraft\nupend\nupgrade\nupheaval\nupheld\nuphill\nuphold\nupholster\nupholstery\nupkeep\nupland\nuplift\nupon\nupper\nupperclassman\nupperclassmen\nuppercut\nuppermost\nupraise\nupright\nuprise\nupriver\nuproar\nuproarious\nuproot\nupset\nupsetting\nupshot\nupside\nupsilon\nupslope\nupstair\nupstand\nupstate\nupstater\nupstream\nupsurge\nupswing\nuptake\nUpton\nuptown\nuptrend\nupturn\nupward\nupwind\nurania\nuranium\nUranus\nuranyl\nurban\nUrbana\nurbane\nurbanite\nurchin\nurea\nuremia\nurethane\nurethra\nurge\nurgency\nurgent\nurging\nurinal\nurinary\nurine\nUris\nurn\nUrsa\nUrsula\nUrsuline\nUruguay\nu's\nus\nUSA\nusable\nUSAF\nusage\nUSC\nUSC&GS\nUSDA\nuse\nuseful\nUSGS\nusher\nUSIA\nUSN\nUSPS\nUSSR\nusual\nusurer\nusurious\nusurp\nusurpation\nusury\nUtah\nutensil\nuterine\nUtica\nutile\nutilitarian\nutility\nutmost\nutopia\nutopian\nutter\nutterance\nuttermost\nv\nvacant\nvacate\nvacationland\nvaccinate\nvaccine\nvacillate\nvacua\nvacuo\nvacuolate\nvacuole\nvacuous\nvacuum\nvade\nVaduz\nvagabond\nvagary\nvagina\nvaginal\nvagrant\nvague\nVail\nvain\nvainglorious\nvale\nvaledictorian\nvaledictory\nvalent\nvalentine\nValerie\nValery\nvalet\nvaleur\nValhalla\nvaliant\nvalid\nvalidate\nValkyrie\nValletta\nvalley\nValois\nvaluate\nvalue\nvalve\nvamp\nvampire\nvan\nvanadium\nVance\nVancouver\nvandal\nVandenberg\nVanderbilt\nVanderpoel\nvanguard\nvanilla\nvanish\nvanity\nvanquish\nvantage\nvariable\nvariac\nVarian\nvariant\nvariate\nvariegate\nvariety\nvarious\nvaristor\nVaritype\nvarnish\nvary\nvascular\nvase\nvassal\nvast\nvat\nVatican\nvaudeville\nVaudois\nVaughan\nVaughn\nvault\nveal\nvector\nvectorial\nVeda\nvee\nveer\nveery\nVega\nvegetable\nvegetarian\nvegetate\nvehement\nvehicle\nvehicular\nveil\nvein\nVelasquez\nveldt\nVella\nvellum\nvelocity\nvelours\nvelvet\nvelvety\nvenal\nvend\nvendetta\nvendible\nvendor\nveneer\nvenerable\nvenerate\nvenereal\nVenetian\nVeneto\nVenezuela\nvengeance\nvengeful\nvenial\nVenice\nvenison\nvenom\nvenomous\nvent\nventilate\nventricle\nventure\nventuresome\nventuri\nVenus\nVenusian\nVera\nveracious\nveracity\nveranda\nverandah\nverb\nverbal\nverbatim\nverbena\nverbiage\nverbose\nverbosity\nverdant\nVerde\nVerdi\nverdict\nverge\nveridic\nverify\nverisimilitude\nveritable\nverity\nVerlag\nvermeil\nvermiculite\nvermilion\nvermin\nVermont\nvermouth\nVerna\nvernacular\nvernal\nVerne\nvernier\nVernon\nVerona\nVeronica\nversa\nVersailles\nversatile\nverse\nversion\nversus\nvertebra\nvertebrae\nvertebral\nvertebrate\nvertex\nvertical\nvertices\nvertigo\nverve\nvery\nvesicular\nvesper\nvessel\nvest\nvestal\nvestibule\nvestige\nvestigial\nvestry\nvet\nvetch\nveteran\nveterinarian\nveterinary\nveto\nvetting\nvex\nvexation\nvexatious\nvi\nvia\nviaduct\nvial\nvibrant\nvibrate\nvibrato\nviburnum\nvicar\nvicarious\nvice\nvicelike\nviceroy\nVichy\nvicinal\nvicinity\nvicious\nvicissitude\nVicksburg\nVicky\nvictim\nvictor\nVictoria\nVictorian\nvictorious\nvictory\nvictrola\nvictual\nVida\nvideo\nvideotape\nvie\nVienna\nViennese\nVientiane\nViet\nVietnam\nVietnamese\nview\nviewpoint\nvigil\nvigilant\nvigilante\nvigilantism\nvignette\nvigorous\nvii\nviii\nViking\nvile\nvilify\nvilla\nvillage\nvillain\nvillainous\nvillein\nVincent\nvindicate\nvindictive\nvine\nvinegar\nvineyard\nVinson\nvintage\nvintner\nvinyl\nviola\nviolate\nviolent\nviolet\nviolin\nVirgil\nvirgin\nvirginal\nVirginia\nVirginian\nVirgo\nvirgule\nvirile\nvirtual\nvirtue\nvirtuosi\nvirtuosity\nvirtuoso\nvirtuous\nvirulent\nvirus\nvis\nvisa\nvisage\nviscera\nvisceral\nviscoelastic\nviscometer\nviscosity\nviscount\nviscous\nvise\nviselike\nVishnu\nvisible\nVisigoth\nvision\nvisionary\nvisit\nvisitation\nvisitor\nvisor\nvista\nvisual\nvita\nvitae\nvital\nvitamin\nvitiate\nVito\nvitreous\nvitrify\nvitriol\nvitriolic\nvitro\nviva\nvivace\nvivacious\nvivacity\nVivaldi\nVivian\nvivid\nvivify\nvivo\nvixen\nviz\nVladimir\nVladivostok\nvocable\nvocabularian\nvocabulary\nvocal\nvocalic\nvocate\nvociferous\nVogel\nvogue\nvoice\nvoiceband\nvoid\nvolatile\nvolcanic\nvolcanism\nvolcano\nvolition\nVolkswagen\nvolley\nvolleyball\nVolstead\nvolt\nVolta\nvoltage\nvoltaic\nVoltaire\nVolterra\nvoltmeter\nvoluble\nvolume\nvolumetric\nvoluminous\nvoluntary\nvolunteer\nvoluptuous\nVolvo\nvomit\nvon\nvoodoo\nvoracious\nvoracity\nvortex\nvortices\nvorticity\nVoss\nvotary\nvote\nvotive\nvouch\nvouchsafe\nVought\nvow\nvowel\nvoyage\nVreeland\nv's\nVulcan\nvulgar\nvulnerable\nvulpine\nvulture\nvulturelike\nvying\nw\nWaals\nWabash\nWAC\nwack\nwacke\nwacky\nWaco\nwad\nwaddle\nwade\nwadi\nWadsworth\nwafer\nwaffle\nwag\nwage\nwagging\nwaggle\nWagner\nwagoneer\nwah\nWahl\nwail\nwainscot\nWainwright\nwaist\nwaistcoat\nwaistline\nwait\nWaite\nwaitress\nwaive\nwake\nWakefield\nwakeful\nwaken\nwakerobin\nwakeup\nWalcott\nWalden\nWaldo\nWaldorf\nWaldron\nwale\nWalgreen\nwalk\nwalkie\nwalkout\nwalkover\nwalkway\nwall\nwallaby\nWallace\nwallboard\nWaller\nwallet\nWallis\nwallop\nwallow\nwallpaper\nWalls\nwally\nwalnut\nWalpole\nwalrus\nWalsh\nWalt\nWalter\nWalters\nWaltham\nWalton\nwaltz\nwan\nwand\nwander\nwane\nWang\nwangle\nwant\nwanton\nwapato\nwapiti\nWappinger\nwar\nwarble\nward\nwarden\nwardrobe\nwardroom\nware\nwarehouse\nwarehouseman\nwarfare\nwarhead\nWaring\nwarlike\nwarm\nwarmhearted\nwarmish\nwarmonger\nwarmth\nwarmup\nwarn\nwarp\nwarrant\nwarranty\nwarren\nwarring\nwarrior\nWarsaw\nwart\nwartime\nwarty\nWarwick\nwary\nwas\nwash\nwashbasin\nwashboard\nwashbowl\nWashburn\nWashington\nwashout\nwashy\nwasn't\nwasp\nwaspish\nWasserman\nwast\nwastage\nwaste\nwastebasket\nwasteful\nwasteland\nwastewater\nwastrel\nwatch\nwatchband\nwatchdog\nwatchful\nwatchmake\nwatchman\nwatchmen\nwatchword\nwater\nWaterbury\nwatercourse\nwaterfall\nwaterfront\nWatergate\nWaterhouse\nwaterline\nWaterloo\nWaterman\nwatermelon\nwaterproof\nWaters\nwatershed\nwaterside\nWatertown\nwaterway\nwatery\nWatkins\nWatson\nwatt\nwattage\nwattle\nWatts\nwave\nwaveform\nwavefront\nwaveguide\nwavelength\nwavenumber\nwavy\nwax\nwaxen\nwaxwork\nwaxy\nway\nwaybill\nwaylaid\nwaylay\nWayne\nwayside\nwayward\nwe\nweak\nweaken\nweal\nwealth\nwealthy\nwean\nweapon\nweaponry\nwear\nwearied\nwearisome\nweary\nweasel\nweather\nweatherbeaten\nweatherproof\nweatherstrip\nweatherstripping\nweave\nweb\nWebb\nwebbing\nweber\nWebster\nWECo\nwe'd\nwed\nwedding\nwedge\nwedlock\nWednesday\nwee\nweed\nweedy\nweek\nweekday\nweekend\nWeeks\nweep\nWehr\nWei\nWeierstrass\nweigh\nweight\nweighty\nWeinberg\nWeinstein\nweir\nweird\nWeiss\nWelch\nwelcome\nweld\nWeldon\nwelfare\nwe'll\nwell\nwellbeing\nWeller\nWelles\nWellesley\nwellington\nWells\nwelsh\nwelt\nWendell\nWendy\nwent\nwept\nwe're\nwere\nweren't\nWerner\nwert\nWerther\nWesley\nWesleyan\nwest\nwestbound\nWestchester\nwesterly\nwestern\nwesternmost\nWestfield\nWestinghouse\nWestminster\nWeston\nwestward\nwet\nwetland\nwetting\nwe've\nWeyerhauser\nwhack\nwhale\nWhalen\nwham\nwhamming\nwharf\nWharton\nwharves\nwhat\nwhat'd\nwhatever\nWhatley\nwhatnot\nwhat're\nwhatsoever\nwheat\nWheatstone\nwhee\nwheedle\nwheel\nwheelbase\nwheelchair\nwheelhouse\nwheeze\nwheezy\nWhelan\nwhelk\nWheller\nwhelm\nwhelp\nwhen\nwhence\nwhenever\nwhere\nwhereabout\nwhereas\nwhereby\nwhere'd\nwherefore\nwherein\nwhereof\nwhereon\nwhere're\nwheresoever\nwhereupon\nwherever\nwherewith\nwhet\nwhether\nwhetting\nwhich\nwhichever\nwhiff\nwhig\nwhile\nwhim\nwhimper\nwhimsey\nwhimsic\nwhine\nwhinny\nwhip\nwhiplash\nWhippany\nwhippet\nwhipping\nWhipple\nwhipsaw\nwhir\nwhirl\nwhirligig\nwhirlpool\nwhirlwind\nwhirring\nwhisk\nwhisper\nwhistle\nwhistleable\nwhit\nWhitaker\nWhitcomb\nwhite\nwhiteface\nWhitehall\nwhitehead\nWhitehorse\nwhiten\nwhitetail\nwhitewash\nwhither\nWhitlock\nWhitman\nWhitney\nWhittaker\nWhittier\nwhiz\nwhizzing\nwho\nwhoa\nwho'd\nwhoever\nwhole\nwholehearted\nwholesale\nwholesome\nwho'll\nwholly\nwhom\nwhomsoever\nwhoop\nwhoosh\nwhop\nwhopping\nwhore\nwhose\nwhosoever\nwhup\nwhy\nWichita\nwick\nwicket\nwide\nwiden\nwidespread\nwidgeon\nwidget\nwidow\nwidowhood\nwidth\nwidthwise\nwield\nwiener\nWier\nwife\nwig\nwigging\nWiggins\nwiggle\nwiggly\nwigmake\nWilbur\nWilcox\nwild\nwildcat\nwildcatter\nwilderness\nwildfire\nwildlife\nwile\nWiley\nWilfred\nwilful\nWilhelm\nWilhelmina\nWilkes\nWilkins\nWilkinson\nwill\nWilla\nWillard\nwillful\nWilliam\nWilliams\nWilliamsburg\nWilliamson\nWillie\nWillis\nWilloughby\nwillow\nwillowy\nWills\nWilma\nWilmington\nWilshire\nWilson\nWilsonian\nwilt\nwily\nwin\nwince\nwinch\nWinchester\nwind\nwindbag\nwindbreak\nwindfall\nwindmill\nwindow\nwindowpane\nwindowsill\nwindshield\nWindsor\nwindstorm\nwindup\nwindward\nwindy\nwine\nwinemake\nwinemaster\nwinery\nwineskin\nWinfield\nwing\nwingback\nwingman\nwingmen\nwingspan\nwingtip\nWinifred\nwink\nwinkle\nWinnetka\nWinnie\nwinning\nWinnipeg\nWinnipesaukee\nwinnow\nwino\nWinslow\nwinsome\nWinston\nwinter\nWinters\nwintertime\nWinthrop\nwintry\nwiny\nwipe\nwire\nwireman\nwiremen\nwiry\nWisconsin\nwisdom\nwise\nwiseacre\nwisecrack\nwisenheimer\nwish\nwishbone\nwishful\nwishy\nwisp\nwispy\nwistful\nwit\nwitch\nwitchcraft\nwith\nwithal\nwithdraw\nwithdrawal\nwithdrawn\nwithdrew\nwithe\nwither\nwithheld\nwithhold\nwithin\nwithout\nwithstand\nwithstood\nwithy\nwitness\nWitt\nwitting\nwitty\nwive\nwizard\nwobble\nwoe\nwoebegone\nwoeful\nwok\nwoke\nWolcott\nwold\nwolf\nWolfe\nWolff\nWolfgang\nwolfish\nwolve\nwoman\nwomanhood\nwomb\nwomen\nwon\nwonder\nwonderful\nwonderland\nwondrous\nWong\nwon't\nwont\nwoo\nwood\nWoodard\nWoodbury\nwoodcarver\nwoodcock\nwoodcut\nwooden\nwoodgrain\nwoodhen\nwoodland\nWoodlawn\nwoodlot\nwoodpeck\nwoodrow\nwoodruff\nWoods\nwoodshed\nwoodside\nwoodward\nwoodwind\nwoodwork\nwoody\nwoodyard\nwool\nwoolen\nwoolgather\nWoolworth\nWooster\nwop\nWorcester\nword\nWordsworth\nwordy\nwore\nwork\nworkbench\nworkday\nworkhorse\nworkload\nworkman\nworkmanlike\nworkmen\nworkout\nworkpiece\nworksheet\nworkshop\nworkspace\nworktable\nworld\nworldwide\nworm\nwormy\nworn\nworrisome\nworry\nworse\nworsen\nworship\nworshipful\nworst\nworth\nWorthington\nworthwhile\nworthy\nWotan\nwould\nwouldn't\nwound\nwove\nwoven\nwow\nwrack\nwraith\nwrangle\nwrap\nwrapping\nwrapup\nwrath\nwrathful\nwreak\nwreath\nwreathe\nwreck\nwreckage\nwrench\nwrest\nwrestle\nwretch\nwriggle\nwright\nWrigley\nwring\nwrinkle\nwrist\nwristband\nwristwatch\nwrit\nwrite\nwriteup\nwrithe\nwritten\nwrong\nwrongdoer\nwrongdoing\nwrongful\nWronskian\nwrote\nwrought\nwry\nw's\nWu\nWuhan\nWyandotte\nWyatt\nWyeth\nWylie\nWyman\nWyner\nwynn\nWyoming\nx\nXavier\nxenon\nxenophobia\nxerography\nXerox\nXerxes\nxi\nx's\nxylem\nxylene\nxylophone\ny\nyacht\nyachtsman\nyachtsmen\nyah\nyak\nYakima\nYale\nYalta\nyam\nYamaha\nyang\nyank\nYankee\nYankton\nYaounde\nyap\nyapping\nYaqui\nyard\nyardage\nyardstick\nYarmouth\nyarmulke\nyarn\nyarrow\nYates\nyaw\nyawl\nyawn\nye\nyea\nYeager\nyeah\nyear\nyearbook\nyearn\nyeast\nyeasty\nYeats\nyell\nyellow\nyellowish\nYellowknife\nyelp\nYemen\nyen\nyeoman\nyeomanry\nyeshiva\nyesterday\nyesteryear\nyet\nYiddish\nyield\nyin\nyip\nyipping\nYMCA\nyodel\nYoder\nyoga\nyogi\nyoke\nyokel\nYokohama\nYokuts\nyolk\nyon\nyond\nYonkers\nyore\nYork\nYorktown\nYosemite\nYost\nyou\nyou'd\nyou'll\nyoung\nyoungish\nyoungster\nYoungstown\nyour\nyou're\nyourself\nyourselves\nyouth\nyouthful\nyou've\nyow\nYpsilanti\ny's\nytterbium\nyttrium\nYucatan\nyucca\nYugoslav\nYugoslavia\nyuh\nYuki\nYukon\nyule\nYves\nYvette\nYWCA\nz\nZachary\nzag\nzagging\nZaire\nZambia\nZan\nZanzibar\nzap\nzapping\nzeal\nZealand\nzealot\nzealous\nzebra\nZeiss\nZellerbach\nZen\nzenith\nzero\nzeroes\nzeroth\nzest\nzesty\nzeta\nZeus\nZiegler\nzig\nzigging\nzigzag\nzigzagging\nzilch\nZimmerman\nzinc\nzing\nZion\nZionism\nzip\nzipping\nzircon\nzirconium\nzloty\nzodiac\nzodiacal\nZoe\nZomba\nzombie\nzone\nzoo\nzoology\nzoom\nZoroaster\nZoroastrian\nzounds\nz's\nZurich\n"
.globl ___input ## @__input
.p2align 4, 0x0
___input:
.ascii "todd austin\nscott breach\nguri sohi\n"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "words"
.section __DATA,__data
.globl ___mwords ## @__mwords
.p2align 3, 0x0
___mwords:
.quad L_.str
.quad 201039 ## 0x3114f
.quad ___words
.long 0 ## 0x0
.space 4
.globl _mwords ## @mwords
.p2align 3, 0x0
_mwords:
.quad ___mwords
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "input"
.section __DATA,__data
.globl ___minput ## @__minput
.p2align 3, 0x0
___minput:
.quad L_.str.1
.quad 35 ## 0x23
.quad ___input
.long 0 ## 0x0
.space 4
.globl _minput ## @minput
.p2align 3, 0x0
_minput:
.quad ___minput
.globl _cchMinLength ## @cchMinLength
.p2align 2, 0x0
_cchMinLength:
.long 3 ## 0x3
.comm _pchDictionary,8,3 ## @pchDictionary
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "Unable to allocate memory for dictionary\n"
L_.str.3: ## @.str.3
.asciz "r"
L_.str.4: ## @.str.4
.asciz "main dictionary has %u entries\n"
L_.str.5: ## @.str.5
.asciz "Dictionary too large; increase MAXWORDS\n"
L_.str.6: ## @.str.6
.asciz "%lu bytes wasted\n"
.comm _alPhrase,416,4 ## @alPhrase
.comm _aqMainMask,16,4 ## @aqMainMask
.comm _aqMainSign,16,4 ## @aqMainSign
.comm _cchPhraseLength,4,2 ## @cchPhraseLength
.comm _auGlobalFrequency,104,4 ## @auGlobalFrequency
L_.str.7: ## @.str.7
.asciz "MAX_QUADS not large enough\n"
L_.str.8: ## @.str.8
.asciz "Out of memory after %d candidates\n"
.comm _cpwCand,4,2 ## @cpwCand
L_.str.9: ## @.str.9
.asciz "%s "
L_.str.10: ## @.str.10
.asciz "Too many candidates\n"
.comm _apwCand,40000,4 ## @apwCand
L_.str.11: ## @.str.11
.asciz "%d candidates\n"
L_.str.12: ## @.str.12
.asciz "%15s%c"
L_.str.13: ## @.str.13
.asciz "\n"
.comm _cpwLast,4,2 ## @cpwLast
.comm _apwSol,408,4 ## @apwSol
.comm _achByFrequency,26,4 ## @achByFrequency
L_.str.14: ## @.str.14
.asciz "Order of search will be "
L_.str.15: ## @.str.15
.asciz "Usage: anagram dictionary [length]\n"
.comm _achPhrase,255,4 ## @achPhrase
L_.str.16: ## @.str.16
.asciz "New length: %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _Fatal ; -- Begin function Fatal
.p2align 2
_Fatal: ; @Fatal
.cfi_startproc
; %bb.0:
sub sp, sp, #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
str x1, [sp]
bl _libmin_printf
mov w0, #1 ; =0x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
b _libmin_fail
.cfi_endproc
; -- End function
.globl _ReadDict ; -- Begin function ReadDict
.p2align 2
_ReadDict: ; @ReadDict
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
adrp x22, _mwords@PAGE
ldr x0, [x22, _mwords@PAGEOFF]
bl _libmin_msize
mov w8, #52000 ; =0xcb20
add x19, x0, x8
mov x0, x19
bl _libmin_malloc
mov x20, x0
Lloh0:
adrp x21, _pchDictionary@GOTPAGE
Lloh1:
ldr x21, [x21, _pchDictionary@GOTPAGEOFF]
str x0, [x21]
cbnz x0, LBB1_2
; %bb.1:
str xzr, [sp]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB1_2:
ldr x0, [x22, _mwords@PAGEOFF]
Lloh4:
adrp x1, l_.str.3@PAGE
Lloh5:
add x1, x1, l_.str.3@PAGEOFF
bl _libmin_mopen
ldr x0, [x22, _mwords@PAGEOFF]
bl _libmin_meof
mov w23, #0 ; =0x0
cbnz w0, LBB1_9
; %bb.3:
Lloh6:
adrp x24, __pctype@GOTPAGE
Lloh7:
ldr x24, [x24, __pctype@GOTPAGEOFF]
b LBB1_5
LBB1_4: ; in Loop: Header=BB1_5 Depth=1
add x20, x28, #3
strb wzr, [x28, #2]
add w8, w25, #3
strb w8, [x26]
strb w27, [x26, #1]
add w23, w23, #1
ldr x0, [x22, _mwords@PAGEOFF]
bl _libmin_meof
cbnz w0, LBB1_8
LBB1_5: ; =>This Loop Header: Depth=1
; Child Loop BB1_6 Depth 2
mov x25, #0 ; =0x0
mov w27, #0 ; =0x0
mov x26, x20
LBB1_6: ; Parent Loop BB1_5 Depth=1
; => This Inner Loop Header: Depth=2
add x28, x26, x25
ldr x0, [x22, _mwords@PAGEOFF]
bl _libmin_mgetc
cmn w0, #1
ccmp w0, #10, #4, ne
b.eq LBB1_4
; %bb.7: ; in Loop: Header=BB1_6 Depth=2
ldr x8, [x24]
ldrh w8, [x8, w0, sxtw #1]
tst w8, #0x3
cinc w27, w27, ne
strb w0, [x28, #2]
add x25, x25, #1
b LBB1_6
LBB1_8:
add x8, x26, x25
add x20, x8, #3
LBB1_9:
ldr x0, [x22, _mwords@PAGEOFF]
bl _libmin_mclose
strb wzr, [x20]
str x23, [sp]
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
lsr w8, w23, #4
cmp w8, #1625
b.lo LBB1_11
; %bb.10:
str xzr, [sp]
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB1_11:
ldr x8, [x21]
mvn x9, x20
add x9, x9, x19
add x8, x9, x8
str x8, [sp]
Lloh12:
adrp x0, l_.str.6@PAGE
Lloh13:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _BuildMask ; -- Begin function BuildMask
.p2align 2
_BuildMask: ; @BuildMask
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, x0
Lloh14:
adrp x19, _alPhrase@GOTPAGE
Lloh15:
ldr x19, [x19, _alPhrase@GOTPAGEOFF]
mov x0, x19
mov w1, #0 ; =0x0
mov w2, #416 ; =0x1a0
bl _libmin_memset
Lloh16:
adrp x20, _aqMainMask@GOTPAGE
Lloh17:
ldr x20, [x20, _aqMainMask@GOTPAGEOFF]
mov x0, x20
mov w1, #0 ; =0x0
mov w2, #16 ; =0x10
bl _libmin_memset
Lloh18:
adrp x21, _aqMainSign@GOTPAGE
Lloh19:
ldr x21, [x21, _aqMainSign@GOTPAGEOFF]
mov x0, x21
mov w1, #0 ; =0x0
mov w2, #16 ; =0x10
bl _libmin_memset
Lloh20:
adrp x8, _cchPhraseLength@GOTPAGE
Lloh21:
ldr x8, [x8, _cchPhraseLength@GOTPAGEOFF]
str wzr, [x8]
ldrb w12, [x22]
cbz w12, LBB2_5
; %bb.1:
mov w9, #0 ; =0x0
Lloh22:
adrp x10, __pctype@GOTPAGE
Lloh23:
ldr x10, [x10, __pctype@GOTPAGEOFF]
Lloh24:
ldr x10, [x10]
add x11, x22, #1
b LBB2_3
LBB2_2: ; in Loop: Header=BB2_3 Depth=1
ldrb w12, [x11], #1
cbz w12, LBB2_5
LBB2_3: ; =>This Inner Loop Header: Depth=1
sxtb x13, w12
ldrh w13, [x10, x13, lsl #1]
tst w13, #0x3
b.eq LBB2_2
; %bb.4: ; in Loop: Header=BB2_3 Depth=1
sxtb w12, w12
add w14, w12, #32
tst w13, #0x1
csel w12, w12, w14, eq
add x12, x19, w12, sxtw #4
sub x12, x12, #1552
ldr w13, [x12]
add w13, w13, #1
str w13, [x12]
add w9, w9, #1
str w9, [x8]
b LBB2_2
LBB2_5:
mov x23, #0 ; =0x0
mov w8, #0 ; =0x0
mov w24, #0 ; =0x0
Lloh25:
adrp x25, _auGlobalFrequency@GOTPAGE
Lloh26:
ldr x25, [x25, _auGlobalFrequency@GOTPAGEOFF]
mov w26, #-1 ; =0xffffffff
b LBB2_9
LBB2_6: ; in Loop: Header=BB2_9 Depth=1
str xzr, [sp]
Lloh27:
adrp x0, l_.str.7@PAGE
Lloh28:
add x0, x0, l_.str.7@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
mov w8, #0 ; =0x0
ldr w9, [x22]
LBB2_7: ; in Loop: Header=BB2_9 Depth=1
lsl x10, x27, x8
ubfiz x11, x24, #3, #32
ldr x12, [x21, x11]
orr x10, x12, x10
str x10, [x21, x11]
lsl x9, x9, x8
ldr x10, [x20, x11]
orr x9, x9, x10
str x9, [x20, x11]
sub w9, w27, #1
add x10, x19, x23, lsl #4
stp w8, w9, [x10, #4]
str w24, [x10, #12]
add w8, w8, w28
LBB2_8: ; in Loop: Header=BB2_9 Depth=1
add x23, x23, #1
cmp x23, #26
b.eq LBB2_16
LBB2_9: ; =>This Loop Header: Depth=1
; Child Loop BB2_11 Depth 2
add x22, x19, x23, lsl #4
ldr w9, [x22]
cbz w9, LBB2_15
; %bb.10: ; in Loop: Header=BB2_9 Depth=1
str wzr, [x25, x23, lsl #2]
mov w27, #1 ; =0x1
mov w28, #1 ; =0x1
LBB2_11: ; Parent Loop BB2_9 Depth=1
; => This Inner Loop Header: Depth=2
add w28, w28, #1
lsl x27, x27, #1
cmp x27, x9
b.ls LBB2_11
; %bb.12: ; in Loop: Header=BB2_9 Depth=1
add w10, w8, w28
cmp w10, #33
b.lt LBB2_7
; %bb.13: ; in Loop: Header=BB2_9 Depth=1
add w24, w24, #1
cmp w24, #2
b.hs LBB2_6
; %bb.14: ; in Loop: Header=BB2_9 Depth=1
mov w8, #0 ; =0x0
b LBB2_7
LBB2_15: ; in Loop: Header=BB2_9 Depth=1
str w26, [x25, x23, lsl #2]
b LBB2_8
LBB2_16:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.cfi_endproc
; -- End function
.globl _NewWord ; -- Begin function NewWord
.p2align 2
_NewWord: ; @NewWord
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w0, #32 ; =0x20
bl _libmin_malloc
mov x19, x0
cbnz x0, LBB3_2
; %bb.1:
Lloh29:
adrp x8, _cpwCand@GOTPAGE
Lloh30:
ldr x8, [x8, _cpwCand@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
str x8, [sp]
Lloh32:
adrp x0, l_.str.8@PAGE
Lloh33:
add x0, x0, l_.str.8@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB3_2:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.globl _wprint ; -- Begin function wprint
.p2align 2
_wprint: ; @wprint
.cfi_startproc
; %bb.0:
sub sp, sp, #32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp]
Lloh34:
adrp x0, l_.str.9@PAGE
Lloh35:
add x0, x0, l_.str.9@PAGEOFF
bl _libmin_printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.globl _NextWord ; -- Begin function NextWord
.p2align 2
_NextWord: ; @NextWord
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh36:
adrp x20, _cpwCand@GOTPAGE
Lloh37:
ldr x20, [x20, _cpwCand@GOTPAGEOFF]
ldr w8, [x20]
lsr w9, w8, #3
cmp w9, #625
b.lo LBB5_2
; %bb.1:
str xzr, [sp]
Lloh38:
adrp x0, l_.str.10@PAGE
Lloh39:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
ldr w8, [x20]
LBB5_2:
add w9, w8, #1
str w9, [x20]
Lloh40:
adrp x21, _apwCand@GOTPAGE
Lloh41:
ldr x21, [x21, _apwCand@GOTPAGEOFF]
ldr x19, [x21, w8, uxtw #3]
cbnz x19, LBB5_6
; %bb.3:
mov w0, #32 ; =0x20
bl _libmin_malloc
mov x19, x0
cbnz x0, LBB5_5
; %bb.4:
ldr w8, [x20]
str x8, [sp]
Lloh42:
adrp x0, l_.str.8@PAGE
Lloh43:
add x0, x0, l_.str.8@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB5_5:
ldr w8, [x20]
sub w8, w8, #1
str x19, [x21, w8, uxtw #3]
LBB5_6:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.cfi_endproc
; -- End function
.globl _BuildWord ; -- Begin function BuildWord
.p2align 2
_BuildWord: ; @BuildWord
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh44:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh45:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
ldr x8, [x8]
str x8, [sp, #40]
add x20, sp, #8
add x0, sp, #8
mov w1, #0 ; =0x0
mov w2, #26 ; =0x1a
bl _libmin_memset
mov w21, #0 ; =0x0
Lloh47:
adrp x8, __pctype@GOTPAGE
Lloh48:
ldr x8, [x8, __pctype@GOTPAGEOFF]
Lloh49:
ldr x8, [x8]
Lloh50:
adrp x22, _alPhrase@GOTPAGE
Lloh51:
ldr x22, [x22, _alPhrase@GOTPAGEOFF]
mov x9, x19
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldrsb x10, [x9]
cbz x10, LBB6_5
; %bb.2: ; in Loop: Header=BB6_1 Depth=1
add x9, x9, #1
ldrh w11, [x8, x10, lsl #1]
tst w11, #0x3
b.eq LBB6_1
; %bb.3: ; in Loop: Header=BB6_1 Depth=1
add w12, w10, #32
tst w11, #0x1
csel w10, w10, w12, eq
sxtw x10, w10
sub x10, x10, #97
ldrb w11, [x20, x10]
add w11, w11, #1
strb w11, [x20, x10]
lsl x10, x10, #4
ldr w10, [x22, x10]
cmp w10, w11, uxtb
b.lo LBB6_7
; %bb.4: ; in Loop: Header=BB6_1 Depth=1
add w21, w21, #1
b LBB6_1
LBB6_5:
Lloh52:
adrp x8, _auGlobalFrequency@GOTPAGE
Lloh53:
ldr x8, [x8, _auGlobalFrequency@GOTPAGEOFF]
ldp d0, d1, [sp, #8]
ushll.8h v0, v0, #0
ldp q3, q2, [x8]
uaddw.4s v3, v3, v0
uaddw2.4s v0, v2, v0
ldrb w9, [sp, #32]
ldp w10, w11, [x8, #96]
add w9, w10, w9
ldrb w10, [sp, #33]
add w10, w11, w10
stp q3, q0, [x8]
ushll.8h v0, v1, #0
ldp q2, q1, [x8, #32]
uaddw.4s v2, v2, v0
uaddw2.4s v0, v1, v0
stp q2, q0, [x8, #32]
ldr d0, [sp, #24]
ushll.8h v0, v0, #0
ldp q2, q1, [x8, #64]
uaddw.4s v2, v2, v0
uaddw2.4s v0, v1, v0
stp q2, q0, [x8, #64]
stp w9, w10, [x8, #96]
bl _NextWord
mov x20, x0
mov w1, #0 ; =0x0
mov w2, #16 ; =0x10
bl _libmin_memset
mov x8, #0 ; =0x0
str x19, [x20, #16]
str w21, [x20, #24]
add x9, x22, #12
add x10, sp, #8
LBB6_6: ; =>This Inner Loop Header: Depth=1
ldrb w11, [x10, x8]
ldur w12, [x9, #-8]
lsl x11, x11, x12
ldr w12, [x9], #16
lsl x12, x12, #3
ldr x13, [x20, x12]
orr x11, x13, x11
str x11, [x20, x12]
add x8, x8, #1
cmp x8, #26
b.ne LBB6_6
LBB6_7:
ldr x8, [sp, #40]
Lloh54:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh55:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh56:
ldr x9, [x9]
cmp x9, x8
b.ne LBB6_9
; %bb.8:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB6_9:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGot Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.cfi_endproc
; -- End function
.globl _AddWords ; -- Begin function AddWords
.p2align 2
_AddWords: ; @AddWords
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh57:
adrp x8, _pchDictionary@GOTPAGE
Lloh58:
ldr x8, [x8, _pchDictionary@GOTPAGEOFF]
Lloh59:
ldr x20, [x8]
Lloh60:
adrp x19, _cpwCand@GOTPAGE
Lloh61:
ldr x19, [x19, _cpwCand@GOTPAGEOFF]
str wzr, [x19]
ldrb w8, [x20]
cbz w8, LBB7_8
; %bb.1:
adrp x21, _cchMinLength@PAGE
ldr w9, [x21, _cchMinLength@PAGEOFF]
Lloh62:
adrp x22, _cchPhraseLength@GOTPAGE
Lloh63:
ldr x22, [x22, _cchPhraseLength@GOTPAGEOFF]
b LBB7_4
LBB7_2: ; in Loop: Header=BB7_4 Depth=1
add x0, x20, #2
bl _BuildWord
ldr w9, [x21, _cchMinLength@PAGEOFF]
ldrb w8, [x20]
LBB7_3: ; in Loop: Header=BB7_4 Depth=1
add x20, x20, w8, sxtb
ldrb w8, [x20]
cbz w8, LBB7_7
LBB7_4: ; =>This Inner Loop Header: Depth=1
ldrsb w10, [x20, #1]
cmp w9, w10
b.le LBB7_6
; %bb.5: ; in Loop: Header=BB7_4 Depth=1
ldr w11, [x22]
cmp w11, w10
b.eq LBB7_2
b LBB7_3
LBB7_6: ; in Loop: Header=BB7_4 Depth=1
ldr w11, [x22]
add w12, w9, w10
cmp w12, w11
ccmp w11, w10, #4, gt
b.eq LBB7_2
b LBB7_3
LBB7_7:
ldr w8, [x19]
LBB7_8:
str x8, [sp]
Lloh64:
adrp x0, l_.str.11@PAGE
Lloh65:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_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 AdrpLdrGot Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpLdrGot Lloh62, Lloh63
.loh AdrpAdd Lloh64, Lloh65
.cfi_endproc
; -- End function
.globl _DumpCandidates ; -- Begin function DumpCandidates
.p2align 2
_DumpCandidates: ; @DumpCandidates
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh66:
adrp x20, _cpwCand@GOTPAGE
Lloh67:
ldr x20, [x20, _cpwCand@GOTPAGEOFF]
ldr w8, [x20]
cbz w8, LBB8_3
; %bb.1:
mov x21, #0 ; =0x0
Lloh68:
adrp x22, _apwCand@GOTPAGE
Lloh69:
ldr x22, [x22, _apwCand@GOTPAGEOFF]
mov w23, #32 ; =0x20
mov w24, #10 ; =0xa
Lloh70:
adrp x19, l_.str.12@PAGE
Lloh71:
add x19, x19, l_.str.12@PAGEOFF
LBB8_2: ; =>This Inner Loop Header: Depth=1
mvn w8, w21
ldr x9, [x22, x21, lsl #3]
ldr x9, [x9, #16]
tst x8, #0x3
csel x8, x24, x23, eq
stp x9, x8, [sp]
mov x0, x19
bl _libmin_printf
add x21, x21, #1
ldr w8, [x20]
cmp x21, x8
b.lo LBB8_2
LBB8_3:
Lloh72:
adrp x0, l_.str.13@PAGE
Lloh73:
add x0, x0, l_.str.13@PAGEOFF
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _libmin_printf
.loh AdrpLdrGot Lloh66, Lloh67
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpLdrGot Lloh68, Lloh69
.loh AdrpAdd Lloh72, Lloh73
.cfi_endproc
; -- End function
.globl _DumpWords ; -- Begin function DumpWords
.p2align 2
_DumpWords: ; @DumpWords
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh74:
adrp x20, _cpwLast@GOTPAGE
Lloh75:
ldr x20, [x20, _cpwLast@GOTPAGEOFF]
ldr w8, [x20]
cmp w8, #1
b.lt LBB9_3
; %bb.1:
mov x21, #0 ; =0x0
Lloh76:
adrp x22, _apwSol@GOTPAGE
Lloh77:
ldr x22, [x22, _apwSol@GOTPAGEOFF]
Lloh78:
adrp x19, l_.str.9@PAGE
Lloh79:
add x19, x19, l_.str.9@PAGEOFF
LBB9_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22, x21, lsl #3]
ldr x8, [x8, #16]
str x8, [sp]
mov x0, x19
bl _libmin_printf
add x21, x21, #1
ldrsw x8, [x20]
cmp x21, x8
b.lt LBB9_2
LBB9_3:
Lloh80:
adrp x0, l_.str.13@PAGE
Lloh81:
add x0, x0, l_.str.13@PAGEOFF
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _libmin_printf
.loh AdrpLdrGot Lloh74, Lloh75
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpLdrGot Lloh76, Lloh77
.loh AdrpAdd Lloh80, Lloh81
.cfi_endproc
; -- End function
.globl _FindAnagram ; -- Begin function FindAnagram
.p2align 2
_FindAnagram: ; @FindAnagram
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
Lloh82:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh83:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh84:
ldr x8, [x8]
str x8, [sp, #24]
Lloh85:
adrp x22, _cpwCand@GOTPAGE
Lloh86:
ldr x22, [x22, _cpwCand@GOTPAGEOFF]
ldr w8, [x22]
sub w21, w2, #1
Lloh87:
adrp x9, _achByFrequency@GOTPAGE
Lloh88:
ldr x9, [x9, _achByFrequency@GOTPAGEOFF]
add x9, x9, w2, sxtw
Lloh89:
adrp x10, _alPhrase@GOTPAGE
Lloh90:
ldr x10, [x10, _alPhrase@GOTPAGEOFF]
LBB10_1: ; =>This Inner Loop Header: Depth=1
ldrsb x11, [x9], #1
add x11, x10, x11, lsl #4
ldp w12, w25, [x11, #8]
ldr w11, [x11, #4]
lsl w26, w12, w11
ldr x11, [x20, x25, lsl #3]
add w21, w21, #1
tst x11, x26
b.eq LBB10_1
; %bb.2:
Lloh91:
adrp x14, _apwCand@GOTPAGE
Lloh92:
ldr x14, [x14, _apwCand@GOTPAGEOFF]
add x28, x14, x8, lsl #3
cmp x28, x19
b.ls LBB10_17
; %bb.3:
Lloh93:
adrp x15, _aqMainSign@GOTPAGE
Lloh94:
ldr x15, [x15, _aqMainSign@GOTPAGEOFF]
Lloh95:
adrp x24, _cpwLast@GOTPAGE
Lloh96:
ldr x24, [x24, _cpwLast@GOTPAGEOFF]
Lloh97:
adrp x27, l_.str.9@PAGE
Lloh98:
add x27, x27, l_.str.9@PAGEOFF
Lloh99:
adrp x16, _apwSol@GOTPAGE
Lloh100:
ldr x16, [x16, _apwSol@GOTPAGEOFF]
Lloh101:
adrp x17, _cchPhraseLength@GOTPAGE
Lloh102:
ldr x17, [x17, _cchPhraseLength@GOTPAGEOFF]
b LBB10_7
LBB10_4: ; in Loop: Header=BB10_7 Depth=1
ldr w8, [x22]
add x28, x14, x8, lsl #3
add x0, sp, #8
mov x1, x19
mov x2, x21
bl _FindAnagram
LBB10_5: ; in Loop: Header=BB10_7 Depth=1
ldr w8, [x23, #24]
Lloh103:
adrp x17, _cchPhraseLength@GOTPAGE
Lloh104:
ldr x17, [x17, _cchPhraseLength@GOTPAGEOFF]
ldr w9, [x17]
add w8, w9, w8
str w8, [x17]
ldr w8, [x24]
sub w8, w8, #1
str w8, [x24]
Lloh105:
adrp x14, _apwCand@GOTPAGE
Lloh106:
ldr x14, [x14, _apwCand@GOTPAGEOFF]
Lloh107:
adrp x15, _aqMainSign@GOTPAGE
Lloh108:
ldr x15, [x15, _aqMainSign@GOTPAGEOFF]
Lloh109:
adrp x16, _apwSol@GOTPAGE
Lloh110:
ldr x16, [x16, _apwSol@GOTPAGEOFF]
LBB10_6: ; in Loop: Header=BB10_7 Depth=1
add x19, x19, #8
cmp x19, x28
b.hs LBB10_17
LBB10_7: ; =>This Loop Header: Depth=1
; Child Loop BB10_8 Depth 2
; Child Loop BB10_15 Depth 2
ldr x8, [x20]
ldp x9, x10, [x15]
LBB10_8: ; Parent Loop BB10_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr x23, [x19]
ldr x11, [x23]
sub x11, x8, x11
tst x9, x11
b.ne LBB10_6
; %bb.9: ; in Loop: Header=BB10_8 Depth=2
ldr x12, [x20, #8]
ldr x13, [x23, #8]
sub x12, x12, x13
tst x10, x12
b.ne LBB10_6
; %bb.10: ; in Loop: Header=BB10_8 Depth=2
ldr x13, [x23, x25, lsl #3]
tst x13, x26
b.ne LBB10_12
; %bb.11: ; in Loop: Header=BB10_8 Depth=2
ldr x11, [x28, #-8]!
str x11, [x19]
str x23, [x28]
cmp x19, x28
b.lo LBB10_8
b LBB10_17
LBB10_12: ; in Loop: Header=BB10_7 Depth=1
stp x11, x12, [sp, #8]
ldrsw x8, [x24]
add w9, w8, #1
str w9, [x24]
str x23, [x16, x8, lsl #3]
ldr w9, [x23, #24]
ldr w10, [x17]
subs w9, w10, w9
str w9, [x17]
b.ne LBB10_4
; %bb.13: ; in Loop: Header=BB10_7 Depth=1
tbnz w8, #31, LBB10_16
; %bb.14: ; in Loop: Header=BB10_7 Depth=1
mov x24, x16
mov x22, #0 ; =0x0
LBB10_15: ; Parent Loop BB10_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x24, x22, lsl #3]
ldr x8, [x8, #16]
str x8, [sp]
mov x0, x27
bl _libmin_printf
add x22, x22, #1
Lloh111:
adrp x8, _cpwLast@GOTPAGE
Lloh112:
ldr x8, [x8, _cpwLast@GOTPAGEOFF]
Lloh113:
ldrsw x8, [x8]
cmp x22, x8
b.lt LBB10_15
LBB10_16: ; in Loop: Header=BB10_7 Depth=1
Lloh114:
adrp x0, l_.str.13@PAGE
Lloh115:
add x0, x0, l_.str.13@PAGEOFF
bl _libmin_printf
Lloh116:
adrp x22, _cpwCand@GOTPAGE
Lloh117:
ldr x22, [x22, _cpwCand@GOTPAGEOFF]
Lloh118:
adrp x24, _cpwLast@GOTPAGE
Lloh119:
ldr x24, [x24, _cpwLast@GOTPAGEOFF]
b LBB10_5
LBB10_17:
ldr x8, [sp, #24]
Lloh120:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh121:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh122:
ldr x9, [x9]
cmp x9, x8
b.ne LBB10_19
; %bb.18:
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
LBB10_19:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh89, Lloh90
.loh AdrpLdrGot Lloh87, Lloh88
.loh AdrpLdrGot Lloh85, Lloh86
.loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh84
.loh AdrpLdrGot Lloh91, Lloh92
.loh AdrpLdrGot Lloh101, Lloh102
.loh AdrpLdrGot Lloh99, Lloh100
.loh AdrpAdd Lloh97, Lloh98
.loh AdrpLdrGot Lloh95, Lloh96
.loh AdrpLdrGot Lloh93, Lloh94
.loh AdrpLdrGot Lloh109, Lloh110
.loh AdrpLdrGot Lloh107, Lloh108
.loh AdrpLdrGot Lloh105, Lloh106
.loh AdrpLdrGot Lloh103, Lloh104
.loh AdrpLdrGotLdr Lloh111, Lloh112, Lloh113
.loh AdrpLdrGot Lloh118, Lloh119
.loh AdrpLdrGot Lloh116, Lloh117
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122
.cfi_endproc
; -- End function
.globl _CompareFrequency ; -- Begin function CompareFrequency
.p2align 2
_CompareFrequency: ; @CompareFrequency
.cfi_startproc
; %bb.0:
ldrsb x8, [x0]
Lloh123:
adrp x9, _auGlobalFrequency@GOTPAGE
Lloh124:
ldr x9, [x9, _auGlobalFrequency@GOTPAGEOFF]
ldr w8, [x9, x8, lsl #2]
ldrsb x10, [x1]
ldr w9, [x9, x10, lsl #2]
cmp w8, w9
cset w8, ne
csinv w0, w8, wzr, hs
ret
.loh AdrpLdrGot Lloh123, Lloh124
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function SortCandidates
lCPI12_0:
.byte 0 ; 0x0
.byte 1 ; 0x1
.byte 2 ; 0x2
.byte 3 ; 0x3
.byte 4 ; 0x4
.byte 5 ; 0x5
.byte 6 ; 0x6
.byte 7 ; 0x7
.byte 8 ; 0x8
.byte 9 ; 0x9
.byte 10 ; 0xa
.byte 11 ; 0xb
.byte 12 ; 0xc
.byte 13 ; 0xd
.byte 14 ; 0xe
.byte 15 ; 0xf
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0
lCPI12_1:
.byte 16 ; 0x10
.byte 17 ; 0x11
.byte 18 ; 0x12
.byte 19 ; 0x13
.byte 20 ; 0x14
.byte 21 ; 0x15
.byte 22 ; 0x16
.byte 23 ; 0x17
.section __TEXT,__text,regular,pure_instructions
.globl _SortCandidates
.p2align 2
_SortCandidates: ; @SortCandidates
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh125:
adrp x8, lCPI12_0@PAGE
Lloh126:
ldr q0, [x8, lCPI12_0@PAGEOFF]
Lloh127:
adrp x19, _achByFrequency@GOTPAGE
Lloh128:
ldr x19, [x19, _achByFrequency@GOTPAGEOFF]
str q0, [x19]
Lloh129:
adrp x8, lCPI12_1@PAGE
Lloh130:
ldr d0, [x8, lCPI12_1@PAGEOFF]
str d0, [x19, #16]
mov w8, #6424 ; =0x1918
strh w8, [x19, #24]
Lloh131:
adrp x3, _CompareFrequency@PAGE
Lloh132:
add x3, x3, _CompareFrequency@PAGEOFF
mov x0, x19
mov w1, #26 ; =0x1a
mov w2, #1 ; =0x1
bl _libmin_qsort
Lloh133:
adrp x0, l_.str.14@PAGE
Lloh134:
add x0, x0, l_.str.14@PAGEOFF
bl _libmin_printf
mov x20, #0 ; =0x0
LBB12_1: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x19, x20]
add w8, w8, #97
sxtb w0, w8
bl _libmin_putc
add x20, x20, #1
cmp x20, #26
b.ne LBB12_1
; %bb.2:
mov w0, #10 ; =0xa
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _libmin_putc
.loh AdrpAdd Lloh133, Lloh134
.loh AdrpAdd Lloh131, Lloh132
.loh AdrpLdr Lloh129, Lloh130
.loh AdrpLdrGot Lloh127, Lloh128
.loh AdrpAdrp Lloh125, Lloh129
.loh AdrpLdr Lloh125, Lloh126
.cfi_endproc
; -- End function
.globl _GetPhrase ; -- Begin function GetPhrase
.p2align 2
_GetPhrase: ; @GetPhrase
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh135:
adrp x8, _minput@PAGE
Lloh136:
ldr x2, [x8, _minput@PAGEOFF]
mov w1, #255 ; =0xff
bl _libmin_mgets
cmp x0, #0
csel x0, xzr, x19, eq
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdr Lloh135, Lloh136
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub w8, w0, #4
cmn w8, #3
b.hi LBB14_2
; %bb.1:
str xzr, [sp]
Lloh137:
adrp x0, l_.str.15@PAGE
Lloh138:
add x0, x0, l_.str.15@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
b LBB14_4
LBB14_2:
cmp w0, #3
b.ne LBB14_4
; %bb.3:
ldr x0, [x1, #16]
bl _libmin_atoi
adrp x8, _cchMinLength@PAGE
str w0, [x8, _cchMinLength@PAGEOFF]
LBB14_4:
bl _ReadDict
adrp x26, _minput@PAGE
ldr x2, [x26, _minput@PAGEOFF]
Lloh139:
adrp x19, _achPhrase@GOTPAGE
Lloh140:
ldr x19, [x19, _achPhrase@GOTPAGEOFF]
mov x0, x19
mov w1, #255 ; =0xff
bl _libmin_mgets
cbz x0, LBB14_24
; %bb.5:
Lloh141:
adrp x27, __pctype@GOTPAGE
Lloh142:
ldr x27, [x27, __pctype@GOTPAGEOFF]
Lloh143:
adrp x28, _cpwCand@GOTPAGE
Lloh144:
ldr x28, [x28, _cpwCand@GOTPAGEOFF]
Lloh145:
adrp x21, _apwCand@GOTPAGE
Lloh146:
ldr x21, [x21, _apwCand@GOTPAGEOFF]
mov w24, #32 ; =0x20
Lloh147:
adrp x22, l_.str.12@PAGE
Lloh148:
add x22, x22, l_.str.12@PAGEOFF
Lloh149:
adrp x20, _cchPhraseLength@GOTPAGE
Lloh150:
ldr x20, [x20, _cchPhraseLength@GOTPAGEOFF]
mov w23, #10 ; =0xa
adrp x25, _cchMinLength@PAGE
b LBB14_8
LBB14_6: ; in Loop: Header=BB14_8 Depth=1
mov x0, x19
bl _libmin_atoi
; kill: def $w0 killed $w0 def $x0
str w0, [x25, _cchMinLength@PAGEOFF]
str x0, [sp]
Lloh151:
adrp x0, l_.str.16@PAGE
Lloh152:
add x0, x0, l_.str.16@PAGEOFF
bl _libmin_printf
LBB14_7: ; in Loop: Header=BB14_8 Depth=1
ldr x2, [x26, _minput@PAGEOFF]
mov x0, x19
mov w1, #255 ; =0xff
bl _libmin_mgets
cbz x0, LBB14_24
LBB14_8: ; =>This Loop Header: Depth=1
; Child Loop BB14_18 Depth 2
; Child Loop BB14_12 Depth 2
ldr x9, [x27]
ldrsb x8, [x19]
ldrh w9, [x9, x8, lsl #1]
tbnz w9, #2, LBB14_6
; %bb.9: ; in Loop: Header=BB14_8 Depth=1
and w8, w8, #0xff
cmp w8, #63
b.ne LBB14_14
; %bb.10: ; in Loop: Header=BB14_8 Depth=1
ldr w8, [x28]
cbz w8, LBB14_13
; %bb.11: ; in Loop: Header=BB14_8 Depth=1
mov x26, #0 ; =0x0
LBB14_12: ; Parent Loop BB14_8 Depth=1
; => This Inner Loop Header: Depth=2
mvn w8, w26
ldr x9, [x21, x26, lsl #3]
ldr x9, [x9, #16]
tst x8, #0x3
csel x8, x23, x24, eq
stp x9, x8, [sp]
mov x0, x22
bl _libmin_printf
add x26, x26, #1
ldr w8, [x28]
cmp x26, x8
b.lo LBB14_12
LBB14_13: ; in Loop: Header=BB14_8 Depth=1
Lloh153:
adrp x0, l_.str.13@PAGE
Lloh154:
add x0, x0, l_.str.13@PAGEOFF
bl _libmin_printf
adrp x26, _minput@PAGE
b LBB14_7
LBB14_14: ; in Loop: Header=BB14_8 Depth=1
mov x0, x19
bl _BuildMask
Lloh155:
adrp x8, _pchDictionary@GOTPAGE
Lloh156:
ldr x8, [x8, _pchDictionary@GOTPAGEOFF]
Lloh157:
ldr x26, [x8]
str wzr, [x28]
ldrb w8, [x26]
cbz w8, LBB14_22
; %bb.15: ; in Loop: Header=BB14_8 Depth=1
ldr w9, [x25, _cchMinLength@PAGEOFF]
b LBB14_18
LBB14_16: ; in Loop: Header=BB14_18 Depth=2
add x0, x26, #2
bl _BuildWord
ldr w9, [x25, _cchMinLength@PAGEOFF]
ldrb w8, [x26]
LBB14_17: ; in Loop: Header=BB14_18 Depth=2
add x26, x26, w8, sxtb
ldrb w8, [x26]
cbz w8, LBB14_21
LBB14_18: ; Parent Loop BB14_8 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w10, [x26, #1]
cmp w9, w10
b.le LBB14_20
; %bb.19: ; in Loop: Header=BB14_18 Depth=2
ldr w11, [x20]
cmp w11, w10
b.eq LBB14_16
b LBB14_17
LBB14_20: ; in Loop: Header=BB14_18 Depth=2
ldr w11, [x20]
add w12, w9, w10
cmp w12, w11
ccmp w11, w10, #4, gt
b.eq LBB14_16
b LBB14_17
LBB14_21: ; in Loop: Header=BB14_8 Depth=1
ldr w8, [x28]
LBB14_22: ; in Loop: Header=BB14_8 Depth=1
adrp x26, _minput@PAGE
str x8, [sp]
Lloh158:
adrp x0, l_.str.11@PAGE
Lloh159:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_printf
ldr w8, [x28]
ldr w9, [x20]
cmp w8, #0
ccmp w9, #0, #4, ne
b.eq LBB14_7
; %bb.23: ; in Loop: Header=BB14_8 Depth=1
Lloh160:
adrp x8, _cpwLast@GOTPAGE
Lloh161:
ldr x8, [x8, _cpwLast@GOTPAGEOFF]
Lloh162:
str wzr, [x8]
bl _SortCandidates
Lloh163:
adrp x0, _aqMainMask@GOTPAGE
Lloh164:
ldr x0, [x0, _aqMainMask@GOTPAGEOFF]
mov x1, x21
mov w2, #0 ; =0x0
bl _FindAnagram
b LBB14_7
LBB14_24:
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh137, Lloh138
.loh AdrpLdrGot Lloh139, Lloh140
.loh AdrpLdrGot Lloh149, Lloh150
.loh AdrpAdd Lloh147, Lloh148
.loh AdrpLdrGot Lloh145, Lloh146
.loh AdrpLdrGot Lloh143, Lloh144
.loh AdrpLdrGot Lloh141, Lloh142
.loh AdrpAdd Lloh151, Lloh152
.loh AdrpAdd Lloh153, Lloh154
.loh AdrpLdrGotLdr Lloh155, Lloh156, Lloh157
.loh AdrpAdd Lloh158, Lloh159
.loh AdrpLdrGot Lloh163, Lloh164
.loh AdrpLdrGotStr Lloh160, Lloh161, Lloh162
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl ___words ; @__words
___words:
.ascii "10th\n1st\n2nd\n3rd\n4th\n5th\n6th\n7th\n8th\n9th\na\nAaron\nABA\nAbaba\naback\nabalone\nabandon\nabase\nabash\nabate\nabbas\nabbe\nabbey\nabbot\nAbbott\nabbreviate\nabc\nabdicate\nabdomen\nabdominal\nabduct\nAbe\nabed\nAbel\nAbelian\nAbelson\nAberdeen\nAbernathy\naberrant\naberrate\nabet\nabetted\nabetting\nabeyance\nabeyant\nabhorred\nabhorrent\nabide\nAbidjan\nAbigail\nabject\nablate\nablaze\nable\nablution\nAbner\nabnormal\nAbo\naboard\nabode\nabolish\nabolition\nabominable\nabominate\naboriginal\naborigine\naborning\nabort\nabound\nabout\nabove\naboveboard\naboveground\nabovementioned\nabrade\nAbraham\nAbram\nAbramson\nabrasion\nabrasive\nabreact\nabreast\nabridge\nabridgment\nabroad\nabrogate\nabrupt\nabscess\nabscissa\nabscissae\nabsence\nabsent\nabsentee\nabsenteeism\nabsentia\nabsentminded\nabsinthe\nabsolute\nabsolution\nabsolve\nabsorb\nabsorbent\nabsorption\nabsorptive\nabstain\nabstention\nabstinent\nabstract\nabstractor\nabstruse\nabsurd\nabuilding\nabundant\nabusable\nabuse\nabusive\nabut\nabutted\nabutting\nabysmal\nabyss\nAbyssinia\nAC\nacademia\nacademic\nacademician\nacademy\nAcadia\nacanthus\nAcapulco\naccede\naccelerate\naccelerometer\naccent\naccentual\naccentuate\naccept\nacceptant\nacceptor\naccess\naccessible\naccession\naccessory\naccident\naccidental\naccipiter\nacclaim\nacclamation\nacclimate\nacclimatize\naccolade\naccommodate\naccompaniment\naccompanist\naccompany\naccomplice\naccomplish\naccord\naccordant\naccordion\naccost\naccount\naccountant\naccouter\nAccra\naccredit\naccreditate\naccretion\naccrual\naccrue\nacculturate\naccumulate\naccuracy\naccurate\naccusation\naccusative\naccuse\naccustom\nace\nacetate\nacetic\nacetone\nacetylene\nache\nachieve\nAchilles\naching\nachromatic\nacid\nacidic\nacidulous\nAckerman\nAckley\nacknowledge\nacknowledgeable\nACM\nacme\nacolyte\nacorn\nacoustic\nacquaint\nacquaintance\nacquiesce\nacquiescent\nacquire\nacquisition\nacquisitive\nacquit\nacquittal\nacquitting\nacre\nacreage\nacrid\nacrobacy\nacrobat\nacrobatic\nacronym\nacropolis\nacross\nacrylate\nacrylic\nact\nActaeon\nactinic\nactinide\nactinium\nactinolite\nactinometer\nactivate\nactivation\nactivism\nActon\nactor\nactress\nActs\nactual\nactuarial\nactuate\nacuity\nacumen\nacute\nacyclic\nad\nAda\nadage\nadagio\nAdair\nAdam\nadamant\nAdams\nAdamson\nadapt\nadaptation\nadaptive\nadd\nadded\naddend\naddenda\naddendum\naddict\nAddis\nAddison\naddition\nadditional\nadditive\naddle\naddress\naddressee\nAddressograph\nadduce\nAdelaide\nAdele\nAdelia\nAden\nadenoma\nadept\nadequacy\nadequate\nadhere\nadherent\nadhesion\nadhesive\nadiabatic\nadieu\nadipic\nAdirondack\nadjacent\nadject\nadjectival\nadjoin\nadjoint\nadjourn\nadjudge\nadjudicate\nadjunct\nadjust\nadjutant\nAdkins\nAdler\nadminister\nadministrable\nadministrate\nadministratrix\nadmiral\nadmiralty\nadmiration\nadmire\nadmissible\nadmission\nadmit\nadmittance\nadmitted\nadmitting\nadmix\nadmixture\nadmonish\nadmonition\nado\nadobe\nadolescent\nAdolph\nAdolphus\nAdonis\nadopt\nadoption\nadoptive\nadore\nadorn\nadrenal\nadrenaline\nAdrian\nAdriatic\nAdrienne\nadrift\nadroit\nadsorb\nadsorbate\nadsorption\nadsorptive\nadulate\nadult\nadulterate\nadulterous\nadultery\nadulthood\nadvance\nadvantage\nadvantageous\nadvent\nadventitious\nadventure\nadventurous\nadverb\nadverbial\nadversary\nadverse\nadvert\nadvertise\nadvice\nadvisable\nadvise\nadvisee\nadvisor\nadvisory\nadvocacy\nadvocate\nAegean\naegis\nAeneas\nAeneid\naeolian\nAeolus\naerate\naerial\nAerobacter\naerobic\naerodynamic\naerogene\naeronautic\naerosol\naerospace\nAeschylus\naesthete\naesthetic\nafar\naffable\naffair\naffect\naffectate\naffectionate\nafferent\naffiance\naffidavit\naffiliate\naffine\naffinity\naffirm\naffirmation\naffirmative\naffix\nafflict\naffluence\naffluent\nafford\nafforest\nafforestation\naffront\nAfghan\nAfghanistan\naficionado\nafield\nafire\naflame\nafloat\nafoot\naforementioned\naforesaid\naforethought\nafraid\nafresh\nAfrica\nafro\naft\naftereffect\nafterglow\nafterimage\nafterlife\naftermath\nafternoon\nafterthought\nafterward\nagain\nagainst\nAgamemnon\nagate\nAgatha\nagave\nage\nAgee\nagenda\nagent\nagglomerate\nagglutinate\nagglutinin\naggravate\naggregate\naggression\naggressive\naggressor\naggrieve\naghast\nagile\naging\nagitate\nagleam\nAgnes\nAgnew\nagnomen\nagnostic\nago\nagone\nagony\nagouti\nagrarian\nagree\nagreeable\nagreed\nagreeing\nAgricola\nagricultural\nagriculture\nagrimony\nague\nAgway\nah\nahead\nahem\nAhmadabad\nahoy\naid\nAida\naide\nAides\nAiken\nail\nailanthus\naile\naileron\naim\nain't\nAinu\nair\nairborne\naircraft\nairdrop\nairedale\nAires\nairfare\nairfield\nairflow\nairframe\nairlift\nairline\nairlock\nairmail\nairman\nairmass\nairmen\nairpark\nairplane\nairport\nairspeed\nairstrip\nairtight\nairway\nairy\naisle\nAitken\najar\nAjax\nAkers\nakin\nAkron\nala\nAlabama\nAlabamian\nalabaster\nalacrity\nalai\nAlameda\nAlamo\nalan\nalarm\nAlaska\nalb\nalba\nalbacore\nAlbania\nAlbanian\nAlbany\nalbatross\nalbeit\nAlberich\nAlbert\nAlberta\nAlberto\nAlbrecht\nAlbright\nalbum\nalbumin\nAlbuquerque\nAlcestis\nalchemy\nAlcmena\nAlcoa\nalcohol\nalcoholic\nalcoholism\nAlcott\nalcove\nAldebaran\naldehyde\nAlden\nalder\nalderman\naldermen\nAldrich\naldrin\nale\nAlec\nAleck\naleph\nalert\nalewife\nAlex\nAlexander\nAlexandra\nAlexandre\nAlexandria\nAlexei\nAlexis\nalfalfa\nalfonso\nAlfred\nAlfredo\nalfresco\nalga\nalgae\nalgaecide\nalgal\nalgebra\nalgebraic\nAlgenib\nAlger\nAlgeria\nAlgerian\nAlgiers\nalginate\nAlgol\nAlgonquin\nalgorithm\nalgorithmic\nAlhambra\nalia\nalias\nalibi\nAlice\nAlicia\nalien\nalienate\nalight\nalign\nalike\nalimony\naliphatic\naliquot\nAlison\nAlistair\nalive\nalizarin\nalkali\nalkaline\nalkaloid\nall\nAllah\nallay\nallegate\nallege\nAllegheny\nallegiant\nallegoric\nallegory\nAllegra\nallegro\nallele\nallemand\nAllen\nAllentown\nallergic\nallergy\nalleviate\nalley\nalleyway\nalliance\nallied\nalligator\nAllis\nAllison\nalliterate\nallocable\nallocate\nallot\nallotropic\nallotted\nallotting\nallow\nallowance\nalloy\nallspice\nAllstate\nallude\nallure\nallusion\nallusive\nalluvial\nalluvium\nally\nallyl\nAllyn\nalma\nAlmaden\nalmagest\nalmanac\nalmighty\nalmond\nalmost\naloe\naloft\naloha\nalone\nalong\nalongside\naloof\naloud\nalp\nalpenstock\nAlpert\nalpha\nalphabet\nalphabetic\nalphanumeric\nAlpheratz\nAlphonse\nalpine\nAlps\nalready\nAlsatian\nalso\nAlsop\nAltair\naltar\nalter\nalterate\naltercate\nalterman\naltern\nalternate\nalthea\nalthough\naltimeter\naltitude\nalto\naltogether\nAlton\naltruism\naltruist\nalum\nalumina\naluminate\nalumna\nalumnae\nalumni\nalumnus\nalundum\nAlva\nAlvarez\nalveolar\nalveoli\nalveolus\nAlvin\nalway\nalyssum\nam\nAMA\nAmadeus\namalgam\namalgamate\namanita\namanuensis\namaranth\nAmarillo\namass\namateur\namateurish\namatory\namaze\nAmazon\nambassador\namber\nambiance\nambidextrous\nambient\nambiguity\nambiguous\nambition\nambitious\nambivalent\namble\nambling\nambrose\nambrosia\nambrosial\nambulant\nambulatory\nambuscade\nambush\nAmelia\nameliorate\namen\namend\namende\nAmerada\nAmerica\nAmerican\nAmericana\nAmericanism\namericium\nAmes\namethyst\namethystine\nAmherst\nami\namicable\namid\namide\namidst\namigo\namino\naminobenzoic\namiss\namity\nAmman\nAmmerman\nammeter\nammo\nammonia\nammoniac\nammonium\nammunition\nAmoco\namoeba\namoebae\namok\namong\namongst\namoral\namorphous\namort\nAmos\namount\namperage\nampere\nampersand\nAmpex\namphetamine\namphibian\namphibious\namphibole\namphibology\nample\namplifier\namplify\namplitude\namply\namputate\namra\nAmsterdam\nAmtrak\namulet\namuse\namy\namygdaloid\nan\nana\nAnabaptist\nAnabel\nanachronism\nanachronistic\nanaconda\nanaerobic\nanaglyph\nanagram\nAnaheim\nanaleptic\nanalgesic\nanalogous\nanalogue\nanalogy\nanalyses\nanalysis\nanalyst\nanalytic\nanamorphic\nanaplasmosis\nanarch\nanarchic\nanarchy\nanastigmat\nanastigmatic\nanastomosis\nanastomotic\nanathema\nAnatole\nanatomic\nanatomy\nancestor\nancestral\nancestry\nanchor\nanchorage\nanchorite\nanchoritism\nanchovy\nancient\nancillary\nand\nAndean\nAndersen\nAnderson\nAndes\nandesine\nandesite\nAndorra\nAndover\nAndre\nAndrea\nAndrei\nAndrew\nAndrews\nAndromache\nAndromeda\nAndy\nanecdotal\nanecdote\nanemone\nanent\nanew\nangel\nAngela\nAngeles\nangelfish\nangelic\nAngelica\nAngelina\nAngeline\nAngelo\nanger\nAngie\nangiosperm\nangle\nAngles\nAnglican\nAnglicanism\nangling\nAnglo\nAnglophobia\nAngola\nAngora\nangry\nangst\nangstrom\nanguish\nangular\nAngus\nanharmonic\nAnheuser\nanhydride\nanhydrite\nanhydrous\nani\naniline\nanimadversion\nanimadvert\nanimal\nanimate\nanimism\nanimosity\nanion\nanionic\nanise\naniseikonic\nanisotropic\nanisotropy\nAnita\nAnkara\nankle\nAnn\nAnna\nannal\nAnnale\nAnnalen\nAnnapolis\nAnne\nanneal\nannex\nAnnie\nannihilate\nanniversary\nannotate\nannounce\nannoy\nannoyance\nannual\nannuity\nannul\nannular\nannuli\nannulled\nannulling\nannulus\nannum\nannunciate\nanode\nanodic\nanomalous\nanomaly\nanomie\nanonymity\nanonymous\nanorexia\nanorthic\nanorthite\nanorthosite\nanother\nAnselm\nAnselmo\nANSI\nanswer\nant\nantacid\nAntaeus\nantagonism\nantagonist\nantagonistic\nAntarctica\nAntares\nante\nanteater\nantebellum\nantecedent\nantedate\nantelope\nantenna\nantennae\nanterior\nanthem\nanther\nanthology\nAnthony\nanthracite\nanthracnose\nanthropogenic\nanthropology\nanthropomorphic\nanti\nantic\nanticipate\nanticipatory\nAntietam\nantigen\nAntigone\nantigorite\nantimony\nAntioch\nantipasto\nantipathy\nantiperspirant\nantiphonal\nantipodes\nantiquarian\nantiquary\nantiquated\nantique\nantiquity\nantisemitic\nantisemitism\nantithetic\nantler\nAntoine\nAntoinette\nAnton\nAntonio\nAntony\nanus\nanvil\nanxiety\nanxious\nany\nanybody\nanybody'd\nanyhow\nanyone\nanyplace\nanything\nanyway\nanywhere\naorta\nA&P\napache\napart\napartheid\napathetic\napathy\napatite\nape\naperiodic\naperture\napex\naphasia\naphasic\naphelion\naphid\naphorism\nAphrodite\napices\napiece\naplomb\napocalypse\napocalyptic\nApocrypha\napocryphal\napogee\nApollo\nApollonian\napologetic\napologia\napology\napostate\napostle\napostolic\napostrophe\napothecary\napothegm\napotheosis\nAppalachia\nappall\nappanage\napparatus\napparel\napparent\napparition\nappeal\nappear\nappearance\nappeasable\nappease\nappellant\nappellate\nappend\nappendage\nappendices\nappendix\nappertain\nappetite\nAppian\napplaud\napplause\napple\nAppleby\napplejack\nAppleton\nappliance\napplicable\napplicant\napplicate\napplied\napplique\napply\nappoint\nappointe\nappointee\napport\napposite\napposition\nappraisal\nappraise\nappreciable\nappreciate\napprehend\napprehension\napprehensive\napprentice\napprise\napproach\napprobation\nappropriable\nappropriate\napproval\napprove\napproximable\napproximant\napproximate\napricot\nApril\napron\napropos\napse\napt\naptitude\naqua\naquarium\nAquarius\naquatic\naqueduct\naqueous\nAquila\nAquinas\nArab\narabesque\nArabia\nArabic\nAraby\nArachne\narachnid\narbiter\narbitrage\narbitrary\narbitrate\narboreal\narboretum\narbutus\narc\narcade\nArcadia\narcana\narcane\narccos\narccosine\narch\narchae\narchaic\narchaism\narchangel\narchbishop\narchdiocese\narchenemy\nArcher\narchery\narchetype\narchetypical\narchfool\nArchibald\nArchimedes\narching\narchipelago\narchitect\narchitectonic\narchitectural\narchitecture\narchival\narchive\narcing\narcsin\narcsine\narctan\narctangent\narctic\nArcturus\nArden\nardency\nardent\narduous\nare\narea\nareaway\nareawide\narena\narenaceous\naren't\nArequipa\nAres\nArgentina\nargillaceous\nArgive\nargo\nargon\nArgonaut\nArgonne\nargot\nargue\nargument\nargumentation\nargumentative\nArgus\narhat\nAriadne\nArianism\narid\nAries\narise\narisen\naristocracy\naristocrat\naristocratic\nAristotelean\nAristotelian\nAristotle\narithmetic\nArizona\nark\nArkansan\nArkansas\nArlen\nArlene\nArlington\narm\narmada\narmadillo\nArmageddon\narmament\nArmata\narmature\narmchair\nArmco\nArmenian\narmful\narmhole\narmillaria\narmistice\narmload\narmoire\nArmonk\nArmour\narmpit\nArmstrong\narmy\nArnold\naroma\naromatic\narose\naround\narousal\narouse\nARPA\narpeggio\narrack\nArragon\narraign\narrange\narrangeable\narray\narrear\narrest\nArrhenius\narrival\narrive\narrogant\narrogate\narrow\narrowhead\narrowroot\narroyo\narsenal\narsenate\narsenic\narsenide\narsine\narson\nart\nArtemis\nartemisia\narterial\narteriole\narteriolosclerosis\narteriosclerosis\nartery\nartful\narthritis\nArthur\nartichoke\narticle\narticulate\narticulatory\nArtie\nartifact\nartifice\nartificial\nartillery\nartisan\nartistry\nArturo\nartwork\narty\nAruba\narum\naryl\na's\nas\nasbestos\nascend\nascendant\nascension\nascent\nascertain\nascetic\nasceticism\nascomycetes\nascribe\nascription\naseptic\nash\nashame\nashen\nAsher\nAsheville\nAshland\nAshley\nashman\nashmen\nAshmolean\nashore\nashtray\nashy\nAsia\nAsiatic\naside\nAsilomar\nasinine\nask\naskance\naskew\nasleep\nasocial\nasparagus\naspect\naspen\nasperity\naspersion\nasphalt\naspheric\nasphyxiate\naspidistra\naspirant\naspirate\naspire\naspirin\nasplenium\nass\nassai\nassail\nassailant\nAssam\nassassin\nassassinate\nassault\nassay\nassemblage\nassemble\nassent\nassert\nassess\nassessor\nasset\nassiduity\nassiduous\nassign\nassignation\nassignee\nassimilable\nassimilate\nassist\nassistant\nassociable\nassociate\nassociative\nassonant\nassort\nassuage\nassume\nassumption\nassurance\nassure\nAssyria\nAssyriology\nAstarte\nastatine\naster\nasteria\nasterisk\nasteroid\nasteroidal\nasthma\nastigmat\nastigmatic\nastigmatism\nASTM\nastonish\nAstor\nAstoria\nastound\nastraddle\nastral\nastray\nastride\nastringent\nastronaut\nastronautic\nastronomer\nastronomic\nastronomy\nastrophysical\nastrophysics\nastute\nAsuncion\nasunder\nasylum\nasymmetric\nasymmetry\nasymptote\nasymptotic\nasynchronous\nasynchrony\nat\nAtalanta\natavism\natavistic\nAtchison\nate\nAthabascan\natheist\nAthena\nAthenian\nAthens\nathlete\nathletic\nathwart\nAtkins\nAtkinson\nAtlanta\natlantes\natlantic\nAtlantica\nAtlantis\natlas\natmosphere\natmospheric\natom\natomic\natonal\natone\natop\nAtreus\natrocious\natrocity\natrophic\natrophy\nAtropos\nAT&T\nattach\nattache\nattack\nattain\nattainder\nattempt\nattend\nattendant\nattendee\nattention\nattentive\nattenuate\nattest\nattestation\nattic\nAttica\nattire\nattitude\nattorney\nattract\nattribute\nattribution\nattributive\nattrition\nattune\nAtwater\nAtwood\natypic\nAuberge\nAubrey\nauburn\nauction\nauctioneer\naudacious\naudacity\naudible\naudience\naudio\naudiotape\naudiovisual\naudit\naudition\nauditor\nauditorium\nauditory\nAudrey\nAudubon\nAuerbach\nAug\nAugean\nauger\naugite\naugment\naugmentation\naugur\naugust\nAugusta\nAugustan\nAugustine\nAugustus\nauk\naunt\nauntie\naura\naural\nAurelius\naureomycin\nauric\nAuriga\naurora\nAuschwitz\nauspices\nauspicious\naustere\nAustin\nAustralia\nAustralis\naustralite\nAustria\nauthentic\nauthenticate\nauthor\nauthoritarian\nauthoritative\nautism\nautistic\nauto\nautobiography\nautoclave\nautocollimate\nautocorrelate\nautocracy\nautocrat\nautocratic\nautograph\nautomat\nautomata\nautomate\nautomatic\nautomaton\nautomobile\nautomotive\nautonomic\nautonomous\nautonomy\nautopsy\nautosuggestible\nautotransformer\nautumn\nautumnal\nauxiliary\navail\navalanche\navarice\navaricious\nAve\navenge\nAventine\navenue\naver\naverage\naverred\naverring\naverse\naversion\navert\navertive\nAvery\nAvesta\naviary\naviate\naviatrix\navid\navionic\nAvis\nAviv\navocado\navocate\navocet\nAvogadro\navoid\navoidance\nAvon\navow\nawait\nawake\nawaken\naward\naware\nawash\naway\nawe\nawesome\nawful\nawhile\nawkward\nawl\nawn\nawoke\nawry\nax\naxe\naxes\naxial\naxiology\naxiom\naxiomatic\naxis\naxisymmetric\naxle\naxon\naye\nAyers\nAylesbury\nazalea\nAzerbaijan\nazimuth\nazimuthal\nAztec\nAztecan\nazure\nb\nbabbitt\nbabble\nBabcock\nbabe\nBabel\nbaboon\nbaby\nbabyhood\nBabylon\nBabylonian\nbabysat\nbabysit\nbabysitting\nbaccarat\nBacchus\nBach\nbachelor\nbacilli\nbacillus\nback\nbackboard\nbackbone\nbackdrop\nbackfill\nbackground\nbackhand\nbacklash\nbacklog\nbackorder\nbackpack\nbackplane\nbackplate\nbackside\nbackspace\nbackstage\nbackstitch\nbackstop\nbacktrack\nbackup\nbackward\nbackwater\nbackwood\nbackyard\nbacon\nbacteria\nbacterial\nbacterium\nbad\nbade\nBaden\nbadge\nbadinage\nbadland\nbadminton\nBaffin\nbaffle\nbag\nbagatelle\nbaggage\nbagging\nbaggy\nBaghdad\nBagley\nbagpipe\nbah\nBahama\nBahrein\nbail\nBailey\nbailiff\nBaird\nbait\nbake\nBakelite\nBakersfield\nbakery\nBakhtiari\nbaklava\nBaku\nbalance\nBalboa\nbalcony\nbald\nbaldpate\nBaldwin\nbaldy\nbale\nbaleen\nbaleful\nBalfour\nBali\nBalinese\nbalk\nBalkan\nbalky\nball\nballad\nBallard\nballast\nballed\nballerina\nballet\nballetomane\nballfield\nballoon\nballot\nballroom\nballyhoo\nbalm\nbalmy\nbalsa\nbalsam\nBaltic\nBaltimore\nBaltimorean\nbalustrade\nBalzac\nbam\nBamako\nBamberger\nBambi\nbamboo\nban\nbanal\nbanana\nBanbury\nband\nbandage\nbandgap\nbandit\nbandpass\nbandstand\nbandstop\nbandwagon\nbandwidth\nbandy\nbane\nbaneberry\nbaneful\nbang\nbangkok\nBangladesh\nbangle\nBangor\nBangui\nbanish\nbanister\nbanjo\nbank\nbankrupt\nbankruptcy\nBanks\nbanning\nbanquet\nbanshee\nbantam\nbanter\nBantu\nBantus\nbaptism\nbaptismal\nBaptist\nBaptiste\nbaptistery\nbar\nbarb\nBarbados\nBarbara\nbarbarian\nbarbaric\nbarbarism\nbarbarous\nbarbecue\nbarbell\nbarber\nbarberry\nbarbital\nbarbiturate\nBarbour\nbarbudo\nBarcelona\nBarclay\nbard\nbare\nbarefaced\nbarefoot\nbarfly\nbargain\nbarge\nbaritone\nbarium\nbark\nbarkeep\nbarley\nBarlow\nbarn\nBarnabas\nbarnacle\nBarnard\nBarnes\nBarnet\nBarnett\nBarney\nBarnhard\nbarnstorm\nbarnyard\nbarometer\nbarometric\nbaron\nbaroness\nbaronet\nbaronial\nbarony\nbaroque\nBarr\nbarrack\nbarracuda\nbarrage\nbarre\nbarrel\nbarren\nBarrett\nbarrette\nbarricade\nbarrier\nbarring\nBarrington\nbarrow\nBarry\nBarrymore\nBarstow\nbartend\nbartender\nbarter\nBarth\nBartholomew\nBartlett\nBartok\nBarton\nbarycentric\nbasal\nbase\nbaseball\nbaseband\nbaseboard\nBasel\nbaseline\nbaseman\nbasemen\nbaseplate\nbash\nbashaw\nbashful\nbasic\nbasidiomycetes\nbasil\nbasilar\nbasilisk\nbasin\nbasis\nbask\nbasket\nbasketball\nbasophilic\nbass\nBassett\nbassi\nbassinet\nbasso\nbasswood\nbastard\nbaste\nbastion\nbat\nBatavia\nbatch\nBatchelder\nbate\nbateau\nBateman\nbater\nBates\nbath\nbathe\nbathos\nbathrobe\nbathroom\nbathtub\nBathurst\nbatik\nbaton\nBator\nbatt\nbattalion\nBattelle\nbatten\nbattery\nbattle\nbattlefield\nbattlefront\nbattleground\nbatwing\nbauble\nbaud\nBaudelaire\nBauer\nBauhaus\nBausch\nbauxite\nBavaria\nbawd\nbawdy\nbawl\nBaxter\nbay\nbayberry\nBayda\nbayed\nBayesian\nBaylor\nbayonet\nBayonne\nbayou\nBayport\nBayreuth\nbazaar\nbe\nbeach\nbeachhead\nbeacon\nbead\nbeadle\nbeady\nbeak\nbeam\nbean\nbear\nbearberry\nbeard\nBeardsley\nbearish\nbeast\nbeat\nbeaten\nbeater\nbeatific\nbeatify\nbeatitude\nbeatnik\nBeatrice\nbeau\nBeaujolais\nBeaumont\nBeauregard\nbeauteous\nbeautiful\nbeautify\nbeauty\nbeaux\nbeaver\nbebop\nbecalm\nbecame\nbecause\nBechtel\nbeck\nBecker\nbecket\nBeckman\nbeckon\nBecky\nbecome\nbed\nbedazzle\nbedbug\nbedding\nbedfast\nBedford\nbedim\nbedimmed\nbedimming\nbedlam\nbedpost\nbedraggle\nbedridden\nbedrock\nbedroom\nbedside\nbedspread\nbedspring\nbedstraw\nbedtime\nbee\nBeebe\nbeebread\nbeech\nBeecham\nbeechwood\nbeef\nbeefsteak\nbeefy\nbeehive\nbeen\nbeep\nbeer\nbeet\nBeethoven\nbeetle\nbefall\nbefallen\nbefell\nbefit\nbefitting\nbefog\nbefogging\nbefore\nbeforehand\nbefoul\nbefuddle\nbeg\nbegan\nbeget\nbegetting\nbeggar\nbeggary\nbegging\nbegin\nbeginner\nbeginning\nbegonia\nbegotten\nbegrudge\nbeguile\nbegun\nbehalf\nbehave\nbehavioral\nbehead\nbeheld\nbehind\nbehold\nbeige\nbeing\nBeirut\nbel\nBela\nbelate\nbelch\nBelfast\nbelfry\nBelgian\nBelgium\nBelgrade\nbelie\nbelief\nbelieve\nbelittle\nbell\nBella\nbelladonna\nBellamy\nBellatrix\nbellboy\nbelle\nbellflower\nbellhop\nbellicose\nbelligerent\nBellingham\nBellini\nbellman\nbellmen\nbellow\nbellum\nbellwether\nbelly\nbellyache\nbellyfull\nBelmont\nBeloit\nbelong\nbelove\nbelow\nBelshazzar\nbelt\nBeltsville\nbelvedere\nbelvidere\nbelying\nBEMA\nbemadden\nbeman\nbemoan\nbemuse\nBen\nbench\nbenchmark\nbend\nBender\nBendix\nbeneath\nBenedict\nBenedictine\nbenediction\nbenefactor\nbenefice\nbeneficent\nbeneficial\nbeneficiary\nbenefit\nBenelux\nbenevolent\nBengal\nBengali\nbenight\nbenign\nBenjamin\nBennett\nBennington\nBenny\nBenson\nbent\nBentham\nbenthic\nBentley\nBenton\nBenz\nBenzedrine\nbenzene\nBeowulf\nbeplaster\nbequeath\nbequest\nberate\nBerea\nbereave\nbereft\nBerenices\nberet\nberg\nbergamot\nBergen\nBergland\nBerglund\nBergman\nBergson\nBergstrom\nberibbon\nberiberi\nBerkeley\nberkelium\nBerkowitz\nBerkshire\nBerlin\nBerlioz\nBerlitz\nBerman\nBermuda\nBern\nBernadine\nBernard\nBernardino\nBernardo\nberne\nBernet\nBernhard\nBernice\nBernie\nBerniece\nBernini\nBernoulli\nBernstein\nBerra\nberry\nberserk\nBert\nberth\nBertha\nBertie\nBertram\nBertrand\nBerwick\nberyl\nberyllium\nbeseech\nbeset\nbesetting\nbeside\nbesiege\nbesmirch\nbesotted\nbespeak\nbespectacled\nbespoke\nBess\nBessel\nBessemer\nBessie\nbest\nbestial\nbestir\nbestirring\nbestow\nbestowal\nbestseller\nbestselling\nbestubble\nbet\nbeta\nbetatron\nbetel\nBetelgeuse\nbeth\nbethel\nBethesda\nBethlehem\nbethought\nbetide\nbetoken\nbetony\nbetray\nbetrayal\nbetrayer\nbetroth\nbetrothal\nBetsey\nBetsy\nBette\nbetting\nbettor\nBetty\nbetween\nbetwixt\nbevel\nbeverage\nBeverly\nbevy\nbewail\nbeware\nbewhisker\nbewilder\nbewitch\nbey\nbeyond\nbezel\nbhoy\nBhutan\nbianco\nbias\nbiaxial\nbib\nbibb\nBible\nbiblical\nbibliography\nbibliophile\nbicameral\nbicarbonate\nbicep\nbiceps\nbichromate\nbicker\nbiconcave\nbiconnected\nbicycle\nbid\nbiddable\nbidding\nbiddy\nbide\nbidiagonal\nbidirectional\nbien\nbiennial\nbiennium\nbifocal\nbifurcate\nbig\nBigelow\nBiggs\nbigot\nbigotry\nbiharmonic\nbijouterie\nbikini\nbilateral\nbilayer\nbile\nbilge\nbilharziasis\nbilinear\nbilingual\nbilk\nbill\nbillboard\nbillet\nbilliard\nBillie\nBilliken\nBillings\nbillion\nbillionth\nbillow\nbilly\nBiltmore\nbimetallic\nbimetallism\nBimini\nbimodal\nbimolecular\nbimonthly\nbin\nbinary\nbinaural\nbind\nbindery\nbindle\nbindweed\nbing\nbinge\nBingham\nBinghamton\nbingle\nBini\nbinocular\nbinomial\nbinuclear\nbiochemic\nbiochemist\nbiochemistry\nbiograph\nbiography\nbiology\nbiomass\nbiomedical\nbiometric\nBiometrika\nbiometry\nbiophysic\nbiophysical\nbiophysicist\nbiopsy\nbioscience\nbiosphere\nbiostatistic\nbiosynthesize\nbiota\nbiotic\nbiotite\nbipartisan\nbipartite\nbiplane\nbipolar\nbiracial\nbirch\nbird\nbirdbath\nbirdie\nbirdlike\nbirdseed\nbirdwatch\nbirefringent\nBirgit\nBirmingham\nbirth\nbirthday\nbirthplace\nbirthright\nbiscuit\nbisect\nbishop\nbishopric\nBismarck\nBismark\nbismuth\nbison\nbisque\nBissau\nbistable\nbistate\nbit\nbitch\nbite\nbitt\nbitten\nbittern\nbitternut\nbitterroot\nbittersweet\nbitumen\nbituminous\nbitwise\nbivalve\nbivariate\nbivouac\nbiz\nbizarre\nBizet\nblab\nblabbing\nblack\nblackball\nblackberry\nblackbird\nblackboard\nblackbody\nBlackburn\nblacken\nBlackfeet\nblackjack\nblackmail\nBlackman\nblackout\nblacksmith\nBlackstone\nBlackwell\nbladder\nbladdernut\nbladderwort\nblade\nBlaine\nBlair\nBlake\nblame\nblameworthy\nblanc\nblanch\nBlanchard\nBlanche\nbland\nblank\nblanket\nblare\nblaspheme\nblasphemous\nblasphemy\nblast\nblat\nblatant\nblather\nblatting\nBlatz\nblaze\nblazon\nbleach\nbleak\nbleary\nbleat\nbled\nbleed\nBleeker\nblemish\nblend\nBlenheim\nbless\nblest\nblew\nblight\nblimp\nblind\nblindfold\nblink\nBlinn\nblip\nbliss\nblissful\nblister\nblithe\nblitz\nblizzard\nbloat\nblob\nbloc\nBloch\nblock\nblockade\nblockage\nblockhouse\nblocky\nbloke\nBlomberg\nBlomquist\nblond\nblonde\nblood\nbloodbath\nbloodhound\nbloodroot\nbloodshed\nbloodshot\nbloodstain\nbloodstone\nbloodstream\nbloody\nbloom\nBloomfield\nBloomington\nbloop\nblossom\nblot\nblotch\nblotting\nblouse\nblow\nblowfish\nblown\nblowup\nblubber\nbludgeon\nblue\nblueback\nblueberry\nbluebill\nbluebird\nbluebonnet\nbluebook\nbluebush\nbluefish\nbluegill\nbluegrass\nbluejacket\nblueprint\nbluestocking\nbluet\nbluff\nbluish\nBlum\nBlumenthal\nblunder\nblunt\nblur\nblurring\nblurry\nblurt\nblush\nbluster\nblustery\nblutwurst\nBlythe\nBMW\nboa\nboar\nboard\nboardinghouse\nboast\nboastful\nboat\nboathouse\nboatload\nboatman\nboatmen\nboatswain\nboatyard\nbob\nBobbie\nbobbin\nbobbing\nbobble\nbobby\nbobcat\nbobolink\nBoca\nbock\nbode\nbodhisattva\nbodice\nbodied\nBodleian\nbody\nbodybuilder\nbodybuilding\nbodyguard\nBoeing\nBoeotian\nbog\nbogey\nbogeymen\nbogging\nboggle\nboggy\nBogota\nbogus\nbogy\nBohemia\nBohr\nboil\nBois\nBoise\nboisterous\nbold\nboldface\nbole\nboletus\nbolivar\nBolivia\nbolo\nBologna\nbolometer\nBolshevik\nBolshevism\nBolshevist\nBolshoi\nbolster\nbolt\nBolton\nBoltzmann\nbomb\nbombard\nbombast\nbombastic\nBombay\nbombproof\nbon\nbona\nbonanza\nBonaparte\nBonaventure\nbond\nbondage\nbondsman\nbondsmen\nbone\nbonfire\nbong\nbongo\nBoniface\nbonito\nBonn\nbonnet\nBonneville\nBonnie\nbonus\nbony\nbonze\nboo\nbooby\nboogie\nbook\nbookbind\nbookcase\nbookend\nbookie\nbookish\nbookkeep\nbooklet\nbookplate\nbookseller\nbookshelf\nbookshelves\nbookstore\nbooky\nboolean\nboom\nboomerang\nboon\nBoone\nboor\nboorish\nboost\nboot\nBootes\nbooth\nbootleg\nbootlegger\nbootlegging\nbootstrap\nbootstrapping\nbooty\nbooze\nbop\nbopping\nborate\nborax\nBordeaux\nbordello\nBorden\nborder\nborderland\nborderline\nbore\nBorealis\nBoreas\nboredom\nBorg\nboric\nBoris\nborn\nborne\nBorneo\nboron\nborosilicate\nborough\nBorroughs\nborrow\nBosch\nBose\nbosom\nboson\nboss\nBoston\nBostonian\nBoswell\nbotanic\nbotanist\nbotany\nbotch\nbotfly\nboth\nbothersome\nBotswana\nbottle\nbottleneck\nbottom\nbottommost\nbotulin\nbotulism\nBoucher\nbouffant\nbough\nbought\nboulder\nboulevard\nbounce\nbouncy\nbound\nboundary\nbounty\nbouquet\nbourbon\nbourgeois\nbourgeoisie\nbourn\nboustrophedon\nbout\nboutique\nbovine\nbow\nBowditch\nBowdoin\nbowel\nBowen\nbowfin\nbowie\nbowl\nbowline\nbowman\nbowmen\nbowstring\nbox\nboxcar\nboxwood\nboxy\nboy\nboyar\nBoyce\nboycott\nBoyd\nboyhood\nboyish\nBoyle\nBoylston\nBP\nbrace\nbracelet\nbracken\nbracket\nbrackish\nbract\nbrad\nBradbury\nBradford\nBradley\nBradshaw\nBrady\nbrae\nbrag\nBragg\nbragging\nBrahmaputra\nBrahms\nBrahmsian\nbraid\nBraille\nbrain\nBrainard\nbrainstorm\nbrainwash\nbrainy\nbrake\nbrakeman\nbramble\nbran\nbranch\nbrand\nBrandeis\nBrandenburg\nbrandish\nBrandon\nBrandt\nbrandy\nbrandywine\nBraniff\nbrant\nbrash\nBrasilia\nbrass\nbrassiere\nbrassy\nbratwurst\nBraun\nbravado\nbrave\nbravery\nbravo\nbravura\nbrawl\nbray\nbrazen\nbrazier\nBrazil\nBrazilian\nBrazzaville\nbreach\nbread\nbreadboard\nbreadfruit\nbreadroot\nbreadth\nbreak\nbreakage\nbreakaway\nbreakdown\nbreakfast\nbreakoff\nbreakpoint\nbreakthrough\nbreakup\nbreakwater\nbream\nbreast\nbreastplate\nbreastwork\nbreath\nbreathe\nbreathtaking\nbreathy\nbreccia\nbred\nbreech\nbreeches\nbreed\nbreeze\nbreezy\nBremen\nbremsstrahlung\nBrenda\nBrendan\nBrennan\nBrenner\nBrent\nBrest\nbrethren\nBreton\nBrett\nbreve\nbrevet\nbrevity\nbrew\nbrewery\nBrewster\nBrian\nbriar\nbribe\nbribery\nBrice\nbrick\nbrickbat\nbricklayer\nbricklaying\nbridal\nbride\nbridegroom\nbridesmaid\nbridge\nbridgeable\nbridgehead\nBridgeport\nBridget\nBridgetown\nBridgewater\nbridgework\nbridle\nbrief\nbriefcase\nbrig\nbrigade\nbrigadier\nbrigantine\nBriggs\nBrigham\nbright\nbrighten\nBrighton\nbrilliant\nBrillouin\nbrim\nbrimful\nbrimming\nbrimstone\nBrindisi\nbrindle\nbrine\nbring\nbrink\nbrinkmanship\nbriny\nBrisbane\nbrisk\nbristle\nBristol\nBritain\nBritannic\nBritannica\nbritches\nBritish\nBriton\nBrittany\nBritten\nbrittle\nbroach\nbroad\nbroadcast\nbroaden\nbroadloom\nbroadside\nBroadway\nbrocade\nbroccoli\nbrochure\nBrock\nbrockle\nBroglie\nbroil\nbroke\nbroken\nbrokerage\nBromfield\nbromide\nbromine\nBromley\nbronchi\nbronchial\nbronchiolar\nbronchiole\nbronchitis\nbronchus\nbronco\nBronx\nbronze\nbronzy\nbrood\nbroody\nbrook\nBrooke\nBrookhaven\nBrookline\nBrooklyn\nbrookside\nbroom\nbroomcorn\nbroth\nbrothel\nbrother\nbrotherhood\nbrought\nbrouhaha\nbrow\nbrowbeaten\nbrown\nBrowne\nBrownell\nBrownian\nbrownie\nbrownish\nbrowse\nBruce\nbrucellosis\nBruckner\nBruegel\nbruise\nbruit\nBrumidi\nbrunch\nbrunette\nBrunhilde\nBruno\nBrunswick\nbrunt\nbrush\nbrushfire\nbrushlike\nbrushwork\nbrushy\nbrusque\nBrussels\nbrutal\nbrute\nBryan\nBryant\nBryce\nBryn\nbryophyta\nbryophyte\nbryozoa\nb's\nBSTJ\nBTL\nbub\nbubble\nBuchanan\nBucharest\nBuchenwald\nBuchwald\nbuck\nbuckaroo\nbuckboard\nbucket\nbucketfull\nbuckeye\nbuckhorn\nbuckle\nBuckley\nBucknell\nbuckshot\nbuckskin\nbuckthorn\nbuckwheat\nbucolic\nbud\nBudapest\nBudd\nBuddha\nBuddhism\nBuddhist\nbudding\nbuddy\nbudge\nbudget\nbudgetary\nBudweiser\nBuena\nBuenos\nbuff\nbuffalo\nbuffet\nbufflehead\nbuffoon\nbug\nbugaboo\nbugeyed\nbugging\nbuggy\nbugle\nBuick\nbuild\nbuildup\nbuilt\nbuiltin\nBujumbura\nbulb\nbulblet\nBulgaria\nbulge\nbulk\nbulkhead\nbulky\nbull\nbulldog\nbulldoze\nbullet\nbulletin\nbullfinch\nbullfrog\nbullhead\nbullhide\nbullish\nbullock\nbullseye\nbullwhack\nbully\nbullyboy\nbulrush\nbulwark\nbum\nbumble\nbumblebee\nbumming\nbump\nbumptious\nbun\nbunch\nBundestag\nbundle\nbundy\nbungalow\nbungle\nbunk\nbunkmate\nbunny\nBunsen\nbunt\nBunyan\nbuoy\nbuoyant\nburbank\nBurch\nburden\nburdensome\nburdock\nbureau\nbureaucracy\nbureaucrat\nbureaucratic\nburet\nburette\nburg\nburgeon\nburgess\nburgher\nburglar\nburglarproof\nburglary\nBurgundian\nBurgundy\nburial\nburied\nBurke\nburl\nburlap\nburlesque\nburley\nBurlington\nburly\nBurma\nBurmese\nburn\nBurnett\nBurnham\nburnish\nBurnside\nburnt\nburp\nBurr\nburro\nBurroughs\nburrow\nbursitis\nburst\nbursty\nBurt\nBurton\nBurtt\nBurundi\nbury\nbus\nbusboy\nBusch\nbush\nbushel\nbushmaster\nBushnell\nbushwhack\nbushy\nbusiness\nbusinessman\nbusinessmen\nbuss\nbust\nbustard\nbustle\nbusy\nbut\nbutadiene\nbutane\nbutch\nbutchery\nbutene\nbuteo\nbutler\nbutt\nbutte\nbutterball\nbuttercup\nbutterfat\nButterfield\nbutterfly\nbuttermilk\nbutternut\nbuttery\nbuttock\nbutton\nbuttonhole\nbuttonweed\nbuttress\nButtrick\nbutyl\nbutyrate\nbuxom\nBuxtehude\nBuxton\nbuy\nbuyer\nbuzz\nBuzzard\nbuzzer\nbuzzing\nbuzzword\nbuzzy\nby\nbye\nByers\nbygone\nbylaw\nbyline\nbypass\nbypath\nbyproduct\nByrd\nByrne\nbyroad\nByron\nByronic\nbystander\nbyte\nbyway\nbyword\nByzantine\nByzantium\nc\ncab\ncabal\ncabana\ncabaret\ncabbage\ncabdriver\ncabin\ncabinet\ncabinetmake\ncabinetry\ncable\nCabot\ncacao\ncachalot\ncache\ncackle\nCACM\ncacophonist\ncacophony\ncacti\ncactus\ncadaver\ncadaverous\ncaddis\ncaddy\ncadent\ncadenza\ncadet\nCadillac\ncadmium\ncadre\nCady\nCaesar\ncafe\ncafeteria\ncage\ncagey\nCahill\ncahoot\ncaiman\nCain\nCaine\ncairn\nCairo\ncajole\ncake\nCal\nCalais\ncalamitous\ncalamity\ncalamus\ncalcareous\ncalcify\ncalcite\ncalcium\ncalculable\ncalculate\ncalculi\ncalculus\nCalcutta\nCalder\ncaldera\nCaldwell\nCaleb\ncalendar\ncalendrical\ncalf\ncalfskin\nCalgary\nCalhoun\ncaliber\ncalibrate\ncalibre\ncalico\nCalifornia\ncalifornium\ncaliper\ncaliph\ncaliphate\ncalisthenic\nCalkins\ncall\ncalla\nCallaghan\nCallahan\ncaller\ncalligraph\ncalligraphy\ncalliope\nCallisto\ncallous\ncallus\ncalm\ncaloric\ncalorie\ncalorimeter\ncalorimetric\ncalorimetry\nCalumet\ncalumniate\ncalumny\nCalvary\ncalve\nCalvert\nCalvin\nCalvinist\ncalypso\ncam\ncamaraderie\ncamber\nCambodia\ncambric\nCambridge\nCamden\ncame\ncamel\ncamelback\ncamellia\ncamelopard\nCamelot\ncameo\ncamera\ncameraman\ncameramen\nCameron\nCameroun\ncamilla\nCamille\nCamino\ncamouflage\ncamp\ncampaign\ncampanile\nCampbell\ncampfire\ncampground\ncampion\ncampsite\ncampus\ncan\nCanaan\nCanada\nCanadian\ncanal\ncanary\nCanaveral\nCanberra\ncancel\ncancellate\ncancer\ncancerous\ncandela\ncandelabra\ncandid\ncandidacy\ncandidate\nCandide\ncandle\ncandlelight\ncandlestick\ncandlewick\ncandy\ncane\nCanfield\ncanine\nCanis\ncanister\ncanker\ncankerworm\ncanna\ncannabis\ncannel\ncannery\ncannibal\ncanning\ncannister\ncannon\ncannonball\ncannot\ncanny\ncanoe\nCanoga\ncanon\ncanonic\ncanopy\ncan't\ncant\ncantaloupe\ncanteen\nCanterbury\ncanterelle\ncanticle\ncantilever\ncantle\ncanto\ncanton\nCantonese\ncantor\ncanvas\ncanvasback\ncanvass\ncanyon\ncap\ncapacious\ncapacitance\ncapacitate\ncapacitive\ncapacitor\ncapacity\ncape\ncapella\ncaper\nCapetown\ncapillary\nCapistrano\ncapita\ncapital\ncapitol\nCapitoline\ncapitulate\ncapo\ncapping\ncaprice\ncapricious\nCapricorn\ncapstan\ncapstone\ncapsule\ncaptain\ncaptaincy\ncaption\ncaptious\ncaptivate\ncaptive\ncaptor\ncapture\nCaputo\ncapybara\ncar\ncarabao\nCaracas\ncaramel\ncaravan\ncaraway\ncarbide\ncarbine\ncarbohydrate\nCarboloy\ncarbon\ncarbonaceous\ncarbonate\nCarbondale\nCarbone\ncarbonic\ncarbonyl\ncarborundum\ncarboxy\ncarboy\ncarbuncle\ncarcass\ncarcinogen\ncarcinogenic\ncarcinoma\ncard\ncardamom\ncardboard\ncardiac\ncardinal\ncardiology\ncardiovascular\ncare\ncareen\ncareer\ncarefree\ncareful\ncaress\ncaret\ncaretaker\ncareworn\nCarey\nCargill\ncargo\ncargoes\nCarib\nCaribbean\ncaribou\ncaricature\nCarl\nCarla\nCarleton\nCarlin\nCarlisle\nCarlo\ncarload\nCarlson\nCarlton\nCarlyle\nCarmela\nCarmen\nCarmichael\ncarmine\ncarnage\ncarnal\ncarnation\ncarne\nCarnegie\ncarney\ncarnival\ncarob\ncarol\nCarolina\nCaroline\nCarolingian\nCarolinian\nCarolyn\ncarouse\ncarp\nCarpathia\ncarpenter\ncarpentry\ncarpet\ncarport\nCarr\ncarrageen\nCarrara\ncarrel\ncarriage\nCarrie\ncarrion\nCarroll\ncarrot\nCarruthers\ncarry\ncarryover\nCarson\ncart\ncarte\ncartel\nCartesian\nCarthage\ncartilage\ncartographer\ncartographic\ncartography\ncarton\ncartoon\ncartridge\ncartwheel\nCaruso\ncarve\ncarven\nCasanova\ncasbah\ncascade\ncascara\ncase\ncasebook\ncasein\ncasework\nCasey\ncash\ncashew\ncashier\ncashmere\ncasino\ncask\ncasket\nCassandra\ncasserole\ncassette\nCassiopeia\nCassius\ncassock\ncast\ncastanet\ncaste\ncasteth\ncastigate\nCastillo\ncastle\ncastor\nCastro\ncasual\ncasualty\ncat\ncataclysmic\nCatalina\ncatalogue\ncatalpa\ncatalysis\ncatalyst\ncatalytic\ncatapult\ncataract\ncatastrophe\ncatastrophic\ncatatonia\ncatatonic\ncatawba\ncatbird\ncatch\ncatchup\ncatchword\ncatchy\ncatechism\ncategoric\ncategory\ncatenate\ncater\ncaterpillar\ncatfish\ncatharsis\ncathedral\nCatherine\nCatherwood\ncatheter\ncathode\ncathodic\ncatholic\nCatholicism\nCathy\ncation\ncationic\ncatkin\ncatlike\ncatnip\nCatskill\ncatsup\ncattail\ncattle\ncattleman\ncattlemen\nCaucasian\nCaucasus\nCauchy\ncaucus\ncaught\ncauliflower\ncaulk\ncausal\ncausate\ncause\ncaustic\ncaution\ncautionary\ncautious\ncavalcade\ncavalier\ncavalry\ncave\ncaveat\ncaveman\ncavemen\nCavendish\ncavern\ncavernous\ncaviar\ncavil\ncavilling\nCaviness\ncavort\ncaw\ncayenne\nCayley\nCayuga\nCBS\nCDC\ncease\nCecil\nCecilia\nCecropia\ncedar\ncede\ncedilla\nCedric\nceil\ncelandine\nCelanese\nCelebes\ncelebrant\ncelebrate\ncelebrity\ncelerity\ncelery\ncelesta\ncelestial\nCelia\ncell\ncellar\ncellophane\ncellular\ncellulose\nCelsius\nCeltic\ncement\ncemetery\nCenozoic\ncensor\ncensorial\ncensure\ncensus\ncent\ncentaur\ncentenary\ncentennial\ncenterline\ncenterpiece\ncentigrade\ncentipede\ncentral\ncentrex\ncentric\ncentrifugal\ncentrifugate\ncentrifuge\ncentrist\ncentroid\ncentum\ncentury\nCepheus\nceramic\nceramium\nCerberus\ncereal\ncerebellum\ncerebral\ncerebrate\nceremonial\nceremonious\nceremony\nCeres\ncereus\ncerise\ncerium\nCERN\ncertain\ncertainty\ncertificate\ncertified\ncertify\ncertiorari\ncertitude\ncerulean\nCervantes\nCesare\ncesium\ncessation\ncession\nCessna\ncetera\nCetus\nCeylon\nCezanne\nChablis\nChad\nChadwick\nchafe\nchaff\nchagrin\nchain\nchair\nchairlady\nchairman\nchairmen\nchairperson\nchairwoman\nchairwomen\nchaise\nchalcedony\nchalcocite\nchalice\nchalk\nchalkline\nchalky\nchallenge\nChalmers\nchamber\nchamberlain\nchambermaid\nChambers\nchameleon\nchamfer\nchamois\nchamomile\nchamp\nchampagne\nChampaign\nchampion\nChamplain\nchance\nchancel\nchancellor\nchancery\nchancy\nchandelier\nchandler\nChang\nchange\nchangeable\nchangeover\nchannel\nchanson\nchant\nchantey\nChantilly\nchantry\nChao\nchaos\nchaotic\nchap\nchaparral\nchapel\nchaperon\nchaperone\nchaplain\nChaplin\nChapman\nchapping\nchapter\nchar\ncharacter\ncharacteristic\ncharcoal\nchard\ncharge\nchargeable\nchariot\ncharisma\ncharismatic\ncharitable\ncharity\nCharles\nCharleston\nCharley\nCharlie\nCharlotte\nCharlottesville\ncharm\nCharon\ncharring\nchart\nCharta\nChartres\nchartreuse\nchartroom\nCharybdis\nchase\nchasm\nchassis\nchaste\nchastise\nchastity\nchat\nchateau\nchateaux\nChatham\nChattanooga\nchattel\nchatting\nchatty\nChaucer\nchauffeur\nChauncey\nChautauqua\nchaw\ncheap\ncheat\ncheater\ncheck\ncheckbook\ncheckerberry\ncheckerboard\nchecklist\ncheckout\ncheckpoint\nchecksum\nchecksummed\nchecksumming\ncheckup\ncheek\ncheekbone\ncheeky\ncheer\ncheerful\ncheerleader\ncheery\ncheese\ncheesecloth\ncheesy\ncheetah\nchef\nchelate\nchemic\nchemise\nchemisorb\nchemisorption\nchemist\nchemistry\nChen\nCheney\nchenille\ncherish\nCherokee\ncherry\nchert\ncherub\ncherubim\nChesapeake\nCheshire\nchess\nchest\nChester\nChesterton\nchestnut\nchevalier\nChevrolet\nchevron\nchevy\nchew\nCheyenne\nchi\nChiang\nchianti\nchic\nChicago\nChicagoan\nchicanery\nChicano\nchick\nchickadee\nchicken\nchickweed\nchicory\nchide\nchief\nchiefdom\nchieftain\nchiffon\nchigger\nchignon\nchilblain\nchild\nchildbirth\nchildhood\nchildish\nchildlike\nchildren\nChile\nchili\nchill\nchilly\nchime\nchimera\nchimeric\nChimique\nchimney\nchimpanzee\nchin\nchina\nChinaman\nChinamen\nChinatown\nchinch\nchinchilla\nchine\nChinese\nchink\nchinning\nChinook\nchinquapin\nchip\nchipboard\nchipmunk\nChippendale\nchipping\nchiropractor\nchirp\nchisel\nChisholm\nchit\nchiton\nchivalrous\nchivalry\nchive\nchlorate\nchlordane\nchloride\nchlorine\nchloroform\nchlorophyll\nchloroplatinate\nchock\nchocolate\nChoctaw\nchoice\nchoir\nchoirmaster\nchoke\nchokeberry\ncholera\ncholesterol\ncholinesterase\nchomp\nchoose\nchoosy\nchop\nChopin\nchopping\nchoppy\nchoral\nchorale\nchord\nchordal\nchordata\nchordate\nchore\nchoreograph\nchoreography\nchorine\nchortle\nchorus\nchose\nchosen\nChou\nchow\nchowder\nChris\nChrist\nchristen\nChristendom\nChristensen\nChristenson\nChristian\nChristiana\nChristianson\nChristie\nChristina\nChristine\nChristlike\nChristmas\nChristoffel\nChristopher\nChristy\nchromate\nchromatic\nchromatogram\nchromatograph\nchromatography\nchrome\nchromic\nchromium\nchromosphere\nchronic\nchronicle\nchronograph\nchronography\nchronology\nchrysanthemum\nChrysler\nchrysolite\nchub\nchubby\nchuck\nchuckle\nchuckwalla\nchuff\nchug\nchugging\nchum\nchumming\nchummy\nchump\nChungking\nchunk\nchunky\nchurch\nchurchgoer\nchurchgoing\nChurchill\nChurchillian\nchurchman\nchurchmen\nchurchwoman\nchurchwomen\nchurchyard\nchurn\nchute\nchutney\nCIA\ncicada\nCicero\nCiceronian\ncider\ncigar\ncigarette\ncilia\nciliate\ncimcumvention\ncinch\nCincinnati\ncinder\nCinderella\ncinema\ncinematic\nCinerama\ncinnabar\ncinnamon\ncinquefoil\ncipher\ncirca\nCirce\ncircle\ncirclet\ncircuit\ncircuitous\ncircuitry\ncirculant\ncircular\ncirculate\ncirculatory\ncircumcircle\ncircumcise\ncircumcision\ncircumference\ncircumferential\ncircumflex\ncircumlocution\ncircumpolar\ncircumscribe\ncircumscription\ncircumspect\ncircumsphere\ncircumstance\ncircumstantial\ncircumvent\ncircumvention\ncircus\ncirmcumferential\ncistern\ncitadel\ncitation\ncite\ncitizen\ncitizenry\ncitrate\ncitric\nCitroen\ncitron\ncitrus\ncity\ncityscape\ncitywide\ncivet\ncivic\ncivil\ncivilian\nclad\ncladding\ncladophora\nclaim\nclaimant\nClaire\nclairvoyant\nclam\nclamber\nclamming\nclammy\nclamp\nclamshell\nclan\nclandestine\nclang\nclank\nclannish\nclap\nclapboard\nClapeyron\nclapping\nClara\nClare\nClaremont\nClarence\nClarendon\nclaret\nclarify\nclarinet\nclarity\nClark\nClarke\nclash\nclasp\nclass\nclassic\nclassification\nclassificatory\nclassify\nclassmate\nclassroom\nclassy\nclatter\nclattery\nClaude\nClaudia\nClaudio\nClaus\nclause\nClausen\nClausius\nclaustrophobia\nclaustrophobic\nclaw\nclay\nClayton\nclean\ncleanse\ncleanup\nclear\nclearance\nclearheaded\nClearwater\ncleat\ncleavage\ncleave\ncleft\nclement\nClemson\nclench\nclergy\nclergyman\nclergymen\ncleric\nclerk\nCleveland\nclever\ncliche\nclick\nclient\nclientele\ncliff\ncliffhang\nClifford\nClifton\nclimactic\nclimate\nclimatic\nclimatology\nclimax\nclimb\nclime\nclinch\ncling\nclinging\nclinic\nclinician\nclink\nClint\nClinton\nClio\nclip\nclipboard\nclipping\nclique\nClive\ncloak\ncloakroom\nclobber\nclock\nclockwatcher\nclockwise\nclockwork\nclod\ncloddish\nclog\nclogging\ncloister\nclomp\nclone\nclonic\nclose\ncloset\ncloseup\nclosure\nclot\ncloth\nclothbound\nclothe\nclothesbrush\nclotheshorse\nclothesline\nclothesman\nclothesmen\nclothier\nClotho\nclotting\ncloture\ncloud\ncloudburst\ncloudy\nclout\nclove\nclown\ncloy\nclub\nclubbing\nclubhouse\nclubroom\ncluck\nclue\nclump\nclumsy\nclung\ncluster\nclutch\nclutter\nClyde\nClytemnestra\ncoach\ncoachman\ncoachmen\ncoachwork\ncoadjutor\ncoagulable\ncoagulate\ncoal\ncoalesce\ncoalescent\ncoalition\ncoarse\ncoarsen\ncoast\ncoastal\ncoastline\ncoat\nCoates\ncoattail\ncoauthor\ncoax\ncoaxial\ncobalt\nCobb\ncobble\ncobblestone\nCobol\ncobra\ncobweb\ncoca\ncocaine\ncoccidiosis\ncochineal\ncochlea\nCochran\nCochrane\ncock\ncockatoo\ncockcrow\ncockeye\ncockle\ncocklebur\ncockleshell\ncockpit\ncockroach\ncocksure\ncocktail\ncocky\ncoco\ncocoa\ncoconut\ncocoon\ncod\ncoda\nCoddington\ncoddle\ncode\ncodebreak\ncodeposit\ncodetermine\ncodeword\ncodfish\ncodicil\ncodify\ncodpiece\nCody\ncoed\ncoeditor\ncoeducation\ncoefficient\ncoequal\ncoerce\ncoercible\ncoercion\ncoercive\ncoexist\ncoexistent\ncoextensive\ncofactor\ncoffee\ncoffeecup\ncoffeepot\ncoffer\nCoffey\ncoffin\nCoffman\ncog\ncogent\ncogitate\ncognac\ncognate\ncognition\ncognitive\ncognizable\ncognizant\nCohen\ncohere\ncoherent\ncohesion\ncohesive\nCohn\ncohort\ncohosh\ncoiffure\ncoil\ncoin\ncoinage\ncoincide\ncoincident\ncoincidental\ncoke\ncol\ncola\ncolander\ncolatitude\nColby\ncold\nCole\nColeman\nColeridge\nColette\ncoleus\nColgate\ncolicky\ncoliform\ncoliseum\ncollaborate\ncollage\ncollagen\ncollapse\ncollapsible\ncollar\ncollarbone\ncollard\ncollate\ncollateral\ncolleague\ncollect\ncollectible\ncollector\ncollege\ncollegian\ncollegiate\ncollet\ncollide\ncollie\nCollier\ncollimate\ncollinear\nCollins\ncollision\ncollocation\ncolloidal\ncolloquia\ncolloquial\ncolloquium\ncolloquy\ncollude\ncollusion\nCologne\nColombia\nColombo\ncolon\ncolonel\ncolonial\ncolonist\ncolonnade\ncolony\nColorado\ncolorate\ncoloratura\ncolorimeter\ncolorimetry\ncolossal\nColosseum\ncolossi\ncolossus\ncolt\ncoltish\ncoltsfoot\nColumbia\ncolumbine\nColumbus\ncolumn\ncolumnar\ncolza\ncoma\nComanche\ncomatose\ncomb\ncombat\ncombatant\ncombatted\ncombinate\ncombinator\ncombinatorial\ncombinatoric\ncombine\ncombustible\ncombustion\ncome\ncomeback\ncomedian\ncomedy\ncomet\ncometary\ncometh\ncomfort\ncomic\nCominform\ncomma\ncommand\ncommandant\ncommandeer\ncommando\ncommemorate\ncommend\ncommendation\ncommendatory\ncommensurable\ncommensurate\ncomment\ncommentary\ncommentator\ncommerce\ncommercial\ncommingle\ncommiserate\ncommissariat\ncommissary\ncommission\ncommit\ncommittable\ncommittal\ncommitted\ncommittee\ncommitteeman\ncommitteemen\ncommitteewoman\ncommitteewomen\ncommitting\ncommodious\ncommodity\ncommodore\ncommon\ncommonality\ncommonplace\ncommonweal\ncommonwealth\ncommotion\ncommunal\ncommune\ncommunicable\ncommunicant\ncommunicate\ncommunion\ncommunique\ncommutate\ncommute\ncompact\nCompagnie\ncompanion\ncompanionway\ncompany\ncomparative\ncomparator\ncompare\ncomparison\ncompartment\ncompass\ncompassion\ncompassionate\ncompatible\ncompatriot\ncompel\ncompellable\ncompelled\ncompelling\ncompendia\ncompendium\ncompensable\ncompensate\ncompensatory\ncompete\ncompetent\ncompetition\ncompetitive\ncompetitor\ncompilation\ncompile\ncomplacent\ncomplain\ncomplainant\ncomplaint\ncomplaisant\ncomplement\ncomplementarity\ncomplementary\ncomplementation\ncomplete\ncompletion\ncomplex\ncomplexion\ncompliant\ncomplicate\ncomplicity\ncompliment\ncomplimentary\ncompline\ncomply\ncomponent\ncomponentry\ncomport\ncompose\ncomposite\ncomposition\ncompositor\ncompost\ncomposure\ncompote\ncompound\ncomprehend\ncomprehensible\ncomprehension\ncomprehensive\ncompress\ncompressible\ncompression\ncompressive\ncompressor\ncomprise\ncompromise\nCompton\ncomptroller\ncompulsion\ncompulsive\ncompulsory\ncomputation\ncompute\ncomrade\ncon\nConakry\nConant\nconcatenate\nconcave\nconceal\nconcede\nconceit\nconceive\nconcentrate\nconcentric\nconcept\nconception\nconceptual\nconcern\nconcert\nconcerti\nconcertina\nconcertmaster\nconcerto\nconcession\nconcessionaire\nconch\nconcierge\nconciliate\nconciliatory\nconcise\nconcision\nconclave\nconclude\nconclusion\nconclusive\nconcoct\nconcomitant\nconcord\nconcordant\nconcourse\nconcrete\nconcretion\nconcubine\nconcur\nconcurred\nconcurrent\nconcurring\nconcussion\ncondemn\ncondemnate\ncondemnatory\ncondensate\ncondense\ncondensible\ncondescend\ncondescension\ncondiment\ncondition\ncondolence\ncondone\nconduce\nconducive\nconduct\nconductance\nconductive\nconductor\nconduit\ncone\nconeflower\nConestoga\nconey\nconfabulate\nconfect\nconfectionery\nconfederacy\nconfederate\nconfer\nconferee\nconference\nconferrable\nconferred\nconferring\nconfess\nconfession\nconfessor\nconfidant\nconfidante\nconfide\nconfident\nconfidential\nconfiguration\nconfigure\nconfine\nconfirm\nconfirmation\nconfirmatory\nconfiscable\nconfiscate\nconfiscatory\nconflagrate\nconflict\nconfluent\nconfocal\nconform\nconformal\nconformance\nconformation\nconfound\nconfrere\nconfront\nconfrontation\nConfucian\nConfucianism\nConfucius\nconfuse\nconfusion\nconfute\ncongeal\ncongener\ncongenial\ncongenital\ncongest\ncongestion\ncongestive\nconglomerate\nCongo\nCongolese\ncongratulate\ncongratulatory\ncongregate\ncongress\ncongressional\ncongressman\ncongressmen\ncongresswoman\ncongresswomen\ncongruent\nconic\nconifer\nconiferous\nconjectural\nconjecture\nconjoin\nconjoint\nconjugal\nconjugate\nconjunct\nconjuncture\nconjure\nConklin\nConley\nconn\nConnally\nconnect\nConnecticut\nconnector\nConner\nConnie\nconnivance\nconnive\nconnoisseur\nConnors\nconnotation\nconnotative\nconnote\nconnubial\nconquer\nconqueror\nconquest\nconquistador\nConrad\nConrail\nconsanguine\nconsanguineous\nconscience\nconscientious\nconscionable\nconscious\nconscript\nconscription\nconsecrate\nconsecutive\nconsensus\nconsent\nconsequent\nconsequential\nconservation\nconservatism\nconservative\nconservator\nconservatory\nconserve\nconsider\nconsiderate\nconsign\nconsignee\nconsignor\nconsist\nconsistent\nconsolation\nconsole\nconsolidate\nconsonant\nconsonantal\nconsort\nconsortium\nconspicuous\nconspiracy\nconspirator\nconspiratorial\nconspire\nConstance\nconstant\nConstantine\nConstantinople\nconstellate\nconsternate\nconstituent\nconstitute\nconstitution\nconstrain\nconstraint\nconstrict\nconstrictor\nconstruct\nconstructible\nconstructor\nconstrue\nconsul\nconsular\nconsulate\nconsult\nconsultant\nconsultation\nconsultative\nconsume\nconsummate\nconsumption\nconsumptive\ncontact\ncontagion\ncontagious\ncontain\ncontaminant\ncontaminate\ncontemplate\ncontemporaneous\ncontemporary\ncontempt\ncontemptible\ncontemptuous\ncontend\ncontent\ncontention\ncontentious\ncontest\ncontestant\ncontext\ncontextual\ncontiguity\ncontiguous\ncontinent\ncontinental\ncontingent\ncontinua\ncontinual\ncontinuant\ncontinuation\ncontinue\ncontinued\ncontinuity\ncontinuo\ncontinuous\ncontinuum\ncontort\ncontour\ncontraband\ncontrabass\ncontraception\ncontraceptive\ncontract\ncontractor\ncontractual\ncontradict\ncontradictory\ncontradistinct\ncontradistinguish\ncontralateral\ncontralto\ncontraption\ncontrariety\ncontrary\ncontrast\ncontravariant\ncontravene\ncontravention\ncontretemps\ncontribute\ncontribution\ncontributor\ncontributory\ncontrite\ncontrition\ncontrivance\ncontrive\ncontrol\ncontrollable\ncontrolled\ncontroller\ncontrolling\ncontroversial\ncontroversy\ncontrovertible\ncontumacy\ncontusion\nconundrum\nConvair\nconvalesce\nconvalescent\nconvect\nconvene\nconvenient\nconvent\nconvention\nconverge\nconvergent\nconversant\nconversation\nconverse\nconversion\nconvert\nconvertible\nconvex\nconvey\nconveyance\nconveyor\nconvict\nconvince\nconvivial\nconvocate\nconvoke\nconvolute\nconvolution\nconvolve\nconvoy\nconvulse\nconvulsion\nconvulsive\nConway\ncony\ncoo\ncook\ncookbook\nCooke\ncookery\ncookie\ncooky\ncool\ncoolant\nCooley\ncoolheaded\nCoolidge\ncoon\ncoop\ncooperate\ncoordinate\nCoors\ncoot\ncop\ncope\nCopeland\nCopenhagen\nCopernican\nCopernicus\ncopious\ncoplanar\ncopolymer\ncopperas\nCopperfield\ncopperhead\ncoppery\ncopra\ncoprinus\ncopter\ncopy\ncopybook\ncopyright\ncopywriter\ncoquette\ncoquina\ncoral\ncoralberry\ncoralline\ncorbel\nCorbett\nCorcoran\ncord\ncordage\ncordial\ncordite\ncordon\ncorduroy\ncore\nCorey\ncoriander\nCorinth\nCorinthian\nCoriolanus\ncork\ncorkscrew\ncormorant\ncorn\ncornbread\ncornea\nCornelia\nCornelius\nCornell\ncornerstone\ncornet\ncornfield\ncornflower\ncornish\ncornmeal\ncornstarch\ncornucopia\nCornwall\ncorny\ncorollary\ncorona\nCoronado\ncoronary\ncoronate\ncoroner\ncoronet\ncoroutine\nCorp\ncorpora\ncorporal\ncorporate\ncorporeal\ncorps\ncorpse\ncorpsman\ncorpsmen\ncorpulent\ncorpus\ncorpuscular\ncorral\ncorralled\ncorrect\ncorrector\ncorrelate\ncorrespond\ncorrespondent\ncorridor\ncorrigenda\ncorrigendum\ncorrigible\ncorroborate\ncorroboree\ncorrode\ncorrodible\ncorrosion\ncorrosive\ncorrugate\ncorrupt\ncorruptible\ncorruption\ncorsage\ncortege\ncortex\ncortical\nCortland\ncorundum\ncoruscate\ncorvette\nCorvus\ncos\ncosec\ncoset\nCosgrove\ncosh\ncosine\ncosmetic\ncosmic\ncosmology\ncosmopolitan\ncosmos\ncosponsor\nCossack\ncost\nCostello\ncostume\ncosy\ncot\ncotangent\ncotillion\ncotman\ncotoneaster\ncotta\ncottage\ncotton\ncottonmouth\ncottonseed\ncottonwood\ncottony\nCottrell\ncotty\ncouch\ncougar\ncough\ncould\ncouldn't\ncoulomb\nCoulter\ncouncil\ncouncilman\ncouncilmen\ncouncilwoman\ncouncilwomen\ncounsel\ncounselor\ncount\ncountenance\ncounteract\ncounterargument\ncounterattack\ncounterbalance\ncounterclockwise\ncounterexample\ncounterfeit\ncounterflow\ncounterintuitive\ncounterman\ncountermen\ncounterpart\ncounterpoint\ncounterpoise\ncounterproductive\ncounterproposal\ncountersink\ncountersunk\ncountervail\ncountrify\ncountry\ncountryman\ncountrymen\ncountryside\ncountrywide\ncounty\ncountywide\ncoup\ncoupe\ncouple\ncoupon\ncourage\ncourageous\ncourier\ncourse\ncourt\ncourteous\ncourtesan\ncourtesy\ncourthouse\ncourtier\nCourtney\ncourtroom\ncourtyard\ncousin\ncouturier\ncovalent\ncovariant\ncovariate\ncovary\ncove\ncoven\ncovenant\nCoventry\ncover\ncoverage\ncoverall\ncoverlet\ncovert\ncovet\ncovetous\ncow\nCowan\ncoward\ncowardice\ncowbell\ncowbird\ncowboy\ncowhand\ncowherd\ncowhide\ncowl\ncowlick\ncowman\ncowmen\ncoworker\ncowpea\ncowpoke\ncowpony\ncowpox\ncowpunch\ncowry\ncowslip\ncox\ncoxcomb\ncoy\ncoyote\ncoypu\ncozen\ncozier\ncozy\nCPA\ncrab\ncrabapple\ncrabbing\ncrack\ncrackle\ncrackpot\ncradle\ncraft\ncraftsman\ncraftsmen\ncraftspeople\ncraftsperson\ncrafty\ncrag\ncraggy\nCraig\ncram\nCramer\ncramming\ncramp\ncranberry\nCrandall\ncrane\ncranelike\nCranford\ncrania\ncranium\ncrank\ncrankcase\ncrankshaft\ncranky\ncranny\nCranston\ncrap\ncrappie\ncrash\ncrass\ncrate\ncrater\ncravat\ncrave\ncraven\ncraw\nCrawford\ncrawl\ncrawlspace\ncrayfish\ncrayon\ncraze\ncrazy\ncreak\ncreaky\ncream\ncreamery\ncreamy\ncrease\ncreate\ncreating\ncreature\ncreche\ncredent\ncredential\ncredenza\ncredible\ncredit\ncreditor\ncredo\ncredulity\ncredulous\ncreed\ncreedal\ncreek\ncreekside\ncreep\ncreepy\ncremate\ncrematory\nCreole\nCreon\ncreosote\ncrepe\ncrept\ncrescendo\ncrescent\ncress\ncrest\ncrestfallen\nCrestview\nCretaceous\nCretan\nCrete\ncretin\ncretinous\ncrevice\ncrew\ncrewcut\ncrewel\ncrewman\ncrewmen\ncrib\ncribbing\ncricket\ncried\ncrime\nCrimea\ncriminal\ncrimp\ncrimson\ncringe\ncrinkle\ncripple\ncrises\ncrisis\ncrisp\nCrispin\ncriss\ncrisscross\ncriteria\ncriterion\ncritic\ncritique\ncritter\ncroak\ncrochet\ncrock\ncrockery\nCrockett\ncrocodile\ncrocodilian\ncrocus\ncroft\nCroix\nCromwell\nCromwellian\ncrone\ncrony\ncrook\ncroon\ncrop\ncropping\nCrosby\ncross\ncrossarm\ncrossbar\ncrossbill\ncrosscut\ncrosshatch\ncrossover\ncrosspoint\ncrossroad\ncrosstalk\ncrosswalk\ncrossway\ncrosswise\ncrosswort\ncrotch\ncrotchety\ncrouch\ncroupier\ncrow\ncrowbait\ncrowberry\ncrowd\ncrowfoot\nCrowley\ncrown\ncroydon\nCRT\ncrucial\ncrucible\ncrucifix\ncrucifixion\ncrucify\ncrud\ncruddy\ncrude\ncruel\ncruelty\nCruickshank\ncruise\ncrumb\ncrumble\ncrummy\ncrump\ncrumple\ncrunch\ncrupper\ncrusade\ncrush\nCrusoe\ncrust\ncrutch\ncrux\ncry\ncryogenic\ncryostat\ncrypt\ncryptanalysis\ncryptanalyst\ncryptanalytic\ncryptic\ncryptogram\ncryptographer\ncryptography\ncrystal\ncrystalline\ncrystallite\ncrystallographer\ncrystallography\nc's\ncub\nCuba\ncubbyhole\ncube\ncubic\ncuckoo\ncucumber\ncud\ncuddle\ncuddly\ncudgel\ncue\ncuff\ncufflink\ncuisine\nCulbertson\nculinary\ncull\nculminate\nculpa\nculpable\nculprit\ncult\ncultivable\ncultivate\ncultural\nculture\nCulver\nculvert\nCumberland\ncumbersome\ncumin\nCummings\nCummins\ncumulate\ncumulus\nCunard\ncunning\nCunningham\nCUNY\ncup\ncupboard\ncupful\nCupid\ncupidity\ncupping\ncupric\ncuprous\ncur\ncurate\ncurb\ncurbside\ncurd\ncurdle\ncure\ncurfew\ncuria\ncurie\ncurio\ncuriosity\ncurious\ncurium\ncurl\ncurlew\ncurlicue\nCurran\ncurrant\ncurrent\ncurricula\ncurricular\ncurriculum\ncurry\ncurse\ncursive\ncursor\ncursory\ncurt\ncurtail\ncurtain\nCurtis\ncurtsey\ncurvaceous\ncurvature\ncurve\ncurvilinear\nCushing\ncushion\nCushman\ncusp\nCuster\ncustodial\ncustodian\ncustody\ncustom\ncustomary\ncustomhouse\ncut\ncutaneous\ncutback\ncute\ncutlass\ncutler\ncutlet\ncutoff\ncutout\ncutover\ncutthroat\ncutting\ncuttlebone\ncuttlefish\ncutworm\nCyanamid\ncyanate\ncyanic\ncyanide\ncybernetics\ncycad\nCyclades\ncycle\ncyclic\ncyclist\ncyclone\ncyclopean\nCyclops\ncyclorama\ncyclotron\nCygnus\ncylinder\ncylindric\ncynic\nCynthia\ncypress\nCyprian\nCypriot\nCyprus\nCyril\nCyrus\ncyst\ncytochemistry\ncytolysis\ncytoplasm\nczar\nczarina\nCzechoslovakia\nCzerniak\nd\ndab\ndabbing\ndabble\nDacca\ndachshund\ndactyl\ndactylic\ndad\nDadaism\nDadaist\ndaddy\nDade\nDaedalus\ndaffodil\ndaffy\ndagger\nDahl\ndahlia\nDahomey\nDailey\nDaimler\ndainty\ndairy\nDairylea\ndairyman\ndairymen\ndais\ndaisy\nDakar\nDakota\ndale\nDaley\nDallas\ndally\nDalton\nDaly\nDalzell\ndam\ndamage\nDamascus\ndamask\ndame\ndamming\ndamn\ndamnation\nDamon\ndamp\ndampen\ndamsel\nDan\nDana\nDanbury\ndance\ndandelion\ndandy\nDane\ndang\ndanger\ndangerous\ndangle\nDaniel\nDanielson\nDanish\ndank\nDanny\nDante\nDanube\nDanubian\nDanzig\nDaphne\ndapper\ndapple\nDar\ndare\nDarius\ndark\ndarken\ndarkle\nDarlene\ndarling\ndarn\nDarrell\nd'art\ndart\nDartmouth\nDarwin\nDarwinian\ndash\ndashboard\ndastard\ndata\ndatabase\ndate\ndateline\ndater\nDatsun\ndatum\ndaub\nDaugherty\ndaughter\ndaunt\ndauphin\ndauphine\nDave\ndavenport\nDavid\nDavidson\nDavies\nDavis\nDavison\ndavit\nDavy\ndawn\nDawson\nday\ndaybed\ndaybreak\ndaydream\ndaylight\ndaytime\nDayton\nDaytona\ndaze\ndazzle\nDC\nDe\ndeacon\ndeaconess\ndeactivate\ndead\ndeaden\ndeadhead\ndeadline\ndeadlock\ndeadwood\ndeaf\ndeafen\ndeal\ndeallocate\ndealt\ndean\nDeane\nDeanna\ndear\nDearborn\ndearie\ndearth\ndeath\ndeathbed\ndeathward\ndebacle\ndebar\ndebarring\ndebase\ndebate\ndebater\ndebauch\ndebauchery\nDebbie\nDebby\ndebenture\ndebilitate\ndebility\ndebit\ndebonair\nDeborah\nDebra\ndebrief\ndebris\ndebt\ndebtor\ndebug\ndebugged\ndebugger\ndebugging\ndebunk\nDebussy\ndebut\ndebutante\nDec\ndecade\ndecadent\ndecal\ndecant\ndecathlon\nDecatur\ndecay\nDecca\ndecease\ndecedent\ndeceit\ndeceitful\ndeceive\ndecelerate\nDecember\ndecennial\ndecent\ndeception\ndeceptive\ndecertify\ndecibel\ndecide\ndeciduous\ndecile\ndecimal\ndecipher\ndecision\ndecisional\ndecisive\ndeck\nDecker\ndeclaim\ndeclamation\ndeclamatory\ndeclaration\ndeclarative\ndeclarator\ndeclaratory\ndeclare\ndeclassify\ndeclination\ndecline\ndeclivity\ndecode\ndecolletage\ndecollimate\ndecompile\ndecomposable\ndecompose\ndecomposition\ndecompress\ndecompression\ndecontrol\ndecontrolled\ndecontrolling\ndeconvolution\ndeconvolve\ndecor\ndecorate\ndecorous\ndecorticate\ndecorum\ndecouple\ndecrease\ndecree\ndecreeing\ndecrement\ndecry\ndecrypt\ndecryption\ndedicate\ndeduce\ndeducible\ndeduct\ndeductible\nDee\ndeed\ndeem\ndeep\ndeepen\ndeer\nDeere\ndeerskin\ndeerstalker\ndeface\ndefault\ndefeat\ndefecate\ndefect\ndefend\ndefendant\ndefensible\ndefensive\ndefer\ndeferent\ndeferrable\ndeferred\ndeferring\ndefiant\ndeficient\ndeficit\ndefine\ndefinite\ndefinition\ndefinitive\ndeflate\ndeflater\ndeflect\ndeflector\ndefocus\ndeforest\ndeforestation\ndeform\ndeformation\ndefraud\ndefray\ndefrost\ndeft\ndefunct\ndefy\ndegas\ndegassing\ndegeneracy\ndegenerate\ndegradation\ndegrade\ndegrease\ndegree\ndegum\ndegumming\ndehumidify\ndehydrate\ndeify\ndeign\ndeity\ndeja\ndeject\nDel\nDelaney\nDelano\nDelaware\ndelay\ndelectable\ndelectate\ndelegable\ndelegate\ndelete\ndeleterious\ndeletion\nDelhi\nDelia\ndeliberate\ndelicacy\ndelicate\ndelicatessen\ndelicious\ndelicti\ndelight\ndelightful\nDelilah\ndelimit\ndelimitation\ndelineament\ndelineate\ndelinquent\ndeliquesce\ndeliquescent\ndelirious\ndelirium\ndeliver\ndeliverance\ndelivery\ndell\nDella\nDelmarva\ndelouse\nDelphi\nDelphic\ndelphine\ndelphinium\nDelphinus\ndelta\ndeltoid\ndelude\ndeluge\ndelusion\ndelusive\ndeluxe\ndelve\ndemagnify\ndemagogue\ndemand\ndemarcate\ndemark\ndemean\ndemented\ndemerit\ndemigod\ndemijohn\ndemiscible\ndemise\ndemit\ndemitted\ndemitting\ndemocracy\ndemocrat\ndemocratic\ndemodulate\ndemography\ndemolish\ndemolition\ndemon\ndemoniac\ndemonic\ndemonstrable\ndemonstrate\ndemote\ndemountable\nDempsey\ndemultiplex\ndemur\ndemure\ndemurred\ndemurrer\ndemurring\ndemythologize\nden\ndenature\nDeneb\nDenebola\ndeniable\ndenial\ndenigrate\ndenizen\nDenmark\nDennis\nDenny\ndenominate\ndenotation\ndenotative\ndenote\ndenouement\ndenounce\ndense\ndensitometer\ndensitometric\ndensitometry\ndent\ndental\ndentistry\nDenton\ndenture\ndenudation\ndenude\ndenumerable\ndenunciate\nDenver\ndeny\ndeodorant\ndeoxyribonucleic\ndepart\ndepartment\ndeparture\ndepend\ndependent\ndepict\ndeplete\ndepletion\ndeplore\ndeploy\ndeport\ndeportation\ndeportee\ndepose\ndeposit\ndepositary\ndeposition\ndepositor\ndepository\ndepot\ndeprave\ndeprecate\ndeprecatory\ndepreciable\ndepreciate\ndepress\ndepressant\ndepressed\ndepressible\ndepressing\ndepression\ndepressive\ndepressor\ndeprivation\ndeprive\ndepth\ndeputation\ndepute\ndeputy\nderail\nderange\nderate\nderby\nDerbyshire\ndereference\nderegulate\nDerek\nderelict\nderide\nderision\nderisive\nderivate\nderive\nderogate\nderogatory\nderrick\nderriere\ndervish\nDes\ndescant\nDescartes\ndescend\ndescendant\ndescendent\ndescent\ndescribe\ndescription\ndescriptive\ndescriptor\ndesecrate\ndesecrater\ndesegregate\ndesert\ndeserve\ndesiderata\ndesideratum\ndesign\ndesignate\ndesire\ndesirous\ndesist\ndesk\nDesmond\ndesolate\ndesolater\ndesorption\ndespair\ndesperado\ndesperate\ndespicable\ndespise\ndespite\ndespoil\ndespond\ndespondent\ndespot\ndespotic\ndessert\ndessicate\ndestabilize\ndestinate\ndestine\ndestiny\ndestitute\ndestroy\ndestruct\ndestructor\ndesuetude\ndesultory\ndesynchronize\ndetach\ndetail\ndetain\nd'etat\ndetect\ndetector\ndetent\ndetente\ndetention\ndeter\ndetergent\ndeteriorate\ndeterminant\ndeterminate\ndetermine\ndeterred\ndeterrent\ndeterring\ndetest\ndetestation\ndetonable\ndetonate\ndetour\ndetract\ndetractor\ndetriment\nDetroit\ndeuce\ndeus\ndeuterate\ndeuterium\ndevastate\ndevelop\ndeviant\ndeviate\ndevice\ndevil\ndevilish\ndevious\ndevise\ndevisee\ndevoid\ndevolve\nDevon\nDevonshire\ndevote\ndevotee\ndevotion\ndevour\ndevout\ndew\ndewar\ndewdrop\nDewey\nDewitt\ndewy\ndexter\ndexterity\ndextrous\ndey\nDhabi\ndharma\ndiabase\ndiabetes\ndiabetic\ndiabolic\ndiachronic\ndiacritical\ndiadem\ndiagnosable\ndiagnose\ndiagnoses\ndiagnosis\ndiagnostic\ndiagnostician\ndiagonal\ndiagram\ndiagrammatic\ndial\ndialect\ndialectic\ndialogue\ndialysis\ndiamagnetic\ndiamagnetism\ndiameter\ndiametric\ndiamond\nDiana\nDiane\nDianne\ndiaper\ndiaphanous\ndiaphragm\ndiary\ndiathermy\ndiathesis\ndiatom\ndiatomaceous\ndiatomic\ndiatonic\ndibble\ndice\ndichloride\ndichondra\ndichotomy\ndick\ndickcissel\ndickens\nDickerson\ndickey\nDickinson\nDickson\ndicotyledon\ndicta\ndictate\ndictatorial\ndiction\ndictionary\ndictum\ndid\ndidactic\ndiddle\ndidn't\nDido\ndie\nDiebold\ndied\nDiego\ndiehard\ndieldrin\ndielectric\ndiem\ndiesel\ndiet\ndietary\ndietetic\ndiethylstilbestrol\ndietician\nDietrich\ndiety\nDietz\ndiffer\ndifferent\ndifferentiable\ndifferential\ndifferentiate\ndifficult\ndifficulty\ndiffident\ndiffract\ndiffractometer\ndiffuse\ndiffusible\ndiffusion\ndiffusive\ndifluoride\ndig\ndigest\ndigestible\ndigestion\ndigestive\ndigging\ndigit\ndigital\ndigitalis\ndignify\ndignitary\ndignity\ndigram\ndigress\ndigression\ndihedral\ndilapidate\ndilatation\ndilate\ndilation\ndilatory\ndilemma\ndilettante\ndiligent\ndill\nDillon\ndilogarithm\ndiluent\ndilute\ndilution\ndim\ndime\ndimension\ndimethyl\ndiminish\ndiminution\ndiminutive\ndimming\ndimple\ndin\nDinah\ndine\nding\ndinghy\ndingo\ndingy\ndinnertime\ndinnerware\ndinosaur\ndint\ndiocesan\ndiocese\ndiode\nDionysian\nDionysus\nDiophantine\ndiopter\ndiorama\ndiorite\ndioxide\ndip\ndiphthong\ndiploma\ndiplomacy\ndiplomat\ndiplomatic\ndipole\ndipping\nDirac\ndire\ndirect\ndirector\ndirectorate\ndirectory\ndirectrices\ndirectrix\ndirge\nDirichlet\ndirt\ndirty\nDis\ndisambiguate\ndisastrous\ndisburse\ndisc\ndiscern\ndiscernible\ndisciple\ndisciplinary\ndiscipline\ndiscoid\ndiscomfit\ndiscordant\ndiscovery\ndiscreet\ndiscrepant\ndiscrete\ndiscretion\ndiscretionary\ndiscriminable\ndiscriminant\ndiscriminate\ndiscriminatory\ndiscus\ndiscuss\ndiscussant\ndiscussion\ndisdain\ndisdainful\ndisembowel\ndisgruntle\ndisgustful\ndish\ndishevel\ndishwasher\ndishwater\ndisjunct\ndisk\ndismal\ndismissal\nDisney\nDisneyland\ndisparage\ndisparate\ndispel\ndispelled\ndispelling\ndispensary\ndispensate\ndispense\ndispersal\ndisperse\ndispersible\ndispersion\ndispersive\ndisposable\ndisposal\ndisputant\ndispute\ndisquietude\ndisquisition\ndisrupt\ndisruption\ndisruptive\ndissemble\ndisseminate\ndissension\ndissertation\ndissident\ndissipate\ndissociable\ndissociate\ndissonant\ndissuade\ndistaff\ndistal\ndistant\ndistillate\ndistillery\ndistinct\ndistinguish\ndistort\ndistortion\ndistraught\ndistribution\ndistributive\ndistributor\ndistrict\ndisturb\ndisturbance\ndisulfide\ndisyllable\nditch\ndither\nditto\nditty\ndiurnal\ndiva\ndivalent\ndivan\ndive\ndiverge\ndivergent\ndiverse\ndiversify\ndiversion\ndiversionary\ndivert\ndivest\ndivestiture\ndivide\ndividend\ndivination\ndivine\ndivisible\ndivision\ndivisional\ndivisive\ndivisor\ndivorce\ndivorcee\ndivulge\nDixie\ndixieland\nDixon\ndizzy\nDjakarta\nDNA\nDnieper\ndo\nDobbin\nDobbs\ndoberman\ndobson\ndocile\ndock\ndocket\ndockside\ndockyard\ndoctor\ndoctoral\ndoctorate\ndoctrinaire\ndoctrinal\ndoctrine\ndocument\ndocumentary\ndocumentation\nDOD\nDodd\ndodecahedra\ndodecahedral\ndodecahedron\ndodge\nDodson\ndoe\ndoesn't\nd'oeuvre\ndoff\ndog\ndogbane\ndogberry\nDoge\ndogfish\ndogging\ndoggone\ndoghouse\ndogleg\ndogma\ndogmatic\ndogmatism\ndogtooth\ndogtrot\ndogwood\nDoherty\nDolan\ndolce\ndoldrum\ndole\ndoleful\ndoll\ndollar\ndolly\ndolomite\ndolomitic\nDolores\ndolphin\ndolt\ndoltish\ndomain\ndome\nDomenico\nDomesday\ndomestic\ndomicile\ndominant\ndominate\ndomineer\nDomingo\nDominic\nDominican\nDominick\ndominion\nDominique\ndomino\ndon\nDonahue\nDonald\nDonaldson\ndonate\ndone\nDoneck\ndonkey\nDonna\nDonnelly\nDonner\ndonning\ndonnybrook\ndonor\nDonovan\ndon't\ndoodle\nDooley\nDoolittle\ndoom\ndoomsday\ndoor\ndoorbell\ndoorkeep\ndoorkeeper\ndoorknob\ndoorman\ndoormen\ndoorstep\ndoorway\ndopant\ndope\nDoppler\nDora\nDorado\nDorcas\nDorchester\nDoreen\nDoria\nDoric\nDoris\ndormant\ndormitory\nDorothea\nDorothy\nDorset\ndosage\ndose\ndosimeter\ndossier\nDostoevsky\ndot\ndote\ndotting\ndouble\nDoubleday\ndoubleheader\ndoublet\ndoubleton\ndoubloon\ndoubt\ndoubtful\ndouce\nDoug\ndough\nDougherty\ndoughnut\nDouglas\nDouglass\ndour\ndouse\ndove\ndovekie\ndovetail\nDow\ndowager\ndowel\ndowitcher\nDowling\ndown\ndownbeat\ndowncast\ndowndraft\nDowney\ndownfall\ndowngrade\ndownhill\nDowning\ndownplay\ndownpour\ndownright\nDowns\ndownside\ndownslope\ndownspout\ndownstairs\ndownstream\ndowntown\ndowntrend\ndowntrodden\ndownturn\ndownward\ndownwind\ndowry\nDoyle\ndoze\ndozen\nDr\ndrab\nDraco\ndraft\ndraftee\ndraftsman\ndraftsmen\ndraftsperson\ndrafty\ndrag\ndragging\ndragnet\ndragon\ndragonfly\ndragonhead\ndragoon\ndrain\ndrainage\ndrake\ndram\ndrama\ndramatic\ndramatist\ndramaturgy\ndrank\ndrape\ndrapery\ndrastic\ndraw\ndrawback\ndrawbridge\ndrawl\ndrawn\ndread\ndreadful\ndreadnought\ndream\ndreamboat\ndreamlike\ndreamt\ndreamy\ndreary\ndredge\ndreg\ndrench\ndress\ndressmake\ndressy\ndrew\nDrexel\nDreyfuss\ndrib\ndribble\ndried\ndrier\ndrift\ndrill\ndrink\ndrip\ndripping\ndrippy\nDriscoll\ndrive\ndriven\ndriveway\ndrizzle\ndrizzly\ndroll\ndromedary\ndrone\ndrool\ndroop\ndroopy\ndrop\ndrophead\ndroplet\ndropout\ndropping\ndrosophila\ndross\ndrought\ndrove\ndrown\ndrowse\ndrowsy\ndrub\ndrubbing\ndrudge\ndrudgery\ndrug\ndrugging\ndrugstore\ndruid\ndrum\ndrumhead\ndrumlin\ndrumming\nDrummond\ndrunk\ndrunkard\ndrunken\nDrury\ndry\ndryad\nDryden\nd's\ndu\ndual\ndualism\nDuane\ndub\nDubhe\ndubious\ndubitable\nDublin\nducat\nduchess\nduck\nduckling\nduct\nductile\nductwork\ndud\nDudley\ndue\nduel\nduet\nduff\nduffel\nDuffy\ndug\nDugan\ndugout\nduke\ndulcet\ndull\ndully\ndulse\nDuluth\nduly\nDuma\ndumb\ndumbbell\ndummy\ndump\nDumpty\ndumpy\ndun\nDunbar\nDuncan\ndunce\ndune\nDunedin\ndung\ndungeon\nDunham\ndunk\nDunkirk\nDunlap\nDunlop\nDunn\nduopolist\nduopoly\ndupe\nduplex\nduplicable\nduplicate\nduplicity\nDuPont\ndurable\nDurango\nduration\nDurer\nduress\nDurham\nduring\nDurkee\nDurkin\nDurrell\nDurward\nDusenberg\nDusenbury\ndusk\ndusky\nDusseldorf\ndust\ndustbin\ndusty\nDutch\ndutchess\nDutchman\nDutchmen\ndutiable\ndutiful\nDutton\nduty\ndwarf\ndwarves\ndwell\ndwelt\nDwight\ndwindle\nDwyer\ndyad\ndyadic\ndye\ndyer\ndying\nDyke\nDylan\ndynamic\ndynamism\ndynamite\ndynamo\ndynast\ndynastic\ndynasty\ndyne\ndysentery\ndyspeptic\ndysplasia\ndysprosium\ndystrophy\ne\neach\nEagan\neager\neagle\near\neardrum\nearl\nearmark\nearn\nearnest\nearphone\nearring\nearsplitting\nearth\nearthen\nearthenware\nearthmen\nearthmover\nearthmoving\nearthquake\nearthworm\nearthy\nearwig\nease\neasel\neast\neastbound\neastern\neasternmost\nEastland\nEastman\neastward\nEastwood\neasy\neasygoing\neat\neaten\neater\nEaton\neave\neavesdrop\neavesdropping\nebb\nEben\nebony\nebullient\neccentric\nEccles\necclesiastic\nechelon\nechinoderm\necho\nechoes\neclat\neclectic\neclipse\necliptic\neclogue\nEcole\necology\neconometric\nEconometrica\neconomic\neconomist\neconomy\necosystem\necstasy\necstatic\nEcuador\necumenic\necumenist\nEd\nEddie\neddy\nedelweiss\nedematous\nEden\nEdgar\nedge\nEdgerton\nedgewise\nedging\nedgy\nedible\nedict\nedifice\nedify\nEdinburgh\nEdison\nedit\nEdith\nedition\neditor\neditorial\nEdmonds\nEdmondson\nEdmonton\nEdmund\nEdna\nEDT\neducable\neducate\nEdward\nEdwardian\nEdwards\nEdwin\nEdwina\neel\neelgrass\nEEOC\ne'er\neerie\neerily\nefface\neffaceable\neffect\neffectual\neffectuate\neffeminate\nefferent\neffete\nefficacious\nefficacy\nefficient\nEffie\neffloresce\nefflorescent\neffluent\neffluvia\neffluvium\neffort\neffusive\neft\negalitarian\nEgan\negg\negghead\neggplant\neggshell\nego\negocentric\negotism\negotist\negregious\negress\negret\nEgypt\nEgyptian\neh\nEhrlich\neider\neidetic\neigenfunction\neigenstate\neigenvalue\neigenvector\neight\neighteen\neighteenth\neightfold\neighth\neightieth\neighty\nEileen\nEinstein\nEinsteinian\neinsteinium\nEire\nEisenhower\nEisner\neither\nejaculate\neject\nejector\neke\nEkstrom\nEktachrome\nel\nelaborate\nElaine\nelan\nelapse\nelastic\nelastomer\nelate\nElba\nelbow\nelder\neldest\nEldon\nEleanor\nEleazar\nelect\nelector\nelectoral\nelectorate\nElectra\nelectress\nelectret\nelectric\nelectrician\nelectrify\nelectro\nelectrocardiogram\nelectrocardiograph\nelectrode\nelectroencephalogram\nelectroencephalograph\nelectroencephalography\nelectrolysis\nelectrolyte\nelectrolytic\nelectron\nelectronic\nelectrophoresis\nelectrophorus\nelegant\nelegiac\nelegy\nelement\nelementary\nElena\nelephant\nelephantine\nelevate\neleven\neleventh\nelfin\nElgin\nEli\nelicit\nelide\neligible\nElijah\neliminate\nElinor\nEliot\nElisabeth\nElisha\nelision\nelite\nElizabeth\nElizabethan\nelk\nElkhart\nell\nElla\nEllen\nElliott\nellipse\nellipsis\nellipsoid\nellipsoidal\nellipsometer\nellipsometry\nelliptic\nEllis\nEllison\nEllsworth\nEllwood\nelm\nElmer\nElmhurst\nElmira\nElmsford\nEloise\nelongate\nelope\neloquent\nelse\nElsevier\nelsewhere\nElsie\nElsinore\nElton\neluate\nelucidate\nelude\nelusive\nelute\nelution\nelves\nEly\nElysee\nelysian\nem\nemaciate\nemanate\nemancipate\nEmanuel\nemasculate\nembalm\nembank\nembarcadero\nembargo\nembargoes\nembark\nembarrass\nembassy\nembattle\nembed\nembedded\nembedder\nembedding\nembellish\nember\nembezzle\nemblematic\nembodiment\nembody\nembolden\nemboss\nembouchure\nembower\nembrace\nembraceable\nembrittle\nembroider\nembroidery\nembroil\nembryo\nembryonic\nemcee\nemendable\nemerald\nemerge\nemergent\nemeritus\nEmerson\nEmery\nemigrant\nemigrate\nEmil\nEmile\nEmilio\nEmily\neminent\nemirate\nemissary\nemission\nemissivity\nemit\nemittance\nemitted\nemitter\nemitting\nemma\nEmmanuel\nEmmett\nemolument\nEmory\nemotion\nemotional\nempathy\nemperor\nemphases\nemphasis\nemphatic\nemphysema\nemphysematous\nempire\nempiric\nemplace\nemploy\nemployed\nemployee\nemployer\nemploying\nemporium\nempower\nempress\nempty\nemulate\nemulsify\nemulsion\nen\nenact\nenamel\nencamp\nencapsulate\nencase\nencephalitis\nenchain\nenchant\nenchantress\nencipher\nencircle\nenclave\nenclose\nenclosure\nencode\nencomia\nencomium\nencompass\nencore\nencounter\nencourage\nencroach\nencrust\nencrypt\nencryption\nencumber\nencumbrance\nencyclical\nencyclopedic\nend\nendanger\nendear\nendgame\nEndicott\nendogamous\nendogamy\nendogenous\nendorse\nendosperm\nendothelial\nendothermic\nendow\nendpoint\nendurance\nendure\nenemy\nenergetic\nenergy\nenervate\nenfant\nenfeeble\nEnfield\nenforce\nenforceable\nenforcible\nenfranchise\nEng\nengage\nEngel\nengender\nengine\nengineer\nEngland\nEnglander\nEngle\nEnglewood\nEnglish\nEnglishman\nEnglishmen\nengrave\nengross\nengulf\nenhance\nEnid\nenigma\nenigmatic\nenjoin\nenjoinder\nenjoy\nenlarge\nenlargeable\nenlighten\nenlist\nenliven\nenmesh\nenmity\nEnoch\nenormity\nenormous\nEnos\nenough\nenquire\nenquiry\nenrage\nenrapture\nenrich\nEnrico\nenroll\nenrollee\nensconce\nensemble\nenshroud\nensign\nenslave\nensnare\nenstatite\nensue\nensure\nentail\nentangle\nentendre\nenter\nenterprise\nentertain\nenthalpy\nenthrall\nenthrone\nenthusiasm\nenthusiast\nenthusiastic\nentice\nentire\nentirety\nentitle\nentity\nentomb\nentomology\nentourage\nentrain\nentrance\nentranceway\nentrant\nentrap\nentrapping\nentreat\nentreaty\nentree\nentrench\nentrepreneur\nentrepreneurial\nentropy\nentrust\nentry\nentwine\nenumerable\nenumerate\nenunciable\nenunciate\nenvelop\nenvelope\nenvenom\nenviable\nenvious\nenviron\nenvisage\nenvision\nenvoy\nenvy\nenzymatic\nenzyme\nenzymology\nEocene\neohippus\neosine\nEPA\nepaulet\nephemeral\nephemerides\nephemeris\nEphesian\nEphesus\nEphraim\nepic\nepicure\nEpicurean\nepicycle\nepicyclic\nepidemic\nepidemiology\nepidermic\nepidermis\nepigenetic\nepigram\nepigrammatic\nepigraph\nepileptic\nepilogue\nEpiphany\nepiphyseal\nepiphysis\nepiscopal\nEpiscopalian\nepiscopate\nepisode\nepistemology\nepistle\nepistolatory\nepitaph\nepitaxial\nepitaxy\nepithelial\nepithelium\nepithet\nepitome\nepoch\nepoxy\nepsilon\nEpsom\nEpstein\nequable\nequal\nequanimity\nequate\nequatorial\nequestrian\nequidistant\nequilateral\nequilibrate\nequilibria\nequilibrium\nequine\nequinoctial\nequinox\nequip\nequipoise\nequipotent\nequipped\nequipping\nequitable\nequitation\nequity\nequivalent\nequivocal\nera\neradicable\neradicate\nerasable\nerase\nErasmus\nErastus\nerasure\nErato\nEratosthenes\nerbium\nERDA\nere\nerect\nerg\nergodic\nEric\nErich\nErickson\nEricsson\nErie\nErlenmeyer\nErnest\nErnestine\nErnie\nErnst\nerode\nerodible\nEros\nerosible\nerosion\nerosive\nerotic\nerotica\nerr\nerrancy\nerrand\nerrant\nerrantry\nerrata\nerratic\nerratum\nErrol\nerroneous\nerror\nersatz\nErskine\nerudite\nerudition\nerupt\neruption\nErvin\nErwin\ne's\nescadrille\nescalate\nescapade\nescape\nescapee\nescheat\neschew\nescort\nescritoire\nescrow\nescutcheon\nEskimo\nEsmark\nesophagi\nesoteric\nespecial\nespionage\nesplanade\nEsposito\nespousal\nespouse\nesprit\nesquire\nessay\nEssen\nessence\nessential\nEssex\nEST\nestablish\nestate\nesteem\nEstella\nester\nEstes\nEsther\nestimable\nestimate\nestop\nestoppal\nestrange\nestuarine\nestuary\net\neta\netc\netch\neternal\neternity\nEthan\nethane\nethanol\nEthel\nether\nethereal\nethic\nEthiopia\nethnic\nethnography\nethnology\nethology\nethos\nethyl\nethylene\netiology\netiquette\nEtruscan\netude\netymology\neucalyptus\nEucharist\nEuclid\nEuclidean\neucre\nEugene\nEugenia\neugenic\nEuler\nEulerian\neulogy\nEumenides\nEunice\neuphemism\neuphemist\neuphorbia\neuphoria\neuphoric\nEuphrates\nEurasia\neureka\nEuridyce\nEuripides\nEuropa\nEurope\nEuropean\neuropium\nEurydice\neutectic\nEuterpe\neuthanasia\nEva\nevacuate\nevade\nevaluable\nevaluate\nevanescent\nevangel\nevangelic\nEvans\nEvanston\nEvansville\nevaporate\nevasion\nevasive\neve\nEvelyn\neven\nevenhanded\nevensong\nevent\neventful\neventide\neventual\neventuate\nEveready\nEverett\nEverglades\nevergreen\nEverhart\neverlasting\nevery\neverybody\neveryday\neveryman\neveryone\neverything\neverywhere\nevict\nevident\nevidential\nevil\nevildoer\nevince\nevocable\nevocate\nevoke\nevolution\nevolutionary\nevolve\nevzone\newe\nEwing\nexacerbate\nexact\nexaggerate\nexalt\nexaltation\nexam\nexamination\nexamine\nexample\nexasperate\nexasperater\nexcavate\nexceed\nexcel\nexcelled\nexcellent\nexcelling\nexcelsior\nexcept\nexception\nexceptional\nexcerpt\nexcess\nexcessive\nexchange\nexchangeable\nexchequer\nexcisable\nexcise\nexcision\nexcitation\nexcitatory\nexcite\nexciton\nexclaim\nexclamation\nexclamatory\nexclude\nexclusion\nexclusionary\nexclusive\nexcommunicate\nexcoriate\nexcrescent\nexcresence\nexcrete\nexcretion\nexcretory\nexcruciate\nexculpatory\nexcursion\nexcursus\nexcusable\nexcuse\nexecrable\nexecrate\nexecute\nexecution\nexecutive\nexecutor\nexecutrix\nexegesis\nexegete\nexemplar\nexemplary\nexemplify\nexempt\nexemption\nexercisable\nexercise\nexert\nExeter\nexhale\nexhaust\nexhaustible\nexhaustion\nexhaustive\nexhibit\nexhibition\nexhibitor\nexhilarate\nexhort\nexhortation\nexhumation\nexhume\nexigent\nexile\nexist\nexistent\nexistential\nexit\nexodus\nexogamous\nexogamy\nexogenous\nexonerate\nexorbitant\nexorcise\nexorcism\nexorcist\nexoskeleton\nexothermic\nexotic\nexotica\nexpand\nexpanse\nexpansible\nexpansion\nexpansive\nexpatiate\nexpect\nexpectant\nexpectation\nexpectorant\nexpectorate\nexpedient\nexpedite\nexpedition\nexpeditious\nexpel\nexpellable\nexpelled\nexpelling\nexpend\nexpenditure\nexpense\nexpensive\nexperience\nexperiential\nexperiment\nexperimentation\nexpert\nexpertise\nexpiable\nexpiate\nexpiration\nexpire\nexplain\nexplanation\nexplanatory\nexpletive\nexplicable\nexplicate\nexplicit\nexplode\nexploit\nexploitation\nexploration\nexploratory\nexplore\nexplosion\nexplosive\nexponent\nexponential\nexponentiate\nexport\nexportation\nexpose\nexposit\nexposition\nexpositor\nexpository\nexposure\nexpound\nexpress\nexpressible\nexpression\nexpressive\nexpressway\nexpropriate\nexpulsion\nexpunge\nexpurgate\nexquisite\nextant\nextemporaneous\nextempore\nextend\nextendible\nextensible\nextension\nextensive\nextensor\nextent\nextenuate\nexterior\nexterminate\nexternal\nextinct\nextinguish\nextirpate\nextol\nextolled\nextoller\nextolling\nextort\nextra\nextracellular\nextract\nextractor\nextraditable\nextralegal\nextramarital\nextraneous\nextraordinary\nextrapolate\nextraterrestrial\nextravagant\nextravaganza\nextrema\nextremal\nextreme\nextremum\nextricable\nextricate\nextrinsic\nextroversion\nextrovert\nextrude\nextrusion\nextrusive\nexuberant\nexudation\nexude\nexult\nexultant\nexultation\nExxon\neye\neyeball\neyebright\neyebrow\neyed\neyeful\neyeglass\neyelash\neyelet\neyelid\neyepiece\neyesight\neyewitness\nEzekiel\nEzra\nf\nFAA\nFaber\nFabian\nfable\nfabric\nfabricate\nfabulous\nfacade\nface\nfaceplate\nfacet\nfacetious\nfacial\nfacile\nfacilitate\nfacsimile\nfact\nfactious\nfacto\nfactor\nfactorial\nfactory\nfactual\nfaculty\nfad\nfade\nfadeout\nfaery\nFafnir\nfag\nFahey\nFahrenheit\nfail\nfailsoft\nfailure\nfain\nfaint\nfair\nFairchild\nFairfax\nFairfield\nfairgoer\nFairport\nfairway\nfairy\nfaith\nfaithful\nfake\nfalcon\nfalconry\nfall\nfallacious\nfallacy\nfallen\nfallible\nfalloff\nfallout\nfallow\nFalmouth\nfalse\nfalsehood\nfalsify\nFalstaff\nfalter\nfame\nfamilial\nfamiliar\nfamiliarly\nfamilism\nfamily\nfamine\nfamish\nfamous\nfan\nfanatic\nfanciful\nfancy\nfanfare\nfanfold\nfang\nfangled\nfanning\nFanny\nfanout\nfantasia\nfantasist\nfantastic\nfantasy\nfantod\nfar\nfarad\nFaraday\nFarber\nfarce\nfarcical\nfare\nfarewell\nfarfetched\nFargo\nfarina\nFarkas\nFarley\nfarm\nfarmhouse\nFarmington\nfarmland\nFarnsworth\nfaro\nFarrell\nfarsighted\nfarther\nfarthest\nfascicle\nfasciculate\nfascinate\nfascism\nfascist\nfashion\nfast\nfasten\nfastidious\nfat\nfatal\nfate\nfateful\nfather\nfathom\nfatigue\nFatima\nfatten\nfatty\nfatuous\nfaucet\nFaulkner\nfault\nfaulty\nfaun\nfauna\nFaust\nFaustian\nFaustus\nfawn\nfay\nFayette\nFayetteville\nfaze\nFBI\nFCC\nFDA\nFe\nfealty\nfear\nfearful\nfearsome\nfeasible\nfeast\nfeat\nfeather\nfeatherbed\nfeatherbedding\nfeatherbrain\nfeathertop\nfeatherweight\nfeathery\nfeature\nFeb\nfebrile\nFebruary\nfecund\nfed\nFedders\nfederal\nfederate\nFedora\nfee\nfeeble\nfeed\nfeedback\nfeel\nFeeney\nfeet\nfeign\nfeint\nFeldman\nfeldspar\nFelice\nFelicia\nfelicitous\nfelicity\nfeline\nFelix\nfell\nfellow\nfelon\nfelonious\nfelony\nfelsite\nfelt\nfemale\nfeminine\nfeminism\nfeminist\nfemur\nfence\nfencepost\nfend\nfennel\nFenton\nfenugreek\nFerber\nFerdinand\nFerguson\nFermat\nferment\nfermentation\nFermi\nfermion\nfermium\nfern\nFernando\nfernery\nferocious\nferocity\nFerrer\nferret\nferric\nferris\nferrite\nferroelectric\nferromagnet\nferromagnetic\nferromagnetism\nferrous\nferruginous\nferrule\nferry\nfertile\nfervent\nfescue\nfest\nfestival\nfestive\nfetal\nfetch\nfete\nfetid\nfetish\nfetter\nfettle\nfetus\nfeud\nfeudal\nfeudatory\nfever\nfeverish\nfew\nfiance\nfiancee\nfiasco\nfiat\nfib\nfibbing\nfiberboard\nFiberglas\nFibonacci\nfibrin\nfibrosis\nfibrous\nfiche\nfickle\nfiction\nfictitious\nfictive\nfiddle\nfiddlestick\nfide\nfidelity\nfidget\nfiducial\nfief\nfiefdom\nfield\nFields\nfieldstone\nfieldwork\nfiend\nfiendish\nfierce\nfiery\nfiesta\nfife\nFIFO\nfifteen\nfifteenth\nfifth\nfiftieth\nfifty\nfig\nfigaro\nfight\nfigural\nfigurate\nfigure\nfigurine\nfilament\nfilamentary\nfilbert\nfilch\nfile\nfilet\nfilial\nfilibuster\nfiligree\nFilipino\nfill\nfilled\nfiller\nfillet\nfillip\nfilly\nfilm\nfilmdom\nfilmmake\nfilmstrip\nfilmy\nfilter\nfilth\nfilthy\nfiltrate\nfin\nfinal\nfinale\nfinance\nfinancial\nfinancier\nfinch\nfind\nfine\nfinesse\nfinessed\nfinessing\nfinger\nfingernail\nfingerprint\nfingertip\nfinial\nfinicky\nfinish\nfinite\nfink\nFinland\nFinley\nFinn\nFinnegan\nFinnish\nfinny\nfir\nfire\nfirearm\nfireboat\nfirebreak\nfirebug\nfirecracker\nfirefly\nfirehouse\nfirelight\nfireman\nfiremen\nfireplace\nfirepower\nfireproof\nfireside\nFirestone\nfirewall\nfirewood\nfirework\nfirm\nfirst\nfirsthand\nfiscal\nFischbein\nFischer\nfish\nfisherman\nfishermen\nfishery\nfishmonger\nfishpond\nfishy\nFisk\nFiske\nfissile\nfission\nfissure\nfist\nfisticuff\nfit\nFitch\nFitchburg\nfitful\nfitting\nFitzgerald\nFitzpatrick\nFitzroy\nfive\nfivefold\nfix\nfixate\nfixture\nFizeau\nfizzle\nfjord\nflabbergast\nflack\nflag\nflagellate\nflageolet\nflagging\nFlagler\nflagpole\nflagrant\nFlagstaff\nflagstone\nflail\nflair\nflak\nflake\nflaky\nflam\nflamboyant\nflame\nflamingo\nflammable\nFlanagan\nFlanders\nflange\nflank\nflannel\nflap\nflapping\nflare\nflash\nflashback\nflashlight\nflashy\nflask\nflat\nflatbed\nflathead\nflatiron\nflatland\nflatten\nflattery\nflatulent\nflatus\nflatworm\nflaunt\nflautist\nflaw\nflax\nflaxen\nflaxseed\nflea\nfleabane\nfleawort\nfleck\nfled\nfledge\nfledgling\nflee\nfleece\nfleeing\nfleet\nFleming\nflemish\nflesh\nfleshy\nfletch\nFletcher\nflew\nflex\nflexible\nflexural\nflexure\nflick\nflier\nflight\nflimsy\nflinch\nfling\nflint\nflintlock\nflinty\nflip\nflipflop\nflippant\nflipping\nflirt\nflirtation\nflirtatious\nflit\nflitting\nFlo\nfloat\nfloc\nflocculate\nflock\nfloe\nflog\nflogging\nflood\nfloodgate\nfloodlight\nfloodlit\nfloor\nfloorboard\nflop\nflopping\nfloppy\nflora\nfloral\nFlorence\nFlorentine\nflorican\nflorid\nFlorida\nFloridian\nflorin\nflorist\nflotation\nflotilla\nflounce\nflounder\nflour\nflourish\nfloury\nflout\nflow\nflowchart\nflowerpot\nflowery\nflown\nFloyd\nflu\nflub\nflubbing\nfluctuate\nflue\nfluency\nfluent\nfluff\nfluffy\nfluid\nfluke\nflung\nfluoresce\nfluorescein\nfluorescent\nfluoridate\nfluoride\nfluorine\nfluorite\nfluorocarbon\nfluorspar\nflurry\nflush\nfluster\nflute\nflutter\nflux\nfly\nflycatcher\nflyer\nFlynn\nflyway\nFM\nFMC\nfoal\nfoam\nfoamflower\nfoamy\nfob\nfobbing\nfocal\nfoci\nfocus\nfocussed\nfodder\nfoe\nfog\nfogging\nfoggy\nfogy\nfoible\nfoil\nfoist\nfold\nfoldout\nFoley\nfoliage\nfoliate\nfolio\nfolk\nfolklore\nfolksong\nfolksy\nfollicle\nfollicular\nfollow\nfolloweth\nfolly\nFomalhaut\nfond\nfondle\nfondly\nfont\nFontaine\nFontainebleau\nfood\nfoodstuff\nfool\nfoolhardy\nfoolish\nfoolproof\nfoot\nfootage\nfootball\nfootbridge\nFoote\nfootfall\nfoothill\nfootman\nfootmen\nfootnote\nfootpad\nfootpath\nfootprint\nfootstep\nfootstool\nfootwear\nfootwork\nfop\nfoppish\nfor\nforage\nforay\nforbade\nforbear\nforbearance\nForbes\nforbid\nforbidden\nforbidding\nforbore\nforborne\nforce\nforceful\nforcible\nford\nFordham\nfore\nforeign\nforensic\nforest\nforestry\nforever\nforfeit\nforfeiture\nforfend\nforgave\nforge\nforgery\nforget\nforgetful\nforgettable\nforgetting\nforgive\nforgiven\nforgot\nforgotten\nfork\nforklift\nforlorn\nform\nformal\nformaldehyde\nformant\nformat\nformate\nformatting\nformic\nFormica\nformidable\nFormosa\nformula\nformulae\nformulaic\nformulate\nForrest\nforsake\nforsaken\nforsook\nforswear\nForsythe\nfort\nforte\nFortescue\nforth\nforthcome\nforthright\nforthwith\nfortieth\nfortify\nfortin\nfortiori\nfortitude\nfortnight\nFortran\nfortress\nfortunate\nfortune\nforty\nforum\nforward\nFoss\nfossil\nfossiliferous\nfoster\nfosterite\nfought\nfoul\nfoulmouth\nfound\nfoundation\nfoundling\nfoundry\nfount\nfountain\nfountainhead\nfour\nfourfold\nFourier\nfoursome\nfoursquare\nfourteen\nfourteenth\nfourth\nfovea\nfowl\nfox\nfoxglove\nFoxhall\nfoxhole\nfoxhound\nfoxtail\nfoxy\nfoyer\nFPC\nfraction\nfractionate\nfractious\nfracture\nfragile\nfragment\nfragmentary\nfragmentation\nfragrant\nfrail\nfrailty\nframbesia\nframe\nframework\nfranc\nfranca\nFrance\nFrances\nfranchise\nFrancis\nFranciscan\nFrancisco\nfrancium\nfranco\nfrangipani\nfrank\nFrankfort\nFrankfurt\nfrankfurter\nfranklin\nfrantic\nFranz\nFraser\nfraternal\nfraternity\nFrau\nfraud\nfraudulent\nfraught\nfray\nfrayed\nFrazier\nfrazzle\nfreak\nfreakish\nfreckle\nFred\nFreddie\nFreddy\nFrederic\nFrederick\nFredericks\nFredericksburg\nFredericton\nFredholm\nFredrickson\nfree\nfreeboot\nfreed\nFreedman\nfreedmen\nfreedom\nfreehand\nfreehold\nfreeing\nfreeman\nfreemen\nFreeport\nfreer\nfreest\nfreestone\nfreethink\nFreetown\nfreeway\nfreewheel\nfreeze\nfreight\nFrench\nFrenchman\nFrenchmen\nfrenetic\nfrenzy\nfreon\nfrequent\nfresco\nfrescoes\nfresh\nfreshen\nfreshman\nfreshmen\nfreshwater\nFresnel\nFresno\nfret\nfretting\nFreud\nFreudian\nFrey\nFreya\nfriable\nfriar\nfricative\nFrick\nfriction\nfrictional\nFriday\nfried\nFriedman\nfriend\nfrieze\nfrigate\nFrigga\nfright\nfrighten\nfrightful\nfrigid\nFrigidaire\nfrill\nfrilly\nfringe\nfrisky\nfritillary\nfritter\nFritz\nfrivolity\nfrivolous\nfrizzle\nfro\nfrock\nfrog\nfrolic\nfrom\nfront\nfrontage\nfrontal\nfrontier\nfrontiersman\nfrontiersmen\nfrost\nfrostbite\nfrostbitten\nfrosty\nfroth\nfrothy\nfrown\nfrowzy\nfroze\nfrozen\nFruehauf\nfrugal\nfruit\nfruitful\nfruition\nfrustrate\nfrustrater\nfrustum\nfry\nFrye\nf's\nFTC\nFuchs\nFuchsia\nfudge\nfuel\nfugal\nfugitive\nfugue\nFuji\nFujitsu\nfulcrum\nfulfill\nfull\nfullback\nFullerton\nfully\nfulminate\nfulsome\nFulton\nfum\nfumble\nfume\nfumigant\nfumigate\nfun\nfunction\nfunctionary\nfunctor\nfund\nfundamental\nfuneral\nfunereal\nfungal\nfungi\nfungible\nfungicide\nfungoid\nfungus\nfunk\nfunnel\nfunny\nfur\nfurbish\nfurious\nfurl\nfurlong\nfurlough\nFurman\nfurnace\nfurnish\nfurniture\nfurrier\nfurring\nfurrow\nfurry\nfurther\nfurthermore\nfurthermost\nfurthest\nfurtive\nfury\nfurze\nfuse\nfuselage\nfusible\nfusiform\nfusillade\nfusion\nfuss\nfussy\nfusty\nfutile\nfuture\nfuzz\nfuzzy\ng\ngab\ngabardine\ngabbing\ngabble\ngabbro\nGaberones\ngable\nGabon\nGabriel\nGabrielle\ngad\ngadding\ngadfly\ngadget\ngadgetry\ngadolinium\ngadwall\nGaelic\ngaff\ngaffe\ngag\ngage\ngagging\ngaggle\ngagwriter\ngaiety\nGail\ngaillardia\ngain\nGaines\nGainesville\ngainful\ngait\nGaithersburg\ngal\ngala\ngalactic\nGalapagos\nGalatea\nGalatia\ngalaxy\nGalbreath\ngale\nGalen\ngalena\ngalenite\nGalilee\ngall\nGallagher\ngallant\ngallantry\ngallberry\ngallery\ngalley\ngallinule\ngallium\ngallivant\ngallon\ngallonage\ngallop\nGalloway\ngallows\ngallstone\nGallup\ngallus\nGalois\nGalt\ngalvanic\ngalvanism\ngalvanometer\nGalveston\nGalway\ngam\nGambia\ngambit\ngamble\ngambol\ngame\ngamecock\ngamin\ngamma\ngamut\ngander\ngang\nGanges\ngangland\ngangling\nganglion\ngangplank\ngangster\ngangway\ngannet\nGannett\ngantlet\ngantry\nGanymede\nGAO\ngap\ngape\ngar\ngarage\ngarb\ngarbage\ngarble\nGarcia\ngarden\ngardenia\nGardner\nGarfield\ngargantuan\ngargle\nGaribaldi\ngarish\ngarland\ngarlic\ngarner\ngarnet\nGarrett\ngarrison\nGarrisonian\ngarrulous\nGarry\ngarter\nGarth\nGarvey\nGary\ngas\nGascony\ngaseous\ngash\ngasify\ngasket\ngaslight\ngasoline\ngasp\nGaspee\ngassing\ngassy\nGaston\ngastrointestinal\ngastronome\ngastronomy\ngate\nGates\ngateway\ngather\nGatlinburg\ngator\ngauche\ngaucherie\ngaudy\ngauge\ngaugeable\nGauguin\nGaul\ngauleiter\nGaulle\ngaunt\ngauntlet\ngaur\ngauss\nGaussian\ngauze\ngave\ngavel\nGavin\ngavotte\ngawk\ngawky\ngay\nGaylord\ngaze\ngazelle\ngazette\nGE\ngear\ngecko\ngee\ngeese\nGegenschein\nGeiger\nGeigy\ngeisha\ngel\ngelable\ngelatin\ngelatine\ngelatinous\ngeld\ngem\nGemini\ngemlike\nGemma\ngender\ngene\ngenealogy\ngenera\ngeneral\ngenerate\ngeneric\ngenerosity\ngenerous\nGenesco\ngenesis\ngenetic\nGeneva\nGenevieve\ngenial\ngenie\ngenii\ngenius\nGenoa\ngenotype\ngenre\ngent\ngenteel\ngentian\ngentile\ngentility\ngentle\ngentleman\ngentlemen\ngentry\ngenuine\ngenus\ngeocentric\ngeochemical\ngeochemistry\ngeochronology\ngeodesic\ngeodesy\ngeodetic\ngeoduck\nGeoffrey\ngeographer\ngeography\ngeology\ngeometer\ngeometric\ngeometrician\ngeometry\ngeophysical\ngeophysics\ngeopolitic\nGeorge\nGeorgetown\nGeorgia\nGerald\nGeraldine\ngeranium\nGerard\nGerber\ngerbil\nGerhard\nGerhardt\ngeriatric\ngerm\nGerman\ngermane\nGermanic\ngermanium\nGermantown\nGermany\ngermicidal\ngermicide\ngerminal\ngerminate\nGerry\nGershwin\nGertrude\ngerund\ngerundial\ngerundive\ngestalt\nGestapo\ngesticulate\ngesture\nget\ngetaway\ngetting\nGetty\nGettysburg\ngeyser\nGhana\nghastly\nGhent\ngherkin\nghetto\nghost\nghostlike\nghostly\nghoul\nghoulish\nGiacomo\ngiant\ngiantess\ngibberish\ngibbet\ngibbon\nGibbons\ngibbous\nGibbs\ngibby\ngibe\ngiblet\nGibraltar\nGibson\ngiddap\ngiddy\nGideon\nGifford\ngift\ngig\ngigacycle\ngigahertz\ngigantic\ngigavolt\ngigawatt\ngigging\ngiggle\nGil\ngila\ngilbert\nGilbertson\nGilchrist\ngild\nGilead\nGiles\ngill\nGillespie\nGillette\nGilligan\nGilmore\ngilt\ngimbal\nGimbel\ngimpy\ngin\nGina\nginger\ngingham\ngingko\nginkgo\nginmill\nGinn\nginning\nGino\nGinsberg\nGinsburg\nginseng\nGiovanni\ngiraffe\ngird\ngirdle\ngirl\ngirlie\ngirlish\ngirth\ngist\nGiuliano\nGiuseppe\ngive\ngiveaway\ngiven\ngiveth\nglacial\nglaciate\nglacier\nglacis\nglad\ngladden\ngladdy\nglade\ngladiator\ngladiolus\nGladstone\nGladys\nglamor\nglamorous\nglamour\nglance\ngland\nglandular\nglare\nGlasgow\nglass\nglassine\nglassware\nglasswort\nglassy\nGlaswegian\nglaucoma\nglaucous\nglaze\ngleam\nglean\nGleason\nglee\ngleeful\nglen\nGlenda\nGlendale\nGlenn\nglib\nGlidden\nglide\nglimmer\nglimpse\nglint\nglissade\nglisten\nglitch\nglitter\ngloat\nglob\nglobal\nglobe\nglobular\nglobule\nglobulin\nglom\nglomerular\ngloom\ngloomy\nGloria\nGloriana\nglorify\nglorious\nglory\ngloss\nglossary\nglossed\nglossolalia\nglossy\nglottal\nglottis\nGloucester\nglove\nglow\nglue\nglued\ngluey\ngluing\nglum\nglut\nglutamic\nglutinous\nglutting\nglutton\nglyceride\nglycerin\nglycerinate\nglycerine\nglycerol\nglycol\nglyph\nGM\nGMT\ngnarl\ngnash\ngnat\ngnaw\ngneiss\ngnome\ngnomon\ngnomonic\ngnostic\nGNP\ngnu\ngo\nGoa\ngoad\ngoal\ngoat\ngob\ngobble\ngobbledygook\ngoblet\ngod\nGoddard\ngoddess\ngodfather\nGodfrey\ngodhead\ngodkin\ngodlike\ngodmother\ngodparent\ngodsend\ngodson\nGodwin\ngodwit\ngoer\ngoes\nGoethe\nGoff\ngog\ngoggle\nGogh\ngogo\ngold\nGoldberg\ngolden\ngoldeneye\ngoldenrod\ngoldenseal\ngoldfinch\ngoldfish\nGoldman\ngoldsmith\nGoldstein\nGoldstine\nGoldwater\nGoleta\ngolf\nGoliath\ngolly\ngondola\ngone\ngong\nGonzales\nGonzalez\ngoober\ngood\nGoode\nGoodman\nGoodrich\ngoodwill\nGoodwin\ngoody\nGoodyear\ngoof\ngoofy\ngoose\ngooseberry\nGOP\ngopher\nGordian\nGordon\ngore\nGoren\ngorge\ngorgeous\ngorgon\nGorham\ngorilla\nGorky\ngorse\nGorton\ngory\ngosh\ngoshawk\ngosling\ngospel\ngossamer\ngossip\ngot\nGotham\nGothic\ngotten\nGottfried\ngouge\nGould\ngourd\ngourmet\ngout\ngovern\ngovernance\ngoverness\ngovernor\ngown\nGPO\ngrab\ngrabbing\ngrace\ngraceful\ngracious\ngrackle\ngrad\ngradate\ngrade\ngradient\ngradual\ngraduate\nGrady\nGraff\ngraft\ngraham\ngrail\ngrain\ngrammar\ngrammarian\ngrammatic\ngranary\ngrand\ngrandchild\ngrandchildren\ngranddaughter\ngrandeur\ngrandfather\ngrandiloquent\ngrandiose\ngrandma\ngrandmother\ngrandnephew\ngrandniece\ngrandpa\ngrandparent\ngrandson\ngrandstand\ngranite\ngranitic\ngranny\ngranola\ngrant\ngrantee\ngrantor\ngranular\ngranulate\ngranule\nGranville\ngrape\ngrapefruit\ngrapevine\ngraph\ngrapheme\ngraphic\ngraphite\ngrapple\ngrasp\ngrass\ngrassland\ngrassy\ngrata\ngrate\ngrateful\ngrater\ngratify\ngratis\ngratitude\ngratuitous\ngratuity\ngrave\ngravel\ngraven\nGraves\ngravestone\ngraveyard\ngravid\ngravitate\ngravy\ngray\ngraybeard\nGrayson\ngraywacke\ngraze\ngrease\ngreasy\ngreat\ngreatcoat\ngreater\ngrebe\nGrecian\nGreece\ngreed\ngreedy\nGreek\ngreen\nGreenbelt\nGreenberg\nGreenblatt\nGreenbriar\nGreene\ngreenery\nGreenfield\ngreengrocer\ngreenhouse\ngreenish\nGreenland\nGreensboro\ngreensward\ngreenware\nGreenwich\ngreenwood\nGreer\ngreet\nGreg\ngregarious\nGregg\nGregory\ngrenade\nGrendel\nGrenoble\nGresham\nGreta\nGretchen\ngrew\ngrey\ngreyhound\ngreylag\ngrid\ngriddle\ngridiron\ngrief\ngrievance\ngrieve\ngrievous\ngriffin\nGriffith\ngrill\ngrille\ngrilled\ngrillwork\ngrim\ngrimace\nGrimaldi\ngrime\nGrimes\nGrimm\ngrin\ngrind\ngrindstone\ngrinning\ngrip\ngripe\ngrippe\ngripping\ngrisly\ngrist\ngristmill\nGriswold\ngrit\ngritty\ngrizzle\ngrizzly\ngroan\ngroat\ngrocer\ngrocery\ngroggy\ngroin\ngrommet\ngroom\ngroove\ngrope\ngrosbeak\ngross\nGrosset\nGrossman\nGrosvenor\ngrotesque\nGroton\nground\ngroundsel\ngroundskeep\ngroundwork\ngroup\ngrout\ngrove\ngrovel\nGrover\ngrow\ngrowl\ngrown\ngrownup\ngrowth\ngrub\ngrubbing\ngrubby\ngrudge\ngruesome\ngruff\ngrumble\nGrumman\ngrunt\ngryphon\ng's\nGSA\nGuam\nguanidine\nguano\nguarantee\nguaranteeing\nguaranty\nguard\nguardhouse\nGuardia\nguardian\nGuatemala\ngubernatorial\nGuenther\nguerdon\nguernsey\nguerrilla\nguess\nguesswork\nguest\nguffaw\nGuggenheim\nGuiana\nguidance\nguide\nguidebook\nguideline\nguidepost\nguiding\nguignol\nguild\nguildhall\nguile\nGuilford\nguillemot\nguilt\nguilty\nguinea\nguise\nguitar\ngules\ngulf\ngull\nGullah\ngullet\ngullible\ngully\ngulp\ngum\ngumbo\ngumming\ngummy\ngumption\ngumshoe\ngun\nGunderson\ngunfight\ngunfire\ngunflint\ngunk\ngunky\ngunman\ngunmen\ngunnery\ngunning\ngunny\ngunplay\ngunpowder\ngunshot\ngunsling\nGunther\ngurgle\nGurkha\nguru\nGus\ngush\ngusset\ngust\nGustafson\nGustav\nGustave\nGustavus\ngusto\ngusty\ngut\nGutenberg\nGuthrie\ngutsy\ngutting\nguttural\nguy\nGuyana\nguzzle\nGwen\nGwyn\ngym\ngymnasium\ngymnast\ngymnastic\ngymnosperm\ngyp\ngypping\ngypsite\ngypsum\ngypsy\ngyrate\ngyrfalcon\ngyro\ngyrocompass\ngyroscope\nh\nha\nHaag\nHaas\nhabeas\nhaberdashery\nHaberman\nHabib\nhabit\nhabitant\nhabitat\nhabitation\nhabitual\nhabituate\nhacienda\nhack\nhackberry\nHackett\nhackle\nhackmatack\nhackney\nhackneyed\nhacksaw\nhad\nHadamard\nHaddad\nhaddock\nHades\nHadley\nhadn't\nHadrian\nhadron\nhafnium\nHagen\nHager\nhaggard\nhaggle\nHagstrom\nHague\nHahn\nHaifa\nhaiku\nhail\nhailstone\nhailstorm\nHaines\nhair\nhaircut\nhairdo\nhairpin\nhairy\nHaiti\nHaitian\nHal\nhalcyon\nhale\nHaley\nhalf\nhalfback\nhalfhearted\nhalfway\nhalibut\nhalide\nHalifax\nhalite\nhall\nhallelujah\nHalley\nhallmark\nhallow\nHalloween\nhallucinate\nhallway\nhalma\nhalo\nhalocarbon\nhalogen\nHalsey\nHalstead\nhalt\nhalvah\nhalve\nHalverson\nham\nHamal\nHamburg\nhamburger\nHamilton\nHamiltonian\nhamlet\nHamlin\nhammerhead\nhamming\nhammock\nHammond\nhamper\nHampshire\nHampton\nhamster\nHan\nHancock\nhand\nhandbag\nhandbook\nhandclasp\nhandcuff\nHandel\nhandful\nhandgun\nhandhold\nhandicap\nhandicapped\nhandicapper\nhandicapping\nhandicraft\nhandicraftsman\nhandicraftsmen\nhandiwork\nhandkerchief\nhandle\nhandleable\nhandlebar\nhandline\nhandmade\nhandmaiden\nhandout\nhandset\nhandshake\nhandsome\nhandspike\nhandstand\nhandwrite\nhandwritten\nhandy\nhandyman\nhandymen\nHaney\nHanford\nhang\nhangable\nhangar\nhangman\nhangmen\nhangout\nhangover\nhank\nHankel\nHanley\nHanlon\nHanna\nHannah\nHannibal\nHanoi\nHanover\nHanoverian\nHans\nHansel\nHansen\nhansom\nHanson\nHanukkah\nhap\nhaphazard\nhappen\nhappenstance\nhappy\nharangue\nharass\nHarbin\nharbinger\nHarcourt\nhard\nhardbake\nhardboard\nhardboiled\nharden\nhardhat\nHardin\nHarding\nhardscrabble\nhardtack\nhardtop\nhardware\nhardwood\nhardworking\nhardy\nhare\nharelip\nharem\nhark\nHarlan\nHarlem\nHarley\nharm\nharmful\nHarmon\nharmonic\nharmonious\nharmony\nharness\nHarold\nharp\nharpsichord\nHarpy\nHarriet\nHarriman\nHarrington\nHarris\nHarrisburg\nHarrison\nharrow\nharry\nharsh\nharshen\nhart\nHartford\nHartley\nHartman\nHarvard\nharvest\nharvestman\nHarvey\nhash\nhashish\nhasn't\nhasp\nhassle\nhast\nhaste\nhasten\nHastings\nhasty\nhat\nhatch\nhatchet\nhatchway\nhate\nhateful\nhater\nHatfield\nhath\nHathaway\nhatred\nHatteras\nHattie\nHaugen\nhaughty\nhaul\nhaulage\nhaunch\nhaunt\nHavana\nhave\nhaven\nhaven't\nHavilland\nhavoc\nhaw\nHawaii\nHawaiian\nhawk\nHawkins\nHawley\nhawthorn\nHawthorne\nhay\nHayden\nHaydn\nHayes\nhayfield\nHaynes\nHays\nhaystack\nhayward\nhazard\nhazardous\nhaze\nhazel\nhazelnut\nhazy\nhe\nhead\nheadache\nheadboard\nheaddress\nheadland\nheadlight\nheadline\nheadmaster\nheadphone\nheadquarter\nheadroom\nheadset\nheadsman\nheadsmen\nheadstand\nheadstone\nheadwall\nheadwater\nheadway\nheady\nheal\nHealey\nhealth\nhealthful\nhealthy\nHealy\nheap\nhear\nheard\nhearken\nhearsay\nhearse\nHearst\nheart\nheartbeat\nheartbreak\nhearten\nheartfelt\nhearth\nhearty\nheat\nheater\nheath\nheathen\nheathenish\nHeathkit\nheave\nheaven\nheavenward\nheavy\nheavyweight\nHebe\nhebephrenic\nHebraic\nHebrew\nHecate\nhecatomb\nheck\nheckle\nHeckman\nhectic\nhector\nHecuba\nhe'd\nhedge\nhedgehog\nhedonism\nhedonist\nheed\nheel\nheft\nhefty\nHegelian\nhegemony\nHeidelberg\nheigh\nheight\nheighten\nHeine\nHeinz\nheir\nheiress\nHeisenberg\nheld\nHelen\nHelena\nHelene\nhelical\nhelicopter\nheliocentric\nheliotrope\nhelium\nhelix\nhe'll\nhell\nhellbender\nhellebore\nHellenic\nhellfire\nhellgrammite\nhellish\nhello\nhelm\nhelmet\nHelmholtz\nhelmsman\nhelmsmen\nHelmut\nhelp\nhelpful\nhelpmate\nHelsinki\nHelvetica\nhem\nhematite\nHemingway\nhemisphere\nhemispheric\nhemlock\nhemming\nhemoglobin\nhemolytic\nhemorrhage\nhemorrhoid\nhemosiderin\nhemp\nHempstead\nhen\nhenbane\nhence\nhenceforth\nhenchman\nhenchmen\nHenderson\nHendrick\nHendricks\nHendrickson\nhenequen\nHenley\nHenning\nhenpeck\nHenri\nHenrietta\nhenry\nhepatica\nhepatitis\nHepburn\nheptane\nher\nHera\nHeraclitus\nherald\nherb\nHerbert\nHerculean\nHercules\nherd\nherdsman\nhere\nhereabout\nhereafter\nhereby\nhereditary\nheredity\nHereford\nherein\nhereinabove\nhereinafter\nhereinbelow\nhereof\nheresy\nheretic\nhereto\nheretofore\nhereunder\nhereunto\nherewith\nheritable\nheritage\nHerkimer\nHerman\nhermeneutic\nHermes\nhermetic\nHermite\nhermitian\nHermosa\nhero\nHerodotus\nheroes\nheroic\nheroin\nheroine\nheroism\nheron\nherpes\nherpetology\nHerr\nherring\nherringbone\nHerschel\nherself\nHershel\nHershey\nhertz\nHertzog\nhesitant\nhesitate\nhesitater\nHesperus\nHess\nHessian\nHester\nheterodyne\nheterogamous\nheterogeneity\nheterogeneous\nheterosexual\nheterostructure\nheterozygous\nHetman\nHettie\nHetty\nHeublein\nheuristic\nHeusen\nHeuser\nhew\nHewett\nHewitt\nHewlett\nhewn\nhex\nhexachloride\nhexadecimal\nhexafluoride\nhexagon\nhexagonal\nhexameter\nhexane\nhey\nheyday\nhi\nHiatt\nHiawatha\nhibachi\nHibbard\nhibernate\nHibernia\nhick\nHickey\nHickman\nhickory\nHicks\nhid\nhidalgo\nhidden\nhide\nhideaway\nhideous\nhideout\nhierarchal\nhierarchic\nhierarchy\nhieratic\nhieroglyphic\nHieronymus\nhifalutin\nHiggins\nhigh\nhighball\nhighboy\nhighest\nhighfalutin\nhighhanded\nhighland\nhighlight\nhighroad\nhightail\nhighway\nhighwayman\nhighwaymen\nhijack\nhike\nhilarious\nhilarity\nHilbert\nHildebrand\nhill\nhillbilly\nHillcrest\nHillel\nhillman\nhillmen\nhillside\nhilltop\nhilly\nhilt\nHilton\nhilum\nhim\nHimalaya\nhimself\nhind\nhindmost\nhindrance\nhindsight\nHindu\nHinduism\nHines\nhinge\nHinman\nhint\nhinterland\nhip\nhipping\nhippo\nhippodrome\nhippopotamus\nhippy\nhipster\nHiram\nhire\nhireling\nHiroshi\nHiroshima\nHirsch\nhis\nhiss\nhistochemic\nhistochemistry\nhistogram\nhistology\nhistorian\nhistoric\nhistoriography\nhistory\nhistrionic\nhit\nHitachi\nhitch\nHitchcock\nhither\nhitherto\nHitler\nhitting\nhive\nho\nhoagie\nHoagland\nhoagy\nhoar\nhoard\nhoarfrost\nhoarse\nhob\nHobart\nHobbes\nhobble\nHobbs\nhobby\nhobbyhorse\nhobo\nHoboken\nhoc\nhock\nhockey\nhodge\nhodgepodge\nHodges\nHodgkin\nhoe\nHoff\nHoffman\nhog\nhogan\nhogging\nhoi\nHokan\nHolbrook\nHolcomb\nhold\nholden\nholdover\nholdup\nhole\nholeable\nholiday\nHolland\nHollandaise\nholler\nHollerith\nHollingsworth\nHollister\nhollow\nHolloway\nhollowware\nholly\nhollyhock\nHollywood\nHolm\nHolman\nHolmdel\nHolmes\nholmium\nholocaust\nHolocene\nhologram\nholography\nHolst\nHolstein\nholster\nholt\nHolyoke\nholystone\nhomage\nhome\nhomebound\nhomebuilder\nhomebuilding\nhomecoming\nhomeland\nhomemade\nhomemake\nhomeomorph\nhomeomorphic\nhomeopath\nhomeowner\nHomeric\nhomesick\nhomestead\nhomeward\nhomework\nhomicidal\nhomicide\nhomily\nhomo\nhomogenate\nhomogeneity\nhomogeneous\nhomologous\nhomologue\nhomology\nhomomorphic\nhomomorphism\nhomonym\nhomosexual\nhomotopy\nhomozygous\nHonda\nhondo\nHonduras\nhone\nhonest\nhonesty\nhoney\nhoneybee\nhoneycomb\nhoneydew\nhoneymoon\nhoneysuckle\nHoneywell\nhong\nhonk\nHonolulu\nhonorarium\nhonorary\nhonoree\nHonshu\nhooch\nhood\nhoodlum\nhoof\nhoofmark\nhook\nhookup\nhookworm\nhooligan\nhoop\nhoopla\nhoosegow\nHoosier\nhoot\nHoover\nhooves\nhop\nhope\nhopeful\nHopkins\nHopkinsian\nhopping\nhopple\nhopscotch\nHorace\nHoratio\nhorde\nhorehound\nhorizon\nhorizontal\nhormone\nhorn\nhornbeam\nhornblende\nHornblower\nhornet\nhornmouth\nhorntail\nhornwort\nhorny\nhorology\nhoroscope\nHorowitz\nhorrendous\nhorrible\nhorrid\nhorrify\nhorror\nhorse\nhorseback\nhorsedom\nhorseflesh\nhorsefly\nhorsehair\nhorselike\nhorseman\nhorsemen\nhorseplay\nhorsepower\nhorseshoe\nhorsetail\nhorsewoman\nhorsewomen\nhorticulture\nHorton\nHorus\nhose\nhosiery\nhospice\nhospitable\nhospital\nhost\nhostage\nhostelry\nhostess\nhostile\nhostler\nhot\nhotbed\nhotbox\nhotel\nhotelman\nhothead\nhothouse\nhotrod\nHoudaille\nHoudini\nhough\nHoughton\nhound\nhour\nhourglass\nhouse\nhouseboat\nhousebreak\nhousebroken\nhousefly\nhousehold\nhousekeep\nhousewife\nhousewives\nhousework\nHouston\nhove\nhovel\nhover\nhow\nHoward\nhowdy\nHowe\nHowell\nhowever\nhowl\nhowsoever\nhowsomever\nhoy\nhoyden\nhoydenish\nHoyt\nHrothgar\nh's\nhub\nHubbard\nHubbell\nhubbub\nhubby\nHuber\nHubert\nhuck\nhuckleberry\nhuckster\nhuddle\nHudson\nhue\nhued\nhuff\nHuffman\nhug\nhuge\nhugging\nHuggins\nHugh\nHughes\nHugo\nhuh\nhulk\nhull\nhum\nhuman\nhumane\nhumanitarian\nhumble\nHumboldt\nhumerus\nhumid\nhumidify\nhumidistat\nhumiliate\nhumility\nHummel\nhumming\nhummingbird\nhummock\nhumorous\nhump\nhumpback\nHumphrey\nhumpty\nhumus\nHun\nhunch\nhundred\nhundredfold\nhundredth\nhung\nHungarian\nHungary\nhungry\nhunk\nhunt\nHunter\nHuntington\nHuntley\nHuntsville\nHurd\nhurdle\nhurl\nhurley\nHuron\nhurrah\nhurray\nhurricane\nhurry\nHurst\nhurt\nhurtle\nhurty\nHurwitz\nhusband\nhusbandman\nhusbandmen\nhusbandry\nhush\nhusky\nhustle\nHuston\nhut\nhutch\nHutchins\nHutchinson\nHutchison\nHuxley\nHuxtable\nhuzzah\nhyacinth\nHyades\nhyaline\nHyannis\nhybrid\nHyde\nhydra\nhydrangea\nhydrant\nhydrate\nhydraulic\nhydride\nhydro\nhydrocarbon\nhydrochemistry\nhydrochloric\nhydrochloride\nhydrodynamic\nhydroelectric\nhydrofluoric\nhydrogen\nhydrogenate\nhydrology\nhydrolysis\nhydrometer\nhydrophilic\nhydrophobia\nhydrophobic\nhydrosphere\nhydrostatic\nhydrothermal\nhydrous\nhydroxide\nhydroxy\nhydroxyl\nhydroxylate\nhyena\nhygiene\nhygrometer\nhygroscopic\nhying\nhymen\nhymn\nhymnal\nhyperbola\nhyperbolic\nhyperboloid\nhyperboloidal\nhypertensive\nhyphen\nhyphenate\nhypnosis\nhypnotic\nhypoactive\nhypocrisy\nhypocrite\nhypocritic\nhypocycloid\nhypodermic\nhypophyseal\nhypotenuse\nhypothalamic\nhypothalamus\nhypotheses\nhypothesis\nhypothetic\nhypothyroid\nhysterectomy\nhysteresis\nhysteria\nhysteric\nhysteron\ni\niambic\nIberia\nibex\nibid\nibis\nIBM\nIbn\nIcarus\nICC\nice\niceberg\nicebox\niceland\nIcelandic\nichneumon\nicicle\nicing\nicon\niconoclasm\niconoclast\nicosahedra\nicosahedral\nicosahedron\nicy\nI'd\nIda\nIdaho\nidea\nideal\nideate\nidempotent\nidentical\nidentify\nidentity\nideology\nidiocy\nidiom\nidiomatic\nidiosyncrasy\nidiosyncratic\nidiot\nidiotic\nidle\nidol\nidolatry\nidyll\nidyllic\nIEEE\nif\niffy\nIfni\nigloo\nigneous\nignite\nignition\nignoble\nignominious\nignoramus\nignorant\nignore\nii\niii\nIke\nileum\niliac\nIliad\nI'll\nill\nillegal\nillegible\nillegitimacy\nillegitimate\nillicit\nillimitable\nIllinois\nilliteracy\nilliterate\nillogic\nillume\nilluminate\nillumine\nillusion\nillusionary\nillusive\nillusory\nillustrate\nillustrious\nIlona\nIlyushin\nI'm\nimage\nimagery\nimaginary\nimaginate\nimagine\nimbalance\nimbecile\nimbibe\nImbrium\nimbroglio\nimbrue\nimbue\nimitable\nimitate\nimmaculate\nimmanent\nimmaterial\nimmature\nimmeasurable\nimmediacy\nimmediate\nimmemorial\nimmense\nimmerse\nimmersion\nimmigrant\nimmigrate\nimminent\nimmobile\nimmobility\nimmoderate\nimmodest\nimmodesty\nimmoral\nimmortal\nimmovable\nimmune\nimmunization\nimmunoelectrophoresis\nimmutable\nimp\nimpact\nimpair\nimpale\nimpalpable\nimpart\nimpartation\nimpartial\nimpassable\nimpasse\nimpassion\nimpassive\nimpatient\nimpeach\nimpeccable\nimpedance\nimpede\nimpediment\nimpel\nimpelled\nimpeller\nimpelling\nimpend\nimpenetrable\nimperate\nimperceivable\nimperceptible\nimperfect\nimperial\nimperil\nimperious\nimperishable\nimpermeable\nimpermissible\nimpersonal\nimpersonate\nimpertinent\nimperturbable\nimpervious\nimpetuous\nimpetus\nimpiety\nimpinge\nimpious\nimpish\nimplacable\nimplant\nimplantation\nimplausible\nimplement\nimplementation\nimplementer\nimplementor\nimplicant\nimplicate\nimplicit\nimplore\nimpolite\nimpolitic\nimponderable\nimport\nimportant\nimportation\nimportunate\nimportune\nimpose\nimposition\nimpossible\nimpost\nimposture\nimpotent\nimpound\nimpoverish\nimpracticable\nimpractical\nimprecate\nimprecise\nimpregnable\nimpregnate\nimpresario\nimpress\nimpressible\nimpression\nimpressive\nimprimatur\nimprint\nimprison\nimprobable\nimpromptu\nimproper\nimpropriety\nimprove\nimprovident\nimprovisate\nimprovise\nimprudent\nimpudent\nimpugn\nimpulse\nimpulsive\nimpunity\nimpure\nimputation\nimpute\nin\ninability\ninaccessible\ninaccuracy\ninaccurate\ninaction\ninactivate\ninactive\ninadequacy\ninadequate\ninadmissible\ninadvertent\ninadvisable\ninalienable\ninalterable\ninane\ninanimate\ninappeasable\ninapplicable\ninappreciable\ninapproachable\ninappropriate\ninapt\ninaptitude\ninarticulate\ninasmuch\ninattention\ninattentive\ninaudible\ninaugural\ninaugurate\ninauspicious\ninboard\ninborn\ninbred\ninbreed\nInc\nInca\nincalculable\nincandescent\nincant\nincantation\nincapable\nincapacitate\nincapacity\nincarcerate\nincarnate\nincautious\nincendiary\nincense\nincentive\ninception\ninceptor\nincessant\nincest\nincestuous\ninch\nincident\nincidental\nincinerate\nincipient\nincise\nincisive\nincite\ninclement\ninclination\nincline\ninclose\ninclude\ninclusion\ninclusive\nincoherent\nincombustible\nincome\nincommensurable\nincommensurate\nincommunicable\nincommutable\nincomparable\nincompatible\nincompetent\nincomplete\nincompletion\nincomprehensible\nincomprehension\nincompressible\nincomputable\ninconceivable\ninconclusive\nincondensable\nincongruity\nincongruous\ninconsequential\ninconsiderable\ninconsiderate\ninconsistent\ninconsolable\ninconspicuous\ninconstant\nincontestable\nincontrollable\nincontrovertible\ninconvenient\ninconvertible\nincorporable\nincorporate\nincorrect\nincorrigible\nincorruptible\nincreasable\nincrease\nincredible\nincredulity\nincredulous\nincrement\nincriminate\nincubate\nincubi\nincubus\ninculcate\ninculpable\nincumbent\nincur\nincurred\nincurrer\nincurring\nincursion\nindebted\nindecent\nindecipherable\nindecision\nindecisive\nindecomposable\nindeed\nindefatigable\nindefensible\nindefinable\nindefinite\nindelible\nindelicate\nindemnity\nindent\nindentation\nindenture\nindependent\nindescribable\nindestructible\nindeterminable\nindeterminacy\nindeterminate\nindex\nIndia\nIndian\nIndiana\nIndianapolis\nindicant\nindicate\nindices\nindict\nIndies\nindifferent\nindigene\nindigenous\nindigent\nindigestible\nindigestion\nindignant\nindignation\nindignity\nindigo\nIndira\nindirect\nindiscernible\nindiscoverable\nindiscreet\nindiscretion\nindiscriminate\nindispensable\nindispose\nindisposition\nindisputable\nindissoluble\nindistinct\nindistinguishable\nindium\nindividual\nindividualism\nindividuate\nindivisible\nIndochina\nindoctrinate\nindolent\nindomitable\nIndonesia\nIndonesian\nindoor\nindorse\nindubitable\ninduce\ninducible\ninduct\ninductance\ninductee\ninductor\nindulge\nindulgent\nindustrial\nindustrialism\nindustrious\nindustry\nindwell\nindy\nineducable\nineffable\nineffective\nineffectual\ninefficacy\ninefficient\ninelastic\ninelegant\nineligible\nineluctable\ninept\ninequality\ninequitable\ninequity\ninequivalent\nineradicable\ninert\ninertance\ninertia\ninertial\ninescapable\ninestimable\ninevitable\ninexact\ninexcusable\ninexhaustible\ninexorable\ninexpedient\ninexpensive\ninexperience\ninexpert\ninexpiable\ninexplainable\ninexplicable\ninexplicit\ninexpressible\ninextinguishable\ninextricable\ninfallible\ninfamous\ninfamy\ninfancy\ninfant\ninfantile\ninfantry\ninfantryman\ninfantrymen\ninfarct\ninfatuate\ninfeasible\ninfect\ninfectious\ninfelicitous\ninfelicity\ninfer\ninference\ninferential\ninferior\ninfernal\ninferno\ninferred\ninferring\ninfertile\ninfest\ninfestation\ninfidel\ninfield\ninfighting\ninfiltrate\ninfima\ninfimum\ninfinite\ninfinitesimal\ninfinitive\ninfinitude\ninfinitum\ninfinity\ninfirm\ninfirmary\ninfix\ninflame\ninflammable\ninflammation\ninflammatory\ninflate\ninflater\ninflect\ninflexible\ninflict\ninflow\ninfluence\ninfluent\ninfluential\ninfluenza\ninflux\ninform\ninformal\ninformant\nInformatica\ninformation\ninformative\ninfra\ninfract\ninfrared\ninfrastructure\ninfrequent\ninfringe\ninfuriate\ninfuse\ninfusible\ninfusion\ningather\ningenious\ningenuity\ningenuous\nIngersoll\ningest\ningestible\ningestion\ninglorious\ningot\nIngram\ningrate\ningratiate\ningratitude\ningredient\ningrown\ninhabit\ninhabitant\ninhabitation\ninhalation\ninhale\ninharmonious\ninhere\ninherent\ninherit\ninheritance\ninheritor\ninhibit\ninhibition\ninhibitor\ninhibitory\ninholding\ninhomogeneity\ninhomogeneous\ninhospitable\ninhuman\ninhumane\ninimical\ninimitable\niniquitous\niniquity\ninitial\ninitiate\ninject\ninjudicious\nInjun\ninjunct\ninjure\ninjurious\ninjury\ninjustice\nink\ninkling\ninlaid\ninland\ninlay\ninlet\nInman\ninmate\ninn\ninnards\ninnate\ninner\ninnermost\ninning\ninnocent\ninnovate\ninnuendo\ninnumerable\ninoculate\ninoperable\ninoperative\ninopportune\ninordinate\ninorganic\ninput\ninquest\ninquire\ninquiry\ninquisition\ninquisitive\ninquisitor\ninroad\ninsane\ninsatiable\ninscribe\ninscription\ninscrutable\ninsect\ninsecticide\ninsecure\ninseminate\ninsensible\ninsensitive\ninseparable\ninsert\ninset\ninshore\ninside\ninsidious\ninsight\ninsightful\ninsignia\ninsignificant\ninsincere\ninsinuate\ninsipid\ninsist\ninsistent\ninsofar\ninsolent\ninsoluble\ninsolvable\ninsolvent\ninsomnia\ninsomniac\ninsouciant\ninspect\ninspector\ninspiration\ninspire\ninstable\ninstall\ninstallation\ninstalment\ninstance\ninstant\ninstantaneous\ninstead\ninstep\ninstigate\ninstill\ninstillation\ninstinct\ninstinctual\ninstitute\ninstitution\ninstruct\ninstructor\ninstrument\ninstrumentation\ninsubordinate\ninsubstantial\ninsufferable\ninsufficient\ninsular\ninsulate\ninsulin\ninsult\ninsuperable\ninsupportable\ninsuppressible\ninsurance\ninsure\ninsurgent\ninsurmountable\ninsurrect\nintact\nintake\nintangible\ninteger\nintegrable\nintegral\nintegrand\nintegrate\nintegrity\nintegument\nintellect\nintellectual\nintelligent\nintelligentsia\nintelligible\nintemperance\nintemperate\nintend\nintendant\nintense\nintensify\nintensive\nintent\nintention\ninter\nintercalate\nintercept\ninterception\ninterceptor\nintercom\ninterdict\ninterest\ninterfere\ninterference\ninterferometer\ninterferometric\ninterferometry\ninterim\ninterior\ninterject\ninterlude\nintermediary\nintermit\nintermittent\nintern\ninternal\ninternescine\nInterpol\ninterpolate\ninterpolatory\ninterpret\ninterpretation\ninterpretive\ninterregnum\ninterrogate\ninterrogatory\ninterrupt\ninterruptible\ninterruption\nintersect\nintersperse\ninterstice\ninterstitial\ninterval\nintervene\nintervenor\nintervention\ninterviewee\nintestate\nintestine\nintimacy\nintimal\nintimate\nintimater\nintimidate\ninto\nintolerable\nintolerant\nintonate\nintone\nintoxicant\nintoxicate\nintracity\nintractable\nintradepartment\nintramural\nintramuscular\nintranasal\nintransigent\nintransitive\nintraoffice\nintrastate\nintravenous\nintrepid\nintricacy\nintricate\nintrigue\nintrinsic\nintroduce\nintroduction\nintroductory\nintroit\nintroject\nintrospect\nintroversion\nintrovert\nintrude\nintrusion\nintrusive\nintuitable\nintuition\nintuitive\ninundate\ninure\ninvade\ninvalid\ninvalidate\ninvaluable\ninvariable\ninvariant\ninvasion\ninvasive\ninvective\ninveigh\ninveigle\ninvent\ninvention\ninventive\ninventor\ninventory\nInverness\ninverse\ninversion\ninvert\ninvertebrate\ninvertible\ninvest\ninvestigate\ninvestigatory\ninvestor\ninveterate\ninviable\ninvidious\ninvigorate\ninvincible\ninviolable\ninviolate\ninvisible\ninvitation\ninvite\ninvitee\ninvocate\ninvoice\ninvoke\ninvoluntary\ninvolute\ninvolution\ninvolutorial\ninvolve\ninvulnerable\ninward\nIo\niodate\niodide\niodinate\niodine\nion\nionic\nionosphere\nionospheric\niota\nIowa\nipecac\nipsilateral\nipso\nIQ\nIR\nIra\nIran\nIraq\nirate\nire\nIreland\nIrene\niridium\niris\nIrish\nIrishman\nIrishmen\nirk\nirksome\nIrma\niron\nironic\nironside\nironstone\nironwood\nirony\nIroquois\nirradiate\nirrational\nIrrawaddy\nirreclaimable\nirreconcilable\nirrecoverable\nirredeemable\nirredentism\nirredentist\nirreducible\nirrefutable\nirregular\nirrelevancy\nirrelevant\nirremediable\nirremovable\nirreparable\nirreplaceable\nirrepressible\nirreproachable\nirreproducible\nirresistible\nirresolute\nirresolution\nirresolvable\nirrespective\nirresponsible\nirretrievable\nirreverent\nirreversible\nirrevocable\nirrigate\nirritable\nirritant\nirritate\nirruption\nIRS\nIrvin\nIrvine\nIrving\nIrwin\ni's\nis\nIsaac\nIsaacson\nIsabel\nIsabella\nIsaiah\nisentropic\nIsfahan\nIsing\nisinglass\nIsis\nIslam\nIslamabad\nIslamic\nisland\nisle\nisn't\nisochronal\nisochronous\nisocline\nisolate\nIsolde\nisomer\nisomorph\nisomorphic\nisopleth\nisotherm\nisothermal\nisotope\nisotopic\nisotropic\nisotropy\nIsrael\nIsraeli\nIsraelite\nissuance\nissuant\nissue\nIstanbul\nit\nItalian\nitalic\nItaly\nitch\nit'd\nitem\niterate\nIthaca\nitinerant\nitinerary\nit'll\nIto\nitself\nIT&T\nITT\niv\nIvan\nIvanhoe\nI've\nIverson\nivory\nivy\nix\nIzvestia\nj\njab\njabbing\nJablonsky\njack\njackanapes\njackass\njackboot\njackdaw\njacket\nJackie\njackknife\nJackman\njackpot\nJackson\nJacksonian\nJacksonville\nJacky\nJACM\nJacob\nJacobean\nJacobi\nJacobian\nJacobite\nJacobs\nJacobsen\nJacobson\nJacobus\nJacqueline\nJacques\njade\nJaeger\njag\njagging\njaguar\njail\nJakarta\njake\njalopy\njam\nJamaica\njamboree\nJames\nJamestown\njamming\nJan\nJane\nJaneiro\nJanet\njangle\nJanice\njanissary\njanitor\njanitorial\nJanos\nJansenist\nJanuary\nJanus\nJapan\nJapanese\njar\njargon\njarring\nJarvin\nJason\njasper\njaundice\njaunty\nJava\njavelin\njaw\njawbone\njay\njazz\njazzy\njealous\njealousy\njean\nJeannie\nJed\njeep\nJeff\nJefferson\nJeffersonian\nJeffrey\nJehovah\njejune\njejunum\njelly\njellyfish\nJenkins\nJennie\nJennifer\nJennings\njenny\nJensen\njeopard\njeopardy\nJeremiah\nJeremy\nJeres\nJericho\njerk\njerky\nJeroboam\nJerome\njerry\njersey\nJerusalem\njess\nJesse\nJessica\nJessie\njest\nJesuit\nJesus\njet\njetliner\njetting\njettison\nJew\njewel\nJewell\njewelry\nJewett\nJewish\njibe\njiffy\njig\njigging\njiggle\njigsaw\nJill\njilt\nJim\nJimenez\nJimmie\njimmy\njingle\njinx\njitter\njitterbug\njittery\njive\nJo\nJoan\nJoanna\nJoanne\nJoaquin\njob\njobbing\njobholder\njock\njockey\njockstrap\njocose\njocular\njocund\nJoe\nJoel\njoey\njog\njogging\njoggle\nJohann\nJohannes\nJohannesburg\nJohansen\nJohanson\nJohn\nJohnny\nJohns\nJohnsen\nJohnson\nJohnston\nJohnstown\njoin\njoint\njoke\nJoliet\nJolla\njolly\njolt\nJon\nJonas\nJonathan\nJones\njonquil\nJordan\nJorge\nJorgensen\nJorgenson\nJose\nJosef\nJoseph\nJosephine\nJosephson\nJosephus\nJoshua\nJosiah\njoss\njostle\njot\njotting\njoule\njounce\njournal\njournalese\njourney\njourneyman\njourneymen\njoust\nJovanovich\nJove\njovial\nJovian\njowl\njowly\njoy\nJoyce\njoyful\njoyous\njoyride\njoystick\nJr\nj's\nJuan\nJuanita\njubilant\njubilate\nJudaism\nJudas\nJudd\nJude\njudge\njudicable\njudicatory\njudicature\njudicial\njudiciary\njudicious\nJudith\njudo\nJudson\nJudy\njug\njugate\njugging\njuggle\njuice\njuicy\njuju\njujube\njuke\nJukes\njulep\nJules\nJulia\nJulie\nJuliet\nJulio\nJulius\nJuly\njumble\njumbo\njump\njumpy\njunco\njunction\njunctor\njuncture\nJune\nJuneau\njungle\njunior\njuniper\njunk\njunkerdom\njunketeer\njunky\nJuno\njunta\nJupiter\nJura\njure\njuridic\njurisdiction\njurisprudent\njurisprudential\njuror\njury\njust\njustice\njusticiable\njustify\nJustine\nJustinian\njut\njute\nJutish\njutting\njuvenile\njuxtapose\njuxtaposition\nk\nKabuki\nKabul\nKaddish\nKafka\nKafkaesque\nKahn\nkaiser\nKajar\nKalamazoo\nkale\nkaleidescope\nkaleidoscope\nkalmia\nKalmuk\nKamchatka\nkamikaze\nKampala\nKane\nkangaroo\nKankakee\nKansas\nKant\nkaolin\nkaolinite\nKaplan\nkapok\nkappa\nKarachi\nKaramazov\nkarate\nKaren\nKarl\nKarol\nKarp\nkaryatid\nKaskaskia\nKate\nKatharine\nKatherine\nKathleen\nKathy\nKatie\nKatmandu\nKatowice\nKatz\nKauffman\nKaufman\nkava\nKay\nkayo\nkazoo\nKeaton\nKeats\nkeddah\nkeel\nkeelson\nkeen\nKeenan\nkeep\nkeeshond\nkeg\nKeith\nKeller\nKelley\nKellogg\nkelly\nkelp\nKelsey\nKelvin\nKemp\nken\nKendall\nKennan\nKennecott\nKennedy\nkennel\nKenneth\nKenney\nkenning\nkeno\nKensington\nKent\nKenton\nKentucky\nKenya\nKenyon\nKepler\nkept\nkerchief\nKermit\nkern\nkernel\nkerosene\nKerr\nkerry\nkerygma\nKessler\nkestrel\nketch\nketchup\nketone\nketosis\nKettering\nkettle\nKevin\nkey\nkeyboard\nkeyed\nKeyes\nkeyhole\nKeynes\nKeynesian\nkeynote\nkeypunch\nkeys\nkeystone\nkeyword\nkhaki\nkhan\nKhartoum\nKhmer\nKhrushchev\nkibbutzim\nkibitz\nkick\nkickback\nkickoff\nkid\nKidde\nkiddie\nkidding\nkidnap\nkidnapping\nkidney\nKieffer\nKiev\nKiewit\nKigali\nKikuyu\nKilgore\nkill\nkilldeer\nkilljoy\nkilobit\nkilobuck\nkilobyte\nkilogauss\nkilohertz\nkilohm\nkilojoule\nkiloton\nkilovolt\nkilowatt\nkiloword\nKim\nKimball\nKimberly\nkimono\nkin\nkind\nkindergarten\nkindle\nkindred\nkinematic\nkinesic\nkinesthesis\nkinetic\nking\nkingbird\nkingdom\nkingfisher\nkinglet\nkingpin\nKingsbury\nKingsley\nKingston\nkink\nkinky\nKinney\nKinshasha\nkiosk\nKiowa\nKipling\nKirby\nKirchner\nKirchoff\nkirk\nKirkland\nKirkpatrick\nKirov\nkiss\nkissing\nkit\nKitakyushu\nkitchen\nkitchenette\nkite\nkitten\nkittenish\nkittle\nkitty\nkiva\nkivu\nKiwanis\nKlan\nKlaus\nklaxon\nkleenex\nKlein\nKline\nKlux\nklystron\nknack\nKnapp\nknapsack\nKnauer\nknead\nknee\nkneecap\nkneel\nknelt\nknew\nknick\nKnickerbocker\nknife\nknifelike\nknight\nKnightsbridge\nknit\nknitting\nknives\nknob\nknobby\nknock\nknockdown\nknockout\nknoll\nknot\nKnott\nknotting\nknotty\nknow\nknoweth\nknowhow\nknowledge\nknowledgeable\nKnowles\nKnowlton\nknown\nKnox\nKnoxville\nknuckle\nknuckleball\nKnudsen\nKnudson\nknurl\nKnutsen\nKnutson\nkoala\nKoch\nKochab\nKodachrome\nkodak\nKodiak\nKoenig\nKoenigsberg\nkohlrabi\nkoinonia\nkola\nkolkhoz\nkombu\nKong\nKoppers\nKoran\nKorea\nkosher\nKowalewski\nKowalski\nkraft\nKrakatoa\nKrakow\nKramer\nKrause\nkraut\nKremlin\nKresge\nKrieger\nKrishna\nKristin\nKronecker\nKrueger\nKruger\nKruse\nkrypton\nk's\nKu\nkudo\nkudzu\nKuhn\nkulak\nkumquat\nKurd\nKurt\nKuwait\nkwashiorkor\nKyle\nKyoto\nl\nla\nlab\nLaban\nlabel\nlabile\nlaboratory\nlaborious\nlabour\nLabrador\nlabradorite\nlabyrinth\nlac\nlace\nlacerate\nLacerta\nlacewing\nLachesis\nlack\nlackadaisic\nlackey\nlacquer\nlacrosse\nlactate\nlacuna\nlacunae\nlacustrine\nlacy\nlad\nladen\nladle\nlady\nladyfern\nladylike\nLafayette\nlag\nlager\nlagging\nlagoon\nLagos\nLagrange\nLagrangian\nLaguerre\nLahore\nlaid\nLaidlaw\nlain\nlair\nlaissez\nlaity\nlake\nLakehurst\nlakeside\nlam\nLamar\nlamb\nlambda\nlambert\nlame\nlamellar\nlament\nlamentation\nlaminate\nlamming\nlamp\nlampblack\nlamplight\nlampoon\nlamprey\nLana\nLancashire\nLancaster\nlance\nland\nlandau\nlandfill\nlandhold\nLandis\nlandlord\nlandmark\nlandowner\nlandscape\nlandslide\nlane\nLang\nLange\nLangley\nLangmuir\nlanguage\nlanguid\nlanguish\nLanka\nlanky\nLansing\nlantern\nlanthanide\nlanthanum\nLao\nLaocoon\nLaos\nLaotian\nlap\nlapel\nlapelled\nlapidary\nLaplace\nlappet\nlapping\nlapse\nLaramie\nlarceny\nlarch\nlard\nLaredo\nLares\nlarge\nlargemouth\nlargesse\nlariat\nlark\nLarkin\nlarkspur\nLarry\nLars\nLarsen\nLarson\nlarva\nlarvae\nlarval\nlaryngeal\nlarynges\nlarynx\nlascar\nlascivious\nlase\nlash\nlass\nlasso\nlast\nlatch\nlate\nlatent\nlater\nlatera\nlateral\nLateran\nlaterite\nlatest\nlatex\nlath\nlathe\nLathrop\nLatin\nLatinate\nlatitude\nlatitudinal\nlatitudinary\nLatrobe\nlatter\nlattice\nlatus\nlaud\nlaudanum\nlaudatory\nLauderdale\nLaue\nlaugh\nlaughingstock\nLaughlin\nlaughter\nlaunch\nlaunder\nlaundry\nlaura\nlaureate\nlaurel\nLauren\nLaurence\nLaurent\nLaurentian\nLaurie\nLausanne\nlava\nlavabo\nlavatory\nlavender\nlavish\nLavoisier\nlaw\nlawbreaker\nlawbreaking\nlawful\nlawgiver\nlawgiving\nlawmake\nlawman\nlawmen\nlawn\nLawrence\nlawrencium\nLawson\nlawsuit\nlawyer\nlax\nlaxative\nlay\nlayette\nlayman\nlaymen\nlayoff\nlayout\nLayton\nlayup\nLazarus\nlaze\nlazy\nlazybones\nlea\nleach\nleachate\nlead\nleaden\nleadeth\nleadsman\nleadsmen\nleaf\nleaflet\nleafy\nleague\nleak\nleakage\nleaky\nlean\nLeander\nleap\nleapfrog\nleapt\nLear\nlearn\nlease\nleasehold\nleash\nleast\nleather\nleatherback\nleatherneck\nleatherwork\nleathery\nleave\nleaven\nLeavenworth\nLebanese\nLebanon\nlebensraum\nLebesgue\nlecher\nlechery\nlectionary\nlecture\nled\nledge\nlee\nleech\nLeeds\nleek\nleer\nleery\nleeward\nleeway\nleft\nleftmost\nleftover\nleftward\nlefty\nleg\nlegacy\nlegal\nlegate\nlegatee\nlegato\nlegend\nlegendary\nLegendre\nlegerdemain\nlegging\nleggy\nleghorn\nlegible\nlegion\nlegislate\nlegislature\nlegitimacy\nlegitimate\nlegume\nleguminous\nLehigh\nLehman\nLeigh\nLeighton\nLeila\nleisure\nleitmotif\nleitmotiv\nLeland\nlemma\nlemming\nlemon\nlemonade\nLemuel\nLen\nLena\nlend\nlength\nlengthen\nlengthwise\nlengthy\nlenient\nLenin\nLeningrad\nLeninism\nLeninist\nLennox\nLenny\nlens\nlent\nLenten\nlenticular\nlentil\nLeo\nLeon\nLeona\nLeonard\nLeonardo\nLeone\nLeonid\nleonine\nleopard\nLeopold\nleper\nlepidolite\nleprosy\nLeroy\nLesbian\nlesion\nLeslie\nLesotho\nless\nlessee\nlessen\nlesson\nlessor\nlest\nLester\nlet\nlethal\nlethargy\nLethe\nLetitia\nletterhead\nletterman\nlettermen\nletting\nlettuce\nleukemia\nlevee\nlevel\nlever\nleverage\nLevi\nLevin\nLevine\nLevis\nlevitate\nLeviticus\nLevitt\nlevity\nlevy\nlew\nlewd\nlewis\nlexical\nlexicography\nlexicon\nLexington\nLeyden\nliable\nliaison\nliar\nlibation\nlibel\nlibelous\nliberal\nliberate\nLiberia\nlibertarian\nlibertine\nliberty\nlibidinous\nlibido\nlibrarian\nlibrary\nlibrate\nlibrettist\nlibretto\nLibreville\nLibya\nlice\nlicensable\nlicensee\nlicensor\nlicentious\nlichen\nlick\nlicorice\nlid\nlidding\nlie\nLiechtenstein\nlied\nlien\nlieu\nlieutenant\nlife\nlifeblood\nlifeboat\nlifeguard\nlifelike\nlifelong\nlifespan\nlifestyle\nlifetime\nLIFO\nlift\nligament\nligand\nligature\nLigget\nLiggett\nlight\nlighten\nlightface\nlighthearted\nlighthouse\nlightning\nlightproof\nlightweight\nlignite\nlignum\nlike\nliken\nlikewise\nLila\nlilac\nLilian\nLillian\nLilliputian\nLilly\nlilt\nlily\nLima\nlimb\nlimbic\nlimbo\nlime\nlimelight\nLimerick\nlimestone\nlimit\nlimitate\nlimousine\nlimp\nlimpet\nlimpid\nlimpkin\nLin\nLincoln\nLind\nLinda\nLindberg\nLindbergh\nlinden\nLindholm\nLindquist\nLindsay\nLindsey\nLindstrom\nline\nlineage\nlineal\nlinear\nlinebacker\nlineman\nlinemen\nlinen\nlineup\nlinger\nlingerie\nlingo\nlingua\nlingual\nlinguist\nliniment\nlink\nlinkage\nlinoleum\nLinotype\nlinseed\nlint\nLinus\nlion\nLionel\nlioness\nlip\nlipid\nLippincott\nLipschitz\nLipscomb\nlipstick\nLipton\nliquefaction\nliquefy\nliqueur\nliquid\nliquidate\nliquor\nLisa\nLisbon\nLise\nlisle\nlisp\nLissajous\nlist\nlisten\nlit\nlitany\nliteracy\nliteral\nliterary\nliterate\nliterature\nlithe\nlithic\nlithium\nlithograph\nlithography\nlithology\nlithosphere\nlithospheric\nlitigant\nlitigate\nlitigious\nlitmus\nlitterbug\nlittle\nlittleneck\nLittleton\nLitton\nlittoral\nliturgic\nliturgy\nlive\nLivermore\nLiverpool\nliverwort\nlivery\nlivestock\nliveth\nlivid\nLivingston\nlivre\nLiz\nlizard\nLizzie\nLloyd\nlo\nload\nloaf\nloam\nloamy\nloan\nloath\nloathe\nloathsome\nloaves\nlob\nlobar\nlobby\nlobe\nloblolly\nlobo\nlobscouse\nlobster\nlobular\nlobule\nlocal\nlocale\nlocate\nloci\nlock\nLocke\nLockhart\nLockheed\nLockian\nlocknut\nlockout\nlocksmith\nlockup\nLockwood\nlocomote\nlocomotion\nlocomotive\nlocomotor\nlocomotory\nlocoweed\nlocus\nlocust\nlocutor\nlodestone\nlodge\nlodgepole\nLodowick\nLoeb\nl'oeil\nloess\nloft\nlofty\nlog\nLogan\nlogarithm\nlogarithmic\nloge\nloggerhead\nlogging\nlogic\nlogistic\nlogjam\nloin\nloincloth\nLoire\nLois\nloiter\nLoki\nLola\nloll\nlollipop\nlolly\nLomb\nLombard\nLombardy\nLome\nLondon\nlone\nlonesome\nlong\nlongevity\nLongfellow\nlonghand\nlonghorn\nlongish\nlongitude\nlongitudinal\nlongleg\nlongstanding\nlongtime\nlongue\nlook\nlookout\nlookup\nloom\nLoomis\nloon\nloop\nloophole\nloose\nlooseleaf\nloosen\nloosestrife\nloot\nlop\nlope\nLopez\nlopping\nlopseed\nlopsided\nloquacious\nloquacity\nlord\nlore\nLorelei\nLoren\nLorinda\nLorraine\nLos\nlosable\nlose\nloss\nlossy\nlost\nlot\nlotion\nLotte\nlottery\nLottie\nlotus\nLou\nloud\nloudspeaker\nloudspeaking\nLouis\nLouisa\nLouise\nLouisiana\nLouisville\nlounge\nLounsbury\nLourdes\nlouse\nlousewort\nlousy\nlouver\nLouvre\nlove\nlovebird\nLovelace\nLoveland\nlovelorn\nlow\nlowboy\nlowdown\nLowe\nLowell\nlower\nlowland\nLowry\nloy\nloyal\nloyalty\nlozenge\nl's\nLSI\nLTV\nLubbock\nLubell\nlubricant\nlubricate\nlubricious\nlubricity\nLucas\nLucerne\nLucia\nLucian\nlucid\nLucifer\nLucille\nLucius\nluck\nlucky\nlucrative\nlucre\nLucretia\nLucretius\nlucy\nludicrous\nLudlow\nLudwig\nLufthansa\nLuftwaffe\nlug\nluge\nluger\nluggage\nlugging\nLuis\nluke\nlukemia\nlukewarm\nlull\nlullaby\nlulu\nlumbar\nlumber\nlumberman\nlumbermen\nlumen\nluminance\nluminary\nluminescent\nluminosity\nluminous\nlummox\nlump\nlumpish\nLumpur\nlumpy\nlunacy\nlunar\nlunary\nlunate\nlunatic\nlunch\nluncheon\nlunchroom\nlunchtime\nLund\nLundberg\nLundquist\nlung\nlunge\nlupine\nLura\nlurch\nlure\nlurid\nlurk\nLusaka\nluscious\nlush\nlust\nlustful\nlustrous\nlusty\nlutanist\nlute\nlutetium\nLuther\nLutheran\nLutz\nlux\nluxe\nLuxembourg\nluxuriant\nluxuriate\nluxurious\nluxury\nLuzon\nlycopodium\nLydia\nlye\nlying\nLykes\nLyle\nLyman\nlymph\nlymphocyte\nlymphoma\nlynch\nLynchburg\nLynn\nlynx\nLyon\nLyons\nLyra\nlyric\nlyricism\nlysergic\nm\nma\nMabel\nMac\nmacabre\nmacaque\nMacArthur\nMacassar\nMacbeth\nMacDonald\nmace\nMacedon\nMacedonia\nMacGregor\nMach\nMachiavelli\nmachination\nmachine\nmachinelike\nmachinery\nmachismo\nmacho\nmacintosh\nmack\nMacKenzie\nmackerel\nMackey\nMackinac\nMackinaw\nmackintosh\nMacMillan\nMacon\nmacro\nmacromolecule\nmacrophage\nmacroscopic\nmad\nMadagascar\nmadam\nMadame\nmadcap\nmadden\nmadding\nMaddox\nmade\nMadeira\nMadeleine\nMadeline\nmadhouse\nMadison\nmadman\nmadmen\nMadonna\nMadras\nMadrid\nmadrigal\nMadsen\nmadstone\nMae\nMaelstrom\nmaestro\nmagazine\nMagdalene\nmagenta\nMaggie\nmaggot\nmaggoty\nmagi\nmagic\nmagician\nmagisterial\nmagistrate\nmagna\nmagnanimity\nmagnanimous\nmagnate\nmagnesia\nmagnesite\nmagnesium\nmagnet\nmagnetic\nmagnetite\nmagneto\nmagnetron\nmagnificent\nmagnify\nmagnitude\nmagnolia\nmagnum\nMagnuson\nMagog\nmagpie\nMagruder\nMahayana\nMahayanist\nmahogany\nMahoney\nmaid\nmaiden\nmaidenhair\nmaidservant\nMaier\nmail\nmailbox\nmailman\nmailmen\nmaim\nmain\nMaine\nmainland\nmainline\nmainstream\nmaintain\nmaintenance\nmaitre\nmajestic\nmajesty\nmajor\nmake\nmakeshift\nmakeup\nMalabar\nmaladapt\nmaladaptive\nmaladjust\nmaladroit\nmalady\nMalagasy\nmalaise\nmalaprop\nmalaria\nmalarial\nMalawi\nMalay\nMalaysia\nMalcolm\nmalconduct\nmalcontent\nMalden\nmaldistribute\nMaldive\nmale\nmaledict\nmalevolent\nmalfeasant\nmalformation\nmalformed\nmalfunction\nMali\nmalice\nmalicious\nmalign\nmalignant\nmall\nmallard\nmalleable\nmallet\nMallory\nmallow\nmalnourished\nmalnutrition\nmalocclusion\nMalone\nMaloney\nmalposed\nmalpractice\nMalraux\nmalt\nMalta\nMaltese\nMalton\nmaltreat\nmambo\nmamma\nmammal\nmammalian\nmammoth\nman\nmana\nmanage\nmanageable\nmanagerial\nManagua\nManama\nmanatee\nManchester\nmandamus\nmandarin\nmandate\nmandatory\nmandrake\nmandrel\nmandrill\nmane\nmaneuver\nManfred\nmanganese\nmange\nmangel\nmangle\nManhattan\nmanhole\nmanhood\nmania\nmaniac\nmaniacal\nmanic\nmanifest\nmanifestation\nmanifold\nmanikin\nManila\nmanipulable\nmanipulate\nManitoba\nmankind\nManley\nMann\nmanna\nmannequin\nmannerism\nmanning\nmanometer\nmanometric\nmanor\nmanpower\nMans\nmanse\nmanservant\nMansfield\nmansion\nmanslaughter\nmantel\nmantic\nmantis\nmantissa\nmantle\nmantlepiece\nmantrap\nmanual\nManuel\nmanufacture\nmanumission\nmanumit\nmanumitted\nmanure\nmanuscript\nManville\nmany\nmanzanita\nMao\nMaori\nmap\nmaple\nmapping\nmar\nmarathon\nmaraud\nmarble\nMarc\nMarceau\nMarcel\nMarcello\nmarch\nMarcia\nMarco\nMarcus\nMarcy\nMardi\nmare\nMargaret\nmargarine\nMargery\nmargin\nmarginal\nmarginalia\nMargo\nMarguerite\nmaria\nMarie\nMarietta\nmarigold\nmarijuana\nMarilyn\nmarimba\nMarin\nmarina\nmarinade\nmarinate\nmarine\nMarino\nMario\nMarion\nmarionette\nmarital\nmaritime\nMarjorie\nMarjory\nmark\nmarket\nmarketeer\nmarketplace\nmarketwise\nMarkham\nMarkov\nMarkovian\nMarks\nmarksman\nmarksmen\nMarlboro\nMarlborough\nMarlene\nmarlin\nMarlowe\nmarmalade\nmarmot\nmaroon\nmarque\nmarquee\nmarquess\nMarquette\nmarquis\nmarriage\nmarriageable\nmarried\nMarrietta\nmarring\nMarriott\nmarrow\nmarrowbone\nmarry\nMars\nMarseilles\nmarsh\nMarsha\nmarshal\nMarshall\nmarshland\nmarshmallow\nmart\nmarten\nMartha\nmartial\nMartian\nmartin\nMartinez\nmartingale\nmartini\nMartinique\nMartinson\nMarty\nmartyr\nmartyrdom\nmarvel\nmarvelous\nMarvin\nMarx\nMary\nMaryland\nmascara\nmasculine\nmaser\nMaseru\nmash\nmask\nmason\nMasonic\nMasonite\nmasonry\nmasque\nmasquerade\nmass\nMassachusetts\nmassacre\nmassage\nmasseur\nMassey\nmassif\nmassive\nmast\nmasterful\nmastermind\nmasterpiece\nmastery\nmastic\nmastiff\nmastodon\nmat\nmatch\nmatchbook\nmatchmake\nmate\nMateo\nmater\nmaterial\nmateriel\nmaternal\nmaternity\nmath\nmathematic\nmathematician\nMathematik\nMathews\nMathewson\nMathias\nMathieu\nMatilda\nmatinal\nmatinee\nmatins\nMatisse\nmatriarch\nmatriarchal\nmatrices\nmatriculate\nmatrimonial\nmatrimony\nmatrix\nmatroid\nmatron\nMatson\nmatte\nMatthew\nMatthews\nmatting\nmattock\nmattress\nMattson\nmaturate\nmature\nmaudlin\nmaul\nMaureen\nMaurice\nMaurine\nMauritania\nMauritius\nmausoleum\nmauve\nmaverick\nMavis\nmaw\nmawkish\nMawr\nMax\nmaxim\nmaxima\nmaximal\nMaximilian\nmaximum\nMaxine\nmaxwell\nMaxwellian\nmay\nMaya\nmayapple\nmaybe\nMayer\nMayfair\nMayflower\nmayhem\nMaynard\nMayo\nmayonnaise\nmayor\nmayoral\nmayst\nMazda\nmaze\nmazurka\nMBA\nMbabane\nMcAdams\nMcAllister\nMcBride\nMcCabe\nMcCall\nMcCann\nMcCarthy\nMcCarty\nMcCauley\nMcClain\nMcClellan\nMcClure\nMcCluskey\nMcConnel\nMcConnell\nMcCormick\nMcCoy\nMcCracken\nMcCullough\nMcDaniel\nMcDermott\nMcDonald\nMcDonnell\nMcDougall\nMcDowell\nMcElroy\nMcFadden\nMcFarland\nMcGee\nMcGill\nMcGinnis\nMcGovern\nMcGowan\nMcGrath\nMcGraw\nMcGregor\nMcGuire\nMcHugh\nMcIntosh\nMcIntyre\nMcKay\nMcKee\nMcKenna\nMcKenzie\nMcKeon\nMcKesson\nMcKinley\nMcKinney\nMcKnight\nMcLaughlin\nMcLean\nMcLeod\nMcMahon\nMcMillan\nMcMullen\nMcNally\nMcNaughton\nMcNeil\nMcPherson\nme\nmead\nmeadow\nmeadowland\nmeadowsweet\nmeager\nmeal\nmealtime\nmealy\nmean\nmeander\nmeaningful\nmeant\nmeantime\nmeanwhile\nmeasle\nmeasure\nmeat\nmeaty\nMecca\nmechanic\nmechanism\nmechanist\nmecum\nmedal\nmedallion\nmeddle\nMedea\nmedia\nmedial\nmedian\nmediate\nmedic\nmedicate\nMedici\nmedicinal\nmedicine\nmedico\nmediocre\nmediocrity\nmeditate\nMediterranean\nmedium\nmedley\nMedusa\nmeek\nmeet\nmeetinghouse\nMeg\nmegabit\nmegabyte\nmegahertz\nmegalomania\nmegalomaniac\nmegaton\nmegavolt\nmegawatt\nmegaword\nmegohm\nMeier\nMeistersinger\nMekong\nMel\nmelamine\nmelancholy\nMelanesia\nmelange\nMelanie\nmelanin\nmelanoma\nMelbourne\nMelcher\nmeld\nmelee\nMelinda\nmeliorate\nMelissa\nMellon\nmellow\nmelodic\nmelodious\nmelodrama\nmelodramatic\nmelody\nmelon\nMelpomene\nmelt\nMelville\nMelvin\nmember\nmembrane\nmemento\nmemo\nmemoir\nmemorabilia\nmemorable\nmemoranda\nmemorandum\nmemorial\nmemory\nMemphis\nmen\nmenace\nmenagerie\nmenarche\nmend\nmendacious\nmendacity\nmendelevium\nMendelssohn\nMenelaus\nmenfolk\nmenhaden\nmenial\nMenlo\nMennonite\nmenstruate\nmensurable\nmensuration\nmental\nmention\nmentor\nmenu\nMenzies\nMephistopheles\nmercantile\nMercator\nMercedes\nmercenary\nmercer\nmerchandise\nmerchant\nmerciful\nmercilessly\nMerck\nmercurial\nmercuric\nmercury\nmercy\nmere\nMeredith\nmeretricious\nmerganser\nmerge\nmeridian\nmeridional\nmeringue\nmerit\nmeritorious\nMerle\nmerlin\nmermaid\nMerriam\nMerrill\nMerrimack\nmerriment\nMerritt\nmerry\nmerrymake\nMervin\nmesa\nmescal\nmescaline\nmesenteric\nmesh\nmesmeric\nmeson\nMesozoic\nmesquite\nmess\nmessage\nmessenger\nMessiah\nmessieurs\nMessrs\nmessy\nmet\nmetabole\nmetabolic\nmetabolism\nmetabolite\nmetal\nmetallic\nmetalliferous\nmetallography\nmetalloid\nmetallurgic\nmetallurgy\nmetalwork\nmetamorphic\nmetamorphism\nmetamorphose\nmetamorphosis\nmetaphor\nmetaphoric\nMetcalf\nmete\nmeteor\nmeteoric\nmeteorite\nmeteoritic\nmeteorology\nmeter\nmethacrylate\nmethane\nmethod\nmethodic\nMethodism\nMethodist\nmethodology\nMethuen\nMethuselah\nmethyl\nmethylene\nmeticulous\nmetier\nmetric\nmetro\nmetronome\nmetropolis\nmetropolitan\nmettle\nmettlesome\nMetzler\nmew\nMexican\nMexico\nMeyer\nMeyers\nmezzo\nmi\nMiami\nmiasma\nmiasmal\nmica\nmice\nMichael\nMichaelangelo\nMichelangelo\nMichelin\nMichelson\nmichigan\nMickelson\nMickey\nMicky\nmicro\nmicrobial\nmicrocosm\nmicrography\nmicrojoule\nmicron\nMicronesia\nmicroscopy\nmid\nMidas\nmidband\nmidday\nmiddle\nMiddlebury\nmiddleman\nmiddlemen\nMiddlesex\nMiddleton\nMiddletown\nmiddleweight\nmidge\nmidget\nmidland\nmidmorn\nmidnight\nmidpoint\nmidrange\nmidscale\nmidsection\nmidshipman\nmidshipmen\nmidspan\nmidst\nmidstream\nmidway\nmidweek\nMidwest\nMidwestern\nmidwife\nmidwives\nmien\nmiff\nmig\nmight\nmightn't\nmighty\nmignon\nmigrant\nmigrate\nmigratory\nMiguel\nmike\nmila\nMilan\nmilch\nmild\nmildew\nMildred\nmile\nmileage\nMiles\nmilestone\nmilieu\nmilitant\nmilitarism\nmilitarist\nmilitary\nmilitate\nmilitia\nmilitiamen\nmilk\nmilkweed\nmilky\nmill\nMillard\nmillenarian\nmillenia\nmillennia\nmillennium\nmiller\nmillet\nmilliammeter\nmilliampere\nMillie\nmillihenry\nmillijoule\nMillikan\nmillinery\nmillion\nmillionaire\nmillionth\nmillipede\nmillisecond\nmillivolt\nmillivoltmeter\nmilliwatt\nMills\nmillstone\nmilord\nmilt\nMilton\nMiltonic\nMilwaukee\nmimeograph\nmimesis\nmimetic\nMimi\nmimic\nmimicked\nmimicking\nminaret\nmince\nmincemeat\nmind\nMindanao\nmindful\nmine\nminefield\nmineral\nmineralogy\nMinerva\nminesweeper\nmingle\nmini\nminiature\nminicomputer\nminim\nminima\nminimal\nminimax\nminimum\nminion\nministerial\nministry\nmink\nMinneapolis\nMinnesota\nMinnie\nminnow\nMinoan\nminor\nMinos\nminot\nMinsky\nminstrel\nminstrelsy\nmint\nminuend\nminuet\nminus\nminuscule\nminute\nminuteman\nminutemen\nminutiae\nMiocene\nMira\nmiracle\nmiraculous\nmirage\nMiranda\nmire\nMirfak\nMiriam\nmirror\nmirth\nmisanthrope\nmisanthropic\nmiscegenation\nmiscellaneous\nmiscellany\nmischievous\nmiscreant\nmiser\nmisery\nmisnomer\nmisogynist\nmisogyny\nmispronunciation\nmiss\nmisshapen\nmissile\nmission\nmissionary\nMississippi\nMississippian\nmissive\nMissoula\nMissouri\nMissy\nmist\nmistletoe\nmistress\nmisty\nMIT\nMitchell\nmite\nmiterwort\nmitigate\nmitral\nmitre\nmitt\nmitten\nmix\nmixture\nmixup\nMizar\nmnemonic\nmoan\nmoat\nmob\nmobbing\nmobcap\nMobil\nmobile\nmobility\nmobster\nmoccasin\nmock\nmockernut\nmockery\nmockingbird\nmockup\nmodal\nmode\nmodel\nmodem\nmoderate\nmodern\nmodest\nModesto\nmodesty\nmodicum\nmodify\nmodish\nmodular\nmodulate\nmodule\nmoduli\nmodulo\nmodulus\nMoe\nMoen\nMogadiscio\nMohammedan\nMohawk\nMohr\nmoiety\nMoines\nmoire\nMoiseyev\nmoist\nmoisten\nmoisture\nmolal\nmolar\nmolasses\nmold\nmoldboard\nmole\nmolecular\nmolecule\nmolehill\nmolest\nMoliere\nMoline\nMoll\nMollie\nmollify\nmollusk\nMolly\nmollycoddle\nMoloch\nmolt\nmolten\nMoluccas\nmolybdate\nmolybdenite\nmolybdenum\nmoment\nmomenta\nmomentary\nmomentous\nmomentum\nmommy\nMona\nMonaco\nmonad\nmonadic\nmonarch\nmonarchic\nmonarchy\nmonastery\nmonastic\nmonaural\nMonday\nmonel\nmonetarism\nmonetary\nmoney\nmoneymake\nmoneywort\nMongolia\nmongoose\nMonica\nmonies\nmonitor\nmonitory\nmonk\nmonkey\nmonkeyflower\nmonkish\nMonmouth\nMonoceros\nmonochromatic\nmonochromator\nmonocotyledon\nmonocular\nmonogamous\nmonogamy\nmonolith\nmonologist\nmonologue\nmonomer\nmonomeric\nmonomial\nMonongahela\nmonopoly\nmonotonous\nmonoxide\nMonroe\nMonrovia\nMonsanto\nmonsieur\nmonsoon\nmonster\nmonstrosity\nmonstrous\nMont\nmontage\nMontague\nMontana\nMontclair\nmonte\nMontenegrin\nMonterey\nMonteverdi\nMontevideo\nMontgomery\nmonth\nMonticello\nMontmartre\nMontpelier\nMontrachet\nMontreal\nMonty\nmonument\nmoo\nmood\nmoody\nmoon\nMooney\nmoonlight\nmoonlike\nmoonlit\nmoor\nMoore\nMoorish\nmoose\nmoot\nmop\nmopping\nmoraine\nmoral\nmorale\nMoran\nmorass\nmoratorium\nMoravia\nmorbid\nmore\nmorel\nMoreland\nmoreover\nMoresby\nMorgan\nmorgen\nmorgue\nMoriarty\nmoribund\nMorley\nMormon\nmorn\nMoroccan\nMorocco\nmoron\nmorose\nmorpheme\nmorphemic\nmorphine\nmorphology\nmorphophonemic\nMorrill\nmorris\nMorrison\nMorrissey\nMorristown\nmorrow\nMorse\nmorsel\nmort\nmortal\nmortar\nmortem\nmortgage\nmortgagee\nmortgagor\nmortician\nmortify\nmortise\nMorton\nmosaic\nMoscow\nMoser\nMoses\nMoslem\nmosque\nmosquito\nmoss\nmossy\nmost\nmot\nmotel\nmotet\nmoth\nmother\nmotherhood\nmotherland\nmotif\nmotion\nmotivate\nmotive\nmotley\nmotor\nmotorcycle\nMotorola\nmottle\nmotto\nmould\nMoulton\nmound\nmount\nmountain\nmountaineer\nmountainous\nmountainside\nmourn\nmournful\nmouse\nmoustache\nmousy\nmouth\nmouthful\nmouthpiece\nMouton\nmove\nmovie\nmow\nMoyer\nMozart\nMPH\nMr\nMrs\nMs\nm's\nmu\nmuch\nmucilage\nmuck\nmucosa\nmucus\nmud\nMudd\nmudding\nmuddle\nmuddlehead\nmuddy\nmudguard\nmudsling\nMueller\nmuezzin\nmuff\nmuffin\nmuffle\nmug\nmugging\nmuggy\nmugho\nMuir\nMukden\nmulatto\nmulberry\nmulch\nmulct\nmule\nmulish\nmull\nmullah\nmullein\nMullen\nmulligan\nmulligatawny\nmullion\nmulti\nmultinomial\nmultiple\nmultiplex\nmultiplexor\nmultipliable\nmultiplicand\nmultiplication\nmultiplicative\nmultiplicity\nmultiply\nmultitude\nmultitudinous\nmum\nmumble\nMumford\nmummy\nmunch\nMuncie\nmundane\nmung\nMunich\nmunicipal\nmunificent\nmunition\nMunson\nmuon\nMuong\nmural\nmurder\nmurderous\nmuriatic\nMuriel\nmurk\nmurky\nmurmur\nMurphy\nMurray\nmurre\nMuscat\nmuscle\nMuscovite\nMuscovy\nmuscular\nmusculature\nmuse\nmuseum\nmush\nmushroom\nmushy\nmusic\nmusicale\nmusician\nmusicology\nmusk\nMuskegon\nmuskellunge\nmusket\nmuskmelon\nmuskox\nmuskoxen\nmuskrat\nmuslim\nmuslin\nmussel\nmust\nmustache\nmustachio\nmustang\nmustard\nmustn't\nmusty\nmutandis\nmutant\nmutate\nmutatis\nmute\nmutilate\nmutineer\nmutiny\nmutt\nmutter\nmutton\nmutual\nmutuel\nMuzak\nMuzo\nmuzzle\nmy\nMycenae\nMycenaean\nmycobacteria\nmycology\nmyel\nmyeline\nmyeloid\nMyers\nmylar\nmynah\nMynheer\nmyocardial\nmyocardium\nmyofibril\nmyopia\nmyopic\nmyosin\nMyra\nmyriad\nMyron\nmyrrh\nmyrtle\nmyself\nmysterious\nmystery\nmystic\nmystify\nmystique\nmyth\nmythic\nmythology\nn\nNAACP\nnab\nnabbing\nNabisco\nNadine\nnadir\nnag\nNagasaki\nnagging\nNagoya\nNagy\nnaiad\nnail\nNair\nNairobi\nnaive\nnaivete\nnaked\nname\nnameable\nnameplate\nnamesake\nNan\nNancy\nNanette\nNanking\nnanosecond\nNantucket\nNaomi\nnap\nnapkin\nNaples\nNapoleon\nNapoleonic\nnapping\nNarbonne\nnarcissist\nnarcissus\nnarcosis\nnarcotic\nNarragansett\nnarrate\nnarrow\nnary\nNASA\nnasal\nnascent\nNash\nNashua\nNashville\nNassau\nnasturtium\nnasty\nNat\nnatal\nNatalie\nNatchez\nNathan\nNathaniel\nnation\nnationhood\nnationwide\nnative\nNATO\nnatty\nnatural\nnature\nnaturopath\nnaughty\nnausea\nnauseate\nnauseum\nnautical\nnautilus\nNavajo\nnaval\nnave\nnavel\nnavigable\nnavigate\nnavy\nnay\nNazarene\nNazareth\nNazi\nNazism\nNBC\nNBS\nNC\nNCAA\nNCR\nND\nNdjamena\nne\nNeal\nNeanderthal\nNeapolitan\nnear\nnearby\nnearest\nnearsighted\nneat\nneater\nneath\nNebraska\nnebula\nnebulae\nnebular\nnebulous\nnecessary\nnecessitate\nnecessity\nneck\nnecklace\nneckline\nnecktie\nnecromancer\nnecromancy\nnecromantic\nnecropsy\nnecrosis\nnecrotic\nnectar\nnectareous\nnectary\nNed\nnee\nneed\nneedful\nneedham\nneedle\nneedlepoint\nneedn't\nneedy\nNeff\nnegate\nneglect\nnegligee\nnegligent\nnegligible\nnegotiable\nnegotiate\nNegro\nNegroes\nNegroid\nNehru\nNeil\nneither\nNell\nNellie\nNelsen\nNelson\nnemesis\nneoclassic\nneodymium\nneolithic\nneologism\nneon\nneonatal\nneonate\nneophyte\nneoprene\nNepal\nnepenthe\nnephew\nNeptune\nneptunium\nnereid\nNero\nnerve\nnervous\nNess\nnest\nnestle\nNestor\nnet\nnether\nNetherlands\nnetherworld\nnetting\nnettle\nnettlesome\nnetwork\nNeumann\nneural\nneuralgia\nneurasthenic\nneuritis\nneuroanatomic\nneuroanatomy\nneuroanotomy\nneurology\nneuromuscular\nneuron\nneuronal\nneuropathology\nneurophysiology\nneuropsychiatric\nneuroses\nneurosis\nneurotic\nneuter\nneutral\nneutrino\nneutron\nNeva\nNevada\nneve\nnevertheless\nNevins\nnew\nNewark\nNewbold\nnewborn\nNewcastle\nnewcomer\nnewel\nNewell\nnewfound\nNewfoundland\nnewlywed\nNewman\nNewport\nnewsboy\nnewscast\nnewsletter\nnewsman\nnewsmen\nnewspaper\nnewspaperman\nnewspapermen\nnewsreel\nnewsstand\nNewsweek\nnewt\nnewton\nNewtonian\nnext\nNguyen\nNH\nNiagara\nNiamey\nnib\nnibble\nNibelung\nnibs\nNicaragua\nnice\nnicety\nniche\nNicholas\nNicholls\nNichols\nNicholson\nnichrome\nnick\nnickel\nnickname\nNicodemus\nNicosia\nnicotine\nniece\nNielsen\nNielson\nNietzsche\nNiger\nNigeria\nniggardly\nnigger\nniggle\nnigh\nnight\nnightcap\nnightclub\nnightdress\nnightfall\nnightgown\nnighthawk\nnightingale\nnightmare\nnightmarish\nnightshirt\nnighttime\nNIH\nnihilism\nnihilist\nNikko\nNikolai\nnil\nNile\nnilpotent\nnimble\nnimbus\nNIMH\nNina\nnine\nninebark\nninefold\nnineteen\nnineteenth\nninetieth\nninety\nNineveh\nninth\nNiobe\nniobium\nnip\nnipping\nnipple\nNippon\nnirvana\nnit\nnitpick\nnitrate\nnitric\nnitride\nnitrite\nnitrogen\nnitrogenous\nnitroglycerine\nnitrous\nnitty\nNixon\nNJ\nNM\nno\nNOAA\nNoah\nnob\nNobel\nnobelium\nnoble\nnobleman\nnoblemen\nnoblesse\nnobody\nnobody'd\nnocturnal\nnocturne\nnod\nnodal\nnodding\nnode\nnodular\nnodule\nNoel\nnoise\nnoisemake\nnoisy\nNolan\nNoll\nnolo\nnomenclature\nnominal\nnominate\nnominee\nnon\nnonce\nnonchalant\nnondescript\nnone\nnonetheless\nnonogenarian\nnonsensic\nnoodle\nnook\nnoon\nnoontime\nnoose\nnor\nNordhoff\nNordstrom\nNoreen\nNorfolk\nnorm\nNorma\nnormal\nnormalcy\nNorman\nNormandy\nnormative\nNorris\nnorth\nNorthampton\nnorthbound\nnortheast\nnortheastern\nnortherly\nnorthern\nnorthernmost\nnorthland\nNorthrop\nNorthrup\nNorthumberland\nnorthward\nnorthwest\nnorthwestern\nNorton\nNorwalk\nNorway\nNorwegian\nNorwich\nnose\nnosebag\nnosebleed\nnostalgia\nnostalgic\nNostradamus\nNostrand\nnostril\nnot\nnotarize\nnotary\nnotate\nnotch\nnote\nnotebook\nnoteworthy\nnothing\nnotice\nnoticeable\nnotify\nnotion\nnotoriety\nnotorious\nNottingham\nnotwithstanding\nNouakchott\nnoun\nnourish\nnouveau\nNov\nnova\nNovak\nnovel\nnovelty\nNovember\nnovice\nnovitiate\nnovo\nNovosibirsk\nnow\nnowaday\nnowhere\nnowise\nnoxious\nnozzle\nNRC\nn's\nNSF\nNTIS\nnu\nnuance\nNubia\nnubile\nnucleant\nnuclear\nnucleate\nnuclei\nnucleic\nnucleoli\nnucleolus\nnucleotide\nnucleus\nnuclide\nnude\nnudge\nnugatory\nnugget\nnuisance\nnull\nnullify\nnumb\nnumerable\nnumeral\nnumerate\nnumeric\nNumerische\nnumerology\nnumerous\nnuminous\nnumismatic\nnumismatist\nnun\nnuptial\nnurse\nnursery\nnurture\nnut\nnutate\nnutcrack\nnuthatch\nnutmeg\nnutria\nnutrient\nnutrition\nnutritious\nnutritive\nnutshell\nnutting\nnuzzle\nNY\nNYC\nnylon\nnymph\nnymphomania\nnymphomaniac\nNyquist\nNYU\no\noaf\noak\noaken\nOakland\nOakley\noakwood\noar\noases\noasis\noat\noath\noatmeal\nobduracy\nobdurate\nobedient\nobeisant\nobelisk\nOberlin\nobese\nobey\nobfuscate\nobfuscatory\nobituary\nobject\nobjectify\nobjectivity\nobjector\nobjet\nobligate\nobligatory\noblige\noblique\nobliterate\noblivion\noblivious\noblong\nobnoxious\noboe\noboist\nO'Brien\nobscene\nobscure\nobsequious\nobsequy\nobservant\nobservation\nobservatory\nobserve\nobsess\nobsession\nobsessive\nobsidian\nobsolescent\nobsolete\nobstacle\nobstinacy\nobstinate\nobstruct\nobtain\nobtrude\nobtrusive\nobverse\nobviate\nobvious\nocarina\noccasion\noccident\noccidental\noccipital\nocclude\nocclusion\nocclusive\noccult\noccultate\noccupant\noccupation\noccupy\noccur\noccurred\noccurrent\noccurring\nocean\nOceania\noceanic\noceanography\noceanside\nocelot\no'clock\nO'Connell\nO'Connor\nOct\noctagon\noctagonal\noctahedra\noctahedral\noctahedron\noctal\noctane\noctave\nOctavia\noctennial\noctet\noctile\noctillion\nOctober\noctogenarian\noctopus\noctoroon\nocular\nodd\node\nO'Dell\nOdessa\nOdin\nodious\nodium\nodometer\nO'Donnell\nodorous\nO'Dwyer\nOdysseus\nOdyssey\nOedipal\nOedipus\no'er\noersted\nof\noff\noffal\noffbeat\nOffenbach\noffend\noffensive\noffer\noffertory\noffhand\noffice\nofficeholder\nofficemate\nofficial\nofficialdom\nofficiate\nofficio\nofficious\noffing\noffload\noffsaddle\noffset\noffsetting\noffshoot\noffshore\noffspring\noffstage\noft\noften\noftentimes\nOgden\nogle\nogre\nogress\noh\nO'Hare\nOhio\nohm\nohmic\nohmmeter\noil\noilcloth\noilman\noilmen\noilseed\noily\noint\nOK\nOkay\nOkinawa\nOklahoma\nOlaf\nold\nolden\nOldenburg\nOldsmobile\noldster\noldy\noleander\nO'Leary\nolefin\noleomargarine\nOlga\noligarchic\noligarchy\noligoclase\noligopoly\nOlin\nolive\nOliver\nOlivetti\nOlivia\nolivine\nOlsen\nOlson\nOlympia\nOlympic\nOmaha\nOman\nomega\nomelet\nomen\nomicron\nominous\nomission\nomit\nomitted\nomitting\nomnibus\nomnipotent\nomnipresent\nomniscient\non\nonce\noncology\noncoming\none\nOneida\nonerous\noneself\nonetime\noneupmanship\nongoing\nonion\nonlooker\nonlooking\nonly\nOnondaga\nonrush\nonrushing\nonset\nonslaught\nOntario\nonto\nontogeny\nontology\nonus\nonward\nonyx\noodles\nooze\nopacity\nopal\nopalescent\nopaque\nOPEC\nOpel\nopen\nopera\noperable\noperand\noperant\noperate\noperatic\noperetta\nOphiucus\nopiate\nopinion\nopinionate\nopium\nopossum\nOppenheimer\nopponent\nopportune\nopposable\noppose\nopposite\nopposition\noppress\noppression\noppressive\noppressor\nopprobrium\nopt\nopthalmic\nopthalmologic\nopthalmology\noptic\noptima\noptimal\noptimism\noptimist\noptimistic\noptimum\noption\noptoacoustic\noptoisolate\noptometric\noptometrist\noptometry\nopulent\nopus\nor\noracle\noral\norange\norangeroot\norangutan\norate\noratoric\noratorio\noratory\norb\norbit\norbital\norchard\norchestra\norchestral\norchestrate\norchid\norchis\nordain\nordeal\norder\norderly\nordinal\nordinance\nordinary\nordinate\nordnance\nore\noregano\nOregon\nOresteia\nOrestes\norgan\norgandy\norganic\norganismic\norganometallic\norgasm\norgiastic\norgy\norient\noriental\norifice\norigin\noriginal\noriginate\nOrin\nOrinoco\noriole\nOrion\nOrkney\nOrlando\nOrleans\nornament\nornamentation\nornate\nornately\nornery\norographic\norography\nOrono\norphan\norphanage\nOrpheus\nOrphic\nOrr\nOrtega\northant\northicon\northoclase\northodontic\northodontist\northodox\northodoxy\northogonal\northography\northonormal\northopedic\northophosphate\northorhombic\nOrville\nOrwell\nOrwellian\no's\nOsaka\nOsborn\nOsborne\nOscar\noscillate\noscillatory\noscilloscope\nOsgood\nO'Shea\nOshkosh\nosier\nOsiris\nOslo\nosmium\nosmosis\nosmotic\nosprey\nosseous\nossify\nostensible\nostentatious\nosteology\nosteopath\nosteopathic\nosteopathy\nosteoporosis\nostracism\nostracod\nOstrander\nostrich\nO'Sullivan\nOswald\nOthello\nother\notherwise\notherworld\notherworldly\nOtis\nOtt\nOttawa\notter\nOtto\nOttoman\nOuagadougou\nouch\nought\noughtn't\nounce\nour\nourselves\noust\nout\noutermost\noutlandish\noutlawry\noutrageous\nouzel\nouzo\nova\noval\novary\novate\noven\novenbird\nover\noverhang\novert\noverture\nOvid\noviform\now\nowe\nOwens\nowing\nowl\nowly\nown\nox\noxalate\noxalic\noxcart\noxen\noxeye\nOxford\noxidant\noxidate\noxide\nOxnard\noxygen\noxygenate\noyster\nOzark\nozone\np\npa\nPablo\nPabst\npace\npacemake\npacesetting\npacific\npacifism\npacifist\npacify\npack\npackage\nPackard\npacket\npact\npad\npadding\npaddle\npaddock\npaddy\npadlock\npadre\npaean\npagan\npage\npageant\npageantry\npaginate\npagoda\npaid\npail\npain\nPaine\npainful\npainstaking\npaint\npaintbrush\npair\npairwise\nPakistan\nPakistani\npal\npalace\npalate\nPalatine\npalazzi\npalazzo\npale\nPaleolithic\nPaleozoic\nPalermo\nPalestine\npalette\npalfrey\npalindrome\npalindromic\npalisade\npall\npalladia\nPalladian\npalladium\npallet\npalliate\npallid\npalm\npalmate\npalmetto\nPalmolive\nPalmyra\nPalo\nPalomar\npalpable\npalsy\nPam\nPamela\npampa\npamper\npamphlet\npan\npanacea\npanama\npancake\nPancho\npanda\nPandanus\npandemic\npandemonium\npander\nPandora\npane\npanel\npang\npanic\npanicked\npanicky\npanicle\npanjandrum\npanning\npanoply\npanorama\npanoramic\npansy\npant\npantheism\npantheist\npantheon\npanther\npantomime\npantomimic\npantry\npanty\nPaoli\npap\npapa\npapal\npapaw\npaper\npaperback\npaperweight\npaperwork\npapery\npapillary\npapoose\nPappas\npappy\npaprika\nPapua\npapyri\npapyrus\npar\nparabola\nparabolic\nparaboloid\nparaboloidal\nparachute\nparade\nparadigm\nparadigmatic\nparadise\nparadox\nparadoxic\nparaffin\nparagon\nparagonite\nparagraph\nParaguay\nparakeet\nparalinguistic\nparallax\nparallel\nparallelepiped\nparalysis\nparamagnet\nparamagnetic\nparameter\nparametric\nparamilitary\nparamount\nParamus\nparanoia\nparanoiac\nparanoid\nparanormal\nparapet\nparaphernalia\nparaphrase\nparapsychology\nparasite\nparasitic\nparasol\nparasympathetic\nparatroop\nparaxial\nparboil\nparcel\nparch\npardon\npare\nparegoric\nparent\nparentage\nparental\nparentheses\nparenthesis\nparenthetic\nparenthood\nPareto\npariah\nparimutuel\nParis\nparish\nparishioner\nParisian\npark\nParke\nParkinson\nparkish\nparkland\nparklike\nParks\nparkway\nparlance\nparlay\nparley\nparliament\nparliamentarian\nparliamentary\nparochial\nparody\nparole\nparolee\nparquet\nParr\nParrish\nparrot\nparrotlike\nparry\nparse\nParsifal\nparsimonious\nparsimony\nparsley\nparsnip\nparson\nparsonage\nParsons\npart\npartake\nParthenon\npartial\nparticipant\nparticipate\nparticiple\nparticle\nparticular\nparticulate\npartisan\npartition\npartner\npartook\npartridge\nparty\nparvenu\nPasadena\nPascal\npaschal\npasha\nPaso\npass\npassage\npassageway\nPassaic\npassband\npasse\npassenger\npasser\npasserby\npassion\npassionate\npassivate\npassive\nPassover\npassport\npassword\npast\npaste\npasteboard\npastel\npasteup\nPasteur\npastiche\npastime\npastor\npastoral\npastry\npasture\npasty\npat\nPatagonia\npatch\npatchwork\npatchy\npate\npatent\npatentee\npater\npaternal\npaternoster\nPaterson\npath\npathetic\npathogen\npathogenesis\npathogenic\npathology\npathos\npathway\npatient\npatina\npatio\npatriarch\npatriarchal\npatriarchy\nPatrice\nPatricia\npatrician\nPatrick\npatrimonial\npatrimony\npatriot\npatriotic\npatristic\npatrol\npatrolled\npatrolling\npatrolman\npatrolmen\npatron\npatronage\npatroness\nPatsy\npattern\nPatterson\nPatti\npatting\nPatton\npatty\npaucity\nPaul\nPaula\nPaulette\nPauli\nPauline\nPaulo\nPaulsen\nPaulson\nPaulus\npaunch\npaunchy\npauper\npause\npavanne\npave\npavilion\nPavlov\npaw\npawn\npawnshop\nPawtucket\npax\npay\npaycheck\npayday\npaymaster\nPayne\npayoff\npayroll\nPaz\nPBS\npea\nPeabody\npeace\npeaceable\npeaceful\npeacemake\npeacetime\npeach\nPeachtree\npeacock\npeafowl\npeak\npeaky\npeal\nPeale\npeanut\npear\nPearce\npearl\npearlstone\nPearson\npeasant\npeasanthood\nPease\npeat\npebble\npecan\npeccary\npeck\nPecos\npectoral\npectoralis\npeculate\npeculiar\npecuniary\npedagogic\npedagogue\npedagogy\npedal\npedant\npedantic\npedantry\npeddle\npedestal\npedestrian\npediatric\npediatrician\npedigree\npediment\nPedro\npee\npeed\npeek\npeel\npeep\npeephole\npeepy\npeer\npeg\nPegasus\npegboard\npegging\nPeggy\npejorative\nPeking\nPelham\npelican\npellagra\npellet\npelt\npeltry\npelvic\npelvis\nPembroke\npemmican\npen\npenal\npenalty\npenance\npenates\npence\npenchant\npencil\npend\npendant\npendulum\nPenelope\npenetrable\npenetrate\npenguin\nPenh\npenicillin\npeninsula\npenitent\npenitential\npenitentiary\npenman\npenmen\nPenn\npenna\npennant\npenning\nPennsylvania\npenny\npennyroyal\nPenrose\nPensacola\npension\npensive\npent\npentagon\npentagonal\npentane\nPentecost\npentecostal\npenthouse\npenultimate\npenumbra\npenurious\npenury\npeony\npeople\nPeoria\npep\npeppergrass\npeppermint\npepperoni\npeppery\npepping\npeppy\nPepsi\nPepsiCo\npeptide\nper\nperceive\npercent\npercentage\npercentile\npercept\nperceptible\nperception\nperceptive\nperceptual\nperch\nperchance\nperchlorate\nPercival\npercolate\npercussion\npercussive\nPercy\nperdition\nperemptory\nperennial\nPerez\nperfect\nperfectible\nperfidious\nperfidy\nperforate\nperforce\nperform\nperformance\nperfume\nperfumery\nperfunctory\nperfusion\nPergamon\nperhaps\nPericlean\nPericles\nperidotite\nperihelion\nperil\nPerilla\nperilous\nperimeter\nperiod\nperiodic\nperipatetic\nperipheral\nperiphery\nperiphrastic\nperiscope\nperish\nperitectic\nperiwinkle\nperjure\nperjury\nperk\nPerkins\nperky\nPerle\npermalloy\npermanent\npermeable\npermeate\nPermian\npermissible\npermission\npermissive\npermit\npermitted\npermitting\npermutation\npermute\npernicious\nperoxide\nperpendicular\nperpetrate\nperpetual\nperpetuate\nperpetuity\nperplex\nperquisite\nPerry\npersecute\npersecution\npersecutory\nPerseus\nperseverance\npersevere\nPershing\nPersia\nPersian\npersiflage\npersimmon\npersist\npersistent\nperson\npersona\npersonage\npersonal\npersonify\npersonnel\nperspective\nperspicacious\nperspicous\nperspicuity\nperspicuous\nperspiration\nperspire\npersuade\npersuasion\npersuasive\npert\npertain\nPerth\npertinacious\npertinent\nperturb\nperturbate\nPeru\nperusal\nperuse\nPeruvian\npervade\npervasion\npervasive\nperverse\nperversion\npervert\npessimal\npessimism\npessimist\npessimum\npest\npeste\npesticide\npestilent\npestilential\npestle\npet\npetal\nPete\nPeter\nPeters\nPetersburg\nPetersen\nPeterson\npetit\npetite\npetition\npetrel\npetri\npetrify\npetrochemical\npetroglyph\npetrol\npetroleum\npetrology\npetticoat\npetting\npetty\npetulant\npetunia\nPeugeot\npew\npewee\npewter\npfennig\nPfizer\nphagocyte\nphalanger\nphalanx\nphalarope\nphantasy\nphantom\npharmaceutic\npharmacist\npharmacology\npharmacopoeia\npharmacy\nphase\nPhD\npheasant\nPhelps\nphenol\nphenolic\nphenomena\nphenomenal\nphenomenology\nphenomenon\nphenotype\nphenyl\nphi\nPhil\nPhiladelphia\nphilanthrope\nphilanthropic\nphilanthropy\nphilharmonic\nPhilip\nPhilippine\nPhilistine\nPhillips\nphilodendron\nphilology\nphilosoph\nphilosophic\nphilosophy\nPhipps\nphloem\nphlox\nphobic\nphoebe\nPhoenicia\nphoenix\nphon\nphone\nphoneme\nphonemic\nphonetic\nphonic\nphonograph\nphonology\nphonon\nphony\nphosgene\nphosphate\nphosphide\nphosphine\nphosphor\nphosphoresce\nphosphorescent\nphosphoric\nphosphorus\nphoto\nphotogenic\nphotography\nphotolysis\nphotolytic\nphotometric\nphotometry\nphoton\nphrase\nphrasemake\nphraseology\nphthalate\nphycomycetes\nphyla\nPhyllis\nphylogeny\nphysic\nphysician\nPhysik\nphysiochemical\nphysiognomy\nphysiology\nphysiotherapist\nphysiotherapy\nphysique\nphytoplankton\npi\npianissimo\npianist\npiano\npiazza\npica\nPicasso\npicayune\nPiccadilly\npiccolo\npick\npickaxe\npickerel\nPickering\npicket\nPickett\nPickford\npickle\nPickman\npickoff\npickup\npicky\npicnic\npicnicked\npicnicker\npicnicking\npicofarad\npicojoule\npicosecond\npictorial\npicture\npicturesque\npiddle\npidgin\npie\npiece\npiecemeal\npiecewise\nPiedmont\npier\npierce\nPierre\nPierson\npietism\npiety\npiezoelectric\npig\npigeon\npigeonberry\npigeonfoot\npigeonhole\npigging\npiggish\npiggy\npigment\npigmentation\npigpen\npigroot\npigskin\npigtail\npike\nPilate\npile\npilewort\npilfer\npilferage\npilgrim\npilgrimage\npill\npillage\npillar\npillory\npillow\nPillsbury\npilot\npimp\npimple\npin\npinafore\npinball\npinch\npincushion\npine\npineapple\nPinehurst\nping\npinhead\npinhole\npinion\npink\npinkie\npinkish\npinnacle\npinnate\npinning\npinochle\npinpoint\npinscher\nPinsky\npint\npintail\npinto\npinwheel\npinxter\npion\npioneer\npious\npip\npipe\npipeline\nPiper\npipette\npipsissewa\npiquant\npique\npiracy\nPiraeus\npirate\npirogue\npirouette\nPiscataway\nPisces\npiss\npistachio\npistol\npistole\npiston\npit\npitch\npitchblende\npitchfork\npitchstone\npiteous\npitfall\npith\npithy\npitiable\npitiful\npitilessly\npitman\nPitney\nPitt\npitting\nPittsburgh\nPittsfield\nPittston\npituitary\npity\nPius\npivot\npivotal\npixel\npixy\npizza\npizzicato\nplacate\nplacater\nplace\nplaceable\nplacebo\nplaceholder\nplacenta\nplacental\nplacid\nplagiarism\nplagiarist\nplagioclase\nplague\nplagued\nplaguey\nplaid\nplain\nPlainfield\nplaintiff\nplaintive\nplan\nplanar\nPlanck\nplane\nplaneload\nplanet\nplanetaria\nplanetarium\nplanetary\nplanetesimal\nplanetoid\nplank\nplankton\nplanning\nplanoconcave\nplanoconvex\nplant\nplantain\nplantation\nplaque\nplasm\nplasma\nplasmon\nplaster\nplastic\nplastisol\nplastron\nplat\nplate\nplateau\nplatelet\nplaten\nplatform\nplatinize\nplatinum\nplatitude\nplatitudinous\nPlato\nplatonic\nPlatonism\nPlatonist\nplatoon\nPlatte\nplatting\nplausible\nplay\nplaya\nplayback\nplayboy\nplayful\nplayground\nplayhouse\nplaymate\nplayoff\nplayroom\nplaytime\nplaywright\nplaywriting\nplaza\nplea\nplead\npleasant\nplease\npleasure\npleat\nplebeian\nplebian\npledge\nPleiades\nPleistocene\nplenary\nplenipotentiary\nplenitude\nplentiful\nplenty\nplenum\nplethora\npleura\npleural\nPlexiglas\npliable\npliancy\npliant\npliers\nplight\nPliny\nPliocene\nplod\nplodding\nplop\nplopping\nplot\nplotting\nplover\nplow\nplowman\nplowshare\npluck\nplucky\nplug\npluggable\nplugging\nplum\nplumage\nplumb\nplumbago\nplumbate\nplume\nplummet\nplump\nplunder\nplunge\nplunk\nplural\nplus\nplush\nplushy\nPlutarch\nPluto\nplutonium\nply\nPlymouth\nplyscore\nplywood\nPM\npneumatic\npneumonia\nPo\npoach\npocket\npocketbook\npocketful\nPocono\npod\npodge\npodia\npodium\nPoe\npoem\npoesy\npoet\npoetic\npoetry\npogo\npogrom\npoi\npoignant\nPoincare\npoinsettia\npoint\npoise\npoison\npoisonous\nPoisson\npoke\npokerface\npol\nPoland\npolar\npolarimeter\npolarimetry\nPolaris\npolariscope\npolariton\npolarogram\npolarograph\npolarography\nPolaroid\npolaron\npole\npolecat\npolemic\npolice\npoliceman\npolicemen\npolicy\npolio\npolis\npolish\nPolitburo\npolite\npolitic\npolitician\npoliticking\npolitico\npolity\nPolk\npolka\npoll\nPollard\npollcadot\npollen\npollock\npolloi\npollutant\npollute\npollution\nPollux\npolo\npolonaise\npolonium\npolopony\npolygon\npolygonal\npolygynous\npolyhedra\npolyhedral\npolyhedron\nPolyhymnia\npolymer\npolymerase\npolymeric\npolymorph\npolymorphic\npolynomial\nPolyphemus\npolyphony\npolypropylene\npolytechnic\npolytope\npolytypy\npomade\npomegranate\nPomona\npomp\npompadour\npompano\nPompeii\npompey\npompon\npomposity\npompous\nPonce\nPonchartrain\nponcho\npond\nponder\nponderous\npong\npont\nPontiac\npontiff\npontific\npontificate\npony\npooch\npoodle\npooh\npool\nPoole\npoop\npoor\npop\npope\npopish\npoplar\npoplin\npopping\npoppy\npopulace\npopular\npopulate\npopulous\nporcelain\nporch\nporcine\nporcupine\npore\npork\npornographer\npornography\nporosity\nporous\nporphyry\nporpoise\nporridge\nport\nportage\nportal\nPorte\nportend\nportent\nportentous\nporterhouse\nportfolio\nPortia\nportico\nportland\nportmanteau\nPorto\nportrait\nportraiture\nportray\nportrayal\nPortsmouth\nPortugal\nPortuguese\nportulaca\npose\nPoseidon\nposeur\nposey\nposh\nposit\nposition\npositive\npositron\nposse\nposseman\npossemen\npossess\npossession\npossessive\npossessor\npossible\npossum\npost\npostage\npostal\npostcard\npostcondition\npostdoctoral\nposterior\nposteriori\nposterity\npostfix\npostgraduate\nposthumous\npostlude\npostman\npostmark\npostmaster\npostmen\npostmortem\npostmultiply\npostoperative\npostorder\npostpone\npostprocess\npostprocessor\npostscript\npostulate\nposture\npostwar\nposy\npot\npotable\npotash\npotassium\npotato\npotatoes\npotbelly\npotboil\npotent\npotentate\npotential\npotentiometer\npothole\npotion\npotlatch\nPotomac\npotpourri\npottery\npotting\nPotts\npouch\nPoughkeepsie\npoultice\npoultry\npounce\npound\npour\npout\npoverty\npow\npowder\npowderpuff\npowdery\nPowell\npower\npowerful\nPowers\nPoynting\nppm\npracticable\npractical\npractice\npractise\npractitioner\nPrado\npragmatic\npragmatism\npragmatist\nPrague\nprairie\npraise\npraiseworthy\npram\nprance\nprank\npraseodymium\nPratt\nPravda\npray\nprayer\nprayerful\npreach\npreachy\npreamble\nPrecambrian\nprecarious\nprecaution\nprecautionary\nprecede\nprecedent\nprecept\nprecess\nprecession\nprecinct\nprecious\nprecipice\nprecipitable\nprecipitate\nprecipitous\nprecise\nprecision\npreclude\nprecocious\nprecocity\nprecursor\npredatory\npredecessor\npredicament\npredicate\npredict\npredictor\npredilect\npredispose\npredisposition\npredominant\npredominate\npreeminent\npreempt\npreemption\npreemptive\npreemptor\npreen\nprefab\nprefabricate\npreface\nprefatory\nprefect\nprefecture\nprefer\npreference\npreferential\npreferred\npreferring\nprefix\npregnant\nprehistoric\nprejudice\nprejudicial\npreliminary\nprelude\npremature\npremeditate\npremier\npremiere\npremise\npremium\npremonition\npremonitory\nPrentice\npreoccupy\nprep\npreparation\npreparative\npreparatory\nprepare\npreponderant\npreponderate\npreposition\npreposterous\nprepping\nprerequisite\nprerogative\npresage\nPresbyterian\nPrescott\nprescribe\nprescript\nprescription\nprescriptive\npresence\npresent\npresentation\npresentational\npreservation\npreserve\npreside\npresident\npresidential\npress\npressure\nprestidigitate\nprestige\nprestigious\npresto\nPreston\npresume\npresumed\npresuming\npresumption\npresumptive\npresumptuous\npresuppose\npresupposition\npretend\npretense\npretension\npretentious\npretext\nPretoria\npretty\nprevail\nprevalent\nprevent\nprevention\npreventive\npreview\nprevious\nprexy\nprey\nPriam\nprice\nprick\nprickle\npride\npriest\nPriestley\nprig\npriggish\nprim\nprima\nprimacy\nprimal\nprimary\nprimate\nprime\nprimeval\nprimitive\nprimitivism\nprimp\nprimrose\nprince\nprincess\nPrinceton\nprincipal\nPrincipia\nprinciple\nprint\nprintmake\nprintout\nprior\npriori\npriory\nPriscilla\nprism\nprismatic\nprison\nprissy\npristine\nPritchard\nprivacy\nprivate\nprivet\nprivilege\nprivy\nprize\nprizewinning\npro\nprobabilist\nprobate\nprobe\nprobity\nproblem\nproblematic\nprocaine\nprocedural\nprocedure\nproceed\nprocess\nprocession\nprocessor\nproclaim\nproclamation\nproclivity\nprocrastinate\nprocreate\nprocrustean\nProcrustes\nProcter\nproctor\nprocure\nProcyon\nprod\nprodding\nprodigal\nprodigious\nprodigy\nproduce\nproducible\nproduct\nproductivity\nProf\nprofane\nprofess\nprofession\nprofessional\nprofessor\nprofessorial\nproffer\nproficient\nprofile\nprofit\nprofligate\nprofound\nprofundity\nprofuse\nprofusion\nprogenitor\nprogeny\nprognosis\nprognosticate\nprogrammable\nprogrammed\nprogrammer\nprogramming\nprogress\nprogression\nprogressive\nprohibit\nprohibition\nprohibitive\nprohibitory\nproject\nprojectile\nprojector\nProkofieff\nprolate\nproletariat\nproliferate\nprolific\nprolix\nprologue\nprolong\nprolongate\nprolusion\npromenade\nPromethean\nPrometheus\npromethium\nprominent\npromiscuous\npromise\npromote\npromotion\nprompt\npromptitude\npromulgate\nprone\nprong\npronoun\npronounce\npronounceable\npronto\npronunciation\nproof\nproofread\nprop\npropaganda\npropagandist\npropagate\npropane\npropel\npropellant\npropelled\npropeller\npropelling\npropensity\nproper\nproperty\nprophecy\nprophesy\nprophet\nprophetic\npropionate\npropitiate\npropitious\nproponent\nproportion\nproportionate\npropos\nproposal\npropose\nproposition\npropping\nproprietary\nproprietor\npropriety\nproprioception\nproprioceptive\npropulsion\npropyl\npropylene\nprorate\nprorogue\nprosaic\nproscenium\nproscribe\nproscription\nprose\nprosecute\nprosecution\nprosecutor\nProserpine\nprosodic\nprosody\nprosopopoeia\nprospect\nprospector\nprospectus\nprosper\nprosperous\nprostate\nprosthetic\nprostitute\nprostitution\nprostrate\nprotactinium\nprotagonist\nprotean\nprotease\nprotect\nprotector\nprotectorate\nprotege\nprotein\nproteolysis\nproteolytic\nprotest\nprotestant\nprotestation\nprothonotary\nprotocol\nproton\nprotoplasm\nprotoplasmic\nprototype\nprototypic\nProtozoa\nprotozoan\nprotract\nprotrude\nprotrusion\nprotrusive\nprotuberant\nproud\nProust\nprove\nproven\nprovenance\nproverb\nproverbial\nprovide\nprovident\nprovidential\nprovince\nprovincial\nprovision\nprovisional\nproviso\nprovocateur\nprovocation\nprovocative\nprovoke\nprovost\nprow\nprowess\nprowl\nproximal\nproximate\nproximity\nproxy\nprudent\nprudential\nprune\nprurient\nPrussia\npry\np's\npsalm\npsalter\npseudo\npsi\npsych\npsyche\npsychiatric\npsychiatrist\npsychiatry\npsychic\npsycho\npsychoacoustic\npsychoanalysis\npsychoanalyst\npsychoanalytic\npsychobiology\npsychology\npsychometric\npsychometry\npsychopath\npsychopathic\npsychophysic\npsychophysical\npsychophysics\npsychophysiology\npsychopomp\npsychoses\npsychosis\npsychosomatic\npsychotherapeutic\npsychotherapist\npsychotherapy\npsychotic\npsyllium\nPTA\nptarmigan\nPtolemaic\nPtolemy\npub\npuberty\npubescent\npublic\npublication\npublish\nPuccini\npuck\npuckish\npudding\npuddingstone\npuddle\npuddly\npueblo\npuerile\nPuerto\npuff\npuffball\npuffed\npuffery\npuffin\npuffy\npug\nPugh\npuissant\npuke\nPulaski\nPulitzer\npull\npulley\nPullman\npullover\npulmonary\npulp\npulpit\npulsar\npulsate\npulse\npulverable\npuma\npumice\npummel\npump\npumpkin\npumpkinseed\npun\npunch\npunctual\npunctuate\npuncture\npundit\npunditry\npungent\nPunic\npunish\npunitive\npunk\npunky\npunning\npunster\npunt\npuny\npup\npupal\npupate\npupil\npuppet\npuppeteer\npuppy\npuppyish\nPurcell\npurchasable\npurchase\nPurdue\npure\npurgation\npurgative\npurgatory\npurge\npurify\nPurina\nPuritan\npuritanic\npurl\npurloin\npurple\npurport\npurpose\npurposeful\npurposive\npurr\npurse\npurslane\npursuant\npursue\npursuer\npursuit\npurvey\npurveyor\npurview\npus\nPusan\nPusey\npush\npushbutton\npussy\npussycat\nput\nputative\nPutnam\nputt\nputty\npuzzle\nPVC\nPygmalion\npygmy\nPyhrric\npyknotic\nPyle\nPyongyang\npyracanth\npyramid\npyramidal\npyre\nPyrex\npyridine\npyrite\npyroelectric\npyrolyse\npyrolysis\npyrometer\npyrometry\npyrophosphate\npyrotechnic\npyroxene\npyroxenite\nPythagoras\nPythagorean\npython\nq\nQatar\nQED\nq's\nqua\nquack\nquackery\nquad\nquadrangle\nquadrangular\nquadrant\nquadratic\nquadrature\nquadrennial\nquadric\nquadriceps\nquadrilateral\nquadrille\nquadrillion\nquadripartite\nquadrivium\nquadruple\nquadrupole\nquaff\nquagmire\nquahog\nquail\nquaint\nquake\nQuakeress\nqualified\nqualify\nqualitative\nquality\nqualm\nquandary\nquanta\nQuantico\nquantify\nquantile\nquantitative\nquantity\nquantum\nquarantine\nquark\nquarrel\nquarrelsome\nquarry\nquarryman\nquarrymen\nquart\nquarterback\nquartermaster\nquartet\nquartic\nquartile\nquartz\nquartzite\nquasar\nquash\nquasi\nquasiparticle\nquaternary\nquatrain\nquaver\nquay\nqueasy\nQuebec\nqueen\nqueer\nquell\nquench\nquerulous\nquery\nquest\nquestion\nquestionnaire\nquetzal\nqueue\nQuezon\nquibble\nquick\nquicken\nquickie\nquicklime\nquicksand\nquicksilver\nquickstep\nquiescent\nquiet\nquietus\nquill\nquillwort\nquilt\nquince\nquinine\nQuinn\nquint\nquintet\nquintic\nquintillion\nquintus\nquip\nquipping\nQuirinal\nquirk\nquirky\nquirt\nquit\nquite\nQuito\nquitting\nquiver\nQuixote\nquixotic\nquiz\nquizzical\nquo\nquod\nquonset\nquorum\nquota\nquotation\nquote\nquotient\nr\nrabat\nrabbet\nrabbi\nrabbit\nrabble\nrabid\nrabies\nRabin\nraccoon\nrace\nracetrack\nraceway\nRachel\nRachmaninoff\nracial\nrack\nracket\nracketeer\nrackety\nracy\nradar\nRadcliffe\nradial\nradian\nradiant\nradiate\nradical\nradices\nradii\nradio\nradioactive\nradioastronomy\nradiocarbon\nradiochemical\nradiochemistry\nradiography\nradiology\nradiometer\nradiometric\nradiometry\nradiophysics\nradiosonde\nradiosterilize\nradiotherapy\nradish\nradium\nradius\nradix\nradon\nRae\nRafael\nRafferty\nraffia\nraffish\nraft\nrag\nrage\nragging\nragout\nragweed\nraid\nrail\nrailbird\nrailhead\nraillery\nrailroad\nrailway\nrain\nrainbow\nraincoat\nraindrop\nrainfall\nrainstorm\nrainy\nraise\nraisin\nraj\nrajah\nrake\nrakish\nRaleigh\nrally\nRalph\nRalston\nram\nRamada\nRaman\nramble\nramify\nramming\nRamo\nramp\nrampage\nrampant\nrampart\nramrod\nRamsey\nran\nranch\nrancho\nrancid\nrancorous\nRand\nRandall\nRandolph\nrandom\nrandy\nrang\nrange\nrangeland\nRangoon\nrangy\nRanier\nrank\nRankin\nrankle\nransack\nransom\nrant\nRaoul\nrap\nrapacious\nrape\nRaphael\nrapid\nrapier\nrapping\nrapport\nrapprochement\nrapt\nrapture\nrare\nrarefy\nRaritan\nrarity\nrasa\nrascal\nrash\nRasmussen\nrasp\nraspberry\nraster\nRastus\nrat\nrata\nrate\nrater\nrather\nratify\nratio\nratiocinate\nrationale\nrattail\nrattle\nrattlesnake\nraucous\nravage\nrave\nravel\nraven\nravenous\nravine\nravish\nraw\nrawboned\nrawhide\nRawlinson\nray\nRayleigh\nRaymond\nRaytheon\nraze\nrazor\nrazorback\nRCA\nR&D\nre\nreach\nreactant\nreactionary\nread\nreadout\nready\nReagan\nreagent\nreal\nrealisable\nrealm\nrealtor\nrealty\nream\nreap\nrear\nreason\nreave\nreb\nRebecca\nrebel\nrebelled\nrebelling\nrebellion\nrebellious\nrebuke\nrebut\nrebuttal\nrebutted\nrebutting\nrecalcitrant\nrecant\nrecappable\nrecede\nreceipt\nreceive\nrecent\nreceptacle\nreception\nreceptive\nreceptor\nrecess\nrecession\nrecessive\nrecherche\nRecife\nrecipe\nrecipient\nreciprocal\nreciprocate\nreciprocity\nrecital\nrecitative\nreck\nreckon\nreclamation\nrecline\nrecluse\nrecompense\nreconcile\nrecondite\nreconnaissance\nrecord\nrecoup\nrecourse\nrecovery\nrecriminate\nrecruit\nrectangle\nrectangular\nrectifier\nrectify\nrectilinear\nrectitude\nrector\nrectory\nrecumbent\nrecuperate\nrecur\nrecurred\nrecurrent\nrecurring\nrecursion\nrecursive\nrecusant\nrecuse\nred\nredact\nredactor\nredbird\nredbud\nredcoat\nredden\nreddish\nredeem\nredemption\nredemptive\nredhead\nRedmond\nredneck\nredound\nredpoll\nredshank\nredstart\nRedstone\nredtop\nreduce\nreducible\nreduct\nredundant\nredwood\nreed\nreedbuck\nreedy\nreef\nreek\nreel\nReese\nreeve\nReeves\nrefectory\nrefer\nreferee\nrefereeing\nreferenda\nreferendum\nreferent\nreferential\nreferral\nreferred\nreferring\nrefinery\nreflect\nreflectance\nreflector\nreflexive\nreforestation\nreformatory\nrefract\nrefractometer\nrefractory\nrefrain\nrefrigerate\nrefuge\nrefugee\nrefusal\nrefutation\nrefute\nregal\nregale\nregalia\nregard\nregatta\nregent\nregime\nregimen\nregiment\nregimentation\nRegina\nReginald\nregion\nregional\nRegis\nregistrable\nregistrant\nregistrar\nregistration\nregistry\nregress\nregression\nregret\nregretful\nregrettable\nregretted\nregretting\nregular\nregulate\nregulatory\nRegulus\nrehabilitate\nrehearsal\nrehearse\nReich\nReid\nreign\nReilly\nreimbursable\nreimburse\nrein\nreindeer\nreinforce\nReinhold\nreinstate\nreject\nrejoice\nrejoinder\nrelate\nrelax\nrelaxation\nrelay\nreleasable\nrelevant\nreliable\nreliant\nrelic\nrelict\nrelief\nrelieve\nreligion\nreligiosity\nreligious\nrelinquish\nreliquary\nrelish\nreluctant\nremainder\nreman\nremand\nremark\nRembrandt\nremediable\nremedial\nremedy\nremember\nremembrance\nRemington\nreminisce\nreminiscent\nremiss\nremission\nremit\nremittance\nremitted\nremitting\nremnant\nremonstrate\nremorse\nremorseful\nremote\nremoval\nremunerate\nRemus\nRena\nrenaissance\nrenal\nRenault\nrend\nrender\nrendezvous\nrendition\nrenegotiable\nrenewal\nRenoir\nrenounce\nrenovate\nrenown\nRensselaer\nrent\nrental\nrenunciate\nrep\nrepairman\nrepairmen\nreparation\nrepartee\nrepeal\nrepeat\nrepeater\nrepel\nrepelled\nrepellent\nrepelling\nrepent\nrepentant\nrepertoire\nrepertory\nrepetition\nrepetitious\nrepetitive\nreplaceable\nreplenish\nreplete\nreplica\nreplicate\nreport\nreportorial\nrepository\nreprehensible\nrepresentative\nrepression\nrepressive\nreprieve\nreprimand\nreprisal\nreprise\nreproach\nreptile\nreptilian\nrepublic\nrepublican\nrepudiate\nrepugnant\nrepulsion\nrepulsive\nreputation\nrepute\nrequest\nrequire\nrequisite\nrequisition\nrequited\nreredos\nrescind\nrescue\nresemblant\nresemble\nresent\nresentful\nreserpine\nreservation\nreserve\nreservoir\nreside\nresident\nresidential\nresidual\nresiduary\nresidue\nresiduum\nresign\nresignation\nresilient\nresin\nresinlike\nresiny\nresist\nresistant\nresistible\nresistive\nresistor\nresolute\nresolution\nresolve\nresonant\nresonate\nresorcinol\nresort\nresourceful\nrespect\nrespectful\nrespiration\nrespirator\nrespiratory\nrespire\nrespite\nresplendent\nrespond\nrespondent\nresponse\nresponsible\nresponsive\nrest\nrestaurant\nrestaurateur\nrestful\nrestitution\nrestive\nrestoration\nrestorative\nrestrain\nrestraint\nrestrict\nrestroom\nresult\nresultant\nresume\nresuming\nresumption\nresurgent\nresurrect\nresuscitate\nret\nretail\nretain\nretaliate\nretaliatory\nretard\nretardant\nretardation\nretch\nretention\nretentive\nreticent\nreticulate\nreticulum\nretina\nretinal\nretinue\nretire\nretiree\nretort\nretract\nretribution\nretrieval\nretrieve\nretroactive\nretrofit\nretrofitting\nretrograde\nretrogress\nretrogressive\nretrorocket\nretrospect\nretrovision\nreturn\nReub\nReuben\nReuters\nreveal\nrevel\nrevelation\nrevelatory\nrevelry\nrevenge\nrevenue\nrever\nreverberate\nrevere\nreverend\nreverent\nreverie\nreversal\nreverse\nreversible\nreversion\nrevert\nrevertive\nrevery\nrevet\nrevile\nrevisable\nrevisal\nrevise\nrevision\nrevisionary\nrevival\nrevive\nrevocable\nrevoke\nrevolt\nrevolution\nrevolutionary\nrevolve\nrevulsion\nrevved\nrevving\nreward\nRex\nReykjavik\nReynolds\nrhapsodic\nrhapsody\nRhea\nRhenish\nrhenium\nrheology\nrheostat\nrhesus\nrhetoric\nrhetorician\nrheum\nrheumatic\nrheumatism\nRhine\nrhinestone\nrhino\nrhinoceros\nrho\nRhoda\nRhode\nRhodes\nRhodesia\nrhodium\nrhododendron\nrhodolite\nrhodonite\nrhombi\nrhombic\nrhombus\nrhubarb\nrhyme\nrhythm\nrhythmic\nrib\nribald\nribbing\nribbon\nriboflavin\nribonucleic\nRica\nrice\nrich\nRichard\nRichards\nRichardson\nRichfield\nRichmond\nRichter\nrick\nrickets\nRickettsia\nrickety\nrickshaw\nRico\nricochet\nrid\nriddance\nridden\nridding\nriddle\nride\nridge\nridgepole\nRidgway\nridicule\nridiculous\nRiemann\nriffle\nrifle\nrifleman\nriflemen\nrift\nrig\nRigel\nrigging\nRiggs\nright\nrighteous\nrightful\nrightmost\nrightward\nrigid\nrigorous\nRiley\nrill\nrilly\nrim\nrime\nrimming\nrimy\nRinehart\nring\nringlet\nringside\nrink\nrinse\nRio\nRiordan\nriot\nriotous\nrip\nriparian\nripe\nripen\nRipley\nripoff\nripping\nripple\nrise\nrisen\nrisible\nrisk\nrisky\nRitchie\nrite\nRitter\nritual\nRitz\nrival\nrivalry\nriven\nriver\nriverbank\nriverfront\nriverine\nriverside\nrivet\nRiviera\nrivulet\nRiyadh\nroach\nroad\nroadbed\nroadblock\nroadhouse\nroadside\nroadster\nroadway\nroam\nroar\nroast\nrob\nrobbery\nrobbin\nrobbing\nRobbins\nrobe\nRobert\nRoberta\nRoberto\nRoberts\nRobertson\nrobin\nRobinson\nrobot\nrobotics\nrobust\nRochester\nrock\nrockabye\nrockaway\nrockbound\nRockefeller\nrocket\nRockford\nRockies\nRockland\nrocklike\nRockwell\nrocky\nrococo\nrod\nrode\nrodent\nrodeo\nRodgers\nRodney\nRodriguez\nroe\nroebuck\nRoentgen\nRoger\nRogers\nrogue\nroil\nroister\nRoland\nrole\nroll\nrollback\nrollick\nRollins\nRoman\nromance\nRomano\nromantic\nRome\nRomeo\nromp\nRomulus\nRon\nRonald\nrondo\nRonnie\nrood\nroof\nrooftop\nrooftree\nrook\nrookie\nrooky\nroom\nroomful\nroommate\nroomy\nRoosevelt\nRooseveltian\nroost\nroot\nrope\nRosa\nRosalie\nrosary\nrose\nrosebud\nrosebush\nRoseland\nrosemary\nRosen\nRosenberg\nRosenblum\nRosenthal\nRosenzweig\nrosette\nRoss\nroster\nrostrum\nrosy\nrot\nRotarian\nrotary\nrotate\nROTC\nrotenone\nRoth\nrotogravure\nrotor\nrototill\nrotten\nrotting\nrotund\nrotunda\nrouge\nrough\nroughcast\nroughen\nroughish\nroughneck\nroughshod\nroulette\nround\nroundabout\nroundhead\nroundhouse\nroundoff\nroundtable\nroundup\nroundworm\nrouse\nRousseau\nroustabout\nrout\nroute\nroutine\nrove\nrow\nrowboat\nrowdy\nRowe\nRowena\nRowland\nRowley\nRoy\nroyal\nroyalty\nRoyce\nRPM\nr's\nRSVP\nRuanda\nrub\nrubbery\nrubbing\nrubbish\nrubble\nrubdown\nRube\nRuben\nrubicund\nrubidium\nrubric\nruby\nruckus\nrudder\nruddy\nrude\nrudiment\nrudimentary\nRudolf\nRudolph\nRudy\nRudyard\nrue\nrueful\nruffian\nruffle\nrufous\nRufus\nrug\nruin\nruinous\nrule\nrum\nRumania\nrumble\nrumen\nRumford\nruminant\nrummage\nrummy\nrump\nrumple\nrumpus\nrun\nrunabout\nrunaway\nrundown\nrune\nrung\nRunge\nrunic\nrunneth\nrunning\nRunnymede\nrunoff\nrunt\nrunty\nrunway\nRunyon\nrupee\nrupture\nrural\nruse\nrush\nRushmore\nrusk\nRuss\nRussell\nrusset\nRussia\nRusso\nrussula\nrust\nrustic\nrustle\nrustproof\nrusty\nrut\nrutabaga\nRutgers\nRuth\nruthenium\nRutherford\nruthless\nrutile\nRutland\nRutledge\nrutting\nrutty\nRwanda\nRyan\nRydberg\nRyder\nrye\ns\nsa\nsabbath\nsabbatical\nSabina\nSabine\nsable\nsabotage\nsabra\nsac\nsachem\nsack\nsacral\nsacrament\nSacramento\nsacred\nsacrifice\nsacrificial\nsacrilege\nsacrilegious\nsacrosanct\nsad\nsadden\nsaddle\nsaddlebag\nSadie\nsadism\nsadist\nSadler\nsafari\nsafe\nsafeguard\nsafekeeping\nsafety\nsaffron\nsag\nsaga\nsagacious\nsagacity\nsage\nsagebrush\nsagging\nSaginaw\nsagittal\nSagittarius\nsago\nsaguaro\nSahara\nsaid\nSaigon\nsail\nsailboat\nsailfish\nsailor\nsaint\nsainthood\nsake\nSal\nSalaam\nsalacious\nsalad\nsalamander\nsalami\nsalaried\nsalary\nsale\nSalem\nSalerno\nsalesgirl\nSalesian\nsaleslady\nsalesman\nsalesmen\nsalesperson\nsalient\nSalina\nsaline\nSalisbury\nSalish\nsaliva\nsalivary\nsalivate\nSalk\nSalle\nsallow\nsally\nsalmon\nsalmonberry\nsalon\nsaloon\nsaloonkeep\nsalsify\nsalt\nsaltbush\nsaltwater\nsalty\nsalubrious\nsalutary\nsalutation\nsalute\nSalvador\nsalvage\nsalvageable\nsalvation\nSalvatore\nsalve\nsalvo\nSam\nsamarium\nsamba\nsame\nSammy\nSamoa\nsamovar\nsample\nSampson\nSamson\nSamuel\nSamuelson\nSan\nSana\nsanatoria\nsanatorium\nSanborn\nSanchez\nSancho\nsanctify\nsanctimonious\nsanction\nsanctity\nsanctuary\nsand\nsandal\nsandalwood\nsandbag\nsandblast\nSandburg\nsanderling\nSanders\nSanderson\nsandhill\nSandia\nsandman\nsandpaper\nsandpile\nsandpiper\nSandra\nsandstone\nSandusky\nsandwich\nsandy\nsane\nSanford\nsang\nsangaree\nsanguinary\nsanguine\nsanguineous\nSanhedrin\nsanicle\nsanitarium\nsanitary\nsanitate\nsank\nsans\nSanta\nSantayana\nSantiago\nSanto\nSao\nsap\nsapiens\nsapient\nsapling\nsaponify\nsapphire\nsapping\nsappy\nsapsucker\nSara\nSaracen\nSarah\nSaran\nSarasota\nSaratoga\nsarcasm\nsarcastic\nsarcoma\nsardine\nsardonic\nSargent\nsari\nsarsaparilla\nsarsparilla\nsash\nsashay\nSaskatchewan\nsassafras\nsat\nsatan\nsatanic\nsatellite\nsatiable\nsatiate\nsatiety\nsatin\nsatire\nsatiric\nsatisfaction\nsatisfactory\nsatisfy\nsaturable\nsaturate\nsaturater\nSaturday\nSaturn\nSaturnalia\nsaturnine\nsatyr\nsauce\nsaucepan\nsaucy\nSaud\nSaudi\nsauerkraut\nSaul\nSault\nSaunders\nsausage\nsaute\nsauterne\nsavage\nsavagery\nSavannah\nsavant\nsave\nSaviour\nSavonarola\nsavoy\nSavoyard\nsavvy\nsaw\nsawbelly\nsawdust\nsawfish\nsawfly\nsawmill\nsawtimber\nsawtooth\nsawyer\nsax\nsaxifrage\nSaxon\nSaxony\nsaxophone\nsay\nSC\nscab\nscabbard\nscabious\nscabrous\nscaffold\nScala\nscalar\nscald\nscale\nscallop\nscalp\nscamp\nscan\nscandal\nscandalous\nScandinavia\nscandium\nscanning\nscant\nscanty\nscapegoat\nscapula\nscapular\nscar\nScarborough\nscarce\nscare\nscarecrow\nscarf\nscarface\nscarify\nscarlet\nScarsdale\nscarves\nscary\nscat\nscathe\nscatterbrain\nscattergun\nscatting\nscaup\nscavenge\nscenario\nscene\nscenery\nscenic\nscent\nsceptic\nSchaefer\nSchafer\nSchantz\nschedule\nschelling\nschema\nschemata\nschematic\nscheme\nSchenectady\nscherzo\nSchiller\nschism\nschist\nschizoid\nschizomycetes\nschizophrenia\nschizophrenic\nSchlesinger\nschlieren\nSchlitz\nSchloss\nSchmidt\nSchmitt\nSchnabel\nschnapps\nSchneider\nSchoenberg\nSchofield\nscholar\nscholastic\nschool\nschoolbook\nschoolboy\nschoolgirl\nschoolgirlish\nschoolhouse\nschoolmarm\nschoolmaster\nschoolmate\nschoolroom\nschoolteacher\nschoolwork\nschooner\nSchottky\nSchroeder\nSchroedinger\nSchubert\nSchultz\nSchulz\nSchumacher\nSchumann\nSchuster\nSchuyler\nSchuylkill\nSchwab\nSchwartz\nSchweitzer\nsciatica\nscience\nscientific\nscientist\nscimitar\nscintillate\nscion\nscissor\nsclerosis\nsclerotic\nSCM\nscoff\nscold\nscoop\nscoot\nscope\nscopic\nscops\nscorch\nscore\nscoreboard\nscorecard\nscoria\nscorn\nscornful\nScorpio\nscorpion\nScot\nscotch\nScotia\nScotland\nScotsman\nScotsmen\nScott\nScottish\nScottsdale\nScotty\nscoundrel\nscour\nscourge\nscout\nscowl\nscrabble\nscraggly\nscram\nscramble\nscramming\nScranton\nscrap\nscrapbook\nscrape\nscrapping\nscratch\nscratchy\nscrawl\nscrawny\nscream\nscreech\nscreechy\nscreed\nscreen\nscreenplay\nscrew\nscrewball\nscrewbean\nscrewdriver\nscrewworm\nscribble\nscribe\nScribners\nscrim\nscrimmage\nScripps\nscript\nscription\nscriptural\nscripture\nscriven\nscroll\nscrooge\nscrounge\nscrub\nscrubbing\nscrumptious\nscruple\nscrupulosity\nscrupulous\nscrutable\nscrutiny\nscuba\nscud\nscudding\nscuff\nscuffle\nscull\nsculpin\nsculpt\nsculptor\nsculptural\nsculpture\nscum\nscurrilous\nscurry\nscurvy\nscuttle\nscutum\nScylla\nscythe\nScythia\nSD\nsea\nseaboard\nseacoast\nseafare\nseafood\nSeagram\nseagull\nseahorse\nseal\nsealant\nseam\nseaman\nseamen\nseamy\nSean\nseance\nseaport\nseaquake\nsear\nsearch\nsearchlight\nSears\nseashore\nseaside\nseason\nseasonal\nseat\nseater\nSeattle\nseaward\nseaweed\nSebastian\nsec\nsecant\nsecede\nsecession\nseclude\nseclusion\nsecond\nsecondary\nsecondhand\nsecrecy\nsecret\nsecretarial\nsecretariat\nsecretary\nsecrete\nsecretion\nsecretive\nsect\nsectarian\nsection\nsector\nsecular\nsecure\nsedan\nsedate\nsedentary\nseder\nsedge\nsediment\nsedimentary\nsedimentation\nsedition\nseditious\nseduce\nseduction\nseductive\nsedulous\nsee\nseeable\nseed\nseedbed\nseedling\nseedy\nseeing\nseek\nseem\nseen\nseep\nseepage\nseersucker\nseethe\nsegment\nsegmentation\nSegovia\nsegregant\nsegregate\nSegundo\nSeidel\nseismic\nseismograph\nseismography\nseismology\nseize\nseizure\nseldom\nselect\nselectman\nselectmen\nselector\nSelectric\nSelena\nselenate\nselenite\nselenium\nself\nselfish\nSelfridge\nSelkirk\nsell\nseller\nsellout\nSelma\nseltzer\nselves\nSelwyn\nsemantic\nsemaphore\nsemblance\nsemester\nsemi\nseminal\nseminar\nseminarian\nseminary\nSeminole\nSemiramis\nSemite\nSemitic\nsemper\nsen\nsenate\nsenatorial\nsend\nSeneca\nSenegal\nsenile\nsenior\nsenor\nSenora\nsenorita\nsensate\nsense\nsensible\nsensitive\nsensor\nsensory\nsensual\nsensuous\nsent\nsentence\nsentential\nsentient\nsentiment\nsentinel\nsentry\nSeoul\nsepal\nseparable\nseparate\nsepia\nSepoy\nsept\nsepta\nseptate\nSeptember\nseptennial\nseptic\nseptillion\nseptuagenarian\nseptum\nsepuchral\nsepulchral\nsequel\nsequent\nsequential\nsequester\nsequestration\nsequin\nsequitur\nSequoia\nsera\nseraglio\nserape\nseraphim\nserenade\nserendipitous\nserene\nserge\nsergeant\nSergei\nserial\nseriatim\nseries\nserif\nserious\nsermon\nserology\nSerpens\nserpent\nserpentine\nserum\nservant\nserve\nservice\nserviceable\nserviceberry\nserviceman\nservicemen\nserviette\nservile\nservitor\nservo\nservomechanism\nsesame\nsession\nset\nsetback\nSeth\nSeton\nsetscrew\nsetting\nsettle\nsetup\nseven\nsevenfold\nseventeen\nseventeenth\nseventh\nseventieth\nseventy\nsever\nseveral\nseveralfold\nseveralty\nsevere\nSevern\nSeville\nsew\nsewage\nSeward\nsewerage\nsewn\nsex\nSextans\nsextet\nsextillion\nsexton\nsextuple\nsextuplet\nsexual\nsexy\nSeymour\nsforzando\nshabby\nshack\nshackle\nshad\nshadbush\nshade\nshadflower\nshadow\nshadowy\nshady\nShafer\nShaffer\nshaft\nshag\nshagbark\nshagging\nshaggy\nshah\nshake\nshakeable\nshakedown\nshaken\nShakespeare\nShakespearean\nShakespearian\nshako\nshaky\nshale\nshall\nshallot\nshallow\nshalom\nsham\nshamble\nshame\nshameface\nshameful\nshampoo\nshamrock\nShanghai\nshank\nShannon\nshan't\nShantung\nshanty\nshape\nShapiro\nshard\nshare\nsharecrop\nshareholder\nShari\nshark\nSharon\nsharp\nSharpe\nsharpen\nsharpshoot\nShasta\nshatter\nshatterproof\nShattuck\nshave\nshaven\nshaw\nshawl\nShawnee\nshay\nshe\nShea\nsheaf\nshear\nShearer\nsheath\nsheathe\nsheave\nshe'd\nshed\nshedding\nShedir\nSheehan\nsheen\nsheep\nsheepskin\nsheer\nsheet\nSheffield\nsheik\nSheila\nShelby\nSheldon\nshelf\nshe'll\nshell\nShelley\nshelter\nShelton\nshelve\nShenandoah\nshenanigan\nShepard\nshepherd\nSheppard\nSheraton\nsherbet\nSheridan\nsheriff\nSherlock\nSherman\nSherrill\nsherry\nSherwin\nSherwood\nshibboleth\nshied\nshield\nShields\nshift\nshifty\nshill\nShiloh\nshim\nshimming\nshimmy\nshin\nshinbone\nshine\nshingle\nShinto\nshiny\nship\nshipboard\nshipbuild\nshipbuilding\nshiplap\nShipley\nshipman\nshipmate\nshipmen\nshipping\nshipshape\nshipwreck\nshipyard\nshire\nshirk\nShirley\nshirt\nshirtmake\nshish\nshitepoke\nshiv\nshiver\nshivery\nshoal\nshock\nShockley\nshod\nshoddy\nshoe\nshoehorn\nshoelace\nshoemake\nshoestring\nshoji\nshone\nshoo\nshoofly\nshook\nshoot\nshop\nshopkeep\nshopping\nshopworn\nshore\nshoreline\nshort\nshortage\nshortcoming\nshortcut\nshorten\nshortfall\nshorthand\nshortish\nshortsighted\nshortstop\nshot\nshotbush\nshotgun\nshould\nshoulder\nshouldn't\nshout\nshove\nshovel\nshow\nshowboat\nshowcase\nshowdown\nshowman\nshowmen\nshown\nshowpiece\nshowplace\nshowroom\nshowy\nshrank\nshrapnel\nshred\nshredding\nShreveport\nshrew\nshrewd\nshrewish\nshriek\nshrift\nshrike\nshrill\nshrilly\nshrimp\nshrine\nshrink\nshrinkage\nshrive\nshrivel\nshroud\nshrove\nshrub\nshrubbery\nshrug\nshrugging\nshrunk\nshrunken\nShu\nshuck\nshudder\nshuddery\nshuffle\nshuffleboard\nShulman\nshun\nshunning\nshunt\nshut\nshutdown\nshutoff\nshutout\nshutting\nshuttle\nshuttlecock\nshy\nShylock\nsial\nSIAM\nSiamese\nSian\nsib\nSiberia\nsibilant\nSibley\nsibling\nsibyl\nsic\nSicilian\nSicily\nsick\nsicken\nsickish\nsickle\nsicklewort\nsickroom\nside\nsidearm\nsideband\nsideboard\nsidecar\nsidelight\nsideline\nsidelong\nsideman\nsidemen\nsidereal\nsiderite\nsidesaddle\nsideshow\nsidestep\nsidestepping\nsidetrack\nsidewalk\nsidewall\nsideway\nsidewinder\nsidewise\nsidle\nSidney\nsiege\nSiegel\nSiegfried\nSieglinda\nSiegmund\nSiemens\nsienna\nsierra\nsiesta\nsieve\nsift\nsigh\nsight\nsightsee\nsightseeing\nsightseer\nsigma\nSigmund\nsign\nsignal\nsignature\nsignboard\nsignet\nsignificant\nsignify\nSignor\nSignora\nsignpost\nSikorsky\nsilage\nsilane\nSilas\nsilent\nsilhouette\nsilica\nsilicate\nsiliceous\nsilicic\nsilicide\nsilicon\nsilicone\nsilk\nsilken\nsilkworm\nsilky\nsill\nsilly\nsilo\nsilt\nsiltation\nsiltstone\nsilty\nsilver\nSilverman\nsilversmith\nsilverware\nsilvery\nsima\nsimilar\nsimile\nsimilitude\nsimmer\nSimmons\nSimon\nSimons\nSimonson\nsimper\nsimple\nsimplectic\nsimpleminded\nsimpleton\nsimplex\nsimplicity\nsimplify\nsimplistic\nsimply\nSimpson\nSims\nsimulate\nsimulcast\nsimultaneity\nsimultaneous\nsin\nSinai\nsince\nsincere\nSinclair\nsine\nsinew\nsinewy\nsinful\nsing\nsingable\nSingapore\nsinge\nsingle\nsinglehanded\nsinglet\nsingleton\nsingsong\nsingular\nsinh\nsinister\nsinistral\nsink\nsinkhole\nsinning\nsinter\nsinuous\nsinus\nsinusoid\nsinusoidal\nSioux\nsip\nsipping\nsir\nsire\nsiren\nSirius\nsis\nsisal\nsiskin\nsister\nSistine\nSisyphean\nSisyphus\nsit\nsite\nsitting\nsitu\nsituate\nsitus\nsiva\nsix\nsixfold\nsixgun\nsixteen\nsixteenth\nsixth\nsixtieth\nsixty\nsize\nsizzle\nskat\nskate\nskater\nskeet\nskeletal\nskeleton\nskeptic\nsketch\nsketchbook\nsketchpad\nsketchy\nskew\nski\nskid\nskidding\nskiddy\nskied\nskiff\nskill\nskillet\nskillful\nskim\nskimming\nskimp\nskimpy\nskin\nskindive\nskinning\nskinny\nskip\nskipjack\nskipping\nSkippy\nskirmish\nskirt\nskit\nskittle\nskulk\nskull\nskullcap\nskullduggery\nskunk\nsky\nSkye\nskyhook\nskyjack\nskylark\nskylight\nskyline\nskyrocket\nskyscrape\nskyward\nskywave\nskyway\nslab\nslack\nslacken\nsladang\nslag\nslain\nslake\nslam\nslamming\nslander\nslanderous\nslang\nslant\nslap\nslapping\nslapstick\nslash\nslat\nslate\nslater\nslatting\nslaughter\nslaughterhouse\nSlav\nslave\nslavery\nSlavic\nslavish\nslay\nsled\nsledding\nsledge\nsledgehammer\nsleek\nsleep\nsleepwalk\nsleepy\nsleet\nsleety\nsleeve\nsleigh\nsleight\nslender\nslept\nsleuth\nslew\nslice\nslick\nslid\nslide\nslight\nslim\nslime\nslimy\nsling\nslingshot\nslip\nslippage\nslippery\nslipping\nslit\nslither\nslitting\nsliver\nslivery\nSloan\nSloane\nslob\nSlocum\nsloe\nslog\nslogan\nsloganeer\nslogging\nsloop\nslop\nslope\nslopping\nsloppy\nslosh\nslot\nsloth\nslothful\nslouch\nslough\nsloven\nslow\nslowdown\nsludge\nslug\nslugging\nsluggish\nsluice\nslum\nslumber\nslumming\nslump\nslung\nslur\nslurp\nslurring\nslurry\nsly\nsmack\nsmall\nsmaller\nSmalley\nsmallish\nsmallpox\nsmalltime\nsmart\nsmash\nsmattering\nsmear\nsmell\nsmelt\nsmile\nsmirk\nsmith\nsmithereens\nSmithfield\nSmithson\nSmithsonian\nsmithy\nsmitten\nsmog\nsmoke\nsmokehouse\nsmokescreen\nsmokestack\nsmoky\nsmolder\nsmooch\nsmooth\nsmoothbore\nsmother\nSmucker\nsmudge\nsmudgy\nsmug\nsmuggle\nsmut\nsmutty\nSmyrna\nSmythe\nsnack\nsnafu\nsnag\nsnagging\nsnail\nsnake\nsnakebird\nsnakelike\nsnakeroot\nsnap\nsnapback\nsnapdragon\nsnapping\nsnappish\nsnappy\nsnapshot\nsnare\nsnark\nsnarl\nsnatch\nsnazzy\nsneak\nsneaky\nsneer\nsneeze\nsnell\nsnick\nSnider\nsniff\nsniffle\nsniffly\nsnifter\nsnigger\nsnip\nsnipe\nsnippet\nsnippy\nsnivel\nsnob\nsnobbery\nsnobbish\nsnook\nsnoop\nsnoopy\nsnore\nsnorkel\nsnort\nsnotty\nsnout\nsnow\nsnowball\nsnowfall\nsnowflake\nsnowstorm\nsnowy\nsnub\nsnubbing\nsnuff\nsnuffer\nsnuffle\nsnuffly\nsnug\nsnuggle\nsnuggly\nsnyaptic\nSnyder\nso\nsoak\nsoap\nsoapstone\nsoapsud\nsoapy\nsoar\nsob\nsobbing\nsober\nsobriety\nsobriquet\nsoccer\nsociable\nsocial\nsocietal\nSociete\nsociety\nsocioeconomic\nsociology\nsociometric\nsociometry\nsock\nsocket\nsockeye\nSocrates\nSocratic\nsod\nsoda\nsodden\nsodding\nsodium\nsofa\nsoffit\nSofia\nsoft\nsoftball\nsoften\nsoftware\nsoftwood\nsoggy\nsoignee\nsoil\nsoiree\nsojourn\nSol\nsolace\nsolar\nsold\nsolder\nsoldier\nsoldiery\nsole\nsolecism\nsolemn\nsolemnity\nsolenoid\nsolicit\nsolicitation\nsolicitor\nsolicitous\nsolicitude\nsolid\nsolidarity\nsolidify\nsoliloquy\nsolipsism\nsolitary\nsolitude\nsolo\nSolomon\nSolon\nsolstice\nsoluble\nsolute\nsolution\nsolvate\nsolve\nsolvent\nsoma\nsomal\nSomali\nsomatic\nsomber\nsombre\nsome\nsomebody\nsomebody'll\nsomeday\nsomehow\nsomeone\nsomeone'll\nsomeplace\nSomers\nsomersault\nSomerset\nSomerville\nsomething\nsometime\nsomewhat\nsomewhere\nsommelier\nSommerfeld\nsomnolent\nson\nsonar\nsonata\nsong\nsongbag\nsongbook\nsongful\nsonic\nsonnet\nsonny\nSonoma\nSonora\nsonority\nsonorous\nSony\nsoon\nsoot\nsooth\nsoothe\nsoothsay\nsoothsayer\nsop\nsophia\nSophie\nsophism\nsophisticate\nsophistry\nSophoclean\nSophocles\nsophomore\nsophomoric\nsopping\nsoprano\nsora\nsorb\nsorcery\nsordid\nsore\nSorensen\nSorenson\nsorghum\nsorority\nsorption\nsorrel\nsorrow\nsorrowful\nsorry\nsort\nsortie\nsou\nsouffle\nsought\nsoul\nsoulful\nsound\nsoundproof\nsoup\nsour\nsourberry\nsource\nsourdough\nsourwood\nSousa\nsoutane\nsouth\nSouthampton\nsouthbound\nsoutheast\nsoutheastern\nsouthern\nsouthernmost\nSouthey\nsouthland\nsouthpaw\nsouthward\nsouthwest\nsouthwestern\nsouvenir\nsovereign\nsovereignty\nsoviet\nsovkhoz\nsow\nsowbelly\nsown\nsoy\nsoya\nsoybean\nspa\nspace\nspacecraft\nspacesuit\nspacious\nspade\nspaghetti\nSpain\nspalding\nspan\nspandrel\nspangle\nSpaniard\nspaniel\nSpanish\nspanning\nspar\nspare\nsparge\nspark\nsparkle\nSparkman\nsparky\nsparling\nsparring\nsparrow\nsparse\nSparta\nSpartan\nspasm\nspastic\nspat\nspate\nspatial\nspatlum\nspatterdock\nspatula\nSpaulding\nspavin\nspawn\nspay\nspayed\nspeak\nspeakeasy\nspear\nspearhead\nspearmint\nspec\nspecial\nspecie\nspecies\nspecific\nspecify\nspecimen\nspecious\nspeck\nspeckle\nspectacle\nspectacular\nspectator\nSpector\nspectra\nspectral\nspectrogram\nspectrograph\nspectrography\nspectrometer\nspectrometric\nspectrometry\nspectrophotometer\nspectrophotometric\nspectrophotometry\nspectroscope\nspectroscopic\nspectroscopy\nspectrum\nspecular\nspeculate\nsped\nspeech\nspeed\nspeedboat\nspeedometer\nspeedup\nspeedwell\nspeedy\nspell\nspellbound\nSpencer\nSpencerian\nspend\nspent\nsperm\nspermatophyte\nSperry\nspew\nsphagnum\nsphalerite\nsphere\nspheric\nspheroid\nspheroidal\nspherule\nsphinx\nSpica\nspice\nspicebush\nspicy\nspider\nspiderwort\nspidery\nSpiegel\nspigot\nspike\nspikenard\nspiky\nspill\nspilt\nspin\nspinach\nspinal\nspindle\nspine\nspinnaker\nspinneret\nspinning\nspinodal\nspinoff\nspinster\nspiny\nspiral\nspire\nspirit\nspiritual\nSpiro\nspit\nspite\nspiteful\nspitfire\nspitting\nspittle\nspitz\nsplash\nsplashy\nsplat\nsplay\nsplayed\nspleen\nspleenwort\nsplendid\nsplenetic\nsplice\nspline\nsplint\nsplintery\nsplit\nsplitting\nsplotch\nsplotchy\nsplurge\nsplutter\nspoil\nspoilage\nSpokane\nspoke\nspoken\nspokesman\nspokesmen\nsponge\nspongy\nsponsor\nspontaneity\nspontaneous\nspoof\nspook\nspooky\nspool\nspoon\nspoonful\nsporadic\nspore\nsport\nsportsman\nsportsmen\nsportswear\nsportswriter\nsportswriting\nsporty\nspot\nspotlight\nspotting\nspotty\nspouse\nspout\nSprague\nsprain\nsprang\nsprawl\nspray\nspread\nspree\nsprig\nsprightly\nspring\nspringboard\nspringe\nSpringfield\nspringtail\nspringtime\nspringy\nsprinkle\nsprint\nsprite\nsprocket\nSproul\nsprout\nspruce\nsprue\nsprung\nspud\nspume\nspumoni\nspun\nspunk\nspur\nspurge\nspurious\nspurn\nspurring\nspurt\nsputnik\nsputter\nspy\nspyglass\nsquabble\nsquad\nsquadron\nsqualid\nsquall\nsquamous\nsquander\nsquare\nsquash\nsquashberry\nsquashy\nsquat\nsquatting\nsquaw\nsquawbush\nsquawk\nsquawroot\nsqueak\nsqueaky\nsqueal\nsqueamish\nsqueegee\nsqueeze\nsquelch\nSquibb\nsquid\nsquill\nsquint\nsquire\nsquirehood\nsquirm\nsquirmy\nsquirrel\nsquirt\nsquishy\nSri\ns's\nSST\nSt\nSt.\nstab\nstabbing\nstabile\nstable\nstableman\nstablemen\nstaccato\nstack\nStacy\nstadia\nstadium\nstaff\nStafford\nstag\nstage\nstagecoach\nstagnant\nstagnate\nstagy\nStahl\nstaid\nstain\nstair\nstaircase\nstairway\nstairwell\nstake\nstalactite\nstale\nstalemate\nStaley\nStalin\nstalk\nstall\nstallion\nstalwart\nstamen\nStamford\nstamina\nstaminate\nstammer\nstamp\nstampede\nStan\nstance\nstanch\nstanchion\nstand\nstandard\nstandby\nstandeth\nStandish\nstandoff\nstandpoint\nstandstill\nStanford\nStanhope\nstank\nStanley\nstannic\nstannous\nStanton\nstanza\nstaph\nstaphylococcus\nstaple\nStapleton\nstar\nstarboard\nstarch\nstarchy\nstardom\nstare\nstarfish\nstargaze\nstark\nStarkey\nstarlet\nstarlight\nstarling\nStarr\nstarring\nstart\nstartle\nstartup\nstarvation\nstarve\nstash\nstasis\nstate\nStaten\nstater\nstateroom\nstatesman\nstatesmanlike\nstatesmen\nstatewide\nstatic\nstationarity\nstationary\nstationery\nstationmaster\nstatistician\nStatler\nstator\nstatuary\nstatue\nstatuette\nstature\nstatus\nstatute\nstatutory\nStauffer\nstaunch\nStaunton\nstave\nstay\nstayed\nstead\nsteadfast\nsteady\nsteak\nsteal\nstealth\nstealthy\nsteam\nsteamboat\nsteamy\nStearns\nsteed\nsteel\nSteele\nsteelmake\nsteely\nSteen\nsteep\nsteepen\nsteeple\nsteeplebush\nsteer\nsteeve\nStefan\nstein\nSteinberg\nSteiner\nstella\nstellar\nstem\nstemming\nstench\nstencil\nstenographer\nstenography\nstenotype\nstep\nstepchild\nStephanie\nstephanotis\nStephen\nStephens\nStephenson\nstepmother\nsteppe\nstepping\nsteprelation\nstepson\nstepwise\nsteradian\nstereo\nstereography\nstereoscopy\nsterile\nsterling\nstern\nsternal\nSterno\nsternum\nsteroid\nstethoscope\nStetson\nSteuben\nSteve\nstevedore\nSteven\nStevens\nStevenson\nstew\nsteward\nstewardess\nStewart\nstick\nstickle\nstickleback\nstickpin\nsticktight\nsticky\nstiff\nstiffen\nstifle\nstigma\nstigmata\nstile\nstiletto\nstill\nstillbirth\nstillwater\nstilt\nstimulant\nstimulate\nstimulatory\nstimuli\nstimulus\nsting\nstingy\nstink\nstinkpot\nstinky\nstint\nstipend\nstipple\nstipulate\nstir\nStirling\nstirring\nstirrup\nstitch\nstochastic\nstock\nstockade\nstockbroker\nstockholder\nStockholm\nstockpile\nstockroom\nStockton\nstocky\nstodgy\nstoic\nstoichiometric\nstoichiometry\nstoke\nStokes\nstole\nstolen\nstolid\nstomach\nstomp\nstone\nstonecrop\nStonehenge\nstonewall\nstoneware\nstonewort\nstony\nstood\nstooge\nstool\nstoop\nstop\nstopband\nstopcock\nstopgap\nstopover\nstoppage\nstopping\nstopwatch\nstorage\nstore\nstorehouse\nstorekeep\nstoreroom\nStorey\nstork\nstorm\nstormbound\nstormy\nstory\nstoryboard\nstoryteller\nstout\nstove\nstow\nstowage\nstrabismic\nstrabismus\nstraddle\nstrafe\nstraggle\nstraight\nstraightaway\nstraighten\nstraightforward\nstraightway\nstrain\nstrait\nstrand\nstrange\nstrangle\nstrangulate\nstrap\nstrapping\nstrata\nstratagem\nstrategic\nstrategist\nstrategy\nStratford\nstratify\nstratosphere\nstratospheric\nStratton\nstratum\nStrauss\nstraw\nstrawberry\nstrawflower\nstray\nstreak\nstream\nstreamline\nstreamside\nstreet\nstreetcar\nstrength\nstrengthen\nstrenuous\nstreptococcus\nstress\nstressful\nstretch\nstrewn\nstriate\nstricken\nStrickland\nstrict\nstricture\nstride\nstrife\nstrike\nstrikebreak\nstring\nstringent\nstringy\nstrip\nstripe\nstripping\nstriptease\nstrive\nstriven\nstrobe\nstroboscopic\nstrode\nstroke\nstroll\nStrom\nStromberg\nstrong\nstronghold\nstrongroom\nstrontium\nstrop\nstrophe\nstropping\nstrove\nstruck\nstructural\nstructure\nstruggle\nstrum\nstrumming\nstrung\nstrut\nstrutting\nstrychnine\nStuart\nstub\nstubbing\nstubble\nstubborn\nstubby\nstucco\nstuck\nstud\nstudding\nStudebaker\nstudent\nstudio\nstudious\nstudy\nstuff\nstuffy\nstultify\nstumble\nstump\nstumpage\nstumpy\nstun\nstung\nstunk\nstunning\nstunt\nstupefy\nstupendous\nstupid\nstupor\nSturbridge\nsturdy\nsturgeon\nSturm\nstutter\nStuttgart\nStuyvesant\nStygian\nstyle\nstyli\nstylish\nstylites\nstylus\nstymie\nstyrene\nStyrofoam\nStyx\nsuave\nsub\nsubbing\nsubject\nsubjectivity\nsublimate\nsubliminal\nsubmersible\nsubmit\nsubmittal\nsubmitted\nsubmitting\nsubpoena\nsubrogation\nsubservient\nsubsidiary\nsubsidy\nsubsist\nsubsistent\nsubstantial\nsubstantiate\nsubstantive\nsubstituent\nsubstitute\nsubstitution\nsubstitutionary\nsubstrate\nsubsume\nsubsumed\nsubsuming\nsubterfuge\nsubterranean\nsubtle\nsubtlety\nsubtly\nsubtrahend\nsuburb\nsuburbia\nsubversive\nsubvert\nsucceed\nsuccess\nsuccessful\nsuccession\nsuccessive\nsuccessor\nsuccinct\nsuccubus\nsuccumb\nsuch\nsuck\nsuckling\nsuction\nsud\nSudan\nSudanese\nsudden\nsuds\nsue\nsuey\nSuez\nsuffer\nsuffice\nsufficient\nsuffix\nsuffocate\nSuffolk\nsuffrage\nsuffragette\nsuffuse\nsugar\nsuggest\nsuggestible\nsuggestion\nsuggestive\nsuicidal\nsuicide\nsuit\nsuitcase\nsuite\nsuitor\nsulfa\nsulfate\nsulfide\nsulfite\nsulfonamide\nsulfur\nsulfuric\nsulfurous\nsulk\nsulky\nsullen\nSullivan\nsully\nsulphur\nsultan\nsultry\nsum\nsumac\nSumatra\nSumerian\nsummand\nsummarily\nsummary\nsummate\nSummers\nsummertime\nsumming\nsummit\nsummitry\nsummon\nSumner\nsumptuous\nSumter\nsun\nsunbeam\nsunbonnet\nsunburn\nsunburnt\nSunday\nsunder\nsundew\nsundial\nsundown\nsundry\nsunfish\nsunflower\nsung\nsunk\nsunken\nsunlight\nsunlit\nsunning\nsunny\nSunnyvale\nsunrise\nsunset\nsunshade\nsunshine\nsunshiny\nsunspot\nsuntan\nsuntanned\nsuntanning\nSUNY\nsup\nsuper\nsuperannuate\nsuperb\nsuperbly\nsupercilious\nsuperficial\nsuperfluity\nsuperfluous\nsuperintendent\nsuperior\nsuperlative\nsuperlunary\nsupernatant\nsuperposable\nsupersede\nsuperstition\nsuperstitious\nsupervene\nsupervisory\nsupine\nsupping\nsupplant\nsupple\nsupplementary\nsupplicate\nsupply\nsupport\nsupposable\nsuppose\nsupposition\nsuppress\nsuppressible\nsuppression\nsuppressor\nsupra\nsupranational\nsupremacy\nsupreme\nsurcease\nsurcharge\nsure\nsurety\nsurf\nsurface\nsurfactant\nsurfeit\nsurge\nsurgeon\nsurgery\nsurgical\nsurmise\nsurmount\nsurname\nsurpass\nsurplus\nsurprise\nsurreal\nsurrender\nsurreptitious\nsurrey\nsurrogate\nsurround\nsurtax\nsurtout\nsurveillant\nsurvey\nsurveyor\nsurvival\nsurvive\nsurvivor\nSus\nSusan\nSusanne\nsusceptible\nsushi\nSusie\nsuspect\nsuspend\nsuspense\nsuspension\nsuspensor\nsuspicion\nsuspicious\nSussex\nsustain\nsustenance\nSutherland\nSutton\nsuture\nSuzanne\nsuzerain\nsuzerainty\nSuzuki\nsvelte\nswab\nswabbing\nswabby\nswag\nSwahili\nswain\nswallow\nswallowtail\nswam\nswami\nswamp\nswampy\nswan\nswank\nswanky\nswanlike\nSwanson\nswap\nswapping\nswarm\nswart\nSwarthmore\nSwarthout\nswarthy\nswastika\nswat\nswatch\nswath\nswathe\nswatting\nsway\nSwaziland\nswear\nsweat\nsweatband\nsweater\nsweatshirt\nsweaty\nSwede\nSweden\nSwedish\nSweeney\nsweep\nsweepstake\nsweet\nsweetheart\nsweetish\nswell\nswelt\nswelter\nSwenson\nswept\nswerve\nswift\nswig\nswigging\nswim\nswimming\nswimsuit\nswindle\nswine\nswing\nswingable\nswingy\nswipe\nswirl\nswirly\nswish\nswishy\nswiss\nswitch\nswitchblade\nswitchboard\nswitchgear\nswitchman\nSwitzer\nSwitzerland\nswivel\nswizzle\nswollen\nswoop\nsword\nswordfish\nswordplay\nswordtail\nswore\nsworn\nswum\nswung\nsybarite\nSybil\nsycamore\nsycophant\nsycophantic\nSydney\nsyenite\nSykes\nsyllabic\nsyllabify\nsyllable\nsyllogism\nsyllogistic\nsylvan\nSylvania\nSylvester\nSylvia\nsymbiosis\nsymbiotic\nsymbol\nsymbolic\nsymmetric\nsymmetry\nsympathetic\nsympathy\nsymphonic\nsymphony\nsymposia\nsymposium\nsymptom\nsymptomatic\nsynagogue\nsynapse\nsynapses\nsynaptic\nsynchronism\nsynchronous\nsynchrony\nsynchrotron\nsyncopate\nsyndic\nsyndicate\nsyndrome\nsynergism\nsynergistic\nsynergy\nsynod\nsynonym\nsynonymous\nsynonymy\nsynopses\nsynopsis\nsynoptic\nsyntactic\nsyntax\nsynthesis\nsynthetic\nSyracuse\nSyria\nsyringa\nsyringe\nsyrinx\nsyrup\nsyrupy\nsystem\nsystematic\nsystemic\nsystemization\nsystemwide\nt\ntab\ntabbing\ntabernacle\ntable\ntableau\ntableaux\ntablecloth\ntableland\ntablespoon\ntablespoonful\ntablet\ntabloid\ntaboo\ntabu\ntabula\ntabular\ntabulate\ntachinid\ntachometer\ntacit\nTacitus\ntack\ntackle\ntacky\nTacoma\ntact\ntactful\ntactic\ntactile\ntactual\ntad\ntadpole\ntaffeta\ntaffy\ntaft\ntag\ntagging\nTahiti\nTahoe\ntail\ntailgate\ntailor\ntaint\nTaipei\nTaiwan\ntake\ntaken\ntakeoff\ntakeover\ntalc\ntalcum\ntale\ntalent\ntalisman\ntalismanic\ntalk\ntalkative\ntalkie\ntalky\ntall\nTallahassee\ntallow\ntally\ntallyho\nTalmud\ntalon\ntalus\ntam\ntamale\ntamarack\ntamarind\ntambourine\ntame\nTammany\ntamp\nTampa\ntampon\ntan\ntanager\nTanaka\nTananarive\ntandem\ntang\ntangent\ntangential\ntangerine\ntangible\ntangle\ntango\ntangy\ntanh\ntank\ntannin\ntanning\ntansy\ntantalum\nTantalus\ntantamount\ntantrum\nTanya\nTanzania\ntao\nTaoist\nTaos\ntap\ntapa\ntape\ntaper\ntapestry\ntapeworm\ntapir\ntapis\ntappa\ntappet\ntapping\ntar\ntara\ntarantara\ntarantula\nTarbell\ntardy\ntarget\ntariff\ntarnish\ntarpaper\ntarpaulin\ntarpon\ntarring\ntarry\nTarrytown\ntart\ntartar\nTartary\nTarzan\ntask\ntaskmaster\nTasmania\nTass\ntassel\ntaste\ntasteful\ntasting\ntasty\ntat\ntate\ntater\ntatting\ntattle\ntattler\ntattletale\ntattoo\ntatty\ntau\ntaught\ntaunt\nTaurus\ntaut\ntautology\ntavern\ntaverna\ntawdry\ntawny\ntax\ntaxation\ntaxi\ntaxicab\ntaxied\ntaxonomy\ntaxpayer\ntaxpaying\nTaylor\ntea\nteacart\nteach\nteacup\nteahouse\nteakettle\nteakwood\nteal\nteam\nteammate\nteamster\nteamwork\nteapot\ntear\nteardrop\ntearful\ntease\nteasel\nteaspoon\nteaspoonful\nteat\ntech\ntechnetium\ntechnic\ntechnician\ntechnique\ntechnology\ntectonic\ntecum\nted\ntedding\nTeddy\ntedious\ntedium\ntee\nteeing\nteem\nteen\nteenage\nteensy\nteet\nteeth\nteethe\nteetotal\nTeflon\nTegucigalpa\nTeheran\nTehran\ntektite\nTektronix\ntelecommunicate\nteleconference\nTeledyne\nTelefunken\ntelegram\ntelegraph\ntelegraphy\ntelekinesis\ntelemeter\ntelemetric\ntelemetry\nteleology\nteleost\ntelepathic\ntelepathy\ntelephone\ntelephonic\ntelephony\ntelephotography\nteleprinter\nteleprocessing\nteleprompter\ntelescope\ntelescopic\nteletype\nteletypesetting\nteletypewrite\ntelevise\ntelevision\nTelex\ntell\nteller\ntellurium\ntemerity\ntemper\ntempera\ntemperance\ntemperate\ntemperature\ntempest\ntempestuous\ntemplate\ntemple\nTempleton\ntempo\ntemporal\ntemporary\ntempt\ntemptation\ntemptress\nten\ntenable\ntenacious\ntenacity\ntenant\ntend\ntendency\ntenderfoot\ntenderloin\ntendon\ntenebrous\ntenement\ntenet\ntenfold\nTenneco\nTennessee\nTenney\ntennis\nTennyson\ntenon\ntenor\ntense\ntensile\ntension\ntensional\ntensor\ntenspot\ntent\ntentacle\ntentative\ntenth\ntenuous\ntenure\ntepee\ntepid\nteratogenic\nteratology\nterbium\ntercel\nTeresa\nterm\nterminable\nterminal\nterminate\ntermini\nterminology\nterminus\ntermite\ntern\nternary\nTerpsichore\nterpsichorean\nTerra\nterrace\nterrain\nterramycin\nterrapin\nTerre\nterrestrial\nterrible\nterrier\nterrific\nterrify\nterritorial\nterritory\nterror\nterry\nterse\ntertiary\nTess\ntessellate\ntest\ntestament\ntestamentary\ntestate\ntestes\ntesticle\ntesticular\ntestify\ntestimonial\ntestimony\ntesty\ntetanus\ntete\ntether\ntetrachloride\ntetrafluouride\ntetragonal\ntetrahedra\ntetrahedral\ntetrahedron\ntetravalent\nTeutonic\nTexaco\nTexan\nTexas\ntext\ntextbook\ntextile\nTextron\ntextual\ntextural\ntexture\nThai\nThailand\nThalia\nthallium\nthallophyte\nthan\nthank\nthankful\nthanksgiving\nthat\nthatch\nthat'd\nthat'll\nthaw\nThayer\nthe\nThea\ntheatric\nThebes\nthee\ntheft\ntheir\nThelma\nthem\nthematic\ntheme\nthemselves\nthen\nthence\nthenceforth\ntheocracy\nTheodore\nTheodosian\ntheologian\ntheology\ntheorem\ntheoretic\ntheoretician\ntheorist\ntheory\ntherapeutic\ntherapist\ntherapy\nthere\nthereabouts\nthereafter\nthereat\nthereby\nthere'd\ntherefor\ntherefore\ntherefrom\ntherein\nthere'll\nthereof\nthereon\nTheresa\nthereto\ntheretofore\nthereunder\nthereupon\ntherewith\nthermal\nthermionic\nthermistor\nthermo\nthermocouple\nthermodynamic\nthermoelastic\nthermoelectric\nThermofax\nthermometer\nthermometric\nthermometry\nthermomigrate\nthermonuclear\nthermopile\nthermoplastic\nthermopower\nthermosetting\nthermostable\nthermostat\nthermostatic\nthesaurus\nthese\ntheses\nTheseus\nthesis\nthespian\ntheta\nThetis\nthey\nthey'd\nthey'll\nthey're\nthey've\nthiamin\nthick\nthicken\nthicket\nthickish\nthief\nthieves\nthieving\nthigh\nthimble\nThimbu\nthin\nthine\nthing\nthink\nthinning\nthinnish\nthiocyanate\nthiouracil\nthird\nthirst\nthirsty\nthirteen\nthirteenth\nthirtieth\nthirty\nthis\nthis'll\nthistle\nthistledown\nthither\nThomas\nThomistic\nThompson\nThomson\nthong\nThor\nThoreau\nthoriate\nthorium\nthorn\nThornton\nthorny\nthorough\nthoroughbred\nthoroughfare\nthoroughgoing\nThorpe\nThorstein\nthose\nthou\nthough\nthought\nthoughtful\nthousand\nthousandth\nthrash\nthread\nthreadbare\nthreat\nthreaten\nthree\nthreefold\nthreesome\nthresh\nthreshold\nthrew\nthrice\nthrift\nthrifty\nthrill\nthrips\nthrive\nthroat\nthroaty\nthrob\nthrobbing\nthroes\nthrombosis\nthrone\nthrong\nthrottle\nthrough\nthroughout\nthroughput\nthrow\nthrowback\nthrown\nthrum\nthrumming\nthrush\nthrust\nThruway\nThuban\nthud\nthudding\nthug\nthuggee\nThule\nthulium\nthumb\nthumbnail\nthump\nthunder\nthunderclap\nthunderflower\nthunderous\nthunderstorm\nThurman\nThursday\nthus\nthwack\nthwart\nthy\nthyratron\nthyroglobulin\nthyroid\nthyroidal\nthyronine\nthyrotoxic\nthyroxine\nti\nTiber\ntibet\nTibetan\ntibia\ntic\ntick\nticket\ntickle\nticklish\ntid\ntidal\ntidbit\ntide\ntideland\ntidewater\ntidings\ntidy\ntie\ntied\nTientsin\ntier\nTiffany\ntift\ntiger\ntight\ntighten\ntigress\nTigris\ntil\ntilde\ntile\ntill\ntilt\ntilth\nTim\ntimber\ntimberland\ntimbre\ntime\ntimeout\ntimepiece\ntimeshare\ntimetable\ntimeworn\nTimex\ntimid\nTimon\ntimothy\ntin\ntincture\ntinder\ntine\ntinfoil\ntinge\ntingle\ntinker\ntinkle\ntinning\ntinsel\ntint\ntintype\ntiny\nTioga\ntip\ntipoff\nTipperary\ntipping\ntipple\ntippy\ntipsy\ntiptoe\ntirade\nTirana\ntire\ntiresome\ntissue\ntit\nTitan\ntitanate\ntitanic\ntitanium\ntithe\ntitian\ntitillate\ntitle\ntitmouse\ntitrate\ntitular\nTitus\nTNT\nto\ntoad\ntoady\ntoast\ntobacco\nTobago\ntoccata\ntoday\ntoday'll\nTodd\ntoddle\ntoe\ntoenail\ntoffee\ntofu\ntog\ntogether\ntogging\ntoggle\nTogo\ntogs\ntoil\ntoilet\ntoilsome\ntokamak\ntoken\nTokyo\ntold\nToledo\ntolerable\ntolerant\ntolerate\ntoll\ntollgate\ntollhouse\nTolstoy\ntoluene\nTom\ntomato\ntomatoes\ntomb\ntomblike\ntombstone\ntome\nTomlinson\nTommie\ntommy\ntomography\ntomorrow\nTompkins\nton\ntonal\ntone\ntong\ntongue\nToni\ntonic\ntonight\ntonk\ntonnage\ntonsil\ntonsillitis\ntony\ntoo\ntoodle\ntook\ntool\ntoolkit\ntoolmake\ntoolsmith\ntoot\ntooth\ntoothbrush\ntoothpaste\ntootle\ntop\ntopaz\ntopcoat\nTopeka\ntopgallant\ntopic\ntopmost\ntopnotch\ntopocentric\ntopography\ntopology\ntopping\ntopple\ntopsoil\nTopsy\ntor\ntorah\ntorch\ntore\ntori\ntorn\ntornado\ntoroid\ntoroidal\nToronto\ntorpedo\ntorpid\ntorpor\ntorque\ntorr\nTorrance\ntorrent\ntorrid\ntorsion\ntorso\ntort\ntortoise\ntortoiseshell\ntortuous\ntorture\ntorus\ntory\nToshiba\ntoss\ntot\ntotal\ntotalitarian\ntote\ntotem\ntotemic\ntouch\ntouchdown\ntouchstone\ntouchy\ntough\ntour\ntournament\ntousle\ntout\ntow\ntoward\ntowboat\ntowel\ntower\ntowhead\ntowhee\ntown\ntownhouse\nTownsend\ntownsman\ntownsmen\ntoxic\ntoxicology\ntoxin\ntoy\nToyota\ntrace\ntraceable\ntracery\ntrachea\ntrack\ntrackage\ntract\ntractor\nTracy\ntrade\ntrademark\ntradeoff\ntradesman\ntradesmen\ntradition\ntraffic\ntrafficked\ntrafficking\ntrag\ntragedian\ntragedy\ntragic\ntragicomic\ntrail\ntrailside\ntrain\ntrainee\ntrainman\ntrainmen\ntraipse\ntrait\ntraitor\ntraitorous\ntrajectory\ntram\ntrammel\ntramp\ntrample\ntramway\ntrance\ntranquil\ntranquillity\ntransact\ntransalpine\ntransatlantic\ntransceiver\ntranscend\ntranscendent\ntranscendental\ntransconductance\ntranscontinental\ntranscribe\ntranscript\ntranscription\ntransducer\ntransduction\ntransect\ntransept\ntransfer\ntransferee\ntransference\ntransferor\ntransferral\ntransferred\ntransferring\ntransfix\ntransform\ntransformation\ntransfusable\ntransfuse\ntransfusion\ntransgress\ntransgression\ntransgressor\ntransient\ntransistor\ntransit\nTransite\ntransition\ntransitive\ntransitory\ntranslate\ntransliterate\ntranslucent\ntransmissible\ntransmission\ntransmit\ntransmittable\ntransmittal\ntransmittance\ntransmitted\ntransmitter\ntransmitting\ntransmutation\ntransmute\ntransoceanic\ntransom\ntranspacific\ntransparent\ntranspiration\ntranspire\ntransplant\ntransplantation\ntransport\ntransportation\ntransposable\ntranspose\ntransposition\ntransship\ntransshipping\ntransversal\ntransverse\ntransvestite\ntrap\ntrapezium\ntrapezoid\ntrapezoidal\ntrapping\ntrash\ntrashy\nTrastevere\ntrauma\ntraumatic\ntravail\ntravel\ntravelogue\ntraversable\ntraversal\ntraverse\ntravertine\ntravesty\nTravis\ntrawl\ntray\ntreacherous\ntreachery\ntread\ntreadle\ntreadmill\ntreason\ntreasonous\ntreasure\ntreasury\ntreat\ntreatise\ntreaty\ntreble\ntree\ntreelike\ntreetop\ntrefoil\ntrek\ntrekking\ntrellis\ntremble\ntremendous\ntremor\ntremulous\ntrench\ntrenchant\ntrencherman\ntrenchermen\ntrend\ntrendy\nTrenton\ntrepidation\ntrespass\ntress\ntrestle\nTrevelyan\ntriable\ntriad\ntrial\ntriangle\ntriangular\ntriangulate\nTriangulum\nTrianon\ntriatomic\ntribal\ntribe\ntribesman\ntribesmen\ntribulate\ntribunal\ntribune\ntributary\ntribute\nTrichinella\ntrichloroacetic\ntrichloroethane\ntrichrome\ntrick\ntrickery\ntrickle\ntrickster\ntricky\ntrident\ntridiagonal\ntried\ntriennial\ntrifle\ntrifluouride\ntrig\ntrigonal\ntrigonometric\ntrigonometry\ntrigram\ntrill\ntrillion\ntrilobite\ntrilogy\ntrim\ntrimer\ntrimester\ntrimming\nTrinidad\ntrinitarian\ntrinity\ntrinket\ntrio\ntriode\ntrioxide\ntrip\ntripartite\ntripe\ntriphenylphosphine\ntriple\ntriplet\nTriplett\ntriplex\ntriplicate\ntripod\ntripoli\ntripping\ntriptych\ntrisodium\nTristan\ntristate\ntrisyllable\ntrite\ntritium\ntriton\ntriumph\ntriumphal\ntriumphant\ntriune\ntrivalent\ntrivia\ntrivial\ntrivium\ntrod\ntrodden\ntroglodyte\ntroika\nTrojan\ntroll\ntrolley\ntrollop\ntrombone\ntrompe\ntroop\ntrophic\ntrophy\ntropic\ntropopause\ntroposphere\ntropospheric\ntrot\ntrotting\ntrouble\ntroubleshoot\ntroublesome\ntrough\ntrounce\ntroupe\ntrouser\ntrout\nTroutman\ntroy\ntruancy\ntruant\ntruce\ntruck\ntruculent\ntrudge\nTrudy\ntrue\ntruism\ntruly\nTruman\nTrumbull\ntrump\ntrumpery\ntrumpet\ntruncate\ntrundle\ntrunk\ntruss\ntrust\ntrustee\ntrustful\ntrustworthy\ntruth\ntruthful\nTRW\ntry\ntrypsin\nt's\ntsar\ntsarina\ntsunami\nTTL\nTTY\ntub\ntuba\ntube\ntuberculin\ntuberculosis\ntubular\ntubule\ntuck\nTucson\nTudor\nTuesday\ntuff\ntuft\ntug\ntugging\ntuition\nTulane\ntularemia\ntulip\ntulle\nTulsa\ntum\ntumble\ntumbrel\ntumult\ntumultuous\ntun\ntuna\ntundra\ntune\ntuneful\ntung\ntungstate\ntungsten\ntunic\nTunis\nTunisia\ntunnel\ntupelo\nturban\nturbinate\nturbine\nturbofan\nturbojet\nturbulent\nturf\nTurin\nTuring\nturk\nturkey\nTurkish\nturmoil\nturn\nturnabout\nturnaround\nturnery\nturnip\nturnkey\nturnoff\nturnout\nturnover\nturnpike\nturnstone\nturntable\nturpentine\nturpitude\nturquoise\nturret\nturtle\nturtleback\nturtleneck\nturvy\nTuscaloosa\nTuscan\nTuscany\nTuscarora\ntusk\nTuskegee\ntussle\ntutelage\ntutor\ntutorial\nTuttle\ntutu\ntuxedo\nTV\nTVA\nTWA\ntwaddle\ntwain\ntweak\ntweed\ntweedy\ntweeze\ntwelfth\ntwelve\ntwentieth\ntwenty\ntwice\ntwiddle\ntwig\ntwigging\ntwilight\ntwill\ntwin\ntwine\ntwinge\ntwinkle\ntwinning\ntwirl\ntwirly\ntwist\ntwisty\ntwit\ntwitch\ntwitchy\ntwitting\ntwo\ntwofold\nTwombly\ntwosome\nTWX\nTyburn\ntycoon\ntying\nTyler\ntype\ntypeface\ntypescript\ntypeset\ntypesetter\ntypesetting\ntypewrite\ntypewritten\ntyphoid\nTyphon\ntyphoon\ntyphus\ntypic\ntypify\ntypo\ntypographer\ntypography\ntypology\ntyrannic\ntyrannicide\ntyranny\ntyrant\ntyrosine\nTyson\nu\nubiquitous\nubiquity\nUCLA\nUganda\nugh\nugly\nUK\nUkrainian\nUlan\nulcer\nulcerate\nUllman\nUlster\nulterior\nultimate\nultimatum\nultra\nultracentrifuge\nultraconservative\nultrafast\nultramarine\nultramodern\nultrashort\nultrasonic\nultrasound\nultrastructure\nultraviolet\nUlysses\number\numbilical\numbilici\numbilicus\numbra\numbrage\numbrella\numpire\nUN\nunanimity\nunanimous\nunary\nunbeknownst\nunbidden\nunchristian\nuncle\nuncouth\nunction\nunder\nunderclassman\nunderclassmen\nunderling\nundulate\nUNESCO\nuniaxial\nunicorn\nunidimensional\nunidirectional\nuniform\nunify\nunilateral\nunimodal\nuninominal\nunion\nuniplex\nunipolar\nuniprocessor\nunique\nUniroyal\nunison\nunit\nunitarian\nunitary\nunite\nunity\nUnivac\nunivalent\nunivariate\nuniversal\nuniverse\nUnix\nunkempt\nunruly\nuntil\nunwieldy\nup\nupbeat\nupbraid\nupbring\nupcome\nupdate\nupdraft\nupend\nupgrade\nupheaval\nupheld\nuphill\nuphold\nupholster\nupholstery\nupkeep\nupland\nuplift\nupon\nupper\nupperclassman\nupperclassmen\nuppercut\nuppermost\nupraise\nupright\nuprise\nupriver\nuproar\nuproarious\nuproot\nupset\nupsetting\nupshot\nupside\nupsilon\nupslope\nupstair\nupstand\nupstate\nupstater\nupstream\nupsurge\nupswing\nuptake\nUpton\nuptown\nuptrend\nupturn\nupward\nupwind\nurania\nuranium\nUranus\nuranyl\nurban\nUrbana\nurbane\nurbanite\nurchin\nurea\nuremia\nurethane\nurethra\nurge\nurgency\nurgent\nurging\nurinal\nurinary\nurine\nUris\nurn\nUrsa\nUrsula\nUrsuline\nUruguay\nu's\nus\nUSA\nusable\nUSAF\nusage\nUSC\nUSC&GS\nUSDA\nuse\nuseful\nUSGS\nusher\nUSIA\nUSN\nUSPS\nUSSR\nusual\nusurer\nusurious\nusurp\nusurpation\nusury\nUtah\nutensil\nuterine\nUtica\nutile\nutilitarian\nutility\nutmost\nutopia\nutopian\nutter\nutterance\nuttermost\nv\nvacant\nvacate\nvacationland\nvaccinate\nvaccine\nvacillate\nvacua\nvacuo\nvacuolate\nvacuole\nvacuous\nvacuum\nvade\nVaduz\nvagabond\nvagary\nvagina\nvaginal\nvagrant\nvague\nVail\nvain\nvainglorious\nvale\nvaledictorian\nvaledictory\nvalent\nvalentine\nValerie\nValery\nvalet\nvaleur\nValhalla\nvaliant\nvalid\nvalidate\nValkyrie\nValletta\nvalley\nValois\nvaluate\nvalue\nvalve\nvamp\nvampire\nvan\nvanadium\nVance\nVancouver\nvandal\nVandenberg\nVanderbilt\nVanderpoel\nvanguard\nvanilla\nvanish\nvanity\nvanquish\nvantage\nvariable\nvariac\nVarian\nvariant\nvariate\nvariegate\nvariety\nvarious\nvaristor\nVaritype\nvarnish\nvary\nvascular\nvase\nvassal\nvast\nvat\nVatican\nvaudeville\nVaudois\nVaughan\nVaughn\nvault\nveal\nvector\nvectorial\nVeda\nvee\nveer\nveery\nVega\nvegetable\nvegetarian\nvegetate\nvehement\nvehicle\nvehicular\nveil\nvein\nVelasquez\nveldt\nVella\nvellum\nvelocity\nvelours\nvelvet\nvelvety\nvenal\nvend\nvendetta\nvendible\nvendor\nveneer\nvenerable\nvenerate\nvenereal\nVenetian\nVeneto\nVenezuela\nvengeance\nvengeful\nvenial\nVenice\nvenison\nvenom\nvenomous\nvent\nventilate\nventricle\nventure\nventuresome\nventuri\nVenus\nVenusian\nVera\nveracious\nveracity\nveranda\nverandah\nverb\nverbal\nverbatim\nverbena\nverbiage\nverbose\nverbosity\nverdant\nVerde\nVerdi\nverdict\nverge\nveridic\nverify\nverisimilitude\nveritable\nverity\nVerlag\nvermeil\nvermiculite\nvermilion\nvermin\nVermont\nvermouth\nVerna\nvernacular\nvernal\nVerne\nvernier\nVernon\nVerona\nVeronica\nversa\nVersailles\nversatile\nverse\nversion\nversus\nvertebra\nvertebrae\nvertebral\nvertebrate\nvertex\nvertical\nvertices\nvertigo\nverve\nvery\nvesicular\nvesper\nvessel\nvest\nvestal\nvestibule\nvestige\nvestigial\nvestry\nvet\nvetch\nveteran\nveterinarian\nveterinary\nveto\nvetting\nvex\nvexation\nvexatious\nvi\nvia\nviaduct\nvial\nvibrant\nvibrate\nvibrato\nviburnum\nvicar\nvicarious\nvice\nvicelike\nviceroy\nVichy\nvicinal\nvicinity\nvicious\nvicissitude\nVicksburg\nVicky\nvictim\nvictor\nVictoria\nVictorian\nvictorious\nvictory\nvictrola\nvictual\nVida\nvideo\nvideotape\nvie\nVienna\nViennese\nVientiane\nViet\nVietnam\nVietnamese\nview\nviewpoint\nvigil\nvigilant\nvigilante\nvigilantism\nvignette\nvigorous\nvii\nviii\nViking\nvile\nvilify\nvilla\nvillage\nvillain\nvillainous\nvillein\nVincent\nvindicate\nvindictive\nvine\nvinegar\nvineyard\nVinson\nvintage\nvintner\nvinyl\nviola\nviolate\nviolent\nviolet\nviolin\nVirgil\nvirgin\nvirginal\nVirginia\nVirginian\nVirgo\nvirgule\nvirile\nvirtual\nvirtue\nvirtuosi\nvirtuosity\nvirtuoso\nvirtuous\nvirulent\nvirus\nvis\nvisa\nvisage\nviscera\nvisceral\nviscoelastic\nviscometer\nviscosity\nviscount\nviscous\nvise\nviselike\nVishnu\nvisible\nVisigoth\nvision\nvisionary\nvisit\nvisitation\nvisitor\nvisor\nvista\nvisual\nvita\nvitae\nvital\nvitamin\nvitiate\nVito\nvitreous\nvitrify\nvitriol\nvitriolic\nvitro\nviva\nvivace\nvivacious\nvivacity\nVivaldi\nVivian\nvivid\nvivify\nvivo\nvixen\nviz\nVladimir\nVladivostok\nvocable\nvocabularian\nvocabulary\nvocal\nvocalic\nvocate\nvociferous\nVogel\nvogue\nvoice\nvoiceband\nvoid\nvolatile\nvolcanic\nvolcanism\nvolcano\nvolition\nVolkswagen\nvolley\nvolleyball\nVolstead\nvolt\nVolta\nvoltage\nvoltaic\nVoltaire\nVolterra\nvoltmeter\nvoluble\nvolume\nvolumetric\nvoluminous\nvoluntary\nvolunteer\nvoluptuous\nVolvo\nvomit\nvon\nvoodoo\nvoracious\nvoracity\nvortex\nvortices\nvorticity\nVoss\nvotary\nvote\nvotive\nvouch\nvouchsafe\nVought\nvow\nvowel\nvoyage\nVreeland\nv's\nVulcan\nvulgar\nvulnerable\nvulpine\nvulture\nvulturelike\nvying\nw\nWaals\nWabash\nWAC\nwack\nwacke\nwacky\nWaco\nwad\nwaddle\nwade\nwadi\nWadsworth\nwafer\nwaffle\nwag\nwage\nwagging\nwaggle\nWagner\nwagoneer\nwah\nWahl\nwail\nwainscot\nWainwright\nwaist\nwaistcoat\nwaistline\nwait\nWaite\nwaitress\nwaive\nwake\nWakefield\nwakeful\nwaken\nwakerobin\nwakeup\nWalcott\nWalden\nWaldo\nWaldorf\nWaldron\nwale\nWalgreen\nwalk\nwalkie\nwalkout\nwalkover\nwalkway\nwall\nwallaby\nWallace\nwallboard\nWaller\nwallet\nWallis\nwallop\nwallow\nwallpaper\nWalls\nwally\nwalnut\nWalpole\nwalrus\nWalsh\nWalt\nWalter\nWalters\nWaltham\nWalton\nwaltz\nwan\nwand\nwander\nwane\nWang\nwangle\nwant\nwanton\nwapato\nwapiti\nWappinger\nwar\nwarble\nward\nwarden\nwardrobe\nwardroom\nware\nwarehouse\nwarehouseman\nwarfare\nwarhead\nWaring\nwarlike\nwarm\nwarmhearted\nwarmish\nwarmonger\nwarmth\nwarmup\nwarn\nwarp\nwarrant\nwarranty\nwarren\nwarring\nwarrior\nWarsaw\nwart\nwartime\nwarty\nWarwick\nwary\nwas\nwash\nwashbasin\nwashboard\nwashbowl\nWashburn\nWashington\nwashout\nwashy\nwasn't\nwasp\nwaspish\nWasserman\nwast\nwastage\nwaste\nwastebasket\nwasteful\nwasteland\nwastewater\nwastrel\nwatch\nwatchband\nwatchdog\nwatchful\nwatchmake\nwatchman\nwatchmen\nwatchword\nwater\nWaterbury\nwatercourse\nwaterfall\nwaterfront\nWatergate\nWaterhouse\nwaterline\nWaterloo\nWaterman\nwatermelon\nwaterproof\nWaters\nwatershed\nwaterside\nWatertown\nwaterway\nwatery\nWatkins\nWatson\nwatt\nwattage\nwattle\nWatts\nwave\nwaveform\nwavefront\nwaveguide\nwavelength\nwavenumber\nwavy\nwax\nwaxen\nwaxwork\nwaxy\nway\nwaybill\nwaylaid\nwaylay\nWayne\nwayside\nwayward\nwe\nweak\nweaken\nweal\nwealth\nwealthy\nwean\nweapon\nweaponry\nwear\nwearied\nwearisome\nweary\nweasel\nweather\nweatherbeaten\nweatherproof\nweatherstrip\nweatherstripping\nweave\nweb\nWebb\nwebbing\nweber\nWebster\nWECo\nwe'd\nwed\nwedding\nwedge\nwedlock\nWednesday\nwee\nweed\nweedy\nweek\nweekday\nweekend\nWeeks\nweep\nWehr\nWei\nWeierstrass\nweigh\nweight\nweighty\nWeinberg\nWeinstein\nweir\nweird\nWeiss\nWelch\nwelcome\nweld\nWeldon\nwelfare\nwe'll\nwell\nwellbeing\nWeller\nWelles\nWellesley\nwellington\nWells\nwelsh\nwelt\nWendell\nWendy\nwent\nwept\nwe're\nwere\nweren't\nWerner\nwert\nWerther\nWesley\nWesleyan\nwest\nwestbound\nWestchester\nwesterly\nwestern\nwesternmost\nWestfield\nWestinghouse\nWestminster\nWeston\nwestward\nwet\nwetland\nwetting\nwe've\nWeyerhauser\nwhack\nwhale\nWhalen\nwham\nwhamming\nwharf\nWharton\nwharves\nwhat\nwhat'd\nwhatever\nWhatley\nwhatnot\nwhat're\nwhatsoever\nwheat\nWheatstone\nwhee\nwheedle\nwheel\nwheelbase\nwheelchair\nwheelhouse\nwheeze\nwheezy\nWhelan\nwhelk\nWheller\nwhelm\nwhelp\nwhen\nwhence\nwhenever\nwhere\nwhereabout\nwhereas\nwhereby\nwhere'd\nwherefore\nwherein\nwhereof\nwhereon\nwhere're\nwheresoever\nwhereupon\nwherever\nwherewith\nwhet\nwhether\nwhetting\nwhich\nwhichever\nwhiff\nwhig\nwhile\nwhim\nwhimper\nwhimsey\nwhimsic\nwhine\nwhinny\nwhip\nwhiplash\nWhippany\nwhippet\nwhipping\nWhipple\nwhipsaw\nwhir\nwhirl\nwhirligig\nwhirlpool\nwhirlwind\nwhirring\nwhisk\nwhisper\nwhistle\nwhistleable\nwhit\nWhitaker\nWhitcomb\nwhite\nwhiteface\nWhitehall\nwhitehead\nWhitehorse\nwhiten\nwhitetail\nwhitewash\nwhither\nWhitlock\nWhitman\nWhitney\nWhittaker\nWhittier\nwhiz\nwhizzing\nwho\nwhoa\nwho'd\nwhoever\nwhole\nwholehearted\nwholesale\nwholesome\nwho'll\nwholly\nwhom\nwhomsoever\nwhoop\nwhoosh\nwhop\nwhopping\nwhore\nwhose\nwhosoever\nwhup\nwhy\nWichita\nwick\nwicket\nwide\nwiden\nwidespread\nwidgeon\nwidget\nwidow\nwidowhood\nwidth\nwidthwise\nwield\nwiener\nWier\nwife\nwig\nwigging\nWiggins\nwiggle\nwiggly\nwigmake\nWilbur\nWilcox\nwild\nwildcat\nwildcatter\nwilderness\nwildfire\nwildlife\nwile\nWiley\nWilfred\nwilful\nWilhelm\nWilhelmina\nWilkes\nWilkins\nWilkinson\nwill\nWilla\nWillard\nwillful\nWilliam\nWilliams\nWilliamsburg\nWilliamson\nWillie\nWillis\nWilloughby\nwillow\nwillowy\nWills\nWilma\nWilmington\nWilshire\nWilson\nWilsonian\nwilt\nwily\nwin\nwince\nwinch\nWinchester\nwind\nwindbag\nwindbreak\nwindfall\nwindmill\nwindow\nwindowpane\nwindowsill\nwindshield\nWindsor\nwindstorm\nwindup\nwindward\nwindy\nwine\nwinemake\nwinemaster\nwinery\nwineskin\nWinfield\nwing\nwingback\nwingman\nwingmen\nwingspan\nwingtip\nWinifred\nwink\nwinkle\nWinnetka\nWinnie\nwinning\nWinnipeg\nWinnipesaukee\nwinnow\nwino\nWinslow\nwinsome\nWinston\nwinter\nWinters\nwintertime\nWinthrop\nwintry\nwiny\nwipe\nwire\nwireman\nwiremen\nwiry\nWisconsin\nwisdom\nwise\nwiseacre\nwisecrack\nwisenheimer\nwish\nwishbone\nwishful\nwishy\nwisp\nwispy\nwistful\nwit\nwitch\nwitchcraft\nwith\nwithal\nwithdraw\nwithdrawal\nwithdrawn\nwithdrew\nwithe\nwither\nwithheld\nwithhold\nwithin\nwithout\nwithstand\nwithstood\nwithy\nwitness\nWitt\nwitting\nwitty\nwive\nwizard\nwobble\nwoe\nwoebegone\nwoeful\nwok\nwoke\nWolcott\nwold\nwolf\nWolfe\nWolff\nWolfgang\nwolfish\nwolve\nwoman\nwomanhood\nwomb\nwomen\nwon\nwonder\nwonderful\nwonderland\nwondrous\nWong\nwon't\nwont\nwoo\nwood\nWoodard\nWoodbury\nwoodcarver\nwoodcock\nwoodcut\nwooden\nwoodgrain\nwoodhen\nwoodland\nWoodlawn\nwoodlot\nwoodpeck\nwoodrow\nwoodruff\nWoods\nwoodshed\nwoodside\nwoodward\nwoodwind\nwoodwork\nwoody\nwoodyard\nwool\nwoolen\nwoolgather\nWoolworth\nWooster\nwop\nWorcester\nword\nWordsworth\nwordy\nwore\nwork\nworkbench\nworkday\nworkhorse\nworkload\nworkman\nworkmanlike\nworkmen\nworkout\nworkpiece\nworksheet\nworkshop\nworkspace\nworktable\nworld\nworldwide\nworm\nwormy\nworn\nworrisome\nworry\nworse\nworsen\nworship\nworshipful\nworst\nworth\nWorthington\nworthwhile\nworthy\nWotan\nwould\nwouldn't\nwound\nwove\nwoven\nwow\nwrack\nwraith\nwrangle\nwrap\nwrapping\nwrapup\nwrath\nwrathful\nwreak\nwreath\nwreathe\nwreck\nwreckage\nwrench\nwrest\nwrestle\nwretch\nwriggle\nwright\nWrigley\nwring\nwrinkle\nwrist\nwristband\nwristwatch\nwrit\nwrite\nwriteup\nwrithe\nwritten\nwrong\nwrongdoer\nwrongdoing\nwrongful\nWronskian\nwrote\nwrought\nwry\nw's\nWu\nWuhan\nWyandotte\nWyatt\nWyeth\nWylie\nWyman\nWyner\nwynn\nWyoming\nx\nXavier\nxenon\nxenophobia\nxerography\nXerox\nXerxes\nxi\nx's\nxylem\nxylene\nxylophone\ny\nyacht\nyachtsman\nyachtsmen\nyah\nyak\nYakima\nYale\nYalta\nyam\nYamaha\nyang\nyank\nYankee\nYankton\nYaounde\nyap\nyapping\nYaqui\nyard\nyardage\nyardstick\nYarmouth\nyarmulke\nyarn\nyarrow\nYates\nyaw\nyawl\nyawn\nye\nyea\nYeager\nyeah\nyear\nyearbook\nyearn\nyeast\nyeasty\nYeats\nyell\nyellow\nyellowish\nYellowknife\nyelp\nYemen\nyen\nyeoman\nyeomanry\nyeshiva\nyesterday\nyesteryear\nyet\nYiddish\nyield\nyin\nyip\nyipping\nYMCA\nyodel\nYoder\nyoga\nyogi\nyoke\nyokel\nYokohama\nYokuts\nyolk\nyon\nyond\nYonkers\nyore\nYork\nYorktown\nYosemite\nYost\nyou\nyou'd\nyou'll\nyoung\nyoungish\nyoungster\nYoungstown\nyour\nyou're\nyourself\nyourselves\nyouth\nyouthful\nyou've\nyow\nYpsilanti\ny's\nytterbium\nyttrium\nYucatan\nyucca\nYugoslav\nYugoslavia\nyuh\nYuki\nYukon\nyule\nYves\nYvette\nYWCA\nz\nZachary\nzag\nzagging\nZaire\nZambia\nZan\nZanzibar\nzap\nzapping\nzeal\nZealand\nzealot\nzealous\nzebra\nZeiss\nZellerbach\nZen\nzenith\nzero\nzeroes\nzeroth\nzest\nzesty\nzeta\nZeus\nZiegler\nzig\nzigging\nzigzag\nzigzagging\nzilch\nZimmerman\nzinc\nzing\nZion\nZionism\nzip\nzipping\nzircon\nzirconium\nzloty\nzodiac\nzodiacal\nZoe\nZomba\nzombie\nzone\nzoo\nzoology\nzoom\nZoroaster\nZoroastrian\nzounds\nz's\nZurich\n"
.globl ___input ; @__input
___input:
.ascii "todd austin\nscott breach\nguri sohi\n"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "words"
.section __DATA,__data
.globl ___mwords ; @__mwords
.p2align 3, 0x0
___mwords:
.quad l_.str
.quad 201039 ; 0x3114f
.quad ___words
.long 0 ; 0x0
.space 4
.globl _mwords ; @mwords
.p2align 3, 0x0
_mwords:
.quad ___mwords
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "input"
.section __DATA,__data
.globl ___minput ; @__minput
.p2align 3, 0x0
___minput:
.quad l_.str.1
.quad 35 ; 0x23
.quad ___input
.long 0 ; 0x0
.space 4
.globl _minput ; @minput
.p2align 3, 0x0
_minput:
.quad ___minput
.globl _cchMinLength ; @cchMinLength
.p2align 2, 0x0
_cchMinLength:
.long 3 ; 0x3
.comm _pchDictionary,8,3 ; @pchDictionary
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "Unable to allocate memory for dictionary\n"
l_.str.3: ; @.str.3
.asciz "r"
l_.str.4: ; @.str.4
.asciz "main dictionary has %u entries\n"
l_.str.5: ; @.str.5
.asciz "Dictionary too large; increase MAXWORDS\n"
l_.str.6: ; @.str.6
.asciz "%lu bytes wasted\n"
.comm _alPhrase,416,2 ; @alPhrase
.comm _aqMainMask,16,3 ; @aqMainMask
.comm _aqMainSign,16,3 ; @aqMainSign
.comm _cchPhraseLength,4,2 ; @cchPhraseLength
.comm _auGlobalFrequency,104,2 ; @auGlobalFrequency
l_.str.7: ; @.str.7
.asciz "MAX_QUADS not large enough\n"
l_.str.8: ; @.str.8
.asciz "Out of memory after %d candidates\n"
.comm _cpwCand,4,2 ; @cpwCand
l_.str.9: ; @.str.9
.asciz "%s "
l_.str.10: ; @.str.10
.asciz "Too many candidates\n"
.comm _apwCand,40000,3 ; @apwCand
l_.str.11: ; @.str.11
.asciz "%d candidates\n"
l_.str.12: ; @.str.12
.asciz "%15s%c"
l_.str.13: ; @.str.13
.asciz "\n"
.comm _cpwLast,4,2 ; @cpwLast
.comm _apwSol,408,3 ; @apwSol
.comm _achByFrequency,26,0 ; @achByFrequency
l_.str.14: ; @.str.14
.asciz "Order of search will be "
l_.str.15: ; @.str.15
.asciz "Usage: anagram dictionary [length]\n"
.comm _achPhrase,255,0 ; @achPhrase
l_.str.16: ; @.str.16
.asciz "New length: %d\n"
.subsections_via_symbols
|
parrondo.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function cointoss
LCPI0_0:
.quad 0x41dfffffffc00000 ## double 2147483647
.section __TEXT,__text,regular,pure_instructions
.globl _cointoss
.p2align 4, 0x90
_cointoss: ## @cointoss
.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
movsd %xmm0, -8(%rbp) ## 8-byte Spill
callq _libmin_rand
movl %eax, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd LCPI0_0(%rip), %xmm0
xorl %eax, %eax
ucomisd -8(%rbp), %xmm0 ## 8-byte Folded Reload
adcl $-1, %eax
orl $1, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function play_s
LCPI1_0:
.quad 0x41dfffffffc00000 ## double 2147483647
LCPI1_1:
.quad 0x3fdfae147ae147ae ## double 0.495
.section __TEXT,__text,regular,pure_instructions
.globl _play_s
.p2align 4, 0x90
_play_s: ## @play_s
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _libmin_rand
movl %eax, %eax
cvtsi2sd %rax, %xmm0
divsd LCPI1_0(%rip), %xmm0
xorl %eax, %eax
ucomisd LCPI1_1(%rip), %xmm0
adcl $-1, %eax
orl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function play_c
LCPI2_0:
.quad 0x41dfffffffc00000 ## double 2147483647
.section __TEXT,__literal16,16byte_literals
.p2align 3, 0x0
LCPI2_1:
.quad 0x3fe7d70a3d70a3d7 ## double 0.745
.quad 0x3fb851eb851eb852 ## double 0.095000000000000001
.section __TEXT,__text,regular,pure_instructions
.globl _play_c
.p2align 4, 0x90
_play_c: ## @play_c
.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
imull $-1431655765, %edi, %eax ## imm = 0xAAAAAAAB
addl $715827882, %eax ## imm = 0x2AAAAAAA
xorl %ebx, %ebx
cmpl $1431655765, %eax ## imm = 0x55555555
setb %bl
callq _libmin_rand
movl %eax, %eax
cvtsi2sd %rax, %xmm0
divsd LCPI2_0(%rip), %xmm0
xorl %eax, %eax
leaq LCPI2_1(%rip), %rcx
ucomisd (%rcx,%rbx,8), %xmm0
adcl $-1, %eax
orl $1, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function main
LCPI3_0:
.quad 0x3fe0000000000000 ## double 0.5
LCPI3_1:
.quad 0x3ff0000000000000 ## double 1
LCPI3_2:
.quad 0x41dfffffffc00000 ## double 2147483647
LCPI3_3:
.quad 0x3fdfae147ae147ae ## double 0.495
LCPI3_5:
.quad 0x4059000000000000 ## double 100
.section __TEXT,__literal16,16byte_literals
.p2align 3, 0x0
LCPI3_4:
.quad 0x3fe7d70a3d70a3d7 ## double 0.745
.quad 0x3fb851eb851eb852 ## double 0.095000000000000001
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl _argc(%rip), %eax
cmpl $2, %eax
jl LBB3_1
## %bb.2:
movl $1000, -84(%rbp) ## 4-byte Folded Spill
## imm = 0x3E8
movl $50, -104(%rbp) ## 4-byte Folded Spill
movsd LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -96(%rbp) ## 8-byte Spill
movl $1, %r14d
leaq _argv(%rip), %rdx
leaq LJTI3_0(%rip), %r13
xorl %r15d, %r15d
xorl %r12d, %r12d
jmp LBB3_3
LBB3_1:
movl $1000, -84(%rbp) ## 4-byte Folded Spill
## imm = 0x3E8
movl $50, -104(%rbp) ## 4-byte Folded Spill
movsd LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -96(%rbp) ## 8-byte Spill
jmp LBB3_27
LBB3_22: ## in Loop: Header=BB3_3 Depth=1
movsd LCPI3_1(%rip), %xmm0 ## xmm0 = mem[0],zero
.p2align 4, 0x90
LBB3_23: ## in Loop: Header=BB3_3 Depth=1
movsd %xmm0, -96(%rbp) ## 8-byte Spill
LBB3_24: ## in Loop: Header=BB3_3 Depth=1
leal 1(%r12), %r14d
LBB3_25: ## in Loop: Header=BB3_3 Depth=1
movl _argc(%rip), %eax
cmpl %eax, %r14d
jge LBB3_26
LBB3_3: ## =>This Loop Header: Depth=1
## Child Loop BB3_4 Depth 2
movslq %r12d, %rbx
leal 3(%rbx), %ecx
addq $2, %rbx
movl %r14d, %r12d
jmp LBB3_4
.p2align 4, 0x90
LBB3_9: ## in Loop: Header=BB3_4 Depth=2
movq (%rdx,%rbx,8), %rdi
callq _libmin_atol
movq %rax, %r15
movslq _argc(%rip), %rax
leal 2(%r14), %ecx
leaq 2(%rbx), %rdx
incq %rbx
movl %r14d, %r12d
cmpq %rax, %rbx
movq %rdx, %rbx
leaq _argv(%rip), %rdx
jge LBB3_26
LBB3_4: ## Parent Loop BB3_3 Depth=1
## => This Inner Loop Header: Depth=2
movl %ecx, %r14d
movslq %r12d, %rcx
movq (%rdx,%rcx,8), %rsi
cmpb $45, (%rsi)
jne LBB3_21
## %bb.5: ## in Loop: Header=BB3_4 Depth=2
movsbl 1(%rsi), %ecx
addl $-49, %ecx
cmpl $69, %ecx
ja LBB3_19
## %bb.6: ## in Loop: Header=BB3_4 Depth=2
movslq (%r13,%rcx,4), %rcx
addq %r13, %rcx
jmpq *%rcx
LBB3_7: ## in Loop: Header=BB3_4 Depth=2
cltq
cmpq %rax, %rbx
jl LBB3_9
## %bb.8: ## in Loop: Header=BB3_4 Depth=2
leaq L_.str.6(%rip), %rdi
leaq L_.str.7(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
leaq _argv(%rip), %rdx
jmp LBB3_9
LBB3_21: ## in Loop: Header=BB3_3 Depth=1
leaq L_.str.6(%rip), %rdi
leaq L_.str.7(%rip), %rsi
jmp LBB3_20
LBB3_13: ## in Loop: Header=BB3_3 Depth=1
leal -1(%r14), %r12d
cmpl %eax, %r12d
jl LBB3_15
## %bb.14: ## in Loop: Header=BB3_3 Depth=1
leaq L_.str.6(%rip), %rdi
leaq L_.str.7(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
leaq _argv(%rip), %rdx
LBB3_15: ## in Loop: Header=BB3_3 Depth=1
movslq %r12d, %rax
movq (%rdx,%rax,8), %rdi
callq _libmin_atoi
leaq _argv(%rip), %rdx
movl %eax, -104(%rbp) ## 4-byte Spill
jmp LBB3_25
LBB3_10: ## in Loop: Header=BB3_3 Depth=1
leal -1(%r14), %r12d
cmpl %eax, %r12d
jl LBB3_12
## %bb.11: ## in Loop: Header=BB3_3 Depth=1
leaq L_.str.6(%rip), %rdi
leaq L_.str.7(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
leaq _argv(%rip), %rdx
LBB3_12: ## in Loop: Header=BB3_3 Depth=1
movslq %r12d, %rax
movq (%rdx,%rax,8), %rdi
callq _libmin_atoi
leaq _argv(%rip), %rdx
movl %eax, -84(%rbp) ## 4-byte Spill
jmp LBB3_25
LBB3_16: ## in Loop: Header=BB3_3 Depth=1
leaq L_.str.6(%rip), %rdi
leaq L_.str.8(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
LBB3_17: ## in Loop: Header=BB3_3 Depth=1
leaq L_.str.6(%rip), %rdi
leaq L_.str.9(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
leaq _argv(%rip), %rdx
LBB3_18: ## in Loop: Header=BB3_3 Depth=1
xorpd %xmm0, %xmm0
jmp LBB3_23
LBB3_19: ## in Loop: Header=BB3_3 Depth=1
leaq L_.str.10(%rip), %rdi
LBB3_20: ## in Loop: Header=BB3_3 Depth=1
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
leaq _argv(%rip), %rdx
jmp LBB3_24
LBB3_26:
testq %r15, %r15
jne LBB3_28
LBB3_27:
leaq L_.str.11(%rip), %rdi
movl $3445, %esi ## imm = 0xD75
xorl %eax, %eax
callq _libmin_printf
movl $3445, %r15d ## imm = 0xD75
LBB3_28:
movl %r15d, %edi
callq _libmin_srand
xorpd %xmm0, %xmm0
movapd %xmm0, -80(%rbp)
movq $0, -64(%rbp)
leaq L_.str.12(%rip), %rdi
xorl %r13d, %r13d
movl -84(%rbp), %ebx ## 4-byte Reload
movl %ebx, %esi
xorl %eax, %eax
callq _libmin_printf
testl %ebx, %ebx
jle LBB3_29
## %bb.30:
movl -104(%rbp), %r15d ## 4-byte Reload
movl %r15d, %r14d
negl %r14d
xorpd %xmm1, %xmm1
xorl %edx, %edx
movl $2863311531, %r13d ## imm = 0xAAAAAAAB
xorl %esi, %esi
xorl %eax, %eax
jmp LBB3_31
.p2align 4, 0x90
LBB3_39: ## in Loop: Header=BB3_31 Depth=1
xorl %eax, %eax
cmpl %r15d, %ebx
setne %cl
sete %al
cmpl %r14d, %ebx
sete %dl
movq -112(%rbp), %rsi ## 8-byte Reload
addl %eax, %esi
andb %cl, %dl
movzbl %dl, %eax
movq -120(%rbp), %rdx ## 8-byte Reload
addl %eax, %edx
movl -132(%rbp), %eax ## 4-byte Reload
incl %eax
xorps %xmm0, %xmm0
cvtsi2sd %r12, %xmm0
addsd %xmm0, %xmm1
cmpl -84(%rbp), %eax ## 4-byte Folded Reload
je LBB3_40
LBB3_31: ## =>This Loop Header: Depth=1
## Child Loop BB3_32 Depth 2
movl %eax, -132(%rbp) ## 4-byte Spill
movq %rsi, -112(%rbp) ## 8-byte Spill
movq %rdx, -120(%rbp) ## 8-byte Spill
movsd %xmm1, -128(%rbp) ## 8-byte Spill
callq _libmin_rand
movl %eax, %edi
callq _libmin_srand
movl $1, %r12d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB3_32: ## Parent Loop BB3_31 Depth=1
## => This Inner Loop Header: Depth=2
callq _libmin_rand
movl %eax, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movsd LCPI3_2(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
ucomisd -96(%rbp), %xmm0 ## 8-byte Folded Reload
jae LBB3_34
## %bb.33: ## in Loop: Header=BB3_32 Depth=2
imull $-1431655765, %ebx, %eax ## imm = 0xAAAAAAAB
addl $715827882, %eax ## imm = 0x2AAAAAAA
xorl %r15d, %r15d
cmpl $1431655765, %eax ## imm = 0x55555555
setb %r15b
callq _libmin_rand
movl %eax, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd LCPI3_2(%rip), %xmm0
leaq LCPI3_4(%rip), %rax
ucomisd (%rax,%r15,8), %xmm0
movl -104(%rbp), %r15d ## 4-byte Reload
jmp LBB3_35
.p2align 4, 0x90
LBB3_34: ## in Loop: Header=BB3_32 Depth=2
callq _libmin_rand
movl %eax, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd LCPI3_2(%rip), %xmm0
ucomisd LCPI3_3(%rip), %xmm0
LBB3_35: ## in Loop: Header=BB3_32 Depth=2
setae %al
movzbl %al, %eax
negl %eax
orl $1, %eax
addl %eax, %ebx
cmpl %r15d, %ebx
movsd -128(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
jge LBB3_39
## %bb.36: ## in Loop: Header=BB3_32 Depth=2
cmpl %r14d, %ebx
jle LBB3_39
## %bb.37: ## in Loop: Header=BB3_32 Depth=2
movl %ebx, %eax
negl %eax
cmovsl %ebx, %eax
movq %rax, %rcx
imulq %r13, %rcx
shrq $33, %rcx
leal (%rcx,%rcx,2), %ecx
subl %ecx, %eax
incq -80(%rbp,%rax,8)
incq %r12
cmpq $1000001, %r12 ## imm = 0xF4241
jne LBB3_32
## %bb.38: ## in Loop: Header=BB3_31 Depth=1
movl $1000001, %r12d ## imm = 0xF4241
movsd -128(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
jmp LBB3_39
LBB3_40:
cvtsi2sdq -80(%rbp), %xmm2
movsd LCPI3_5(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm0, %xmm2
movsd %xmm2, -96(%rbp) ## 8-byte Spill
xorps %xmm2, %xmm2
cvtsi2sdq -72(%rbp), %xmm2
mulsd %xmm0, %xmm2
movsd %xmm2, -112(%rbp) ## 8-byte Spill
xorps %xmm2, %xmm2
cvtsi2sdq -64(%rbp), %xmm2
mulsd %xmm0, %xmm2
movsd %xmm2, -120(%rbp) ## 8-byte Spill
movl -84(%rbp), %r13d ## 4-byte Reload
jmp LBB3_41
LBB3_29:
xorpd %xmm0, %xmm0
movsd %xmm0, -120(%rbp) ## 8-byte Spill
movsd %xmm0, -112(%rbp) ## 8-byte Spill
movsd %xmm0, -96(%rbp) ## 8-byte Spill
xorpd %xmm1, %xmm1
xorl %esi, %esi
xorl %edx, %edx
movl -104(%rbp), %r15d ## 4-byte Reload
LBB3_41:
movsd %xmm1, -128(%rbp) ## 8-byte Spill
xorps %xmm0, %xmm0
cvtsi2sd %r13d, %xmm0
movapd %xmm1, %xmm2
divsd %xmm0, %xmm2
movsd %xmm2, -104(%rbp) ## 8-byte Spill
subl %esi, %r13d
subl %edx, %r13d
leaq L_.str.13(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
## kill: def $edx killed $edx killed $rdx
movl %r13d, %ecx
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.14(%rip), %rdi
movl $1000000, %ecx ## imm = 0xF4240
movl %r15d, %esi
movl %r15d, %edx
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.15(%rip), %rdi
movsd -104(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _libmin_printf
movsd -96(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd -128(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
divsd %xmm2, %xmm0
movsd -112(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
divsd %xmm2, %xmm1
movapd %xmm2, %xmm3
movsd -120(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
divsd %xmm3, %xmm2
leaq L_.str.16(%rip), %rdi
movb $3, %al
callq _libmin_printf
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB3_43
## %bb.42:
xorl %eax, %eax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB3_43:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L3_0_set_18, LBB3_18-LJTI3_0
.set L3_0_set_22, LBB3_22-LJTI3_0
.set L3_0_set_19, LBB3_19-LJTI3_0
.set L3_0_set_17, LBB3_17-LJTI3_0
.set L3_0_set_13, LBB3_13-LJTI3_0
.set L3_0_set_7, LBB3_7-LJTI3_0
.set L3_0_set_10, LBB3_10-LJTI3_0
.set L3_0_set_16, LBB3_16-LJTI3_0
LJTI3_0:
.long L3_0_set_18
.long L3_0_set_22
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_17
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_17
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_13
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_7
.long L3_0_set_10
.long L3_0_set_19
.long L3_0_set_16
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_17
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_13
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_19
.long L3_0_set_7
.long L3_0_set_10
.long L3_0_set_19
.long L3_0_set_16
.end_data_region
## -- End function
.section __DATA,__data
.globl _argc ## @argc
.p2align 2, 0x0
_argc:
.long 6 ## 0x6
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "parrondo"
L_.str.1: ## @.str.1
.asciz "-2"
L_.str.2: ## @.str.2
.asciz "-t"
L_.str.3: ## @.str.3
.asciz "10"
L_.str.4: ## @.str.4
.asciz "-S"
L_.str.5: ## @.str.5
.asciz "1"
.section __DATA,__data
.globl _argv ## @argv
.p2align 4, 0x0
_argv:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.section __TEXT,__cstring,cstring_literals
L_.str.6: ## @.str.6
.asciz "%s\n"
L_.str.7: ## @.str.7
.asciz "parrondo [ -s number -t number -m number -1 -2 -h -v]"
L_.str.8: ## @.str.8
.asciz "1.1"
L_.str.9: ## @.str.9
.asciz "parrondo [ -s number -t number -m number -1 -2 ]\n\nPrint information on simulations of Parrondo's paradoxical game.\n\n-s: Use next argument as RNG seed. (otherwise use system time as seed.)\n-t: Use next argument as number of trials. Default 10000.\n-m: Use number as max fortune (win), -number as min fortune(loss). Default 50. \n-v: Print version number and exit. \n-h: Print this helpful information. \n-1: Simulate simple game alone.\n-2: Simulate complex game alone.\n\n"
L_.str.10: ## @.str.10
.asciz "parrondo: unkown option %s\n"
L_.str.11: ## @.str.11
.asciz "Using seed = %d\n"
L_.str.12: ## @.str.12
.asciz "Simulating %d trials ...\n"
L_.str.13: ## @.str.13
.asciz "%d wins, %d losses, %d draws\n"
L_.str.14: ## @.str.14
.asciz "(Win/loss = %d/-%d, draw = no win/loss in %ld plays.)\n"
L_.str.15: ## @.str.15
.asciz "Average trial length = %lf\n"
L_.str.16: ## @.str.16
.asciz "Site occupancy: 0 mod 3: %lf%%, 1 mod 3: %lf%%, 2 mod 3: %lf%%\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _cointoss ; -- Begin function cointoss
.p2align 2
_cointoss: ; @cointoss
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset b8, -24
.cfi_offset b9, -32
fmov d8, d0
bl _libmin_rand
ucvtf d0, w0
mov x8, #281474972516352 ; =0xffffffc00000
movk x8, #16863, lsl #48
fmov d1, x8
fdiv d0, d0, d1
fcmp d0, d8
mov w8, #-1 ; =0xffffffff
csinc w0, w8, wzr, ge
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _play_s ; -- Begin function play_s
.p2align 2
_play_s: ; @play_s
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _libmin_rand
ucvtf d0, w0
mov x8, #281474972516352 ; =0xffffffc00000
movk x8, #16863, lsl #48
fmov d1, x8
fdiv d0, d0, d1
mov x8, #18350 ; =0x47ae
movk x8, #31457, lsl #16
movk x8, #44564, lsl #32
movk x8, #16351, lsl #48
fmov d1, x8
fcmp d0, d1
mov w8, #-1 ; =0xffffffff
csinc w0, w8, wzr, ge
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _play_c ; -- Begin function play_c
.p2align 2
_play_c: ; @play_c
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _libmin_rand
ucvtf d0, w0
mov x8, #281474972516352 ; =0xffffffc00000
movk x8, #16863, lsl #48
fmov d1, x8
fdiv d0, d0, d1
mov w8, #43691 ; =0xaaab
movk w8, #43690, lsl #16
mov w9, #43690 ; =0xaaaa
movk w9, #10922, lsl #16
madd w8, w19, w8, w9
mov w9, #1431655765 ; =0x55555555
cmp w8, w9
mov x8, #41943 ; =0xa3d7
movk x8, #15728, lsl #16
movk x8, #55050, lsl #32
movk x8, #16359, lsl #48
fmov d1, x8
mov x8, #47186 ; =0xb852
movk x8, #34078, lsl #16
movk x8, #20971, lsl #32
movk x8, #16312, lsl #48
fmov d2, x8
fcsel d1, d2, d1, lo
fcmp d0, d1
mov w8, #-1 ; =0xffffffff
csinc w0, w8, wzr, ge
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, #208
stp d11, d10, [sp, #80] ; 16-byte Folded Spill
stp d9, d8, [sp, #96] ; 16-byte Folded Spill
stp x28, x27, [sp, #112] ; 16-byte Folded Spill
stp x26, x25, [sp, #128] ; 16-byte Folded Spill
stp x24, x23, [sp, #144] ; 16-byte Folded Spill
stp x22, x21, [sp, #160] ; 16-byte Folded Spill
stp x20, x19, [sp, #176] ; 16-byte Folded Spill
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
.cfi_offset b10, -120
.cfi_offset b11, -128
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #72]
adrp x24, _argc@PAGE
ldr w8, [x24, _argc@PAGEOFF]
cmp w8, #2
b.lt LBB3_25
; %bb.1:
mov x21, #0 ; =0x0
mov w22, #0 ; =0x0
mov w20, #1000 ; =0x3e8
mov w19, #50 ; =0x32
fmov d8, #0.50000000
mov w27, #1 ; =0x1
Lloh3:
adrp x25, _argv@PAGE
Lloh4:
add x25, x25, _argv@PAGEOFF
Lloh5:
adrp x26, lJTI3_0@PAGE
Lloh6:
add x26, x26, lJTI3_0@PAGEOFF
Lloh7:
adrp x23, l_.str.6@PAGE
Lloh8:
add x23, x23, l_.str.6@PAGEOFF
Lloh9:
adrp x28, l_.str.7@PAGE
Lloh10:
add x28, x28, l_.str.7@PAGEOFF
LBB3_2: ; =>This Loop Header: Depth=1
; Child Loop BB3_3 Depth 2
; Child Loop BB3_5 Depth 3
str x20, [sp, #24] ; 8-byte Folded Spill
LBB3_3: ; Parent Loop BB3_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB3_5 Depth 3
sxtw x10, w22
add w9, w22, #3
add x20, x10, #2
mov x22, x27
b LBB3_5
LBB3_4: ; in Loop: Header=BB3_5 Depth=3
ldr x0, [x25, x20, lsl #3]
bl _libmin_atol
mov x21, x0
ldrsw x8, [x24, _argc@PAGEOFF]
add w9, w27, #2
add x10, x20, #1
add x20, x20, #2
mov x22, x27
cmp x10, x8
b.ge LBB3_26
LBB3_5: ; Parent Loop BB3_2 Depth=1
; Parent Loop BB3_3 Depth=2
; => This Inner Loop Header: Depth=3
mov x27, x9
ldr x9, [x25, w22, sxtw #3]
ldrb w10, [x9]
cmp w10, #45
b.ne LBB3_10
; %bb.6: ; in Loop: Header=BB3_5 Depth=3
ldrsb w10, [x9, #1]
sub w10, w10, #49
cmp w10, #69
b.hi LBB3_18
; %bb.7: ; in Loop: Header=BB3_5 Depth=3
adr x11, LBB3_8
ldrb w12, [x26, x10]
add x11, x11, x12, lsl #2
br x11
LBB3_8: ; in Loop: Header=BB3_5 Depth=3
cmp x20, w8, sxtw
b.lt LBB3_4
; %bb.9: ; in Loop: Header=BB3_5 Depth=3
str x28, [sp]
mov x0, x23
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
b LBB3_4
LBB3_10: ; in Loop: Header=BB3_3 Depth=2
str x28, [sp]
mov x0, x23
b LBB3_19
LBB3_11: ; in Loop: Header=BB3_3 Depth=2
sub w22, w27, #1
cmp w22, w8
b.lt LBB3_13
; %bb.12: ; in Loop: Header=BB3_3 Depth=2
str x28, [sp]
mov x0, x23
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB3_13: ; in Loop: Header=BB3_3 Depth=2
ldr x0, [x25, w22, sxtw #3]
bl _libmin_atoi
mov x19, x0
b LBB3_21
LBB3_14: ; in Loop: Header=BB3_3 Depth=2
Lloh11:
adrp x8, l_.str.8@PAGE
Lloh12:
add x8, x8, l_.str.8@PAGEOFF
str x8, [sp]
mov x0, x23
bl _libmin_printf
bl _libmin_success
LBB3_15: ; in Loop: Header=BB3_3 Depth=2
Lloh13:
adrp x8, l_.str.9@PAGE
Lloh14:
add x8, x8, l_.str.9@PAGEOFF
str x8, [sp]
mov x0, x23
bl _libmin_printf
bl _libmin_success
LBB3_16: ; in Loop: Header=BB3_3 Depth=2
movi d8, #0000000000000000
b LBB3_20
LBB3_17: ; in Loop: Header=BB3_3 Depth=2
fmov d8, #1.00000000
b LBB3_20
LBB3_18: ; in Loop: Header=BB3_3 Depth=2
str x9, [sp]
Lloh15:
adrp x0, l_.str.10@PAGE
Lloh16:
add x0, x0, l_.str.10@PAGEOFF
LBB3_19: ; in Loop: Header=BB3_3 Depth=2
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB3_20: ; in Loop: Header=BB3_3 Depth=2
add w27, w22, #1
LBB3_21: ; in Loop: Header=BB3_3 Depth=2
ldr w8, [x24, _argc@PAGEOFF]
cmp w27, w8
b.lt LBB3_3
b LBB3_26
LBB3_22: ; in Loop: Header=BB3_2 Depth=1
sub w22, w27, #1
cmp w22, w8
b.lt LBB3_24
; %bb.23: ; in Loop: Header=BB3_2 Depth=1
str x28, [sp]
mov x0, x23
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB3_24: ; in Loop: Header=BB3_2 Depth=1
ldr x0, [x25, w22, sxtw #3]
bl _libmin_atoi
mov x20, x0
ldr w8, [x24, _argc@PAGEOFF]
cmp w27, w8
b.lt LBB3_2
b LBB3_27
LBB3_25:
mov w20, #1000 ; =0x3e8
mov w19, #50 ; =0x32
fmov d8, #0.50000000
b LBB3_28
LBB3_26:
ldr x20, [sp, #24] ; 8-byte Folded Reload
LBB3_27:
cbnz x21, LBB3_29
LBB3_28:
mov w21, #3445 ; =0xd75
str x21, [sp]
Lloh17:
adrp x0, l_.str.11@PAGE
Lloh18:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_printf
LBB3_29:
mov w22, #16960 ; =0x4240
movk w22, #15, lsl #16
mov x0, x21
bl _libmin_srand
stp xzr, xzr, [sp, #48]
str xzr, [sp, #64]
str x20, [sp]
Lloh19:
adrp x0, l_.str.12@PAGE
Lloh20:
add x0, x0, l_.str.12@PAGEOFF
bl _libmin_printf
cmp w20, #1
b.lt LBB3_41
; %bb.30:
mov w23, #0 ; =0x0
mov w10, #0 ; =0x0
mov w24, #0 ; =0x0
neg w25, w19
movi d9, #0000000000000000
mov x26, #281474972516352 ; =0xffffffc00000
movk x26, #16863, lsl #48
mov w27, #43691 ; =0xaaab
movk w27, #43690, lsl #16
add x28, sp, #48
str x20, [sp, #24] ; 8-byte Folded Spill
b LBB3_33
LBB3_31: ; in Loop: Header=BB3_33 Depth=1
add x8, x21, #1
LBB3_32: ; in Loop: Header=BB3_33 Depth=1
cmp w20, w19
cset w9, ne
ldr x10, [sp, #32] ; 8-byte Folded Reload
cinc w10, w10, eq
cmp w20, w25
csel w9, wzr, w9, ne
add w23, w23, w9
add w24, w24, #1
scvtf d0, x8
fadd d9, d9, d0
ldr x20, [sp, #24] ; 8-byte Folded Reload
cmp w24, w20
b.eq LBB3_40
LBB3_33: ; =>This Loop Header: Depth=1
; Child Loop BB3_34 Depth 2
str x10, [sp, #32] ; 8-byte Folded Spill
bl _libmin_rand
bl _libmin_srand
mov x21, #0 ; =0x0
mov w20, #0 ; =0x0
LBB3_34: ; Parent Loop BB3_33 Depth=1
; => This Inner Loop Header: Depth=2
bl _libmin_rand
ucvtf d0, w0
fmov d1, x26
fdiv d0, d0, d1
fcmp d0, d8
b.ge LBB3_36
; %bb.35: ; in Loop: Header=BB3_34 Depth=2
bl _libmin_rand
ucvtf d0, w0
fmov d1, x26
fdiv d0, d0, d1
mov w8, #43690 ; =0xaaaa
movk w8, #10922, lsl #16
madd w8, w20, w27, w8
mov w9, #1431655765 ; =0x55555555
cmp w8, w9
mov x8, #41943 ; =0xa3d7
movk x8, #15728, lsl #16
movk x8, #55050, lsl #32
movk x8, #16359, lsl #48
fmov d1, x8
mov x8, #47186 ; =0xb852
movk x8, #34078, lsl #16
movk x8, #20971, lsl #32
movk x8, #16312, lsl #48
fmov d2, x8
fcsel d1, d2, d1, lo
b LBB3_37
LBB3_36: ; in Loop: Header=BB3_34 Depth=2
bl _libmin_rand
ucvtf d0, w0
fmov d1, x26
fdiv d0, d0, d1
mov x8, #18350 ; =0x47ae
movk x8, #31457, lsl #16
movk x8, #44564, lsl #32
movk x8, #16351, lsl #48
fmov d1, x8
LBB3_37: ; in Loop: Header=BB3_34 Depth=2
fcmp d0, d1
cset w8, ge
sub w9, w20, #1
cmp w8, #0
csinc w20, w9, w20, ne
cmp w20, w19
ccmp w20, w25, #4, lt
b.le LBB3_31
; %bb.38: ; in Loop: Header=BB3_34 Depth=2
cmp w20, #0
cneg w8, w20, mi
umull x9, w8, w27
lsr x9, x9, #33
add w9, w9, w9, lsl #1
sub w8, w8, w9
ubfiz x8, x8, #3, #32
ldr x9, [x28, x8]
add x9, x9, #1
str x9, [x28, x8]
add x21, x21, #1
cmp x22, x21
b.ne LBB3_34
; %bb.39: ; in Loop: Header=BB3_33 Depth=1
add x8, x22, #1
b LBB3_32
LBB3_40:
ldr d0, [sp, #48]
mov x8, #4636737291354636288 ; =0x4059000000000000
dup.2d v1, x8
scvtf d0, d0
fmov d2, x8
fmul d8, d0, d2
ldur q0, [sp, #56]
scvtf.2d v0, v0
fmul.2d v0, v0, v1
str q0, [sp, #32] ; 16-byte Folded Spill
b LBB3_42
LBB3_41:
mov w20, #0 ; =0x0
mov w10, #0 ; =0x0
mov w23, #0 ; =0x0
movi.2d v0, #0000000000000000
str q0, [sp, #32] ; 16-byte Folded Spill
movi d8, #0000000000000000
movi d9, #0000000000000000
LBB3_42:
scvtf d0, w20
fdiv d10, d9, d0
add w8, w10, w23
sub w8, w20, w8
stp x10, x23, [sp]
str x8, [sp, #16]
Lloh21:
adrp x0, l_.str.13@PAGE
Lloh22:
add x0, x0, l_.str.13@PAGEOFF
bl _libmin_printf
stp x19, x22, [sp, #8]
str x19, [sp]
Lloh23:
adrp x0, l_.str.14@PAGE
Lloh24:
add x0, x0, l_.str.14@PAGEOFF
bl _libmin_printf
str d10, [sp]
Lloh25:
adrp x0, l_.str.15@PAGE
Lloh26:
add x0, x0, l_.str.15@PAGEOFF
bl _libmin_printf
fdiv d0, d8, d9
ldr q2, [sp, #32] ; 16-byte Folded Reload
fdiv d1, d2, d9
mov d2, v2[1]
fdiv d2, d2, d9
stp d1, d2, [sp, #8]
str d0, [sp]
Lloh27:
adrp x0, l_.str.16@PAGE
Lloh28:
add x0, x0, l_.str.16@PAGEOFF
bl _libmin_printf
bl _libmin_success
ldr x8, [sp, #72]
Lloh29:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh30:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
cmp x9, x8
b.ne LBB3_44
; %bb.43:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
ldp x20, x19, [sp, #176] ; 16-byte Folded Reload
ldp x22, x21, [sp, #160] ; 16-byte Folded Reload
ldp x24, x23, [sp, #144] ; 16-byte Folded Reload
ldp x26, x25, [sp, #128] ; 16-byte Folded Reload
ldp x28, x27, [sp, #112] ; 16-byte Folded Reload
ldp d9, d8, [sp, #96] ; 16-byte Folded Reload
ldp d11, d10, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #208
ret
LBB3_44:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.cfi_endproc
.section __TEXT,__const
lJTI3_0:
.byte (LBB3_16-LBB3_8)>>2
.byte (LBB3_17-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_15-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_15-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_11-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_8-LBB3_8)>>2
.byte (LBB3_22-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_14-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_15-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_11-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_8-LBB3_8)>>2
.byte (LBB3_22-LBB3_8)>>2
.byte (LBB3_18-LBB3_8)>>2
.byte (LBB3_14-LBB3_8)>>2
; -- End function
.section __DATA,__data
.globl _argc ; @argc
.p2align 2, 0x0
_argc:
.long 6 ; 0x6
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "parrondo"
l_.str.1: ; @.str.1
.asciz "-2"
l_.str.2: ; @.str.2
.asciz "-t"
l_.str.3: ; @.str.3
.asciz "10"
l_.str.4: ; @.str.4
.asciz "-S"
l_.str.5: ; @.str.5
.asciz "1"
.section __DATA,__data
.globl _argv ; @argv
.p2align 3, 0x0
_argv:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.section __TEXT,__cstring,cstring_literals
l_.str.6: ; @.str.6
.asciz "%s\n"
l_.str.7: ; @.str.7
.asciz "parrondo [ -s number -t number -m number -1 -2 -h -v]"
l_.str.8: ; @.str.8
.asciz "1.1"
l_.str.9: ; @.str.9
.asciz "parrondo [ -s number -t number -m number -1 -2 ]\n\nPrint information on simulations of Parrondo's paradoxical game.\n\n-s: Use next argument as RNG seed. (otherwise use system time as seed.)\n-t: Use next argument as number of trials. Default 10000.\n-m: Use number as max fortune (win), -number as min fortune(loss). Default 50. \n-v: Print version number and exit. \n-h: Print this helpful information. \n-1: Simulate simple game alone.\n-2: Simulate complex game alone.\n\n"
l_.str.10: ; @.str.10
.asciz "parrondo: unkown option %s\n"
l_.str.11: ; @.str.11
.asciz "Using seed = %d\n"
l_.str.12: ; @.str.12
.asciz "Simulating %d trials ...\n"
l_.str.13: ; @.str.13
.asciz "%d wins, %d losses, %d draws\n"
l_.str.14: ; @.str.14
.asciz "(Win/loss = %d/-%d, draw = no win/loss in %ld plays.)\n"
l_.str.15: ; @.str.15
.asciz "Average trial length = %lf\n"
l_.str.16: ; @.str.16
.asciz "Site occupancy: 0 mod 3: %lf%%, 1 mod 3: %lf%%, 2 mod 3: %lf%%\n"
.subsections_via_symbols
|
c-interp.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _next ## -- Begin function next
.p2align 4, 0x90
_next: ## @next
.cfi_startproc
## %bb.0:
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 _src@GOTPCREL(%rip), %r14
movq (%r14), %rbx
movsbq (%rbx), %r12
movq _token@GOTPCREL(%rip), %rax
movq %r12, (%rax)
testq %r12, %r12
je LBB0_95
## %bb.1:
movq _line@GOTPCREL(%rip), %rdi
movq _old_text@GOTPCREL(%rip), %r13
movq _text@GOTPCREL(%rip), %r15
movl %r12d, %esi
jmp LBB0_6
LBB0_2: ## in Loop: Header=BB0_6 Depth=1
movq (%r14), %rdx
movq %rbx, %rdi
LBB0_3: ## in Loop: Header=BB0_6 Depth=1
incq (%rdi)
LBB0_4: ## in Loop: Header=BB0_6 Depth=1
movzbl (%rdx), %esi
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
movsbq %sil, %r12
movq _token@GOTPCREL(%rip), %rax
movq %r12, (%rax)
movq %rdx, %rbx
testb %r12b, %r12b
je LBB0_95
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_25 Depth 2
## Child Loop BB0_8 Depth 2
## Child Loop BB0_15 Depth 2
leaq 1(%rbx), %rdx
movq %rdx, (%r14)
cmpq $10, %r12
je LBB0_11
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
cmpq $35, %r12
jne LBB0_17
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rdx), %esi
testl %esi, %esi
je LBB0_5
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
cmpl $10, %esi
je LBB0_5
## %bb.10: ## in Loop: Header=BB0_8 Depth=2
incq %rdx
movq %rdx, (%r14)
jmp LBB0_8
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_6 Depth=1
movq _assembly@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_3
## %bb.12: ## in Loop: Header=BB0_6 Depth=1
movq (%rdi), %rsi
movq _old_src@GOTPCREL(%rip), %r12
movq (%r12), %rcx
subl %ecx, %edx
movq %rdi, %rbx
leaq L_.str.1(%rip), %rdi
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movq (%r14), %rdx
movq %rdx, (%r12)
movq (%r13), %rax
cmpq (%r15), %rax
leaq L_.str.3(%rip), %r12
jb LBB0_15
jmp LBB0_3
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_15 Depth=2
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB0_14: ## in Loop: Header=BB0_15 Depth=2
movq (%r13), %rax
cmpq (%r15), %rax
jae LBB0_2
LBB0_15: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq 8(%rax), %rax
leaq (%rax,%rax,4), %rsi
addq %r12, %rsi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq (%r13), %rax
cmpq $7, (%rax)
jg LBB0_13
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq 8(%rax), %rsi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB0_14
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_6 Depth=1
leaq -97(%r12), %rax
cmpq $26, %rax
jb LBB0_28
## %bb.18: ## in Loop: Header=BB0_6 Depth=1
cmpb $95, %sil
je LBB0_28
## %bb.19: ## in Loop: Header=BB0_6 Depth=1
leaq -65(%r12), %rax
cmpq $25, %rax
jbe LBB0_28
## %bb.20: ## in Loop: Header=BB0_6 Depth=1
leaq -48(%r12), %rcx
cmpq $9, %rcx
jbe LBB0_40
## %bb.21: ## in Loop: Header=BB0_6 Depth=1
leaq -33(%r12), %rax
cmpq $93, %rax
ja LBB0_4
## %bb.22: ## in Loop: Header=BB0_6 Depth=1
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_23: ## in Loop: Header=BB0_6 Depth=1
cmpb $47, (%rdx)
jne LBB0_85
## %bb.24: ## in Loop: Header=BB0_6 Depth=1
addq $2, %rbx
movb $47, %al
movq %rbx, %rdx
testb %al, %al
je LBB0_27
.p2align 4, 0x90
LBB0_25: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movzbl %al, %eax
cmpl $10, %eax
je LBB0_27
## %bb.26: ## in Loop: Header=BB0_25 Depth=2
movq %rdx, (%r14)
movzbl (%rdx), %eax
incq %rdx
testb %al, %al
jne LBB0_25
LBB0_27: ## in Loop: Header=BB0_6 Depth=1
decq %rdx
jmp LBB0_4
LBB0_28:
leaq 2(%rbx), %rax
jmp LBB0_30
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_30 Depth=1
imulq $147, %r12, %r12
addq %rcx, %r12
movq %rax, (%r14)
incq %rax
LBB0_30: ## =>This Inner Loop Header: Depth=1
movzbl -1(%rax), %ecx
movl %ecx, %edx
andb $-33, %dl
addb $-65, %dl
cmpb $26, %dl
jb LBB0_29
## %bb.31: ## in Loop: Header=BB0_30 Depth=1
cmpq $95, %rcx
je LBB0_29
## %bb.32: ## in Loop: Header=BB0_30 Depth=1
leal -48(%rcx), %edx
cmpb $9, %dl
jbe LBB0_29
## %bb.33:
movq _symbols@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _current_id@GOTPCREL(%rip), %r15
movq %rcx, (%r15)
cmpq $0, (%rcx)
jne LBB0_37
## %bb.34:
movq %rcx, %rax
LBB0_35:
movq %rbx, 16(%rax)
movq %r12, 8(%rax)
movq $133, (%rax)
movq _token@GOTPCREL(%rip), %rax
movq $133, (%rax)
jmp LBB0_95
.p2align 4, 0x90
LBB0_36: ## in Loop: Header=BB0_37 Depth=1
leaq 72(%rcx), %rax
movq %rax, (%r15)
cmpq $0, 72(%rcx)
movq %rax, %rcx
je LBB0_35
LBB0_37: ## =>This Inner Loop Header: Depth=1
cmpq %r12, 8(%rcx)
jne LBB0_36
## %bb.38: ## in Loop: Header=BB0_37 Depth=1
movq 16(%rcx), %rdi
movq (%r14), %rdx
subq %rbx, %rdx
movq %rbx, %rsi
callq _libmin_memcmp
movq (%r15), %rcx
testl %eax, %eax
jne LBB0_36
## %bb.39:
movq (%rcx), %rax
jmp LBB0_84
LBB0_40:
movq _token_val@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movzbl (%rdx), %edx
cmpb $49, %sil
jb LBB0_55
## %bb.41:
addb $-48, %dl
cmpb $9, %dl
movq _token@GOTPCREL(%rip), %r9
ja LBB0_94
## %bb.42:
addq $2, %rbx
.p2align 4, 0x90
LBB0_43: ## =>This Inner Loop Header: Depth=1
leaq (%rcx,%rcx,4), %rcx
movq %rbx, (%r14)
movsbq -1(%rbx), %rdx
leaq (%rdx,%rcx,2), %rcx
addq $-48, %rcx
movq %rcx, (%rax)
movzbl (%rbx), %edx
addb $-48, %dl
incq %rbx
cmpb $10, %dl
jb LBB0_43
jmp LBB0_94
LBB0_44:
movq _data@GOTPCREL(%rip), %rcx
movq (%rcx), %rax
movsbq (%rdx), %rsi
testq %rsi, %rsi
je LBB0_87
## %bb.45:
cmpq %rsi, %r12
je LBB0_87
## %bb.46:
movq _token_val@GOTPCREL(%rip), %rsi
movq _token@GOTPCREL(%rip), %r9
.p2align 4, 0x90
LBB0_47: ## =>This Inner Loop Header: Depth=1
leaq 1(%rdx), %rdi
movq %rdi, (%r14)
movsbq (%rdx), %r8
movq %r8, (%rsi)
cmpq $92, %r8
jne LBB0_51
## %bb.48: ## in Loop: Header=BB0_47 Depth=1
leaq 2(%rdx), %rdi
movq %rdi, (%r14)
movzbl 1(%rdx), %edx
movl $10, %r8d
cmpb $110, %dl
je LBB0_50
## %bb.49: ## in Loop: Header=BB0_47 Depth=1
movl %edx, %r8d
LBB0_50: ## in Loop: Header=BB0_47 Depth=1
movsbq %r8b, %rdx
movq %rdx, (%rsi)
LBB0_51: ## in Loop: Header=BB0_47 Depth=1
movq %rdi, %rdx
cmpq $34, %r12
jne LBB0_53
## %bb.52: ## in Loop: Header=BB0_47 Depth=1
movq (%rcx), %rdx
leaq 1(%rdx), %rdi
movq %rdi, (%rcx)
movb %r8b, (%rdx)
movq (%r14), %rdx
movq (%r9), %r12
LBB0_53: ## in Loop: Header=BB0_47 Depth=1
movsbq (%rdx), %rdi
testq %rdi, %rdi
je LBB0_88
## %bb.54: ## in Loop: Header=BB0_47 Depth=1
cmpq %rdi, %r12
jne LBB0_47
jmp LBB0_88
LBB0_55:
movl %edx, %esi
orl $32, %esi
cmpl $120, %esi
jne LBB0_91
## %bb.56:
addq $2, %rbx
movabsq $270582939711, %rdx ## imm = 0x3F0000003F
movq _token@GOTPCREL(%rip), %r9
jmp LBB0_58
.p2align 4, 0x90
LBB0_57: ## in Loop: Header=BB0_58 Depth=1
shlq $4, %rcx
movl %esi, %edi
andl $15, %edi
xorl %r8d, %r8d
cmpb $65, %sil
setae %r8b
leaq (%r8,%r8,8), %rsi
addq %rcx, %rdi
addq %rsi, %rdi
movq %rdi, (%rax)
incq %rbx
movq %rdi, %rcx
LBB0_58: ## =>This Inner Loop Header: Depth=1
movq %rbx, (%r14)
movzbl (%rbx), %esi
movsbq %sil, %rsi
movq %rsi, (%r9)
leal -48(%rsi), %edi
cmpb $10, %dil
jb LBB0_57
## %bb.59: ## in Loop: Header=BB0_58 Depth=1
movzbl %sil, %edi
addl $-65, %edi
cmpl $37, %edi
ja LBB0_94
## %bb.60: ## in Loop: Header=BB0_58 Depth=1
btq %rdi, %rdx
jb LBB0_57
jmp LBB0_94
LBB0_61:
cmpb $61, (%rdx)
jne LBB0_95
## %bb.62:
addq $2, %rbx
movq %rbx, (%r14)
movq _token@GOTPCREL(%rip), %rax
movq $150, (%rax)
jmp LBB0_95
LBB0_63:
movq _token@GOTPCREL(%rip), %rax
movq $161, (%rax)
jmp LBB0_95
LBB0_64:
movl $148, %eax
cmpb $38, (%rdx)
jne LBB0_84
## %bb.65:
addq $2, %rbx
movq %rbx, (%r14)
movl $145, %eax
jmp LBB0_84
LBB0_66:
movq _token@GOTPCREL(%rip), %rax
movq $159, (%rax)
jmp LBB0_95
LBB0_67:
movl $157, %eax
cmpb $43, (%rdx)
jne LBB0_84
## %bb.68:
addq $2, %rbx
movq %rbx, (%r14)
movl $162, %eax
jmp LBB0_84
LBB0_69:
movl $158, %eax
cmpb $45, (%rdx)
jne LBB0_84
## %bb.70:
addq $2, %rbx
movq %rbx, (%r14)
movl $163, %eax
jmp LBB0_84
LBB0_71:
movzbl (%rdx), %eax
cmpl $60, %eax
je LBB0_96
## %bb.72:
cmpl $61, %eax
movq _token@GOTPCREL(%rip), %rax
jne LBB0_97
## %bb.73:
addq $2, %rbx
movq %rbx, (%r14)
movq $153, (%rax)
jmp LBB0_95
LBB0_74:
movl $142, %eax
cmpb $61, (%rdx)
jne LBB0_84
## %bb.75:
addq $2, %rbx
movq %rbx, (%r14)
movl $149, %eax
jmp LBB0_84
LBB0_76:
movzbl (%rdx), %eax
cmpl $62, %eax
je LBB0_98
## %bb.77:
cmpl $61, %eax
movq _token@GOTPCREL(%rip), %rax
jne LBB0_99
## %bb.78:
addq $2, %rbx
movq %rbx, (%r14)
movq $154, (%rax)
jmp LBB0_95
LBB0_79:
movq _token@GOTPCREL(%rip), %rax
movq $143, (%rax)
jmp LBB0_95
LBB0_80:
movq _token@GOTPCREL(%rip), %rax
movq $164, (%rax)
jmp LBB0_95
LBB0_81:
movq _token@GOTPCREL(%rip), %rax
movq $147, (%rax)
jmp LBB0_95
LBB0_82:
movl $146, %eax
cmpb $124, (%rdx)
jne LBB0_84
## %bb.83:
addq $2, %rbx
movq %rbx, (%r14)
movl $144, %eax
LBB0_84:
movq _token@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
jmp LBB0_95
LBB0_87:
movq _token@GOTPCREL(%rip), %r9
LBB0_88:
incq %rdx
movq %rdx, (%r14)
cmpq $34, %r12
jne LBB0_94
## %bb.89:
movq _token_val@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
jmp LBB0_95
LBB0_85:
movq _token@GOTPCREL(%rip), %rax
movq $160, (%rax)
jmp LBB0_95
LBB0_91:
andb $-8, %dl
cmpb $48, %dl
movq _token@GOTPCREL(%rip), %r9
jne LBB0_94
## %bb.92:
addq $2, %rbx
LBB0_93: ## =>This Inner Loop Header: Depth=1
movq %rbx, (%r14)
movsbq -1(%rbx), %rdx
leaq (%rdx,%rcx,8), %rcx
addq $-48, %rcx
movq %rcx, (%rax)
movzbl (%rbx), %edx
andb $-8, %dl
incq %rbx
cmpb $48, %dl
je LBB0_93
LBB0_94:
movq $128, (%r9)
LBB0_95:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_96:
addq $2, %rbx
movq %rbx, (%r14)
movq _token@GOTPCREL(%rip), %rax
movq $155, (%rax)
jmp LBB0_95
LBB0_97:
movq $151, (%rax)
jmp LBB0_95
LBB0_98:
addq $2, %rbx
movq %rbx, (%r14)
movq _token@GOTPCREL(%rip), %rax
movq $156, (%rax)
jmp LBB0_95
LBB0_99:
movq $152, (%rax)
jmp LBB0_95
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_61, LBB0_61-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_63, LBB0_63-LJTI0_0
.set L0_0_set_64, LBB0_64-LJTI0_0
.set L0_0_set_95, LBB0_95-LJTI0_0
.set L0_0_set_66, LBB0_66-LJTI0_0
.set L0_0_set_67, LBB0_67-LJTI0_0
.set L0_0_set_69, LBB0_69-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_71, LBB0_71-LJTI0_0
.set L0_0_set_74, LBB0_74-LJTI0_0
.set L0_0_set_76, LBB0_76-LJTI0_0
.set L0_0_set_79, LBB0_79-LJTI0_0
.set L0_0_set_80, LBB0_80-LJTI0_0
.set L0_0_set_81, LBB0_81-LJTI0_0
.set L0_0_set_82, LBB0_82-LJTI0_0
LJTI0_0:
.long L0_0_set_61
.long L0_0_set_44
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_63
.long L0_0_set_64
.long L0_0_set_44
.long L0_0_set_95
.long L0_0_set_95
.long L0_0_set_66
.long L0_0_set_67
.long L0_0_set_95
.long L0_0_set_69
.long L0_0_set_4
.long L0_0_set_23
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_95
.long L0_0_set_95
.long L0_0_set_71
.long L0_0_set_74
.long L0_0_set_76
.long L0_0_set_79
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_80
.long L0_0_set_4
.long L0_0_set_95
.long L0_0_set_81
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_4
.long L0_0_set_95
.long L0_0_set_82
.long L0_0_set_95
.long L0_0_set_95
.end_data_region
## -- End function
.globl _match ## -- Begin function match
.p2align 4, 0x90
_match: ## @match
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _token@GOTPCREL(%rip), %rax
cmpq %rdi, (%rax)
jne LBB1_2
## %bb.1:
popq %rbp
jmp _next ## TAILCALL
LBB1_2:
movq %rdi, %rdx
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
popq %rbp
jmp _libmin_fail ## TAILCALL
.cfi_endproc
## -- End function
.globl _expression ## -- Begin function expression
.p2align 4, 0x90
_expression: ## @expression
.cfi_startproc
## %bb.0:
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 _token@GOTPCREL(%rip), %r13
movq (%r13), %r14
testq %r14, %r14
je LBB2_5
## %bb.1:
cmpq $125, %r14
jle LBB2_6
LBB2_2:
leaq -126(%r14), %rax
cmpq $33, %rax
ja LBB2_35
## %bb.3:
leaq LJTI2_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_4:
callq _next
movl $162, %edi
callq _expression
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq $13, 8(%rcx)
movq $1, 16(%rcx)
movq $-1, 24(%rcx)
leaq 32(%rcx), %rdx
movq %rdx, (%rax)
movq $15, 32(%rcx)
jmp LBB2_48
LBB2_5:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
movq (%r13), %r14
cmpq $125, %r14
jg LBB2_2
LBB2_6:
cmpq $33, %r14
je LBB2_31
## %bb.7:
cmpq $34, %r14
je LBB2_32
## %bb.8:
cmpq $40, %r14
jne LBB2_35
## %bb.9:
callq _next
movq (%r13), %rax
cmpq $138, %rax
je LBB2_11
## %bb.10:
cmpq $134, %rax
jne LBB2_113
LBB2_11:
xorl %r14d, %r14d
cmpq $134, %rax
setne %r14b
callq _next
.p2align 4, 0x90
LBB2_12: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rax
cmpq $159, %rax
jne LBB2_39
## %bb.13: ## in Loop: Header=BB2_12 Depth=1
callq _next
addq $2, %r14
jmp LBB2_12
LBB2_14:
callq _next
movq _current_id@GOTPCREL(%rip), %rax
movq (%rax), %r14
cmpq $40, (%r13)
jne LBB2_41
## %bb.15:
callq _next
cmpq $41, (%r13)
jne LBB2_124
## %bb.16:
xorl %r15d, %r15d
LBB2_17:
callq _next
movq 32(%r14), %rax
cmpq $129, %rax
je LBB2_128
## %bb.18:
cmpq $130, %rax
jne LBB2_129
## %bb.19:
movq 40(%r14), %rax
movq _text@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
leaq 8(%rdx), %rsi
movq %rsi, (%rcx)
movq %rax, 8(%rdx)
jmp LBB2_130
LBB2_20:
callq _next
movl $162, %edi
callq _expression
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq (%rcx), %rdx
addq $-9, %rdx
cmpq $1, %rdx
ja LBB2_45
## %bb.21:
addq $-8, %rcx
movq %rcx, (%rax)
jmp LBB2_46
LBB2_22:
callq _next
cmpq $128, (%r13)
movq _text@GOTPCREL(%rip), %r14
movq (%r14), %rax
movq $1, 8(%rax)
jne LBB2_47
## %bb.23:
movq _token_val@GOTPCREL(%rip), %rcx
xorl %edx, %edx
subq (%rcx), %rdx
leaq 16(%rax), %rcx
movq %rcx, (%r14)
movq %rdx, 16(%rax)
callq _next
jmp LBB2_48
LBB2_24:
callq _next
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq $1, 8(%rcx)
movq _token_val@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
LBB2_25:
leaq 16(%rcx), %rsi
movq %rsi, (%rax)
movq %rdx, 16(%rcx)
jmp LBB2_48
LBB2_26:
callq _next
cmpq $40, (%r13)
jne LBB2_106
## %bb.27:
callq _next
jmp LBB2_107
LBB2_28:
callq _next
movl $162, %edi
callq _expression
jmp LBB2_48
LBB2_29:
callq _next
movl $162, %edi
callq _expression
movq _expr_type@GOTPCREL(%rip), %r14
movq (%r14), %rax
cmpq $2, %rax
jl LBB2_110
## %bb.30:
addq $-2, %rax
movq %rax, (%r14)
jmp LBB2_111
LBB2_31:
callq _next
movl $162, %edi
callq _expression
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq $13, 8(%rcx)
movq $1, 16(%rcx)
movq $0, 24(%rcx)
leaq 32(%rcx), %rdx
movq %rdx, (%rax)
movq $17, 32(%rcx)
jmp LBB2_48
LBB2_32:
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq $1, 8(%rcx)
movq _token_val@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
leaq 16(%rcx), %rsi
movq %rsi, (%rax)
movq %rdx, 16(%rcx)
.p2align 4, 0x90
LBB2_33: ## =>This Inner Loop Header: Depth=1
callq _next
cmpq $34, (%r13)
je LBB2_33
## %bb.34:
movq _data@GOTPCREL(%rip), %rax
movq (%rax), %rcx
andq $-8, %rcx
addq $8, %rcx
movq %rcx, (%rax)
movq _expr_type@GOTPCREL(%rip), %rax
movq $2, (%rax)
jmp LBB2_49
LBB2_35:
movq %r14, %rax
andq $-2, %rax
cmpq $162, %rax
jne LBB2_112
## %bb.36:
callq _next
movl $162, %edi
callq _expression
movq _text@GOTPCREL(%rip), %r15
movq (%r15), %rax
movq (%rax), %rcx
cmpq $9, %rcx
je LBB2_135
## %bb.37:
cmpq $10, %rcx
jne LBB2_136
## %bb.38:
movq $13, (%rax)
movq $10, 8(%rax)
addq $8, %rax
jmp LBB2_137
LBB2_39:
cmpq $41, %rax
jne LBB2_115
## %bb.40:
callq _next
jmp LBB2_116
LBB2_41:
movq 32(%r14), %rax
cmpq $132, %rax
je LBB2_138
## %bb.42:
cmpq $131, %rax
je LBB2_139
## %bb.43:
cmpq $128, %rax
jne LBB2_141
## %bb.44:
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq $1, 8(%rcx)
movq 40(%r14), %rdx
jmp LBB2_25
LBB2_45:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB2_46:
movq _expr_type@GOTPCREL(%rip), %rax
addq $2, (%rax)
jmp LBB2_49
LBB2_47:
movq $-1, 16(%rax)
leaq 24(%rax), %rcx
movq %rcx, (%r14)
movq $13, 24(%rax)
movl $162, %edi
callq _expression
movq (%r14), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r14)
movq $27, 8(%rax)
LBB2_48:
movq _expr_type@GOTPCREL(%rip), %rax
movq $1, (%rax)
LBB2_49:
movq (%r13), %rdx
cmpq %rbx, %rdx
jge LBB2_51
LBB2_50:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_51:
movq _expr_type@GOTPCREL(%rip), %r13
movq _text@GOTPCREL(%rip), %r15
leaq LJTI2_1(%rip), %r12
movq %rbx, -48(%rbp) ## 8-byte Spill
jmp LBB2_56
LBB2_52: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rbx
movq $5, 8(%rbx)
leaq 16(%rbx), %rax
movq %rax, (%r15)
movl $145, %edi
LBB2_53: ## in Loop: Header=BB2_56 Depth=1
callq _expression
movq (%r15), %rax
addq $8, %rax
movq %rax, 16(%rbx)
movq -48(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB2_54: ## in Loop: Header=BB2_56 Depth=1
movq $1, (%r13)
LBB2_55: ## in Loop: Header=BB2_56 Depth=1
movq _token@GOTPCREL(%rip), %rax
movq (%rax), %rdx
cmpq %rbx, %rdx
jl LBB2_50
LBB2_56: ## =>This Inner Loop Header: Depth=1
movq (%r13), %r14
leaq -142(%rdx), %rax
cmpq $19, %rax
ja LBB2_60
## %bb.57: ## in Loop: Header=BB2_56 Depth=1
movslq (%r12,%rax,4), %rax
addq %r12, %rax
jmpq *%rax
LBB2_58: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
movq (%rax), %rcx
addq $-9, %rcx
cmpq $1, %rcx
ja LBB2_87
## %bb.59: ## in Loop: Header=BB2_56 Depth=1
movq $13, (%rax)
jmp LBB2_88
LBB2_60: ## in Loop: Header=BB2_56 Depth=1
movq %rdx, %rax
andq $-2, %rax
cmpq $162, %rax
jne LBB2_89
## %bb.61: ## in Loop: Header=BB2_56 Depth=1
movq (%r15), %rax
movq (%rax), %rcx
cmpq $10, %rcx
je LBB2_100
## %bb.62: ## in Loop: Header=BB2_56 Depth=1
cmpq $9, %rcx
jne LBB2_101
## %bb.63: ## in Loop: Header=BB2_56 Depth=1
movq $13, (%rax)
movq $9, 8(%rax)
addq $8, %rax
jmp LBB2_102
LBB2_64: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %r14
movq $4, 8(%r14)
addq $16, %r14
movq %r14, (%r15)
movl $142, %edi
callq _expression
movq _token@GOTPCREL(%rip), %rax
cmpq $58, (%rax)
jne LBB2_94
## %bb.65: ## in Loop: Header=BB2_56 Depth=1
callq _next
jmp LBB2_95
LBB2_66: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rbx
movq $4, 8(%rbx)
leaq 16(%rbx), %rax
movq %rax, (%r15)
movl $146, %edi
jmp LBB2_53
LBB2_67: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $147, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $14, 8(%rax)
jmp LBB2_54
LBB2_68: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $148, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $15, 8(%rax)
jmp LBB2_54
LBB2_69: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $149, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $16, 8(%rax)
jmp LBB2_54
LBB2_70: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $150, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $17, 8(%rax)
jmp LBB2_54
LBB2_71: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $151, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $18, 8(%rax)
jmp LBB2_54
LBB2_72: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $155, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $19, 8(%rax)
jmp LBB2_54
LBB2_73: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $155, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $20, 8(%rax)
jmp LBB2_54
LBB2_74: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $155, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $21, 8(%rax)
jmp LBB2_54
LBB2_75: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $155, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $22, 8(%rax)
jmp LBB2_54
LBB2_76: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $157, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $23, 8(%rax)
jmp LBB2_54
LBB2_77: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $157, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $24, 8(%rax)
jmp LBB2_54
LBB2_78: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $159, %edi
callq _expression
movq %r14, (%r13)
movq (%r15), %rax
cmpq $3, %r14
jl LBB2_80
## %bb.79: ## in Loop: Header=BB2_56 Depth=1
movq $13, 8(%rax)
movq $1, 16(%rax)
movq $8, 24(%rax)
movq $27, 32(%rax)
addq $32, %rax
LBB2_80: ## in Loop: Header=BB2_56 Depth=1
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $25, 8(%rax)
jmp LBB2_55
LBB2_81: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $159, %edi
callq _expression
movq (%r15), %rax
cmpq $3, %r14
jl LBB2_96
## %bb.82: ## in Loop: Header=BB2_56 Depth=1
cmpq (%r13), %r14
jne LBB2_96
## %bb.83: ## in Loop: Header=BB2_56 Depth=1
movq $26, 8(%rax)
movq $13, 16(%rax)
movq $1, 24(%rax)
movq $8, 32(%rax)
leaq 40(%rax), %rcx
movq %rcx, (%r15)
movq $28, 40(%rax)
jmp LBB2_54
LBB2_84: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $162, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $27, 8(%rax)
movq %r14, (%r13)
jmp LBB2_55
LBB2_85: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $162, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $28, 8(%rax)
movq %r14, (%r13)
jmp LBB2_55
LBB2_86: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $162, %edi
callq _expression
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $29, 8(%rax)
movq %r14, (%r13)
jmp LBB2_55
LBB2_87: ## in Loop: Header=BB2_56 Depth=1
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB2_88: ## in Loop: Header=BB2_56 Depth=1
movl $142, %edi
callq _expression
movq %r14, (%r13)
cmpq $1, %r14
movl $0, %eax
adcq $11, %rax
movq (%r15), %rcx
leaq 8(%rcx), %rdx
movq %rdx, (%r15)
movq %rax, 8(%rcx)
jmp LBB2_55
LBB2_89: ## in Loop: Header=BB2_56 Depth=1
cmpq $164, %rdx
jne LBB2_98
## %bb.90: ## in Loop: Header=BB2_56 Depth=1
callq _next
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq $13, 8(%rax)
movl $142, %edi
callq _expression
movq _token@GOTPCREL(%rip), %rax
cmpq $93, (%rax)
jne LBB2_103
## %bb.91: ## in Loop: Header=BB2_56 Depth=1
callq _next
cmpq $3, %r14
jge LBB2_104
LBB2_92: ## in Loop: Header=BB2_56 Depth=1
cmpq $2, %r14
je LBB2_105
## %bb.93: ## in Loop: Header=BB2_56 Depth=1
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
jmp LBB2_105
LBB2_94: ## in Loop: Header=BB2_56 Depth=1
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.15(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB2_95: ## in Loop: Header=BB2_56 Depth=1
movq (%r15), %rbx
leaq 24(%rbx), %rax
movq %rax, (%r14)
movq $2, 8(%rbx)
leaq 16(%rbx), %rax
movq %rax, (%r15)
movl $143, %edi
callq _expression
movq (%r15), %rax
addq $8, %rax
movq %rax, 16(%rbx)
movq -48(%rbp), %rbx ## 8-byte Reload
jmp LBB2_55
LBB2_96: ## in Loop: Header=BB2_56 Depth=1
cmpq $3, %r14
jl LBB2_99
## %bb.97: ## in Loop: Header=BB2_56 Depth=1
movq $13, 8(%rax)
movq $1, 16(%rax)
movq $8, 24(%rax)
movq $27, 32(%rax)
leaq 40(%rax), %rcx
movq %rcx, (%r15)
movq $26, 40(%rax)
movq %r14, (%r13)
jmp LBB2_55
LBB2_98: ## in Loop: Header=BB2_56 Depth=1
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.18(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
jmp LBB2_55
LBB2_99: ## in Loop: Header=BB2_56 Depth=1
addq $8, %rax
movq %rax, (%r15)
movq $26, (%rax)
movq %r14, (%r13)
jmp LBB2_55
LBB2_100: ## in Loop: Header=BB2_56 Depth=1
movq $13, (%rax)
movq $10, 8(%rax)
addq $8, %rax
jmp LBB2_102
LBB2_101: ## in Loop: Header=BB2_56 Depth=1
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.16(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
movq (%r15), %rax
LBB2_102: ## in Loop: Header=BB2_56 Depth=1
movq $13, 8(%rax)
movq $1, 16(%rax)
movq (%r13), %rcx
cmpq $3, %rcx
movl $1, %edx
movl $8, %esi
cmovgeq %rsi, %rdx
movq %rdx, 24(%rax)
xorl %esi, %esi
movq _token@GOTPCREL(%rip), %rdi
cmpq $162, (%rdi)
sete %sil
movl $26, %edi
subq %rsi, %rdi
movq %rdi, 32(%rax)
cmpq $1, %rcx
movl $0, %ecx
adcq $11, %rcx
movq %rcx, 40(%rax)
movq $13, 48(%rax)
movq $1, 56(%rax)
movq %rdx, 64(%rax)
addq $25, %rsi
leaq 72(%rax), %rcx
movq %rcx, (%r15)
movq %rsi, 72(%rax)
callq _next
jmp LBB2_55
LBB2_103: ## in Loop: Header=BB2_56 Depth=1
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl $93, %edx
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
cmpq $3, %r14
jl LBB2_92
LBB2_104: ## in Loop: Header=BB2_56 Depth=1
movq (%r15), %rax
movq $13, 8(%rax)
movq $1, 16(%rax)
movq $8, 24(%rax)
leaq 32(%rax), %rcx
movq %rcx, (%r15)
movq $27, 32(%rax)
LBB2_105: ## in Loop: Header=BB2_56 Depth=1
xorl %eax, %eax
addq $-2, %r14
movq %r14, (%r13)
movq (%r15), %rcx
movq $25, 8(%rcx)
sete %al
addq $9, %rax
leaq 16(%rcx), %rdx
movq %rdx, (%r15)
movq %rax, 16(%rcx)
jmp LBB2_55
LBB2_106:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $40, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB2_107:
movq _expr_type@GOTPCREL(%rip), %r14
movq $1, (%r14)
movq (%r13), %rax
cmpq $134, %rax
je LBB2_117
## %bb.108:
cmpq $138, %rax
jne LBB2_119
## %bb.109:
callq _next
jmp LBB2_119
LBB2_110:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
movq (%r14), %rax
LBB2_111:
xorl %ecx, %ecx
cmpq $1, %rax
adcq $9, %rcx
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq 8(%rdx), %rsi
movq %rsi, (%rax)
movq %rcx, 8(%rdx)
jmp LBB2_49
LBB2_112:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB2_134
LBB2_113:
movl $142, %edi
callq _expression
cmpq $41, (%r13)
jne LBB2_133
## %bb.114:
callq _next
jmp LBB2_49
LBB2_115:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $41, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB2_116:
movl $162, %edi
callq _expression
movq _expr_type@GOTPCREL(%rip), %rax
movq %r14, (%rax)
jmp LBB2_49
LBB2_117:
callq _next
movq $0, (%r14)
jmp LBB2_119
.p2align 4, 0x90
LBB2_118: ## in Loop: Header=BB2_119 Depth=1
callq _next
addq $2, (%r14)
LBB2_119: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rax
cmpq $159, %rax
je LBB2_118
## %bb.120:
cmpq $41, %rax
jne LBB2_122
## %bb.121:
callq _next
jmp LBB2_123
LBB2_122:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $41, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB2_123:
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq $1, 8(%rcx)
cmpq $0, (%r14)
movl $1, %edx
movl $8, %esi
cmoveq %rdx, %rsi
leaq 16(%rcx), %rdx
movq %rdx, (%rax)
movq %rsi, 16(%rcx)
movq $1, (%r14)
jmp LBB2_49
LBB2_124:
xorl %r15d, %r15d
movq _text@GOTPCREL(%rip), %r12
jmp LBB2_126
.p2align 4, 0x90
LBB2_125: ## in Loop: Header=BB2_126 Depth=1
incq %r15
cmpq $41, %rax
je LBB2_17
LBB2_126: ## =>This Inner Loop Header: Depth=1
movl $142, %edi
callq _expression
movq (%r12), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r12)
movq $13, 8(%rax)
movq (%r13), %rax
cmpq $44, %rax
jne LBB2_125
## %bb.127: ## in Loop: Header=BB2_126 Depth=1
callq _next
movq (%r13), %rax
jmp LBB2_125
LBB2_128:
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq $3, 8(%rcx)
movq 40(%r14), %rdx
leaq 16(%rcx), %rsi
movq %rsi, (%rax)
movq %rdx, 16(%rcx)
jmp LBB2_130
LBB2_129:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB2_130:
testq %r15, %r15
je LBB2_132
## %bb.131:
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq $7, 8(%rcx)
leaq 16(%rcx), %rdx
movq %rdx, (%rax)
movq %r15, 16(%rcx)
LBB2_132:
movq 24(%r14), %rax
movq _expr_type@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
jmp LBB2_49
LBB2_133:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $41, %edx
xorl %eax, %eax
callq _libmin_printf
LBB2_134:
movl $-1, %edi
callq _libmin_fail
jmp LBB2_49
LBB2_135:
movq $13, (%rax)
movq $9, 8(%rax)
addq $8, %rax
jmp LBB2_137
LBB2_136:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
movq (%r15), %rax
LBB2_137:
movq $13, 8(%rax)
movq $1, 16(%rax)
movq _expr_type@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq $3, %rcx
movl $8, %edx
movl $1, %esi
cmovgeq %rdx, %rsi
xorl %edx, %edx
cmpq $162, %r14
movq %rsi, 24(%rax)
setne %dl
addq $25, %rdx
xorl %esi, %esi
cmpq $1, %rcx
adcq $11, %rsi
movq %rdx, 32(%rax)
leaq 40(%rax), %rcx
movq %rcx, (%r15)
movq %rsi, 40(%rax)
jmp LBB2_49
LBB2_138:
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq $0, 8(%rax)
movq _index_of_bp@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq 40(%r14), %rcx
jmp LBB2_140
LBB2_139:
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq $1, 8(%rax)
movq 40(%r14), %rcx
LBB2_140:
movq %rcx, 16(%rax)
addq $16, %rax
jmp LBB2_142
LBB2_141:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB2_142:
movq 24(%r14), %rcx
movq _expr_type@GOTPCREL(%rip), %rdx
movq %rcx, (%rdx)
xorl %edx, %edx
cmpq $1, %rcx
adcq $9, %rdx
leaq 8(%rax), %rcx
movq _text@GOTPCREL(%rip), %rsi
movq %rcx, (%rsi)
movq %rdx, 8(%rax)
jmp LBB2_49
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_4, LBB2_4-LJTI2_0
.set L2_0_set_35, LBB2_35-LJTI2_0
.set L2_0_set_24, LBB2_24-LJTI2_0
.set L2_0_set_14, LBB2_14-LJTI2_0
.set L2_0_set_26, LBB2_26-LJTI2_0
.set L2_0_set_20, LBB2_20-LJTI2_0
.set L2_0_set_28, LBB2_28-LJTI2_0
.set L2_0_set_22, LBB2_22-LJTI2_0
.set L2_0_set_29, LBB2_29-LJTI2_0
LJTI2_0:
.long L2_0_set_4
.long L2_0_set_35
.long L2_0_set_24
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_14
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_26
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_20
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_35
.long L2_0_set_28
.long L2_0_set_22
.long L2_0_set_29
.set L2_1_set_58, LBB2_58-LJTI2_1
.set L2_1_set_64, LBB2_64-LJTI2_1
.set L2_1_set_52, LBB2_52-LJTI2_1
.set L2_1_set_66, LBB2_66-LJTI2_1
.set L2_1_set_67, LBB2_67-LJTI2_1
.set L2_1_set_68, LBB2_68-LJTI2_1
.set L2_1_set_69, LBB2_69-LJTI2_1
.set L2_1_set_70, LBB2_70-LJTI2_1
.set L2_1_set_71, LBB2_71-LJTI2_1
.set L2_1_set_72, LBB2_72-LJTI2_1
.set L2_1_set_73, LBB2_73-LJTI2_1
.set L2_1_set_74, LBB2_74-LJTI2_1
.set L2_1_set_75, LBB2_75-LJTI2_1
.set L2_1_set_76, LBB2_76-LJTI2_1
.set L2_1_set_77, LBB2_77-LJTI2_1
.set L2_1_set_78, LBB2_78-LJTI2_1
.set L2_1_set_81, LBB2_81-LJTI2_1
.set L2_1_set_84, LBB2_84-LJTI2_1
.set L2_1_set_85, LBB2_85-LJTI2_1
.set L2_1_set_86, LBB2_86-LJTI2_1
LJTI2_1:
.long L2_1_set_58
.long L2_1_set_64
.long L2_1_set_52
.long L2_1_set_66
.long L2_1_set_67
.long L2_1_set_68
.long L2_1_set_69
.long L2_1_set_70
.long L2_1_set_71
.long L2_1_set_72
.long L2_1_set_73
.long L2_1_set_74
.long L2_1_set_75
.long L2_1_set_76
.long L2_1_set_77
.long L2_1_set_78
.long L2_1_set_81
.long L2_1_set_84
.long L2_1_set_85
.long L2_1_set_86
.end_data_region
## -- End function
.globl _statement ## -- Begin function statement
.p2align 4, 0x90
_statement: ## @statement
.cfi_startproc
## %bb.0:
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 _token@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
leaq -123(%rax), %rcx
cmpq $18, %rcx
ja LBB3_1
## %bb.4:
leaq LJTI3_0(%rip), %rax
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
LBB3_21:
callq _next
cmpq $125, (%rbx)
je LBB3_24
.p2align 4, 0x90
LBB3_22: ## =>This Inner Loop Header: Depth=1
callq _statement
cmpq $125, (%rbx)
jne LBB3_22
jmp LBB3_24
LBB3_1:
cmpq $59, %rax
je LBB3_24
LBB3_2:
movl $142, %edi
callq _expression
cmpq $59, (%rbx)
jne LBB3_3
LBB3_24:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _next ## TAILCALL
LBB3_25:
callq _next
cmpq $59, (%rbx)
je LBB3_27
## %bb.26:
movl $142, %edi
callq _expression
cmpq $59, (%rbx)
jne LBB3_28
LBB3_27:
callq _next
jmp LBB3_29
LBB3_5:
callq _next
cmpq $40, (%rbx)
jne LBB3_7
## %bb.6:
callq _next
jmp LBB3_8
LBB3_14:
callq _next
movq _text@GOTPCREL(%rip), %r15
movq (%r15), %r14
cmpq $40, (%rbx)
jne LBB3_16
## %bb.15:
callq _next
jmp LBB3_17
LBB3_3:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $59, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _libmin_fail ## TAILCALL
LBB3_7:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $40, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB3_8:
movl $142, %edi
callq _expression
cmpq $41, (%rbx)
jne LBB3_10
## %bb.9:
callq _next
jmp LBB3_11
LBB3_16:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $40, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB3_17:
addq $8, %r14
movl $142, %edi
callq _expression
cmpq $41, (%rbx)
jne LBB3_19
## %bb.18:
callq _next
jmp LBB3_20
LBB3_10:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $41, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB3_11:
movq _text@GOTPCREL(%rip), %r14
movq (%r14), %r15
movq $4, 8(%r15)
addq $16, %r15
movq %r15, (%r14)
callq _statement
cmpq $135, (%rbx)
jne LBB3_13
## %bb.12:
callq _next
movq (%r14), %rbx
leaq 24(%rbx), %rax
movq %rax, (%r15)
movq $2, 8(%rbx)
addq $16, %rbx
movq %rbx, (%r14)
callq _statement
movq %rbx, %r15
LBB3_13:
movq (%r14), %rax
addq $8, %rax
movq %rax, (%r15)
jmp LBB3_30
LBB3_19:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $41, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB3_20:
movq (%r15), %rbx
movq $4, 8(%rbx)
leaq 16(%rbx), %rax
movq %rax, (%r15)
callq _statement
movq (%r15), %rax
movq $2, 8(%rax)
leaq 16(%rax), %rcx
movq %rcx, (%r15)
movq %r14, 16(%rax)
addq $24, %rax
movq %rax, 16(%rbx)
jmp LBB3_30
LBB3_28:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $59, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB3_29:
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq 8(%rcx), %rdx
movq %rdx, (%rax)
movq $8, 8(%rcx)
LBB3_30:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L3_0_set_21, LBB3_21-LJTI3_0
.set L3_0_set_2, LBB3_2-LJTI3_0
.set L3_0_set_5, LBB3_5-LJTI3_0
.set L3_0_set_25, LBB3_25-LJTI3_0
.set L3_0_set_14, LBB3_14-LJTI3_0
LJTI3_0:
.long L3_0_set_21
.long L3_0_set_2
.long L3_0_set_2
.long L3_0_set_2
.long L3_0_set_2
.long L3_0_set_2
.long L3_0_set_2
.long L3_0_set_2
.long L3_0_set_2
.long L3_0_set_2
.long L3_0_set_2
.long L3_0_set_2
.long L3_0_set_2
.long L3_0_set_2
.long L3_0_set_5
.long L3_0_set_2
.long L3_0_set_25
.long L3_0_set_2
.long L3_0_set_14
.end_data_region
## -- End function
.globl _enum_declaration ## -- Begin function enum_declaration
.p2align 4, 0x90
_enum_declaration: ## @enum_declaration
.cfi_startproc
## %bb.0:
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 _token@GOTPCREL(%rip), %r15
movq (%r15), %rdx
movq _line@GOTPCREL(%rip), %r13
movq _current_id@GOTPCREL(%rip), %rbx
leaq L_.str.19(%rip), %r14
xorl %r12d, %r12d
.p2align 4, 0x90
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpq $133, %rdx
je LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
cmpq $125, %rdx
je LBB4_10
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movq (%r13), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
callq _next
movq (%r15), %rdx
cmpq $142, %rdx
jne LBB4_8
## %bb.5: ## in Loop: Header=BB4_1 Depth=1
callq _next
cmpq $128, (%r15)
je LBB4_7
## %bb.6: ## in Loop: Header=BB4_1 Depth=1
movq (%r13), %rsi
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB4_7: ## in Loop: Header=BB4_1 Depth=1
movq _token_val@GOTPCREL(%rip), %rax
movq (%rax), %r12
callq _next
movq (%r15), %rdx
LBB4_8: ## in Loop: Header=BB4_1 Depth=1
movq (%rbx), %rax
movq $128, 32(%rax)
movq $1, 24(%rax)
movq %r12, 40(%rax)
incq %r12
cmpq $44, %rdx
jne LBB4_1
## %bb.9: ## in Loop: Header=BB4_1 Depth=1
callq _next
movq (%r15), %rdx
jmp LBB4_1
LBB4_10:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _function_parameter ## -- Begin function function_parameter
.p2align 4, 0x90
_function_parameter: ## @function_parameter
.cfi_startproc
## %bb.0:
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 _token@GOTPCREL(%rip), %r12
movq (%r12), %rax
movq _current_id@GOTPCREL(%rip), %r13
movq _line@GOTPCREL(%rip), %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB5_1: ## =>This Loop Header: Depth=1
## Child Loop BB5_7 Depth 2
cmpq $134, %rax
je LBB5_5
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movl $1, %r15d
cmpq $138, %rax
je LBB5_6
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
cmpq $41, %rax
jne LBB5_7
jmp LBB5_4
.p2align 4, 0x90
LBB5_5: ## in Loop: Header=BB5_1 Depth=1
xorl %r15d, %r15d
LBB5_6: ## in Loop: Header=BB5_1 Depth=1
callq _next
jmp LBB5_7
.p2align 4, 0x90
LBB5_17: ## in Loop: Header=BB5_7 Depth=2
callq _next
addq $2, %r15
LBB5_7: ## Parent Loop BB5_1 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r12), %rax
cmpq $159, %rax
je LBB5_17
## %bb.8: ## in Loop: Header=BB5_1 Depth=1
cmpq $133, %rax
je LBB5_10
## %bb.9: ## in Loop: Header=BB5_1 Depth=1
movq (%rbx), %rsi
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB5_10: ## in Loop: Header=BB5_1 Depth=1
movq (%r13), %rax
cmpq $132, 32(%rax)
jne LBB5_12
## %bb.11: ## in Loop: Header=BB5_1 Depth=1
movq (%rbx), %rsi
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB5_12: ## in Loop: Header=BB5_1 Depth=1
cmpq $133, (%r12)
jne LBB5_14
## %bb.13: ## in Loop: Header=BB5_1 Depth=1
callq _next
jmp LBB5_15
.p2align 4, 0x90
LBB5_14: ## in Loop: Header=BB5_1 Depth=1
movq (%rbx), %rsi
movl $133, %edx
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB5_15: ## in Loop: Header=BB5_1 Depth=1
movq (%r13), %rax
movups 24(%rax), %xmm0
movq $132, 32(%rax)
movups %xmm0, 48(%rax)
movq %r15, 24(%rax)
movq 40(%rax), %rcx
movq %rcx, 64(%rax)
movq %r14, 40(%rax)
incq %r14
movq (%r12), %rax
cmpq $44, %rax
jne LBB5_1
## %bb.16: ## in Loop: Header=BB5_1 Depth=1
callq _next
movq (%r12), %rax
jmp LBB5_1
LBB5_4:
incq %r14
movq _index_of_bp@GOTPCREL(%rip), %rax
movq %r14, (%rax)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _function_body ## -- Begin function function_body
.p2align 4, 0x90
_function_body: ## @function_body
.cfi_startproc
## %bb.0:
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 _index_of_bp@GOTPCREL(%rip), %rax
movq (%rax), %r13
movq _token@GOTPCREL(%rip), %r12
movq _current_id@GOTPCREL(%rip), %r14
movq _line@GOTPCREL(%rip), %r15
jmp LBB6_1
.p2align 4, 0x90
LBB6_16: ## in Loop: Header=BB6_1 Depth=1
callq _next
LBB6_1: ## =>This Loop Header: Depth=1
## Child Loop BB6_4 Depth 2
## Child Loop BB6_5 Depth 3
## Child Loop BB6_21 Depth 4
movq (%r12), %rax
cmpq $138, %rax
je LBB6_3
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
cmpq $134, %rax
jne LBB6_17
LBB6_3: ## in Loop: Header=BB6_1 Depth=1
xorl %ecx, %ecx
cmpq $138, %rax
sete %cl
movq _basetype@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
.p2align 4, 0x90
LBB6_4: ## Parent Loop BB6_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB6_5 Depth 3
## Child Loop BB6_21 Depth 4
callq _next
movq (%r12), %rax
LBB6_5: ## Parent Loop BB6_1 Depth=1
## Parent Loop BB6_4 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB6_21 Depth 4
cmpq $59, %rax
je LBB6_16
## %bb.6: ## in Loop: Header=BB6_5 Depth=3
movq _basetype@GOTPCREL(%rip), %rcx
movq (%rcx), %rbx
cmpq $159, %rax
jne LBB6_8
.p2align 4, 0x90
LBB6_21: ## Parent Loop BB6_1 Depth=1
## Parent Loop BB6_4 Depth=2
## Parent Loop BB6_5 Depth=3
## => This Inner Loop Header: Depth=4
callq _next
addq $2, %rbx
movq (%r12), %rax
cmpq $159, %rax
je LBB6_21
LBB6_8: ## in Loop: Header=BB6_5 Depth=3
cmpq $133, %rax
je LBB6_10
## %bb.9: ## in Loop: Header=BB6_5 Depth=3
movq (%r15), %rsi
leaq L_.str.23(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB6_10: ## in Loop: Header=BB6_5 Depth=3
movq (%r14), %rax
cmpq $132, 32(%rax)
jne LBB6_12
## %bb.11: ## in Loop: Header=BB6_5 Depth=3
movq (%r15), %rsi
leaq L_.str.24(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB6_12: ## in Loop: Header=BB6_5 Depth=3
cmpq $133, (%r12)
jne LBB6_14
## %bb.13: ## in Loop: Header=BB6_5 Depth=3
callq _next
jmp LBB6_15
.p2align 4, 0x90
LBB6_14: ## in Loop: Header=BB6_5 Depth=3
movq (%r15), %rsi
movl $133, %edx
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB6_15: ## in Loop: Header=BB6_5 Depth=3
movq (%r14), %rax
movups 24(%rax), %xmm0
movq $132, 32(%rax)
movups %xmm0, 48(%rax)
movq %rbx, 24(%rax)
movq 40(%rax), %rcx
movq %rcx, 64(%rax)
incq %r13
movq %r13, 40(%rax)
movq (%r12), %rax
cmpq $44, %rax
je LBB6_4
jmp LBB6_5
LBB6_17:
movq _text@GOTPCREL(%rip), %rbx
movq (%rbx), %rdx
movq $6, 8(%rdx)
movq _index_of_bp@GOTPCREL(%rip), %rcx
subq (%rcx), %r13
leaq 16(%rdx), %rcx
movq %rcx, (%rbx)
movq %r13, 16(%rdx)
cmpq $125, %rax
je LBB6_20
.p2align 4, 0x90
LBB6_18: ## =>This Inner Loop Header: Depth=1
callq _statement
cmpq $125, (%r12)
jne LBB6_18
## %bb.19:
movq (%rbx), %rcx
LBB6_20:
leaq 8(%rcx), %rax
movq %rax, (%rbx)
movq $8, 8(%rcx)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _function_declaration ## -- Begin function function_declaration
.p2align 4, 0x90
_function_declaration: ## @function_declaration
.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 _token@GOTPCREL(%rip), %rbx
cmpq $40, (%rbx)
jne LBB7_2
## %bb.1:
callq _next
jmp LBB7_3
LBB7_2:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $40, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB7_3:
callq _function_parameter
cmpq $41, (%rbx)
jne LBB7_5
## %bb.4:
callq _next
cmpq $123, (%rbx)
je LBB7_7
LBB7_8:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $123, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
jmp LBB7_9
LBB7_5:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $41, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
cmpq $123, (%rbx)
jne LBB7_8
LBB7_7:
callq _next
LBB7_9:
callq _function_body
movq _symbols@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq $0, (%rax)
jne LBB7_11
## %bb.10:
movq %rax, %rcx
LBB7_14:
movq _current_id@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.p2align 4, 0x90
LBB7_13: ## in Loop: Header=BB7_11 Depth=1
leaq 72(%rax), %rcx
cmpq $0, 72(%rax)
movq %rcx, %rax
je LBB7_14
LBB7_11: ## =>This Inner Loop Header: Depth=1
cmpq $132, 32(%rax)
jne LBB7_13
## %bb.12: ## in Loop: Header=BB7_11 Depth=1
movups 48(%rax), %xmm0
movups %xmm0, 24(%rax)
movq 64(%rax), %rcx
movq %rcx, 40(%rax)
jmp LBB7_13
.cfi_endproc
## -- End function
.globl _global_declaration ## -- Begin function global_declaration
.p2align 4, 0x90
_global_declaration: ## @global_declaration
.cfi_startproc
## %bb.0:
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 _basetype@GOTPCREL(%rip), %rax
movq $1, (%rax)
movq _token@GOTPCREL(%rip), %r12
movq (%r12), %rax
cmpq $134, %rax
je LBB8_15
## %bb.1:
cmpq $138, %rax
je LBB8_14
## %bb.2:
cmpq $136, %rax
jne LBB8_16
## %bb.3:
callq _next
movq (%r12), %rax
cmpq $123, %rax
je LBB8_8
## %bb.4:
cmpq $133, %rax
jne LBB8_6
## %bb.5:
callq _next
jmp LBB8_7
LBB8_15:
callq _next
movq _basetype@GOTPCREL(%rip), %rax
movq $0, (%rax)
jmp LBB8_16
LBB8_14:
callq _next
LBB8_16:
movq (%r12), %rax
movq _current_id@GOTPCREL(%rip), %rbx
movq _data@GOTPCREL(%rip), %r15
movq _line@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB8_17: ## =>This Loop Header: Depth=1
## Child Loop BB8_34 Depth 2
cmpq $59, %rax
je LBB8_33
## %bb.18: ## in Loop: Header=BB8_17 Depth=1
cmpq $125, %rax
je LBB8_33
## %bb.19: ## in Loop: Header=BB8_17 Depth=1
movq _basetype@GOTPCREL(%rip), %rcx
movq (%rcx), %r13
cmpq $159, %rax
jne LBB8_21
.p2align 4, 0x90
LBB8_34: ## Parent Loop BB8_17 Depth=1
## => This Inner Loop Header: Depth=2
callq _next
addq $2, %r13
movq (%r12), %rax
cmpq $159, %rax
je LBB8_34
LBB8_21: ## in Loop: Header=BB8_17 Depth=1
cmpq $133, %rax
je LBB8_23
## %bb.22: ## in Loop: Header=BB8_17 Depth=1
movq (%r14), %rsi
leaq L_.str.25(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB8_23: ## in Loop: Header=BB8_17 Depth=1
movq (%rbx), %rax
cmpq $0, 32(%rax)
je LBB8_25
## %bb.24: ## in Loop: Header=BB8_17 Depth=1
movq (%r14), %rsi
leaq L_.str.26(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB8_25: ## in Loop: Header=BB8_17 Depth=1
cmpq $133, (%r12)
jne LBB8_27
## %bb.26: ## in Loop: Header=BB8_17 Depth=1
callq _next
jmp LBB8_28
.p2align 4, 0x90
LBB8_27: ## in Loop: Header=BB8_17 Depth=1
movq (%r14), %rsi
movl $133, %edx
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB8_28: ## in Loop: Header=BB8_17 Depth=1
movq (%rbx), %rcx
movq %r13, 24(%rcx)
movq (%r12), %rax
cmpq $40, %rax
jne LBB8_30
## %bb.29: ## in Loop: Header=BB8_17 Depth=1
movq $129, 32(%rcx)
movq _text@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $8, %rax
movq %rax, 40(%rcx)
callq _function_declaration
movq (%r12), %rax
cmpq $44, %rax
jne LBB8_17
jmp LBB8_32
.p2align 4, 0x90
LBB8_30: ## in Loop: Header=BB8_17 Depth=1
movq $131, 32(%rcx)
movq (%r15), %rdx
movq %rdx, 40(%rcx)
addq $8, %rdx
movq %rdx, (%r15)
cmpq $44, %rax
jne LBB8_17
LBB8_32: ## in Loop: Header=BB8_17 Depth=1
callq _next
movq (%r12), %rax
jmp LBB8_17
LBB8_6:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $133, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB8_7:
movq (%r12), %rax
cmpq $123, %rax
jne LBB8_12
LBB8_8:
callq _next
callq _enum_declaration
cmpq $125, (%r12)
jne LBB8_10
## %bb.9:
callq _next
jmp LBB8_11
LBB8_10:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $125, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
callq _libmin_fail
LBB8_11:
movq (%r12), %rax
LBB8_12:
cmpq $59, %rax
jne LBB8_13
LBB8_33:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _next ## TAILCALL
LBB8_13:
movq _line@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.6(%rip), %rdi
movl $59, %edx
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _libmin_fail ## TAILCALL
.cfi_endproc
## -- End function
.globl _program ## -- Begin function program
.p2align 4, 0x90
_program: ## @program
.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 _next
movq _token@GOTPCREL(%rip), %rbx
cmpq $0, (%rbx)
jle LBB9_3
.p2align 4, 0x90
LBB9_1: ## =>This Inner Loop Header: Depth=1
callq _global_declaration
cmpq $0, (%rbx)
jg LBB9_1
LBB9_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _eval ## -- Begin function eval
.p2align 4, 0x90
_eval: ## @eval
.cfi_startproc
## %bb.0:
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 _cycle@GOTPCREL(%rip), %r14
movq _pc@GOTPCREL(%rip), %r15
movq _sp@GOTPCREL(%rip), %r13
leaq LJTI10_0(%rip), %rbx
xorl %esi, %esi
jmp LBB10_1
LBB10_56: ## in Loop: Header=BB10_1 Depth=1
movq _ax@GOTPCREL(%rip), %rcx
movq (%rcx), %rax
movsbq (%rax), %rax
.p2align 4, 0x90
LBB10_57: ## in Loop: Header=BB10_1 Depth=1
movq %rax, (%rcx)
movq (%r14), %rsi
LBB10_1: ## =>This Inner Loop Header: Depth=1
incq %rsi
movq %rsi, (%r14)
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq (%rax), %r12
movq _debug@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB10_5
## %bb.2: ## in Loop: Header=BB10_1 Depth=1
leaq (%r12,%r12,4), %rdx
leaq L_.str.3(%rip), %rax
addq %rax, %rdx
leaq L_.str.27(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
cmpq $7, %r12
jg LBB10_4
## %bb.3: ## in Loop: Header=BB10_1 Depth=1
movq (%r15), %rax
movq (%rax), %rsi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB10_5: ## in Loop: Header=BB10_1 Depth=1
cmpq $37, %r12
jbe LBB10_6
jmp LBB10_50
.p2align 4, 0x90
LBB10_4: ## in Loop: Header=BB10_1 Depth=1
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
cmpq $37, %r12
ja LBB10_50
LBB10_6: ## in Loop: Header=BB10_1 Depth=1
movslq (%rbx,%r12,4), %rax
addq %rbx, %rax
jmpq *%rax
LBB10_26: ## in Loop: Header=BB10_1 Depth=1
movq _bp@GOTPCREL(%rip), %rax
movq (%r15), %rcx
leaq 8(%rcx), %rdx
movq %rdx, (%r15)
movq (%rcx), %rcx
shlq $3, %rcx
addq (%rax), %rcx
movq _ax@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq (%r14), %rsi
jmp LBB10_1
LBB10_7: ## in Loop: Header=BB10_1 Depth=1
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq (%rax), %rax
movq _ax@GOTPCREL(%rip), %rcx
jmp LBB10_57
LBB10_12: ## in Loop: Header=BB10_1 Depth=1
movq (%r15), %rax
jmp LBB10_13
LBB10_22: ## in Loop: Header=BB10_1 Depth=1
movq (%r15), %rax
leaq 8(%rax), %rcx
movq (%r13), %rdx
leaq -8(%rdx), %rsi
movq %rsi, (%r13)
movq %rcx, -8(%rdx)
LBB10_13: ## in Loop: Header=BB10_1 Depth=1
movq (%rax), %rax
movq %rax, (%r15)
movq (%r14), %rsi
jmp LBB10_1
LBB10_14: ## in Loop: Header=BB10_1 Depth=1
movq _ax@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
movq (%r15), %rax
je LBB10_16
## %bb.15: ## in Loop: Header=BB10_1 Depth=1
addq $8, %rax
movq %rax, (%r15)
movq (%r14), %rsi
jmp LBB10_1
LBB10_18: ## in Loop: Header=BB10_1 Depth=1
movq _ax@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
movq (%r15), %rax
je LBB10_20
## %bb.19: ## in Loop: Header=BB10_1 Depth=1
movq (%rax), %rax
movq %rax, (%r15)
movq (%r14), %rsi
jmp LBB10_1
LBB10_23: ## in Loop: Header=BB10_1 Depth=1
movq _bp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq (%r13), %rdx
leaq -8(%rdx), %rsi
movq %rcx, -8(%rdx)
movq %rsi, (%rax)
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq (%rax), %rax
shlq $3, %rax
negq %rax
addq %rdx, %rax
addq $-8, %rax
movq %rax, (%r13)
movq (%r14), %rsi
jmp LBB10_1
LBB10_24: ## in Loop: Header=BB10_1 Depth=1
movq (%r15), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r15)
movq (%rax), %rax
shlq $3, %rax
addq %rax, (%r13)
movq (%r14), %rsi
jmp LBB10_1
LBB10_25: ## in Loop: Header=BB10_1 Depth=1
movq _bp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
leaq 16(%rcx), %rax
movq %rax, (%r13)
movq 8(%rcx), %rax
movq %rax, (%r15)
movq (%r14), %rsi
jmp LBB10_1
LBB10_8: ## in Loop: Header=BB10_1 Depth=1
movq _ax@GOTPCREL(%rip), %rcx
movq (%rcx), %rax
movq (%rax), %rax
jmp LBB10_57
LBB10_10: ## in Loop: Header=BB10_1 Depth=1
movq _ax@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%r13), %rcx
leaq 8(%rcx), %rdx
movq %rdx, (%r13)
movq (%rcx), %rcx
jmp LBB10_57
LBB10_9: ## in Loop: Header=BB10_1 Depth=1
movq _ax@GOTPCREL(%rip), %rsi
movq (%rsi), %rax
movq (%r13), %rcx
leaq 8(%rcx), %rdx
movq %rdx, (%r13)
movq (%rcx), %rcx
movb %al, (%rcx)
movsbq %al, %rax
movq %rax, (%rsi)
movq (%r14), %rsi
jmp LBB10_1
LBB10_11: ## in Loop: Header=BB10_1 Depth=1
movq _ax@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%r13), %rcx
leaq -8(%rcx), %rdx
movq %rdx, (%r13)
movq %rax, -8(%rcx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_27: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
movq _ax@GOTPCREL(%rip), %rcx
orq %rax, (%rcx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_28: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
movq _ax@GOTPCREL(%rip), %rcx
xorq %rax, (%rcx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_29: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
movq _ax@GOTPCREL(%rip), %rcx
andq %rax, (%rcx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_30: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
xorl %ecx, %ecx
movq _ax@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
sete %cl
movq %rcx, (%rdx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_31: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
xorl %ecx, %ecx
movq _ax@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
setne %cl
movq %rcx, (%rdx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_32: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
xorl %ecx, %ecx
movq _ax@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
setl %cl
movq %rcx, (%rdx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_34: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
xorl %ecx, %ecx
movq _ax@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
setg %cl
movq %rcx, (%rdx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_33: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
xorl %ecx, %ecx
movq _ax@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
setle %cl
movq %rcx, (%rdx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_35: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
xorl %ecx, %ecx
movq _ax@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
setge %cl
movq %rcx, (%rdx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_36: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
movq _ax@GOTPCREL(%rip), %rdx
movzbl (%rdx), %ecx
shlq %cl, %rax
movq %rax, (%rdx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_37: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
movq _ax@GOTPCREL(%rip), %rdx
movzbl (%rdx), %ecx
sarq %cl, %rax
movq %rax, (%rdx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_38: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
movq _ax@GOTPCREL(%rip), %rcx
addq %rax, (%rcx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_39: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
movq _ax@GOTPCREL(%rip), %rcx
subq (%rcx), %rax
jmp LBB10_57
LBB10_40: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq _ax@GOTPCREL(%rip), %rdx
movq (%rdx), %rcx
imulq (%rax), %rcx
movq %rcx, (%rdx)
movq (%r14), %rsi
jmp LBB10_1
LBB10_41: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
movq _ax@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB10_42
## %bb.43: ## in Loop: Header=BB10_1 Depth=1
cqto
idivq %rcx
movq _ax@GOTPCREL(%rip), %rcx
jmp LBB10_57
LBB10_45: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
leaq 8(%rax), %rcx
movq %rcx, (%r13)
movq (%rax), %rax
movq _ax@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB10_46
## %bb.47: ## in Loop: Header=BB10_1 Depth=1
cqto
idivq %rcx
jmp LBB10_48
LBB10_50: ## in Loop: Header=BB10_1 Depth=1
cmpq $36, %r12
je LBB10_53
## %bb.51: ## in Loop: Header=BB10_1 Depth=1
cmpq $35, %r12
jne LBB10_55
## %bb.52: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
movq 16(%rax), %rdi
movl 8(%rax), %esi
movq (%rax), %rdx
callq _libmin_memset
movq _ax@GOTPCREL(%rip), %rcx
jmp LBB10_57
LBB10_49: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
movq (%r15), %rcx
movq 8(%rcx), %r8
movq -8(%rax,%r8,8), %rdi
movq -16(%rax,%r8,8), %rsi
movq -24(%rax,%r8,8), %rdx
movq -32(%rax,%r8,8), %rcx
movq -48(%rax,%r8,8), %r9
movq -40(%rax,%r8,8), %r8
xorl %eax, %eax
callq _libmin_printf
jmp LBB10_54
LBB10_53: ## in Loop: Header=BB10_1 Depth=1
movq (%r13), %rax
movq 16(%rax), %rdi
movq (%rax), %rdx
movq 8(%rax), %rsi
callq _libmin_memcmp
LBB10_54: ## in Loop: Header=BB10_1 Depth=1
cltq
movq _ax@GOTPCREL(%rip), %rcx
jmp LBB10_57
LBB10_16: ## in Loop: Header=BB10_1 Depth=1
movq (%rax), %rax
movq %rax, (%r15)
movq (%r14), %rsi
jmp LBB10_1
LBB10_20: ## in Loop: Header=BB10_1 Depth=1
addq $8, %rax
movq %rax, (%r15)
movq (%r14), %rsi
jmp LBB10_1
LBB10_42: ## in Loop: Header=BB10_1 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $eax killed $eax def $rax
movq _ax@GOTPCREL(%rip), %rcx
jmp LBB10_57
LBB10_46: ## in Loop: Header=BB10_1 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
## kill: def $edx killed $edx def $rdx
LBB10_48: ## in Loop: Header=BB10_1 Depth=1
movq _ax@GOTPCREL(%rip), %rax
movq %rdx, (%rax)
movq (%r14), %rsi
jmp LBB10_1
LBB10_59:
movq (%r13), %rax
movq (%rax), %rsi
leaq L_.str.28(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq (%r13), %rax
movq (%rax), %rax
jmp LBB10_60
LBB10_55:
leaq L_.str.29(%rip), %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _libmin_printf
movq $-1, %rax
LBB10_60:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L10_0_set_26, LBB10_26-LJTI10_0
.set L10_0_set_7, LBB10_7-LJTI10_0
.set L10_0_set_12, LBB10_12-LJTI10_0
.set L10_0_set_22, LBB10_22-LJTI10_0
.set L10_0_set_14, LBB10_14-LJTI10_0
.set L10_0_set_18, LBB10_18-LJTI10_0
.set L10_0_set_23, LBB10_23-LJTI10_0
.set L10_0_set_24, LBB10_24-LJTI10_0
.set L10_0_set_25, LBB10_25-LJTI10_0
.set L10_0_set_8, LBB10_8-LJTI10_0
.set L10_0_set_56, LBB10_56-LJTI10_0
.set L10_0_set_10, LBB10_10-LJTI10_0
.set L10_0_set_9, LBB10_9-LJTI10_0
.set L10_0_set_11, LBB10_11-LJTI10_0
.set L10_0_set_27, LBB10_27-LJTI10_0
.set L10_0_set_28, LBB10_28-LJTI10_0
.set L10_0_set_29, LBB10_29-LJTI10_0
.set L10_0_set_30, LBB10_30-LJTI10_0
.set L10_0_set_31, LBB10_31-LJTI10_0
.set L10_0_set_32, LBB10_32-LJTI10_0
.set L10_0_set_34, LBB10_34-LJTI10_0
.set L10_0_set_33, LBB10_33-LJTI10_0
.set L10_0_set_35, LBB10_35-LJTI10_0
.set L10_0_set_36, LBB10_36-LJTI10_0
.set L10_0_set_37, LBB10_37-LJTI10_0
.set L10_0_set_38, LBB10_38-LJTI10_0
.set L10_0_set_39, LBB10_39-LJTI10_0
.set L10_0_set_40, LBB10_40-LJTI10_0
.set L10_0_set_41, LBB10_41-LJTI10_0
.set L10_0_set_45, LBB10_45-LJTI10_0
.set L10_0_set_50, LBB10_50-LJTI10_0
.set L10_0_set_49, LBB10_49-LJTI10_0
.set L10_0_set_59, LBB10_59-LJTI10_0
LJTI10_0:
.long L10_0_set_26
.long L10_0_set_7
.long L10_0_set_12
.long L10_0_set_22
.long L10_0_set_14
.long L10_0_set_18
.long L10_0_set_23
.long L10_0_set_24
.long L10_0_set_25
.long L10_0_set_8
.long L10_0_set_56
.long L10_0_set_10
.long L10_0_set_9
.long L10_0_set_11
.long L10_0_set_27
.long L10_0_set_28
.long L10_0_set_29
.long L10_0_set_30
.long L10_0_set_31
.long L10_0_set_32
.long L10_0_set_34
.long L10_0_set_33
.long L10_0_set_35
.long L10_0_set_36
.long L10_0_set_37
.long L10_0_set_38
.long L10_0_set_39
.long L10_0_set_40
.long L10_0_set_41
.long L10_0_set_45
.long L10_0_set_50
.long L10_0_set_50
.long L10_0_set_50
.long L10_0_set_49
.long L10_0_set_50
.long L10_0_set_50
.long L10_0_set_50
.long L10_0_set_59
.end_data_region
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movaps l___const.main.myargv(%rip), %xmm0
movaps %xmm0, -64(%rbp)
movq _mhello(%rip), %rdi
leaq L_.str.31(%rip), %rsi
callq _libmin_mopen
movq _poolsize@GOTPCREL(%rip), %rbx
movq $262144, (%rbx) ## imm = 0x40000
movq _line@GOTPCREL(%rip), %rax
movq $1, (%rax)
movl $262144, %edi ## imm = 0x40000
callq _libmin_malloc
movq _text@GOTPCREL(%rip), %r15
movq %rax, (%r15)
movq (%rbx), %rsi
testq %rax, %rax
je LBB11_11
## %bb.1:
movq %rsi, %rdi
callq _libmin_malloc
movq _data@GOTPCREL(%rip), %r12
movq %rax, (%r12)
movq (%rbx), %rsi
testq %rax, %rax
je LBB11_12
## %bb.2:
movq %rsi, %rdi
callq _libmin_malloc
movq _stack@GOTPCREL(%rip), %r14
movq %rax, (%r14)
movq (%rbx), %rsi
testq %rax, %rax
je LBB11_13
## %bb.3:
movq %rsi, %rdi
callq _libmin_malloc
movq _symbols@GOTPCREL(%rip), %r13
movq %rax, (%r13)
testq %rax, %rax
je LBB11_14
## %bb.4:
movq (%r15), %rdi
movq (%rbx), %rdx
xorl %esi, %esi
callq _libmin_memset
movq (%r12), %rdi
movq (%rbx), %rdx
xorl %esi, %esi
callq _libmin_memset
movq (%r14), %rdi
movq (%rbx), %rdx
xorl %esi, %esi
callq _libmin_memset
movq (%r13), %rdi
movq (%rbx), %rdx
xorl %esi, %esi
callq _libmin_memset
movq (%r15), %rax
movq _old_text@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
leaq L_.str.36(%rip), %rax
movq _src@GOTPCREL(%rip), %r15
movq %rax, (%r15)
callq _next
movq _current_id@GOTPCREL(%rip), %r12
movq (%r12), %rax
movq $134, (%rax)
callq _next
movq (%r12), %rax
movq $135, (%rax)
callq _next
movq (%r12), %rax
movq $136, (%rax)
callq _next
movq (%r12), %rax
movq $137, (%rax)
callq _next
movq (%r12), %rax
movq $138, (%rax)
callq _next
movq (%r12), %rax
movq $139, (%rax)
callq _next
movq (%r12), %rax
movq $140, (%rax)
callq _next
movq (%r12), %rax
movq $141, (%rax)
callq _next
movq (%r12), %rax
movq $130, 32(%rax)
movq $1, 24(%rax)
movq $30, 40(%rax)
callq _next
movq (%r12), %rax
movq $130, 32(%rax)
movq $1, 24(%rax)
movq $31, 40(%rax)
callq _next
movq (%r12), %rax
movq $130, 32(%rax)
movq $1, 24(%rax)
movq $32, 40(%rax)
callq _next
movq (%r12), %rax
movq $130, 32(%rax)
movq $1, 24(%rax)
movq $33, 40(%rax)
callq _next
movq (%r12), %rax
movq $130, 32(%rax)
movq $1, 24(%rax)
movq $34, 40(%rax)
callq _next
movq (%r12), %rax
movq $130, 32(%rax)
movq $1, 24(%rax)
movq $35, 40(%rax)
callq _next
movq (%r12), %rax
movq $130, 32(%rax)
movq $1, 24(%rax)
movq $36, 40(%rax)
callq _next
movq (%r12), %rax
movq $130, 32(%rax)
movq $1, 24(%rax)
movq $37, 40(%rax)
callq _next
movq (%r12), %rax
movq $134, (%rax)
callq _next
movq (%r12), %rax
movq _idmain@GOTPCREL(%rip), %r12
movq %rax, (%r12)
movq (%rbx), %rdi
callq _libmin_malloc
movq _old_src@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq %rax, (%r15)
movq (%rbx), %rsi
testq %rax, %rax
je LBB11_15
## %bb.5:
decq %rsi
movq _mhello(%rip), %rdx
movq %rax, %rdi
callq _libmin_mread
testq %rax, %rax
jle LBB11_16
## %bb.6:
movq (%r15), %rcx
movb $0, (%rcx,%rax)
movq _mhello(%rip), %rdi
callq _libmin_mclose
callq _next
movq _token@GOTPCREL(%rip), %r15
cmpq $0, (%r15)
jle LBB11_8
.p2align 4, 0x90
LBB11_7: ## =>This Inner Loop Header: Depth=1
callq _global_declaration
cmpq $0, (%r15)
jg LBB11_7
LBB11_8:
movq (%r12), %rax
movq 40(%rax), %rax
movq _pc@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
testq %rax, %rax
je LBB11_21
## %bb.9:
movq _assembly@GOTPCREL(%rip), %rcx
xorl %eax, %eax
cmpq $0, (%rcx)
jne LBB11_19
## %bb.10:
leaq -56(%rbp), %rax
movq (%r14), %rcx
movq (%rbx), %rdx
movq $37, -8(%rdx,%rcx)
leaq (%rdx,%rcx), %rsi
addq $-16, %rsi
movq $13, -16(%rdx,%rcx)
movq $1, -24(%rdx,%rcx)
movq %rax, -32(%rdx,%rcx)
leaq -40(%rdx,%rcx), %rax
movq _sp@GOTPCREL(%rip), %rdi
movq %rax, (%rdi)
movq %rsi, -40(%rdx,%rcx)
callq _eval
callq _libmin_success
movl $9, %eax
jmp LBB11_19
LBB11_11:
leaq L_.str.32(%rip), %rdi
jmp LBB11_17
LBB11_12:
leaq L_.str.33(%rip), %rdi
jmp LBB11_17
LBB11_13:
leaq L_.str.34(%rip), %rdi
jmp LBB11_17
LBB11_14:
movq (%rbx), %rsi
leaq L_.str.35(%rip), %rdi
jmp LBB11_17
LBB11_15:
leaq L_.str.37(%rip), %rdi
jmp LBB11_17
LBB11_16:
leaq L_.str.38(%rip), %rdi
movq %rax, %rsi
LBB11_17:
xorl %eax, %eax
callq _libmin_printf
LBB11_18:
movl $-1, %eax
LBB11_19:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB11_22
## %bb.20:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB11_21:
leaq L_.str.39(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB11_18
LBB11_22:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl ___hello ## @__hello
.p2align 4, 0x0
___hello:
.ascii "#include <stdio.h>\n\nint fibonacci(int i) {\n if (i <= 1) {\n return 1;\n }\n return fibonacci(i-1) + fibonacci(i-2);\n}\n\nint main()\n{\n int i;\n i = 0;\n while (i <= 10) {\n printf(\"fibonacci(%2d) = %d\\n\", i, fibonacci(i));\n i = i + 1;\n }\n return 0;\n}\n"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hello.c"
.section __DATA,__data
.globl _hello ## @hello
.p2align 3, 0x0
_hello:
.quad L_.str
.quad 288 ## 0x120
.quad ___hello
.long 0 ## 0x0
.space 4
.globl _mhello ## @mhello
.p2align 3, 0x0
_mhello:
.quad _hello
.comm _src,8,3 ## @src
.comm _token,8,3 ## @token
.comm _assembly,8,3 ## @assembly
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%ld: %.*s"
.comm _line,8,3 ## @line
.comm _old_src,8,3 ## @old_src
.comm _old_text,8,3 ## @old_text
.comm _text,8,3 ## @text
L_.str.2: ## @.str.2
.asciz "%8.4s"
L_.str.3: ## @.str.3
.asciz "LEA ,IMM ,JMP ,CALL,JZ ,JNZ ,ENT ,ADJ ,LEV ,LI ,LC ,SI ,SC ,PUSH,OR ,XOR ,AND ,EQ ,NE ,LT ,GT ,LE ,GE ,SHL ,SHR ,ADD ,SUB ,MUL ,DIV ,MOD ,OPEN,READ,CLOS,PRTF,MALC,MSET,MCMP,EXIT"
L_.str.4: ## @.str.4
.asciz " %ld\n"
L_.str.5: ## @.str.5
.asciz "\n"
.comm _symbols,8,3 ## @symbols
.comm _current_id,8,3 ## @current_id
.comm _token_val,8,3 ## @token_val
.comm _data,8,3 ## @data
L_.str.6: ## @.str.6
.asciz "%ld: expected token: %ld\n"
L_.str.7: ## @.str.7
.asciz "%ld: unexpected token EOF of expression\n"
.comm _expr_type,8,3 ## @expr_type
L_.str.8: ## @.str.8
.asciz "%ld: bad function call\n"
.comm _index_of_bp,8,3 ## @index_of_bp
L_.str.9: ## @.str.9
.asciz "%ld: undefined variable\n"
L_.str.10: ## @.str.10
.asciz "%ld: bad dereference\n"
L_.str.11: ## @.str.11
.asciz "%ld: bad address of\n"
L_.str.12: ## @.str.12
.asciz "%ld: bad lvalue of pre-increment\n"
L_.str.13: ## @.str.13
.asciz "%ld: bad expression\n"
L_.str.14: ## @.str.14
.asciz "%ld: bad lvalue in assignment\n"
L_.str.15: ## @.str.15
.asciz "%ld: missing colon in conditional\n"
L_.str.16: ## @.str.16
.asciz "%ld: bad value in increment\n"
L_.str.17: ## @.str.17
.asciz "%ld: pointer type expected\n"
L_.str.18: ## @.str.18
.asciz "%ld: compiler error, token = %ld\n"
L_.str.19: ## @.str.19
.asciz "%ld: bad enum identifier %ld\n"
L_.str.20: ## @.str.20
.asciz "%ld: bad enum initializer\n"
L_.str.21: ## @.str.21
.asciz "%ld: bad parameter declaration\n"
L_.str.22: ## @.str.22
.asciz "%ld: duplicate parameter declaration\n"
.comm _basetype,8,3 ## @basetype
L_.str.23: ## @.str.23
.asciz "%ld: bad local declaration\n"
L_.str.24: ## @.str.24
.asciz "%ld: duplicate local declaration\n"
L_.str.25: ## @.str.25
.asciz "%ld: bad global declaration\n"
L_.str.26: ## @.str.26
.asciz "%ld: duplicate global declaration\n"
.comm _cycle,8,3 ## @cycle
.comm _pc,8,3 ## @pc
.comm _debug,8,3 ## @debug
L_.str.27: ## @.str.27
.asciz "%ld> %.4s"
.comm _ax,8,3 ## @ax
.comm _sp,8,3 ## @sp
.comm _bp,8,3 ## @bp
L_.str.28: ## @.str.28
.asciz "exit(%ld)"
L_.str.29: ## @.str.29
.asciz "unknown instruction:%ld\n"
L_.str.30: ## @.str.30
.asciz "c-interp"
.section __DATA,__const
.p2align 4, 0x0 ## @__const.main.myargv
l___const.main.myargv:
.quad L_.str.30
.quad L_.str
.section __TEXT,__cstring,cstring_literals
L_.str.31: ## @.str.31
.asciz "r"
.comm _poolsize,8,3 ## @poolsize
L_.str.32: ## @.str.32
.asciz "could not malloc(%ld) for text area\n"
L_.str.33: ## @.str.33
.asciz "could not malloc(%ld) for data area\n"
.comm _stack,8,3 ## @stack
L_.str.34: ## @.str.34
.asciz "could not malloc(%ld) for stack area\n"
L_.str.35: ## @.str.35
.asciz "could not malloc(%ld) for symbol table\n"
L_.str.36: ## @.str.36
.asciz "char else enum if int return sizeof while open read close printf malloc memset memcmp exit void main"
.comm _idmain,8,3 ## @idmain
L_.str.37: ## @.str.37
.asciz "could not malloc(%ld) for source area\n"
L_.str.38: ## @.str.38
.asciz "read() returned %ld\n"
L_.str.39: ## @.str.39
.asciz "main() not defined\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _next ; -- Begin function next
.p2align 2
_next: ; @next
.cfi_startproc
; %bb.0:
sub sp, sp, #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
Lloh0:
adrp x25, _src@GOTPAGE
Lloh1:
ldr x25, [x25, _src@GOTPAGEOFF]
ldr x19, [x25]
ldrsb x26, [x19]
Lloh2:
adrp x24, _token@GOTPAGE
Lloh3:
ldr x24, [x24, _token@GOTPAGEOFF]
str x26, [x24]
cbz x26, LBB0_91
; %bb.1:
and w11, w26, #0xff
Lloh4:
adrp x12, _line@GOTPAGE
Lloh5:
ldr x12, [x12, _line@GOTPAGEOFF]
Lloh6:
adrp x27, _old_text@GOTPAGE
Lloh7:
ldr x27, [x27, _old_text@GOTPAGEOFF]
Lloh8:
adrp x20, l_.str.3@PAGE
Lloh9:
add x20, x20, l_.str.3@PAGEOFF
Lloh10:
adrp x28, _text@GOTPAGE
Lloh11:
ldr x28, [x28, _text@GOTPAGEOFF]
Lloh12:
adrp x21, l_.str.2@PAGE
Lloh13:
add x21, x21, l_.str.2@PAGEOFF
Lloh14:
adrp x22, l_.str.4@PAGE
Lloh15:
add x22, x22, l_.str.4@PAGEOFF
Lloh16:
adrp x23, l_.str.5@PAGE
Lloh17:
add x23, x23, l_.str.5@PAGEOFF
b LBB0_6
LBB0_2: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x25]
mov x12, x19
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [x12]
add x9, x9, #1
str x9, [x12]
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
ldrb w11, [x8]
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
sxtb x26, w11
str x26, [x24]
mov x19, x8
cbz w11, LBB0_91
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_24 Depth 2
; Child Loop BB0_8 Depth 2
; Child Loop BB0_14 Depth 2
add x8, x19, #1
str x8, [x25]
cmp x26, #10
b.eq LBB0_10
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
cmp x26, #35
b.ne LBB0_16
LBB0_8: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w11, [x8]
cmp w11, #0
ccmp w11, #10, #4, ne
b.eq LBB0_5
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
add x8, x8, #1
str x8, [x25]
b LBB0_8
LBB0_10: ; in Loop: Header=BB0_6 Depth=1
Lloh18:
adrp x9, _assembly@GOTPAGE
Lloh19:
ldr x9, [x9, _assembly@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cbz x9, LBB0_3
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [x12]
Lloh21:
adrp x26, _old_src@GOTPAGE
Lloh22:
ldr x26, [x26, _old_src@GOTPAGEOFF]
ldr x10, [x26]
sub x8, x8, x10
stp x8, x10, [sp, #8]
str x9, [sp]
Lloh23:
adrp x0, l_.str.1@PAGE
Lloh24:
add x0, x0, l_.str.1@PAGEOFF
mov x19, x12
bl _libmin_printf
mov x12, x19
ldr x8, [x25]
str x8, [x26]
ldr x9, [x27]
ldr x10, [x28]
cmp x9, x10
b.lo LBB0_14
b LBB0_3
LBB0_12: ; in Loop: Header=BB0_14 Depth=2
mov x0, x23
LBB0_13: ; in Loop: Header=BB0_14 Depth=2
bl _libmin_printf
ldr x9, [x27]
ldr x8, [x28]
cmp x9, x8
b.hs LBB0_2
LBB0_14: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x9, #8]!
str x9, [x27]
add x8, x8, x8, lsl #2
add x8, x20, x8
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldr x8, [x27]
ldr x9, [x8]
cmp x9, #7
b.gt LBB0_12
; %bb.15: ; in Loop: Header=BB0_14 Depth=2
ldr x9, [x8, #8]!
str x8, [x27]
str x9, [sp]
mov x0, x22
b LBB0_13
LBB0_16: ; in Loop: Header=BB0_6 Depth=1
sub x9, x26, #97
cmp x9, #26
b.lo LBB0_27
; %bb.17: ; in Loop: Header=BB0_6 Depth=1
and w9, w11, #0xff
cmp w9, #95
b.eq LBB0_27
; %bb.18: ; in Loop: Header=BB0_6 Depth=1
sub x9, x26, #65
cmp x9, #25
b.ls LBB0_27
; %bb.19: ; in Loop: Header=BB0_6 Depth=1
sub x9, x26, #48
cmp x9, #9
b.ls LBB0_37
; %bb.20: ; in Loop: Header=BB0_6 Depth=1
sub x9, x26, #33
cmp x9, #93
b.hi LBB0_4
; %bb.21: ; in Loop: Header=BB0_6 Depth=1
Lloh25:
adrp x13, lJTI0_0@PAGE
Lloh26:
add x13, x13, lJTI0_0@PAGEOFF
adr x10, LBB0_4
ldrh w11, [x13, x9, lsl #1]
add x10, x10, x11, lsl #2
br x10
LBB0_22: ; in Loop: Header=BB0_6 Depth=1
ldrb w8, [x8]
cmp w8, #47
b.ne LBB0_80
; %bb.23: ; in Loop: Header=BB0_6 Depth=1
add x8, x19, #2
mov w9, #47 ; =0x2f
ands w9, w9, #0xff
b.eq LBB0_26
LBB0_24: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
cmp w9, #10
b.eq LBB0_26
; %bb.25: ; in Loop: Header=BB0_24 Depth=2
str x8, [x25]
ldrb w9, [x8], #1
ands w9, w9, #0xff
b.ne LBB0_24
LBB0_26: ; in Loop: Header=BB0_6 Depth=1
sub x8, x8, #1
b LBB0_4
LBB0_27:
add x8, x19, #2
mov w9, #147 ; =0x93
b LBB0_29
LBB0_28: ; in Loop: Header=BB0_29 Depth=1
madd x26, x26, x9, x10
str x8, [x25]
add x8, x8, #1
LBB0_29: ; =>This Inner Loop Header: Depth=1
ldurb w10, [x8, #-1]
and w11, w10, #0xffffffdf
sub w11, w11, #65
cmp w11, #26
b.lo LBB0_28
; %bb.30: ; in Loop: Header=BB0_29 Depth=1
sub w11, w10, #48
cmp w10, #95
ccmp w11, #9, #0, ne
b.ls LBB0_28
; %bb.31:
Lloh27:
adrp x8, _symbols@GOTPAGE
Lloh28:
ldr x8, [x8, _symbols@GOTPAGEOFF]
Lloh29:
ldr x8, [x8]
Lloh30:
adrp x20, _current_id@GOTPAGE
Lloh31:
ldr x20, [x20, _current_id@GOTPAGEOFF]
str x8, [x20]
ldr x9, [x8]
cbnz x9, LBB0_34
LBB0_32:
stp x26, x19, [x8, #8]
mov w9, #133 ; =0x85
str x9, [x8]
str x9, [x24]
b LBB0_91
LBB0_33: ; in Loop: Header=BB0_34 Depth=1
ldr x9, [x8, #72]!
str x8, [x20]
cbz x9, LBB0_32
LBB0_34: ; =>This Inner Loop Header: Depth=1
ldr x9, [x8, #8]
cmp x9, x26
b.ne LBB0_33
; %bb.35: ; in Loop: Header=BB0_34 Depth=1
ldr x0, [x8, #16]
ldr x8, [x25]
sub x2, x8, x19
mov x1, x19
bl _libmin_memcmp
ldr x8, [x20]
cbnz w0, LBB0_33
; %bb.36:
ldr x8, [x8]
b LBB0_90
LBB0_37:
Lloh32:
adrp x10, _token_val@GOTPAGE
Lloh33:
ldr x10, [x10, _token_val@GOTPAGEOFF]
str x9, [x10]
and w11, w11, #0xff
ldrb w8, [x8]
cmp w11, #49
b.lo LBB0_52
; %bb.38:
sub w8, w8, #48
cmp w8, #9
b.hi LBB0_89
; %bb.39:
add x8, x19, #2
mov w11, #10 ; =0xa
LBB0_40: ; =>This Inner Loop Header: Depth=1
str x8, [x25]
ldursb x12, [x8, #-1]
madd x9, x9, x11, x12
sub x9, x9, #48
str x9, [x10]
ldrb w12, [x8], #1
sub w12, w12, #48
cmp w12, #10
b.lo LBB0_40
b LBB0_89
LBB0_41:
Lloh34:
adrp x10, _data@GOTPAGE
Lloh35:
ldr x10, [x10, _data@GOTPAGEOFF]
ldr x9, [x10]
ldrsb x11, [x8]
cbz x11, LBB0_50
; %bb.42:
cmp x26, x11
b.eq LBB0_50
; %bb.43:
Lloh36:
adrp x11, _token_val@GOTPAGE
Lloh37:
ldr x11, [x11, _token_val@GOTPAGEOFF]
mov w12, #10 ; =0xa
b LBB0_45
LBB0_44: ; in Loop: Header=BB0_45 Depth=1
ldrsb x13, [x8]
cmp x13, #0
ccmp x26, x13, #4, ne
b.eq LBB0_50
LBB0_45: ; =>This Inner Loop Header: Depth=1
add x14, x8, #1
str x14, [x25]
ldrsb x13, [x8]
str x13, [x11]
cmp x13, #92
b.ne LBB0_47
; %bb.46: ; in Loop: Header=BB0_45 Depth=1
add x14, x8, #2
str x14, [x25]
ldrb w8, [x8, #1]
cmp w8, #110
csel w13, w12, w8, eq
sxtb x8, w13
str x8, [x11]
b LBB0_48
LBB0_47: ; in Loop: Header=BB0_45 Depth=1
and w13, w13, #0xff
LBB0_48: ; in Loop: Header=BB0_45 Depth=1
mov x8, x14
cmp x26, #34
b.ne LBB0_44
; %bb.49: ; in Loop: Header=BB0_45 Depth=1
ldr x8, [x10]
add x14, x8, #1
str x14, [x10]
strb w13, [x8]
ldr x8, [x25]
ldr x26, [x24]
b LBB0_44
LBB0_50:
add x8, x8, #1
str x8, [x25]
cmp x26, #34
b.ne LBB0_89
; %bb.51:
Lloh38:
adrp x8, _token_val@GOTPAGE
Lloh39:
ldr x8, [x8, _token_val@GOTPAGEOFF]
Lloh40:
str x9, [x8]
b LBB0_91
LBB0_52:
orr w11, w8, #0x20
cmp w11, #120
b.ne LBB0_86
; %bb.53:
add x8, x19, #2
mov w11, #9 ; =0x9
mov w12, #1 ; =0x1
b LBB0_55
LBB0_54: ; in Loop: Header=BB0_55 Depth=1
and x14, x13, #0xf
cmp w13, #64
csel x13, x11, xzr, hi
add x13, x13, x14
add x9, x13, x9, lsl #4
str x9, [x10]
LBB0_55: ; =>This Inner Loop Header: Depth=1
str x8, [x25]
ldrb w14, [x8], #1
sxtb x13, w14
str x13, [x24]
sub w14, w14, #48
and w14, w14, #0xff
cmp w14, #10
b.lo LBB0_54
; %bb.56: ; in Loop: Header=BB0_55 Depth=1
and w14, w13, #0xff
sub w14, w14, #65
cmp w14, #37
lsl x14, x12, x14
and x14, x14, #0x3f0000003f
ccmp x14, #0, #4, ls
b.ne LBB0_54
b LBB0_89
LBB0_57:
ldrb w8, [x8]
cmp w8, #61
b.ne LBB0_91
; %bb.58:
add x8, x19, #2
str x8, [x25]
mov w8, #150 ; =0x96
b LBB0_90
LBB0_59:
mov w8, #161 ; =0xa1
b LBB0_90
LBB0_60:
ldrb w8, [x8]
cmp w8, #38
b.ne LBB0_81
; %bb.61:
add x8, x19, #2
str x8, [x25]
mov w8, #145 ; =0x91
b LBB0_90
LBB0_62:
mov w8, #159 ; =0x9f
b LBB0_90
LBB0_63:
ldrb w8, [x8]
cmp w8, #43
b.ne LBB0_82
; %bb.64:
add x8, x19, #2
str x8, [x25]
mov w8, #162 ; =0xa2
b LBB0_90
LBB0_65:
ldrb w8, [x8]
cmp w8, #45
b.ne LBB0_83
; %bb.66:
add x8, x19, #2
str x8, [x25]
mov w8, #163 ; =0xa3
b LBB0_90
LBB0_67:
ldrb w8, [x8]
cmp w8, #60
b.eq LBB0_92
; %bb.68:
cmp w8, #61
b.ne LBB0_93
; %bb.69:
add x8, x19, #2
str x8, [x25]
mov w8, #153 ; =0x99
b LBB0_90
LBB0_70:
ldrb w8, [x8]
cmp w8, #61
b.ne LBB0_84
; %bb.71:
add x8, x19, #2
str x8, [x25]
mov w8, #149 ; =0x95
b LBB0_90
LBB0_72:
ldrb w8, [x8]
cmp w8, #62
b.eq LBB0_94
; %bb.73:
cmp w8, #61
b.ne LBB0_95
; %bb.74:
add x8, x19, #2
str x8, [x25]
mov w8, #154 ; =0x9a
b LBB0_90
LBB0_75:
mov w8, #143 ; =0x8f
b LBB0_90
LBB0_76:
mov w8, #164 ; =0xa4
b LBB0_90
LBB0_77:
mov w8, #147 ; =0x93
b LBB0_90
LBB0_78:
ldrb w8, [x8]
cmp w8, #124
b.ne LBB0_85
; %bb.79:
add x8, x19, #2
str x8, [x25]
mov w8, #144 ; =0x90
b LBB0_90
LBB0_80:
mov w8, #160 ; =0xa0
b LBB0_90
LBB0_81:
mov w8, #148 ; =0x94
b LBB0_90
LBB0_82:
mov w8, #157 ; =0x9d
b LBB0_90
LBB0_83:
mov w8, #158 ; =0x9e
b LBB0_90
LBB0_84:
mov w8, #142 ; =0x8e
b LBB0_90
LBB0_85:
mov w8, #146 ; =0x92
b LBB0_90
LBB0_86:
and w8, w8, #0xf8
cmp w8, #48
b.ne LBB0_89
; %bb.87:
add x8, x19, #2
LBB0_88: ; =>This Inner Loop Header: Depth=1
str x8, [x25]
ldursb x11, [x8, #-1]
add x9, x11, x9, lsl #3
sub x9, x9, #48
str x9, [x10]
ldrb w11, [x8], #1
and w11, w11, #0xf8
cmp w11, #48
b.eq LBB0_88
LBB0_89:
mov w8, #128 ; =0x80
LBB0_90:
str x8, [x24]
LBB0_91:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_92:
add x8, x19, #2
str x8, [x25]
mov w8, #155 ; =0x9b
b LBB0_90
LBB0_93:
mov w8, #151 ; =0x97
b LBB0_90
LBB0_94:
add x8, x19, #2
str x8, [x25]
mov w8, #156 ; =0x9c
b LBB0_90
LBB0_95:
mov w8, #152 ; =0x98
b LBB0_90
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGot Lloh34, Lloh35
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpLdrGotStr Lloh38, Lloh39, Lloh40
.cfi_endproc
.section __TEXT,__const
.p2align 1, 0x0
lJTI0_0:
.short (LBB0_57-LBB0_4)>>2
.short (LBB0_41-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_59-LBB0_4)>>2
.short (LBB0_60-LBB0_4)>>2
.short (LBB0_41-LBB0_4)>>2
.short (LBB0_91-LBB0_4)>>2
.short (LBB0_91-LBB0_4)>>2
.short (LBB0_62-LBB0_4)>>2
.short (LBB0_63-LBB0_4)>>2
.short (LBB0_91-LBB0_4)>>2
.short (LBB0_65-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_22-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_91-LBB0_4)>>2
.short (LBB0_91-LBB0_4)>>2
.short (LBB0_67-LBB0_4)>>2
.short (LBB0_70-LBB0_4)>>2
.short (LBB0_72-LBB0_4)>>2
.short (LBB0_75-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_76-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_91-LBB0_4)>>2
.short (LBB0_77-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_4-LBB0_4)>>2
.short (LBB0_91-LBB0_4)>>2
.short (LBB0_78-LBB0_4)>>2
.short (LBB0_91-LBB0_4)>>2
.short (LBB0_91-LBB0_4)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _match ; -- Begin function match
.p2align 2
_match: ; @match
.cfi_startproc
; %bb.0:
sub sp, sp, #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
Lloh41:
adrp x8, _token@GOTPAGE
Lloh42:
ldr x8, [x8, _token@GOTPAGEOFF]
Lloh43:
ldr x8, [x8]
cmp x8, x0
b.ne LBB1_2
; %bb.1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
b _next
LBB1_2:
Lloh44:
adrp x8, _line@GOTPAGE
Lloh45:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh46:
ldr x8, [x8]
stp x8, x0, [sp]
Lloh47:
adrp x0, l_.str.6@PAGE
Lloh48:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
b _libmin_fail
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function expression
lCPI2_0:
.quad -1 ; 0xffffffffffffffff
.quad 13 ; 0xd
lCPI2_1:
.quad 13 ; 0xd
.quad 1 ; 0x1
lCPI2_2:
.quad -1 ; 0xffffffffffffffff
.quad 15 ; 0xf
lCPI2_3:
.quad 0 ; 0x0
.quad 17 ; 0x11
lCPI2_4:
.quad 13 ; 0xd
.quad 9 ; 0x9
lCPI2_5:
.quad 13 ; 0xd
.quad 10 ; 0xa
lCPI2_6:
.quad 8 ; 0x8
.quad 27 ; 0x1b
lCPI2_7:
.quad 26 ; 0x1a
.quad 13 ; 0xd
lCPI2_8:
.quad 1 ; 0x1
.quad 8 ; 0x8
.section __TEXT,__text,regular,pure_instructions
.globl _expression
.p2align 2
_expression: ; @expression
.cfi_startproc
; %bb.0:
sub sp, sp, #208
stp x28, x27, [sp, #112] ; 16-byte Folded Spill
stp x26, x25, [sp, #128] ; 16-byte Folded Spill
stp x24, x23, [sp, #144] ; 16-byte Folded Spill
stp x22, x21, [sp, #160] ; 16-byte Folded Spill
stp x20, x19, [sp, #176] ; 16-byte Folded Spill
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh49:
adrp x26, _token@GOTPAGE
Lloh50:
ldr x26, [x26, _token@GOTPAGEOFF]
ldr x20, [x26]
cbz x20, LBB2_5
; %bb.1:
cmp x20, #125
b.le LBB2_6
LBB2_2:
sub x8, x20, #126
cmp x8, #33
b.hi LBB2_35
; %bb.3:
Lloh51:
adrp x9, lJTI2_0@PAGE
Lloh52:
add x9, x9, lJTI2_0@PAGEOFF
adr x10, LBB2_4
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB2_4:
bl _next
mov w0, #162 ; =0xa2
bl _expression
Lloh53:
adrp x8, _text@GOTPAGE
Lloh54:
ldr x8, [x8, _text@GOTPAGEOFF]
ldr x9, [x8]
Lloh55:
adrp x10, lCPI2_1@PAGE
Lloh56:
ldr q0, [x10, lCPI2_1@PAGEOFF]
stur q0, [x9, #8]
add x10, x9, #32
str x10, [x8]
Lloh57:
adrp x8, lCPI2_2@PAGE
Lloh58:
ldr q0, [x8, lCPI2_2@PAGEOFF]
stur q0, [x9, #24]
b LBB2_48
LBB2_5:
Lloh59:
adrp x8, _line@GOTPAGE
Lloh60:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh61:
ldr x8, [x8]
str x8, [sp]
Lloh62:
adrp x0, l_.str.7@PAGE
Lloh63:
add x0, x0, l_.str.7@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
ldr x20, [x26]
cmp x20, #125
b.gt LBB2_2
LBB2_6:
cmp x20, #33
b.eq LBB2_31
; %bb.7:
cmp x20, #34
b.eq LBB2_32
; %bb.8:
cmp x20, #40
b.ne LBB2_35
; %bb.9:
bl _next
ldr x8, [x26]
cmp x8, #138
b.eq LBB2_11
; %bb.10:
cmp x8, #134
b.ne LBB2_117
LBB2_11:
cmp x8, #134
cset w20, ne
bl _next
LBB2_12: ; =>This Inner Loop Header: Depth=1
ldr x8, [x26]
cmp x8, #159
b.ne LBB2_39
; %bb.13: ; in Loop: Header=BB2_12 Depth=1
bl _next
add x20, x20, #2
b LBB2_12
LBB2_14:
bl _next
Lloh64:
adrp x8, _current_id@GOTPAGE
Lloh65:
ldr x8, [x8, _current_id@GOTPAGEOFF]
Lloh66:
ldr x20, [x8]
ldr x8, [x26]
cmp x8, #40
b.ne LBB2_41
; %bb.15:
bl _next
ldr x8, [x26]
cmp x8, #41
b.ne LBB2_128
; %bb.16:
mov x21, #0 ; =0x0
LBB2_17:
bl _next
ldr x8, [x20, #32]
cmp x8, #129
b.eq LBB2_132
; %bb.18:
cmp x8, #130
b.ne LBB2_133
; %bb.19:
ldr x8, [x20, #40]
Lloh67:
adrp x9, _text@GOTPAGE
Lloh68:
ldr x9, [x9, _text@GOTPAGEOFF]
ldr x10, [x9]
str x8, [x10, #8]!
str x10, [x9]
b LBB2_134
LBB2_20:
bl _next
mov w0, #162 ; =0xa2
bl _expression
Lloh69:
adrp x8, _text@GOTPAGE
Lloh70:
ldr x8, [x8, _text@GOTPAGEOFF]
ldr x9, [x8]
ldr x10, [x9]
sub x10, x10, #9
cmp x10, #1
b.hi LBB2_45
; %bb.21:
sub x9, x9, #8
str x9, [x8]
b LBB2_46
LBB2_22:
bl _next
ldr x9, [x26]
Lloh71:
adrp x20, _text@GOTPAGE
Lloh72:
ldr x20, [x20, _text@GOTPAGEOFF]
ldr x8, [x20]
mov w10, #1 ; =0x1
str x10, [x8, #8]
cmp x9, #128
b.ne LBB2_47
; %bb.23:
Lloh73:
adrp x9, _token_val@GOTPAGE
Lloh74:
ldr x9, [x9, _token_val@GOTPAGEOFF]
Lloh75:
ldr x9, [x9]
neg x9, x9
str x9, [x8, #16]!
str x8, [x20]
bl _next
b LBB2_48
LBB2_24:
bl _next
Lloh76:
adrp x8, _text@GOTPAGE
Lloh77:
ldr x8, [x8, _text@GOTPAGEOFF]
ldr x9, [x8]
Lloh78:
adrp x10, _token_val@GOTPAGE
Lloh79:
ldr x10, [x10, _token_val@GOTPAGEOFF]
Lloh80:
ldr x10, [x10]
str x10, [x9, #16]!
mov w10, #1 ; =0x1
stur x10, [x9, #-8]
LBB2_25:
str x9, [x8]
Lloh81:
adrp x8, _expr_type@GOTPAGE
Lloh82:
ldr x8, [x8, _expr_type@GOTPAGEOFF]
Lloh83:
str x10, [x8]
b LBB2_50
LBB2_26:
bl _next
ldr x8, [x26]
cmp x8, #40
b.ne LBB2_110
; %bb.27:
bl _next
b LBB2_111
LBB2_28:
bl _next
mov w0, #162 ; =0xa2
bl _expression
b LBB2_48
LBB2_29:
bl _next
mov w0, #162 ; =0xa2
bl _expression
Lloh84:
adrp x20, _expr_type@GOTPAGE
Lloh85:
ldr x20, [x20, _expr_type@GOTPAGEOFF]
ldr x8, [x20]
subs x8, x8, #2
b.lt LBB2_114
; %bb.30:
str x8, [x20]
b LBB2_115
LBB2_31:
bl _next
mov w0, #162 ; =0xa2
bl _expression
Lloh86:
adrp x8, _text@GOTPAGE
Lloh87:
ldr x8, [x8, _text@GOTPAGEOFF]
ldr x9, [x8]
Lloh88:
adrp x10, lCPI2_1@PAGE
Lloh89:
ldr q0, [x10, lCPI2_1@PAGEOFF]
stur q0, [x9, #8]
add x10, x9, #32
str x10, [x8]
Lloh90:
adrp x8, lCPI2_3@PAGE
Lloh91:
ldr q0, [x8, lCPI2_3@PAGEOFF]
stur q0, [x9, #24]
b LBB2_48
LBB2_32:
Lloh92:
adrp x8, _text@GOTPAGE
Lloh93:
ldr x8, [x8, _text@GOTPAGEOFF]
ldr x9, [x8]
Lloh94:
adrp x10, _token_val@GOTPAGE
Lloh95:
ldr x10, [x10, _token_val@GOTPAGEOFF]
Lloh96:
ldr x10, [x10]
str x10, [x9, #16]!
mov w10, #1 ; =0x1
stur x10, [x9, #-8]
str x9, [x8]
LBB2_33: ; =>This Inner Loop Header: Depth=1
bl _next
ldr x8, [x26]
cmp x8, #34
b.eq LBB2_33
; %bb.34:
Lloh97:
adrp x8, _data@GOTPAGE
Lloh98:
ldr x8, [x8, _data@GOTPAGEOFF]
ldr x9, [x8]
and x9, x9, #0xfffffffffffffff8
add x9, x9, #8
str x9, [x8]
Lloh99:
adrp x8, _expr_type@GOTPAGE
Lloh100:
ldr x8, [x8, _expr_type@GOTPAGEOFF]
mov w9, #2 ; =0x2
b LBB2_49
LBB2_35:
and x8, x20, #0xfffffffffffffffe
cmp x8, #162
b.ne LBB2_116
; %bb.36:
bl _next
mov w0, #162 ; =0xa2
bl _expression
Lloh101:
adrp x21, _text@GOTPAGE
Lloh102:
ldr x21, [x21, _text@GOTPAGEOFF]
ldr x8, [x21]
ldr x9, [x8]
cmp x9, #9
b.eq LBB2_139
; %bb.37:
cmp x9, #10
b.ne LBB2_140
; %bb.38:
Lloh103:
adrp x9, lCPI2_5@PAGE
Lloh104:
ldr q0, [x9, lCPI2_5@PAGEOFF]
str q0, [x8], #8
b LBB2_141
LBB2_39:
cmp x8, #41
b.ne LBB2_119
; %bb.40:
bl _next
b LBB2_120
LBB2_41:
ldr x8, [x20, #32]
cmp x8, #132
b.eq LBB2_142
; %bb.42:
cmp x8, #131
b.eq LBB2_143
; %bb.43:
cmp x8, #128
b.ne LBB2_144
; %bb.44:
Lloh105:
adrp x8, _text@GOTPAGE
Lloh106:
ldr x8, [x8, _text@GOTPAGEOFF]
ldr x9, [x8]
mov w10, #1 ; =0x1
str x10, [x9, #8]
ldr x11, [x20, #40]
str x11, [x9, #16]!
b LBB2_25
LBB2_45:
Lloh107:
adrp x8, _line@GOTPAGE
Lloh108:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh109:
ldr x8, [x8]
str x8, [sp]
Lloh110:
adrp x0, l_.str.11@PAGE
Lloh111:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB2_46:
Lloh112:
adrp x8, _expr_type@GOTPAGE
Lloh113:
ldr x8, [x8, _expr_type@GOTPAGEOFF]
ldr x9, [x8]
add x9, x9, #2
b LBB2_49
LBB2_47:
add x9, x8, #24
str x9, [x20]
Lloh114:
adrp x9, lCPI2_0@PAGE
Lloh115:
ldr q0, [x9, lCPI2_0@PAGEOFF]
str q0, [x8, #16]
mov w0, #162 ; =0xa2
bl _expression
ldr x8, [x20]
mov w9, #27 ; =0x1b
str x9, [x8, #8]!
str x8, [x20]
LBB2_48:
Lloh116:
adrp x8, _expr_type@GOTPAGE
Lloh117:
ldr x8, [x8, _expr_type@GOTPAGEOFF]
mov w9, #1 ; =0x1
LBB2_49:
str x9, [x8]
LBB2_50:
ldr x8, [x26]
cmp x8, x19
b.ge LBB2_52
LBB2_51:
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
ldp x20, x19, [sp, #176] ; 16-byte Folded Reload
ldp x22, x21, [sp, #160] ; 16-byte Folded Reload
ldp x24, x23, [sp, #144] ; 16-byte Folded Reload
ldp x26, x25, [sp, #128] ; 16-byte Folded Reload
ldp x28, x27, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #208
ret
LBB2_52:
Lloh118:
adrp x27, _expr_type@GOTPAGE
Lloh119:
ldr x27, [x27, _expr_type@GOTPAGEOFF]
Lloh120:
adrp x28, _text@GOTPAGE
Lloh121:
ldr x28, [x28, _text@GOTPAGEOFF]
mov w22, #25 ; =0x19
mov w25, #11 ; =0xb
Lloh122:
adrp x9, lCPI2_5@PAGE
Lloh123:
ldr q0, [x9, lCPI2_5@PAGEOFF]
str q0, [sp, #32] ; 16-byte Folded Spill
Lloh124:
adrp x9, lCPI2_1@PAGE
Lloh125:
ldr q0, [x9, lCPI2_1@PAGEOFF]
str q0, [sp, #96] ; 16-byte Folded Spill
mov w21, #13 ; =0xd
Lloh126:
adrp x9, lCPI2_4@PAGE
Lloh127:
ldr q0, [x9, lCPI2_4@PAGEOFF]
str q0, [sp, #16] ; 16-byte Folded Spill
Lloh128:
adrp x9, lCPI2_6@PAGE
Lloh129:
ldr q0, [x9, lCPI2_6@PAGEOFF]
str q0, [sp, #80] ; 16-byte Folded Spill
Lloh130:
adrp x24, lJTI2_1@PAGE
Lloh131:
add x24, x24, lJTI2_1@PAGEOFF
mov w20, #1 ; =0x1
Lloh132:
adrp x9, lCPI2_7@PAGE
Lloh133:
ldr q0, [x9, lCPI2_7@PAGEOFF]
str q0, [sp, #64] ; 16-byte Folded Spill
Lloh134:
adrp x9, lCPI2_8@PAGE
Lloh135:
ldr q0, [x9, lCPI2_8@PAGEOFF]
str q0, [sp, #48] ; 16-byte Folded Spill
b LBB2_57
LBB2_53: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x23, [x28]
mov w8, #5 ; =0x5
str x8, [x23, #8]
add x8, x23, #16
str x8, [x28]
mov w0, #145 ; =0x91
LBB2_54: ; in Loop: Header=BB2_57 Depth=1
bl _expression
ldr x8, [x28]
add x8, x8, #8
str x8, [x23, #16]
LBB2_55: ; in Loop: Header=BB2_57 Depth=1
str x20, [x27]
LBB2_56: ; in Loop: Header=BB2_57 Depth=1
ldr x8, [x26]
cmp x8, x19
b.lt LBB2_51
LBB2_57: ; =>This Inner Loop Header: Depth=1
ldr x23, [x27]
sub x9, x8, #142
cmp x9, #19
b.hi LBB2_61
; %bb.58: ; in Loop: Header=BB2_57 Depth=1
adr x8, LBB2_53
ldrb w10, [x24, x9]
add x8, x8, x10, lsl #2
br x8
LBB2_59: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
ldr x9, [x8]
sub x9, x9, #9
cmp x9, #1
b.hi LBB2_92
; %bb.60: ; in Loop: Header=BB2_57 Depth=1
str x21, [x8]
b LBB2_93
LBB2_61: ; in Loop: Header=BB2_57 Depth=1
and x9, x8, #0xfffffffffffffffe
cmp x9, #162
b.ne LBB2_94
; %bb.62: ; in Loop: Header=BB2_57 Depth=1
ldr x8, [x28]
ldr x9, [x8]
cmp x9, #10
b.eq LBB2_104
; %bb.63: ; in Loop: Header=BB2_57 Depth=1
cmp x9, #9
b.ne LBB2_105
; %bb.64: ; in Loop: Header=BB2_57 Depth=1
ldr q0, [sp, #16] ; 16-byte Folded Reload
str q0, [x8], #8
b LBB2_106
LBB2_65: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
mov w9, #4 ; =0x4
str x9, [x8, #8]
add x23, x8, #16
str x23, [x28]
mov w0, #142 ; =0x8e
bl _expression
ldr x8, [x26]
cmp x8, #58
b.ne LBB2_99
; %bb.66: ; in Loop: Header=BB2_57 Depth=1
bl _next
b LBB2_100
LBB2_67: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x23, [x28]
mov w8, #4 ; =0x4
str x8, [x23, #8]
add x8, x23, #16
str x8, [x28]
mov w0, #146 ; =0x92
b LBB2_54
LBB2_68: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #147 ; =0x93
bl _expression
ldr x8, [x28]
mov w9, #14 ; =0xe
b LBB2_79
LBB2_69: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #148 ; =0x94
bl _expression
ldr x8, [x28]
mov w9, #15 ; =0xf
b LBB2_79
LBB2_70: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #149 ; =0x95
bl _expression
ldr x8, [x28]
mov w9, #16 ; =0x10
b LBB2_79
LBB2_71: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #150 ; =0x96
bl _expression
ldr x8, [x28]
mov w9, #17 ; =0x11
b LBB2_79
LBB2_72: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #151 ; =0x97
bl _expression
ldr x8, [x28]
mov w9, #18 ; =0x12
b LBB2_79
LBB2_73: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #155 ; =0x9b
bl _expression
ldr x8, [x28]
mov w9, #19 ; =0x13
b LBB2_79
LBB2_74: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #155 ; =0x9b
bl _expression
ldr x8, [x28]
mov w9, #20 ; =0x14
b LBB2_79
LBB2_75: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #155 ; =0x9b
bl _expression
ldr x8, [x28]
mov w9, #21 ; =0x15
b LBB2_79
LBB2_76: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #155 ; =0x9b
bl _expression
ldr x8, [x28]
mov w9, #22 ; =0x16
b LBB2_79
LBB2_77: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #157 ; =0x9d
bl _expression
ldr x8, [x28]
mov w9, #23 ; =0x17
b LBB2_79
LBB2_78: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #157 ; =0x9d
bl _expression
ldr x8, [x28]
mov w9, #24 ; =0x18
LBB2_79: ; in Loop: Header=BB2_57 Depth=1
str x9, [x8, #8]!
LBB2_80: ; in Loop: Header=BB2_57 Depth=1
str x8, [x28]
b LBB2_55
LBB2_81: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #159 ; =0x9f
bl _expression
str x23, [x27]
ldr x8, [x28]
cmp x23, #3
b.lt LBB2_83
; %bb.82: ; in Loop: Header=BB2_57 Depth=1
ldr q0, [sp, #96] ; 16-byte Folded Reload
stur q0, [x8, #8]
ldr q0, [sp, #80] ; 16-byte Folded Reload
stur q0, [x8, #24]
add x8, x8, #32
LBB2_83: ; in Loop: Header=BB2_57 Depth=1
str x22, [x8, #8]!
str x8, [x28]
b LBB2_56
LBB2_84: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #159 ; =0x9f
bl _expression
ldr x9, [x27]
ldr x8, [x28]
cmp x23, #3
ccmp x23, x9, #0, ge
b.eq LBB2_101
; %bb.85: ; in Loop: Header=BB2_57 Depth=1
cmp x23, #3
b.lt LBB2_102
; %bb.86: ; in Loop: Header=BB2_57 Depth=1
mov w9, #26 ; =0x1a
str x9, [x8, #40]!
ldr q1, [sp, #96] ; 16-byte Folded Reload
ldr q0, [sp, #80] ; 16-byte Folded Reload
stp q1, q0, [x8, #-32]
b LBB2_91
LBB2_87: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #162 ; =0xa2
bl _expression
ldr x8, [x28]
mov w9, #27 ; =0x1b
b LBB2_90
LBB2_88: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #162 ; =0xa2
bl _expression
ldr x8, [x28]
mov w9, #28 ; =0x1c
b LBB2_90
LBB2_89: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #162 ; =0xa2
bl _expression
ldr x8, [x28]
mov w9, #29 ; =0x1d
LBB2_90: ; in Loop: Header=BB2_57 Depth=1
str x9, [x8, #8]!
LBB2_91: ; in Loop: Header=BB2_57 Depth=1
str x8, [x28]
str x23, [x27]
b LBB2_56
LBB2_92: ; in Loop: Header=BB2_57 Depth=1
Lloh136:
adrp x8, _line@GOTPAGE
Lloh137:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh138:
ldr x8, [x8]
str x8, [sp]
Lloh139:
adrp x0, l_.str.14@PAGE
Lloh140:
add x0, x0, l_.str.14@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB2_93: ; in Loop: Header=BB2_57 Depth=1
mov w0, #142 ; =0x8e
bl _expression
str x23, [x27]
cmp x23, #0
cinc x8, x25, eq
ldr x9, [x28]
str x8, [x9, #8]!
str x9, [x28]
b LBB2_56
LBB2_94: ; in Loop: Header=BB2_57 Depth=1
cmp x8, #164
b.ne LBB2_103
; %bb.95: ; in Loop: Header=BB2_57 Depth=1
bl _next
ldr x8, [x28]
str x21, [x8, #8]!
str x8, [x28]
mov w0, #142 ; =0x8e
bl _expression
ldr x8, [x26]
cmp x8, #93
b.ne LBB2_107
; %bb.96: ; in Loop: Header=BB2_57 Depth=1
bl _next
cmp x23, #3
b.ge LBB2_108
LBB2_97: ; in Loop: Header=BB2_57 Depth=1
cmp x23, #2
b.eq LBB2_109
; %bb.98: ; in Loop: Header=BB2_57 Depth=1
Lloh141:
adrp x8, _line@GOTPAGE
Lloh142:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh143:
ldr x8, [x8]
str x8, [sp]
Lloh144:
adrp x0, l_.str.17@PAGE
Lloh145:
add x0, x0, l_.str.17@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
b LBB2_109
LBB2_99: ; in Loop: Header=BB2_57 Depth=1
Lloh146:
adrp x8, _line@GOTPAGE
Lloh147:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh148:
ldr x8, [x8]
str x8, [sp]
Lloh149:
adrp x0, l_.str.15@PAGE
Lloh150:
add x0, x0, l_.str.15@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB2_100: ; in Loop: Header=BB2_57 Depth=1
ldr x25, [x28]
add x8, x25, #24
str x8, [x23]
mov w8, #2 ; =0x2
str x8, [x25, #8]
add x8, x25, #16
str x8, [x28]
mov w0, #143 ; =0x8f
bl _expression
ldr x8, [x28]
add x8, x8, #8
str x8, [x25, #16]
mov w25, #11 ; =0xb
b LBB2_56
LBB2_101: ; in Loop: Header=BB2_57 Depth=1
mov w9, #28 ; =0x1c
str x9, [x8, #40]!
ldr q1, [sp, #64] ; 16-byte Folded Reload
ldr q0, [sp, #48] ; 16-byte Folded Reload
stp q1, q0, [x8, #-32]
b LBB2_80
LBB2_102: ; in Loop: Header=BB2_57 Depth=1
add x8, x8, #8
str x8, [x28]
mov w9, #26 ; =0x1a
str x9, [x8]
str x23, [x27]
b LBB2_56
LBB2_103: ; in Loop: Header=BB2_57 Depth=1
Lloh151:
adrp x9, _line@GOTPAGE
Lloh152:
ldr x9, [x9, _line@GOTPAGEOFF]
Lloh153:
ldr x9, [x9]
stp x9, x8, [sp]
Lloh154:
adrp x0, l_.str.18@PAGE
Lloh155:
add x0, x0, l_.str.18@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
b LBB2_56
LBB2_104: ; in Loop: Header=BB2_57 Depth=1
ldr q0, [sp, #32] ; 16-byte Folded Reload
str q0, [x8], #8
b LBB2_106
LBB2_105: ; in Loop: Header=BB2_57 Depth=1
Lloh156:
adrp x8, _line@GOTPAGE
Lloh157:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh158:
ldr x8, [x8]
str x8, [sp]
Lloh159:
adrp x0, l_.str.16@PAGE
Lloh160:
add x0, x0, l_.str.16@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
ldr x8, [x28]
LBB2_106: ; in Loop: Header=BB2_57 Depth=1
ldr x9, [x27]
cmp x9, #2
mov w10, #8 ; =0x8
csinc x10, x10, xzr, gt
ldr x11, [x26]
cmp x11, #162
cinc x11, x22, eq
str x11, [x8, #72]!
ldr q0, [sp, #96] ; 16-byte Folded Reload
stur q0, [x8, #-64]
cinc x11, x22, ne
stp x10, x11, [x8, #-48]
cmp x9, #0
cinc x9, x25, eq
stur x9, [x8, #-32]
stur q0, [x8, #-24]
stur x10, [x8, #-8]
str x8, [x28]
bl _next
b LBB2_56
LBB2_107: ; in Loop: Header=BB2_57 Depth=1
Lloh161:
adrp x8, _line@GOTPAGE
Lloh162:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh163:
ldr x8, [x8]
mov w9, #93 ; =0x5d
stp x8, x9, [sp]
Lloh164:
adrp x0, l_.str.6@PAGE
Lloh165:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
cmp x23, #3
b.lt LBB2_97
LBB2_108: ; in Loop: Header=BB2_57 Depth=1
ldr x8, [x28]
ldr q0, [sp, #96] ; 16-byte Folded Reload
stur q0, [x8, #8]
add x9, x8, #32
str x9, [x28]
ldr q0, [sp, #80] ; 16-byte Folded Reload
stur q0, [x8, #24]
LBB2_109: ; in Loop: Header=BB2_57 Depth=1
subs x8, x23, #2
str x8, [x27]
ldr x8, [x28]
mov w9, #9 ; =0x9
cinc x9, x9, eq
str x9, [x8, #16]!
stur x22, [x8, #-8]
str x8, [x28]
b LBB2_56
LBB2_110:
Lloh166:
adrp x8, _line@GOTPAGE
Lloh167:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh168:
ldr x8, [x8]
mov w9, #40 ; =0x28
stp x8, x9, [sp]
Lloh169:
adrp x0, l_.str.6@PAGE
Lloh170:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB2_111:
Lloh171:
adrp x20, _expr_type@GOTPAGE
Lloh172:
ldr x20, [x20, _expr_type@GOTPAGEOFF]
mov w8, #1 ; =0x1
str x8, [x20]
ldr x8, [x26]
cmp x8, #134
b.eq LBB2_121
; %bb.112:
cmp x8, #138
b.ne LBB2_123
; %bb.113:
bl _next
b LBB2_123
LBB2_114:
Lloh173:
adrp x8, _line@GOTPAGE
Lloh174:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh175:
ldr x8, [x8]
str x8, [sp]
Lloh176:
adrp x0, l_.str.10@PAGE
Lloh177:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
ldr x8, [x20]
LBB2_115:
cmp x8, #0
mov w8, #9 ; =0x9
cinc x8, x8, eq
Lloh178:
adrp x9, _text@GOTPAGE
Lloh179:
ldr x9, [x9, _text@GOTPAGEOFF]
ldr x10, [x9]
str x8, [x10, #8]!
str x10, [x9]
b LBB2_50
LBB2_116:
Lloh180:
adrp x8, _line@GOTPAGE
Lloh181:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh182:
ldr x8, [x8]
str x8, [sp]
Lloh183:
adrp x0, l_.str.13@PAGE
Lloh184:
add x0, x0, l_.str.13@PAGEOFF
b LBB2_138
LBB2_117:
mov w0, #142 ; =0x8e
bl _expression
ldr x8, [x26]
cmp x8, #41
b.ne LBB2_137
; %bb.118:
bl _next
b LBB2_50
LBB2_119:
Lloh185:
adrp x8, _line@GOTPAGE
Lloh186:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh187:
ldr x8, [x8]
mov w9, #41 ; =0x29
stp x8, x9, [sp]
Lloh188:
adrp x0, l_.str.6@PAGE
Lloh189:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB2_120:
mov w0, #162 ; =0xa2
bl _expression
Lloh190:
adrp x8, _expr_type@GOTPAGE
Lloh191:
ldr x8, [x8, _expr_type@GOTPAGEOFF]
Lloh192:
str x20, [x8]
b LBB2_50
LBB2_121:
bl _next
str xzr, [x20]
b LBB2_123
LBB2_122: ; in Loop: Header=BB2_123 Depth=1
bl _next
ldr x8, [x20]
add x8, x8, #2
str x8, [x20]
LBB2_123: ; =>This Inner Loop Header: Depth=1
ldr x8, [x26]
cmp x8, #159
b.eq LBB2_122
; %bb.124:
cmp x8, #41
b.ne LBB2_126
; %bb.125:
bl _next
b LBB2_127
LBB2_126:
Lloh193:
adrp x8, _line@GOTPAGE
Lloh194:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh195:
ldr x8, [x8]
mov w9, #41 ; =0x29
stp x8, x9, [sp]
Lloh196:
adrp x0, l_.str.6@PAGE
Lloh197:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB2_127:
Lloh198:
adrp x8, _text@GOTPAGE
Lloh199:
ldr x8, [x8, _text@GOTPAGEOFF]
ldr x9, [x8]
ldr x10, [x20]
cmp x10, #0
mov w10, #8 ; =0x8
csinc x10, x10, xzr, ne
str x10, [x9, #16]!
mov w10, #1 ; =0x1
stur x10, [x9, #-8]
str x9, [x8]
str x10, [x20]
b LBB2_50
LBB2_128:
mov x21, #0 ; =0x0
Lloh200:
adrp x22, _text@GOTPAGE
Lloh201:
ldr x22, [x22, _text@GOTPAGEOFF]
mov w23, #13 ; =0xd
b LBB2_130
LBB2_129: ; in Loop: Header=BB2_130 Depth=1
add x21, x21, #1
cmp x8, #41
b.eq LBB2_17
LBB2_130: ; =>This Inner Loop Header: Depth=1
mov w0, #142 ; =0x8e
bl _expression
ldr x8, [x22]
str x23, [x8, #8]!
str x8, [x22]
ldr x8, [x26]
cmp x8, #44
b.ne LBB2_129
; %bb.131: ; in Loop: Header=BB2_130 Depth=1
bl _next
ldr x8, [x26]
b LBB2_129
LBB2_132:
Lloh202:
adrp x8, _text@GOTPAGE
Lloh203:
ldr x8, [x8, _text@GOTPAGEOFF]
ldr x9, [x8]
mov w10, #3 ; =0x3
str x10, [x9, #8]
ldr x10, [x20, #40]
str x10, [x9, #16]!
str x9, [x8]
b LBB2_134
LBB2_133:
Lloh204:
adrp x8, _line@GOTPAGE
Lloh205:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh206:
ldr x8, [x8]
str x8, [sp]
Lloh207:
adrp x0, l_.str.8@PAGE
Lloh208:
add x0, x0, l_.str.8@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB2_134:
cbz x21, LBB2_136
; %bb.135:
Lloh209:
adrp x8, _text@GOTPAGE
Lloh210:
ldr x8, [x8, _text@GOTPAGEOFF]
ldr x9, [x8]
str x21, [x9, #16]!
mov w10, #7 ; =0x7
stur x10, [x9, #-8]
str x9, [x8]
LBB2_136:
ldr x8, [x20, #24]
Lloh211:
adrp x9, _expr_type@GOTPAGE
Lloh212:
ldr x9, [x9, _expr_type@GOTPAGEOFF]
Lloh213:
str x8, [x9]
b LBB2_50
LBB2_137:
Lloh214:
adrp x8, _line@GOTPAGE
Lloh215:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh216:
ldr x8, [x8]
mov w9, #41 ; =0x29
stp x8, x9, [sp]
Lloh217:
adrp x0, l_.str.6@PAGE
Lloh218:
add x0, x0, l_.str.6@PAGEOFF
LBB2_138:
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
b LBB2_50
LBB2_139:
Lloh219:
adrp x9, lCPI2_4@PAGE
Lloh220:
ldr q0, [x9, lCPI2_4@PAGEOFF]
str q0, [x8], #8
b LBB2_141
LBB2_140:
Lloh221:
adrp x8, _line@GOTPAGE
Lloh222:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh223:
ldr x8, [x8]
str x8, [sp]
Lloh224:
adrp x0, l_.str.12@PAGE
Lloh225:
add x0, x0, l_.str.12@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
ldr x8, [x21]
LBB2_141:
Lloh226:
adrp x9, lCPI2_1@PAGE
Lloh227:
ldr q0, [x9, lCPI2_1@PAGEOFF]
Lloh228:
adrp x9, _expr_type@GOTPAGE
Lloh229:
ldr x9, [x9, _expr_type@GOTPAGEOFF]
Lloh230:
ldr x9, [x9]
cmp x9, #0
mov w10, #11 ; =0xb
cinc x10, x10, eq
str x10, [x8, #40]!
stur q0, [x8, #-32]
cmp x9, #2
mov w9, #8 ; =0x8
csinc x9, x9, xzr, gt
cmp x20, #162
mov w10, #25 ; =0x19
cinc x10, x10, ne
stp x9, x10, [x8, #-16]
str x8, [x21]
b LBB2_50
LBB2_142:
Lloh231:
adrp x8, _text@GOTPAGE
Lloh232:
ldr x8, [x8, _text@GOTPAGEOFF]
Lloh233:
ldr x8, [x8]
Lloh234:
adrp x9, _index_of_bp@GOTPAGE
Lloh235:
ldr x9, [x9, _index_of_bp@GOTPAGEOFF]
str xzr, [x8, #8]
Lloh236:
ldr x9, [x9]
ldr x10, [x20, #40]
sub x9, x9, x10
str x9, [x8, #16]!
b LBB2_145
LBB2_143:
Lloh237:
adrp x8, _text@GOTPAGE
Lloh238:
ldr x8, [x8, _text@GOTPAGEOFF]
Lloh239:
ldr x8, [x8]
mov w9, #1 ; =0x1
str x9, [x8, #8]
ldr x9, [x20, #40]
str x9, [x8, #16]!
b LBB2_145
LBB2_144:
Lloh240:
adrp x8, _line@GOTPAGE
Lloh241:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh242:
ldr x8, [x8]
str x8, [sp]
Lloh243:
adrp x0, l_.str.9@PAGE
Lloh244:
add x0, x0, l_.str.9@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
Lloh245:
adrp x8, _text@GOTPAGE
Lloh246:
ldr x8, [x8, _text@GOTPAGEOFF]
Lloh247:
ldr x8, [x8]
LBB2_145:
ldr x9, [x20, #24]
Lloh248:
adrp x10, _expr_type@GOTPAGE
Lloh249:
ldr x10, [x10, _expr_type@GOTPAGEOFF]
Lloh250:
str x9, [x10]
cmp x9, #0
mov w9, #9 ; =0x9
cinc x9, x9, eq
Lloh251:
adrp x10, _text@GOTPAGE
Lloh252:
ldr x10, [x10, _text@GOTPAGEOFF]
str x9, [x8, #8]!
Lloh253:
str x8, [x10]
b LBB2_50
.loh AdrpLdrGot Lloh49, Lloh50
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpLdr Lloh57, Lloh58
.loh AdrpLdr Lloh55, Lloh56
.loh AdrpLdrGot Lloh53, Lloh54
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpLdrGot Lloh67, Lloh68
.loh AdrpLdrGot Lloh69, Lloh70
.loh AdrpLdrGot Lloh71, Lloh72
.loh AdrpLdrGotLdr Lloh73, Lloh74, Lloh75
.loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80
.loh AdrpLdrGot Lloh76, Lloh77
.loh AdrpLdrGotStr Lloh81, Lloh82, Lloh83
.loh AdrpLdrGot Lloh84, Lloh85
.loh AdrpLdr Lloh90, Lloh91
.loh AdrpLdr Lloh88, Lloh89
.loh AdrpLdrGot Lloh86, Lloh87
.loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh96
.loh AdrpLdrGot Lloh92, Lloh93
.loh AdrpLdrGot Lloh99, Lloh100
.loh AdrpLdrGot Lloh97, Lloh98
.loh AdrpLdrGot Lloh101, Lloh102
.loh AdrpLdr Lloh103, Lloh104
.loh AdrpLdrGot Lloh105, Lloh106
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpLdrGotLdr Lloh107, Lloh108, Lloh109
.loh AdrpLdrGot Lloh112, Lloh113
.loh AdrpLdr Lloh114, Lloh115
.loh AdrpLdrGot Lloh116, Lloh117
.loh AdrpLdr Lloh134, Lloh135
.loh AdrpAdrp Lloh132, Lloh134
.loh AdrpLdr Lloh132, Lloh133
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpAdrp Lloh128, Lloh132
.loh AdrpLdr Lloh128, Lloh129
.loh AdrpAdrp Lloh126, Lloh128
.loh AdrpLdr Lloh126, Lloh127
.loh AdrpAdrp Lloh124, Lloh126
.loh AdrpLdr Lloh124, Lloh125
.loh AdrpAdrp Lloh122, Lloh124
.loh AdrpLdr Lloh122, Lloh123
.loh AdrpLdrGot Lloh120, Lloh121
.loh AdrpLdrGot Lloh118, Lloh119
.loh AdrpAdd Lloh139, Lloh140
.loh AdrpLdrGotLdr Lloh136, Lloh137, Lloh138
.loh AdrpAdd Lloh144, Lloh145
.loh AdrpLdrGotLdr Lloh141, Lloh142, Lloh143
.loh AdrpAdd Lloh149, Lloh150
.loh AdrpLdrGotLdr Lloh146, Lloh147, Lloh148
.loh AdrpAdd Lloh154, Lloh155
.loh AdrpLdrGotLdr Lloh151, Lloh152, Lloh153
.loh AdrpAdd Lloh159, Lloh160
.loh AdrpLdrGotLdr Lloh156, Lloh157, Lloh158
.loh AdrpAdd Lloh164, Lloh165
.loh AdrpLdrGotLdr Lloh161, Lloh162, Lloh163
.loh AdrpAdd Lloh169, Lloh170
.loh AdrpLdrGotLdr Lloh166, Lloh167, Lloh168
.loh AdrpLdrGot Lloh171, Lloh172
.loh AdrpAdd Lloh176, Lloh177
.loh AdrpLdrGotLdr Lloh173, Lloh174, Lloh175
.loh AdrpLdrGot Lloh178, Lloh179
.loh AdrpAdd Lloh183, Lloh184
.loh AdrpLdrGotLdr Lloh180, Lloh181, Lloh182
.loh AdrpAdd Lloh188, Lloh189
.loh AdrpLdrGotLdr Lloh185, Lloh186, Lloh187
.loh AdrpLdrGotStr Lloh190, Lloh191, Lloh192
.loh AdrpAdd Lloh196, Lloh197
.loh AdrpLdrGotLdr Lloh193, Lloh194, Lloh195
.loh AdrpLdrGot Lloh198, Lloh199
.loh AdrpLdrGot Lloh200, Lloh201
.loh AdrpLdrGot Lloh202, Lloh203
.loh AdrpAdd Lloh207, Lloh208
.loh AdrpLdrGotLdr Lloh204, Lloh205, Lloh206
.loh AdrpLdrGot Lloh209, Lloh210
.loh AdrpLdrGotStr Lloh211, Lloh212, Lloh213
.loh AdrpAdd Lloh217, Lloh218
.loh AdrpLdrGotLdr Lloh214, Lloh215, Lloh216
.loh AdrpLdr Lloh219, Lloh220
.loh AdrpAdd Lloh224, Lloh225
.loh AdrpLdrGotLdr Lloh221, Lloh222, Lloh223
.loh AdrpLdrGotLdr Lloh228, Lloh229, Lloh230
.loh AdrpAdrp Lloh226, Lloh228
.loh AdrpLdr Lloh226, Lloh227
.loh AdrpLdrGotLdr Lloh234, Lloh235, Lloh236
.loh AdrpLdrGotLdr Lloh231, Lloh232, Lloh233
.loh AdrpLdrGotLdr Lloh237, Lloh238, Lloh239
.loh AdrpLdrGotLdr Lloh245, Lloh246, Lloh247
.loh AdrpAdd Lloh243, Lloh244
.loh AdrpLdrGotLdr Lloh240, Lloh241, Lloh242
.loh AdrpLdrGotStr Lloh251, Lloh252, Lloh253
.loh AdrpLdrGotStr Lloh248, Lloh249, Lloh250
.cfi_endproc
.section __TEXT,__const
lJTI2_0:
.byte (LBB2_4-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_24-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_14-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_26-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_20-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_35-LBB2_4)>>2
.byte (LBB2_28-LBB2_4)>>2
.byte (LBB2_22-LBB2_4)>>2
.byte (LBB2_29-LBB2_4)>>2
lJTI2_1:
.byte (LBB2_59-LBB2_53)>>2
.byte (LBB2_65-LBB2_53)>>2
.byte (LBB2_53-LBB2_53)>>2
.byte (LBB2_67-LBB2_53)>>2
.byte (LBB2_68-LBB2_53)>>2
.byte (LBB2_69-LBB2_53)>>2
.byte (LBB2_70-LBB2_53)>>2
.byte (LBB2_71-LBB2_53)>>2
.byte (LBB2_72-LBB2_53)>>2
.byte (LBB2_73-LBB2_53)>>2
.byte (LBB2_74-LBB2_53)>>2
.byte (LBB2_75-LBB2_53)>>2
.byte (LBB2_76-LBB2_53)>>2
.byte (LBB2_77-LBB2_53)>>2
.byte (LBB2_78-LBB2_53)>>2
.byte (LBB2_81-LBB2_53)>>2
.byte (LBB2_84-LBB2_53)>>2
.byte (LBB2_87-LBB2_53)>>2
.byte (LBB2_88-LBB2_53)>>2
.byte (LBB2_89-LBB2_53)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _statement ; -- Begin function statement
.p2align 2
_statement: ; @statement
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh254:
adrp x19, _token@GOTPAGE
Lloh255:
ldr x19, [x19, _token@GOTPAGEOFF]
ldr x9, [x19]
sub x8, x9, #123
cmp x8, #18
b.hi LBB3_5
; %bb.1:
Lloh256:
adrp x9, lJTI3_0@PAGE
Lloh257:
add x9, x9, lJTI3_0@PAGEOFF
adr x10, LBB3_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB3_2:
bl _next
LBB3_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
cmp x8, #125
b.eq LBB3_7
; %bb.4: ; in Loop: Header=BB3_3 Depth=1
bl _statement
b LBB3_3
LBB3_5:
cmp x9, #59
b.eq LBB3_7
LBB3_6:
mov w0, #142 ; =0x8e
bl _expression
ldr x8, [x19]
cmp x8, #59
b.ne LBB3_15
LBB3_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _next
LBB3_8:
bl _next
ldr x8, [x19]
cmp x8, #59
b.eq LBB3_10
; %bb.9:
mov w0, #142 ; =0x8e
bl _expression
ldr x8, [x19]
cmp x8, #59
b.ne LBB3_28
LBB3_10:
bl _next
b LBB3_29
LBB3_11:
bl _next
ldr x8, [x19]
cmp x8, #40
b.ne LBB3_16
; %bb.12:
bl _next
b LBB3_17
LBB3_13:
bl _next
Lloh258:
adrp x20, _text@GOTPAGE
Lloh259:
ldr x20, [x20, _text@GOTPAGEOFF]
ldr x8, [x20]
add x21, x8, #8
ldr x8, [x19]
cmp x8, #40
b.ne LBB3_19
; %bb.14:
bl _next
b LBB3_20
LBB3_15:
Lloh260:
adrp x8, _line@GOTPAGE
Lloh261:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh262:
ldr x8, [x8]
mov w9, #59 ; =0x3b
stp x8, x9, [sp]
Lloh263:
adrp x0, l_.str.6@PAGE
Lloh264:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
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 _libmin_fail
LBB3_16:
Lloh265:
adrp x8, _line@GOTPAGE
Lloh266:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh267:
ldr x8, [x8]
mov w9, #40 ; =0x28
stp x8, x9, [sp]
Lloh268:
adrp x0, l_.str.6@PAGE
Lloh269:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB3_17:
mov w0, #142 ; =0x8e
bl _expression
ldr x8, [x19]
cmp x8, #41
b.ne LBB3_22
; %bb.18:
bl _next
b LBB3_23
LBB3_19:
Lloh270:
adrp x8, _line@GOTPAGE
Lloh271:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh272:
ldr x8, [x8]
mov w9, #40 ; =0x28
stp x8, x9, [sp]
Lloh273:
adrp x0, l_.str.6@PAGE
Lloh274:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB3_20:
mov w0, #142 ; =0x8e
bl _expression
ldr x8, [x19]
cmp x8, #41
b.ne LBB3_26
; %bb.21:
bl _next
b LBB3_27
LBB3_22:
Lloh275:
adrp x8, _line@GOTPAGE
Lloh276:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh277:
ldr x8, [x8]
mov w9, #41 ; =0x29
stp x8, x9, [sp]
Lloh278:
adrp x0, l_.str.6@PAGE
Lloh279:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB3_23:
Lloh280:
adrp x20, _text@GOTPAGE
Lloh281:
ldr x20, [x20, _text@GOTPAGEOFF]
ldr x8, [x20]
mov w9, #4 ; =0x4
str x9, [x8, #8]
add x21, x8, #16
str x21, [x20]
bl _statement
ldr x8, [x19]
cmp x8, #135
b.ne LBB3_25
; %bb.24:
bl _next
ldr x8, [x20]
add x9, x8, #24
str x9, [x21]
mov w9, #2 ; =0x2
str x9, [x8, #8]
add x21, x8, #16
str x21, [x20]
bl _statement
LBB3_25:
ldr x8, [x20]
add x8, x8, #8
str x8, [x21]
b LBB3_30
LBB3_26:
Lloh282:
adrp x8, _line@GOTPAGE
Lloh283:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh284:
ldr x8, [x8]
mov w9, #41 ; =0x29
stp x8, x9, [sp]
Lloh285:
adrp x0, l_.str.6@PAGE
Lloh286:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB3_27:
ldr x19, [x20]
mov w8, #4 ; =0x4
str x8, [x19, #8]
add x8, x19, #16
str x8, [x20]
bl _statement
ldr x8, [x20]
str x21, [x8, #16]!
mov w9, #2 ; =0x2
stur x9, [x8, #-8]
str x8, [x20]
add x8, x8, #8
str x8, [x19, #16]
b LBB3_30
LBB3_28:
Lloh287:
adrp x8, _line@GOTPAGE
Lloh288:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh289:
ldr x8, [x8]
mov w9, #59 ; =0x3b
stp x8, x9, [sp]
Lloh290:
adrp x0, l_.str.6@PAGE
Lloh291:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB3_29:
Lloh292:
adrp x8, _text@GOTPAGE
Lloh293:
ldr x8, [x8, _text@GOTPAGEOFF]
ldr x9, [x8]
mov w10, #8 ; =0x8
str x10, [x9, #8]!
str x9, [x8]
LBB3_30:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh254, Lloh255
.loh AdrpAdd Lloh256, Lloh257
.loh AdrpLdrGot Lloh258, Lloh259
.loh AdrpAdd Lloh263, Lloh264
.loh AdrpLdrGotLdr Lloh260, Lloh261, Lloh262
.loh AdrpAdd Lloh268, Lloh269
.loh AdrpLdrGotLdr Lloh265, Lloh266, Lloh267
.loh AdrpAdd Lloh273, Lloh274
.loh AdrpLdrGotLdr Lloh270, Lloh271, Lloh272
.loh AdrpAdd Lloh278, Lloh279
.loh AdrpLdrGotLdr Lloh275, Lloh276, Lloh277
.loh AdrpLdrGot Lloh280, Lloh281
.loh AdrpAdd Lloh285, Lloh286
.loh AdrpLdrGotLdr Lloh282, Lloh283, Lloh284
.loh AdrpAdd Lloh290, Lloh291
.loh AdrpLdrGotLdr Lloh287, Lloh288, Lloh289
.loh AdrpLdrGot Lloh292, Lloh293
.cfi_endproc
.section __TEXT,__const
lJTI3_0:
.byte (LBB3_2-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_11-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_8-LBB3_2)>>2
.byte (LBB3_6-LBB3_2)>>2
.byte (LBB3_13-LBB3_2)>>2
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function enum_declaration
lCPI4_0:
.quad 1 ; 0x1
.quad 128 ; 0x80
.section __TEXT,__text,regular,pure_instructions
.globl _enum_declaration
.p2align 2
_enum_declaration: ; @enum_declaration
.cfi_startproc
; %bb.0:
sub sp, sp, #112
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
mov x25, #0 ; =0x0
Lloh294:
adrp x21, _token@GOTPAGE
Lloh295:
ldr x21, [x21, _token@GOTPAGEOFF]
ldr x8, [x21]
Lloh296:
adrp x22, _token_val@GOTPAGE
Lloh297:
ldr x22, [x22, _token_val@GOTPAGEOFF]
Lloh298:
adrp x23, _line@GOTPAGE
Lloh299:
ldr x23, [x23, _line@GOTPAGEOFF]
Lloh300:
adrp x19, l_.str.20@PAGE
Lloh301:
add x19, x19, l_.str.20@PAGEOFF
Lloh302:
adrp x24, _current_id@GOTPAGE
Lloh303:
ldr x24, [x24, _current_id@GOTPAGEOFF]
Lloh304:
adrp x9, lCPI4_0@PAGE
Lloh305:
ldr q0, [x9, lCPI4_0@PAGEOFF]
str q0, [sp, #16] ; 16-byte Folded Spill
Lloh306:
adrp x20, l_.str.19@PAGE
Lloh307:
add x20, x20, l_.str.19@PAGEOFF
LBB4_1: ; =>This Inner Loop Header: Depth=1
cmp x8, #133
b.eq LBB4_4
; %bb.2: ; in Loop: Header=BB4_1 Depth=1
cmp x8, #125
b.eq LBB4_10
; %bb.3: ; in Loop: Header=BB4_1 Depth=1
ldr x9, [x23]
stp x9, x8, [sp]
mov x0, x20
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB4_4: ; in Loop: Header=BB4_1 Depth=1
bl _next
ldr x8, [x21]
cmp x8, #142
b.ne LBB4_8
; %bb.5: ; in Loop: Header=BB4_1 Depth=1
bl _next
ldr x8, [x21]
cmp x8, #128
b.eq LBB4_7
; %bb.6: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [x23]
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB4_7: ; in Loop: Header=BB4_1 Depth=1
ldr x25, [x22]
bl _next
ldr x8, [x21]
LBB4_8: ; in Loop: Header=BB4_1 Depth=1
ldr x9, [x24]
ldr q0, [sp, #16] ; 16-byte Folded Reload
stur q0, [x9, #24]
str x25, [x9, #40]
add x25, x25, #1
cmp x8, #44
b.ne LBB4_1
; %bb.9: ; in Loop: Header=BB4_1 Depth=1
bl _next
ldr x8, [x21]
b LBB4_1
LBB4_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
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh306, Lloh307
.loh AdrpLdr Lloh304, Lloh305
.loh AdrpLdrGot Lloh302, Lloh303
.loh AdrpAdd Lloh300, Lloh301
.loh AdrpLdrGot Lloh298, Lloh299
.loh AdrpLdrGot Lloh296, Lloh297
.loh AdrpLdrGot Lloh294, Lloh295
.cfi_endproc
; -- End function
.globl _function_parameter ; -- Begin function function_parameter
.p2align 2
_function_parameter: ; @function_parameter
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x26, #0 ; =0x0
Lloh308:
adrp x22, _token@GOTPAGE
Lloh309:
ldr x22, [x22, _token@GOTPAGEOFF]
Lloh310:
adrp x23, _current_id@GOTPAGE
Lloh311:
ldr x23, [x23, _current_id@GOTPAGEOFF]
Lloh312:
adrp x24, _line@GOTPAGE
Lloh313:
ldr x24, [x24, _line@GOTPAGEOFF]
ldr x8, [x22]
Lloh314:
adrp x19, l_.str.22@PAGE
Lloh315:
add x19, x19, l_.str.22@PAGEOFF
mov w25, #132 ; =0x84
mov w27, #133 ; =0x85
Lloh316:
adrp x20, l_.str.6@PAGE
Lloh317:
add x20, x20, l_.str.6@PAGEOFF
Lloh318:
adrp x21, l_.str.21@PAGE
Lloh319:
add x21, x21, l_.str.21@PAGEOFF
LBB5_1: ; =>This Loop Header: Depth=1
; Child Loop BB5_7 Depth 2
cmp x8, #134
b.eq LBB5_4
; %bb.2: ; in Loop: Header=BB5_1 Depth=1
mov w28, #1 ; =0x1
cmp x8, #138
b.eq LBB5_5
; %bb.3: ; in Loop: Header=BB5_1 Depth=1
cmp x8, #41
b.ne LBB5_7
b LBB5_17
LBB5_4: ; in Loop: Header=BB5_1 Depth=1
mov x28, #0 ; =0x0
LBB5_5: ; in Loop: Header=BB5_1 Depth=1
bl _next
b LBB5_7
LBB5_6: ; in Loop: Header=BB5_7 Depth=2
bl _next
add x28, x28, #2
LBB5_7: ; Parent Loop BB5_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x22]
cmp x8, #159
b.eq LBB5_6
; %bb.8: ; in Loop: Header=BB5_1 Depth=1
cmp x8, #133
b.eq LBB5_10
; %bb.9: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [x24]
str x8, [sp]
mov x0, x21
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB5_10: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [x23]
ldr x8, [x8, #32]
cmp x8, #132
b.ne LBB5_12
; %bb.11: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [x24]
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB5_12: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [x22]
cmp x8, #133
b.ne LBB5_14
; %bb.13: ; in Loop: Header=BB5_1 Depth=1
bl _next
b LBB5_15
LBB5_14: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [x24]
stp x8, x27, [sp]
mov x0, x20
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB5_15: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [x23]
ldur q0, [x8, #24]
str q0, [x8, #48]
stp x28, x25, [x8, #24]
ldr x9, [x8, #40]
str x9, [x8, #64]
add x28, x26, #1
str x26, [x8, #40]
ldr x8, [x22]
mov x26, x28
cmp x8, #44
b.ne LBB5_1
; %bb.16: ; in Loop: Header=BB5_1 Depth=1
bl _next
ldr x8, [x22]
mov x26, x28
b LBB5_1
LBB5_17:
add x8, x26, #1
Lloh320:
adrp x9, _index_of_bp@GOTPAGE
Lloh321:
ldr x9, [x9, _index_of_bp@GOTPAGEOFF]
Lloh322:
str x8, [x9]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh318, Lloh319
.loh AdrpAdd Lloh316, Lloh317
.loh AdrpAdd Lloh314, Lloh315
.loh AdrpLdrGot Lloh312, Lloh313
.loh AdrpLdrGot Lloh310, Lloh311
.loh AdrpLdrGot Lloh308, Lloh309
.loh AdrpLdrGotStr Lloh320, Lloh321, Lloh322
.cfi_endproc
; -- End function
.globl _function_body ; -- Begin function function_body
.p2align 2
_function_body: ; @function_body
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh323:
adrp x8, _index_of_bp@GOTPAGE
Lloh324:
ldr x8, [x8, _index_of_bp@GOTPAGEOFF]
Lloh325:
adrp x22, _token@GOTPAGE
Lloh326:
ldr x22, [x22, _token@GOTPAGEOFF]
Lloh327:
adrp x25, _basetype@GOTPAGE
Lloh328:
ldr x25, [x25, _basetype@GOTPAGEOFF]
Lloh329:
adrp x26, _current_id@GOTPAGE
Lloh330:
ldr x26, [x26, _current_id@GOTPAGEOFF]
Lloh331:
adrp x27, _line@GOTPAGE
Lloh332:
ldr x27, [x27, _line@GOTPAGEOFF]
Lloh333:
ldr x24, [x8]
mov w28, #132 ; =0x84
mov w23, #133 ; =0x85
Lloh334:
adrp x20, l_.str.6@PAGE
Lloh335:
add x20, x20, l_.str.6@PAGEOFF
Lloh336:
adrp x21, l_.str.23@PAGE
Lloh337:
add x21, x21, l_.str.23@PAGEOFF
b LBB6_2
LBB6_1: ; in Loop: Header=BB6_2 Depth=1
bl _next
LBB6_2: ; =>This Loop Header: Depth=1
; Child Loop BB6_5 Depth 2
; Child Loop BB6_6 Depth 3
; Child Loop BB6_8 Depth 4
ldr x9, [x22]
cmp x9, #138
b.eq LBB6_4
; %bb.3: ; in Loop: Header=BB6_2 Depth=1
cmp x9, #134
b.ne LBB6_17
LBB6_4: ; in Loop: Header=BB6_2 Depth=1
cmp x9, #138
cset w8, eq
str x8, [x25]
LBB6_5: ; Parent Loop BB6_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB6_6 Depth 3
; Child Loop BB6_8 Depth 4
bl _next
ldr x8, [x22]
LBB6_6: ; Parent Loop BB6_2 Depth=1
; Parent Loop BB6_5 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB6_8 Depth 4
cmp x8, #59
b.eq LBB6_1
; %bb.7: ; in Loop: Header=BB6_6 Depth=3
ldr x19, [x25]
cmp x8, #159
b.ne LBB6_9
LBB6_8: ; Parent Loop BB6_2 Depth=1
; Parent Loop BB6_5 Depth=2
; Parent Loop BB6_6 Depth=3
; => This Inner Loop Header: Depth=4
bl _next
add x19, x19, #2
ldr x8, [x22]
cmp x8, #159
b.eq LBB6_8
LBB6_9: ; in Loop: Header=BB6_6 Depth=3
cmp x8, #133
b.eq LBB6_11
; %bb.10: ; in Loop: Header=BB6_6 Depth=3
ldr x8, [x27]
str x8, [sp]
mov x0, x21
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB6_11: ; in Loop: Header=BB6_6 Depth=3
ldr x8, [x26]
ldr x8, [x8, #32]
cmp x8, #132
b.ne LBB6_13
; %bb.12: ; in Loop: Header=BB6_6 Depth=3
ldr x8, [x27]
str x8, [sp]
Lloh338:
adrp x0, l_.str.24@PAGE
Lloh339:
add x0, x0, l_.str.24@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB6_13: ; in Loop: Header=BB6_6 Depth=3
ldr x8, [x22]
cmp x8, #133
b.ne LBB6_15
; %bb.14: ; in Loop: Header=BB6_6 Depth=3
bl _next
b LBB6_16
LBB6_15: ; in Loop: Header=BB6_6 Depth=3
ldr x8, [x27]
stp x8, x23, [sp]
mov x0, x20
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB6_16: ; in Loop: Header=BB6_6 Depth=3
ldr x8, [x26]
ldur q0, [x8, #24]
str q0, [x8, #48]
stp x19, x28, [x8, #24]
ldr x9, [x8, #40]
str x9, [x8, #64]
add x24, x24, #1
str x24, [x8, #40]
ldr x8, [x22]
cmp x8, #44
b.eq LBB6_5
b LBB6_6
LBB6_17:
Lloh340:
adrp x19, _text@GOTPAGE
Lloh341:
ldr x19, [x19, _text@GOTPAGEOFF]
ldr x8, [x19]
Lloh342:
adrp x10, _index_of_bp@GOTPAGE
Lloh343:
ldr x10, [x10, _index_of_bp@GOTPAGEOFF]
Lloh344:
ldr x10, [x10]
sub x10, x24, x10
str x10, [x8, #16]!
mov w10, #6 ; =0x6
stur x10, [x8, #-8]
str x8, [x19]
cmp x9, #125
b.eq LBB6_20
LBB6_18: ; =>This Inner Loop Header: Depth=1
bl _statement
ldr x8, [x22]
cmp x8, #125
b.ne LBB6_18
; %bb.19:
ldr x8, [x19]
LBB6_20:
mov w9, #8 ; =0x8
str x9, [x8, #8]!
str x8, [x19]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh336, Lloh337
.loh AdrpAdd Lloh334, Lloh335
.loh AdrpLdrGot Lloh331, Lloh332
.loh AdrpLdrGot Lloh329, Lloh330
.loh AdrpLdrGot Lloh327, Lloh328
.loh AdrpLdrGot Lloh325, Lloh326
.loh AdrpLdrGotLdr Lloh323, Lloh324, Lloh333
.loh AdrpAdd Lloh338, Lloh339
.loh AdrpLdrGotLdr Lloh342, Lloh343, Lloh344
.loh AdrpLdrGot Lloh340, Lloh341
.cfi_endproc
; -- End function
.globl _function_declaration ; -- Begin function function_declaration
.p2align 2
_function_declaration: ; @function_declaration
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh345:
adrp x20, _token@GOTPAGE
Lloh346:
ldr x20, [x20, _token@GOTPAGEOFF]
ldr x8, [x20]
Lloh347:
adrp x19, _line@GOTPAGE
Lloh348:
ldr x19, [x19, _line@GOTPAGEOFF]
cmp x8, #40
b.ne LBB7_2
; %bb.1:
bl _next
b LBB7_3
LBB7_2:
ldr x8, [x19]
mov w9, #40 ; =0x28
stp x8, x9, [sp]
Lloh349:
adrp x0, l_.str.6@PAGE
Lloh350:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB7_3:
bl _function_parameter
ldr x8, [x20]
cmp x8, #41
b.ne LBB7_5
; %bb.4:
bl _next
b LBB7_6
LBB7_5:
ldr x8, [x19]
mov w9, #41 ; =0x29
stp x8, x9, [sp]
Lloh351:
adrp x0, l_.str.6@PAGE
Lloh352:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB7_6:
ldr x8, [x20]
cmp x8, #123
b.ne LBB7_8
; %bb.7:
bl _next
b LBB7_9
LBB7_8:
ldr x8, [x19]
mov w9, #123 ; =0x7b
stp x8, x9, [sp]
Lloh353:
adrp x0, l_.str.6@PAGE
Lloh354:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB7_9:
bl _function_body
Lloh355:
adrp x8, _symbols@GOTPAGE
Lloh356:
ldr x8, [x8, _symbols@GOTPAGEOFF]
Lloh357:
ldr x8, [x8]
ldr x9, [x8]
cbnz x9, LBB7_12
LBB7_10:
Lloh358:
adrp x9, _current_id@GOTPAGE
Lloh359:
ldr x9, [x9, _current_id@GOTPAGEOFF]
Lloh360:
str x8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB7_11: ; in Loop: Header=BB7_12 Depth=1
ldr x9, [x8, #72]!
cbz x9, LBB7_10
LBB7_12: ; =>This Inner Loop Header: Depth=1
ldr x9, [x8, #32]
cmp x9, #132
b.ne LBB7_11
; %bb.13: ; in Loop: Header=BB7_12 Depth=1
ldr q0, [x8, #48]
stur q0, [x8, #24]
ldr x9, [x8, #64]
str x9, [x8, #40]
b LBB7_11
.loh AdrpLdrGot Lloh347, Lloh348
.loh AdrpLdrGot Lloh345, Lloh346
.loh AdrpAdd Lloh349, Lloh350
.loh AdrpAdd Lloh351, Lloh352
.loh AdrpAdd Lloh353, Lloh354
.loh AdrpLdrGotLdr Lloh355, Lloh356, Lloh357
.loh AdrpLdrGotStr Lloh358, Lloh359, Lloh360
.cfi_endproc
; -- End function
.globl _global_declaration ; -- Begin function global_declaration
.p2align 2
_global_declaration: ; @global_declaration
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh361:
adrp x23, _basetype@GOTPAGE
Lloh362:
ldr x23, [x23, _basetype@GOTPAGEOFF]
mov w8, #1 ; =0x1
str x8, [x23]
Lloh363:
adrp x22, _token@GOTPAGE
Lloh364:
ldr x22, [x22, _token@GOTPAGEOFF]
ldr x8, [x22]
cmp x8, #134
b.eq LBB8_6
; %bb.1:
cmp x8, #138
b.eq LBB8_7
; %bb.2:
cmp x8, #136
b.ne LBB8_8
; %bb.3:
bl _next
ldr x8, [x22]
cmp x8, #123
b.eq LBB8_26
; %bb.4:
cmp x8, #133
b.ne LBB8_24
; %bb.5:
bl _next
b LBB8_25
LBB8_6:
bl _next
str xzr, [x23]
b LBB8_8
LBB8_7:
bl _next
LBB8_8:
ldr x8, [x22]
Lloh365:
adrp x24, _current_id@GOTPAGE
Lloh366:
ldr x24, [x24, _current_id@GOTPAGEOFF]
Lloh367:
adrp x28, _text@GOTPAGE
Lloh368:
ldr x28, [x28, _text@GOTPAGEOFF]
Lloh369:
adrp x25, _data@GOTPAGE
Lloh370:
ldr x25, [x25, _data@GOTPAGEOFF]
Lloh371:
adrp x19, l_.str.6@PAGE
Lloh372:
add x19, x19, l_.str.6@PAGEOFF
Lloh373:
adrp x26, _line@GOTPAGE
Lloh374:
ldr x26, [x26, _line@GOTPAGEOFF]
Lloh375:
adrp x20, l_.str.26@PAGE
Lloh376:
add x20, x20, l_.str.26@PAGEOFF
Lloh377:
adrp x21, l_.str.25@PAGE
Lloh378:
add x21, x21, l_.str.25@PAGEOFF
LBB8_9: ; =>This Loop Header: Depth=1
; Child Loop BB8_12 Depth 2
cmp x8, #59
b.eq LBB8_31
; %bb.10: ; in Loop: Header=BB8_9 Depth=1
cmp x8, #125
b.eq LBB8_31
; %bb.11: ; in Loop: Header=BB8_9 Depth=1
ldr x27, [x23]
cmp x8, #159
b.ne LBB8_13
LBB8_12: ; Parent Loop BB8_9 Depth=1
; => This Inner Loop Header: Depth=2
bl _next
add x27, x27, #2
ldr x8, [x22]
cmp x8, #159
b.eq LBB8_12
LBB8_13: ; in Loop: Header=BB8_9 Depth=1
cmp x8, #133
b.eq LBB8_15
; %bb.14: ; in Loop: Header=BB8_9 Depth=1
ldr x8, [x26]
str x8, [sp]
mov x0, x21
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB8_15: ; in Loop: Header=BB8_9 Depth=1
ldr x8, [x24]
ldr x8, [x8, #32]
cbz x8, LBB8_17
; %bb.16: ; in Loop: Header=BB8_9 Depth=1
ldr x8, [x26]
str x8, [sp]
mov x0, x20
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB8_17: ; in Loop: Header=BB8_9 Depth=1
ldr x8, [x22]
cmp x8, #133
b.ne LBB8_19
; %bb.18: ; in Loop: Header=BB8_9 Depth=1
bl _next
b LBB8_20
LBB8_19: ; in Loop: Header=BB8_9 Depth=1
ldr x8, [x26]
mov w9, #133 ; =0x85
stp x8, x9, [sp]
mov x0, x19
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB8_20: ; in Loop: Header=BB8_9 Depth=1
ldr x9, [x24]
str x27, [x9, #24]
ldr x8, [x22]
cmp x8, #40
b.ne LBB8_22
; %bb.21: ; in Loop: Header=BB8_9 Depth=1
ldr x8, [x28]
add x8, x8, #8
mov w10, #129 ; =0x81
stp x10, x8, [x9, #32]
bl _function_declaration
ldr x8, [x22]
cmp x8, #44
b.ne LBB8_9
b LBB8_23
LBB8_22: ; in Loop: Header=BB8_9 Depth=1
ldr x10, [x25]
mov w11, #131 ; =0x83
stp x11, x10, [x9, #32]
add x9, x10, #8
str x9, [x25]
cmp x8, #44
b.ne LBB8_9
LBB8_23: ; in Loop: Header=BB8_9 Depth=1
bl _next
ldr x8, [x22]
b LBB8_9
LBB8_24:
Lloh379:
adrp x8, _line@GOTPAGE
Lloh380:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh381:
ldr x8, [x8]
mov w9, #133 ; =0x85
stp x8, x9, [sp]
Lloh382:
adrp x0, l_.str.6@PAGE
Lloh383:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB8_25:
ldr x8, [x22]
cmp x8, #123
b.ne LBB8_30
LBB8_26:
bl _next
bl _enum_declaration
ldr x8, [x22]
cmp x8, #125
b.ne LBB8_28
; %bb.27:
bl _next
b LBB8_29
LBB8_28:
Lloh384:
adrp x8, _line@GOTPAGE
Lloh385:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh386:
ldr x8, [x8]
mov w9, #125 ; =0x7d
stp x8, x9, [sp]
Lloh387:
adrp x0, l_.str.6@PAGE
Lloh388:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
bl _libmin_fail
LBB8_29:
ldr x8, [x22]
LBB8_30:
cmp x8, #59
b.ne LBB8_32
LBB8_31:
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 _next
LBB8_32:
Lloh389:
adrp x8, _line@GOTPAGE
Lloh390:
ldr x8, [x8, _line@GOTPAGEOFF]
Lloh391:
ldr x8, [x8]
mov w9, #59 ; =0x3b
stp x8, x9, [sp]
Lloh392:
adrp x0, l_.str.6@PAGE
Lloh393:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
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 _libmin_fail
.loh AdrpLdrGot Lloh363, Lloh364
.loh AdrpLdrGot Lloh361, Lloh362
.loh AdrpAdd Lloh377, Lloh378
.loh AdrpAdd Lloh375, Lloh376
.loh AdrpLdrGot Lloh373, Lloh374
.loh AdrpAdd Lloh371, Lloh372
.loh AdrpLdrGot Lloh369, Lloh370
.loh AdrpLdrGot Lloh367, Lloh368
.loh AdrpLdrGot Lloh365, Lloh366
.loh AdrpAdd Lloh382, Lloh383
.loh AdrpLdrGotLdr Lloh379, Lloh380, Lloh381
.loh AdrpAdd Lloh387, Lloh388
.loh AdrpLdrGotLdr Lloh384, Lloh385, Lloh386
.loh AdrpAdd Lloh392, Lloh393
.loh AdrpLdrGotLdr Lloh389, Lloh390, Lloh391
.cfi_endproc
; -- End function
.globl _program ; -- Begin function program
.p2align 2
_program: ; @program
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _next
Lloh394:
adrp x19, _token@GOTPAGE
Lloh395:
ldr x19, [x19, _token@GOTPAGEOFF]
ldr x8, [x19]
cmp x8, #1
b.lt LBB9_2
LBB9_1: ; =>This Inner Loop Header: Depth=1
bl _global_declaration
ldr x8, [x19]
cmp x8, #0
b.gt LBB9_1
LBB9_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh394, Lloh395
.cfi_endproc
; -- End function
.globl _eval ; -- Begin function eval
.p2align 2
_eval: ; @eval
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x8, #0 ; =0x0
Lloh396:
adrp x23, _cycle@GOTPAGE
Lloh397:
ldr x23, [x23, _cycle@GOTPAGEOFF]
Lloh398:
adrp x24, _pc@GOTPAGE
Lloh399:
ldr x24, [x24, _pc@GOTPAGEOFF]
Lloh400:
adrp x25, _debug@GOTPAGE
Lloh401:
ldr x25, [x25, _debug@GOTPAGEOFF]
Lloh402:
adrp x26, lJTI10_0@PAGE
Lloh403:
add x26, x26, lJTI10_0@PAGEOFF
Lloh404:
adrp x22, _sp@GOTPAGE
Lloh405:
ldr x22, [x22, _sp@GOTPAGEOFF]
Lloh406:
adrp x27, _ax@GOTPAGE
Lloh407:
ldr x27, [x27, _ax@GOTPAGEOFF]
Lloh408:
adrp x28, l_.str.3@PAGE
Lloh409:
add x28, x28, l_.str.3@PAGEOFF
Lloh410:
adrp x19, l_.str.27@PAGE
Lloh411:
add x19, x19, l_.str.27@PAGEOFF
Lloh412:
adrp x21, l_.str.5@PAGE
Lloh413:
add x21, x21, l_.str.5@PAGEOFF
b LBB10_2
LBB10_1: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
sdiv x10, x9, x8
msub x8, x10, x8, x9
str x8, [x27]
ldr x8, [x23]
LBB10_2: ; =>This Inner Loop Header: Depth=1
add x8, x8, #1
str x8, [x23]
ldr x9, [x24]
ldr x20, [x9], #8
str x9, [x24]
ldr x9, [x25]
cbz x9, LBB10_7
; %bb.3: ; in Loop: Header=BB10_2 Depth=1
add x9, x20, x20, lsl #2
add x9, x28, x9
stp x8, x9, [sp]
mov x0, x19
bl _libmin_printf
cmp x20, #7
b.gt LBB10_5
; %bb.4: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x24]
ldr x8, [x8]
str x8, [sp]
Lloh414:
adrp x0, l_.str.4@PAGE
Lloh415:
add x0, x0, l_.str.4@PAGEOFF
b LBB10_6
LBB10_5: ; in Loop: Header=BB10_2 Depth=1
mov x0, x21
LBB10_6: ; in Loop: Header=BB10_2 Depth=1
bl _libmin_printf
LBB10_7: ; in Loop: Header=BB10_2 Depth=1
cmp x20, #37
b.hi LBB10_41
; %bb.8: ; in Loop: Header=BB10_2 Depth=1
adr x8, LBB10_1
ldrh w9, [x26, x20, lsl #1]
add x8, x8, x9, lsl #2
br x8
LBB10_9: ; in Loop: Header=BB10_2 Depth=1
Lloh416:
adrp x8, _bp@GOTPAGE
Lloh417:
ldr x8, [x8, _bp@GOTPAGEOFF]
Lloh418:
ldr x8, [x8]
ldr x9, [x24]
ldr x10, [x9], #8
str x9, [x24]
add x8, x8, x10, lsl #3
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_10: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x24]
ldr x9, [x8], #8
str x8, [x24]
str x9, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_11: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x24]
b LBB10_13
LBB10_12: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x24]
add x9, x8, #8
ldr x10, [x22]
str x9, [x10, #-8]!
str x10, [x22]
LBB10_13: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x8]
str x8, [x24]
ldr x8, [x23]
b LBB10_2
LBB10_14: ; in Loop: Header=BB10_2 Depth=1
ldr x9, [x27]
ldr x8, [x24]
cbz x9, LBB10_47
; %bb.15: ; in Loop: Header=BB10_2 Depth=1
add x8, x8, #8
str x8, [x24]
ldr x8, [x23]
b LBB10_2
LBB10_16: ; in Loop: Header=BB10_2 Depth=1
ldr x9, [x27]
ldr x8, [x24]
cbz x9, LBB10_48
; %bb.17: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x8]
str x8, [x24]
ldr x8, [x23]
b LBB10_2
LBB10_18: ; in Loop: Header=BB10_2 Depth=1
Lloh419:
adrp x8, _bp@GOTPAGE
Lloh420:
ldr x8, [x8, _bp@GOTPAGEOFF]
ldr x9, [x8]
ldr x10, [x22]
str x9, [x10, #-8]!
str x10, [x8]
ldr x8, [x24]
ldr x9, [x8], #8
str x8, [x24]
sub x8, x10, x9, lsl #3
str x8, [x22]
ldr x8, [x23]
b LBB10_2
LBB10_19: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x24]
ldr x10, [x9], #8
str x9, [x24]
add x8, x8, x10, lsl #3
str x8, [x22]
ldr x8, [x23]
b LBB10_2
LBB10_20: ; in Loop: Header=BB10_2 Depth=1
Lloh421:
adrp x8, _bp@GOTPAGE
Lloh422:
ldr x8, [x8, _bp@GOTPAGEOFF]
ldr x9, [x8]
ldp x10, x11, [x9]
str x10, [x8]
add x8, x9, #16
str x8, [x22]
str x11, [x24]
ldr x8, [x23]
b LBB10_2
LBB10_21: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x27]
ldr x8, [x8]
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_22: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x27]
ldrsb x8, [x8]
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_23: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x27]
ldr x9, [x22]
ldr x10, [x9], #8
str x9, [x22]
str x8, [x10]
ldr x8, [x23]
b LBB10_2
LBB10_24: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x27]
ldr x9, [x22]
ldr x10, [x9], #8
str x9, [x22]
strb w8, [x10]
sxtb x8, w8
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_25: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x27]
ldr x9, [x22]
str x8, [x9, #-8]!
str x9, [x22]
ldr x8, [x23]
b LBB10_2
LBB10_26: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
orr x8, x8, x9
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_27: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
eor x8, x8, x9
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_28: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
and x8, x8, x9
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_29: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
cmp x9, x8
cset w8, eq
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_30: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
cmp x9, x8
cset w8, ne
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_31: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
cmp x9, x8
cset w8, lt
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_32: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
cmp x9, x8
cset w8, gt
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_33: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
cmp x9, x8
cset w8, le
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_34: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
cmp x9, x8
cset w8, ge
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_35: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
lsl x8, x9, x8
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_36: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
asr x8, x9, x8
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_37: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
add x8, x8, x9
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_38: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
sub x8, x9, x8
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_39: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
mul x8, x8, x9
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_40: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x8], #8
str x8, [x22]
ldr x8, [x27]
sdiv x8, x9, x8
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_41: ; in Loop: Header=BB10_2 Depth=1
cmp x20, #36
b.eq LBB10_45
; %bb.42: ; in Loop: Header=BB10_2 Depth=1
cmp x20, #35
b.ne LBB10_50
; %bb.43: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x0, [x8, #16]
ldr w1, [x8, #8]
ldr x2, [x8]
bl _libmin_memset
str x0, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_44: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldr x9, [x24]
ldr x9, [x9, #8]
add x8, x8, x9, lsl #3
ldp x9, x0, [x8, #-16]
ldp x11, x10, [x8, #-32]
ldp x8, x12, [x8, #-48]
stp x12, x8, [sp, #24]
stp x10, x11, [sp, #8]
str x9, [sp]
bl _libmin_printf
b LBB10_46
LBB10_45: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x22]
ldp x1, x0, [x8, #8]
ldr x2, [x8]
bl _libmin_memcmp
LBB10_46: ; in Loop: Header=BB10_2 Depth=1
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
str x8, [x27]
ldr x8, [x23]
b LBB10_2
LBB10_47: ; in Loop: Header=BB10_2 Depth=1
ldr x8, [x8]
str x8, [x24]
ldr x8, [x23]
b LBB10_2
LBB10_48: ; in Loop: Header=BB10_2 Depth=1
add x8, x8, #8
str x8, [x24]
ldr x8, [x23]
b LBB10_2
LBB10_49:
ldr x8, [x22]
ldr x8, [x8]
str x8, [sp]
Lloh423:
adrp x0, l_.str.28@PAGE
Lloh424:
add x0, x0, l_.str.28@PAGEOFF
bl _libmin_printf
ldr x8, [x22]
ldr x0, [x8]
b LBB10_51
LBB10_50:
str x20, [sp]
Lloh425:
adrp x0, l_.str.29@PAGE
Lloh426:
add x0, x0, l_.str.29@PAGEOFF
bl _libmin_printf
mov x0, #-1 ; =0xffffffffffffffff
LBB10_51:
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpAdd Lloh412, Lloh413
.loh AdrpAdd Lloh410, Lloh411
.loh AdrpAdd Lloh408, Lloh409
.loh AdrpLdrGot Lloh406, Lloh407
.loh AdrpLdrGot Lloh404, Lloh405
.loh AdrpAdd Lloh402, Lloh403
.loh AdrpLdrGot Lloh400, Lloh401
.loh AdrpLdrGot Lloh398, Lloh399
.loh AdrpLdrGot Lloh396, Lloh397
.loh AdrpAdd Lloh414, Lloh415
.loh AdrpLdrGotLdr Lloh416, Lloh417, Lloh418
.loh AdrpLdrGot Lloh419, Lloh420
.loh AdrpLdrGot Lloh421, Lloh422
.loh AdrpAdd Lloh423, Lloh424
.loh AdrpAdd Lloh425, Lloh426
.cfi_endproc
.section __TEXT,__const
.p2align 1, 0x0
lJTI10_0:
.short (LBB10_9-LBB10_1)>>2
.short (LBB10_10-LBB10_1)>>2
.short (LBB10_11-LBB10_1)>>2
.short (LBB10_12-LBB10_1)>>2
.short (LBB10_14-LBB10_1)>>2
.short (LBB10_16-LBB10_1)>>2
.short (LBB10_18-LBB10_1)>>2
.short (LBB10_19-LBB10_1)>>2
.short (LBB10_20-LBB10_1)>>2
.short (LBB10_21-LBB10_1)>>2
.short (LBB10_22-LBB10_1)>>2
.short (LBB10_23-LBB10_1)>>2
.short (LBB10_24-LBB10_1)>>2
.short (LBB10_25-LBB10_1)>>2
.short (LBB10_26-LBB10_1)>>2
.short (LBB10_27-LBB10_1)>>2
.short (LBB10_28-LBB10_1)>>2
.short (LBB10_29-LBB10_1)>>2
.short (LBB10_30-LBB10_1)>>2
.short (LBB10_31-LBB10_1)>>2
.short (LBB10_32-LBB10_1)>>2
.short (LBB10_33-LBB10_1)>>2
.short (LBB10_34-LBB10_1)>>2
.short (LBB10_35-LBB10_1)>>2
.short (LBB10_36-LBB10_1)>>2
.short (LBB10_37-LBB10_1)>>2
.short (LBB10_38-LBB10_1)>>2
.short (LBB10_39-LBB10_1)>>2
.short (LBB10_40-LBB10_1)>>2
.short (LBB10_1-LBB10_1)>>2
.short (LBB10_41-LBB10_1)>>2
.short (LBB10_41-LBB10_1)>>2
.short (LBB10_41-LBB10_1)>>2
.short (LBB10_44-LBB10_1)>>2
.short (LBB10_41-LBB10_1)>>2
.short (LBB10_41-LBB10_1)>>2
.short (LBB10_41-LBB10_1)>>2
.short (LBB10_49-LBB10_1)>>2
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function main
lCPI11_0:
.quad 1 ; 0x1
.quad 130 ; 0x82
lCPI11_1:
.quad 1 ; 0x1
.quad 13 ; 0xd
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh427:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh428:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh429:
ldr x8, [x8]
str x8, [sp, #56]
Lloh430:
adrp x8, l___const.main.myargv@PAGE
Lloh431:
add x8, x8, l___const.main.myargv@PAGEOFF
Lloh432:
ldr q0, [x8]
str q0, [sp, #32]
adrp x20, _mhello@PAGE
ldr x0, [x20, _mhello@PAGEOFF]
Lloh433:
adrp x1, l_.str.31@PAGE
Lloh434:
add x1, x1, l_.str.31@PAGEOFF
bl _libmin_mopen
Lloh435:
adrp x19, _poolsize@GOTPAGE
Lloh436:
ldr x19, [x19, _poolsize@GOTPAGEOFF]
mov w8, #262144 ; =0x40000
str x8, [x19]
Lloh437:
adrp x8, _line@GOTPAGE
Lloh438:
ldr x8, [x8, _line@GOTPAGEOFF]
mov w9, #1 ; =0x1
Lloh439:
str x9, [x8]
mov w0, #262144 ; =0x40000
bl _libmin_malloc
mov x8, x0
Lloh440:
adrp x22, _text@GOTPAGE
Lloh441:
ldr x22, [x22, _text@GOTPAGEOFF]
str x0, [x22]
ldr x0, [x19]
cbz x8, LBB11_11
; %bb.1:
bl _libmin_malloc
mov x8, x0
Lloh442:
adrp x23, _data@GOTPAGE
Lloh443:
ldr x23, [x23, _data@GOTPAGEOFF]
str x0, [x23]
ldr x0, [x19]
cbz x8, LBB11_12
; %bb.2:
bl _libmin_malloc
mov x8, x0
Lloh444:
adrp x21, _stack@GOTPAGE
Lloh445:
ldr x21, [x21, _stack@GOTPAGEOFF]
str x0, [x21]
ldr x0, [x19]
cbz x8, LBB11_13
; %bb.3:
bl _libmin_malloc
Lloh446:
adrp x24, _symbols@GOTPAGE
Lloh447:
ldr x24, [x24, _symbols@GOTPAGEOFF]
str x0, [x24]
cbz x0, LBB11_14
; %bb.4:
ldr x0, [x22]
ldr x2, [x19]
mov w1, #0 ; =0x0
bl _libmin_memset
ldr x0, [x23]
ldr x2, [x19]
mov w1, #0 ; =0x0
bl _libmin_memset
ldr x0, [x21]
ldr x2, [x19]
mov w1, #0 ; =0x0
bl _libmin_memset
ldr x0, [x24]
ldr x2, [x19]
mov w1, #0 ; =0x0
bl _libmin_memset
ldr x8, [x22]
Lloh448:
adrp x9, _old_text@GOTPAGE
Lloh449:
ldr x9, [x9, _old_text@GOTPAGEOFF]
Lloh450:
str x8, [x9]
Lloh451:
adrp x22, _src@GOTPAGE
Lloh452:
ldr x22, [x22, _src@GOTPAGEOFF]
Lloh453:
adrp x8, l_.str.36@PAGE
Lloh454:
add x8, x8, l_.str.36@PAGEOFF
str x8, [x22]
bl _next
Lloh455:
adrp x23, _current_id@GOTPAGE
Lloh456:
ldr x23, [x23, _current_id@GOTPAGEOFF]
ldr x8, [x23]
mov w24, #134 ; =0x86
str x24, [x8]
bl _next
ldr x8, [x23]
mov w9, #135 ; =0x87
str x9, [x8]
bl _next
ldr x8, [x23]
mov w9, #136 ; =0x88
str x9, [x8]
bl _next
ldr x8, [x23]
mov w9, #137 ; =0x89
str x9, [x8]
bl _next
ldr x8, [x23]
mov w9, #138 ; =0x8a
str x9, [x8]
bl _next
ldr x8, [x23]
mov w9, #139 ; =0x8b
str x9, [x8]
bl _next
ldr x8, [x23]
mov w9, #140 ; =0x8c
str x9, [x8]
bl _next
ldr x8, [x23]
mov w9, #141 ; =0x8d
str x9, [x8]
bl _next
ldr x8, [x23]
Lloh457:
adrp x9, lCPI11_0@PAGE
Lloh458:
ldr q0, [x9, lCPI11_0@PAGEOFF]
str q0, [sp, #16] ; 16-byte Folded Spill
stur q0, [x8, #24]
mov w9, #30 ; =0x1e
str x9, [x8, #40]
bl _next
ldr x8, [x23]
ldr q0, [sp, #16] ; 16-byte Folded Reload
stur q0, [x8, #24]
mov w9, #31 ; =0x1f
str x9, [x8, #40]
bl _next
ldr x8, [x23]
ldr q0, [sp, #16] ; 16-byte Folded Reload
stur q0, [x8, #24]
mov w9, #32 ; =0x20
str x9, [x8, #40]
bl _next
ldr x8, [x23]
ldr q0, [sp, #16] ; 16-byte Folded Reload
stur q0, [x8, #24]
mov w9, #33 ; =0x21
str x9, [x8, #40]
bl _next
ldr x8, [x23]
ldr q0, [sp, #16] ; 16-byte Folded Reload
stur q0, [x8, #24]
mov w9, #34 ; =0x22
str x9, [x8, #40]
bl _next
ldr x8, [x23]
ldr q0, [sp, #16] ; 16-byte Folded Reload
stur q0, [x8, #24]
mov w9, #35 ; =0x23
str x9, [x8, #40]
bl _next
ldr x8, [x23]
ldr q0, [sp, #16] ; 16-byte Folded Reload
stur q0, [x8, #24]
mov w9, #36 ; =0x24
str x9, [x8, #40]
bl _next
ldr x8, [x23]
ldr q0, [sp, #16] ; 16-byte Folded Reload
stur q0, [x8, #24]
mov w9, #37 ; =0x25
str x9, [x8, #40]
bl _next
ldr x8, [x23]
str x24, [x8]
bl _next
ldr x8, [x23]
Lloh459:
adrp x23, _idmain@GOTPAGE
Lloh460:
ldr x23, [x23, _idmain@GOTPAGEOFF]
str x8, [x23]
ldr x0, [x19]
bl _libmin_malloc
Lloh461:
adrp x8, _old_src@GOTPAGE
Lloh462:
ldr x8, [x8, _old_src@GOTPAGEOFF]
Lloh463:
str x0, [x8]
str x0, [x22]
ldr x8, [x19]
cbz x0, LBB11_15
; %bb.5:
sub x1, x8, #1
ldr x2, [x20, _mhello@PAGEOFF]
bl _libmin_mread
cmp x0, #0
b.le LBB11_16
; %bb.6:
ldr x8, [x22]
strb wzr, [x8, x0]
ldr x0, [x20, _mhello@PAGEOFF]
bl _libmin_mclose
bl _next
Lloh464:
adrp x20, _token@GOTPAGE
Lloh465:
ldr x20, [x20, _token@GOTPAGEOFF]
ldr x8, [x20]
cmp x8, #1
b.lt LBB11_8
LBB11_7: ; =>This Inner Loop Header: Depth=1
bl _global_declaration
ldr x8, [x20]
cmp x8, #0
b.gt LBB11_7
LBB11_8:
ldr x8, [x23]
ldr x8, [x8, #40]
Lloh466:
adrp x9, _pc@GOTPAGE
Lloh467:
ldr x9, [x9, _pc@GOTPAGEOFF]
Lloh468:
str x8, [x9]
cbz x8, LBB11_17
; %bb.9:
Lloh469:
adrp x8, _assembly@GOTPAGE
Lloh470:
ldr x8, [x8, _assembly@GOTPAGEOFF]
Lloh471:
ldr x8, [x8]
cbz x8, LBB11_21
; %bb.10:
mov w0, #0 ; =0x0
b LBB11_19
LBB11_11:
str x0, [sp]
Lloh472:
adrp x0, l_.str.32@PAGE
Lloh473:
add x0, x0, l_.str.32@PAGEOFF
b LBB11_18
LBB11_12:
str x0, [sp]
Lloh474:
adrp x0, l_.str.33@PAGE
Lloh475:
add x0, x0, l_.str.33@PAGEOFF
b LBB11_18
LBB11_13:
str x0, [sp]
Lloh476:
adrp x0, l_.str.34@PAGE
Lloh477:
add x0, x0, l_.str.34@PAGEOFF
b LBB11_18
LBB11_14:
ldr x8, [x19]
str x8, [sp]
Lloh478:
adrp x0, l_.str.35@PAGE
Lloh479:
add x0, x0, l_.str.35@PAGEOFF
b LBB11_18
LBB11_15:
str x8, [sp]
Lloh480:
adrp x0, l_.str.37@PAGE
Lloh481:
add x0, x0, l_.str.37@PAGEOFF
b LBB11_18
LBB11_16:
str x0, [sp]
Lloh482:
adrp x0, l_.str.38@PAGE
Lloh483:
add x0, x0, l_.str.38@PAGEOFF
b LBB11_18
LBB11_17:
Lloh484:
adrp x0, l_.str.39@PAGE
Lloh485:
add x0, x0, l_.str.39@PAGEOFF
LBB11_18:
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
LBB11_19:
ldr x8, [sp, #56]
Lloh486:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh487:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh488:
ldr x9, [x9]
cmp x9, x8
b.ne LBB11_22
; %bb.20:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB11_21:
add x8, sp, #32
orr x8, x8, #0x8
ldr x9, [x21]
ldr x10, [x19]
add x9, x10, x9
sub x10, x9, #16
str x10, [x9, #-40]!
mov w10, #37 ; =0x25
str x10, [x9, #32]
Lloh489:
adrp x10, lCPI11_1@PAGE
Lloh490:
ldr q0, [x10, lCPI11_1@PAGEOFF]
str q0, [x9, #16]
str x8, [x9, #8]
Lloh491:
adrp x8, _sp@GOTPAGE
Lloh492:
ldr x8, [x8, _sp@GOTPAGEOFF]
Lloh493:
str x9, [x8]
bl _eval
bl _libmin_success
mov w0, #9 ; =0x9
b LBB11_19
LBB11_22:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh440, Lloh441
.loh AdrpLdrGotStr Lloh437, Lloh438, Lloh439
.loh AdrpLdrGot Lloh435, Lloh436
.loh AdrpAdd Lloh433, Lloh434
.loh AdrpAddLdr Lloh430, Lloh431, Lloh432
.loh AdrpLdrGotLdr Lloh427, Lloh428, Lloh429
.loh AdrpLdrGot Lloh442, Lloh443
.loh AdrpLdrGot Lloh444, Lloh445
.loh AdrpLdrGot Lloh446, Lloh447
.loh AdrpLdrGotStr Lloh461, Lloh462, Lloh463
.loh AdrpLdrGot Lloh459, Lloh460
.loh AdrpLdr Lloh457, Lloh458
.loh AdrpLdrGot Lloh455, Lloh456
.loh AdrpAdd Lloh453, Lloh454
.loh AdrpLdrGot Lloh451, Lloh452
.loh AdrpLdrGotStr Lloh448, Lloh449, Lloh450
.loh AdrpLdrGot Lloh464, Lloh465
.loh AdrpLdrGotStr Lloh466, Lloh467, Lloh468
.loh AdrpLdrGotLdr Lloh469, Lloh470, Lloh471
.loh AdrpAdd Lloh472, Lloh473
.loh AdrpAdd Lloh474, Lloh475
.loh AdrpAdd Lloh476, Lloh477
.loh AdrpAdd Lloh478, Lloh479
.loh AdrpAdd Lloh480, Lloh481
.loh AdrpAdd Lloh482, Lloh483
.loh AdrpAdd Lloh484, Lloh485
.loh AdrpLdrGotLdr Lloh486, Lloh487, Lloh488
.loh AdrpLdrGotStr Lloh491, Lloh492, Lloh493
.loh AdrpLdr Lloh489, Lloh490
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl ___hello ; @__hello
___hello:
.ascii "#include <stdio.h>\n\nint fibonacci(int i) {\n if (i <= 1) {\n return 1;\n }\n return fibonacci(i-1) + fibonacci(i-2);\n}\n\nint main()\n{\n int i;\n i = 0;\n while (i <= 10) {\n printf(\"fibonacci(%2d) = %d\\n\", i, fibonacci(i));\n i = i + 1;\n }\n return 0;\n}\n"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hello.c"
.section __DATA,__data
.globl _hello ; @hello
.p2align 3, 0x0
_hello:
.quad l_.str
.quad 288 ; 0x120
.quad ___hello
.long 0 ; 0x0
.space 4
.globl _mhello ; @mhello
.p2align 3, 0x0
_mhello:
.quad _hello
.comm _src,8,3 ; @src
.comm _token,8,3 ; @token
.comm _assembly,8,3 ; @assembly
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%ld: %.*s"
.comm _line,8,3 ; @line
.comm _old_src,8,3 ; @old_src
.comm _old_text,8,3 ; @old_text
.comm _text,8,3 ; @text
l_.str.2: ; @.str.2
.asciz "%8.4s"
l_.str.3: ; @.str.3
.asciz "LEA ,IMM ,JMP ,CALL,JZ ,JNZ ,ENT ,ADJ ,LEV ,LI ,LC ,SI ,SC ,PUSH,OR ,XOR ,AND ,EQ ,NE ,LT ,GT ,LE ,GE ,SHL ,SHR ,ADD ,SUB ,MUL ,DIV ,MOD ,OPEN,READ,CLOS,PRTF,MALC,MSET,MCMP,EXIT"
l_.str.4: ; @.str.4
.asciz " %ld\n"
l_.str.5: ; @.str.5
.asciz "\n"
.comm _symbols,8,3 ; @symbols
.comm _current_id,8,3 ; @current_id
.comm _token_val,8,3 ; @token_val
.comm _data,8,3 ; @data
l_.str.6: ; @.str.6
.asciz "%ld: expected token: %ld\n"
l_.str.7: ; @.str.7
.asciz "%ld: unexpected token EOF of expression\n"
.comm _expr_type,8,3 ; @expr_type
l_.str.8: ; @.str.8
.asciz "%ld: bad function call\n"
.comm _index_of_bp,8,3 ; @index_of_bp
l_.str.9: ; @.str.9
.asciz "%ld: undefined variable\n"
l_.str.10: ; @.str.10
.asciz "%ld: bad dereference\n"
l_.str.11: ; @.str.11
.asciz "%ld: bad address of\n"
l_.str.12: ; @.str.12
.asciz "%ld: bad lvalue of pre-increment\n"
l_.str.13: ; @.str.13
.asciz "%ld: bad expression\n"
l_.str.14: ; @.str.14
.asciz "%ld: bad lvalue in assignment\n"
l_.str.15: ; @.str.15
.asciz "%ld: missing colon in conditional\n"
l_.str.16: ; @.str.16
.asciz "%ld: bad value in increment\n"
l_.str.17: ; @.str.17
.asciz "%ld: pointer type expected\n"
l_.str.18: ; @.str.18
.asciz "%ld: compiler error, token = %ld\n"
l_.str.19: ; @.str.19
.asciz "%ld: bad enum identifier %ld\n"
l_.str.20: ; @.str.20
.asciz "%ld: bad enum initializer\n"
l_.str.21: ; @.str.21
.asciz "%ld: bad parameter declaration\n"
l_.str.22: ; @.str.22
.asciz "%ld: duplicate parameter declaration\n"
.comm _basetype,8,3 ; @basetype
l_.str.23: ; @.str.23
.asciz "%ld: bad local declaration\n"
l_.str.24: ; @.str.24
.asciz "%ld: duplicate local declaration\n"
l_.str.25: ; @.str.25
.asciz "%ld: bad global declaration\n"
l_.str.26: ; @.str.26
.asciz "%ld: duplicate global declaration\n"
.comm _cycle,8,3 ; @cycle
.comm _pc,8,3 ; @pc
.comm _debug,8,3 ; @debug
l_.str.27: ; @.str.27
.asciz "%ld> %.4s"
.comm _ax,8,3 ; @ax
.comm _sp,8,3 ; @sp
.comm _bp,8,3 ; @bp
l_.str.28: ; @.str.28
.asciz "exit(%ld)"
l_.str.29: ; @.str.29
.asciz "unknown instruction:%ld\n"
l_.str.30: ; @.str.30
.asciz "c-interp"
.section __DATA,__const
.p2align 3, 0x0 ; @__const.main.myargv
l___const.main.myargv:
.quad l_.str.30
.quad l_.str
.section __TEXT,__cstring,cstring_literals
l_.str.31: ; @.str.31
.asciz "r"
.comm _poolsize,8,3 ; @poolsize
l_.str.32: ; @.str.32
.asciz "could not malloc(%ld) for text area\n"
l_.str.33: ; @.str.33
.asciz "could not malloc(%ld) for data area\n"
.comm _stack,8,3 ; @stack
l_.str.34: ; @.str.34
.asciz "could not malloc(%ld) for stack area\n"
l_.str.35: ; @.str.35
.asciz "could not malloc(%ld) for symbol table\n"
l_.str.36: ; @.str.36
.asciz "char else enum if int return sizeof while open read close printf malloc memset memcmp exit void main"
.comm _idmain,8,3 ; @idmain
l_.str.37: ; @.str.37
.asciz "could not malloc(%ld) for source area\n"
l_.str.38: ; @.str.38
.asciz "read() returned %ld\n"
l_.str.39: ; @.str.39
.asciz "main() not defined\n"
.subsections_via_symbols
|
pascal.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _num_digits ## -- Begin function num_digits
.p2align 4, 0x90
_num_digits: ## @num_digits
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
leal 9(%rdi), %ecx
movl $1, %eax
cmpl $19, %ecx
jb LBB0_2
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq %edi, %rcx
imulq $1717986919, %rcx, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
sarq $34, %rcx
leal (%rcx,%rdx), %edi
incl %eax
addl %edx, %ecx
addl $9, %ecx
cmpl $18, %ecx
ja LBB0_1
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_centered ## -- Begin function print_centered
.p2align 4, 0x90
_print_centered: ## @print_centered
.cfi_startproc
## %bb.0:
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, %ebx
movl %edi, %r14d
leal 9(%r14), %ecx
movl $1, %r15d
movl $1, %eax
cmpl $19, %ecx
jb LBB1_3
## %bb.1:
movl %r14d, %ecx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movslq %ecx, %rcx
imulq $1717986919, %rcx, %rdx ## imm = 0x66666667
movq %rdx, %rsi
shrq $63, %rsi
sarq $34, %rdx
leal (%rdx,%rsi), %ecx
incl %eax
addl %esi, %edx
addl $9, %edx
cmpl $18, %edx
ja LBB1_2
LBB1_3:
subl %eax, %ebx
jl LBB1_10
## %bb.4:
movl %ebx, %r12d
shrl $31, %r12d
addl %ebx, %r12d
sarl %r12d
cmpl $2, %ebx
jl LBB1_7
## %bb.5:
leaq L_.str(%rip), %r15
movl %r12d, %r13d
.p2align 4, 0x90
LBB1_6: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
decl %r13d
jne LBB1_6
LBB1_7:
leaq L_.str.1(%rip), %rdi
xorl %r15d, %r15d
movl %r14d, %esi
xorl %eax, %eax
callq _libmin_printf
subl %r12d, %ebx
jle LBB1_10
## %bb.8:
xorl %r15d, %r15d
leaq L_.str(%rip), %r14
xorl %r12d, %r12d
.p2align 4, 0x90
LBB1_9: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
incl %r12d
cmpl %ebx, %r12d
jl LBB1_9
LBB1_10:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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 $1, _triangle(%rip)
movl $1, %eax
leaq _triangle+140(%rip), %rcx
leaq _triangle(%rip), %rdx
leaq _triangle+120(%rip), %rsi
xorl %edi, %edi
movq %rdx, %r8
jmp LBB2_1
.p2align 4, 0x90
LBB2_9: ## in Loop: Header=BB2_1 Depth=1
addq %rdx, %r9
movl $1, (%r9,%rax,4)
incq %rax
incq %rdi
addq $120, %rcx
addq $120, %r8
addq $120, %rsi
cmpq $20, %rax
je LBB2_10
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_4 Depth 2
## Child Loop BB2_8 Depth 2
imulq $120, %rax, %r9
movl $1, (%r9,%rdx)
cmpq $2, %rax
jb LBB2_9
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -120(%r9,%rdx), %r11d
movl $1, %r10d
cmpq $8, %rdi
jb LBB2_7
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq %rdi, %rbx
andq $-8, %rbx
leaq 1(%rbx), %r10
movd %r11d, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
xorl %r11d, %r11d
.p2align 4, 0x90
LBB2_4: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movdqu -136(%rcx,%r11,4), %xmm1
movdqa %xmm1, %xmm2
palignr $12, %xmm0, %xmm2 ## xmm2 = xmm0[12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10,11]
movdqu -120(%rcx,%r11,4), %xmm0
movdqa %xmm0, %xmm3
palignr $12, %xmm1, %xmm3 ## xmm3 = xmm1[12,13,14,15],xmm3[0,1,2,3,4,5,6,7,8,9,10,11]
paddd %xmm1, %xmm2
paddd %xmm0, %xmm3
movdqu %xmm2, -16(%rcx,%r11,4)
movdqu %xmm3, (%rcx,%r11,4)
addq $8, %r11
cmpq %r11, %rbx
jne LBB2_4
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
cmpq %rbx, %rdi
je LBB2_9
## %bb.6: ## in Loop: Header=BB2_1 Depth=1
pextrd $3, %xmm0, %r11d
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
leaq (%r8,%r10,4), %rbx
leaq (%rsi,%r10,4), %r14
movq %rax, %r15
subq %r10, %r15
xorl %r10d, %r10d
.p2align 4, 0x90
LBB2_8: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rbx,%r10,4), %r12d
addl %r12d, %r11d
movl %r11d, (%r14,%r10,4)
incq %r10
movl %r12d, %r11d
cmpq %r10, %r15
jne LBB2_8
jmp LBB2_9
LBB2_10:
movl _triangle+2320(%rip), %ecx
leal 9(%rcx), %edx
movl $1, %eax
cmpl $19, %edx
jb LBB2_13
## %bb.11:
movl $1, %eax
.p2align 4, 0x90
LBB2_12: ## =>This Inner Loop Header: Depth=1
movslq %ecx, %rcx
imulq $1717986919, %rcx, %rdx ## imm = 0x66666667
movq %rdx, %rsi
shrq $63, %rsi
sarq $34, %rdx
leal (%rdx,%rsi), %ecx
incl %eax
addl %esi, %edx
addl $9, %edx
cmpl $18, %edx
ja LBB2_12
LBB2_13:
movl %eax, %ecx
andl $1, %ecx
leal (%rcx,%rax), %edx
movl %edx, %esi
shrl $31, %esi
addl %edx, %esi
sarl %esi
incl %esi
movl %esi, -44(%rbp) ## 4-byte Spill
leal (%rcx,%rax), %r12d
addl $2, %r12d
movl $1, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
leaq L_.str(%rip), %rbx
xorl %r15d, %r15d
movl %r12d, -48(%rbp) ## 4-byte Spill
jmp LBB2_14
.p2align 4, 0x90
LBB2_30: ## in Loop: Header=BB2_14 Depth=1
movq -64(%rbp), %r15 ## 8-byte Reload
incq %r15
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
incq -56(%rbp) ## 8-byte Folded Spill
cmpq $20, %r15
je LBB2_31
LBB2_14: ## =>This Loop Header: Depth=1
## Child Loop BB2_16 Depth 2
## Child Loop BB2_18 Depth 2
## Child Loop BB2_20 Depth 3
## Child Loop BB2_24 Depth 3
## Child Loop BB2_27 Depth 3
movl $19, %r14d
movq %r15, -64(%rbp) ## 8-byte Spill
subl %r15d, %r14d
imull -44(%rbp), %r14d ## 4-byte Folded Reload
testl %r14d, %r14d
jle LBB2_17
## %bb.15: ## in Loop: Header=BB2_14 Depth=1
xorl %r15d, %r15d
.p2align 4, 0x90
LBB2_16: ## Parent Loop BB2_14 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
incl %r15d
cmpl %r14d, %r15d
jl LBB2_16
LBB2_17: ## in Loop: Header=BB2_14 Depth=1
xorl %r14d, %r14d
jmp LBB2_18
.p2align 4, 0x90
LBB2_28: ## in Loop: Header=BB2_18 Depth=2
leaq L_.str.11(%rip), %rdi
leaq L_.str.8(%rip), %rsi
## kill: def $edx killed $edx killed $rdx
movl %r14d, %ecx
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
LBB2_29: ## in Loop: Header=BB2_18 Depth=2
incq %r14
cmpq -56(%rbp), %r14 ## 8-byte Folded Reload
je LBB2_30
LBB2_18: ## Parent Loop BB2_14 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_20 Depth 3
## Child Loop BB2_24 Depth 3
## Child Loop BB2_27 Depth 3
movq -64(%rbp), %rdx ## 8-byte Reload
imulq $120, %rdx, %rax
leaq _triangle(%rip), %rcx
addq %rcx, %rax
movl (%rax,%r14,4), %r8d
leal 9(%r8), %ecx
movl $1, %eax
cmpl $19, %ecx
jb LBB2_21
## %bb.19: ## in Loop: Header=BB2_18 Depth=2
movl %r8d, %ecx
.p2align 4, 0x90
LBB2_20: ## Parent Loop BB2_14 Depth=1
## Parent Loop BB2_18 Depth=2
## => This Inner Loop Header: Depth=3
movslq %ecx, %rcx
imulq $1717986919, %rcx, %rdi ## imm = 0x66666667
movq %rdi, %rsi
shrq $63, %rsi
sarq $34, %rdi
leal (%rdi,%rsi), %ecx
incl %eax
addl %edi, %esi
addl $9, %esi
cmpl $18, %esi
ja LBB2_20
LBB2_21: ## in Loop: Header=BB2_18 Depth=2
movl %r12d, %r13d
subl %eax, %r13d
jl LBB2_28
## %bb.22: ## in Loop: Header=BB2_18 Depth=2
movq %r8, -72(%rbp) ## 8-byte Spill
movl %r13d, %r15d
shrl $31, %r15d
addl %r13d, %r15d
sarl %r15d
cmpl $2, %r13d
jl LBB2_25
## %bb.23: ## in Loop: Header=BB2_18 Depth=2
movl %r15d, %r12d
.p2align 4, 0x90
LBB2_24: ## Parent Loop BB2_14 Depth=1
## Parent Loop BB2_18 Depth=2
## => This Inner Loop Header: Depth=3
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
decl %r12d
jne LBB2_24
LBB2_25: ## in Loop: Header=BB2_18 Depth=2
leaq L_.str.1(%rip), %rdi
movq -72(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _libmin_printf
subl %r15d, %r13d
movl -48(%rbp), %r12d ## 4-byte Reload
jle LBB2_29
## %bb.26: ## in Loop: Header=BB2_18 Depth=2
xorl %r15d, %r15d
.p2align 4, 0x90
LBB2_27: ## Parent Loop BB2_14 Depth=1
## Parent Loop BB2_18 Depth=2
## => This Inner Loop Header: Depth=3
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
incl %r15d
cmpl %r13d, %r15d
jl LBB2_27
jmp LBB2_29
LBB2_31:
callq _libmin_success
xorl %eax, %eax
addq $40, %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 " "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.8: ## @.str.8
.asciz "pascal"
.zerofill __DATA,__bss,_triangle,3720,4 ## @triangle
L_.str.11: ## @.str.11
.asciz "%s: error printing element %d,%d\n"
L_.str.12: ## @.str.12
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _num_digits ; -- Begin function num_digits
.p2align 2
_num_digits: ; @num_digits
.cfi_startproc
; %bb.0:
add w9, w0, #9
cmp w9, #19
b.hs LBB0_2
; %bb.1:
mov w0, #1 ; =0x1
ret
LBB0_2:
mov x8, x0
mov w0, #1 ; =0x1
mov w9, #26215 ; =0x6667
movk w9, #26214, lsl #16
LBB0_3: ; =>This Inner Loop Header: Depth=1
smull x8, w8, w9
lsr x10, x8, #63
asr x8, x8, #34
add w8, w8, w10
add w0, w0, #1
add w10, w8, #9
cmp w10, #18
b.hi LBB0_3
; %bb.4:
ret
.cfi_endproc
; -- End function
.globl _print_centered ; -- Begin function print_centered
.p2align 2
_print_centered: ; @print_centered
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
add w8, w0, #9
cmp w8, #19
b.hs LBB1_2
; %bb.1:
mov w8, #1 ; =0x1
b LBB1_4
LBB1_2:
mov w8, #1 ; =0x1
mov w9, #26215 ; =0x6667
movk w9, #26214, lsl #16
mov x10, x19
LBB1_3: ; =>This Inner Loop Header: Depth=1
smull x10, w10, w9
lsr x11, x10, #63
asr x10, x10, #34
add w10, w10, w11
add w8, w8, #1
add w11, w10, #9
cmp w11, #18
b.hi LBB1_3
LBB1_4:
subs w21, w1, w8
b.ge LBB1_6
; %bb.5:
mov w0, #1 ; =0x1
b LBB1_13
LBB1_6:
cmp w21, #0
cinc w8, w21, lt
asr w22, w8, #1
cmp w21, #1
b.le LBB1_9
; %bb.7:
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
mov x23, x22
LBB1_8: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _libmin_printf
subs w23, w23, #1
b.ne LBB1_8
LBB1_9:
str x19, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
sub w20, w21, w22
cmp w20, #1
b.lt LBB1_12
; %bb.10:
mov w21, #0 ; =0x0
Lloh4:
adrp x19, l_.str@PAGE
Lloh5:
add x19, x19, l_.str@PAGEOFF
LBB1_11: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _libmin_printf
add w21, w21, #1
cmp w21, w20
b.lt LBB1_11
LBB1_12:
mov w0, #0 ; =0x0
LBB1_13:
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 Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x8, #0 ; =0x0
Lloh6:
adrp x28, _triangle@PAGE
Lloh7:
add x28, x28, _triangle@PAGEOFF
mov w9, #1 ; =0x1
mov x10, x28
str w9, [x10], #124
mov w11, #120 ; =0x78
mov x12, x28
mov w13, #1 ; =0x1
b LBB2_2
LBB2_1: ; in Loop: Header=BB2_2 Depth=1
madd x14, x13, x11, x28
str w9, [x14, x13, lsl #2]
add x13, x13, #1
add x8, x8, #1
add x10, x10, #120
add x12, x12, #120
cmp x13, #20
b.eq LBB2_10
LBB2_2: ; =>This Loop Header: Depth=1
; Child Loop BB2_6 Depth 2
; Child Loop BB2_9 Depth 2
mul x14, x13, x11
str w9, [x28, x14]
cmp x13, #2
b.lo LBB2_1
; %bb.3: ; in Loop: Header=BB2_2 Depth=1
madd x14, x13, x11, x28
ldur w15, [x14, #-120]
cmp x8, #8
b.hs LBB2_5
; %bb.4: ; in Loop: Header=BB2_2 Depth=1
mov w14, #1 ; =0x1
b LBB2_9
LBB2_5: ; in Loop: Header=BB2_2 Depth=1
and x16, x8, #0xfffffffffffffff8
and x17, x8, #0xfffffffffffffff8
orr x14, x17, #0x1
dup.4s v0, w15
mov x15, x10
LBB2_6: ; Parent Loop BB2_2 Depth=1
; => This Inner Loop Header: Depth=2
ldur q1, [x15, #-120]
ext.16b v2, v0, v1, #12
ldur q0, [x15, #-104]
ext.16b v3, v1, v0, #12
add.4s v1, v1, v2
add.4s v2, v0, v3
stp q1, q2, [x15], #32
subs x16, x16, #8
b.ne LBB2_6
; %bb.7: ; in Loop: Header=BB2_2 Depth=1
cmp x8, x17
b.eq LBB2_1
; %bb.8: ; in Loop: Header=BB2_2 Depth=1
mov.s w15, v0[3]
LBB2_9: ; Parent Loop BB2_2 Depth=1
; => This Inner Loop Header: Depth=2
add x16, x12, x14, lsl #2
ldr w17, [x16]
add w15, w17, w15
str w15, [x16, #120]
add x14, x14, #1
mov x15, x17
cmp x13, x14
b.ne LBB2_9
b LBB2_1
LBB2_10:
Lloh8:
adrp x8, _triangle@PAGE+2320
Lloh9:
ldr w9, [x8, _triangle@PAGEOFF+2320]
add w8, w9, #9
cmp w8, #19
b.hs LBB2_12
; %bb.11:
mov w8, #1 ; =0x1
b LBB2_14
LBB2_12:
mov w8, #1 ; =0x1
mov w10, #26215 ; =0x6667
movk w10, #26214, lsl #16
LBB2_13: ; =>This Inner Loop Header: Depth=1
smull x9, w9, w10
lsr x11, x9, #63
asr x9, x9, #34
add w9, w9, w11
add w8, w8, #1
add w11, w9, #9
cmp w11, #18
b.hi LBB2_13
LBB2_14:
mov x24, #0 ; =0x0
and w9, w8, #0x1
adds w8, w9, w8
cinc w9, w8, lt
asr w9, w9, #1
add w9, w9, #1
str w9, [sp, #28] ; 4-byte Folded Spill
add w26, w8, #2
mov w27, #1 ; =0x1
Lloh10:
adrp x19, l_.str@PAGE
Lloh11:
add x19, x19, l_.str@PAGEOFF
mov w25, #26215 ; =0x6667
movk w25, #26214, lsl #16
b LBB2_16
LBB2_15: ; in Loop: Header=BB2_16 Depth=1
add x24, x24, #1
Lloh12:
adrp x0, l_.str.12@PAGE
Lloh13:
add x0, x0, l_.str.12@PAGEOFF
bl _libmin_printf
add x27, x27, #1
cmp x24, #20
b.eq LBB2_33
LBB2_16: ; =>This Loop Header: Depth=1
; Child Loop BB2_18 Depth 2
; Child Loop BB2_22 Depth 2
; Child Loop BB2_25 Depth 3
; Child Loop BB2_29 Depth 3
; Child Loop BB2_32 Depth 3
mov x9, x24
mov w8, #19 ; =0x13
str x9, [sp, #32] ; 8-byte Folded Spill
sub w8, w8, w9
ldr w9, [sp, #28] ; 4-byte Folded Reload
mul w20, w8, w9
cmp w20, #1
b.lt LBB2_19
; %bb.17: ; in Loop: Header=BB2_16 Depth=1
mov w21, #0 ; =0x0
LBB2_18: ; Parent Loop BB2_16 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x19
bl _libmin_printf
add w21, w21, #1
cmp w21, w20
b.lt LBB2_18
LBB2_19: ; in Loop: Header=BB2_16 Depth=1
mov x20, #0 ; =0x0
str x24, [sp, #40] ; 8-byte Folded Spill
b LBB2_22
LBB2_20: ; in Loop: Header=BB2_22 Depth=2
ldr x8, [sp, #32] ; 8-byte Folded Reload
stp x8, x20, [sp, #8]
Lloh14:
adrp x8, l_.str.8@PAGE
Lloh15:
add x8, x8, l_.str.8@PAGEOFF
str x8, [sp]
Lloh16:
adrp x0, l_.str.11@PAGE
Lloh17:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_21: ; in Loop: Header=BB2_22 Depth=2
add x20, x20, #1
cmp x20, x27
b.eq LBB2_15
LBB2_22: ; Parent Loop BB2_16 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_25 Depth 3
; Child Loop BB2_29 Depth 3
; Child Loop BB2_32 Depth 3
mov w8, #120 ; =0x78
madd x8, x24, x8, x28
ldr w22, [x8, x20, lsl #2]
add w8, w22, #9
cmp w8, #19
b.hs LBB2_24
; %bb.23: ; in Loop: Header=BB2_22 Depth=2
mov w8, #1 ; =0x1
b LBB2_26
LBB2_24: ; in Loop: Header=BB2_22 Depth=2
mov w8, #1 ; =0x1
mov x9, x22
LBB2_25: ; Parent Loop BB2_16 Depth=1
; Parent Loop BB2_22 Depth=2
; => This Inner Loop Header: Depth=3
smull x9, w9, w25
lsr x10, x9, #63
asr x9, x9, #34
add w9, w9, w10
add w8, w8, #1
add w10, w9, #9
cmp w10, #18
b.hi LBB2_25
LBB2_26: ; in Loop: Header=BB2_22 Depth=2
subs w23, w26, w8
b.lt LBB2_20
; %bb.27: ; in Loop: Header=BB2_22 Depth=2
mov x24, x27
mov x27, x26
mov x26, x28
cmp w23, #0
cinc w8, w23, lt
asr w28, w8, #1
cmp w23, #1
b.le LBB2_30
; %bb.28: ; in Loop: Header=BB2_22 Depth=2
mov x21, x28
LBB2_29: ; Parent Loop BB2_16 Depth=1
; Parent Loop BB2_22 Depth=2
; => This Inner Loop Header: Depth=3
mov x0, x19
bl _libmin_printf
subs w21, w21, #1
b.ne LBB2_29
LBB2_30: ; in Loop: Header=BB2_22 Depth=2
str x22, [sp]
Lloh18:
adrp x0, l_.str.1@PAGE
Lloh19:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
sub w21, w23, w28
cmp w21, #1
mov x28, x26
mov x26, x27
mov x27, x24
ldr x24, [sp, #40] ; 8-byte Folded Reload
b.lt LBB2_21
; %bb.31: ; in Loop: Header=BB2_22 Depth=2
mov w22, #0 ; =0x0
LBB2_32: ; Parent Loop BB2_16 Depth=1
; Parent Loop BB2_22 Depth=2
; => This Inner Loop Header: Depth=3
mov x0, x19
bl _libmin_printf
add w22, w22, #1
cmp w22, w21
b.lt LBB2_32
b LBB2_21
LBB2_33:
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.8: ; @.str.8
.asciz "pascal"
.zerofill __DATA,__bss,_triangle,3720,2 ; @triangle
l_.str.11: ; @.str.11
.asciz "%s: error printing element %d,%d\n"
l_.str.12: ; @.str.12
.asciz "\n"
.subsections_via_symbols
|
mandelbrot.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _color ## -- Begin function color
.p2align 4, 0x90
_color: ## @color
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edx, %ecx
movl %esi, %edx
movl %edi, %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0 ## -- Begin function main
LCPI1_0:
.long 0x42400000 ## float 48
LCPI1_3:
.long 0x429c0000 ## float 78
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0
LCPI1_1:
.quad 0xbfe0000000000000 ## double -0.5
LCPI1_2:
.quad 0x4008000000000000 ## double 3
LCPI1_4:
.quad 0xbfe6666666666666 ## double -0.69999999999999996
LCPI1_5:
.quad 0x4059000000000000 ## double 100
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
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.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %rdi
movl $78, %esi
movl $48, %edx
xorl %eax, %eax
callq _libmin_printf
movl $1, %r14d
leaq L_.str.3(%rip), %r15
leaq L_.str.4(%rip), %r12
leaq L_.str.5(%rip), %rbx
jmp LBB1_1
.p2align 4, 0x90
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
incl %r14d
cmpl $49, %r14d
je LBB1_8
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_2 Depth 2
## Child Loop BB1_3 Depth 3
xorps %xmm0, %xmm0
cvtsi2ss %r14d, %xmm0
divss LCPI1_0(%rip), %xmm0
xorps %xmm6, %xmm6
cvtss2sd %xmm0, %xmm6
addsd LCPI1_1(%rip), %xmm6
mulsd LCPI1_2(%rip), %xmm6
movl $1, %r13d
movsd %xmm6, -48(%rbp) ## 8-byte Spill
jmp LBB1_2
.p2align 4, 0x90
LBB1_6: ## in Loop: Header=BB1_2 Depth=2
cmpl $99999, %ecx ## imm = 0x1869F
movq %r12, %rdi
cmovbq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movsd -48(%rbp), %xmm6 ## 8-byte Reload
## xmm6 = mem[0],zero
incl %r13d
cmpl $79, %r13d
je LBB1_7
LBB1_2: ## Parent Loop BB1_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_3 Depth 3
xorps %xmm0, %xmm0
cvtsi2ss %r13d, %xmm0
divss LCPI1_3(%rip), %xmm0
cvtss2sd %xmm0, %xmm0
addsd LCPI1_1(%rip), %xmm0
mulsd LCPI1_2(%rip), %xmm0
addsd LCPI1_4(%rip), %xmm0
xorpd %xmm1, %xmm1
movl $2, %eax
xorpd %xmm2, %xmm2
movsd LCPI1_5(%rip), %xmm5 ## xmm5 = mem[0],zero
jmp LBB1_3
.p2align 4, 0x90
LBB1_5: ## in Loop: Header=BB1_3 Depth=3
incl %eax
cmpl $100, %ecx
jae LBB1_6
LBB1_3: ## Parent Loop BB1_1 Depth=1
## Parent Loop BB1_2 Depth=2
## => This Inner Loop Header: Depth=3
movapd %xmm1, %xmm3
movapd %xmm2, %xmm4
mulsd %xmm2, %xmm4
mulsd %xmm1, %xmm1
subsd %xmm4, %xmm1
addsd %xmm0, %xmm1
addsd %xmm3, %xmm3
mulsd %xmm3, %xmm2
addsd %xmm6, %xmm2
movapd %xmm2, %xmm3
mulsd %xmm2, %xmm3
movapd %xmm1, %xmm4
mulsd %xmm1, %xmm4
addsd %xmm3, %xmm4
ucomisd %xmm5, %xmm4
movl $1000000, %ecx ## imm = 0xF4240
ja LBB1_5
## %bb.4: ## in Loop: Header=BB1_3 Depth=3
movl %eax, %ecx
jmp LBB1_5
LBB1_8:
callq _libmin_success
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,%d,%d>\n"
L_.str.1: ## @.str.1
.asciz "** Mandelbrot ASCII image\n"
L_.str.2: ## @.str.2
.asciz "** xres: %d, yres: %d\n"
L_.str.3: ## @.str.3
.asciz " "
L_.str.4: ## @.str.4
.asciz "0"
L_.str.5: ## @.str.5
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _color ; -- Begin function color
.p2align 2
_color: ; @color
.cfi_startproc
; %bb.0:
sub sp, sp, #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
; kill: def $w2 killed $w2 def $x2
; kill: def $w1 killed $w1 def $x1
; kill: def $w0 killed $w0 def $x0
stp x1, x2, [sp, #8]
str x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp d11, d10, [sp, #16] ; 16-byte Folded Spill
stp d9, d8, [sp, #32] ; 16-byte Folded Spill
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
.cfi_offset b10, -120
.cfi_offset b11, -128
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
mov w8, #48 ; =0x30
mov w9, #78 ; =0x4e
stp x9, x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov w20, #1 ; =0x1
fmov d8, #-0.50000000
mov w22, #1117519872 ; =0x429c0000
mov x23, #7378697629483820646 ; =0x6666666666666666
movk x23, #49126, lsl #48
fmov d9, #3.00000000
mov x24, #4636737291354636288 ; =0x4059000000000000
Lloh6:
adrp x25, l_.str.4@PAGE
Lloh7:
add x25, x25, l_.str.4@PAGEOFF
mov w26, #16960 ; =0x4240
movk w26, #15, lsl #16
Lloh8:
adrp x27, l_.str.3@PAGE
Lloh9:
add x27, x27, l_.str.3@PAGEOFF
mov w28, #34463 ; =0x869f
movk w28, #1, lsl #16
Lloh10:
adrp x19, l_.str.5@PAGE
Lloh11:
add x19, x19, l_.str.5@PAGEOFF
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_2 Depth 2
; Child Loop BB1_3 Depth 3
scvtf s0, w20
mov w8, #1111490560 ; =0x42400000
fmov s1, w8
fdiv s0, s0, s1
fcvt d0, s0
fadd d0, d0, d8
fmul d10, d0, d9
mov w21, #1 ; =0x1
LBB1_2: ; Parent Loop BB1_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_3 Depth 3
scvtf s0, w21
fmov s1, w22
fdiv s0, s0, s1
fcvt d0, s0
fadd d0, d0, d8
fmov d1, x23
fmadd d0, d0, d9, d1
movi d2, #0000000000000000
mov w8, #2 ; =0x2
movi d1, #0000000000000000
LBB1_3: ; Parent Loop BB1_1 Depth=1
; Parent Loop BB1_2 Depth=2
; => This Inner Loop Header: Depth=3
fnmul d3, d1, d1
fmadd d3, d2, d2, d3
fadd d2, d2, d2
fadd d3, d0, d3
fmadd d1, d2, d1, d10
fmul d2, d1, d1
fmadd d2, d3, d3, d2
fmov d4, x24
fcmp d2, d4
csel w9, w26, w8, gt
add w8, w8, #1
fmov d2, d3
cmp w9, #100
b.lo LBB1_3
; %bb.4: ; in Loop: Header=BB1_2 Depth=2
cmp w9, w28
csel x0, x27, x25, lo
bl _libmin_printf
add w21, w21, #1
cmp w21, #79
b.ne LBB1_2
; %bb.5: ; in Loop: Header=BB1_1 Depth=1
mov x0, x19
bl _libmin_printf
add w20, w20, #1
cmp w20, #49
b.ne LBB1_1
; %bb.6:
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
ldp d11, d10, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "<%d,%d,%d>\n"
l_.str.1: ; @.str.1
.asciz "** Mandelbrot ASCII image\n"
l_.str.2: ; @.str.2
.asciz "** xres: %d, yres: %d\n"
l_.str.3: ; @.str.3
.asciz " "
l_.str.4: ; @.str.4
.asciz "0"
l_.str.5: ; @.str.5
.asciz "\n"
.subsections_via_symbols
|
fuzzy-match.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _fuzzy_match ## -- Begin function fuzzy_match
.p2align 4, 0x90
_fuzzy_match: ## @fuzzy_match
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq _libmin_strlen
movq %rax, %r15
movq %r14, %rdi
callq _libmin_strlen
cmpb $0, (%r14)
je LBB0_1
## %bb.2:
movl $-2147483648, %ecx ## imm = 0x80000000
cmpq %r15, %rax
ja LBB0_3
## %bb.4:
subl %r15d, %eax
addl $100, %eax
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
movl $1, %ecx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _fuzzy_match_recurse ## TAILCALL
LBB0_1:
movl $100, %ecx
LBB0_3:
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function fuzzy_match_recurse
_fuzzy_match_recurse: ## @fuzzy_match_recurse
.cfi_startproc
## %bb.0:
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
movzbl (%rdi), %eax
testb %al, %al
je LBB1_23
## %bb.1:
movl %ecx, %r14d
movq %rsi, %r15
movq %rdi, %r12
movl %edx, -48(%rbp) ## 4-byte Spill
movb %al, -42(%rbp)
movb $0, -41(%rbp)
leaq -42(%rbp), %rsi
movq %r15, %rdi
callq _libmin_strcasestr
testq %rax, %rax
je LBB1_22
## %bb.2:
movq %rax, %r13
incq %r12
movl $-2147483648, %ebx ## imm = 0x80000000
jmp LBB1_3
.p2align 4, 0x90
LBB1_19: ## in Loop: Header=BB1_3 Depth=1
movq %r13, %rdi
leaq -42(%rbp), %rsi
callq _libmin_strcasestr
movq %rax, %r13
testq %rax, %rax
je LBB1_20
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl %r13d, %eax
subl %r15d, %eax
movl %eax, %ecx
orl %r14d, %ecx
movl $15, %edx
je LBB1_5
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
xorl %edx, %edx
LBB1_5: ## in Loop: Header=BB1_3 Depth=1
testl %r14d, %r14d
je LBB1_8
## %bb.6: ## in Loop: Header=BB1_3 Depth=1
testl %eax, %eax
jg LBB1_8
## %bb.7: ## in Loop: Header=BB1_3 Depth=1
leal 15(%rdx), %ecx
testl %eax, %eax
cmovnel %edx, %ecx
jmp LBB1_14
.p2align 4, 0x90
LBB1_8: ## in Loop: Header=BB1_3 Depth=1
movq __pctype@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movzbl (%r13), %esi
movzwl (%rcx,%rsi,2), %esi
testb $1, %sil
je LBB1_11
## %bb.9: ## in Loop: Header=BB1_3 Depth=1
movzbl -1(%r13), %edi
testb $2, (%rcx,%rdi,2)
je LBB1_11
## %bb.10: ## in Loop: Header=BB1_3 Depth=1
addl $30, %edx
LBB1_11: ## in Loop: Header=BB1_3 Depth=1
testb $7, %sil
je LBB1_13
## %bb.12: ## in Loop: Header=BB1_3 Depth=1
movzbl -1(%r13), %esi
testb $7, (%rcx,%rsi,2)
leal 30(%rdx), %ecx
cmovnel %edx, %ecx
movl %ecx, %edx
LBB1_13: ## in Loop: Header=BB1_3 Depth=1
leal 15(%rdx), %ecx
testl %eax, %eax
cmovnel %edx, %ecx
testl %r14d, %r14d
cmovel %edx, %ecx
je LBB1_17
LBB1_14: ## in Loop: Header=BB1_3 Depth=1
leal (%rax,%rax,4), %eax
negl %eax
cmpl $-14, %eax
jge LBB1_16
## %bb.15: ## in Loop: Header=BB1_3 Depth=1
movl $-15, %eax
LBB1_16: ## in Loop: Header=BB1_3 Depth=1
addl %eax, %ecx
movl %ecx, %edx
LBB1_17: ## in Loop: Header=BB1_3 Depth=1
incq %r13
movq %r12, %rdi
movq %r13, %rsi
## kill: def $edx killed $edx killed $rdx
xorl %ecx, %ecx
callq _fuzzy_match_recurse
cmpl %eax, %ebx
jg LBB1_19
## %bb.18: ## in Loop: Header=BB1_3 Depth=1
movl %eax, %ebx
jmp LBB1_19
LBB1_20:
cmpl $-2147483648, %ebx ## imm = 0x80000000
jne LBB1_21
LBB1_22:
movl $-2147483648, %edx ## imm = 0x80000000
jmp LBB1_23
LBB1_21:
movl -48(%rbp), %edx ## 4-byte Reload
addl %ebx, %edx
LBB1_23:
movl %edx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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.155(%rip), %rdi
leaq L_.str.154(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
movq _entries(%rip), %r15
testq %r15, %r15
je LBB2_6
## %bb.1:
leaq _entries+8(%rip), %r13
leaq L_.str.154(%rip), %rbx
leaq L_.str.156(%rip), %r14
jmp LBB2_2
.p2align 4, 0x90
LBB2_5: ## in Loop: Header=BB2_2 Depth=1
movq (%r13), %r15
addq $8, %r13
testq %r15, %r15
je LBB2_6
LBB2_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _libmin_strlen
movq %rax, %r12
movq %rbx, %rdi
callq _libmin_strlen
cmpq %r12, %rax
ja LBB2_5
## %bb.3: ## in Loop: Header=BB2_2 Depth=1
subl %r12d, %eax
addl $100, %eax
movq %rbx, %rdi
movq %r15, %rsi
movl %eax, %edx
movl $1, %ecx
callq _fuzzy_match_recurse
cmpl $-2147483648, %eax ## imm = 0x80000000
je LBB2_5
## %bb.4: ## in Loop: Header=BB2_2 Depth=1
movq -8(%r13), %rdx
movq %r14, %rdi
movl %eax, %esi
xorl %eax, %eax
callq _libmin_printf
jmp LBB2_5
LBB2_6:
leaq L_.str.157(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.155(%rip), %rdi
leaq L_.str.158(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
movq _entries(%rip), %r15
testq %r15, %r15
je LBB2_12
## %bb.7:
leaq _entries+8(%rip), %r13
leaq L_.str.158(%rip), %rbx
leaq L_.str.156(%rip), %r14
jmp LBB2_8
.p2align 4, 0x90
LBB2_11: ## in Loop: Header=BB2_8 Depth=1
movq (%r13), %r15
addq $8, %r13
testq %r15, %r15
je LBB2_12
LBB2_8: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _libmin_strlen
movq %rax, %r12
movq %rbx, %rdi
callq _libmin_strlen
cmpq %r12, %rax
ja LBB2_11
## %bb.9: ## in Loop: Header=BB2_8 Depth=1
subl %r12d, %eax
addl $100, %eax
movq %rbx, %rdi
movq %r15, %rsi
movl %eax, %edx
movl $1, %ecx
callq _fuzzy_match_recurse
cmpl $-2147483648, %eax ## imm = 0x80000000
je LBB2_11
## %bb.10: ## in Loop: Header=BB2_8 Depth=1
movq -8(%r13), %rdx
movq %r14, %rdi
movl %eax, %esi
xorl %eax, %eax
callq _libmin_printf
jmp LBB2_11
LBB2_12:
leaq L_.str.157(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.155(%rip), %rdi
leaq L_.str.159(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
movq _entries(%rip), %r15
testq %r15, %r15
je LBB2_18
## %bb.13:
leaq _entries+8(%rip), %r13
leaq L_.str.159(%rip), %rbx
leaq L_.str.156(%rip), %r14
jmp LBB2_14
.p2align 4, 0x90
LBB2_17: ## in Loop: Header=BB2_14 Depth=1
movq (%r13), %r15
addq $8, %r13
testq %r15, %r15
je LBB2_18
LBB2_14: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _libmin_strlen
movq %rax, %r12
movq %rbx, %rdi
callq _libmin_strlen
cmpq %r12, %rax
ja LBB2_17
## %bb.15: ## in Loop: Header=BB2_14 Depth=1
subl %r12d, %eax
addl $100, %eax
movq %rbx, %rdi
movq %r15, %rsi
movl %eax, %edx
movl $1, %ecx
callq _fuzzy_match_recurse
cmpl $-2147483648, %eax ## imm = 0x80000000
je LBB2_17
## %bb.16: ## in Loop: Header=BB2_14 Depth=1
movq -8(%r13), %rdx
movq %r14, %rdi
movl %eax, %esi
xorl %eax, %eax
callq _libmin_printf
jmp LBB2_17
LBB2_18:
leaq L_.str.157(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
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 "Abomination"
L_.str.1: ## @.str.1
.asciz "Abusive Sergeant"
L_.str.2: ## @.str.2
.asciz "Acidic Swamp Ooze"
L_.str.3: ## @.str.3
.asciz "Acidmaw"
L_.str.4: ## @.str.4
.asciz "Acolyte of Pain"
L_.str.5: ## @.str.5
.asciz "Al'Akir the Windlord"
L_.str.6: ## @.str.6
.asciz "Alarm-o-Bot"
L_.str.7: ## @.str.7
.asciz "Aldor Peacekeeper"
L_.str.8: ## @.str.8
.asciz "Alexstrasza"
L_.str.9: ## @.str.9
.asciz "Alexstrasza's Champion"
L_.str.10: ## @.str.10
.asciz "Amani Berserker"
L_.str.11: ## @.str.11
.asciz "Ancestor's Call"
L_.str.12: ## @.str.12
.asciz "Ancestral Healing"
L_.str.13: ## @.str.13
.asciz "Ancestral Knowledge"
L_.str.14: ## @.str.14
.asciz "Ancestral Spirit"
L_.str.15: ## @.str.15
.asciz "Ancient Brewmaster"
L_.str.16: ## @.str.16
.asciz "Ancient Mage"
L_.str.17: ## @.str.17
.asciz "Ancient of Lore"
L_.str.18: ## @.str.18
.asciz "Ancient of War"
L_.str.19: ## @.str.19
.asciz "Ancient Shade"
L_.str.20: ## @.str.20
.asciz "Ancient Watcher"
L_.str.21: ## @.str.21
.asciz "Angry Chicken"
L_.str.22: ## @.str.22
.asciz "Anima Golem"
L_.str.23: ## @.str.23
.asciz "Animal Companion"
L_.str.24: ## @.str.24
.asciz "Animated Armor"
L_.str.25: ## @.str.25
.asciz "Annoy-o-Tron"
L_.str.26: ## @.str.26
.asciz "Anodized Robo Cub"
L_.str.27: ## @.str.27
.asciz "Antique Healbot"
L_.str.28: ## @.str.28
.asciz "Anub'ar Ambusher"
L_.str.29: ## @.str.29
.asciz "Anub'arak"
L_.str.30: ## @.str.30
.asciz "Anubisath Sentinel"
L_.str.31: ## @.str.31
.asciz "Anyfin Can Happen"
L_.str.32: ## @.str.32
.asciz "Arathi Weaponsmith"
L_.str.33: ## @.str.33
.asciz "Arcane Blast"
L_.str.34: ## @.str.34
.asciz "Arcane Explosion"
L_.str.35: ## @.str.35
.asciz "Arcane Golem"
L_.str.36: ## @.str.36
.asciz "Arcane Intellect"
L_.str.37: ## @.str.37
.asciz "Arcane Missiles"
L_.str.38: ## @.str.38
.asciz "Arcane Nullifier X-21"
L_.str.39: ## @.str.39
.asciz "Arcane Shot"
L_.str.40: ## @.str.40
.asciz "Arcanite Reaper"
L_.str.41: ## @.str.41
.asciz "Arch-Thief Rafaam"
L_.str.42: ## @.str.42
.asciz "Archmage"
L_.str.43: ## @.str.43
.asciz "Archmage Antonidas"
L_.str.44: ## @.str.44
.asciz "Argent Commander"
L_.str.45: ## @.str.45
.asciz "Argent Horserider"
L_.str.46: ## @.str.46
.asciz "Argent Lance"
L_.str.47: ## @.str.47
.asciz "Argent Protector"
L_.str.48: ## @.str.48
.asciz "Argent Squire"
L_.str.49: ## @.str.49
.asciz "Argent Watchman"
L_.str.50: ## @.str.50
.asciz "Armored Warhorse"
L_.str.51: ## @.str.51
.asciz "Armorsmith"
L_.str.52: ## @.str.52
.asciz "Assassin's Blade"
L_.str.53: ## @.str.53
.asciz "Assassinate"
L_.str.54: ## @.str.54
.asciz "Astral Communion"
L_.str.55: ## @.str.55
.asciz "Auchenai Soulpriest"
L_.str.56: ## @.str.56
.asciz "Avenge"
L_.str.57: ## @.str.57
.asciz "Avenging Wrath"
L_.str.58: ## @.str.58
.asciz "Aviana"
L_.str.59: ## @.str.59
.asciz "Axe Flinger"
L_.str.60: ## @.str.60
.asciz "Azure Drake"
L_.str.61: ## @.str.61
.asciz "Backstab"
L_.str.62: ## @.str.62
.asciz "Ball of Spiders"
L_.str.63: ## @.str.63
.asciz "Bane of Doom"
L_.str.64: ## @.str.64
.asciz "Baron Geddon"
L_.str.65: ## @.str.65
.asciz "Baron Rivendare"
L_.str.66: ## @.str.66
.asciz "Bash"
L_.str.67: ## @.str.67
.asciz "Battle Rage"
L_.str.68: ## @.str.68
.asciz "Bear Trap"
L_.str.69: ## @.str.69
.asciz "Beneath the Grounds"
L_.str.70: ## @.str.70
.asciz "Bestial Wrath"
L_.str.71: ## @.str.71
.asciz "Betrayal"
L_.str.72: ## @.str.72
.asciz "Big Game Hunter"
L_.str.73: ## @.str.73
.asciz "Bite"
L_.str.74: ## @.str.74
.asciz "Blackwing Corruptor"
L_.str.75: ## @.str.75
.asciz "Blackwing Technician"
L_.str.76: ## @.str.76
.asciz "Blade Flurry"
L_.str.77: ## @.str.77
.asciz "Blessed Champion"
L_.str.78: ## @.str.78
.asciz "Blessing of Kings"
L_.str.79: ## @.str.79
.asciz "Blessing of Might"
L_.str.80: ## @.str.80
.asciz "Blessing of Wisdom"
L_.str.81: ## @.str.81
.asciz "Blingtron 3000"
L_.str.82: ## @.str.82
.asciz "Blizzard"
L_.str.83: ## @.str.83
.asciz "Blood Imp"
L_.str.84: ## @.str.84
.asciz "Blood Knight"
L_.str.85: ## @.str.85
.asciz "Bloodfen Raptor"
L_.str.86: ## @.str.86
.asciz "Bloodlust"
L_.str.87: ## @.str.87
.asciz "Bloodmage Thalnos"
L_.str.88: ## @.str.88
.asciz "Bloodsail Corsair"
L_.str.89: ## @.str.89
.asciz "Bloodsail Raider"
L_.str.90: ## @.str.90
.asciz "Bluegill Warrior"
L_.str.91: ## @.str.91
.asciz "Bolf Ramshield"
L_.str.92: ## @.str.92
.asciz "Bolster"
L_.str.93: ## @.str.93
.asciz "Bolvar Fordragon"
L_.str.94: ## @.str.94
.asciz "Bomb Lobber"
L_.str.95: ## @.str.95
.asciz "Boneguard Lieutenant"
L_.str.96: ## @.str.96
.asciz "Booty Bay Bodyguard"
L_.str.97: ## @.str.97
.asciz "Boulderfist Ogre"
L_.str.98: ## @.str.98
.asciz "Bouncing Blade"
L_.str.99: ## @.str.99
.asciz "Brann Bronzebeard"
L_.str.100: ## @.str.100
.asciz "Brave Archer"
L_.str.101: ## @.str.101
.asciz "Brawl"
L_.str.102: ## @.str.102
.asciz "Buccaneer"
L_.str.103: ## @.str.103
.asciz "Burgle"
L_.str.104: ## @.str.104
.asciz "Burly Rockjaw Trogg"
L_.str.105: ## @.str.105
.asciz "Cabal Shadow Priest"
L_.str.106: ## @.str.106
.asciz "Cairne Bloodhoof"
L_.str.107: ## @.str.107
.asciz "Call Pet"
L_.str.108: ## @.str.108
.asciz "Captain Greenskin"
L_.str.109: ## @.str.109
.asciz "Captain's Parrot"
L_.str.110: ## @.str.110
.asciz "Captured Jormungar"
L_.str.111: ## @.str.111
.asciz "Cenarius"
L_.str.112: ## @.str.112
.asciz "Charge"
L_.str.113: ## @.str.113
.asciz "Charged Hammer"
L_.str.114: ## @.str.114
.asciz "Chillmaw"
L_.str.115: ## @.str.115
.asciz "Chillwind Yeti"
L_.str.116: ## @.str.116
.asciz "Chromaggus"
L_.str.117: ## @.str.117
.asciz "Circle of Healing"
L_.str.118: ## @.str.118
.asciz "Claw"
L_.str.119: ## @.str.119
.asciz "Cleave"
L_.str.120: ## @.str.120
.asciz "Clockwork Giant"
L_.str.121: ## @.str.121
.asciz "Clockwork Gnome"
L_.str.122: ## @.str.122
.asciz "Clockwork Knight"
L_.str.123: ## @.str.123
.asciz "Cobalt Guardian"
L_.str.124: ## @.str.124
.asciz "Cobra Shot"
L_.str.125: ## @.str.125
.asciz "Coghammer"
L_.str.126: ## @.str.126
.asciz "Cogmaster"
L_.str.127: ## @.str.127
.asciz "Cogmaster's Wrench"
L_.str.128: ## @.str.128
.asciz "Cold Blood"
L_.str.129: ## @.str.129
.asciz "Coldarra Drake"
L_.str.130: ## @.str.130
.asciz "Coldlight Oracle"
L_.str.131: ## @.str.131
.asciz "Coldlight Seer"
L_.str.132: ## @.str.132
.asciz "Coliseum Manager"
L_.str.133: ## @.str.133
.asciz "Commanding Shout"
L_.str.134: ## @.str.134
.asciz "Competitive Spirit"
L_.str.135: ## @.str.135
.asciz "Conceal"
L_.str.136: ## @.str.136
.asciz "Cone of Cold"
L_.str.137: ## @.str.137
.asciz "Confessor Paletress"
L_.str.138: ## @.str.138
.asciz "Confuse"
L_.str.139: ## @.str.139
.asciz "Consecration"
L_.str.140: ## @.str.140
.asciz "Convert"
L_.str.141: ## @.str.141
.asciz "Core Hound"
L_.str.142: ## @.str.142
.asciz "Core Rager"
L_.str.143: ## @.str.143
.asciz "Corruption"
L_.str.144: ## @.str.144
.asciz "Counterspell"
L_.str.145: ## @.str.145
.asciz "Crackle"
L_.str.146: ## @.str.146
.asciz "Crazed Alchemist"
L_.str.147: ## @.str.147
.asciz "Crowd Favorite"
L_.str.148: ## @.str.148
.asciz "Cruel Taskmaster"
L_.str.149: ## @.str.149
.asciz "Crush"
L_.str.150: ## @.str.150
.asciz "Cult Master"
L_.str.151: ## @.str.151
.asciz "Curse of Rafaam"
L_.str.152: ## @.str.152
.asciz "Cursed Blade"
L_.str.153: ## @.str.153
.asciz "Cutpurse"
.section __DATA,__data
.globl _entries ## @entries
.p2align 4, 0x0
_entries:
.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 L_.str.8
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.36
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.46
.quad L_.str.47
.quad L_.str.48
.quad L_.str.49
.quad L_.str.50
.quad L_.str.51
.quad L_.str.52
.quad L_.str.53
.quad L_.str.54
.quad L_.str.55
.quad L_.str.56
.quad L_.str.57
.quad L_.str.58
.quad L_.str.59
.quad L_.str.60
.quad L_.str.61
.quad L_.str.62
.quad L_.str.63
.quad L_.str.64
.quad L_.str.65
.quad L_.str.66
.quad L_.str.67
.quad L_.str.68
.quad L_.str.69
.quad L_.str.70
.quad L_.str.71
.quad L_.str.72
.quad L_.str.73
.quad L_.str.74
.quad L_.str.75
.quad L_.str.76
.quad L_.str.77
.quad L_.str.78
.quad L_.str.79
.quad L_.str.80
.quad L_.str.81
.quad L_.str.82
.quad L_.str.83
.quad L_.str.84
.quad L_.str.85
.quad L_.str.86
.quad L_.str.87
.quad L_.str.88
.quad L_.str.89
.quad L_.str.90
.quad L_.str.91
.quad L_.str.92
.quad L_.str.93
.quad L_.str.94
.quad L_.str.95
.quad L_.str.96
.quad L_.str.97
.quad L_.str.98
.quad L_.str.99
.quad L_.str.100
.quad L_.str.101
.quad L_.str.102
.quad L_.str.103
.quad L_.str.104
.quad L_.str.105
.quad L_.str.106
.quad L_.str.107
.quad L_.str.108
.quad L_.str.109
.quad L_.str.110
.quad L_.str.111
.quad L_.str.112
.quad L_.str.113
.quad L_.str.114
.quad L_.str.115
.quad L_.str.116
.quad L_.str.117
.quad L_.str.118
.quad L_.str.119
.quad L_.str.120
.quad L_.str.121
.quad L_.str.122
.quad L_.str.123
.quad L_.str.124
.quad L_.str.125
.quad L_.str.126
.quad L_.str.127
.quad L_.str.128
.quad L_.str.129
.quad L_.str.130
.quad L_.str.131
.quad L_.str.132
.quad L_.str.133
.quad L_.str.134
.quad L_.str.135
.quad L_.str.136
.quad L_.str.137
.quad L_.str.138
.quad L_.str.139
.quad L_.str.140
.quad L_.str.141
.quad L_.str.142
.quad L_.str.143
.quad L_.str.144
.quad L_.str.145
.quad L_.str.146
.quad L_.str.147
.quad L_.str.148
.quad L_.str.149
.quad L_.str.150
.quad L_.str.151
.quad L_.str.152
.quad L_.str.153
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str.154: ## @.str.154
.asciz "core"
L_.str.155: ## @.str.155
.asciz "Matches for `%s':\n"
L_.str.156: ## @.str.156
.asciz " %3d|%s\n"
L_.str.157: ## @.str.157
.asciz "\n"
L_.str.158: ## @.str.158
.asciz "work"
L_.str.159: ## @.str.159
.asciz "sam"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _fuzzy_match ; -- Begin function fuzzy_match
.p2align 2
_fuzzy_match: ; @fuzzy_match
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
mov x0, x1
bl _libmin_strlen
mov x21, x0
mov x0, x20
bl _libmin_strlen
ldrb w8, [x20]
cbz w8, LBB0_3
; %bb.1:
cmp x0, x21
b.ls LBB0_5
; %bb.2:
mov w0, #-2147483648 ; =0x80000000
b LBB0_4
LBB0_3:
mov w0, #100 ; =0x64
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_5:
sub w8, w0, w21
add w2, w8, #100
mov x0, x20
mov x1, x19
mov w3, #1 ; =0x1
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 _fuzzy_match_recurse
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function fuzzy_match_recurse
_fuzzy_match_recurse: ; @fuzzy_match_recurse
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
ldrb w8, [x0]
cbz w8, LBB1_13
; %bb.1:
mov x20, x3
mov x21, x1
mov x22, x0
strb w8, [sp, #14]
strb wzr, [sp, #15]
add x1, sp, #14
mov x0, x21
bl _libmin_strcasestr
cbz x0, LBB1_11
; %bb.2:
add x22, x22, #1
mov w24, #-2147483648 ; =0x80000000
mov w25, #15 ; =0xf
Lloh0:
adrp x26, __pctype@GOTPAGE
Lloh1:
ldr x26, [x26, __pctype@GOTPAGEOFF]
mov w27, #-15 ; =0xfffffff1
b LBB1_4
LBB1_3: ; in Loop: Header=BB1_4 Depth=1
add x23, x0, #1
cmp w9, #0
ccmp w20, #0, #4, eq
add w10, w8, #15
csel w10, w10, w8, ne
add w9, w9, w9, lsl #2
neg w11, w9
cmn w11, #15
csneg w9, w27, w9, le
add w9, w10, w9
cmp w20, #0
csel w2, w9, w8, ne
mov x0, x22
mov x1, x23
mov w3, #0 ; =0x0
bl _fuzzy_match_recurse
cmp w24, w0
csel w24, w24, w0, gt
add x1, sp, #14
mov x0, x23
bl _libmin_strcasestr
cbz x0, LBB1_10
LBB1_4: ; =>This Inner Loop Header: Depth=1
sub w9, w0, w21
orr w8, w9, w20
cmp w8, #0
csel w8, w25, wzr, eq
cbz w20, LBB1_6
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
cmp w9, #1
b.lt LBB1_3
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
ldr x10, [x26]
ldrb w11, [x0]
ldrh w11, [x10, x11, lsl #1]
tbz w11, #0, LBB1_8
; %bb.7: ; in Loop: Header=BB1_4 Depth=1
ldurb w12, [x0, #-1]
ldrh w12, [x10, x12, lsl #1]
add w13, w8, #30
tst w12, #0x2
csel w8, w8, w13, eq
LBB1_8: ; in Loop: Header=BB1_4 Depth=1
tst w11, #0x7
b.eq LBB1_3
; %bb.9: ; in Loop: Header=BB1_4 Depth=1
ldurb w11, [x0, #-1]
ldrh w10, [x10, x11, lsl #1]
add w11, w8, #30
tst w10, #0x7
csel w8, w11, w8, eq
b LBB1_3
LBB1_10:
mov w8, #-2147483648 ; =0x80000000
cmp w24, w8
b.ne LBB1_12
LBB1_11:
mov w19, #-2147483648 ; =0x80000000
b LBB1_13
LBB1_12:
add w19, w24, w19
LBB1_13:
mov x0, x19
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh2:
adrp x8, l_.str.154@PAGE
Lloh3:
add x8, x8, l_.str.154@PAGEOFF
str x8, [sp]
Lloh4:
adrp x0, l_.str.155@PAGE
Lloh5:
add x0, x0, l_.str.155@PAGEOFF
bl _libmin_printf
adrp x23, _entries@PAGE
ldr x21, [x23, _entries@PAGEOFF]
cbz x21, LBB2_6
; %bb.1:
Lloh6:
adrp x24, _entries@PAGE+8
Lloh7:
add x24, x24, _entries@PAGEOFF+8
Lloh8:
adrp x19, l_.str.154@PAGE
Lloh9:
add x19, x19, l_.str.154@PAGEOFF
mov w25, #-2147483648 ; =0x80000000
Lloh10:
adrp x20, l_.str.156@PAGE
Lloh11:
add x20, x20, l_.str.156@PAGEOFF
b LBB2_3
LBB2_2: ; in Loop: Header=BB2_3 Depth=1
ldr x21, [x24], #8
cbz x21, LBB2_6
LBB2_3: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _libmin_strlen
mov x22, x0
mov x0, x19
bl _libmin_strlen
cmp x0, x22
b.hi LBB2_2
; %bb.4: ; in Loop: Header=BB2_3 Depth=1
sub w8, w0, w22
add w2, w8, #100
mov x0, x19
mov x1, x21
mov w3, #1 ; =0x1
bl _fuzzy_match_recurse
; kill: def $w0 killed $w0 def $x0
cmp w0, w25
b.eq LBB2_2
; %bb.5: ; in Loop: Header=BB2_3 Depth=1
ldur x8, [x24, #-8]
stp x0, x8, [sp]
mov x0, x20
bl _libmin_printf
b LBB2_2
LBB2_6:
Lloh12:
adrp x0, l_.str.157@PAGE
Lloh13:
add x0, x0, l_.str.157@PAGEOFF
bl _libmin_printf
Lloh14:
adrp x8, l_.str.158@PAGE
Lloh15:
add x8, x8, l_.str.158@PAGEOFF
str x8, [sp]
Lloh16:
adrp x0, l_.str.155@PAGE
Lloh17:
add x0, x0, l_.str.155@PAGEOFF
bl _libmin_printf
ldr x21, [x23, _entries@PAGEOFF]
cbz x21, LBB2_12
; %bb.7:
Lloh18:
adrp x24, _entries@PAGE+8
Lloh19:
add x24, x24, _entries@PAGEOFF+8
Lloh20:
adrp x19, l_.str.158@PAGE
Lloh21:
add x19, x19, l_.str.158@PAGEOFF
mov w25, #-2147483648 ; =0x80000000
Lloh22:
adrp x20, l_.str.156@PAGE
Lloh23:
add x20, x20, l_.str.156@PAGEOFF
b LBB2_9
LBB2_8: ; in Loop: Header=BB2_9 Depth=1
ldr x21, [x24], #8
cbz x21, LBB2_12
LBB2_9: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _libmin_strlen
mov x22, x0
mov x0, x19
bl _libmin_strlen
cmp x0, x22
b.hi LBB2_8
; %bb.10: ; in Loop: Header=BB2_9 Depth=1
sub w8, w0, w22
add w2, w8, #100
mov x0, x19
mov x1, x21
mov w3, #1 ; =0x1
bl _fuzzy_match_recurse
; kill: def $w0 killed $w0 def $x0
cmp w0, w25
b.eq LBB2_8
; %bb.11: ; in Loop: Header=BB2_9 Depth=1
ldur x8, [x24, #-8]
stp x0, x8, [sp]
mov x0, x20
bl _libmin_printf
b LBB2_8
LBB2_12:
Lloh24:
adrp x0, l_.str.157@PAGE
Lloh25:
add x0, x0, l_.str.157@PAGEOFF
bl _libmin_printf
Lloh26:
adrp x8, l_.str.159@PAGE
Lloh27:
add x8, x8, l_.str.159@PAGEOFF
str x8, [sp]
Lloh28:
adrp x0, l_.str.155@PAGE
Lloh29:
add x0, x0, l_.str.155@PAGEOFF
bl _libmin_printf
ldr x21, [x23, _entries@PAGEOFF]
cbz x21, LBB2_18
; %bb.13:
Lloh30:
adrp x23, _entries@PAGE+8
Lloh31:
add x23, x23, _entries@PAGEOFF+8
Lloh32:
adrp x19, l_.str.159@PAGE
Lloh33:
add x19, x19, l_.str.159@PAGEOFF
mov w24, #-2147483648 ; =0x80000000
Lloh34:
adrp x20, l_.str.156@PAGE
Lloh35:
add x20, x20, l_.str.156@PAGEOFF
b LBB2_15
LBB2_14: ; in Loop: Header=BB2_15 Depth=1
ldr x21, [x23], #8
cbz x21, LBB2_18
LBB2_15: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _libmin_strlen
mov x22, x0
mov x0, x19
bl _libmin_strlen
cmp x0, x22
b.hi LBB2_14
; %bb.16: ; in Loop: Header=BB2_15 Depth=1
sub w8, w0, w22
add w2, w8, #100
mov x0, x19
mov x1, x21
mov w3, #1 ; =0x1
bl _fuzzy_match_recurse
; kill: def $w0 killed $w0 def $x0
cmp w0, w24
b.eq LBB2_14
; %bb.17: ; in Loop: Header=BB2_15 Depth=1
ldur x8, [x23, #-8]
stp x0, x8, [sp]
mov x0, x20
bl _libmin_printf
b LBB2_14
LBB2_18:
Lloh36:
adrp x0, l_.str.157@PAGE
Lloh37:
add x0, x0, l_.str.157@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh36, Lloh37
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Abomination"
l_.str.1: ; @.str.1
.asciz "Abusive Sergeant"
l_.str.2: ; @.str.2
.asciz "Acidic Swamp Ooze"
l_.str.3: ; @.str.3
.asciz "Acidmaw"
l_.str.4: ; @.str.4
.asciz "Acolyte of Pain"
l_.str.5: ; @.str.5
.asciz "Al'Akir the Windlord"
l_.str.6: ; @.str.6
.asciz "Alarm-o-Bot"
l_.str.7: ; @.str.7
.asciz "Aldor Peacekeeper"
l_.str.8: ; @.str.8
.asciz "Alexstrasza"
l_.str.9: ; @.str.9
.asciz "Alexstrasza's Champion"
l_.str.10: ; @.str.10
.asciz "Amani Berserker"
l_.str.11: ; @.str.11
.asciz "Ancestor's Call"
l_.str.12: ; @.str.12
.asciz "Ancestral Healing"
l_.str.13: ; @.str.13
.asciz "Ancestral Knowledge"
l_.str.14: ; @.str.14
.asciz "Ancestral Spirit"
l_.str.15: ; @.str.15
.asciz "Ancient Brewmaster"
l_.str.16: ; @.str.16
.asciz "Ancient Mage"
l_.str.17: ; @.str.17
.asciz "Ancient of Lore"
l_.str.18: ; @.str.18
.asciz "Ancient of War"
l_.str.19: ; @.str.19
.asciz "Ancient Shade"
l_.str.20: ; @.str.20
.asciz "Ancient Watcher"
l_.str.21: ; @.str.21
.asciz "Angry Chicken"
l_.str.22: ; @.str.22
.asciz "Anima Golem"
l_.str.23: ; @.str.23
.asciz "Animal Companion"
l_.str.24: ; @.str.24
.asciz "Animated Armor"
l_.str.25: ; @.str.25
.asciz "Annoy-o-Tron"
l_.str.26: ; @.str.26
.asciz "Anodized Robo Cub"
l_.str.27: ; @.str.27
.asciz "Antique Healbot"
l_.str.28: ; @.str.28
.asciz "Anub'ar Ambusher"
l_.str.29: ; @.str.29
.asciz "Anub'arak"
l_.str.30: ; @.str.30
.asciz "Anubisath Sentinel"
l_.str.31: ; @.str.31
.asciz "Anyfin Can Happen"
l_.str.32: ; @.str.32
.asciz "Arathi Weaponsmith"
l_.str.33: ; @.str.33
.asciz "Arcane Blast"
l_.str.34: ; @.str.34
.asciz "Arcane Explosion"
l_.str.35: ; @.str.35
.asciz "Arcane Golem"
l_.str.36: ; @.str.36
.asciz "Arcane Intellect"
l_.str.37: ; @.str.37
.asciz "Arcane Missiles"
l_.str.38: ; @.str.38
.asciz "Arcane Nullifier X-21"
l_.str.39: ; @.str.39
.asciz "Arcane Shot"
l_.str.40: ; @.str.40
.asciz "Arcanite Reaper"
l_.str.41: ; @.str.41
.asciz "Arch-Thief Rafaam"
l_.str.42: ; @.str.42
.asciz "Archmage"
l_.str.43: ; @.str.43
.asciz "Archmage Antonidas"
l_.str.44: ; @.str.44
.asciz "Argent Commander"
l_.str.45: ; @.str.45
.asciz "Argent Horserider"
l_.str.46: ; @.str.46
.asciz "Argent Lance"
l_.str.47: ; @.str.47
.asciz "Argent Protector"
l_.str.48: ; @.str.48
.asciz "Argent Squire"
l_.str.49: ; @.str.49
.asciz "Argent Watchman"
l_.str.50: ; @.str.50
.asciz "Armored Warhorse"
l_.str.51: ; @.str.51
.asciz "Armorsmith"
l_.str.52: ; @.str.52
.asciz "Assassin's Blade"
l_.str.53: ; @.str.53
.asciz "Assassinate"
l_.str.54: ; @.str.54
.asciz "Astral Communion"
l_.str.55: ; @.str.55
.asciz "Auchenai Soulpriest"
l_.str.56: ; @.str.56
.asciz "Avenge"
l_.str.57: ; @.str.57
.asciz "Avenging Wrath"
l_.str.58: ; @.str.58
.asciz "Aviana"
l_.str.59: ; @.str.59
.asciz "Axe Flinger"
l_.str.60: ; @.str.60
.asciz "Azure Drake"
l_.str.61: ; @.str.61
.asciz "Backstab"
l_.str.62: ; @.str.62
.asciz "Ball of Spiders"
l_.str.63: ; @.str.63
.asciz "Bane of Doom"
l_.str.64: ; @.str.64
.asciz "Baron Geddon"
l_.str.65: ; @.str.65
.asciz "Baron Rivendare"
l_.str.66: ; @.str.66
.asciz "Bash"
l_.str.67: ; @.str.67
.asciz "Battle Rage"
l_.str.68: ; @.str.68
.asciz "Bear Trap"
l_.str.69: ; @.str.69
.asciz "Beneath the Grounds"
l_.str.70: ; @.str.70
.asciz "Bestial Wrath"
l_.str.71: ; @.str.71
.asciz "Betrayal"
l_.str.72: ; @.str.72
.asciz "Big Game Hunter"
l_.str.73: ; @.str.73
.asciz "Bite"
l_.str.74: ; @.str.74
.asciz "Blackwing Corruptor"
l_.str.75: ; @.str.75
.asciz "Blackwing Technician"
l_.str.76: ; @.str.76
.asciz "Blade Flurry"
l_.str.77: ; @.str.77
.asciz "Blessed Champion"
l_.str.78: ; @.str.78
.asciz "Blessing of Kings"
l_.str.79: ; @.str.79
.asciz "Blessing of Might"
l_.str.80: ; @.str.80
.asciz "Blessing of Wisdom"
l_.str.81: ; @.str.81
.asciz "Blingtron 3000"
l_.str.82: ; @.str.82
.asciz "Blizzard"
l_.str.83: ; @.str.83
.asciz "Blood Imp"
l_.str.84: ; @.str.84
.asciz "Blood Knight"
l_.str.85: ; @.str.85
.asciz "Bloodfen Raptor"
l_.str.86: ; @.str.86
.asciz "Bloodlust"
l_.str.87: ; @.str.87
.asciz "Bloodmage Thalnos"
l_.str.88: ; @.str.88
.asciz "Bloodsail Corsair"
l_.str.89: ; @.str.89
.asciz "Bloodsail Raider"
l_.str.90: ; @.str.90
.asciz "Bluegill Warrior"
l_.str.91: ; @.str.91
.asciz "Bolf Ramshield"
l_.str.92: ; @.str.92
.asciz "Bolster"
l_.str.93: ; @.str.93
.asciz "Bolvar Fordragon"
l_.str.94: ; @.str.94
.asciz "Bomb Lobber"
l_.str.95: ; @.str.95
.asciz "Boneguard Lieutenant"
l_.str.96: ; @.str.96
.asciz "Booty Bay Bodyguard"
l_.str.97: ; @.str.97
.asciz "Boulderfist Ogre"
l_.str.98: ; @.str.98
.asciz "Bouncing Blade"
l_.str.99: ; @.str.99
.asciz "Brann Bronzebeard"
l_.str.100: ; @.str.100
.asciz "Brave Archer"
l_.str.101: ; @.str.101
.asciz "Brawl"
l_.str.102: ; @.str.102
.asciz "Buccaneer"
l_.str.103: ; @.str.103
.asciz "Burgle"
l_.str.104: ; @.str.104
.asciz "Burly Rockjaw Trogg"
l_.str.105: ; @.str.105
.asciz "Cabal Shadow Priest"
l_.str.106: ; @.str.106
.asciz "Cairne Bloodhoof"
l_.str.107: ; @.str.107
.asciz "Call Pet"
l_.str.108: ; @.str.108
.asciz "Captain Greenskin"
l_.str.109: ; @.str.109
.asciz "Captain's Parrot"
l_.str.110: ; @.str.110
.asciz "Captured Jormungar"
l_.str.111: ; @.str.111
.asciz "Cenarius"
l_.str.112: ; @.str.112
.asciz "Charge"
l_.str.113: ; @.str.113
.asciz "Charged Hammer"
l_.str.114: ; @.str.114
.asciz "Chillmaw"
l_.str.115: ; @.str.115
.asciz "Chillwind Yeti"
l_.str.116: ; @.str.116
.asciz "Chromaggus"
l_.str.117: ; @.str.117
.asciz "Circle of Healing"
l_.str.118: ; @.str.118
.asciz "Claw"
l_.str.119: ; @.str.119
.asciz "Cleave"
l_.str.120: ; @.str.120
.asciz "Clockwork Giant"
l_.str.121: ; @.str.121
.asciz "Clockwork Gnome"
l_.str.122: ; @.str.122
.asciz "Clockwork Knight"
l_.str.123: ; @.str.123
.asciz "Cobalt Guardian"
l_.str.124: ; @.str.124
.asciz "Cobra Shot"
l_.str.125: ; @.str.125
.asciz "Coghammer"
l_.str.126: ; @.str.126
.asciz "Cogmaster"
l_.str.127: ; @.str.127
.asciz "Cogmaster's Wrench"
l_.str.128: ; @.str.128
.asciz "Cold Blood"
l_.str.129: ; @.str.129
.asciz "Coldarra Drake"
l_.str.130: ; @.str.130
.asciz "Coldlight Oracle"
l_.str.131: ; @.str.131
.asciz "Coldlight Seer"
l_.str.132: ; @.str.132
.asciz "Coliseum Manager"
l_.str.133: ; @.str.133
.asciz "Commanding Shout"
l_.str.134: ; @.str.134
.asciz "Competitive Spirit"
l_.str.135: ; @.str.135
.asciz "Conceal"
l_.str.136: ; @.str.136
.asciz "Cone of Cold"
l_.str.137: ; @.str.137
.asciz "Confessor Paletress"
l_.str.138: ; @.str.138
.asciz "Confuse"
l_.str.139: ; @.str.139
.asciz "Consecration"
l_.str.140: ; @.str.140
.asciz "Convert"
l_.str.141: ; @.str.141
.asciz "Core Hound"
l_.str.142: ; @.str.142
.asciz "Core Rager"
l_.str.143: ; @.str.143
.asciz "Corruption"
l_.str.144: ; @.str.144
.asciz "Counterspell"
l_.str.145: ; @.str.145
.asciz "Crackle"
l_.str.146: ; @.str.146
.asciz "Crazed Alchemist"
l_.str.147: ; @.str.147
.asciz "Crowd Favorite"
l_.str.148: ; @.str.148
.asciz "Cruel Taskmaster"
l_.str.149: ; @.str.149
.asciz "Crush"
l_.str.150: ; @.str.150
.asciz "Cult Master"
l_.str.151: ; @.str.151
.asciz "Curse of Rafaam"
l_.str.152: ; @.str.152
.asciz "Cursed Blade"
l_.str.153: ; @.str.153
.asciz "Cutpurse"
.section __DATA,__data
.globl _entries ; @entries
.p2align 3, 0x0
_entries:
.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 l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.36
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.46
.quad l_.str.47
.quad l_.str.48
.quad l_.str.49
.quad l_.str.50
.quad l_.str.51
.quad l_.str.52
.quad l_.str.53
.quad l_.str.54
.quad l_.str.55
.quad l_.str.56
.quad l_.str.57
.quad l_.str.58
.quad l_.str.59
.quad l_.str.60
.quad l_.str.61
.quad l_.str.62
.quad l_.str.63
.quad l_.str.64
.quad l_.str.65
.quad l_.str.66
.quad l_.str.67
.quad l_.str.68
.quad l_.str.69
.quad l_.str.70
.quad l_.str.71
.quad l_.str.72
.quad l_.str.73
.quad l_.str.74
.quad l_.str.75
.quad l_.str.76
.quad l_.str.77
.quad l_.str.78
.quad l_.str.79
.quad l_.str.80
.quad l_.str.81
.quad l_.str.82
.quad l_.str.83
.quad l_.str.84
.quad l_.str.85
.quad l_.str.86
.quad l_.str.87
.quad l_.str.88
.quad l_.str.89
.quad l_.str.90
.quad l_.str.91
.quad l_.str.92
.quad l_.str.93
.quad l_.str.94
.quad l_.str.95
.quad l_.str.96
.quad l_.str.97
.quad l_.str.98
.quad l_.str.99
.quad l_.str.100
.quad l_.str.101
.quad l_.str.102
.quad l_.str.103
.quad l_.str.104
.quad l_.str.105
.quad l_.str.106
.quad l_.str.107
.quad l_.str.108
.quad l_.str.109
.quad l_.str.110
.quad l_.str.111
.quad l_.str.112
.quad l_.str.113
.quad l_.str.114
.quad l_.str.115
.quad l_.str.116
.quad l_.str.117
.quad l_.str.118
.quad l_.str.119
.quad l_.str.120
.quad l_.str.121
.quad l_.str.122
.quad l_.str.123
.quad l_.str.124
.quad l_.str.125
.quad l_.str.126
.quad l_.str.127
.quad l_.str.128
.quad l_.str.129
.quad l_.str.130
.quad l_.str.131
.quad l_.str.132
.quad l_.str.133
.quad l_.str.134
.quad l_.str.135
.quad l_.str.136
.quad l_.str.137
.quad l_.str.138
.quad l_.str.139
.quad l_.str.140
.quad l_.str.141
.quad l_.str.142
.quad l_.str.143
.quad l_.str.144
.quad l_.str.145
.quad l_.str.146
.quad l_.str.147
.quad l_.str.148
.quad l_.str.149
.quad l_.str.150
.quad l_.str.151
.quad l_.str.152
.quad l_.str.153
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str.154: ; @.str.154
.asciz "core"
l_.str.155: ; @.str.155
.asciz "Matches for `%s':\n"
l_.str.156: ; @.str.156
.asciz " %3d|%s\n"
l_.str.157: ; @.str.157
.asciz "\n"
l_.str.158: ; @.str.158
.asciz "work"
l_.str.159: ; @.str.159
.asciz "sam"
.subsections_via_symbols
|
quine.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
callq _libmin_puts
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "#include \"libmin.h\"\n#define B(x)int main(){libmin_puts(\"#include \\\"libmin.h\\\"\\n#define B(x)\"x\"\\n#define X(s)S(s)\\n#define S(s)#s\\nB(X(B(x)))\\n\");libmin_success(); return 0;}\n#define X(s)S(s)\n#define S(s)#s\nB(X(B(x)))\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_puts
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "#include \"libmin.h\"\n#define B(x)int main(){libmin_puts(\"#include \\\"libmin.h\\\"\\n#define B(x)\"x\"\\n#define X(s)S(s)\\n#define S(s)#s\\nB(X(B(x)))\\n\");libmin_success(); return 0;}\n#define X(s)S(s)\n#define S(s)#s\nB(X(B(x)))\n"
.subsections_via_symbols
|
mersenne.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _sgenrand ## -- Begin function sgenrand
.p2align 4, 0x90
_sgenrand: ## @sgenrand
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %eax
leaq _mt(%rip), %rcx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
imull $69069, %edi, %edx ## imm = 0x10DCD
andl $-65536, %edi ## imm = 0xFFFF0000
incl %edx
imull $69069, %edx, %esi ## imm = 0x10DCD
shrl $16, %edx
orl %edi, %edx
movl %edx, -4(%rcx,%rax,4)
incl %esi
imull $69069, %esi, %edx ## imm = 0x10DCD
andl $-65536, %esi ## imm = 0xFFFF0000
incl %edx
imull $69069, %edx, %edi ## imm = 0x10DCD
shrl $16, %edx
orl %esi, %edx
movl %edx, (%rcx,%rax,4)
incl %edi
addq $2, %rax
cmpq $625, %rax ## imm = 0x271
jne LBB0_1
## %bb.2:
movl $624, _mti(%rip) ## imm = 0x270
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _lsgenrand ## -- Begin function lsgenrand
.p2align 4, 0x90
_lsgenrand: ## @lsgenrand
.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, %rsi
leaq _mt(%rip), %rdi
movl $2496, %edx ## imm = 0x9C0
callq _memcpy
movl $624, _mti(%rip) ## imm = 0x270
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _genrand ## -- Begin function genrand
.p2align 4, 0x90
_genrand: ## @genrand
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq _mti(%rip), %rax
cmpq $623, %rax ## imm = 0x26F
jle LBB2_1
## %bb.2:
cmpl $625, %eax ## imm = 0x271
jne LBB2_5
## %bb.3:
movl $4357, %edx ## imm = 0x1105
movl $1, %eax
leaq _mt(%rip), %rcx
.p2align 4, 0x90
LBB2_4: ## =>This Inner Loop Header: Depth=1
imull $69069, %edx, %esi ## imm = 0x10DCD
andl $-65536, %edx ## imm = 0xFFFF0000
incl %esi
imull $69069, %esi, %edi ## imm = 0x10DCD
shrl $16, %esi
orl %edx, %esi
movl %esi, -4(%rcx,%rax,4)
incl %edi
imull $69069, %edi, %esi ## imm = 0x10DCD
andl $-65536, %edi ## imm = 0xFFFF0000
incl %esi
imull $69069, %esi, %edx ## imm = 0x10DCD
shrl $16, %esi
orl %edi, %esi
movl %esi, (%rcx,%rax,4)
incl %edx
addq $2, %rax
cmpq $625, %rax ## imm = 0x271
jne LBB2_4
LBB2_5:
movl _mt(%rip), %esi
xorl %edx, %edx
leaq _mt(%rip), %rcx
leaq _genrand.mag01(%rip), %rax
.p2align 4, 0x90
LBB2_6: ## =>This Inner Loop Header: Depth=1
andl $-2147483648, %esi ## imm = 0x80000000
movl 4(%rcx,%rdx,4), %edi
movl %edi, %r8d
andl $2147483646, %r8d ## imm = 0x7FFFFFFE
orl %esi, %r8d
shrl %r8d
movl %edi, %esi
## kill: def $edi killed $edi killed $rdi def $rdi
andl $1, %edi
movl (%rax,%rdi,4), %edi
xorl 1588(%rcx,%rdx,4), %edi
xorl %r8d, %edi
movl %edi, (%rcx,%rdx,4)
leaq 1(%rdx), %rdi
movq %rdi, %rdx
cmpq $227, %rdi
jne LBB2_6
## %bb.7:
movl _mt+908(%rip), %esi
xorl %edx, %edx
.p2align 4, 0x90
LBB2_8: ## =>This Inner Loop Header: Depth=1
andl $-2147483648, %esi ## imm = 0x80000000
movl 912(%rcx,%rdx,4), %edi
movl %edi, %r8d
andl $2147483646, %r8d ## imm = 0x7FFFFFFE
orl %esi, %r8d
shrl %r8d
movl %edi, %esi
## kill: def $edi killed $edi killed $rdi def $rdi
andl $1, %edi
movl (%rax,%rdi,4), %edi
xorl (%rcx,%rdx,4), %edi
xorl %r8d, %edi
movl %edi, 908(%rcx,%rdx,4)
incq %rdx
cmpq $396, %rdx ## imm = 0x18C
jne LBB2_8
## %bb.9:
movl $-2147483648, %edx ## imm = 0x80000000
andl _mt+2492(%rip), %edx
movl _mt(%rip), %ecx
movl %ecx, %esi
andl $2147483646, %esi ## imm = 0x7FFFFFFE
orl %edx, %esi
movl %ecx, %edx
andl $1, %edx
movl (%rax,%rdx,4), %eax
xorl _mt+1584(%rip), %eax
shrl %esi
xorl %esi, %eax
movl %eax, _mt+2492(%rip)
movl $1, %eax
jmp LBB2_10
LBB2_1:
leaq _mt(%rip), %rcx
movl (%rcx,%rax,4), %ecx
incl %eax
LBB2_10:
movl %eax, _mti(%rip)
movl %ecx, %eax
shrl $11, %eax
xorl %ecx, %eax
movl %eax, %ecx
shll $7, %ecx
andl $-1658038656, %ecx ## imm = 0x9D2C5680
xorl %eax, %ecx
movl %ecx, %edx
shll $15, %edx
andl $-272236544, %edx ## imm = 0xEFC60000
xorl %ecx, %edx
movl %edx, %eax
shrl $18, %eax
xorl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
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 $4357, %edx ## imm = 0x1105
movl $1, %eax
leaq _mt(%rip), %rcx
.p2align 4, 0x90
LBB3_1: ## =>This Inner Loop Header: Depth=1
imull $69069, %edx, %esi ## imm = 0x10DCD
andl $-65536, %edx ## imm = 0xFFFF0000
incl %esi
imull $69069, %esi, %edi ## imm = 0x10DCD
shrl $16, %esi
orl %edx, %esi
movl %esi, -4(%rcx,%rax,4)
incl %edi
imull $69069, %edi, %esi ## imm = 0x10DCD
andl $-65536, %edi ## imm = 0xFFFF0000
incl %esi
imull $69069, %esi, %edx ## imm = 0x10DCD
shrl $16, %esi
orl %edi, %esi
movl %esi, (%rcx,%rax,4)
incl %edx
addq $2, %rax
cmpq $625, %rax ## imm = 0x271
jne LBB3_1
## %bb.2:
movl $624, _mti(%rip) ## imm = 0x270
leaq L_.str(%rip), %rbx
leaq L_.str.1(%rip), %r14
xorl %r15d, %r15d
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB3_3
.p2align 4, 0x90
LBB3_6: ## in Loop: Header=BB3_3 Depth=1
decl %r12d
incl %r15d
cmpl $-10000, %r12d ## imm = 0xD8F0
je LBB3_7
LBB3_3: ## =>This Inner Loop Header: Depth=1
movzwl %r15w, %eax
shrl $2, %eax
imull $5243, %eax, %eax ## imm = 0x147B
shrl $17, %eax
imull $-100, %eax, %eax
cmpw %r12w, %ax
jne LBB3_6
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
callq _genrand
movq %rbx, %rdi
movl %eax, %esi
xorl %eax, %eax
callq _libmin_printf
incl %r13d
imull $-858993459, %r13d, %eax ## imm = 0xCCCCCCCD
addl $429496729, %eax ## imm = 0x19999999
cmpl $858993458, %eax ## imm = 0x33333332
ja LBB3_6
## %bb.5: ## in Loop: Header=BB3_3 Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB3_6
LBB3_7:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_mt,2496,4 ## @mt
.section __DATA,__data
.p2align 2, 0x0 ## @mti
_mti:
.long 625 ## 0x271
.section __TEXT,__const
.p2align 2, 0x0 ## @genrand.mag01
_genrand.mag01:
.long 0 ## 0x0
.long 2567483615 ## 0x9908b0df
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%10u "
L_.str.1: ## @.str.1
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _sgenrand ; -- Begin function sgenrand
.p2align 2
_sgenrand: ; @sgenrand
.cfi_startproc
; %bb.0:
mov x8, #0 ; =0x0
mov w9, #3533 ; =0xdcd
movk w9, #1, lsl #16
mov w10, #1 ; =0x1
Lloh0:
adrp x11, _mt@PAGE
Lloh1:
add x11, x11, _mt@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
madd w12, w0, w9, w10
bfxil w0, w12, #16, #16
str w0, [x11, x8]
madd w0, w12, w9, w10
add x8, x8, #4
cmp x8, #2496
b.ne LBB0_1
; %bb.2:
mov w8, #624 ; =0x270
adrp x9, _mti@PAGE
str w8, [x9, _mti@PAGEOFF]
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _lsgenrand ; -- Begin function lsgenrand
.p2align 2
_lsgenrand: ; @lsgenrand
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x1, x0
Lloh2:
adrp x0, _mt@PAGE
Lloh3:
add x0, x0, _mt@PAGEOFF
mov w2, #2496 ; =0x9c0
bl _memcpy
mov w8, #624 ; =0x270
adrp x9, _mti@PAGE
str w8, [x9, _mti@PAGEOFF]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _genrand ; -- Begin function genrand
.p2align 2
_genrand: ; @genrand
.cfi_startproc
; %bb.0:
adrp x8, _mti@PAGE
ldrsw x9, [x8, _mti@PAGEOFF]
cmp w9, #623
b.le LBB2_9
; %bb.1:
cmp w9, #625
b.ne LBB2_4
; %bb.2:
mov x9, #0 ; =0x0
mov w10, #4357 ; =0x1105
mov w11, #3533 ; =0xdcd
movk w11, #1, lsl #16
mov w12, #1 ; =0x1
Lloh4:
adrp x13, _mt@PAGE
Lloh5:
add x13, x13, _mt@PAGEOFF
LBB2_3: ; =>This Inner Loop Header: Depth=1
madd w14, w10, w11, w12
bfxil w10, w14, #16, #16
str w10, [x13, x9]
madd w10, w14, w11, w12
add x9, x9, #4
cmp x9, #2496
b.ne LBB2_3
LBB2_4:
mov x11, #0 ; =0x0
Lloh6:
adrp x9, _mt@PAGE
Lloh7:
ldr w12, [x9, _mt@PAGEOFF]
Lloh8:
adrp x9, _mt@PAGE
Lloh9:
add x9, x9, _mt@PAGEOFF
Lloh10:
adrp x10, _genrand.mag01@PAGE
Lloh11:
add x10, x10, _genrand.mag01@PAGEOFF
LBB2_5: ; =>This Inner Loop Header: Depth=1
; kill: def $w12 killed $w12 killed $x12
add x13, x9, x11
ldp w14, w15, [x13, #4]
and w16, w12, #0x80000000
ldp w17, w12, [x13, #12]
and w0, w14, #0x80000000
and w1, w15, #0x80000000
and w2, w17, #0x80000000
and w3, w14, #0x7ffffffe
and w4, w15, #0x7ffffffe
and w5, w17, #0x7ffffffe
and w6, w12, #0x7ffffffe
orr w16, w3, w16
orr w0, w4, w0
orr w1, w5, w1
orr w2, w6, w2
ldr w3, [x13, #1588]
ldr w4, [x13, #1592]
ldr w5, [x13, #1596]
and x14, x14, #0x1
and x15, x15, #0x1
and x17, x17, #0x1
ldr w14, [x10, x14, lsl #2]
ldr w15, [x10, x15, lsl #2]
ldr w17, [x10, x17, lsl #2]
and x6, x12, #0x1
ldr w6, [x10, x6, lsl #2]
ldr w7, [x13, #1600]
eor w14, w14, w3
eor w15, w15, w4
eor w17, w17, w5
eor w14, w14, w16, lsr #1
eor w16, w6, w7
eor w15, w15, w0, lsr #1
eor w17, w17, w1, lsr #1
eor w16, w16, w2, lsr #1
stp w14, w15, [x13]
stp w17, w16, [x13, #8]
add x11, x11, #16
cmp x11, #896
b.ne LBB2_5
; %bb.6:
mov x11, #0 ; =0x0
and w12, w12, #0x80000000
Lloh12:
adrp x13, _mt@PAGE+896
Lloh13:
add x13, x13, _mt@PAGEOFF+896
ldp w14, w15, [x13, #4]
and w16, w14, #0x7ffffffe
orr w12, w16, w12
ldr w16, [x13, #1588]
and x17, x14, #0x1
ldr w17, [x10, x17, lsl #2]
eor w16, w17, w16
eor w12, w16, w12, lsr #1
and w14, w14, #0x80000000
and w16, w15, #0x7ffffffe
orr w14, w16, w14
ldr w16, [x13, #1592]
and x17, x15, #0x1
ldr w17, [x10, x17, lsl #2]
eor w16, w17, w16
eor w14, w16, w14, lsr #1
stp w12, w14, [x13]
and w12, w15, #0x80000000
ldr w14, [x13, #12]
and w15, w14, #0x7ffffffe
orr w12, w15, w12
ldr w15, [x13, #1596]
and x16, x14, #0x1
ldr w16, [x10, x16, lsl #2]
eor w15, w16, w15
eor w12, w15, w12, lsr #1
str w12, [x13, #8]
mov x12, x14
LBB2_7: ; =>This Inner Loop Header: Depth=1
add x13, x9, x11
and w14, w12, #0x80000000
ldr w12, [x13, #912]
and w15, w12, #0x7ffffffe
orr w14, w15, w14
and x15, x12, #0x1
ldr w15, [x10, x15, lsl #2]
ldr w16, [x13]
eor w15, w15, w16
eor w14, w15, w14, lsr #1
str w14, [x13, #908]
add x11, x11, #4
cmp x11, #1584
b.ne LBB2_7
; %bb.8:
ldr w11, [x9, #2492]
and w12, w11, #0x80000000
ldr w11, [x9]
and w13, w11, #0x7ffffffe
orr w12, w13, w12
ldr w13, [x9, #1584]
and x14, x11, #0x1
ldr w10, [x10, x14, lsl #2]
eor w10, w10, w13
eor w10, w10, w12, lsr #1
str w10, [x9, #2492]
mov w9, #1 ; =0x1
b LBB2_10
LBB2_9:
Lloh14:
adrp x10, _mt@PAGE
Lloh15:
add x10, x10, _mt@PAGEOFF
ldr w11, [x10, x9, lsl #2]
add w9, w9, #1
LBB2_10:
str w9, [x8, _mti@PAGEOFF]
eor w8, w11, w11, lsr #11
mov w9, #22144 ; =0x5680
movk w9, #40236, lsl #16
and w9, w9, w8, lsl #7
eor w8, w9, w8
mov w9, #-272236544 ; =0xefc60000
and w9, w9, w8, lsl #15
eor w8, w9, w8
eor w0, w8, w8, lsr #18
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdrp Lloh6, Lloh8
.loh AdrpLdr Lloh6, Lloh7
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
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 x8, #0 ; =0x0
mov w9, #4357 ; =0x1105
mov w10, #3533 ; =0xdcd
movk w10, #1, lsl #16
mov w11, #1 ; =0x1
Lloh16:
adrp x12, _mt@PAGE
Lloh17:
add x12, x12, _mt@PAGEOFF
LBB3_1: ; =>This Inner Loop Header: Depth=1
madd w13, w9, w10, w11
bfxil w9, w13, #16, #16
str w9, [x12, x8]
madd w9, w13, w10, w11
add x8, x8, #4
cmp x8, #2496
b.ne LBB3_1
; %bb.2:
mov w21, #0 ; =0x0
mov w22, #0 ; =0x0
mov w8, #624 ; =0x270
adrp x9, _mti@PAGE
str w8, [x9, _mti@PAGEOFF]
mov w23, #23593 ; =0x5c29
movk w23, #49807, lsl #16
mov w24, #23592 ; =0x5c28
movk w24, #655, lsl #16
Lloh18:
adrp x19, l_.str@PAGE
Lloh19:
add x19, x19, l_.str@PAGEOFF
mov w25, #52429 ; =0xcccd
movk w25, #52428, lsl #16
mov w26, #39321 ; =0x9999
movk w26, #6553, lsl #16
mov w27, #13106 ; =0x3332
movk w27, #13107, lsl #16
mov w28, #10000 ; =0x2710
Lloh20:
adrp x20, l_.str.1@PAGE
Lloh21:
add x20, x20, l_.str.1@PAGEOFF
b LBB3_4
LBB3_3: ; in Loop: Header=BB3_4 Depth=1
add w22, w22, #1
cmp w22, w28
b.eq LBB3_7
LBB3_4: ; =>This Inner Loop Header: Depth=1
and w8, w22, #0xffff
mul w8, w8, w23
ror w8, w8, #2
cmp w8, w24
b.hi LBB3_3
; %bb.5: ; in Loop: Header=BB3_4 Depth=1
bl _genrand
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
mov x0, x19
bl _libmin_printf
add w21, w21, #1
madd w8, w21, w25, w26
cmp w8, w27
b.hi LBB3_3
; %bb.6: ; in Loop: Header=BB3_4 Depth=1
mov x0, x20
bl _libmin_printf
b LBB3_3
LBB3_7:
Lloh22:
adrp x0, l_.str.1@PAGE
Lloh23:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh22, Lloh23
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_mt,2496,2 ; @mt
.section __DATA,__data
.p2align 2, 0x0 ; @mti
_mti:
.long 625 ; 0x271
.section __TEXT,__const
.p2align 2, 0x0 ; @genrand.mag01
_genrand.mag01:
.long 0 ; 0x0
.long 2567483615 ; 0x9908b0df
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%10u "
l_.str.1: ; @.str.1
.asciz "\n"
.subsections_via_symbols
|
topo-sort.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _createStackNode ## -- Begin function createStackNode
.p2align 4, 0x90
_createStackNode: ## @createStackNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
movl $16, %edi
callq _libmin_malloc
movl %ebx, (%rax)
movq $0, 8(%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _createListNode ## -- Begin function createListNode
.p2align 4, 0x90
_createListNode: ## @createListNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
movl $16, %edi
callq _libmin_malloc
movl %ebx, (%rax)
movq $0, 8(%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _createGraph ## -- Begin function createGraph
.p2align 4, 0x90
_createGraph: ## @createGraph
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
movl $16, %edi
callq _libmin_malloc
movq %rax, %rbx
movl %r14d, (%rax)
movslq %r14d, %r15
movq %r15, %rdi
shlq $4, %rdi
callq _libmin_malloc
movq %rax, 8(%rbx)
testl %r15d, %r15d
jle LBB2_6
## %bb.1:
movl %r14d, %edx
movl %edx, %ecx
andl $3, %ecx
cmpl $4, %r14d
jae LBB2_7
## %bb.2:
xorl %esi, %esi
jmp LBB2_3
LBB2_7:
andl $-4, %edx
leaq 56(%rax), %rdi
xorl %esi, %esi
.p2align 4, 0x90
LBB2_8: ## =>This Inner Loop Header: Depth=1
movq $0, -48(%rdi)
movq $0, -32(%rdi)
movq $0, -16(%rdi)
movq $0, (%rdi)
addq $4, %rsi
addq $64, %rdi
cmpq %rsi, %rdx
jne LBB2_8
LBB2_3:
testq %rcx, %rcx
je LBB2_6
## %bb.4:
shlq $4, %rsi
addq %rsi, %rax
addq $8, %rax
shlq $4, %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB2_5: ## =>This Inner Loop Header: Depth=1
movq $0, (%rax,%rdx)
addq $16, %rdx
cmpq %rdx, %rcx
jne LBB2_5
LBB2_6:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addEdge ## -- Begin function addEdge
.p2align 4, 0x90
_addEdge: ## @addEdge
.cfi_startproc
## %bb.0:
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
movl $16, %edi
callq _libmin_malloc
movl %ebx, (%rax)
movq $0, 8(%rax)
movq 8(%r15), %rcx
movslq %r14d, %rdx
shlq $4, %rdx
movq 8(%rcx,%rdx), %rsi
movq %rsi, 8(%rax)
movq %rax, 8(%rcx,%rdx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _topologicalSortUtil ## -- Begin function topologicalSortUtil
.p2align 4, 0x90
_topologicalSortUtil: ## @topologicalSortUtil
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %rbx
movl %esi, %r14d
movslq %esi, %rax
movl $1, (%rdx,%rax,4)
movq 8(%rdi), %rcx
shlq $4, %rax
movq 8(%rcx,%rax), %r13
testq %r13, %r13
je LBB4_5
## %bb.1:
movq %rdx, %r15
movq %rdi, %r12
jmp LBB4_2
.p2align 4, 0x90
LBB4_4: ## in Loop: Header=BB4_2 Depth=1
movq 8(%r13), %r13
testq %r13, %r13
je LBB4_5
LBB4_2: ## =>This Inner Loop Header: Depth=1
movslq (%r13), %rsi
cmpl $0, (%r15,%rsi,4)
jne LBB4_4
## %bb.3: ## in Loop: Header=BB4_2 Depth=1
movq %r12, %rdi
## kill: def $esi killed $esi killed $rsi
movq %r15, %rdx
movq %rbx, %rcx
callq _topologicalSortUtil
jmp LBB4_4
LBB4_5:
movl $16, %edi
callq _libmin_malloc
movl %r14d, (%rax)
movq $0, 8(%rax)
movq (%rbx), %rcx
movq %rcx, 8(%rax)
movq %rax, (%rbx)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _topologicalSort ## -- Begin function topologicalSort
.p2align 4, 0x90
_topologicalSort: ## @topologicalSort
.cfi_startproc
## %bb.0:
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 $0, -48(%rbp)
movslq (%rdi), %rdi
shlq $2, %rdi
callq _libmin_malloc
movq %rax, %r14
cmpl $0, (%rbx)
jle LBB5_11
## %bb.1:
xorl %ecx, %ecx
.p2align 4, 0x90
LBB5_2: ## =>This Inner Loop Header: Depth=1
movl $0, (%r14,%rcx,4)
incq %rcx
movslq (%rbx), %rax
cmpq %rax, %rcx
jl LBB5_2
## %bb.3:
testl %eax, %eax
jle LBB5_11
## %bb.4:
xorl %r15d, %r15d
leaq -48(%rbp), %r12
jmp LBB5_5
.p2align 4, 0x90
LBB5_7: ## in Loop: Header=BB5_5 Depth=1
incq %r15
movslq %eax, %rcx
cmpq %rcx, %r15
jge LBB5_8
LBB5_5: ## =>This Inner Loop Header: Depth=1
cmpl $0, (%r14,%r15,4)
jne LBB5_7
## %bb.6: ## in Loop: Header=BB5_5 Depth=1
movq %rbx, %rdi
movl %r15d, %esi
movq %r14, %rdx
movq %r12, %rcx
callq _topologicalSortUtil
movl (%rbx), %eax
jmp LBB5_7
LBB5_8:
movq -48(%rbp), %r15
testq %r15, %r15
je LBB5_11
## %bb.9:
leaq L_.str(%rip), %r12
.p2align 4, 0x90
LBB5_10: ## =>This Inner Loop Header: Depth=1
movl (%r15), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movq 8(%r15), %r13
movq %r15, %rdi
callq _libmin_free
movq %r13, %r15
testq %r13, %r13
jne LBB5_10
LBB5_11:
movq %r14, %rdi
callq _libmin_free
movq 8(%rbx), %rdi
callq _libmin_free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _libmin_free ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl $16, %edi
callq _libmin_malloc
movq %rax, %rbx
movl $6, (%rax)
movl $96, %edi
callq _libmin_malloc
movq %rax, 8(%rbx)
movq $0, 8(%rax)
movq $0, 24(%rax)
movq $0, 40(%rax)
movq $0, 56(%rax)
movq $0, 72(%rax)
movq $0, 88(%rax)
movl $16, %edi
callq _libmin_malloc
movl $2, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 88(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 88(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $0, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 88(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 88(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $0, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 72(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 72(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $1, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 72(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 72(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $3, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 40(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 40(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $1, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 56(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 56(%rcx)
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
callq _topologicalSort
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
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 "
L_.str.1: ## @.str.1
.asciz "Topological Sorting Order: "
L_.str.2: ## @.str.2
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _createStackNode ; -- Begin function createStackNode
.p2align 2
_createStackNode: ; @createStackNode
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #16 ; =0x10
bl _libmin_malloc
str w19, [x0]
str xzr, [x0, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _createListNode ; -- Begin function createListNode
.p2align 2
_createListNode: ; @createListNode
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #16 ; =0x10
bl _libmin_malloc
str w19, [x0]
str xzr, [x0, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _createGraph ; -- Begin function createGraph
.p2align 2
_createGraph: ; @createGraph
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
mov w0, #16 ; =0x10
bl _libmin_malloc
mov x19, x0
str w20, [x0]
sbfiz x0, x20, #4, #32
bl _libmin_malloc
str x0, [x19, #8]
cmp w20, #1
b.lt LBB2_8
; %bb.1:
mov w8, w20
cmp w20, #4
b.hs LBB2_3
; %bb.2:
mov x9, #0 ; =0x0
b LBB2_6
LBB2_3:
and x9, x8, #0xfffffffc
add x10, x0, #40
mov x11, x9
LBB2_4: ; =>This Inner Loop Header: Depth=1
stur xzr, [x10, #-32]
stur xzr, [x10, #-16]
str xzr, [x10]
str xzr, [x10, #16]
add x10, x10, #64
subs x11, x11, #4
b.ne LBB2_4
; %bb.5:
cmp x9, x8
b.eq LBB2_8
LBB2_6:
add x10, x0, x9, lsl #4
add x10, x10, #8
sub x8, x8, x9
LBB2_7: ; =>This Inner Loop Header: Depth=1
str xzr, [x10], #16
subs x8, x8, #1
b.ne LBB2_7
LBB2_8:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _addEdge ; -- Begin function addEdge
.p2align 2
_addEdge: ; @addEdge
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
mov w0, #16 ; =0x10
bl _libmin_malloc
str w19, [x0]
str xzr, [x0, #8]
ldr x8, [x21, #8]
add x8, x8, w20, sxtw #4
ldr x9, [x8, #8]
str x9, [x0, #8]
str x0, [x8, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _topologicalSortUtil ; -- Begin function topologicalSortUtil
.p2align 2
_topologicalSortUtil: ; @topologicalSortUtil
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x3
mov x20, x1
mov w8, #1 ; =0x1
str w8, [x2, w1, sxtw #2]
ldr x8, [x0, #8]
add x8, x8, w1, sxtw #4
ldr x23, [x8, #8]
cbz x23, LBB4_5
; %bb.1:
mov x21, x2
mov x22, x0
b LBB4_3
LBB4_2: ; in Loop: Header=BB4_3 Depth=1
ldr x23, [x23, #8]
cbz x23, LBB4_5
LBB4_3: ; =>This Inner Loop Header: Depth=1
ldrsw x1, [x23]
ldr w8, [x21, x1, lsl #2]
cbnz w8, LBB4_2
; %bb.4: ; in Loop: Header=BB4_3 Depth=1
mov x0, x22
; kill: def $w1 killed $w1 killed $x1
mov x2, x21
mov x3, x19
bl _topologicalSortUtil
b LBB4_2
LBB4_5:
mov w0, #16 ; =0x10
bl _libmin_malloc
str w20, [x0]
str xzr, [x0, #8]
ldr x8, [x19]
str x8, [x0, #8]
str x0, [x19]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _topologicalSort ; -- Begin function topologicalSort
.p2align 2
_topologicalSort: ; @topologicalSort
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
str xzr, [sp, #8]
ldrsw x8, [x0]
lsl x0, x8, #2
bl _libmin_malloc
mov x20, x0
ldr w8, [x19]
cmp w8, #1
b.lt LBB5_11
; %bb.1:
mov x9, #0 ; =0x0
LBB5_2: ; =>This Inner Loop Header: Depth=1
str wzr, [x20, x9, lsl #2]
add x9, x9, #1
ldrsw x8, [x19]
cmp x9, x8
b.lt LBB5_2
; %bb.3:
cmp w8, #1
b.lt LBB5_11
; %bb.4:
mov x21, #0 ; =0x0
b LBB5_6
LBB5_5: ; in Loop: Header=BB5_6 Depth=1
add x21, x21, #1
cmp x21, w8, sxtw
b.ge LBB5_8
LBB5_6: ; =>This Inner Loop Header: Depth=1
ldr w9, [x20, x21, lsl #2]
cbnz w9, LBB5_5
; %bb.7: ; in Loop: Header=BB5_6 Depth=1
add x3, sp, #8
mov x0, x19
mov x1, x21
mov x2, x20
bl _topologicalSortUtil
ldr w8, [x19]
b LBB5_5
LBB5_8:
ldr x21, [sp, #8]
cbz x21, LBB5_11
; %bb.9:
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
LBB5_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21]
str x8, [sp]
mov x0, x22
bl _libmin_printf
ldr x23, [x21, #8]
mov x0, x21
bl _libmin_free
mov x21, x23
cbnz x23, LBB5_10
LBB5_11:
mov x0, x20
bl _libmin_free
ldr x0, [x19, #8]
bl _libmin_free
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
add sp, sp, #80
b _libmin_free
.loh AdrpAdd Lloh0, Lloh1
.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
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 w0, #16 ; =0x10
bl _libmin_malloc
mov x19, x0
mov w8, #6 ; =0x6
str w8, [x0]
mov w0, #96 ; =0x60
bl _libmin_malloc
str x0, [x19, #8]
str xzr, [x0, #8]
str xzr, [x0, #24]
str xzr, [x0, #40]
str xzr, [x0, #56]
str xzr, [x0, #72]
str xzr, [x0, #88]
mov w0, #16 ; =0x10
bl _libmin_malloc
mov w8, #2 ; =0x2
str w8, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #88]
str x9, [x0, #8]
str x0, [x8, #88]
mov w0, #16 ; =0x10
bl _libmin_malloc
str wzr, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #88]
str x9, [x0, #8]
str x0, [x8, #88]
mov w0, #16 ; =0x10
bl _libmin_malloc
str wzr, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #72]
str x9, [x0, #8]
str x0, [x8, #72]
mov w0, #16 ; =0x10
bl _libmin_malloc
mov w20, #1 ; =0x1
str w20, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #72]
str x9, [x0, #8]
str x0, [x8, #72]
mov w0, #16 ; =0x10
bl _libmin_malloc
mov w8, #3 ; =0x3
str w8, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #40]
str x9, [x0, #8]
str x0, [x8, #40]
mov w0, #16 ; =0x10
bl _libmin_malloc
str w20, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #56]
str x9, [x0, #8]
str x0, [x8, #56]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
mov x0, x19
bl _topologicalSort
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.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 "Topological Sorting Order: "
l_.str.2: ; @.str.2
.asciz "\n"
.subsections_via_symbols
|
flood-fill.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _floodfill ## -- Begin function floodfill
.p2align 4, 0x90
_floodfill: ## @floodfill
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r13d
movl %esi, %r14d
movq %rdi, %rbx
movslq %esi, %rax
movslq %edx, %rdx
leaq (%rax,%rax,4), %rax
leaq (%rdi,%rax,2), %rax
movzbl (%rdx,%rax), %r15d
movb %cl, (%rdx,%rax)
xorl %r12d, %r12d
leaq _row(%rip), %r9
leaq _col(%rip), %r10
movsbl %cl, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movb %r15b, -41(%rbp) ## 1-byte Spill
jmp LBB0_1
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
addq $4, %r12
cmpq $32, %r12
je LBB0_6
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl (%r12,%r9), %eax
addl %r14d, %eax
cmpl $9, %eax
ja LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl (%r12,%r10), %ecx
addl %r13d, %ecx
cmpl $9, %ecx
ja LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl %eax, %edx
movl %ecx, %esi
leaq (%rdx,%rdx,4), %rdx
leaq (%rbx,%rdx,2), %rdx
cmpb %r15b, (%rsi,%rdx)
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movsbl %al, %esi
movsbl %cl, %edx
movq %rbx, %rdi
movl -48(%rbp), %ecx ## 4-byte Reload
movq %r10, %r15
callq _floodfill
movq %r15, %r10
leaq _row(%rip), %r9
movzbl -41(%rbp), %r15d ## 1-byte Folded Reload
jmp LBB0_5
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printMatrix ## -- Begin function printMatrix
.p2align 4, 0x90
_printMatrix: ## @printMatrix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl $9, %r12d
leaq L_.str(%rip), %r14
leaq L_.str.1(%rip), %r15
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movsbl -9(%rbx,%r12), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movsbl -8(%rbx,%r12), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movsbl -7(%rbx,%r12), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movsbl -6(%rbx,%r12), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movsbl -5(%rbx,%r12), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movsbl -4(%rbx,%r12), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movsbl -3(%rbx,%r12), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movsbl -2(%rbx,%r12), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movsbl -1(%rbx,%r12), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movsbl (%rbx,%r12), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
addq $10, %r12
cmpq $109, %r12
jne LBB1_1
## %bb.2:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str.2(%rip), %rdi
movl $67, %esi
movl $3, %edx
movl $9, %ecx
xorl %eax, %eax
callq _libmin_printf
leaq _mat(%rip), %rbx
movq %rbx, %rdi
callq _printMatrix
movq %rbx, %rdi
movl $3, %esi
movl $9, %edx
movl $67, %ecx
callq _floodfill
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
callq _printMatrix
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _mat ## @mat
.p2align 4, 0x0
_mat:
.ascii "YYYGGGGGGG"
.ascii "YYYYYYGXXX"
.ascii "GXGGGGGXXX"
.ascii "WXXWWGGGGX"
.ascii "WRRRRRGXXX"
.ascii "WWWRRGGXXX"
.ascii "WBWRRRRRRX"
.ascii "WBBBBRRXXX"
.ascii "WBBXBBBBXX"
.ascii "WBBXXXXXXX"
.globl _row ## @row
.p2align 4, 0x0
_row:
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.globl _col ## @col
.p2align 4, 0x0
_col:
.long 4294967295 ## 0xffffffff
.long 0 ## 0x0
.long 1 ## 0x1
.long 4294967295 ## 0xffffffff
.long 1 ## 0x1
.long 4294967295 ## 0xffffffff
.long 0 ## 0x0
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " %c"
L_.str.1: ## @.str.1
.asciz "\n"
L_.str.2: ## @.str.2
.asciz "\nBEFORE flooding `%c' @ (%d,%d):\n"
L_.str.3: ## @.str.3
.asciz "\nAFTER:\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _floodfill ; -- Begin function floodfill
.p2align 2
_floodfill: ; @floodfill
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
mov x23, #0 ; =0x0
sxtw x8, w20
mov w24, #10 ; =0xa
smaddl x9, w1, w24, x0
ldrb w25, [x9, x8]
strb w3, [x9, x8]
Lloh0:
adrp x26, _row@PAGE
Lloh1:
add x26, x26, _row@PAGEOFF
Lloh2:
adrp x27, _col@PAGE
Lloh3:
add x27, x27, _col@PAGEOFF
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add x23, x23, #4
cmp x23, #32
b.eq LBB0_6
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x26, x23]
add w8, w8, w21
cmp w8, #9
b.hi LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w9, [x27, x23]
add w9, w9, w20
cmp w9, #9
b.hi LBB0_1
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
umaddl x10, w8, w24, x22
ldrb w10, [x10, w9, uxtw]
cmp w10, w25
b.ne LBB0_1
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
sxtb w1, w8
sxtb w2, w9
mov x0, x22
mov x3, x19
bl _floodfill
b LBB0_1
LBB0_6:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
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 AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _printMatrix ; -- Begin function printMatrix
.p2align 2
_printMatrix: ; @printMatrix
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, #0 ; =0x0
add x22, x0, #4
Lloh4:
adrp x19, l_.str@PAGE
Lloh5:
add x19, x19, l_.str@PAGEOFF
Lloh6:
adrp x20, l_.str.1@PAGE
Lloh7:
add x20, x20, l_.str.1@PAGEOFF
LBB1_1: ; =>This Inner Loop Header: Depth=1
add x23, x22, x21
ldursb x8, [x23, #-4]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldursb x8, [x23, #-3]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldursb x8, [x23, #-2]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldursb x8, [x23, #-1]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldrsb x8, [x23]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldrsb x8, [x23, #1]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldrsb x8, [x23, #2]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldrsb x8, [x23, #3]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldrsb x8, [x23, #4]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldrsb x8, [x23, #5]
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov x0, x20
bl _libmin_printf
add x21, x21, #10
cmp x21, #100
b.ne LBB1_1
; %bb.2:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 w8, #9 ; =0x9
str x8, [sp, #16]
mov w8, #3 ; =0x3
mov w9, #67 ; =0x43
stp x9, x8, [sp]
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
Lloh10:
adrp x19, _mat@PAGE
Lloh11:
add x19, x19, _mat@PAGEOFF
mov x0, x19
bl _printMatrix
mov x0, x19
mov w1, #3 ; =0x3
mov w2, #9 ; =0x9
mov w3, #67 ; =0x43
bl _floodfill
Lloh12:
adrp x0, l_.str.3@PAGE
Lloh13:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
mov x0, x19
bl _printMatrix
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _mat ; @mat
_mat:
.ascii "YYYGGGGGGG"
.ascii "YYYYYYGXXX"
.ascii "GXGGGGGXXX"
.ascii "WXXWWGGGGX"
.ascii "WRRRRRGXXX"
.ascii "WWWRRGGXXX"
.ascii "WBWRRRRRRX"
.ascii "WBBBBRRXXX"
.ascii "WBBXBBBBXX"
.ascii "WBBXXXXXXX"
.globl _row ; @row
.p2align 2, 0x0
_row:
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.globl _col ; @col
.p2align 2, 0x0
_col:
.long 4294967295 ; 0xffffffff
.long 0 ; 0x0
.long 1 ; 0x1
.long 4294967295 ; 0xffffffff
.long 1 ; 0x1
.long 4294967295 ; 0xffffffff
.long 0 ; 0x0
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " %c"
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.asciz "\nBEFORE flooding `%c' @ (%d,%d):\n"
l_.str.3: ; @.str.3
.asciz "\nAFTER:\n"
.subsections_via_symbols
|
weekday.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _dayOfWeek ## -- Begin function dayOfWeek
.p2align 4, 0x90
_dayOfWeek: ## @dayOfWeek
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
xorl %eax, %eax
cmpl $3, %esi
setl %al
subl %eax, %edi
leal 3(%rdi), %ecx
testl %edi, %edi
cmovnsl %edi, %ecx
sarl $2, %ecx
movslq %edi, %rax
imulq $-1374389535, %rax, %rdi ## imm = 0xAE147AE1
movq %rdi, %r8
shrq $63, %r8
shrq $32, %rdi
sarl $5, %edi
addl %r8d, %edi
imulq $1374389535, %rax, %r8 ## imm = 0x51EB851F
movq %r8, %r9
shrq $63, %r9
shrq $32, %r8
sarl $7, %r8d
addl %r9d, %r8d
movslq %esi, %rsi
leaq l___const.dayOfWeek.t(%rip), %r9
addl %edx, %eax
addl %ecx, %eax
addl %edi, %eax
addl %r8d, %eax
addl -4(%r9,%rsi,4), %eax
movslq %eax, %rcx
imulq $-1840700269, %rcx, %rax ## imm = 0x92492493
shrq $32, %rax
addl %ecx, %eax
movl %eax, %edx
shrl $31, %edx
sarl $2, %eax
addl %edx, %eax
leal (,%rax,8), %edx
subl %edx, %eax
addl %ecx, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str.7(%rip), %rbx
leaq L_.str.2(%rip), %r14
movq %rbx, %rdi
movl $2, %esi
movl $20, %edx
movl $2024, %ecx ## imm = 0x7E8
movq %r14, %r8
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $4, %esi
movl $5, %edx
movl $1994, %ecx ## imm = 0x7CA
movq %r14, %r8
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.3(%rip), %r8
movq %rbx, %rdi
movl $1, %esi
movl $1, %edx
movl $1975, %ecx ## imm = 0x7B7
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.5(%rip), %r8
movq %rbx, %rdi
movl $2, %esi
movl $7, %edx
movl $1964, %ecx ## imm = 0x7AC
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4, 0x0 ## @__const.dayOfWeek.t
l___const.dayOfWeek.t:
.long 0 ## 0x0
.long 3 ## 0x3
.long 2 ## 0x2
.long 5 ## 0x5
.long 0 ## 0x0
.long 3 ## 0x3
.long 5 ## 0x5
.long 1 ## 0x1
.long 4 ## 0x4
.long 6 ## 0x6
.long 2 ## 0x2
.long 4 ## 0x4
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "Tuesday"
L_.str.3: ## @.str.3
.asciz "Wednesday"
L_.str.5: ## @.str.5
.asciz "Friday"
L_.str.7: ## @.str.7
.asciz "%02d/%02d/%04d was a `%s'\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _dayOfWeek ; -- Begin function dayOfWeek
.p2align 2
_dayOfWeek: ; @dayOfWeek
.cfi_startproc
; %bb.0:
cmp w1, #3
cset w8, lt
sub w8, w0, w8
add w9, w8, w2
add w10, w8, #3
cmp w8, #0
csel w10, w10, w8, lt
mov w11, #31457 ; =0x7ae1
movk w11, #44564, lsl #16
smull x11, w8, w11
lsr x12, x11, #32
lsr x11, x11, #63
add w11, w11, w12, asr #5
mov w12, #34079 ; =0x851f
movk w12, #20971, lsl #16
smull x8, w8, w12
lsr x12, x8, #32
lsr x8, x8, #63
add w8, w8, w12, asr #7
Lloh0:
adrp x12, l___const.dayOfWeek.t@PAGE
Lloh1:
add x12, x12, l___const.dayOfWeek.t@PAGEOFF
add x12, x12, w1, sxtw #2
ldur w12, [x12, #-4]
add w9, w9, w10, asr #2
add w9, w9, w11
add w8, w8, w12
add w8, w9, w8
mov w9, #9363 ; =0x2493
movk w9, #37449, lsl #16
smull x9, w8, w9
lsr x9, x9, #32
add w9, w9, w8
asr w10, w9, #2
add w9, w10, w9, lsr #31
sub w9, w9, w9, lsl #3
add w0, w8, w9
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh2:
adrp x20, l_.str.2@PAGE
Lloh3:
add x20, x20, l_.str.2@PAGEOFF
mov w8, #2024 ; =0x7e8
stp x8, x20, [sp, #16]
mov w8, #20 ; =0x14
mov w21, #2 ; =0x2
stp x21, x8, [sp]
Lloh4:
adrp x19, l_.str.7@PAGE
Lloh5:
add x19, x19, l_.str.7@PAGEOFF
mov x0, x19
bl _libmin_printf
mov w8, #1994 ; =0x7ca
stp x8, x20, [sp, #16]
mov w8, #5 ; =0x5
mov w9, #4 ; =0x4
stp x9, x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh6:
adrp x8, l_.str.3@PAGE
Lloh7:
add x8, x8, l_.str.3@PAGEOFF
mov w9, #1975 ; =0x7b7
stp x9, x8, [sp, #16]
mov w8, #1 ; =0x1
stp x8, x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh8:
adrp x8, l_.str.5@PAGE
Lloh9:
add x8, x8, l_.str.5@PAGEOFF
mov w9, #1964 ; =0x7ac
stp x9, x8, [sp, #16]
mov w8, #7 ; =0x7
stp x21, x8, [sp]
mov x0, x19
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2, 0x0 ; @__const.dayOfWeek.t
l___const.dayOfWeek.t:
.long 0 ; 0x0
.long 3 ; 0x3
.long 2 ; 0x2
.long 5 ; 0x5
.long 0 ; 0x0
.long 3 ; 0x3
.long 5 ; 0x5
.long 1 ; 0x1
.long 4 ; 0x4
.long 6 ; 0x6
.long 2 ; 0x2
.long 4 ; 0x4
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "Tuesday"
l_.str.3: ; @.str.3
.asciz "Wednesday"
l_.str.5: ; @.str.5
.asciz "Friday"
l_.str.7: ; @.str.7
.asciz "%02d/%02d/%04d was a `%s'\n"
.subsections_via_symbols
|
checkers.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _infile(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _libmin_mopen
movl $64, %edi
callq _libmin_malloc
movq %rax, %rbx
movq %rax, %rdi
callq _fill_print_initial
movq %rbx, %rdi
callq _print_board
movq _infile(%rip), %rdx
leaq -112(%rbp), %r14
movl $64, %esi
movq %r14, %rdi
callq _libmin_mgets
leaq L_.str.2(%rip), %rsi
leaq -113(%rbp), %rdx
leaq -116(%rbp), %rcx
leaq -115(%rbp), %r8
leaq -114(%rbp), %r9
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_sscanf
movl $1, %r14d
movl $1, %r13d
cmpl $4, %eax
jne LBB0_13
## %bb.1:
leaq _main.valid_moves(%rip), %r15
movl $1, %r14d
jmp LBB0_2
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
testl %eax, %eax
je LBB0_12
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movl $6, %edi
callq _print_error_message
movl $6, %edi
callq _libmin_fail
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movsbl -113(%rbp), %esi
movsbl -116(%rbp), %edx
movsbl -115(%rbp), %ecx
movsbl -114(%rbp), %r8d
movq %rbx, %rdi
callq _change_board
movsbl -113(%rbp), %ecx
movsbl -116(%rbp), %r8d
movsbl -115(%rbp), %r9d
movsbl -114(%rbp), %eax
xorl %edi, %edi
movl %r13d, %esi
movq %rbx, %rdx
pushq %r14
pushq %rax
callq _print_move_information
addq $16, %rsp
movq %rbx, %rdi
callq _print_board
xorl $1, %r13d
incl %r14d
movq _infile(%rip), %rdx
movl $64, %esi
leaq -112(%rbp), %r12
movq %r12, %rdi
callq _libmin_mgets
movq %r12, %rdi
leaq L_.str.2(%rip), %rsi
leaq -113(%rbp), %rdx
leaq -116(%rbp), %rcx
leaq -115(%rbp), %r8
leaq -114(%rbp), %r9
xorl %eax, %eax
callq _libmin_sscanf
cmpl $4, %eax
jne LBB0_13
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_28 Depth 2
movsbl -113(%rbp), %esi
movsbl -116(%rbp), %edx
movsbl -115(%rbp), %ecx
movsbl -114(%rbp), %r8d
movq %rbx, %rdi
movl %r13d, %r12d
movl %r13d, %r9d
callq _check_move_error_1_to_5
testl %eax, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %r13d
movl %eax, %edi
callq _print_error_message
movl %r13d, %edi
callq _libmin_fail
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movsbl -113(%rbp), %esi
movsbl -116(%rbp), %edx
movq %rbx, %rdi
movq %r15, %rcx
movl %r12d, %r13d
movl %r12d, %r8d
callq _all_possible_moves
testl %eax, %eax
jle LBB0_11
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movzbl -115(%rbp), %edx
movzbl -114(%rbp), %ecx
movl %eax, %esi
cmpl $1, %eax
jne LBB0_27
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movl $1, %eax
xorl %edi, %edi
xorl %r9d, %r9d
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
testb $1, %sil
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
cmpb %dl, (%r15,%rdi,2)
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
cmpb %cl, 1(%r15,%rdi,2)
cmovel %r9d, %eax
jmp LBB0_10
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_2 Depth=1
movl %esi, %r8d
andl $-2, %r8d
movl $1, %eax
xorl %edi, %edi
xorl %r9d, %r9d
jmp LBB0_28
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_28 Depth=2
addq $2, %rdi
cmpq %rdi, %r8
je LBB0_7
LBB0_28: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpb %dl, (%r15,%rdi,2)
jne LBB0_30
## %bb.29: ## in Loop: Header=BB0_28 Depth=2
cmpb %cl, 1(%r15,%rdi,2)
cmovel %r9d, %eax
LBB0_30: ## in Loop: Header=BB0_28 Depth=2
cmpb %dl, 2(%r15,%rdi,2)
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_28 Depth=2
cmpb %cl, 3(%r15,%rdi,2)
cmovel %r9d, %eax
jmp LBB0_32
LBB0_13:
movzbl -113(%rbp), %eax
xorl %ecx, %ecx
cmpb $65, %al
sete %cl
cmpb $80, %al
movl $100, %eax
cmovnel %ecx, %eax
movl %eax, -120(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_25
## %bb.14:
addl %r14d, -120(%rbp) ## 4-byte Folded Spill
jmp LBB0_15
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_15 Depth=1
movsbl 4(%r13), %esi
movsbl 5(%r13), %edx
movsbl 6(%r13), %ecx
movsbl 7(%r13), %r8d
movq %rbx, %rdi
callq _change_board
movsbl 4(%r13), %ecx
movsbl 5(%r13), %r8d
movsbl 6(%r13), %r9d
movsbl 7(%r13), %eax
movl $1, %edi
movl -124(%rbp), %r13d ## 4-byte Reload
movl %r13d, %esi
movq %rbx, %rdx
movq -136(%rbp), %r12 ## 8-byte Reload
pushq %r12
pushq %rax
callq _print_move_information
addq $16, %rsp
movq %rbx, %rdi
callq _print_board
xorl %r15d, %r15d
testl %r13d, %r13d
sete %r15b
incl %r12d
movq %r14, %rdi
movq %r12, %r14
callq _free_tree
movl %r15d, %r13d
cmpl -120(%rbp), %r14d ## 4-byte Folded Reload
je LBB0_25
LBB0_15: ## =>This Loop Header: Depth=1
## Child Loop BB0_16 Depth 2
## Child Loop BB0_22 Depth 2
movq %r14, -136(%rbp) ## 8-byte Spill
movl $96, %edi
callq _libmin_malloc
movq %rax, %r14
movl $0, (%rax)
movl $1, %eax
.p2align 4, 0x90
LBB0_16: ## Parent Loop BB0_15 Depth=1
## => This Inner Loop Header: Depth=2
movzbl -8(%rbx,%rax,8), %ecx
movb %cl, (%r14,%rax,8)
movzbl -7(%rbx,%rax,8), %ecx
movb %cl, 1(%r14,%rax,8)
movzbl -6(%rbx,%rax,8), %ecx
movb %cl, 2(%r14,%rax,8)
movzbl -5(%rbx,%rax,8), %ecx
movb %cl, 3(%r14,%rax,8)
movzbl -4(%rbx,%rax,8), %ecx
movb %cl, 4(%r14,%rax,8)
movzbl -3(%rbx,%rax,8), %ecx
movb %cl, 5(%r14,%rax,8)
movzbl -2(%rbx,%rax,8), %ecx
movb %cl, 6(%r14,%rax,8)
movzbl -1(%rbx,%rax,8), %ecx
movb %cl, 7(%r14,%rax,8)
incq %rax
cmpq $9, %rax
jne LBB0_16
## %bb.17: ## in Loop: Header=BB0_15 Depth=1
movl %r13d, 72(%r14)
movl $0, 76(%r14)
movq _initial_children@GOTPCREL(%rip), %rax
movups (%rax), %xmm0
movups %xmm0, 80(%r14)
movq %r14, %rdi
callq _generate_tree_depth_3
cmpl $0, 76(%r14)
jne LBB0_21
## %bb.18: ## in Loop: Header=BB0_15 Depth=1
movq _WHITE@GOTPCREL(%rip), %rsi
testl %r13d, %r13d
jne LBB0_20
## %bb.19: ## in Loop: Header=BB0_15 Depth=1
movq _BLACK@GOTPCREL(%rip), %rsi
LBB0_20: ## in Loop: Header=BB0_15 Depth=1
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
LBB0_21: ## in Loop: Header=BB0_15 Depth=1
movl %r13d, -124(%rbp) ## 4-byte Spill
movq %r14, %r12
addq $80, %r12
movq %r14, %rdi
callq _move_score_forced
movl %eax, -128(%rbp) ## 4-byte Spill
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_22: ## Parent Loop BB0_15 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r12), %r12
movq (%r12), %r13
movq %r13, %rdi
callq _move_score_forced
cmpl -128(%rbp), %eax ## 4-byte Folded Reload
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_22 Depth=2
addq $8, %r12
incl %r15d
cmpl 76(%r14), %r15d
jl LBB0_22
jmp LBB0_24
LBB0_25:
movq %rbx, %rdi
callq _libmin_free
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_33
## %bb.26:
xorl %eax, %eax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_33:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl ___test0 ## @__test0
.p2align 4, 0x0
___test0:
.ascii "G6-H5\nH3-G4\nH7-G6\nF3-E4\nH5-F3\nE2-G4\nG8-H7\nE4-F5\nG6-H5\nG2-F3\nP\n"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "test0.txt"
.section __DATA,__data
.globl ___infile ## @__infile
.p2align 3, 0x0
___infile:
.quad L_.str
.quad 62 ## 0x3e
.quad ___test0
.long 0 ## 0x0
.space 4
.globl _infile ## @infile
.p2align 3, 0x0
_infile:
.quad ___infile
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "%c%c-%c%c\n"
.zerofill __DATA,__bss,_main.valid_moves,8,0 ## @main.valid_moves
L_.str.3: ## @.str.3
.asciz "%s WIN!\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #208
stp x28, x27, [sp, #112] ; 16-byte Folded Spill
stp x26, x25, [sp, #128] ; 16-byte Folded Spill
stp x24, x23, [sp, #144] ; 16-byte Folded Spill
stp x22, x21, [sp, #160] ; 16-byte Folded Spill
stp x20, x19, [sp, #176] ; 16-byte Folded Spill
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
adrp x20, _infile@PAGE
ldr x0, [x20, _infile@PAGEOFF]
Lloh3:
adrp x1, l_.str.1@PAGE
Lloh4:
add x1, x1, l_.str.1@PAGEOFF
bl _libmin_mopen
mov w0, #64 ; =0x40
bl _libmin_malloc
mov x19, x0
bl _fill_print_initial
mov x0, x19
bl _print_board
ldr x2, [x20, _infile@PAGEOFF]
add x0, sp, #40
mov w1, #64 ; =0x40
bl _libmin_mgets
add x26, sp, #36
add x27, sp, #37
stp x27, x26, [sp, #16]
add x28, sp, #38
add x25, sp, #39
stp x25, x28, [sp]
Lloh5:
adrp x1, l_.str.2@PAGE
Lloh6:
add x1, x1, l_.str.2@PAGEOFF
add x0, sp, #40
bl _libmin_sscanf
cmp w0, #4
b.ne LBB0_12
; %bb.1:
Lloh7:
adrp x22, _main.valid_moves@PAGE
Lloh8:
add x22, x22, _main.valid_moves@PAGEOFF
mov w20, #1 ; =0x1
mov w21, #1 ; =0x1
Lloh9:
adrp x23, l_.str.2@PAGE
Lloh10:
add x23, x23, l_.str.2@PAGEOFF
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
cbz w11, LBB0_4
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov w0, #6 ; =0x6
bl _print_error_message
mov w0, #6 ; =0x6
bl _libmin_fail
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldrsb w1, [sp, #39]
ldrsb w2, [sp, #38]
ldrsb w3, [sp, #37]
ldrsb w4, [sp, #36]
mov x0, x19
bl _change_board
ldrsb w3, [sp, #39]
ldrsb w4, [sp, #38]
ldrsb w5, [sp, #37]
ldrsb w6, [sp, #36]
mov w0, #0 ; =0x0
mov x1, x20
mov x2, x19
mov x7, x21
bl _print_move_information
mov x0, x19
bl _print_board
eor w20, w20, #0x1
add w21, w21, #1
Lloh11:
adrp x8, _infile@PAGE
Lloh12:
ldr x2, [x8, _infile@PAGEOFF]
add x0, sp, #40
mov w1, #64 ; =0x40
bl _libmin_mgets
stp x27, x26, [sp, #16]
add x0, sp, #40
stp x25, x28, [sp]
mov x1, x23
bl _libmin_sscanf
cmp w0, #4
b.ne LBB0_13
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
ldrsb w1, [sp, #39]
ldrsb w2, [sp, #38]
ldrsb w3, [sp, #37]
ldrsb w4, [sp, #36]
mov x0, x19
mov x5, x20
bl _check_move_error_1_to_5
cbz w0, LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x24, x0
bl _print_error_message
mov x0, x24
bl _libmin_fail
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldrsb w1, [sp, #39]
ldrsb w2, [sp, #38]
mov x0, x19
mov x3, x22
mov x4, x20
bl _all_possible_moves
cmp w0, #1
b.lt LBB0_3
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
ldrb w8, [sp, #37]
ldrb w9, [sp, #36]
mov w10, w0
mov w11, #1 ; =0x1
Lloh13:
adrp x12, _main.valid_moves@PAGE+1
Lloh14:
add x12, x12, _main.valid_moves@PAGEOFF+1
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=2
add x12, x12, #2
subs x10, x10, #1
b.eq LBB0_2
LBB0_10: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldurb w13, [x12, #-1]
cmp w13, w8
b.ne LBB0_9
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
ldrb w13, [x12]
cmp w13, w9
csel w11, wzr, w11, eq
b LBB0_9
LBB0_12:
mov w21, #1 ; =0x1
mov w20, #1 ; =0x1
LBB0_13:
ldrb w8, [sp, #39]
cmp w8, #65
cset w9, eq
mov w10, #100 ; =0x64
cmp w8, #80
csel w8, w10, w9, eq
cbz w8, LBB0_23
; %bb.14:
add w26, w8, w21
Lloh15:
adrp x27, _initial_children@GOTPAGE
Lloh16:
ldr x27, [x27, _initial_children@GOTPAGEOFF]
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
ldrsb w1, [x24, #4]
ldrsb w2, [x24, #5]
ldrsb w3, [x24, #6]
ldrsb w4, [x24, #7]
mov x0, x19
bl _change_board
ldrsb w3, [x24, #4]
ldrsb w4, [x24, #5]
ldrsb w5, [x24, #6]
ldrsb w6, [x24, #7]
mov w0, #1 ; =0x1
mov x1, x20
mov x2, x19
mov x7, x21
bl _print_move_information
mov x0, x19
bl _print_board
cmp w20, #0
cset w20, eq
add w21, w21, #1
mov x0, x23
bl _free_tree
cmp w21, w26
b.eq LBB0_23
LBB0_16: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
; Child Loop BB0_21 Depth 2
mov w0, #96 ; =0x60
bl _libmin_malloc
mov x23, x0
mov x8, #0 ; =0x0
str wzr, [x0]
LBB0_17: ; Parent Loop BB0_16 Depth=1
; => This Inner Loop Header: Depth=2
add x9, x19, x8
ldrb w10, [x9]
add x11, x23, x8
strb w10, [x11, #8]
ldrb w10, [x9, #1]
strb w10, [x11, #9]
ldrb w10, [x9, #2]
strb w10, [x11, #10]
ldrb w10, [x9, #3]
strb w10, [x11, #11]
ldrb w10, [x9, #4]
strb w10, [x11, #12]
ldrb w10, [x9, #5]
strb w10, [x11, #13]
ldrb w10, [x9, #6]
strb w10, [x11, #14]
ldrb w9, [x9, #7]
strb w9, [x11, #15]
add x8, x8, #8
cmp x8, #64
b.ne LBB0_17
; %bb.18: ; in Loop: Header=BB0_16 Depth=1
stp w20, wzr, [x23, #72]
ldr q0, [x27]
str q0, [x23, #80]
mov x0, x23
bl _generate_tree_depth_3
ldr w8, [x23, #76]
cbnz w8, LBB0_20
; %bb.19: ; in Loop: Header=BB0_16 Depth=1
cmp w20, #0
Lloh17:
adrp x8, _WHITE@GOTPAGE
Lloh18:
ldr x8, [x8, _WHITE@GOTPAGEOFF]
Lloh19:
adrp x9, _BLACK@GOTPAGE
Lloh20:
ldr x9, [x9, _BLACK@GOTPAGEOFF]
csel x8, x9, x8, eq
str x8, [sp]
Lloh21:
adrp x0, l_.str.3@PAGE
Lloh22:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
bl _libmin_success
LBB0_20: ; in Loop: Header=BB0_16 Depth=1
add x22, x23, #80
mov x0, x23
bl _move_score_forced
mov x25, x0
mov w28, #0 ; =0x0
LBB0_21: ; Parent Loop BB0_16 Depth=1
; => This Inner Loop Header: Depth=2
ldr x22, [x22]
ldr x24, [x22]
mov x0, x24
bl _move_score_forced
cmp w0, w25
b.eq LBB0_15
; %bb.22: ; in Loop: Header=BB0_21 Depth=2
add x22, x22, #8
add w28, w28, #1
ldr w8, [x23, #76]
cmp w28, w8
b.lt LBB0_21
b LBB0_15
LBB0_23:
mov x0, x19
bl _libmin_free
bl _libmin_success
ldur x8, [x29, #-88]
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_25
; %bb.24:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
ldp x20, x19, [sp, #176] ; 16-byte Folded Reload
ldp x22, x21, [sp, #160] ; 16-byte Folded Reload
ldp x24, x23, [sp, #144] ; 16-byte Folded Reload
ldp x26, x25, [sp, #128] ; 16-byte Folded Reload
ldp x28, x27, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #208
ret
LBB0_25:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdr Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl ___test0 ; @__test0
___test0:
.ascii "G6-H5\nH3-G4\nH7-G6\nF3-E4\nH5-F3\nE2-G4\nG8-H7\nE4-F5\nG6-H5\nG2-F3\nP\n"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "test0.txt"
.section __DATA,__data
.globl ___infile ; @__infile
.p2align 3, 0x0
___infile:
.quad l_.str
.quad 62 ; 0x3e
.quad ___test0
.long 0 ; 0x0
.space 4
.globl _infile ; @infile
.p2align 3, 0x0
_infile:
.quad ___infile
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "%c%c-%c%c\n"
.zerofill __DATA,__bss,_main.valid_moves,8,0 ; @main.valid_moves
l_.str.3: ; @.str.3
.asciz "%s WIN!\n"
.subsections_via_symbols
|
kepler.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _strict_iteration ## -- Begin function strict_iteration
.p2align 4, 0x90
_strict_iteration: ## @strict_iteration
.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
movsd %xmm2, -16(%rbp) ## 8-byte Spill
movsd %xmm1, -8(%rbp) ## 8-byte Spill
callq _libmin_sin
mulsd -8(%rbp), %xmm0 ## 8-byte Folded Reload
addsd -16(%rbp), %xmm0 ## 8-byte Folded Reload
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function newton
LCPI1_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _newton
.p2align 4, 0x90
_newton: ## @newton
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movsd %xmm2, -8(%rbp) ## 8-byte Spill
movsd %xmm1, -24(%rbp) ## 8-byte Spill
movsd %xmm0, -16(%rbp) ## 8-byte Spill
callq _libmin_sin
movapd %xmm0, %xmm1
mulsd -24(%rbp), %xmm1 ## 8-byte Folded Reload
addsd -8(%rbp), %xmm1 ## 8-byte Folded Reload
movsd -16(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
subsd %xmm0, %xmm1
movsd %xmm1, -8(%rbp) ## 8-byte Spill
callq _libmin_cos
mulsd -24(%rbp), %xmm0 ## 8-byte Folded Reload
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm0, %xmm1
movsd -8(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
addsd -16(%rbp), %xmm0 ## 8-byte Folded Reload
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function binary
LCPI2_0:
.quad 0x3fe921fb54442eea ## double 0.78539816339750002
LCPI2_2:
.quad 0x3fe0000000000000 ## double 0.5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI2_1:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _binary
.p2align 4, 0x90
_binary: ## @binary
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
testl %edi, %edi
je LBB2_2
## %bb.1:
xorpd %xmm0, %xmm0
movsd LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero
jmp LBB2_3
LBB2_2:
movsd %xmm0, -16(%rbp) ## 8-byte Spill
movsd %xmm2, -24(%rbp) ## 8-byte Spill
movsd %xmm1, -8(%rbp) ## 8-byte Spill
callq _libmin_sin
movsd -8(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd %xmm0, %xmm1
movsd -16(%rbp), %xmm4 ## 8-byte Reload
## xmm4 = mem[0],zero
movapd %xmm4, %xmm0
subsd %xmm1, %xmm0
movsd _binary.scale(%rip), %xmm1 ## xmm1 = mem[0],zero
movapd LCPI2_1(%rip), %xmm2 ## xmm2 = [-0.0E+0,-0.0E+0]
xorpd %xmm1, %xmm2
cmpltsd -24(%rbp), %xmm0 ## 8-byte Folded Reload
movapd %xmm0, %xmm3
andpd %xmm1, %xmm3
andnpd %xmm2, %xmm0
orpd %xmm3, %xmm0
addsd %xmm4, %xmm0
mulsd LCPI2_2(%rip), %xmm1
LBB2_3:
movsd %xmm1, _binary.scale(%rip)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function e_series
LCPI3_0:
.quad 0x3fe0000000000000 ## double 0.5
LCPI3_1:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI3_2:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _e_series
.p2align 4, 0x90
_e_series: ## @e_series
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $48, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
testl %edi, %edi
je LBB3_2
## %bb.1:
movl $0, _e_series.n(%rip)
xorpd %xmm2, %xmm2
LBB3_19:
movapd %xmm2, %xmm0
jmp LBB3_20
LBB3_2:
movl _e_series.n(%rip), %eax
testl %eax, %eax
je LBB3_18
## %bb.3:
movsd %xmm0, -40(%rbp) ## 8-byte Spill
movsd %xmm1, -32(%rbp) ## 8-byte Spill
js LBB3_4
## %bb.5:
xorl %r14d, %r14d
xorpd %xmm0, %xmm0
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movl $1, %ebx
movsd LCPI3_1(%rip), %xmm8 ## xmm8 = mem[0],zero
movsd %xmm2, -48(%rbp) ## 8-byte Spill
jmp LBB3_6
.p2align 4, 0x90
LBB3_16: ## in Loop: Header=BB3_6 Depth=1
movapd %xmm9, -64(%rbp) ## 16-byte Spill
addsd %xmm1, %xmm1
subsd %xmm1, %xmm0
mulsd %xmm2, %xmm0
callq _libmin_sin
movsd -48(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
mulsd -64(%rbp), %xmm0 ## 16-byte Folded Reload
movsd -24(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm0, %xmm1
movsd %xmm1, -24(%rbp) ## 8-byte Spill
leal 2(,%r14,2), %ecx
movl %r14d, %edx
incl %edx
movl _e_series.n(%rip), %eax
decl %ebx
movl %edx, %r14d
cmpl %eax, %ecx
movsd LCPI3_1(%rip), %xmm8 ## xmm8 = mem[0],zero
jg LBB3_17
LBB3_6: ## =>This Loop Header: Depth=1
## Child Loop BB3_8 Depth 2
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %r14d, %xmm1
movapd %xmm0, %xmm7
mulsd LCPI3_0(%rip), %xmm7
movl %eax, %ecx
subl %r14d, %ecx
movapd %xmm8, %xmm9
cmpl $2, %ecx
jl LBB3_14
## %bb.7: ## in Loop: Header=BB3_6 Depth=1
subsd %xmm1, %xmm7
movapd %xmm0, %xmm3
subsd %xmm1, %xmm3
addl %ebx, %eax
xorl %ecx, %ecx
movapd %xmm8, %xmm9
jmp LBB3_8
.p2align 4, 0x90
LBB3_13: ## in Loop: Header=BB3_8 Depth=2
mulsd %xmm4, %xmm5
mulsd %xmm7, %xmm6
divsd %xmm5, %xmm6
mulsd %xmm6, %xmm9
incl %ecx
cmpl $2, %eax
jbe LBB3_14
LBB3_8: ## Parent Loop BB3_6 Depth=1
## => This Inner Loop Header: Depth=2
decl %eax
xorps %xmm4, %xmm4
cvtsi2sd %eax, %xmm4
cmpl %r14d, %ecx
jl LBB3_9
## %bb.10: ## in Loop: Header=BB3_8 Depth=2
movapd %xmm8, %xmm5
movapd %xmm7, %xmm6
jl LBB3_13
jmp LBB3_12
.p2align 4, 0x90
LBB3_9: ## in Loop: Header=BB3_8 Depth=2
movapd %xmm3, %xmm5
subsd %xmm4, %xmm5
addsd %xmm8, %xmm5
movapd %xmm7, %xmm6
jl LBB3_13
LBB3_12: ## in Loop: Header=BB3_8 Depth=2
movapd %xmm8, %xmm6
jmp LBB3_13
.p2align 4, 0x90
LBB3_14: ## in Loop: Header=BB3_6 Depth=1
testb $1, %r14b
je LBB3_16
## %bb.15: ## in Loop: Header=BB3_6 Depth=1
xorpd LCPI3_2(%rip), %xmm9
jmp LBB3_16
LBB3_18:
movl $1, _e_series.n(%rip)
jmp LBB3_19
LBB3_4:
xorpd %xmm0, %xmm0
movsd %xmm0, -24(%rbp) ## 8-byte Spill
LBB3_17:
leal 1(%rax), %ecx
movl %ecx, _e_series.n(%rip)
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_pow
mulsd -24(%rbp), %xmm0 ## 8-byte Folded Reload
addsd -40(%rbp), %xmm0 ## 8-byte Folded Reload
LBB3_20:
addq $48, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function bin_fact
LCPI4_0:
.quad 0x3fe0000000000000 ## double 0.5
LCPI4_1:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _bin_fact
.p2align 4, 0x90
_bin_fact: ## @bin_fact
.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
subl %esi, %eax
cmpl $2, %eax
jl LBB4_7
## %bb.1:
cvtsi2sd %edi, %xmm1
movsd LCPI4_0(%rip), %xmm2 ## xmm2 = mem[0],zero
mulsd %xmm1, %xmm2
cvtsi2sd %esi, %xmm0
subsd %xmm0, %xmm2
subsd %xmm0, %xmm1
movsd LCPI4_1(%rip), %xmm3 ## xmm3 = mem[0],zero
xorl %ecx, %ecx
movapd %xmm3, %xmm0
jmp LBB4_3
.p2align 4, 0x90
LBB4_6: ## in Loop: Header=BB4_3 Depth=1
movapd %xmm3, %xmm6
LBB4_2: ## in Loop: Header=BB4_3 Depth=1
mulsd %xmm4, %xmm5
mulsd %xmm2, %xmm6
divsd %xmm5, %xmm6
mulsd %xmm6, %xmm0
leal -1(%rax), %edx
incl %ecx
cmpl $2, %eax
movl %edx, %eax
jbe LBB4_8
LBB4_3: ## =>This Inner Loop Header: Depth=1
xorps %xmm4, %xmm4
cvtsi2sd %eax, %xmm4
cmpl %esi, %ecx
jl LBB4_5
## %bb.4: ## in Loop: Header=BB4_3 Depth=1
movapd %xmm3, %xmm5
movapd %xmm2, %xmm6
jl LBB4_2
jmp LBB4_6
.p2align 4, 0x90
LBB4_5: ## in Loop: Header=BB4_3 Depth=1
movapd %xmm1, %xmm5
subsd %xmm4, %xmm5
addsd %xmm3, %xmm5
movapd %xmm2, %xmm6
jl LBB4_2
jmp LBB4_6
LBB4_7:
movsd LCPI4_1(%rip), %xmm0 ## xmm0 = mem[0],zero
LBB4_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function j_series
LCPI5_0:
.quad 0x3ff0000000000000 ## double 1
LCPI5_1:
.quad 0x4010000000000000 ## double 4
LCPI5_3:
.quad 0x3cb0000000000000 ## double 2.2204460492503131E-16
LCPI5_4:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI5_2:
.quad 0xbff0000000000000 ## double -1
.quad 0x3ff0000000000000 ## double 1
LCPI5_5:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _j_series
.p2align 4, 0x90
_j_series: ## @j_series
.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
testl %edi, %edi
je LBB5_3
## %bb.1:
movl $0, _j_series.n(%rip)
xorpd %xmm2, %xmm2
jmp LBB5_2
LBB5_3:
movl _j_series.n(%rip), %eax
testl %eax, %eax
je LBB5_4
## %bb.5:
movsd %xmm0, -16(%rbp) ## 8-byte Spill
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
mulsd %xmm0, %xmm1
movl %ecx, %edx
andl $3, %edx
cmpl $4, %ecx
jae LBB5_16
## %bb.6:
movsd LCPI5_0(%rip), %xmm3 ## xmm3 = mem[0],zero
movl $1, %esi
jmp LBB5_7
LBB5_4:
movl $1, _j_series.n(%rip)
jmp LBB5_2
LBB5_16:
movl %ecx, %edi
andl $2147483644, %edi ## imm = 0x7FFFFFFC
movsd LCPI5_0(%rip), %xmm3 ## xmm3 = mem[0],zero
movl $1, %esi
.p2align 4, 0x90
LBB5_17: ## =>This Inner Loop Header: Depth=1
xorps %xmm4, %xmm4
cvtsi2sd %esi, %xmm4
addsd %xmm4, %xmm4
movapd %xmm1, %xmm5
divsd %xmm4, %xmm5
mulsd %xmm3, %xmm5
leal 1(%rsi), %r8d
xorps %xmm3, %xmm3
cvtsi2sd %r8d, %xmm3
addsd %xmm3, %xmm3
movapd %xmm1, %xmm4
divsd %xmm3, %xmm4
mulsd %xmm5, %xmm4
leal 2(%rsi), %r8d
xorps %xmm3, %xmm3
cvtsi2sd %r8d, %xmm3
addsd %xmm3, %xmm3
movapd %xmm1, %xmm5
divsd %xmm3, %xmm5
mulsd %xmm4, %xmm5
leal 3(%rsi), %r8d
xorps %xmm4, %xmm4
cvtsi2sd %r8d, %xmm4
addsd %xmm4, %xmm4
movapd %xmm1, %xmm3
divsd %xmm4, %xmm3
mulsd %xmm5, %xmm3
addl $4, %esi
cmpl %edi, %r8d
jne LBB5_17
LBB5_7:
testl %edx, %edx
je LBB5_9
.p2align 4, 0x90
LBB5_8: ## =>This Inner Loop Header: Depth=1
xorps %xmm4, %xmm4
cvtsi2sd %esi, %xmm4
addsd %xmm4, %xmm4
movapd %xmm1, %xmm5
divsd %xmm4, %xmm5
mulsd %xmm5, %xmm3
incl %esi
decl %edx
jne LBB5_8
LBB5_9:
xorps %xmm5, %xmm5
cvtsi2sd %ecx, %xmm5
mulsd %xmm1, %xmm1
movl $1, %edx
movsd LCPI5_1(%rip), %xmm6 ## xmm6 = mem[0],zero
leaq LCPI5_2(%rip), %rsi
movsd LCPI5_3(%rip), %xmm7 ## xmm7 = mem[0],zero
movapd %xmm3, %xmm4
.p2align 4, 0x90
LBB5_10: ## =>This Inner Loop Header: Depth=1
xorps %xmm8, %xmm8
cvtsi2sd %edx, %xmm8
xorl %edi, %edi
testb $1, %dl
movapd %xmm5, %xmm9
addsd %xmm8, %xmm9
mulsd %xmm6, %xmm8
mulsd %xmm9, %xmm8
movapd %xmm1, %xmm9
sete %dil
divsd %xmm8, %xmm9
mulsd %xmm9, %xmm3
movsd (%rsi,%rdi,8), %xmm8 ## xmm8 = mem[0],zero
mulsd %xmm3, %xmm8
incl %edx
ucomisd %xmm7, %xmm3
addsd %xmm8, %xmm4
ja LBB5_10
## %bb.11:
movsd LCPI5_4(%rip), %xmm3 ## xmm3 = mem[0],zero
movapd %xmm4, %xmm1
testb $1, %cl
je LBB5_13
## %bb.12:
movapd LCPI5_5(%rip), %xmm1 ## xmm1 = [-0.0E+0,-0.0E+0]
xorpd %xmm4, %xmm1
LBB5_13:
divsd %xmm0, %xmm3
testl %eax, %eax
js LBB5_15
## %bb.14:
movapd %xmm4, %xmm1
LBB5_15:
mulsd %xmm1, %xmm3
movsd %xmm3, -8(%rbp) ## 8-byte Spill
mulsd %xmm2, %xmm0
callq _libmin_sin
movapd %xmm0, %xmm2
mulsd -8(%rbp), %xmm2 ## 8-byte Folded Reload
incl _j_series.n(%rip)
addsd -16(%rbp), %xmm2 ## 8-byte Folded Reload
LBB5_2:
movapd %xmm2, %xmm0
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function J
LCPI6_0:
.quad 0x3ff0000000000000 ## double 1
LCPI6_1:
.quad 0x4010000000000000 ## double 4
LCPI6_3:
.quad 0x3cb0000000000000 ## double 2.2204460492503131E-16
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI6_2:
.quad 0xbff0000000000000 ## double -1
.quad 0x3ff0000000000000 ## double 1
LCPI6_4:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _J
.p2align 4, 0x90
_J: ## @J
.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
negl %eax
cmovsl %edi, %eax
jae LBB6_1
## %bb.2:
cmpl $1, %eax
movl %eax, %esi
adcl $0, %esi
movl %esi, %ecx
andl $3, %ecx
cmpl $4, %esi
jae LBB6_13
## %bb.3:
movsd LCPI6_0(%rip), %xmm1 ## xmm1 = mem[0],zero
movl $1, %edx
jmp LBB6_4
LBB6_1:
movsd LCPI6_0(%rip), %xmm1 ## xmm1 = mem[0],zero
jmp LBB6_6
LBB6_13:
andl $2147483644, %esi ## imm = 0x7FFFFFFC
movsd LCPI6_0(%rip), %xmm1 ## xmm1 = mem[0],zero
movl $1, %edx
.p2align 4, 0x90
LBB6_14: ## =>This Inner Loop Header: Depth=1
xorps %xmm2, %xmm2
cvtsi2sd %edx, %xmm2
addsd %xmm2, %xmm2
movapd %xmm0, %xmm3
divsd %xmm2, %xmm3
mulsd %xmm1, %xmm3
leal 1(%rdx), %r8d
xorps %xmm1, %xmm1
cvtsi2sd %r8d, %xmm1
addsd %xmm1, %xmm1
movapd %xmm0, %xmm2
divsd %xmm1, %xmm2
mulsd %xmm3, %xmm2
leal 2(%rdx), %r8d
xorps %xmm1, %xmm1
cvtsi2sd %r8d, %xmm1
addsd %xmm1, %xmm1
movapd %xmm0, %xmm3
divsd %xmm1, %xmm3
mulsd %xmm2, %xmm3
leal 3(%rdx), %r8d
xorps %xmm2, %xmm2
cvtsi2sd %r8d, %xmm2
addsd %xmm2, %xmm2
movapd %xmm0, %xmm1
divsd %xmm2, %xmm1
mulsd %xmm3, %xmm1
addl $4, %edx
cmpl %esi, %r8d
jne LBB6_14
LBB6_4:
testl %ecx, %ecx
je LBB6_6
.p2align 4, 0x90
LBB6_5: ## =>This Inner Loop Header: Depth=1
xorps %xmm2, %xmm2
cvtsi2sd %edx, %xmm2
addsd %xmm2, %xmm2
movapd %xmm0, %xmm3
divsd %xmm2, %xmm3
mulsd %xmm3, %xmm1
incl %edx
decl %ecx
jne LBB6_5
LBB6_6:
xorps %xmm3, %xmm3
cvtsi2sd %eax, %xmm3
mulsd %xmm0, %xmm0
movl $1, %ecx
movsd LCPI6_1(%rip), %xmm4 ## xmm4 = mem[0],zero
leaq LCPI6_2(%rip), %rdx
movsd LCPI6_3(%rip), %xmm5 ## xmm5 = mem[0],zero
movapd %xmm1, %xmm2
.p2align 4, 0x90
LBB6_7: ## =>This Inner Loop Header: Depth=1
xorps %xmm6, %xmm6
cvtsi2sd %ecx, %xmm6
xorl %esi, %esi
testb $1, %cl
movapd %xmm3, %xmm7
addsd %xmm6, %xmm7
mulsd %xmm4, %xmm6
mulsd %xmm7, %xmm6
movapd %xmm0, %xmm7
sete %sil
divsd %xmm6, %xmm7
mulsd %xmm7, %xmm1
movsd (%rdx,%rsi,8), %xmm6 ## xmm6 = mem[0],zero
mulsd %xmm1, %xmm6
incl %ecx
ucomisd %xmm5, %xmm1
addsd %xmm6, %xmm2
ja LBB6_7
## %bb.8:
movapd %xmm2, %xmm0
testb $1, %al
jne LBB6_9
## %bb.10:
testl %edi, %edi
jns LBB6_11
LBB6_12:
popq %rbp
retq
LBB6_9:
movapd LCPI6_4(%rip), %xmm0 ## xmm0 = [-0.0E+0,-0.0E+0]
xorpd %xmm2, %xmm0
testl %edi, %edi
js LBB6_12
LBB6_11:
movapd %xmm2, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function main
LCPI7_0:
.quad 0x3cb0000000000000 ## double 2.2204460492503131E-16
LCPI7_1:
.quad 0x3fe53531aff10c01 ## double 0.66274341930000003
LCPI7_2:
.quad 0x3ff0000000000000 ## double 1
LCPI7_3:
.quad 0x401921fb54442eea ## double 6.2831853071800001
LCPI7_4:
.quad 0x400921fb54442eea ## double 3.1415926535900001
LCPI7_6:
.quad 0x3ff921fb54442eea ## double 1.570796326795
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI7_5:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _argv+8(%rip), %rdi
movl $1, %r14d
cmpb $45, (%rdi)
jne LBB7_15
## %bb.1:
movl $1, %r14d
leaq _argv+8(%rip), %r13
movabsq $4294967296, %rdx ## imm = 0x100000000
leaq _argv(%rip), %rcx
leaq L_.str.5(%rip), %r12
movl $1, %eax
LBB7_2: ## =>This Loop Header: Depth=1
## Child Loop BB7_4 Depth 2
movq %r14, -64(%rbp) ## 8-byte Spill
movslq %eax, %r15
leaq (%rcx,%r15,8), %rcx
addq $16, %rcx
shlq $32, %r15
addq %rdx, %r15
movl %eax, %ebx
jmp LBB7_4
.p2align 4, 0x90
LBB7_3: ## in Loop: Header=BB7_4 Depth=2
movq (%r14), %rdi
movabsq $8589934592, %rax ## imm = 0x200000000
addq %rax, %r15
addl $2, %ebx
leaq 16(%r14), %rcx
cmpb $45, (%rdi)
movq %r14, %r13
jne LBB7_16
LBB7_4: ## Parent Loop BB7_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %rcx, %r14
movq %r12, %rsi
callq _libmin_strcmp
testl %eax, %eax
jne LBB7_6
## %bb.5: ## in Loop: Header=BB7_4 Depth=2
leaq L_.str.6(%rip), %rdi
leaq L_.str.7(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
LBB7_6: ## in Loop: Header=BB7_4 Depth=2
movq (%r13), %rdi
leaq L_.str.8(%rip), %rsi
callq _libmin_strcmp
testl %eax, %eax
jne LBB7_8
## %bb.7: ## in Loop: Header=BB7_4 Depth=2
leaq L_.str.6(%rip), %rdi
leaq L_.str.9(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
LBB7_8: ## in Loop: Header=BB7_4 Depth=2
movq (%r13), %rdi
leaq L_.str.10(%rip), %rsi
callq _libmin_strcmp
testl %eax, %eax
jne LBB7_11
## %bb.9: ## in Loop: Header=BB7_4 Depth=2
movq -8(%r14), %rdi
callq _libmin_atof
movsd %xmm0, _derror(%rip)
movsd LCPI7_0(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jb LBB7_3
## %bb.10: ## in Loop: Header=BB7_4 Depth=2
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB7_3
.p2align 4, 0x90
LBB7_11: ## in Loop: Header=BB7_2 Depth=1
movq (%r13), %rdi
leaq L_.str.1(%rip), %rsi
callq _libmin_strcmp
testl %eax, %eax
jne LBB7_32
## %bb.12: ## in Loop: Header=BB7_2 Depth=1
sarq $29, %r15
leaq _argv(%rip), %r12
movq (%r15,%r12), %rdi
callq _libmin_atoi
movl %eax, %r14d
addl $-6, %eax
cmpl $-6, %eax
jbe LBB7_33
## %bb.13: ## in Loop: Header=BB7_2 Depth=1
leal 2(%rbx), %eax
movslq %eax, %rcx
leaq (%r12,%rcx,8), %r13
movq (%r12,%rcx,8), %rdi
cmpb $45, (%rdi)
movabsq $4294967296, %rdx ## imm = 0x100000000
movq %r12, %rcx
leaq L_.str.5(%rip), %r12
je LBB7_2
## %bb.14:
addl $2, %ebx
jmp LBB7_17
LBB7_15:
movl $1, %ebx
jmp LBB7_17
LBB7_16:
movq -64(%rbp), %r14 ## 8-byte Reload
LBB7_17:
leal 2(%rbx), %eax
cmpl _argc(%rip), %eax
jle LBB7_19
LBB7_18:
leaq L_.str.6(%rip), %rdi
leaq L_.str.14(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
jmp LBB7_30
LBB7_19:
callq _libmin_atof
movsd %xmm0, -64(%rbp) ## 8-byte Spill
movslq %ebx, %rax
leaq _argv(%rip), %rcx
movq 8(%rcx,%rax,8), %rdi
callq _libmin_atof
movapd %xmm0, %xmm1
leal -1(%r14), %eax
leaq _methods(%rip), %rcx
movq (%rcx,%rax,8), %r15
cmpl $4, %r14d
jne LBB7_22
## %bb.20:
ucomisd LCPI7_1(%rip), %xmm1
jbe LBB7_22
## %bb.21:
leaq L_.str.15(%rip), %rdi
movsd LCPI7_1(%rip), %xmm0 ## xmm0 = mem[0],zero
jmp LBB7_29
LBB7_22:
xorpd %xmm0, %xmm0
ucomisd %xmm1, %xmm0
ja LBB7_28
## %bb.23:
ucomisd LCPI7_2(%rip), %xmm1
jae LBB7_28
## %bb.24:
movsd -64(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, -88(%rbp) ## 8-byte Spill
callq _libmin_fabs
movsd LCPI7_3(%rip), %xmm1 ## xmm1 = mem[0],zero
divsd %xmm1, %xmm0
movapd %xmm0, -80(%rbp) ## 16-byte Spill
callq _libmin_floor
movapd -80(%rbp), %xmm2 ## 16-byte Reload
subsd %xmm0, %xmm2
addsd %xmm2, %xmm2
movsd LCPI7_4(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm2
movapd LCPI7_5(%rip), %xmm0 ## xmm0 = [-0.0E+0,-0.0E+0]
xorpd %xmm2, %xmm0
xorpd %xmm3, %xmm3
cmpltsd -64(%rbp), %xmm3 ## 8-byte Folded Reload
andpd %xmm3, %xmm2
andnpd %xmm0, %xmm3
orpd %xmm2, %xmm3
movsd LCPI7_3(%rip), %xmm0 ## xmm0 = mem[0],zero
subsd %xmm3, %xmm0
movapd %xmm1, -112(%rbp) ## 16-byte Spill
movapd %xmm1, %xmm2
cmpltsd %xmm3, %xmm2
andpd %xmm2, %xmm0
movapd %xmm3, -80(%rbp) ## 16-byte Spill
andnpd %xmm3, %xmm2
orpd %xmm0, %xmm2
movsd LCPI7_6(%rip), %xmm0 ## xmm0 = mem[0],zero
xorl %ebx, %ebx
movsd -88(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movapd %xmm2, -128(%rbp) ## 16-byte Spill
xorl %edi, %edi
callq *%r15
movapd %xmm0, %xmm1
movapd %xmm0, -64(%rbp) ## 16-byte Spill
movsd LCPI7_6(%rip), %xmm0 ## xmm0 = mem[0],zero
subsd %xmm1, %xmm0
callq _libmin_fabs
movapd -64(%rbp), %xmm1 ## 16-byte Reload
ucomisd _derror(%rip), %xmm0
jb LBB7_27
## %bb.25:
movl $1, %esi
movapd -112(%rbp), %xmm0 ## 16-byte Reload
cmpltsd -80(%rbp), %xmm0 ## 16-byte Folded Reload
movapd %xmm0, -112(%rbp) ## 16-byte Spill
leaq L_.str.17(%rip), %r14
.p2align 4, 0x90
LBB7_26: ## =>This Inner Loop Header: Depth=1
leal 1(%rsi), %r12d
movapd %xmm1, %xmm2
movapd %xmm1, -64(%rbp) ## 16-byte Spill
xorpd LCPI7_5(%rip), %xmm1
movapd -112(%rbp), %xmm0 ## 16-byte Reload
andpd %xmm0, %xmm1
andnpd %xmm2, %xmm0
orpd %xmm1, %xmm0
movq %r14, %rdi
## kill: def $esi killed $esi killed $rsi
movb $1, %al
callq _libmin_printf
movapd -64(%rbp), %xmm0 ## 16-byte Reload
movsd -88(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movapd -128(%rbp), %xmm2 ## 16-byte Reload
xorl %edi, %edi
callq *%r15
movapd %xmm0, %xmm1
movsd %xmm0, -80(%rbp) ## 8-byte Spill
movapd -64(%rbp), %xmm0 ## 16-byte Reload
subsd %xmm1, %xmm0
callq _libmin_fabs
ucomisd _derror(%rip), %xmm0
movsd -80(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movl %r12d, %esi
jae LBB7_26
LBB7_27:
callq _libmin_success
jmp LBB7_31
LBB7_28:
leaq L_.str.16(%rip), %rdi
movapd %xmm1, %xmm0
LBB7_29:
movb $1, %al
callq _libmin_printf
LBB7_30:
movl $1, %ebx
LBB7_31:
movl %ebx, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB7_32:
movq (%r13), %rsi
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB7_18
LBB7_33:
leaq L_.str.12(%rip), %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _libmin_printf
jmp LBB7_30
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function kepler
LCPI8_0:
.quad 0x3fe53531aff10c01 ## double 0.66274341930000003
LCPI8_1:
.quad 0x3ff0000000000000 ## double 1
LCPI8_2:
.quad 0x401921fb54442eea ## double 6.2831853071800001
LCPI8_3:
.quad 0x400921fb54442eea ## double 3.1415926535900001
LCPI8_6:
.quad 0xbff0000000000000 ## double -1
LCPI8_7:
.quad 0x3ff921fb54442eea ## double 1.570796326795
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI8_4:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
LCPI8_5:
.quad 0xbff0000000000000 ## double -1
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _kepler
.p2align 4, 0x90
_kepler: ## @kepler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $64, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $-1, %r14d
cmpl $4, %esi
ja LBB8_12
## %bb.1:
movq %rdi, %rbx
movl %esi, %eax
leaq _methods(%rip), %rcx
movq (%rcx,%rax,8), %r15
ucomisd LCPI8_0(%rip), %xmm1
jbe LBB8_3
## %bb.2:
cmpl $3, %esi
je LBB8_12
LBB8_3:
xorpd %xmm3, %xmm3
ucomisd %xmm1, %xmm3
ja LBB8_12
## %bb.4:
ucomisd LCPI8_1(%rip), %xmm1
jae LBB8_12
## %bb.5:
movsd %xmm1, -48(%rbp) ## 8-byte Spill
movsd %xmm2, -56(%rbp) ## 8-byte Spill
movsd %xmm0, -40(%rbp) ## 8-byte Spill
callq _libmin_fabs
divsd LCPI8_2(%rip), %xmm0
movapd %xmm0, -80(%rbp) ## 16-byte Spill
callq _libmin_floor
movapd -80(%rbp), %xmm3 ## 16-byte Reload
subsd %xmm0, %xmm3
addsd %xmm3, %xmm3
movsd LCPI8_3(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm0, %xmm3
movapd LCPI8_4(%rip), %xmm1 ## xmm1 = [-0.0E+0,-0.0E+0]
xorpd %xmm3, %xmm1
xorpd %xmm2, %xmm2
xorpd %xmm0, %xmm0
cmpltsd -40(%rbp), %xmm0 ## 8-byte Folded Reload
andpd %xmm0, %xmm3
andnpd %xmm1, %xmm0
orpd %xmm3, %xmm0
xorl %r14d, %r14d
ucomisd %xmm2, %xmm0
seta %r12b
callq _libmin_fabs
movsd LCPI8_3(%rip), %xmm3 ## xmm3 = mem[0],zero
ucomisd %xmm3, %xmm0
ja LBB8_6
## %bb.7:
movapd %xmm0, %xmm2
jmp LBB8_8
LBB8_6:
movsd LCPI8_2(%rip), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm0, %xmm2
LBB8_8:
movb %r12b, %r14b
leaq LCPI8_5(%rip), %rax
movsd (%rax,%r14,8), %xmm1 ## xmm1 = mem[0],zero
cmpltsd %xmm0, %xmm3
movapd %xmm3, %xmm0
andnpd %xmm1, %xmm0
movsd LCPI8_6(%rip), %xmm1 ## xmm1 = mem[0],zero
andpd %xmm3, %xmm1
orpd %xmm0, %xmm1
movapd %xmm1, -96(%rbp) ## 16-byte Spill
movsd LCPI8_7(%rip), %xmm0 ## xmm0 = mem[0],zero
xorl %r14d, %r14d
movsd -48(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd %xmm2, -80(%rbp) ## 8-byte Spill
xorl %edi, %edi
callq *%r15
movsd %xmm0, (%rbx)
movsd LCPI8_7(%rip), %xmm1 ## xmm1 = mem[0],zero
subsd %xmm0, %xmm1
movapd %xmm1, %xmm0
callq _libmin_fabs
ucomisd -56(%rbp), %xmm0 ## 8-byte Folded Reload
jb LBB8_11
## %bb.9:
xorl %r14d, %r14d
.p2align 4, 0x90
LBB8_10: ## =>This Inner Loop Header: Depth=1
movsd (%rbx), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp) ## 8-byte Spill
incl %r14d
movsd -48(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd -80(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
xorl %edi, %edi
callq *%r15
movsd %xmm0, (%rbx)
movsd -40(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
subsd %xmm0, %xmm1
movapd %xmm1, %xmm0
callq _libmin_fabs
ucomisd -56(%rbp), %xmm0 ## 8-byte Folded Reload
jae LBB8_10
LBB8_11:
movapd -96(%rbp), %xmm0 ## 16-byte Reload
mulsd (%rbx), %xmm0
movsd %xmm0, (%rbx)
xorpd %xmm0, %xmm0
xorpd %xmm1, %xmm1
xorpd %xmm2, %xmm2
movl $1, %edi
callq *%r15
LBB8_12:
movl %r14d, %eax
addq $64, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 3, 0x0 ## @binary.scale
_binary.scale:
.quad 0x3fe921fb54442eea ## double 0.78539816339750002
.zerofill __DATA,__bss,_e_series.n,4,2 ## @e_series.n
.zerofill __DATA,__bss,_j_series.n,4,2 ## @j_series.n
.globl _argc ## @argc
.p2align 2, 0x0
_argc:
.long 5 ## 0x5
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "kepler"
L_.str.1: ## @.str.1
.asciz "-m"
L_.str.2: ## @.str.2
.asciz "3"
L_.str.3: ## @.str.3
.asciz "0.34"
L_.str.4: ## @.str.4
.asciz "0.25"
.section __DATA,__data
.globl _argv ## @argv
.p2align 4, 0x0
_argv:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.section __TEXT,__cstring,cstring_literals
L_.str.5: ## @.str.5
.asciz "-h"
L_.str.6: ## @.str.6
.asciz "%s\n"
L_.str.7: ## @.str.7
.asciz "kepler [-h -v -a <.nnnn...> -m <k>] M e\n-h: print this helpful message\n-v: print version number and exit\n-a: obtain solution to accuracy of < .nnnn (default .0000001)\n-m: use selected calculation method k, where\n\tk = 1: Simple iteration.\n\tk = 2: Newton's method.\n\tk = 3: Binary search.\n\tk = 4: Series in powers of e. (e<.6627434193.)\n\tk = 5: Fourier Bessel series.\nM = mean anomaly (radians)\ne = orbit eccentricty."
L_.str.8: ## @.str.8
.asciz "-v"
L_.str.9: ## @.str.9
.asciz "1.11"
L_.str.10: ## @.str.10
.asciz "-a"
.section __DATA,__data
.p2align 3, 0x0 ## @derror
_derror:
.quad 0x3eb0c6f7a0b5ed8d ## double 9.9999999999999995E-7
.section __TEXT,__cstring,cstring_literals
L_.str.11: ## @.str.11
.asciz "Warning: requested precision may exceed implementation limit.\n"
L_.str.12: ## @.str.12
.asciz "Bad method number %d\n"
L_.str.13: ## @.str.13
.asciz "kepler: Unknown option %s\n"
L_.str.14: ## @.str.14
.asciz "kepler [-h -v -a <.nnnn...> -m <k>] M e"
.section __DATA,__const
.p2align 4, 0x0 ## @methods
_methods:
.quad _strict_iteration
.quad _newton
.quad _binary
.quad _e_series
.quad _j_series
.section __TEXT,__cstring,cstring_literals
L_.str.15: ## @.str.15
.asciz "e cannot exceed %f for this method.\n"
L_.str.16: ## @.str.16
.asciz "Eccentricity %f out of range.\n"
L_.str.17: ## @.str.17
.asciz "n = %d\tE = %f\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _strict_iteration ; -- Begin function strict_iteration
.p2align 2
_strict_iteration: ; @strict_iteration
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset b8, -24
.cfi_offset b9, -32
fmov d8, d2
fmov d9, d1
bl _libmin_sin
fmadd d0, d9, d0, d8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _newton ; -- Begin function newton
.p2align 2
_newton: ; @newton
.cfi_startproc
; %bb.0:
stp d11, d10, [sp, #-48]! ; 16-byte Folded Spill
stp d9, d8, [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 b8, -24
.cfi_offset b9, -32
.cfi_offset b10, -40
.cfi_offset b11, -48
fmov d8, d2
fmov d9, d1
fmov d10, d0
bl _libmin_sin
fmadd d0, d9, d0, d8
fsub d8, d0, d10
fmov d0, d10
bl _libmin_cos
fmov d1, #1.00000000
fmsub d0, d9, d0, d1
fdiv d0, d8, d0
fadd d0, d0, d10
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _binary ; -- Begin function binary
.p2align 2
_binary: ; @binary
.cfi_startproc
; %bb.0:
stp d11, d10, [sp, #-64]! ; 16-byte Folded Spill
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
.cfi_offset b10, -56
.cfi_offset b11, -64
adrp x19, _binary.scale@PAGE
cbz w0, LBB2_2
; %bb.1:
movi d0, #0000000000000000
mov x8, #12010 ; =0x2eea
movk x8, #21572, lsl #16
movk x8, #8699, lsl #32
movk x8, #16361, lsl #48
fmov d1, x8
b LBB2_3
LBB2_2:
fmov d9, d2
fmov d10, d1
fmov d8, d0
bl _libmin_sin
fmsub d0, d10, d0, d8
ldr d1, [x19, _binary.scale@PAGEOFF]
fneg d2, d1
fcmp d0, d9
fcsel d0, d1, d2, mi
fadd d0, d0, d8
fmov d2, #0.50000000
fmul d1, d1, d2
LBB2_3:
str d1, [x19, _binary.scale@PAGEOFF]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _e_series ; -- Begin function e_series
.p2align 2
_e_series: ; @e_series
.cfi_startproc
; %bb.0:
stp d15, d14, [sp, #-112]! ; 16-byte Folded Spill
stp d13, d12, [sp, #16] ; 16-byte Folded Spill
stp d11, d10, [sp, #32] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
.cfi_offset b10, -72
.cfi_offset b11, -80
.cfi_offset b12, -88
.cfi_offset b13, -96
.cfi_offset b14, -104
.cfi_offset b15, -112
cbz w0, LBB3_3
; %bb.1:
adrp x8, _e_series.n@PAGE
str wzr, [x8, _e_series.n@PAGEOFF]
movi d10, #0000000000000000
LBB3_2:
fmov d0, d10
b LBB3_13
LBB3_3:
fmov d10, d2
adrp x19, _e_series.n@PAGE
ldr w8, [x19, _e_series.n@PAGEOFF]
cbz w8, LBB3_10
; %bb.4:
fmov d9, d1
fmov d8, d0
tbnz w8, #31, LBB3_11
; %bb.5:
mov w20, #0 ; =0x0
movi d11, #0000000000000000
mov w21, #1 ; =0x1
fmov d12, #-2.00000000
fmov d13, #0.50000000
fmov d14, #1.00000000
b LBB3_7
LBB3_6: ; in Loop: Header=BB3_7 Depth=1
fmadd d0, d1, d12, d0
fneg d1, d2
tst w20, #0x1
fcsel d15, d2, d1, eq
fmul d0, d0, d10
bl _libmin_sin
fmadd d11, d15, d0, d11
add w20, w20, #1
ldr w8, [x19, _e_series.n@PAGEOFF]
sub w21, w21, #1
cmp w8, w20, lsl #1
b.lt LBB3_12
LBB3_7: ; =>This Loop Header: Depth=1
; Child Loop BB3_9 Depth 2
scvtf d0, w8
scvtf d1, w20
sub w9, w8, w20
fmov d2, #1.00000000
cmp w9, #2
b.lt LBB3_6
; %bb.8: ; in Loop: Header=BB3_7 Depth=1
mov w9, #0 ; =0x0
fmul d2, d0, d13
fsub d3, d2, d1
fsub d4, d0, d1
add w8, w8, w21
fmov d2, #1.00000000
LBB3_9: ; Parent Loop BB3_7 Depth=1
; => This Inner Loop Header: Depth=2
sub w8, w8, #1
scvtf d5, w8
fsub d6, d4, d5
fadd d6, d6, d14
cmp w9, w20
fcsel d6, d6, d14, lt
fmul d5, d6, d5
fcsel d6, d3, d14, lt
fmul d6, d3, d6
fdiv d5, d6, d5
fmul d2, d2, d5
add w9, w9, #1
cmp w8, #2
b.hi LBB3_9
b LBB3_6
LBB3_10:
mov w8, #1 ; =0x1
str w8, [x19, _e_series.n@PAGEOFF]
b LBB3_2
LBB3_11:
movi d11, #0000000000000000
LBB3_12:
add w9, w8, #1
str w9, [x19, _e_series.n@PAGEOFF]
scvtf d1, w8
fmov d0, d9
bl _libmin_pow
fmadd d0, d0, d11, d8
LBB3_13:
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 d9, d8, [sp, #48] ; 16-byte Folded Reload
ldp d11, d10, [sp, #32] ; 16-byte Folded Reload
ldp d13, d12, [sp, #16] ; 16-byte Folded Reload
ldp d15, d14, [sp], #112 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _bin_fact ; -- Begin function bin_fact
.p2align 2
_bin_fact: ; @bin_fact
.cfi_startproc
; %bb.0:
sub w8, w0, w1
fmov d0, #1.00000000
cmp w8, #2
b.lt LBB4_3
; %bb.1:
mov w9, #0 ; =0x0
scvtf d0, w0
fmov d1, #0.50000000
fmul d1, d0, d1
scvtf d2, w1
fsub d1, d1, d2
fsub d2, d0, d2
fmov d3, #1.00000000
fmov d0, #1.00000000
LBB4_2: ; =>This Inner Loop Header: Depth=1
scvtf d4, w8
fsub d5, d2, d4
fadd d5, d5, d3
cmp w9, w1
fcsel d5, d5, d3, lt
fmul d4, d5, d4
fcsel d5, d1, d3, lt
fmul d5, d1, d5
fdiv d4, d5, d4
fmul d0, d0, d4
sub w10, w8, #1
add w9, w9, #1
cmp w8, #2
mov x8, x10
b.hi LBB4_2
LBB4_3:
ret
.cfi_endproc
; -- End function
.globl _j_series ; -- Begin function j_series
.p2align 2
_j_series: ; @j_series
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset b8, -40
.cfi_offset b9, -48
cbz w0, LBB5_2
; %bb.1:
adrp x8, _j_series.n@PAGE
str wzr, [x8, _j_series.n@PAGEOFF]
movi d2, #0000000000000000
b LBB5_9
LBB5_2:
adrp x19, _j_series.n@PAGE
ldr w8, [x19, _j_series.n@PAGEOFF]
cbz w8, LBB5_8
; %bb.3:
fmov d8, d0
mov w10, #0 ; =0x0
scvtf d0, w8
fmul d4, d0, d1
cmp w8, #0
cneg w9, w8, mi
fmov d1, #1.00000000
LBB5_4: ; =>This Inner Loop Header: Depth=1
add w10, w10, #1
scvtf d3, w10
fadd d3, d3, d3
fdiv d3, d4, d3
fmul d1, d1, d3
cmp w9, w10
b.ne LBB5_4
; %bb.5:
scvtf d3, w9
fmul d4, d4, d4
mov w10, #1 ; =0x1
fmov d6, #-1.00000000
fmov d7, #1.00000000
mov x11, #4372995238176751616 ; =0x3cb0000000000000
fmov d5, d1
fmov d16, #4.00000000
LBB5_6: ; =>This Inner Loop Header: Depth=1
scvtf d17, w10
tst w10, #0x1
fcsel d18, d7, d6, eq
fmul d19, d17, d16
fadd d17, d3, d17
fmul d17, d19, d17
fdiv d17, d4, d17
fmul d1, d1, d17
fmadd d5, d18, d1, d5
add w10, w10, #1
fmov d17, x11
fcmp d1, d17
b.gt LBB5_6
; %bb.7:
fmov d1, #2.00000000
fdiv d1, d1, d0
fneg d3, d5
tst w9, #0x1
fcsel d3, d5, d3, eq
cmp w8, #0
fcsel d3, d3, d5, lt
fmul d9, d1, d3
fmul d0, d0, d2
bl _libmin_sin
fmul d0, d9, d0
ldr w8, [x19, _j_series.n@PAGEOFF]
add w8, w8, #1
str w8, [x19, _j_series.n@PAGEOFF]
fadd d2, d0, d8
b LBB5_9
LBB5_8:
mov w8, #1 ; =0x1
str w8, [x19, _j_series.n@PAGEOFF]
LBB5_9:
fmov d0, d2
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _J ; -- Begin function J
.p2align 2
_J: ; @J
.cfi_startproc
; %bb.0:
cmp w0, #0
cneg w8, w0, mi
fmov d1, #1.00000000
fmov d2, #1.00000000
cbz w0, LBB6_3
; %bb.1:
mov w9, #0 ; =0x0
cmp w8, #1
csinc w10, w8, wzr, hi
LBB6_2: ; =>This Inner Loop Header: Depth=1
add w9, w9, #1
scvtf d3, w9
fadd d3, d3, d3
fdiv d3, d0, d3
fmul d2, d2, d3
cmp w10, w9
b.ne LBB6_2
LBB6_3:
scvtf d3, w8
fmul d0, d0, d0
mov w9, #1 ; =0x1
fmov d5, #-1.00000000
mov x10, #4372995238176751616 ; =0x3cb0000000000000
fmov d6, #4.00000000
fmov d4, d2
LBB6_4: ; =>This Inner Loop Header: Depth=1
scvtf d7, w9
tst w9, #0x1
fcsel d16, d1, d5, eq
fmul d17, d7, d6
fadd d7, d3, d7
fmul d7, d17, d7
fdiv d7, d0, d7
fmul d2, d2, d7
fmadd d4, d16, d2, d4
add w9, w9, #1
fmov d7, x10
fcmp d2, d7
b.gt LBB6_4
; %bb.5:
fneg d0, d4
tst w8, #0x1
fcsel d0, d4, d0, eq
cmp w0, #0
fcsel d0, d0, d4, lt
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #176
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
Lloh0:
adrp x8, _argv@PAGE+8
Lloh1:
ldr x0, [x8, _argv@PAGEOFF+8]
ldrb w8, [x0]
cmp w8, #45
b.ne LBB7_14
; %bb.1:
Lloh2:
adrp x21, _argv@PAGE+8
Lloh3:
add x21, x21, _argv@PAGEOFF+8
mov w19, #1 ; =0x1
mov x9, #4294967296 ; =0x100000000
Lloh4:
adrp x10, _argv@PAGE
Lloh5:
add x10, x10, _argv@PAGEOFF
Lloh6:
adrp x20, l_.str.5@PAGE
Lloh7:
add x20, x20, l_.str.5@PAGEOFF
Lloh8:
adrp x22, l_.str.8@PAGE
Lloh9:
add x22, x22, l_.str.8@PAGEOFF
Lloh10:
adrp x23, l_.str.10@PAGE
Lloh11:
add x23, x23, l_.str.10@PAGEOFF
adrp x28, _derror@PAGE
mov x25, #4372995238176751616 ; =0x3cb0000000000000
mov x27, #8589934592 ; =0x200000000
mov w26, #1 ; =0x1
LBB7_2: ; =>This Loop Header: Depth=1
; Child Loop BB7_4 Depth 2
str x19, [sp, #24] ; 8-byte Folded Spill
sxtw x8, w26
add x24, x9, x8, lsl #32
add x8, x10, w26, sxtw #3
add x8, x8, #16
b LBB7_4
LBB7_3: ; in Loop: Header=BB7_4 Depth=2
mov x8, x19
ldr x0, [x8], #16
ldrb w9, [x0]
add x24, x24, x27
add w26, w26, #2
mov x21, x19
cmp w9, #45
b.ne LBB7_15
LBB7_4: ; Parent Loop BB7_2 Depth=1
; => This Inner Loop Header: Depth=2
mov x19, x8
mov x1, x20
bl _libmin_strcmp
cbnz w0, LBB7_6
; %bb.5: ; in Loop: Header=BB7_4 Depth=2
Lloh12:
adrp x8, l_.str.7@PAGE
Lloh13:
add x8, x8, l_.str.7@PAGEOFF
str x8, [sp]
Lloh14:
adrp x0, l_.str.6@PAGE
Lloh15:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
bl _libmin_success
LBB7_6: ; in Loop: Header=BB7_4 Depth=2
ldr x0, [x21]
mov x1, x22
bl _libmin_strcmp
cbnz w0, LBB7_8
; %bb.7: ; in Loop: Header=BB7_4 Depth=2
Lloh16:
adrp x8, l_.str.9@PAGE
Lloh17:
add x8, x8, l_.str.9@PAGEOFF
str x8, [sp]
Lloh18:
adrp x0, l_.str.6@PAGE
Lloh19:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
bl _libmin_success
LBB7_8: ; in Loop: Header=BB7_4 Depth=2
ldr x0, [x21]
mov x1, x23
bl _libmin_strcmp
cbnz w0, LBB7_11
; %bb.9: ; in Loop: Header=BB7_4 Depth=2
ldur x0, [x19, #-8]
bl _libmin_atof
str d0, [x28, _derror@PAGEOFF]
fmov d1, x25
fcmp d0, d1
b.hi LBB7_3
; %bb.10: ; in Loop: Header=BB7_4 Depth=2
Lloh20:
adrp x0, l_.str.11@PAGE
Lloh21:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_printf
b LBB7_3
LBB7_11: ; in Loop: Header=BB7_2 Depth=1
ldr x0, [x21]
Lloh22:
adrp x1, l_.str.1@PAGE
Lloh23:
add x1, x1, l_.str.1@PAGEOFF
bl _libmin_strcmp
cbnz w0, LBB7_29
; %bb.12: ; in Loop: Header=BB7_2 Depth=1
asr x8, x24, #29
Lloh24:
adrp x24, _argv@PAGE
Lloh25:
add x24, x24, _argv@PAGEOFF
ldr x0, [x24, x8]
bl _libmin_atoi
mov x19, x0
sub w8, w0, #6
cmn w8, #6
b.ls LBB7_30
; %bb.13: ; in Loop: Header=BB7_2 Depth=1
add w26, w26, #2
add x21, x24, w26, sxtw #3
ldr x0, [x21]
ldrb w8, [x0]
cmp w8, #45
mov x9, #4294967296 ; =0x100000000
mov x10, x24
b.eq LBB7_2
b LBB7_16
LBB7_14:
mov w19, #1 ; =0x1
mov w26, #1 ; =0x1
b LBB7_16
LBB7_15:
ldr x19, [sp, #24] ; 8-byte Folded Reload
LBB7_16:
add w8, w26, #2
Lloh26:
adrp x9, _argc@PAGE
Lloh27:
ldr w9, [x9, _argc@PAGEOFF]
cmp w8, w9
b.le LBB7_18
LBB7_17:
Lloh28:
adrp x8, l_.str.14@PAGE
Lloh29:
add x8, x8, l_.str.14@PAGEOFF
str x8, [sp]
Lloh30:
adrp x0, l_.str.6@PAGE
Lloh31:
add x0, x0, l_.str.6@PAGEOFF
b LBB7_23
LBB7_18:
bl _libmin_atof
fmov d9, d0
Lloh32:
adrp x8, _argv@PAGE
Lloh33:
add x8, x8, _argv@PAGEOFF
add x8, x8, w26, sxtw #3
ldr x0, [x8, #8]
bl _libmin_atof
fmov d8, d0
sub w8, w19, #1
Lloh34:
adrp x9, _methods@PAGE
Lloh35:
add x9, x9, _methods@PAGEOFF
ldr x20, [x9, w8, uxtw #3]
cmp w19, #4
b.ne LBB7_21
; %bb.19:
mov x8, #3073 ; =0xc01
movk x8, #45041, lsl #16
movk x8, #13617, lsl #32
movk x8, #16357, lsl #48
fmov d0, x8
fcmp d8, d0
b.le LBB7_21
; %bb.20:
str x8, [sp]
Lloh36:
adrp x0, l_.str.15@PAGE
Lloh37:
add x0, x0, l_.str.15@PAGEOFF
b LBB7_23
LBB7_21:
fcmp d8, #0.0
fmov d0, #1.00000000
fccmp d8, d0, #0, pl
b.lt LBB7_25
; %bb.22:
str d8, [sp]
Lloh38:
adrp x0, l_.str.16@PAGE
Lloh39:
add x0, x0, l_.str.16@PAGEOFF
LBB7_23:
bl _libmin_printf
mov w0, #1 ; =0x1
LBB7_24:
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
add sp, sp, #176
ret
LBB7_25:
fmov d0, d9
bl _libmin_fabs
mov x8, #12010 ; =0x2eea
movk x8, #21572, lsl #16
movk x8, #8699, lsl #32
movk x8, #16409, lsl #48
fmov d11, x8
fdiv d10, d0, d11
fmov d0, d10
bl _libmin_floor
fsub d0, d10, d0
fadd d0, d0, d0
mov x8, #12010 ; =0x2eea
movk x8, #21572, lsl #16
movk x8, #8699, lsl #32
movk x8, #16393, lsl #48
fmov d1, x8
fmul d2, d0, d1
fnmul d0, d0, d1
fcmp d9, #0.0
fcsel d12, d2, d0, gt
fsub d0, d11, d12
fcmp d12, d1
fcsel d9, d0, d12, gt
mov x8, #12010 ; =0x2eea
movk x8, #21572, lsl #16
movk x8, #8699, lsl #32
movk x8, #16377, lsl #48
fmov d11, x8
fmov d0, d11
fmov d1, d8
fmov d2, d9
mov w0, #0 ; =0x0
blr x20
fmov d10, d0
fsub d0, d11, d0
bl _libmin_fabs
adrp x21, _derror@PAGE
ldr d1, [x21, _derror@PAGEOFF]
fcmp d0, d1
b.lt LBB7_28
; %bb.26:
mov w8, #1 ; =0x1
mov x22, #12010 ; =0x2eea
movk x22, #21572, lsl #16
movk x22, #8699, lsl #32
movk x22, #16393, lsl #48
Lloh40:
adrp x19, l_.str.17@PAGE
Lloh41:
add x19, x19, l_.str.17@PAGEOFF
LBB7_27: ; =>This Inner Loop Header: Depth=1
add w23, w8, #1
fneg d0, d10
fmov d1, x22
fcmp d12, d1
fcsel d0, d0, d10, gt
str x8, [sp]
str d0, [sp, #8]
mov x0, x19
bl _libmin_printf
fmov d0, d10
fmov d1, d8
fmov d2, d9
mov w0, #0 ; =0x0
blr x20
fmov d11, d0
fsub d0, d10, d0
bl _libmin_fabs
ldr d1, [x21, _derror@PAGEOFF]
fcmp d0, d1
fmov d10, d11
mov x8, x23
b.ge LBB7_27
LBB7_28:
bl _libmin_success
mov w0, #0 ; =0x0
b LBB7_24
LBB7_29:
ldr x8, [x21]
str x8, [sp]
Lloh42:
adrp x0, l_.str.13@PAGE
Lloh43:
add x0, x0, l_.str.13@PAGEOFF
bl _libmin_printf
b LBB7_17
LBB7_30:
str x19, [sp]
Lloh44:
adrp x0, l_.str.12@PAGE
Lloh45:
add x0, x0, l_.str.12@PAGEOFF
b LBB7_23
.loh AdrpLdr Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdr Lloh26, Lloh27
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.cfi_endproc
; -- End function
.globl _kepler ; -- Begin function kepler
.p2align 2
_kepler: ; @kepler
.cfi_startproc
; %bb.0:
stp d15, d14, [sp, #-112]! ; 16-byte Folded Spill
stp d13, d12, [sp, #16] ; 16-byte Folded Spill
stp d11, d10, [sp, #32] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
.cfi_offset b10, -72
.cfi_offset b11, -80
.cfi_offset b12, -88
.cfi_offset b13, -96
.cfi_offset b14, -104
.cfi_offset b15, -112
cmp w1, #4
b.ls LBB8_2
; %bb.1:
mov w20, #-1 ; =0xffffffff
b LBB8_9
LBB8_2:
fmov d9, d1
fmov d10, d0
mov x8, #3073 ; =0xc01
movk x8, #45041, lsl #16
movk x8, #13617, lsl #32
movk x8, #16357, lsl #48
fmov d0, x8
fcmp d1, d0
mov w20, #-1 ; =0xffffffff
ccmp w1, #3, #0, gt
b.eq LBB8_9
; %bb.3:
fcmp d9, #0.0
b.mi LBB8_9
; %bb.4:
fmov d12, #1.00000000
fcmp d9, d12
b.ge LBB8_9
; %bb.5:
fmov d8, d2
mov x19, x0
Lloh46:
adrp x8, _methods@PAGE
Lloh47:
add x8, x8, _methods@PAGEOFF
ldr x21, [x8, w1, uxtw #3]
fmov d0, d10
bl _libmin_fabs
mov x8, #12010 ; =0x2eea
movk x8, #21572, lsl #16
movk x8, #8699, lsl #32
movk x8, #16409, lsl #48
fmov d13, x8
fdiv d11, d0, d13
fmov d0, d11
bl _libmin_floor
fsub d0, d11, d0
fadd d0, d0, d0
mov x8, #12010 ; =0x2eea
movk x8, #21572, lsl #16
movk x8, #8699, lsl #32
movk x8, #16393, lsl #48
fmov d11, x8
fmul d1, d0, d11
fnmul d0, d0, d11
fcmp d10, #0.0
fcsel d0, d1, d0, gt
fcmp d0, #0.0
fmov d14, #-1.00000000
fcsel d12, d12, d14, gt
bl _libmin_fabs
fsub d1, d13, d0
fcmp d0, d11
fcsel d10, d1, d0, gt
fcsel d12, d14, d12, gt
mov x8, #12010 ; =0x2eea
movk x8, #21572, lsl #16
movk x8, #8699, lsl #32
movk x8, #16377, lsl #48
fmov d11, x8
fmov d0, d11
fmov d1, d9
fmov d2, d10
mov w0, #0 ; =0x0
blr x21
str d0, [x19]
fsub d0, d11, d0
bl _libmin_fabs
mov w20, #0 ; =0x0
fcmp d0, d8
b.lt LBB8_8
; %bb.6:
mov w20, #0 ; =0x0
LBB8_7: ; =>This Inner Loop Header: Depth=1
ldr d11, [x19]
add w20, w20, #1
fmov d0, d11
fmov d1, d9
fmov d2, d10
mov w0, #0 ; =0x0
blr x21
str d0, [x19]
fsub d0, d11, d0
bl _libmin_fabs
fcmp d0, d8
b.ge LBB8_7
LBB8_8:
ldr d0, [x19]
fmul d0, d12, d0
str d0, [x19]
movi d0, #0000000000000000
movi d1, #0000000000000000
movi d2, #0000000000000000
mov w0, #1 ; =0x1
blr x21
LBB8_9:
mov x0, x20
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
ldp d11, d10, [sp, #32] ; 16-byte Folded Reload
ldp d13, d12, [sp, #16] ; 16-byte Folded Reload
ldp d15, d14, [sp], #112 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh46, Lloh47
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 3, 0x0 ; @binary.scale
_binary.scale:
.quad 0x3fe921fb54442eea ; double 0.78539816339750002
.zerofill __DATA,__bss,_e_series.n,4,2 ; @e_series.n
.zerofill __DATA,__bss,_j_series.n,4,2 ; @j_series.n
.globl _argc ; @argc
.p2align 2, 0x0
_argc:
.long 5 ; 0x5
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "kepler"
l_.str.1: ; @.str.1
.asciz "-m"
l_.str.2: ; @.str.2
.asciz "3"
l_.str.3: ; @.str.3
.asciz "0.34"
l_.str.4: ; @.str.4
.asciz "0.25"
.section __DATA,__data
.globl _argv ; @argv
.p2align 3, 0x0
_argv:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.section __TEXT,__cstring,cstring_literals
l_.str.5: ; @.str.5
.asciz "-h"
l_.str.6: ; @.str.6
.asciz "%s\n"
l_.str.7: ; @.str.7
.asciz "kepler [-h -v -a <.nnnn...> -m <k>] M e\n-h: print this helpful message\n-v: print version number and exit\n-a: obtain solution to accuracy of < .nnnn (default .0000001)\n-m: use selected calculation method k, where\n\tk = 1: Simple iteration.\n\tk = 2: Newton's method.\n\tk = 3: Binary search.\n\tk = 4: Series in powers of e. (e<.6627434193.)\n\tk = 5: Fourier Bessel series.\nM = mean anomaly (radians)\ne = orbit eccentricty."
l_.str.8: ; @.str.8
.asciz "-v"
l_.str.9: ; @.str.9
.asciz "1.11"
l_.str.10: ; @.str.10
.asciz "-a"
.section __DATA,__data
.p2align 3, 0x0 ; @derror
_derror:
.quad 0x3eb0c6f7a0b5ed8d ; double 9.9999999999999995E-7
.section __TEXT,__cstring,cstring_literals
l_.str.11: ; @.str.11
.asciz "Warning: requested precision may exceed implementation limit.\n"
l_.str.12: ; @.str.12
.asciz "Bad method number %d\n"
l_.str.13: ; @.str.13
.asciz "kepler: Unknown option %s\n"
l_.str.14: ; @.str.14
.asciz "kepler [-h -v -a <.nnnn...> -m <k>] M e"
.section __DATA,__const
.p2align 3, 0x0 ; @methods
_methods:
.quad _strict_iteration
.quad _newton
.quad _binary
.quad _e_series
.quad _j_series
.section __TEXT,__cstring,cstring_literals
l_.str.15: ; @.str.15
.asciz "e cannot exceed %f for this method.\n"
l_.str.16: ; @.str.16
.asciz "Eccentricity %f out of range.\n"
l_.str.17: ; @.str.17
.asciz "n = %d\tE = %f\n"
.subsections_via_symbols
|
audio-codec.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _encode ## -- Begin function encode
.p2align 4, 0x90
_encode: ## @encode
.cfi_startproc
## %bb.0:
testq %rdx, %rdx
je LBB0_17
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
jmp LBB0_2
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
movl $10, %ecx
movl $112, %r10d
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
## kill: def $cl killed $cl killed $ecx
sarl %cl, %r9d
andl $15, %r9d
orl %r8d, %r10d
orl %r9d, %r10d
xorb $-43, %r10b
movb %r10b, (%rdi,%rax)
incq %rax
cmpq %rax, %rdx
je LBB0_16
LBB0_2: ## =>This Inner Loop Header: Depth=1
movzwl (%rsi,%rax,2), %ecx
movl %ecx, %r8d
shrl $8, %r8d
andl $128, %r8d
movsbl %r8b, %r9d
shrl $7, %r9d
xorl %ecx, %r9d
movswl %r9w, %r9d
testl $16384, %r9d ## imm = 0x4000
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
testl $8192, %r9d ## imm = 0x2000
jne LBB0_5
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
testl $4096, %r9d ## imm = 0x1000
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
testl $2048, %r9d ## imm = 0x800
jne LBB0_9
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
testl $1024, %r9d ## imm = 0x400
jne LBB0_11
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
testl $512, %r9d ## imm = 0x200
jne LBB0_13
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
movl %r9d, %r10d
shrl $4, %r10d
andl $16, %r10d
movl $4, %ecx
jmp LBB0_15
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl $9, %ecx
movl $96, %r10d
jmp LBB0_15
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movl $8, %ecx
movl $80, %r10d
jmp LBB0_15
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl $7, %ecx
movl $64, %r10d
jmp LBB0_15
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movl $6, %ecx
movl $48, %r10d
jmp LBB0_15
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movl $5, %ecx
movl $32, %r10d
jmp LBB0_15
LBB0_16:
popq %rbp
LBB0_17:
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function decode
LCPI1_0:
.byte 213 ## 0xd5
.byte 213 ## 0xd5
.byte 213 ## 0xd5
.byte 213 ## 0xd5
.byte 213 ## 0xd5
.byte 213 ## 0xd5
.byte 213 ## 0xd5
.byte 213 ## 0xd5
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
LCPI1_1:
.long 7 ## 0x7
.long 7 ## 0x7
.long 7 ## 0x7
.long 7 ## 0x7
LCPI1_2:
.long 240 ## 0xf0
.long 240 ## 0xf0
.long 240 ## 0xf0
.long 240 ## 0xf0
LCPI1_3:
.long 256 ## 0x100
.long 256 ## 0x100
.long 256 ## 0x100
.long 256 ## 0x100
LCPI1_4:
.long 8 ## 0x8
.long 8 ## 0x8
.long 8 ## 0x8
.long 8 ## 0x8
LCPI1_5:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
LCPI1_6:
.long 1065353216 ## 0x3f800000
.long 1065353216 ## 0x3f800000
.long 1065353216 ## 0x3f800000
.long 1065353216 ## 0x3f800000
.section __TEXT,__text,regular,pure_instructions
.globl _decode
.p2align 4, 0x90
_decode: ## @decode
.cfi_startproc
## %bb.0:
testq %rdx, %rdx
je LBB1_11
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
cmpq $8, %rdx
jb LBB1_2
## %bb.3:
leaq (%rsi,%rdx), %rcx
cmpq %rdi, %rcx
jbe LBB1_5
## %bb.4:
leaq (%rdi,%rdx,2), %rcx
cmpq %rsi, %rcx
jbe LBB1_5
LBB1_2:
xorl %ecx, %ecx
movq %rdi, %r8
movq %rsi, %r9
LBB1_8:
subq %rcx, %rdx
xorl %esi, %esi
.p2align 4, 0x90
LBB1_9: ## =>This Inner Loop Header: Depth=1
movzbl (%r9,%rsi), %edi
movl %edi, %r10d
xorl $213, %r10d
movl %r10d, %ecx
shrl $4, %ecx
xorl %r11d, %r11d
andl $7, %ecx
setne %r11b
shll $4, %r10d
movzbl %r10b, %r10d
shll $8, %r11d
addl %r11d, %r10d
addl $8, %r10d
subl $1, %ecx
cmovbl %eax, %ecx
## kill: def $cl killed $cl killed $ecx
shll %cl, %r10d
movl %r10d, %ecx
negl %ecx
testb %dil, %dil
cmovsl %r10d, %ecx
movw %cx, (%r8,%rsi,2)
incq %rsi
cmpq %rsi, %rdx
jne LBB1_9
LBB1_10:
popq %rbp
LBB1_11:
retq
LBB1_5:
movq %rdx, %rcx
andq $-8, %rcx
leaq (%rdi,%rcx,2), %r8
leaq (%rsi,%rcx), %r9
xorl %r10d, %r10d
movdqa LCPI1_0(%rip), %xmm0 ## xmm0 = <213,213,213,213,213,213,213,213,u,u,u,u,u,u,u,u>
movdqa LCPI1_1(%rip), %xmm1 ## xmm1 = [7,7,7,7]
movdqa LCPI1_2(%rip), %xmm2 ## xmm2 = [240,240,240,240]
pxor %xmm3, %xmm3
movdqa LCPI1_3(%rip), %xmm4 ## xmm4 = [256,256,256,256]
movdqa LCPI1_4(%rip), %xmm5 ## xmm5 = [8,8,8,8]
movdqa LCPI1_5(%rip), %xmm6 ## xmm6 = [1,1,1,1]
pcmpeqd %xmm7, %xmm7
movdqa LCPI1_6(%rip), %xmm8 ## xmm8 = [1065353216,1065353216,1065353216,1065353216]
.p2align 4, 0x90
LBB1_6: ## =>This Inner Loop Header: Depth=1
movq (%rsi,%r10), %xmm9 ## xmm9 = mem[0],zero
pxor %xmm10, %xmm10
pcmpgtb %xmm9, %xmm10
pxor %xmm0, %xmm9
pmovzxbd %xmm9, %xmm11 ## xmm11 = xmm9[0],zero,zero,zero,xmm9[1],zero,zero,zero,xmm9[2],zero,zero,zero,xmm9[3],zero,zero,zero
pshufd $85, %xmm9, %xmm9 ## xmm9 = xmm9[1,1,1,1]
pmovzxbd %xmm9, %xmm9 ## xmm9 = xmm9[0],zero,zero,zero,xmm9[1],zero,zero,zero,xmm9[2],zero,zero,zero,xmm9[3],zero,zero,zero
movdqa %xmm9, %xmm12
psrld $4, %xmm12
movdqa %xmm11, %xmm13
psrld $4, %xmm13
pand %xmm1, %xmm13
pand %xmm1, %xmm12
pslld $4, %xmm11
pslld $4, %xmm9
pand %xmm2, %xmm9
pand %xmm2, %xmm11
movdqa %xmm12, %xmm14
pcmpgtd %xmm3, %xmm14
pand %xmm4, %xmm14
movdqa %xmm13, %xmm15
pcmpgtd %xmm3, %xmm15
pand %xmm4, %xmm15
por %xmm5, %xmm9
por %xmm14, %xmm9
por %xmm5, %xmm11
por %xmm15, %xmm11
pmaxud %xmm6, %xmm12
paddd %xmm7, %xmm12
pmaxud %xmm6, %xmm13
paddd %xmm7, %xmm13
pslld $23, %xmm13
paddd %xmm8, %xmm13
cvttps2dq %xmm13, %xmm13
pmulld %xmm11, %xmm13
pslld $23, %xmm12
paddd %xmm8, %xmm12
cvttps2dq %xmm12, %xmm11
pmulld %xmm9, %xmm11
pmovsxbd %xmm10, %xmm9
pshufd $85, %xmm10, %xmm10 ## xmm10 = xmm10[1,1,1,1]
pmovsxbd %xmm10, %xmm10
pxor %xmm10, %xmm11
psubd %xmm11, %xmm10
pxor %xmm9, %xmm13
psubd %xmm13, %xmm9
pblendw $170, %xmm3, %xmm9 ## xmm9 = xmm9[0],xmm3[1],xmm9[2],xmm3[3],xmm9[4],xmm3[5],xmm9[6],xmm3[7]
pblendw $170, %xmm3, %xmm10 ## xmm10 = xmm10[0],xmm3[1],xmm10[2],xmm3[3],xmm10[4],xmm3[5],xmm10[6],xmm3[7]
packusdw %xmm10, %xmm9
movdqu %xmm9, (%rdi,%r10,2)
addq $8, %r10
cmpq %r10, %rcx
jne LBB1_6
## %bb.7:
cmpq %rdx, %rcx
jne LBB1_8
jmp LBB1_10
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq -56(%rbp), %rax
xorl %edx, %edx
leaq _pcm(%rip), %rsi
jmp LBB2_1
.p2align 4, 0x90
LBB2_2: ## in Loop: Header=BB2_1 Depth=1
movl $10, %ecx
movl $112, %r9d
LBB2_14: ## in Loop: Header=BB2_1 Depth=1
## kill: def $cl killed $cl killed $ecx
sarl %cl, %r8d
andl $15, %r8d
orl %edi, %r9d
orl %r8d, %r9d
xorb $-43, %r9b
movb %r9b, (%rax)
incq %rax
addq $2, %rdx
cmpq $16, %rdx
je LBB2_15
LBB2_1: ## =>This Inner Loop Header: Depth=1
movzwl (%rdx,%rsi), %ecx
movl %ecx, %edi
shrl $8, %edi
andl $128, %edi
movsbl %dil, %r8d
shrl $7, %r8d
xorl %ecx, %r8d
movswl %r8w, %r8d
testl $16384, %r8d ## imm = 0x4000
jne LBB2_2
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
testl $8192, %r8d ## imm = 0x2000
jne LBB2_4
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
testl $4096, %r8d ## imm = 0x1000
jne LBB2_6
## %bb.7: ## in Loop: Header=BB2_1 Depth=1
testl $2048, %r8d ## imm = 0x800
jne LBB2_8
## %bb.9: ## in Loop: Header=BB2_1 Depth=1
testl $1024, %r8d ## imm = 0x400
jne LBB2_10
## %bb.11: ## in Loop: Header=BB2_1 Depth=1
testl $512, %r8d ## imm = 0x200
jne LBB2_12
## %bb.13: ## in Loop: Header=BB2_1 Depth=1
movl %r8d, %r9d
shrl $4, %r9d
andl $16, %r9d
movl $4, %ecx
jmp LBB2_14
.p2align 4, 0x90
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movl $9, %ecx
movl $96, %r9d
jmp LBB2_14
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movl $8, %ecx
movl $80, %r9d
jmp LBB2_14
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
movl $7, %ecx
movl $64, %r9d
jmp LBB2_14
LBB2_10: ## in Loop: Header=BB2_1 Depth=1
movl $6, %ecx
movl $48, %r9d
jmp LBB2_14
LBB2_12: ## in Loop: Header=BB2_1 Depth=1
movl $5, %ecx
movl $32, %r9d
jmp LBB2_14
LBB2_15:
movzbl -56(%rbp), %r14d
cmpb _r_coded(%rip), %r14b
je LBB2_17
## %bb.16:
movl $1, %edi
callq _libmin_fail
LBB2_17:
movzbl -55(%rbp), %r15d
cmpb _r_coded+1(%rip), %r15b
je LBB2_19
## %bb.18:
movl $1, %edi
callq _libmin_fail
LBB2_19:
movzbl -54(%rbp), %r12d
cmpb _r_coded+2(%rip), %r12b
je LBB2_21
## %bb.20:
movl $1, %edi
callq _libmin_fail
LBB2_21:
movzbl -53(%rbp), %r13d
cmpb _r_coded+3(%rip), %r13b
je LBB2_23
## %bb.22:
movl $1, %edi
callq _libmin_fail
LBB2_23:
movzbl -52(%rbp), %ebx
cmpb _r_coded+4(%rip), %bl
je LBB2_25
## %bb.24:
movl $1, %edi
callq _libmin_fail
LBB2_25:
movzbl -51(%rbp), %eax
movl %eax, -64(%rbp) ## 4-byte Spill
cmpb _r_coded+5(%rip), %al
je LBB2_27
## %bb.26:
movl $1, %edi
callq _libmin_fail
LBB2_27:
movzbl -50(%rbp), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
cmpb _r_coded+6(%rip), %al
je LBB2_29
## %bb.28:
movl $1, %edi
callq _libmin_fail
LBB2_29:
movzbl -49(%rbp), %r8d
cmpb _r_coded+7(%rip), %r8b
je LBB2_31
## %bb.30:
movl $1, %edi
movl %r14d, -60(%rbp) ## 4-byte Spill
movl %r15d, %r14d
movl %r12d, %r15d
movl %r13d, %r12d
movl %ebx, %r13d
movl %r8d, %ebx
callq _libmin_fail
movl %ebx, %r8d
movl %r13d, %ebx
movl %r12d, %r13d
movl %r15d, %r12d
movl %r14d, %r15d
movl -60(%rbp), %r14d ## 4-byte Reload
LBB2_31:
movl %r14d, %eax
xorl $213, %eax
movl %eax, %ecx
shrl $4, %ecx
xorl %edx, %edx
andl $7, %ecx
setne %dl
shll $4, %eax
movzbl %al, %eax
shll $8, %edx
addl %eax, %edx
addl $8, %edx
xorl %eax, %eax
subl $1, %ecx
cmovbl %eax, %ecx
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
movl %edx, %edi
negl %edi
testb %r14b, %r14b
cmovsl %edx, %edi
movl %r15d, %edx
xorl $213, %edx
movl %edx, %ecx
shrl $4, %ecx
xorl %esi, %esi
andl $7, %ecx
setne %sil
shll $4, %edx
movzbl %dl, %edx
shll $8, %esi
addl %esi, %edx
addl $8, %edx
subl $1, %ecx
cmovbl %eax, %ecx
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
negl %ecx
testb %r15b, %r15b
cmovsl %edx, %ecx
movl %ecx, -60(%rbp) ## 4-byte Spill
movl %r12d, %edx
xorl $213, %edx
movl %edx, %ecx
shrl $4, %ecx
xorl %esi, %esi
andl $7, %ecx
setne %sil
shll $4, %edx
movzbl %dl, %edx
shll $8, %esi
addl %esi, %edx
addl $8, %edx
subl $1, %ecx
cmovbl %eax, %ecx
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
negl %ecx
testb %r12b, %r12b
cmovsl %edx, %ecx
movl %ecx, -72(%rbp) ## 4-byte Spill
movl %r13d, %edx
xorl $213, %edx
movl %edx, %ecx
shrl $4, %ecx
xorl %esi, %esi
andl $7, %ecx
setne %sil
shll $4, %edx
movzbl %dl, %edx
shll $8, %esi
addl %esi, %edx
addl $8, %edx
subl $1, %ecx
cmovbl %eax, %ecx
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
movl %edx, %r12d
negl %r12d
testb %r13b, %r13b
cmovsl %edx, %r12d
movl %ebx, %edx
xorl $213, %edx
movl %edx, %ecx
shrl $4, %ecx
xorl %esi, %esi
andl $7, %ecx
setne %sil
shll $4, %edx
movzbl %dl, %edx
shll $8, %esi
addl %esi, %edx
addl $8, %edx
subl $1, %ecx
cmovbl %eax, %ecx
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
movl %edx, %r13d
negl %r13d
testb %bl, %bl
cmovsl %edx, %r13d
movl -64(%rbp), %r9d ## 4-byte Reload
movl %r9d, %edx
xorl $213, %edx
movl %edx, %ecx
shrl $4, %ecx
xorl %esi, %esi
andl $7, %ecx
setne %sil
shll $4, %edx
movzbl %dl, %edx
shll $8, %esi
addl %esi, %edx
addl $8, %edx
subl $1, %ecx
cmovbl %eax, %ecx
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
movl %edx, %ebx
negl %ebx
testb %r9b, %r9b
cmovsl %edx, %ebx
movl -68(%rbp), %r9d ## 4-byte Reload
movl %r9d, %edx
xorl $213, %edx
movl %edx, %ecx
shrl $4, %ecx
xorl %esi, %esi
andl $7, %ecx
setne %sil
shll $4, %edx
movzbl %dl, %edx
shll $8, %esi
addl %esi, %edx
addl $8, %edx
subl $1, %ecx
cmovbl %eax, %ecx
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
movl %edx, %r14d
negl %r14d
testb %r9b, %r9b
cmovsl %edx, %r14d
movl %r8d, %edx
xorl $213, %edx
movl %edx, %ecx
shrl $4, %ecx
xorl %esi, %esi
andl $7, %ecx
setne %sil
shll $4, %edx
movzbl %dl, %edx
shll $8, %esi
addl %esi, %edx
addl $8, %edx
subl $1, %ecx
cmovbl %eax, %ecx
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
movl %edx, %r15d
negl %r15d
testb %r8b, %r8b
cmovsl %edx, %r15d
movl %edi, -68(%rbp) ## 4-byte Spill
cmpw %di, _r_decoded(%rip)
je LBB2_33
## %bb.32:
movl $1, %edi
callq _libmin_fail
LBB2_33:
movl -60(%rbp), %eax ## 4-byte Reload
cmpw %ax, _r_decoded+2(%rip)
je LBB2_35
## %bb.34:
movl $1, %edi
callq _libmin_fail
LBB2_35:
movl -72(%rbp), %eax ## 4-byte Reload
cmpw %ax, _r_decoded+4(%rip)
jne LBB2_36
## %bb.37:
cmpw %r12w, _r_decoded+6(%rip)
jne LBB2_38
LBB2_39:
cmpw %r13w, _r_decoded+8(%rip)
jne LBB2_40
LBB2_41:
cmpw %bx, _r_decoded+10(%rip)
jne LBB2_42
LBB2_43:
cmpw %r14w, _r_decoded+12(%rip)
je LBB2_45
LBB2_44:
movl $1, %edi
callq _libmin_fail
LBB2_45:
movl %r13d, -76(%rbp) ## 4-byte Spill
movl %r12d, -64(%rbp) ## 4-byte Spill
cmpw %r15w, _r_decoded+14(%rip)
je LBB2_47
## %bb.46:
movl $1, %edi
callq _libmin_fail
LBB2_47:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movswl _pcm(%rip), %esi
leaq L_.str.1(%rip), %r12
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movswl _pcm+2(%rip), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movswl _pcm+4(%rip), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movswl _pcm+6(%rip), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movswl _pcm+8(%rip), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movswl _pcm+10(%rip), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movswl _pcm+12(%rip), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movswl _pcm+14(%rip), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movzbl -56(%rbp), %esi
leaq L_.str.4(%rip), %r13
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
movzbl -55(%rbp), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
movzbl -54(%rbp), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
movzbl -53(%rbp), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
movzbl -52(%rbp), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
movzbl -51(%rbp), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
movzbl -50(%rbp), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
movzbl -49(%rbp), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %r13
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rdi
movl -68(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rdi
movl -60(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rdi
movl -72(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rdi
movl -64(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rdi
movl -76(%rbp), %esi ## 4-byte Reload
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _libmin_printf
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB2_49
## %bb.48:
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_36:
movl $1, %edi
callq _libmin_fail
cmpw %r12w, _r_decoded+6(%rip)
je LBB2_39
LBB2_38:
movl $1, %edi
callq _libmin_fail
cmpw %r13w, _r_decoded+8(%rip)
je LBB2_41
LBB2_40:
movl $1, %edi
callq _libmin_fail
cmpw %bx, _r_decoded+10(%rip)
je LBB2_43
LBB2_42:
movl $1, %edi
callq _libmin_fail
cmpw %r14w, _r_decoded+12(%rip)
jne LBB2_44
jmp LBB2_45
LBB2_49:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _pcm ## @pcm
.p2align 4, 0x0
_pcm:
.short 1000 ## 0x3e8
.short 64536 ## 0xfc18
.short 1234 ## 0x4d2
.short 3200 ## 0xc80
.short 64222 ## 0xfade
.short 0 ## 0x0
.short 32767 ## 0x7fff
.short 32768 ## 0x8000
.globl _r_coded ## @r_coded
_r_coded:
.ascii "\372z\346\234a\325\252*"
.globl _r_decoded ## @r_decoded
.p2align 4, 0x0
_r_decoded:
.short 1008 ## 0x3f0
.short 64528 ## 0xfc10
.short 1248 ## 0x4e0
.short 3264 ## 0xcc0
.short 64224 ## 0xfae0
.short 8 ## 0x8
.short 32256 ## 0x7e00
.short 33280 ## 0x8200
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "inputs: "
L_.str.1: ## @.str.1
.asciz "%d "
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "encode: "
L_.str.4: ## @.str.4
.asciz "%u "
L_.str.5: ## @.str.5
.asciz "decode: "
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _encode ; -- Begin function encode
.p2align 2
_encode: ; @encode
.cfi_startproc
; %bb.0:
cbz x2, LBB0_8
; %bb.1:
mov w8, #8 ; =0x8
mov w9, #80 ; =0x50
mov w10, #7 ; =0x7
mov w11, #64 ; =0x40
mov w12, #6 ; =0x6
mov w13, #48 ; =0x30
mov w14, #5 ; =0x5
mov w15, #32 ; =0x20
mov w16, #4 ; =0x4
mov w17, #213 ; =0xd5
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov w5, #10 ; =0xa
mov w6, #112 ; =0x70
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
asr w4, w4, w5
and w4, w4, #0xf
orr w3, w6, w3
orr w3, w4, w3
eor w3, w3, w17
strb w3, [x0], #1
subs x2, x2, #1
b.eq LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrh w4, [x1], #2
lsr w3, w4, #8
and w3, w3, #0x80
lsl w5, w3, #24
eor w4, w4, w5, asr #31
sxth w4, w4
tbnz w4, #14, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
tbnz w4, #13, LBB0_7
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
lsr w5, w4, #4
and w5, w5, #0x10
tst w4, #0x200
csel w5, w15, w5, ne
csel w6, w14, w16, ne
tst w4, #0x400
csel w5, w13, w5, ne
csel w6, w12, w6, ne
tst w4, #0x800
csel w5, w11, w5, ne
csel w7, w10, w6, ne
tst w4, #0x1000
csel w6, w9, w5, ne
csel w5, w8, w7, ne
b LBB0_3
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
mov w5, #9 ; =0x9
mov w6, #96 ; =0x60
b LBB0_3
LBB0_8:
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function decode
lCPI1_0:
.byte 0 ; 0x0
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 1 ; 0x1
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 2 ; 0x2
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 3 ; 0x3
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
lCPI1_1:
.byte 4 ; 0x4
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 5 ; 0x5
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 6 ; 0x6
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 7 ; 0x7
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
lCPI1_2:
.byte 8 ; 0x8
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 9 ; 0x9
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 10 ; 0xa
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 11 ; 0xb
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
lCPI1_3:
.byte 12 ; 0xc
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 13 ; 0xd
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 14 ; 0xe
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 15 ; 0xf
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.section __TEXT,__text,regular,pure_instructions
.globl _decode
.p2align 2
_decode: ; @decode
.cfi_startproc
; %bb.0:
cbz x2, LBB1_7
; %bb.1:
cmp x2, #8
b.lo LBB1_4
; %bb.2:
add x8, x1, x2
cmp x8, x0
b.ls LBB1_8
; %bb.3:
add x8, x0, x2, lsl #1
cmp x8, x1
b.ls LBB1_8
LBB1_4:
mov x8, #0 ; =0x0
mov x11, x0
mov x12, x1
LBB1_5:
sub x8, x2, x8
mov w9, #213 ; =0xd5
mov w10, #7 ; =0x7
LBB1_6: ; =>This Inner Loop Header: Depth=1
ldrb w13, [x12], #1
sxtb w14, w13
eor w13, w13, w9
ands w15, w10, w13, lsr #4
cset w16, ne
lsl w16, w16, #8
bfi w16, w13, #4, #4
orr w13, w16, #0x8
subs w15, w15, #1
csel w15, wzr, w15, lo
lsl w13, w13, w15
cmp w14, #0
cneg w13, w13, ge
strh w13, [x11], #2
subs x8, x8, #1
b.ne LBB1_6
LBB1_7:
ret
LBB1_8:
adrp x9, lCPI1_0@PAGE
adrp x10, lCPI1_1@PAGE
cmp x2, #16
b.hs LBB1_10
; %bb.9:
mov x8, #0 ; =0x0
b LBB1_15
LBB1_10:
and x8, x2, #0xfffffffffffffff0
movi.16b v0, #213
ldr q1, [x9, lCPI1_0@PAGEOFF]
ldr q2, [x10, lCPI1_1@PAGEOFF]
Lloh0:
adrp x11, lCPI1_2@PAGE
Lloh1:
ldr q3, [x11, lCPI1_2@PAGEOFF]
Lloh2:
adrp x11, lCPI1_3@PAGE
Lloh3:
ldr q4, [x11, lCPI1_3@PAGEOFF]
movi.4s v5, #1, lsl #8
movi.4s v6, #1
mov x11, x8
mov x12, x0
mov x13, x1
LBB1_11: ; =>This Inner Loop Header: Depth=1
ldr q7, [x13], #16
eor.16b v16, v7, v0
tbl.16b v17, { v16 }, v1
tbl.16b v18, { v16 }, v2
tbl.16b v19, { v16 }, v3
tbl.16b v16, { v16 }, v4
ushr.4s v20, v16, #4
ushr.4s v21, v19, #4
ushr.4s v22, v18, #4
ushr.4s v23, v17, #4
bic.4s v23, #8
bic.4s v22, #8
bic.4s v21, #8
bic.4s v20, #8
shl.4s v16, v16, #4
shl.4s v19, v19, #4
shl.4s v18, v18, #4
shl.4s v17, v17, #4
bic.4s v17, #15, lsl #8
bic.4s v18, #15, lsl #8
bic.4s v19, #15, lsl #8
bic.4s v16, #15, lsl #8
cmeq.4s v24, v20, #0
cmeq.4s v25, v21, #0
cmeq.4s v26, v22, #0
cmeq.4s v27, v23, #0
bic.16b v27, v5, v27
bic.16b v26, v5, v26
bic.16b v25, v5, v25
bic.16b v24, v5, v24
orr.16b v16, v16, v24
orr.16b v19, v19, v25
orr.16b v18, v18, v26
orr.16b v17, v17, v27
orr.4s v17, #8
orr.4s v18, #8
orr.4s v19, #8
orr.4s v16, #8
uqsub.4s v23, v23, v6
uqsub.4s v22, v22, v6
uqsub.4s v21, v21, v6
uqsub.4s v20, v20, v6
ushl.4s v16, v16, v20
ushl.4s v19, v19, v21
ushl.4s v18, v18, v22
ushl.4s v17, v17, v23
cmlt.16b v7, v7, #0
sshll.8h v20, v7, #0
sshll.4s v21, v20, #0
sshll2.4s v20, v20, #0
sshll2.8h v7, v7, #0
sshll.4s v22, v7, #0
sshll2.4s v7, v7, #0
neg.4s v23, v17
neg.4s v24, v18
neg.4s v25, v19
neg.4s v26, v16
bsl.16b v7, v16, v26
mov.16b v16, v22
bsl.16b v16, v19, v25
bif.16b v18, v24, v20
bif.16b v17, v23, v21
uzp1.8h v17, v17, v18
uzp1.8h v7, v16, v7
stp q17, q7, [x12], #32
subs x11, x11, #16
b.ne LBB1_11
; %bb.12:
cmp x8, x2
b.eq LBB1_7
; %bb.13:
tbnz w2, #3, LBB1_15
; %bb.14:
add x12, x1, x8
add x11, x0, x8, lsl #1
b LBB1_5
LBB1_15:
mov x15, x8
and x8, x2, #0xfffffffffffffff8
add x11, x0, x8, lsl #1
add x12, x1, x8
add x13, x1, x15
sub x14, x15, x8
movi.8b v0, #213
ldr q1, [x9, lCPI1_0@PAGEOFF]
ldr q2, [x10, lCPI1_1@PAGEOFF]
movi.4s v3, #1, lsl #8
movi.4s v4, #1
add x9, x0, x15, lsl #1
LBB1_16: ; =>This Inner Loop Header: Depth=1
ldr d5, [x13], #8
eor.8b v6, v5, v0
tbl.16b v7, { v6 }, v1
tbl.16b v6, { v6 }, v2
ushr.4s v16, v6, #4
ushr.4s v17, v7, #4
bic.4s v17, #8
bic.4s v16, #8
shl.4s v6, v6, #4
shl.4s v7, v7, #4
bic.4s v7, #15, lsl #8
bic.4s v6, #15, lsl #8
cmeq.4s v18, v16, #0
cmeq.4s v19, v17, #0
bic.16b v19, v3, v19
bic.16b v18, v3, v18
orr.16b v6, v6, v18
orr.16b v7, v7, v19
orr.4s v7, #8
orr.4s v6, #8
uqsub.4s v17, v17, v4
uqsub.4s v16, v16, v4
ushl.4s v6, v6, v16
ushl.4s v7, v7, v17
sshll.8h v5, v5, #0
cmlt.8h v5, v5, #0
sshll.4s v16, v5, #0
sshll2.4s v5, v5, #0
neg.4s v17, v7
neg.4s v18, v6
bsl.16b v5, v6, v18
mov.16b v6, v16
bsl.16b v6, v7, v17
uzp1.8h v5, v6, v5
str q5, [x9], #16
adds x14, x14, #8
b.ne LBB1_16
; %bb.17:
cmp x8, x2
b.ne LBB1_5
b LBB1_7
.loh AdrpLdr Lloh2, Lloh3
.loh AdrpAdrp Lloh0, Lloh2
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 x8, #0 ; =0x0
Lloh4:
adrp x10, ___stack_chk_guard@GOTPAGE
Lloh5:
ldr x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh6:
ldr x10, [x10]
Lloh7:
adrp x20, _pcm@PAGE
Lloh8:
add x20, x20, _pcm@PAGEOFF
mov w9, #8 ; =0x8
str x10, [sp, #24]
mov w10, #80 ; =0x50
mov w11, #7 ; =0x7
mov w12, #64 ; =0x40
mov w13, #6 ; =0x6
mov w14, #48 ; =0x30
mov w15, #5 ; =0x5
mov w16, #32 ; =0x20
mov w17, #4 ; =0x4
mov w0, #213 ; =0xd5
add x1, sp, #16
b LBB2_3
LBB2_1: ; in Loop: Header=BB2_3 Depth=1
mov w4, #10 ; =0xa
mov w5, #112 ; =0x70
LBB2_2: ; in Loop: Header=BB2_3 Depth=1
asr w3, w3, w4
and w3, w3, #0xf
orr w2, w5, w2
orr w2, w3, w2
eor w2, w2, w0
strb w2, [x1, x8]
add x8, x8, #1
cmp x8, #8
b.eq LBB2_7
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldrh w3, [x20, x8, lsl #1]
lsr w2, w3, #8
and w2, w2, #0x80
lsl w4, w2, #24
eor w3, w3, w4, asr #31
sxth w3, w3
tbnz w3, #14, LBB2_1
; %bb.4: ; in Loop: Header=BB2_3 Depth=1
tbnz w3, #13, LBB2_6
; %bb.5: ; in Loop: Header=BB2_3 Depth=1
lsr w4, w3, #4
and w4, w4, #0x10
tst w3, #0x200
csel w4, w16, w4, ne
csel w5, w15, w17, ne
tst w3, #0x400
csel w4, w14, w4, ne
csel w5, w13, w5, ne
tst w3, #0x800
csel w4, w12, w4, ne
csel w6, w11, w5, ne
tst w3, #0x1000
csel w5, w10, w4, ne
csel w4, w9, w6, ne
b LBB2_2
LBB2_6: ; in Loop: Header=BB2_3 Depth=1
mov w4, #9 ; =0x9
mov w5, #96 ; =0x60
b LBB2_2
LBB2_7:
ldrb w24, [sp, #16]
adrp x8, _r_coded@PAGE
ldrb w8, [x8, _r_coded@PAGEOFF]
cmp w24, w8
b.eq LBB2_9
; %bb.8:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_9:
ldrb w19, [sp, #17]
adrp x8, _r_coded@PAGE+1
ldrb w8, [x8, _r_coded@PAGEOFF+1]
cmp w19, w8
b.eq LBB2_11
; %bb.10:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_11:
ldrb w21, [sp, #18]
adrp x8, _r_coded@PAGE+2
ldrb w8, [x8, _r_coded@PAGEOFF+2]
cmp w21, w8
b.eq LBB2_13
; %bb.12:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_13:
ldrb w22, [sp, #19]
adrp x8, _r_coded@PAGE+3
ldrb w8, [x8, _r_coded@PAGEOFF+3]
cmp w22, w8
b.eq LBB2_15
; %bb.14:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_15:
ldrb w26, [sp, #20]
adrp x8, _r_coded@PAGE+4
ldrb w8, [x8, _r_coded@PAGEOFF+4]
cmp w26, w8
b.eq LBB2_17
; %bb.16:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_17:
ldrb w27, [sp, #21]
adrp x8, _r_coded@PAGE+5
ldrb w8, [x8, _r_coded@PAGEOFF+5]
cmp w27, w8
b.eq LBB2_19
; %bb.18:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_19:
ldrb w28, [sp, #22]
adrp x8, _r_coded@PAGE+6
ldrb w8, [x8, _r_coded@PAGEOFF+6]
cmp w28, w8
b.eq LBB2_21
; %bb.20:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_21:
ldrb w23, [sp, #23]
adrp x8, _r_coded@PAGE+7
ldrb w8, [x8, _r_coded@PAGEOFF+7]
cmp w23, w8
b.eq LBB2_23
; %bb.22:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_23:
mov w8, #213 ; =0xd5
eor w10, w24, w8
mov w9, #7 ; =0x7
ands w11, w9, w10, lsr #4
cset w12, ne
lsl w12, w12, #8
bfi w12, w10, #4, #4
orr w10, w12, #0x8
subs w11, w11, #1
csel w11, wzr, w11, lo
lsl w10, w10, w11
sxtb w11, w24
cmp w11, #0
cneg w10, w10, ge
str x10, [sp, #8] ; 8-byte Folded Spill
and w10, w10, #0xfff8
eor w11, w19, w8
ands w12, w9, w11, lsr #4
cset w13, ne
lsl w13, w13, #8
bfi w13, w11, #4, #4
orr w11, w13, #0x8
subs w12, w12, #1
csel w12, wzr, w12, lo
lsl w11, w11, w12
sxtb w12, w19
cmp w12, #0
cneg w19, w11, ge
eor w11, w21, w8
ands w12, w9, w11, lsr #4
cset w13, ne
lsl w13, w13, #8
bfi w13, w11, #4, #4
orr w11, w13, #0x8
subs w12, w12, #1
csel w12, wzr, w12, lo
lsl w11, w11, w12
sxtb w12, w21
cmp w12, #0
cneg w24, w11, ge
eor w11, w22, w8
ands w12, w9, w11, lsr #4
cset w13, ne
lsl w13, w13, #8
bfi w13, w11, #4, #4
orr w11, w13, #0x8
subs w12, w12, #1
csel w12, wzr, w12, lo
lsl w11, w11, w12
sxtb w12, w22
cmp w12, #0
cneg w25, w11, ge
eor w11, w26, w8
ands w12, w9, w11, lsr #4
cset w13, ne
lsl w13, w13, #8
bfi w13, w11, #4, #4
orr w11, w13, #0x8
subs w12, w12, #1
csel w12, wzr, w12, lo
lsl w11, w11, w12
sxtb w12, w26
cmp w12, #0
cneg w26, w11, ge
eor w11, w27, w8
ands w12, w9, w11, lsr #4
cset w13, ne
lsl w13, w13, #8
bfi w13, w11, #4, #4
orr w11, w13, #0x8
subs w12, w12, #1
csel w12, wzr, w12, lo
lsl w11, w11, w12
sxtb w12, w27
cmp w12, #0
cneg w27, w11, ge
eor w11, w28, w8
ands w12, w9, w11, lsr #4
cset w13, ne
lsl w13, w13, #8
bfi w13, w11, #4, #4
orr w11, w13, #0x8
subs w12, w12, #1
csel w12, wzr, w12, lo
lsl w11, w11, w12
sxtb w12, w28
cmp w12, #0
cneg w28, w11, ge
eor w8, w23, w8
ands w9, w9, w8, lsr #4
cset w11, ne
lsl w11, w11, #8
bfi w11, w8, #4, #4
orr w8, w11, #0x8
subs w9, w9, #1
csel w9, wzr, w9, lo
lsl w8, w8, w9
sxtb w9, w23
cmp w9, #0
cneg w22, w8, ge
adrp x8, _r_decoded@PAGE
ldrh w8, [x8, _r_decoded@PAGEOFF]
cmp w8, w10
b.eq LBB2_25
; %bb.24:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_25:
adrp x8, _r_decoded@PAGE+2
ldrh w8, [x8, _r_decoded@PAGEOFF+2]
cmp w8, w19, uxth
b.eq LBB2_27
; %bb.26:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_27:
adrp x8, _r_decoded@PAGE+4
ldrh w8, [x8, _r_decoded@PAGEOFF+4]
cmp w8, w24, uxth
b.eq LBB2_29
; %bb.28:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_29:
adrp x8, _r_decoded@PAGE+6
ldrh w8, [x8, _r_decoded@PAGEOFF+6]
cmp w8, w25, uxth
b.eq LBB2_31
; %bb.30:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_31:
adrp x8, _r_decoded@PAGE+8
ldrh w8, [x8, _r_decoded@PAGEOFF+8]
cmp w8, w26, uxth
b.eq LBB2_33
; %bb.32:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_33:
adrp x8, _r_decoded@PAGE+10
ldrh w8, [x8, _r_decoded@PAGEOFF+10]
cmp w8, w27, uxth
b.eq LBB2_35
; %bb.34:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_35:
adrp x8, _r_decoded@PAGE+12
ldrh w8, [x8, _r_decoded@PAGEOFF+12]
cmp w8, w28, uxth
b.eq LBB2_37
; %bb.36:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_37:
mov x23, x19
adrp x8, _r_decoded@PAGE+14
ldrh w8, [x8, _r_decoded@PAGEOFF+14]
cmp w8, w22, uxth
b.eq LBB2_39
; %bb.38:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_39:
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
ldrsh x8, [x20]
str x8, [sp]
Lloh11:
adrp x19, l_.str.1@PAGE
Lloh12:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _libmin_printf
ldrsh x8, [x20, #2]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldrsh x8, [x20, #4]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldrsh x8, [x20, #6]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldrsh x8, [x20, #8]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldrsh x8, [x20, #10]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldrsh x8, [x20, #12]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldrsh x8, [x20, #14]
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh13:
adrp x20, l_.str.2@PAGE
Lloh14:
add x20, x20, l_.str.2@PAGEOFF
mov x0, x20
bl _libmin_printf
Lloh15:
adrp x0, l_.str.3@PAGE
Lloh16:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
ldrb w8, [sp, #16]
str x8, [sp]
Lloh17:
adrp x21, l_.str.4@PAGE
Lloh18:
add x21, x21, l_.str.4@PAGEOFF
mov x0, x21
bl _libmin_printf
ldrb w8, [sp, #17]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldrb w8, [sp, #18]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldrb w8, [sp, #19]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldrb w8, [sp, #20]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldrb w8, [sp, #21]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldrb w8, [sp, #22]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldrb w8, [sp, #23]
str x8, [sp]
mov x0, x21
bl _libmin_printf
mov x0, x20
bl _libmin_printf
Lloh19:
adrp x0, l_.str.5@PAGE
Lloh20:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp]
mov x0, x19
bl _libmin_printf
str x23, [sp]
mov x0, x19
bl _libmin_printf
str x24, [sp]
mov x0, x19
bl _libmin_printf
str x25, [sp]
mov x0, x19
bl _libmin_printf
str x26, [sp]
mov x0, x19
bl _libmin_printf
str x27, [sp]
mov x0, x19
bl _libmin_printf
str x28, [sp]
mov x0, x19
bl _libmin_printf
str x22, [sp]
mov x0, x19
bl _libmin_printf
mov x0, x20
bl _libmin_printf
bl _libmin_success
ldr x8, [sp, #24]
Lloh21:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh22:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_41
; %bb.40:
mov w0, #0 ; =0x0
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
LBB2_41:
bl ___stack_chk_fail
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _pcm ; @pcm
.p2align 1, 0x0
_pcm:
.short 1000 ; 0x3e8
.short 64536 ; 0xfc18
.short 1234 ; 0x4d2
.short 3200 ; 0xc80
.short 64222 ; 0xfade
.short 0 ; 0x0
.short 32767 ; 0x7fff
.short 32768 ; 0x8000
.globl _r_coded ; @r_coded
_r_coded:
.ascii "\372z\346\234a\325\252*"
.globl _r_decoded ; @r_decoded
.p2align 1, 0x0
_r_decoded:
.short 1008 ; 0x3f0
.short 64528 ; 0xfc10
.short 1248 ; 0x4e0
.short 3264 ; 0xcc0
.short 64224 ; 0xfae0
.short 8 ; 0x8
.short 32256 ; 0x7e00
.short 33280 ; 0x8200
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "inputs: "
l_.str.1: ; @.str.1
.asciz "%d "
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "encode: "
l_.str.4: ; @.str.4
.asciz "%u "
l_.str.5: ; @.str.5
.asciz "decode: "
.subsections_via_symbols
|
fy-shuffle.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _fy_shuffle ## -- Begin function fy_shuffle
.p2align 4, 0x90
_fy_shuffle: ## @fy_shuffle
.cfi_startproc
## %bb.0:
cmpl $2, %esi
jl LBB0_10
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %r12d
movq %r12, %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movl $1, %edi
callq _libmin_fail
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
leaq -1(%r13), %rax
movslq %r15d, %rcx
movl (%r14,%rcx,4), %edx
movl %eax, %esi
movl (%r14,%rsi,4), %edi
movl %edi, (%r14,%rcx,4)
movl %edx, (%r14,%rsi,4)
cmpq $2, %r13
movq %rax, %r13
jle LBB0_9
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl $2147483647, %eax ## imm = 0x7FFFFFFF
xorl %edx, %edx
divl %r13d
movl %edx, %r15d
xorl $2147483647, %r15d ## imm = 0x7FFFFFFF
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
callq _libmin_rand
cmpl %r15d, %eax
jge LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cltd
idivl %r13d
movl %edx, %r15d
cmpl %ebx, %edx
jge LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
cmpq %r12, %r13
jg LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
testl %r15d, %r15d
jns LBB0_8
jmp LBB0_7
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB0_10:
retq
.cfi_endproc
## -- End function
.globl _print ## -- Begin function print
.p2align 4, 0x90
_print: ## @print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testl %r14d, %r14d
jle LBB1_3
## %bb.1:
movl %r14d, %r15d
leaq L_.str.1(%rip), %r14
xorl %r12d, %r12d
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movl (%rbx,%r12,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r12
cmpq %r12, %r15
jne LBB1_2
LBB1_3:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
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 $42, %edi
callq _libmin_srand
leaq L_.str(%rip), %r14
leaq L_.str.1(%rip), %r15
leaq L_.str.2(%rip), %r12
leaq _a(%rip), %r13
leaq _b(%rip), %rbx
xorl %eax, %eax
jmp LBB2_1
.p2align 4, 0x90
LBB2_13: ## in Loop: Header=BB2_1 Depth=1
leaq L_.str(%rip), %r14
movq %r14, %rdi
leaq L_.str.6(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
movl _b(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+4(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+8(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+12(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+16(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+20(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+24(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+28(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+32(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+36(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+40(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+44(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+48(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+52(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+56(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+60(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+64(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+68(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+72(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %r12
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -44(%rbp), %eax ## 4-byte Reload
incl %eax
cmpl $8, %eax
je LBB2_14
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_2 Depth 2
## Child Loop BB2_3 Depth 3
## Child Loop BB2_8 Depth 2
## Child Loop BB2_9 Depth 3
movl %eax, -44(%rbp) ## 4-byte Spill
movq %r14, %rdi
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
movl _a(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+4(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+8(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+12(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+16(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+20(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+24(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+28(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+32(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+36(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+40(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movl $11, %r12d
jmp LBB2_2
.p2align 4, 0x90
LBB2_6: ## in Loop: Header=BB2_2 Depth=2
leaq -1(%r12), %rax
movslq %r14d, %rcx
movl (%r13,%rcx,4), %edx
movl (%r13,%rax,4), %esi
movl %esi, (%r13,%rcx,4)
movl %edx, (%r13,%rax,4)
cmpq $2, %r12
movq %rax, %r12
jbe LBB2_7
LBB2_2: ## Parent Loop BB2_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_3 Depth 3
movl $2147483647, %eax ## imm = 0x7FFFFFFF
xorl %edx, %edx
divl %r12d
movl %edx, %r14d
xorl $2147483647, %r14d ## imm = 0x7FFFFFFF
.p2align 4, 0x90
LBB2_3: ## Parent Loop BB2_1 Depth=1
## Parent Loop BB2_2 Depth=2
## => This Inner Loop Header: Depth=3
callq _libmin_rand
cmpl %r14d, %eax
jge LBB2_3
## %bb.4: ## in Loop: Header=BB2_2 Depth=2
cltd
idivl %r12d
movl %edx, %r14d
cmpl $11, %edx
jb LBB2_6
## %bb.5: ## in Loop: Header=BB2_2 Depth=2
movl $1, %edi
callq _libmin_fail
jmp LBB2_6
.p2align 4, 0x90
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
leaq L_.str(%rip), %r14
movq %r14, %rdi
leaq L_.str.4(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
movl _a(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+4(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+8(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+12(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+16(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+20(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+24(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+28(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+32(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+36(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _a+40(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %r12
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
leaq L_.str.5(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
movl _b(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+4(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+8(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+12(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+16(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+20(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+24(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+28(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+32(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+36(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+40(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+44(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+48(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+52(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+56(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+60(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+64(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+68(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl _b+72(%rip), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movl $19, %r12d
jmp LBB2_8
.p2align 4, 0x90
LBB2_12: ## in Loop: Header=BB2_8 Depth=2
leaq -1(%r12), %rax
movslq %r14d, %rcx
movl (%rbx,%rcx,4), %edx
movl (%rbx,%rax,4), %esi
movl %esi, (%rbx,%rcx,4)
movl %edx, (%rbx,%rax,4)
cmpq $2, %r12
movq %rax, %r12
jbe LBB2_13
LBB2_8: ## Parent Loop BB2_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_9 Depth 3
movl $2147483647, %eax ## imm = 0x7FFFFFFF
xorl %edx, %edx
divl %r12d
movl %edx, %r14d
xorl $2147483647, %r14d ## imm = 0x7FFFFFFF
.p2align 4, 0x90
LBB2_9: ## Parent Loop BB2_1 Depth=1
## Parent Loop BB2_8 Depth=2
## => This Inner Loop Header: Depth=3
callq _libmin_rand
cmpl %r14d, %eax
jge LBB2_9
## %bb.10: ## in Loop: Header=BB2_8 Depth=2
cltd
idivl %r12d
movl %edx, %r14d
cmpl $19, %edx
jb LBB2_12
## %bb.11: ## in Loop: Header=BB2_8 Depth=2
movl $1, %edi
callq _libmin_fail
jmp LBB2_12
LBB2_14:
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L_.str.1: ## @.str.1
.asciz "%2d "
L_.str.2: ## @.str.2
.asciz "\n"
.section __DATA,__data
.globl _a ## @a
.p2align 4, 0x0
_a:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 7 ## 0x7
.long 8 ## 0x8
.long 9 ## 0x9
.long 10 ## 0xa
.globl _b ## @b
.p2align 4, 0x0
_b:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 7 ## 0x7
.long 8 ## 0x8
.long 9 ## 0x9
.long 10 ## 0xa
.long 11 ## 0xb
.long 12 ## 0xc
.long 13 ## 0xd
.long 14 ## 0xe
.long 15 ## 0xf
.long 16 ## 0x10
.long 17 ## 0x11
.long 18 ## 0x12
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "A (before): "
L_.str.4: ## @.str.4
.asciz "A (after): "
L_.str.5: ## @.str.5
.asciz "B (before): "
L_.str.6: ## @.str.6
.asciz "B (after): "
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _fy_shuffle ; -- Begin function fy_shuffle
.p2align 2
_fy_shuffle: ; @fy_shuffle
.cfi_startproc
; %bb.0:
cmp w1, #2
b.lt LBB0_9
; %bb.1:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
mov w21, w1
mov w22, #2147483647 ; =0x7fffffff
mov x23, x21
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov w0, #1 ; =0x1
bl _libmin_fail
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x8, x23, #1
sbfiz x9, x24, #2, #32
ldr w10, [x20, x9]
and x11, x8, #0xffffffff
lsl x11, x11, #2
ldr w12, [x20, x11]
str w12, [x20, x9]
str w10, [x20, x11]
cmp x23, #2
mov x23, x8
b.le LBB0_8
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
udiv w8, w22, w23
mul w24, w8, w23
LBB0_5: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
bl _libmin_rand
cmp w0, w24
b.ge LBB0_5
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
sdiv w8, w0, w23
msub w24, w8, w23, w0
cmp w24, w19
ccmp x23, x21, #0, lt
b.gt LBB0_2
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
tbz w24, #31, LBB0_3
b LBB0_2
LBB0_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
LBB0_9:
ret
.cfi_endproc
; -- End function
.globl _print ; -- Begin function print
.p2align 2
_print: ; @print
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x19, x1
str x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
cmp w20, #1
b.lt LBB1_3
; %bb.1:
mov w21, w20
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19], #4
str x8, [sp]
mov x0, x20
bl _libmin_printf
subs x21, x21, #1
b.ne LBB1_2
LBB1_3:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _libmin_printf
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov w0, #42 ; =0x2a
bl _libmin_srand
mov w22, #0 ; =0x0
Lloh6:
adrp x19, l_.str@PAGE
Lloh7:
add x19, x19, l_.str@PAGEOFF
Lloh8:
adrp x24, _a@PAGE
Lloh9:
add x24, x24, _a@PAGEOFF
Lloh10:
adrp x20, l_.str.1@PAGE
Lloh11:
add x20, x20, l_.str.1@PAGEOFF
Lloh12:
adrp x21, l_.str.2@PAGE
Lloh13:
add x21, x21, l_.str.2@PAGEOFF
mov w25, #2147483647 ; =0x7fffffff
Lloh14:
adrp x28, _b@PAGE
Lloh15:
add x28, x28, _b@PAGEOFF
Lloh16:
adrp x23, l_.str.6@PAGE
Lloh17:
add x23, x23, l_.str.6@PAGEOFF
b LBB2_2
LBB2_1: ; in Loop: Header=BB2_2 Depth=1
str x23, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x28]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #4]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #8]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #12]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #16]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #20]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #24]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #28]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #32]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #36]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #40]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #44]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #48]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #52]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #56]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #60]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #64]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #68]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #72]
str x8, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x21
bl _libmin_printf
add w22, w22, #1
cmp w22, #8
b.eq LBB2_14
LBB2_2: ; =>This Loop Header: Depth=1
; Child Loop BB2_4 Depth 2
; Child Loop BB2_5 Depth 3
; Child Loop BB2_10 Depth 2
; Child Loop BB2_11 Depth 3
Lloh18:
adrp x8, l_.str.3@PAGE
Lloh19:
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x24]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #4]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #8]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #12]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #16]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #20]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #24]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #28]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #32]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #36]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #40]
str x8, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x21
bl _libmin_printf
mov w26, #11 ; =0xb
b LBB2_4
LBB2_3: ; in Loop: Header=BB2_4 Depth=2
sub x8, x26, #1
sbfiz x9, x27, #2, #32
ldr w10, [x24, x9]
lsl x11, x8, #2
ldr w12, [x24, x11]
str w12, [x24, x9]
str w10, [x24, x11]
cmp x26, #2
mov x26, x8
b.ls LBB2_8
LBB2_4: ; Parent Loop BB2_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_5 Depth 3
udiv w8, w25, w26
mul w27, w8, w26
LBB2_5: ; Parent Loop BB2_2 Depth=1
; Parent Loop BB2_4 Depth=2
; => This Inner Loop Header: Depth=3
bl _libmin_rand
cmp w0, w27
b.ge LBB2_5
; %bb.6: ; in Loop: Header=BB2_4 Depth=2
sdiv w8, w0, w26
msub w27, w8, w26, w0
cmp w27, #11
b.lo LBB2_3
; %bb.7: ; in Loop: Header=BB2_4 Depth=2
mov w0, #1 ; =0x1
bl _libmin_fail
b LBB2_3
LBB2_8: ; in Loop: Header=BB2_2 Depth=1
Lloh20:
adrp x8, l_.str.4@PAGE
Lloh21:
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x24]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #4]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #8]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #12]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #16]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #20]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #24]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #28]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #32]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #36]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x24, #40]
str x8, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x21
bl _libmin_printf
Lloh22:
adrp x8, l_.str.5@PAGE
Lloh23:
add x8, x8, l_.str.5@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x28]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #4]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #8]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #12]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #16]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #20]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #24]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #28]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #32]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #36]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #40]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #44]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #48]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #52]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #56]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #60]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #64]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #68]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x28, #72]
str x8, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x21
bl _libmin_printf
mov w26, #19 ; =0x13
b LBB2_10
LBB2_9: ; in Loop: Header=BB2_10 Depth=2
sub x8, x26, #1
sbfiz x9, x27, #2, #32
ldr w10, [x28, x9]
lsl x11, x8, #2
ldr w12, [x28, x11]
str w12, [x28, x9]
str w10, [x28, x11]
cmp x26, #2
mov x26, x8
b.ls LBB2_1
LBB2_10: ; Parent Loop BB2_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_11 Depth 3
udiv w8, w25, w26
mul w27, w8, w26
LBB2_11: ; Parent Loop BB2_2 Depth=1
; Parent Loop BB2_10 Depth=2
; => This Inner Loop Header: Depth=3
bl _libmin_rand
cmp w0, w27
b.ge LBB2_11
; %bb.12: ; in Loop: Header=BB2_10 Depth=2
sdiv w8, w0, w26
msub w27, w8, w26, w0
cmp w27, #19
b.lo LBB2_9
; %bb.13: ; in Loop: Header=BB2_10 Depth=2
mov w0, #1 ; =0x1
bl _libmin_fail
b LBB2_9
LBB2_14:
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.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 Lloh18, Lloh19
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l_.str.1: ; @.str.1
.asciz "%2d "
l_.str.2: ; @.str.2
.asciz "\n"
.section __DATA,__data
.globl _a ; @a
.p2align 2, 0x0
_a:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.globl _b ; @b
.p2align 2, 0x0
_b:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.long 11 ; 0xb
.long 12 ; 0xc
.long 13 ; 0xd
.long 14 ; 0xe
.long 15 ; 0xf
.long 16 ; 0x10
.long 17 ; 0x11
.long 18 ; 0x12
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "A (before): "
l_.str.4: ; @.str.4
.asciz "A (after): "
l_.str.5: ; @.str.5
.asciz "B (before): "
l_.str.6: ; @.str.6
.asciz "B (after): "
.subsections_via_symbols
|
grad-descent.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function derivateWRTWeight
LCPI0_0:
.quad 0xc000000000000000 ## double -2
LCPI0_1:
.quad 0x4049000000000000 ## double 50
.section __TEXT,__text,regular,pure_instructions
.globl _derivateWRTWeight
.p2align 4, 0x90
_derivateWRTWeight: ## @derivateWRTWeight
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorpd %xmm2, %xmm2
movl $1, %eax
leaq _X(%rip), %rcx
leaq _Y(%rip), %rdx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movsd -8(%rcx,%rax,8), %xmm3 ## xmm3 = mem[0],zero
movsd (%rcx,%rax,8), %xmm4 ## xmm4 = mem[0],zero
movapd %xmm0, %xmm5
mulsd %xmm3, %xmm5
addsd %xmm1, %xmm5
movsd -8(%rdx,%rax,8), %xmm6 ## xmm6 = mem[0],zero
subsd %xmm5, %xmm6
mulsd %xmm3, %xmm6
addsd %xmm2, %xmm6
movsd (%rdx,%rax,8), %xmm2 ## xmm2 = mem[0],zero
movapd %xmm0, %xmm3
mulsd %xmm4, %xmm3
addsd %xmm1, %xmm3
subsd %xmm3, %xmm2
mulsd %xmm4, %xmm2
addsd %xmm6, %xmm2
addq $2, %rax
cmpq $51, %rax
jne LBB0_1
## %bb.2:
mulsd LCPI0_0(%rip), %xmm2
divsd LCPI0_1(%rip), %xmm2
movapd %xmm2, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function derivateWRTBias
LCPI1_0:
.quad 0xc000000000000000 ## double -2
LCPI1_1:
.quad 0x4049000000000000 ## double 50
.section __TEXT,__text,regular,pure_instructions
.globl _derivateWRTBias
.p2align 4, 0x90
_derivateWRTBias: ## @derivateWRTBias
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movapd %xmm0, %xmm2
xorpd %xmm0, %xmm0
movl $1, %eax
leaq _Y(%rip), %rcx
leaq _X(%rip), %rdx
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movsd -8(%rdx,%rax,8), %xmm3 ## xmm3 = mem[0],zero
mulsd %xmm2, %xmm3
addsd %xmm1, %xmm3
movsd -8(%rcx,%rax,8), %xmm4 ## xmm4 = mem[0],zero
subsd %xmm3, %xmm4
addsd %xmm0, %xmm4
movsd (%rcx,%rax,8), %xmm0 ## xmm0 = mem[0],zero
movsd (%rdx,%rax,8), %xmm3 ## xmm3 = mem[0],zero
mulsd %xmm2, %xmm3
addsd %xmm1, %xmm3
subsd %xmm3, %xmm0
addsd %xmm4, %xmm0
addq $2, %rax
cmpq $51, %rax
jne LBB1_1
## %bb.2:
mulsd LCPI1_0(%rip), %xmm0
divsd LCPI1_1(%rip), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function gradientDescent
LCPI2_0:
.quad 0x4049000000000000 ## double 50
.section __TEXT,__text,regular,pure_instructions
.globl _gradientDescent
.p2align 4, 0x90
_gradientDescent: ## @gradientDescent
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd (%rsi), %xmm1 ## xmm1 = mem[0],zero
xorl %eax, %eax
leaq _X(%rip), %rcx
leaq _Y(%rip), %rdx
movsd LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero
.p2align 4, 0x90
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_2 Depth 2
## Child Loop BB2_4 Depth 2
movsd (%rdi), %xmm2 ## xmm2 = mem[0],zero
xorpd %xmm4, %xmm4
movl $1, %r8d
movsd _L(%rip), %xmm3 ## xmm3 = mem[0],zero
.p2align 4, 0x90
LBB2_2: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movsd -8(%rcx,%r8,8), %xmm5 ## xmm5 = mem[0],zero
movsd (%rcx,%r8,8), %xmm6 ## xmm6 = mem[0],zero
movapd %xmm2, %xmm7
mulsd %xmm5, %xmm7
addsd %xmm1, %xmm7
movsd -8(%rdx,%r8,8), %xmm8 ## xmm8 = mem[0],zero
subsd %xmm7, %xmm8
mulsd %xmm5, %xmm8
addsd %xmm4, %xmm8
movsd (%rdx,%r8,8), %xmm4 ## xmm4 = mem[0],zero
movapd %xmm2, %xmm5
mulsd %xmm6, %xmm5
addsd %xmm1, %xmm5
subsd %xmm5, %xmm4
mulsd %xmm6, %xmm4
addsd %xmm8, %xmm4
addq $2, %r8
cmpq $51, %r8
jne LBB2_2
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
addsd %xmm4, %xmm4
divsd %xmm0, %xmm4
mulsd %xmm4, %xmm3
addsd %xmm3, %xmm2
movsd %xmm2, (%rdi)
movsd (%rsi), %xmm1 ## xmm1 = mem[0],zero
xorpd %xmm4, %xmm4
movl $1, %r8d
movsd _L(%rip), %xmm3 ## xmm3 = mem[0],zero
.p2align 4, 0x90
LBB2_4: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movsd -8(%rcx,%r8,8), %xmm5 ## xmm5 = mem[0],zero
mulsd %xmm2, %xmm5
addsd %xmm1, %xmm5
movsd -8(%rdx,%r8,8), %xmm6 ## xmm6 = mem[0],zero
subsd %xmm5, %xmm6
addsd %xmm4, %xmm6
movsd (%rdx,%r8,8), %xmm4 ## xmm4 = mem[0],zero
movsd (%rcx,%r8,8), %xmm5 ## xmm5 = mem[0],zero
mulsd %xmm2, %xmm5
addsd %xmm1, %xmm5
subsd %xmm5, %xmm4
addsd %xmm6, %xmm4
addq $2, %r8
cmpq $51, %r8
jne LBB2_4
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
addsd %xmm4, %xmm4
divsd %xmm0, %xmm4
mulsd %xmm4, %xmm3
addsd %xmm3, %xmm1
movsd %xmm1, (%rsi)
incl %eax
cmpl $200, %eax
jne LBB2_1
## %bb.6:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function main
LCPI3_0:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0
LCPI3_1:
.quad 0xc000000000000000 ## double -2
LCPI3_2:
.quad 0x4049000000000000 ## double 50
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd _L(%rip), %xmm2 ## xmm2 = mem[0],zero
xorpd LCPI3_0(%rip), %xmm2
xorl %eax, %eax
xorpd %xmm0, %xmm0
leaq _X(%rip), %rcx
leaq _Y(%rip), %rdx
movsd LCPI3_1(%rip), %xmm3 ## xmm3 = mem[0],zero
movsd LCPI3_2(%rip), %xmm4 ## xmm4 = mem[0],zero
xorpd %xmm1, %xmm1
.p2align 4, 0x90
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_2 Depth 2
## Child Loop BB3_4 Depth 2
movl $1, %esi
xorpd %xmm5, %xmm5
.p2align 4, 0x90
LBB3_2: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movsd -8(%rcx,%rsi,8), %xmm6 ## xmm6 = mem[0],zero
movsd (%rcx,%rsi,8), %xmm7 ## xmm7 = mem[0],zero
movapd %xmm0, %xmm8
mulsd %xmm6, %xmm8
addsd %xmm1, %xmm8
movsd -8(%rdx,%rsi,8), %xmm9 ## xmm9 = mem[0],zero
subsd %xmm8, %xmm9
mulsd %xmm6, %xmm9
addsd %xmm5, %xmm9
movsd (%rdx,%rsi,8), %xmm5 ## xmm5 = mem[0],zero
movapd %xmm0, %xmm6
mulsd %xmm7, %xmm6
addsd %xmm1, %xmm6
subsd %xmm6, %xmm5
mulsd %xmm7, %xmm5
addsd %xmm9, %xmm5
addq $2, %rsi
cmpq $51, %rsi
jne LBB3_2
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
mulsd %xmm3, %xmm5
divsd %xmm4, %xmm5
mulsd %xmm2, %xmm5
addsd %xmm5, %xmm0
xorpd %xmm5, %xmm5
movl $1, %esi
.p2align 4, 0x90
LBB3_4: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movsd -8(%rcx,%rsi,8), %xmm6 ## xmm6 = mem[0],zero
mulsd %xmm0, %xmm6
addsd %xmm1, %xmm6
movsd -8(%rdx,%rsi,8), %xmm7 ## xmm7 = mem[0],zero
subsd %xmm6, %xmm7
addsd %xmm5, %xmm7
movsd (%rdx,%rsi,8), %xmm5 ## xmm5 = mem[0],zero
movsd (%rcx,%rsi,8), %xmm6 ## xmm6 = mem[0],zero
mulsd %xmm0, %xmm6
addsd %xmm1, %xmm6
subsd %xmm6, %xmm5
addsd %xmm7, %xmm5
addq $2, %rsi
cmpq $51, %rsi
jne LBB3_4
## %bb.5: ## in Loop: Header=BB3_1 Depth=1
mulsd %xmm3, %xmm5
divsd %xmm4, %xmm5
mulsd %xmm2, %xmm5
addsd %xmm5, %xmm1
incl %eax
cmpl $200, %eax
jne LBB3_1
## %bb.6:
leaq L_.str(%rip), %rdi
movb $2, %al
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _L ## @L
.p2align 3, 0x0
_L:
.quad 0x3f50624dd2f1a9fc ## double 0.001
.globl _Y ## @Y
.p2align 4, 0x0
_Y:
.quad 0x404c000000000000 ## double 56
.quad 0x4034000000000000 ## double 20
.quad 0x4092b80000000000 ## double 1198
.quad 0x4022000000000000 ## double 9
.quad 0x403e000000000000 ## double 30
.quad 0x4032000000000000 ## double 18
.quad 0x4026000000000000 ## double 11
.quad 0x404a000000000000 ## double 52
.quad 0x4096c00000000000 ## double 1456
.quad 0x4020000000000000 ## double 8
.quad 0x4028000000000000 ## double 12
.quad 0x4051800000000000 ## double 70
.quad 0x4051000000000000 ## double 68
.quad 0x4032000000000000 ## double 18
.quad 0x40e0eec000000000 ## double 34678
.quad 0x0000000000000000 ## double 0
.quad 0x4049800000000000 ## double 51
.quad 0x4067600000000000 ## double 187
.quad 0x4065a00000000000 ## double 173
.quad 0x4076100000000000 ## double 353
.quad 0x40c87d8000000000 ## double 12539
.quad 0x406f000000000000 ## double 248
.quad 0x4069200000000000 ## double 201
.quad 0x4031000000000000 ## double 17
.quad 0x403b000000000000 ## double 27
.quad 0x4014000000000000 ## double 5
.quad 0x4034000000000000 ## double 20
.quad 0x402e000000000000 ## double 15
.quad 0x4099480000000000 ## double 1618
.quad 0x409bf80000000000 ## double 1790
.quad 0x407c500000000000 ## double 453
.quad 0x40a31c0000000000 ## double 2446
.quad 0x4044800000000000 ## double 41
.quad 0x4008000000000000 ## double 3
.quad 0x4038000000000000 ## double 24
.quad 0x4041800000000000 ## double 35
.quad 0x4038000000000000 ## double 24
.quad 0x4063c00000000000 ## double 158
.quad 0x403d000000000000 ## double 29
.quad 0x40b3910000000000 ## double 5009
.quad 0x4055400000000000 ## double 85
.quad 0x40b4510000000000 ## double 5201
.quad 0x401c000000000000 ## double 7
.quad 0x0000000000000000 ## double 0
.quad 0x40a82a0000000000 ## double 3093
.quad 0x4035000000000000 ## double 21
.quad 0x4018000000000000 ## double 6
.quad 0x407a100000000000 ## double 417
.quad 0x4090e00000000000 ## double 1080
.quad 0x4026000000000000 ## double 11
.globl _X ## @X
.p2align 4, 0x0
_X:
.quad 0x4021333333333333 ## double 8.5999999999999996
.quad 0x401e666666666666 ## double 7.5999999999999996
.quad 0x4024666666666666 ## double 10.199999999999999
.quad 0x4029000000000000 ## double 12.5
.quad 0x402e000000000000 ## double 15
.quad 0x403e666666666666 ## double 30.399999999999999
.quad 0x400c000000000000 ## double 3.5
.quad 0x4015333333333333 ## double 5.2999999999999998
.quad 0x3fe0000000000000 ## double 0.5
.quad 0x401f333333333333 ## double 7.7999999999999998
.quad 0x401d333333333333 ## double 7.2999999999999998
.quad 0x4031333333333333 ## double 17.199999999999999
.quad 0x4024000000000000 ## double 10
.quad 0x40314ccccccccccd ## double 17.300000000000001
.quad 0x4020000000000000 ## double 8
.quad 0x3ff6666666666666 ## double 1.3999999999999999
.quad 0x4018cccccccccccd ## double 6.2000000000000002
.quad 0x4011333333333333 ## double 4.2999999999999998
.quad 0x403ecccccccccccd ## double 30.800000000000001
.quad 0x4025666666666666 ## double 10.699999999999999
.quad 0x401799999999999a ## double 5.9000000000000004
.quad 0x3ff6666666666666 ## double 1.3999999999999999
.quad 0x4023cccccccccccd ## double 9.9000000000000003
.quad 0x4035b33333333333 ## double 21.699999999999999
.quad 0x4013333333333333 ## double 4.7999999999999998
.quad 0x4042333333333333 ## double 36.399999999999999
.quad 0x40304ccccccccccd ## double 16.300000000000001
.quad 0x4028000000000000 ## double 12
.quad 0x4014666666666666 ## double 5.0999999999999996
.quad 0x3ff4cccccccccccd ## double 1.3
.quad 0x400c000000000000 ## double 3.5
.quad 0x4017333333333333 ## double 5.7999999999999998
.quad 0x4018cccccccccccd ## double 6.2000000000000002
.quad 0x4022666666666666 ## double 9.1999999999999993
.quad 0x4046a66666666666 ## double 45.299999999999997
.quad 0x401d333333333333 ## double 7.2999999999999998
.quad 0x403e4ccccccccccd ## double 30.300000000000001
.quad 0x4036800000000000 ## double 22.5
.quad 0x402a333333333333 ## double 13.1
.quad 0x402d333333333333 ## double 14.6
.quad 0x4018cccccccccccd ## double 6.2000000000000002
.quad 0x4016000000000000 ## double 5.5
.quad 0x403e4ccccccccccd ## double 30.300000000000001
.quad 0x4010cccccccccccd ## double 4.2000000000000002
.quad 0x4021333333333333 ## double 8.5999999999999996
.quad 0x401d333333333333 ## double 7.2999999999999998
.quad 0x4027cccccccccccd ## double 11.9
.quad 0x4020333333333333 ## double 8.0999999999999996
.quad 0x3fe3333333333333 ## double 0.59999999999999998
.quad 0x4027000000000000 ## double 11.5
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The function is: %.4lfx + %.4lf\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _derivateWRTWeight ; -- Begin function derivateWRTWeight
.p2align 2
_derivateWRTWeight: ; @derivateWRTWeight
.cfi_startproc
; %bb.0:
; kill: def $d1 killed $d1 def $q1
; kill: def $d0 killed $d0 def $q0
mov x8, #0 ; =0x0
dup.2d v2, v0[0]
dup.2d v4, v1[0]
movi d3, #0000000000000000
Lloh0:
adrp x9, _X@PAGE
Lloh1:
add x9, x9, _X@PAGEOFF
Lloh2:
adrp x10, _Y@PAGE
Lloh3:
add x10, x10, _Y@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x11, x9, x8
ldp q5, q6, [x11]
ldp q7, q16, [x11, #32]
add x11, x10, x8
ldp q17, q18, [x11]
ldp q19, q20, [x11, #32]
mov.16b v21, v4
fmla.2d v21, v5, v2
mov.16b v22, v4
fmla.2d v22, v6, v2
mov.16b v23, v4
fmla.2d v23, v7, v2
mov.16b v24, v4
fmla.2d v24, v16, v2
fsub.2d v17, v17, v21
fsub.2d v18, v18, v22
fsub.2d v19, v19, v23
fsub.2d v20, v20, v24
fmul.2d v5, v5, v17
mov d17, v5[1]
fmul.2d v6, v6, v18
mov d18, v6[1]
fmul.2d v7, v7, v19
mov d19, v7[1]
fmul.2d v16, v16, v20
mov d20, v16[1]
fadd d3, d3, d5
fadd d3, d3, d17
fadd d3, d3, d6
fadd d3, d3, d18
fadd d3, d3, d7
fadd d3, d3, d19
fadd d3, d3, d16
fadd d3, d3, d20
add x8, x8, #64
cmp x8, #384
b.ne LBB0_1
; %bb.2:
Lloh4:
adrp x8, _X@PAGE+384
Lloh5:
add x8, x8, _X@PAGEOFF+384
Lloh6:
adrp x9, _Y@PAGE+384
Lloh7:
add x9, x9, _Y@PAGEOFF+384
ldp d2, d4, [x8]
fmadd d5, d0, d2, d1
ldp d6, d7, [x9]
fsub d5, d6, d5
fmadd d2, d2, d5, d3
fmadd d0, d0, d4, d1
fsub d0, d7, d0
fmadd d0, d4, d0, d2
fmov d1, #-2.00000000
fmul d0, d0, d1
mov x8, #4632233691727265792 ; =0x4049000000000000
fmov d1, x8
fdiv d0, d0, d1
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _derivateWRTBias ; -- Begin function derivateWRTBias
.p2align 2
_derivateWRTBias: ; @derivateWRTBias
.cfi_startproc
; %bb.0:
; kill: def $d1 killed $d1 def $q1
; kill: def $d0 killed $d0 def $q0
mov x8, #0 ; =0x0
dup.2d v3, v0[0]
dup.2d v4, v1[0]
movi d2, #0000000000000000
Lloh8:
adrp x9, _Y@PAGE
Lloh9:
add x9, x9, _Y@PAGEOFF
Lloh10:
adrp x10, _X@PAGE
Lloh11:
add x10, x10, _X@PAGEOFF
LBB1_1: ; =>This Inner Loop Header: Depth=1
add x11, x9, x8
ldp q5, q6, [x11]
ldp q7, q16, [x11, #32]
add x11, x10, x8
ldp q17, q18, [x11]
ldp q19, q20, [x11, #32]
mov.16b v21, v4
fmla.2d v21, v17, v3
mov.16b v17, v4
fmla.2d v17, v18, v3
mov.16b v18, v4
fmla.2d v18, v19, v3
mov.16b v19, v4
fmla.2d v19, v20, v3
fsub.2d v5, v5, v21
mov d20, v5[1]
fsub.2d v6, v6, v17
mov d17, v6[1]
fsub.2d v7, v7, v18
mov d18, v7[1]
fsub.2d v16, v16, v19
mov d19, v16[1]
fadd d2, d2, d5
fadd d2, d2, d20
fadd d2, d2, d6
fadd d2, d2, d17
fadd d2, d2, d7
fadd d2, d2, d18
fadd d2, d2, d16
fadd d2, d2, d19
add x8, x8, #64
cmp x8, #384
b.ne LBB1_1
; %bb.2:
Lloh12:
adrp x8, _Y@PAGE+384
Lloh13:
add x8, x8, _Y@PAGEOFF+384
Lloh14:
adrp x9, _X@PAGE+384
Lloh15:
add x9, x9, _X@PAGEOFF+384
ldp d3, d4, [x9]
fmadd d3, d0, d3, d1
ldp d5, d6, [x8]
fsub d3, d5, d3
fadd d2, d2, d3
fmadd d0, d0, d4, d1
fsub d0, d6, d0
fadd d0, d2, d0
fmov d1, #-2.00000000
fmul d0, d0, d1
mov x8, #4632233691727265792 ; =0x4049000000000000
fmov d1, x8
fdiv d0, d0, d1
ret
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _gradientDescent ; -- Begin function gradientDescent
.p2align 2
_gradientDescent: ; @gradientDescent
.cfi_startproc
; %bb.0:
mov w8, #0 ; =0x0
ldr d0, [x1]
Lloh16:
adrp x9, _X@PAGE
Lloh17:
add x9, x9, _X@PAGEOFF
Lloh18:
adrp x10, _Y@PAGE
Lloh19:
add x10, x10, _Y@PAGEOFF
adrp x11, _L@PAGE
Lloh20:
adrp x12, _X@PAGE+384
Lloh21:
add x12, x12, _X@PAGEOFF+384
mov x13, #4632233691727265792 ; =0x4049000000000000
Lloh22:
adrp x14, _Y@PAGE+384
Lloh23:
add x14, x14, _Y@PAGEOFF+384
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_2 Depth 2
; Child Loop BB2_4 Depth 2
mov x15, #0 ; =0x0
ldr d1, [x0]
ldr d2, [x11, _L@PAGEOFF]
dup.2d v3, v1[0]
dup.2d v4, v0[0]
movi d5, #0000000000000000
LBB2_2: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
add x16, x9, x15
ldp q6, q7, [x16]
ldp q16, q17, [x16, #32]
add x16, x10, x15
ldp q18, q19, [x16]
ldp q20, q21, [x16, #32]
mov.16b v22, v4
fmla.2d v22, v6, v3
mov.16b v23, v4
fmla.2d v23, v7, v3
mov.16b v24, v4
fmla.2d v24, v16, v3
mov.16b v25, v4
fmla.2d v25, v17, v3
fsub.2d v18, v18, v22
fsub.2d v19, v19, v23
fsub.2d v20, v20, v24
fsub.2d v21, v21, v25
fmul.2d v6, v6, v18
mov d18, v6[1]
fmul.2d v7, v7, v19
mov d19, v7[1]
fmul.2d v16, v16, v20
mov d20, v16[1]
fmul.2d v17, v17, v21
mov d21, v17[1]
fadd d5, d5, d6
fadd d5, d5, d18
fadd d5, d5, d7
fadd d5, d5, d19
fadd d5, d5, d16
fadd d5, d5, d20
fadd d5, d5, d17
fadd d5, d5, d21
add x15, x15, #64
cmp x15, #384
b.ne LBB2_2
; %bb.3: ; in Loop: Header=BB2_1 Depth=1
mov x15, #0 ; =0x0
ldp d3, d4, [x12]
fmadd d6, d1, d3, d0
ldp d7, d16, [x14]
fsub d6, d7, d6
fmadd d3, d3, d6, d5
fmadd d0, d1, d4, d0
fsub d0, d16, d0
fmadd d0, d4, d0, d3
fadd d0, d0, d0
fmov d3, x13
fdiv d0, d0, d3
fmadd d2, d2, d0, d1
str d2, [x0]
ldr d0, [x1]
ldr d1, [x11, _L@PAGEOFF]
dup.2d v3, v2[0]
dup.2d v5, v0[0]
movi d4, #0000000000000000
LBB2_4: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
add x16, x10, x15
ldp q6, q7, [x16]
ldp q16, q17, [x16, #32]
add x16, x9, x15
ldp q18, q19, [x16]
ldp q20, q21, [x16, #32]
mov.16b v22, v5
fmla.2d v22, v18, v3
mov.16b v18, v5
fmla.2d v18, v19, v3
mov.16b v19, v5
fmla.2d v19, v20, v3
mov.16b v20, v5
fmla.2d v20, v21, v3
fsub.2d v6, v6, v22
mov d21, v6[1]
fsub.2d v7, v7, v18
mov d18, v7[1]
fsub.2d v16, v16, v19
mov d19, v16[1]
fsub.2d v17, v17, v20
mov d20, v17[1]
fadd d4, d4, d6
fadd d4, d4, d21
fadd d4, d4, d7
fadd d4, d4, d18
fadd d4, d4, d16
fadd d4, d4, d19
fadd d4, d4, d17
fadd d4, d4, d20
add x15, x15, #64
cmp x15, #384
b.ne LBB2_4
; %bb.5: ; in Loop: Header=BB2_1 Depth=1
ldp d3, d5, [x12]
fmadd d3, d2, d3, d0
ldp d6, d7, [x14]
fsub d3, d6, d3
fadd d3, d4, d3
fmadd d2, d2, d5, d0
fsub d2, d7, d2
fadd d2, d3, d2
fadd d2, d2, d2
fmov d3, x13
fdiv d2, d2, d3
fmadd d0, d1, d2, d0
str d0, [x1]
add w8, w8, #1
cmp w8, #200
b.ne LBB2_1
; %bb.6:
ret
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, #0 ; =0x0
Lloh24:
adrp x9, _L@PAGE
Lloh25:
ldr d0, [x9, _L@PAGEOFF]
fneg d0, d0
Lloh26:
adrp x9, _X@PAGE+384
Lloh27:
add x9, x9, _X@PAGEOFF+384
Lloh28:
adrp x10, _Y@PAGE+384
Lloh29:
add x10, x10, _Y@PAGEOFF+384
ldp d1, d2, [x9]
ldp d3, d4, [x10]
Lloh30:
adrp x9, _X@PAGE
Lloh31:
add x9, x9, _X@PAGEOFF
movi d5, #0000000000000000
Lloh32:
adrp x10, _Y@PAGE
Lloh33:
add x10, x10, _Y@PAGEOFF
fmov d7, #-2.00000000
mov x11, #4632233691727265792 ; =0x4049000000000000
movi d6, #0000000000000000
LBB3_1: ; =>This Loop Header: Depth=1
; Child Loop BB3_2 Depth 2
; Child Loop BB3_4 Depth 2
mov x12, #0 ; =0x0
dup.2d v16, v5[0]
dup.2d v17, v6[0]
movi d18, #0000000000000000
LBB3_2: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
add x13, x9, x12
ldp q19, q20, [x13]
ldp q21, q22, [x13, #32]
add x13, x10, x12
ldp q23, q24, [x13]
ldp q25, q26, [x13, #32]
mov.16b v27, v17
fmla.2d v27, v19, v16
mov.16b v28, v17
fmla.2d v28, v20, v16
mov.16b v29, v17
fmla.2d v29, v21, v16
mov.16b v30, v17
fmla.2d v30, v22, v16
fsub.2d v23, v23, v27
fsub.2d v24, v24, v28
fsub.2d v25, v25, v29
fsub.2d v26, v26, v30
fmul.2d v19, v19, v23
mov d23, v19[1]
fmul.2d v20, v20, v24
mov d24, v20[1]
fmul.2d v21, v21, v25
mov d25, v21[1]
fmul.2d v22, v22, v26
mov d26, v22[1]
fadd d18, d18, d19
fadd d18, d18, d23
fadd d18, d18, d20
fadd d18, d18, d24
fadd d18, d18, d21
fadd d18, d18, d25
fadd d18, d18, d22
fadd d18, d18, d26
add x12, x12, #64
cmp x12, #384
b.ne LBB3_2
; %bb.3: ; in Loop: Header=BB3_1 Depth=1
mov x12, #0 ; =0x0
fmadd d16, d5, d1, d6
fsub d16, d3, d16
fmadd d16, d1, d16, d18
fmadd d17, d5, d2, d6
fsub d17, d4, d17
fmadd d16, d2, d17, d16
fmul d16, d16, d7
fmov d17, x11
fdiv d16, d16, d17
fmadd d5, d0, d16, d5
dup.2d v16, v5[0]
dup.2d v17, v6[0]
movi d18, #0000000000000000
LBB3_4: ; Parent Loop BB3_1 Depth=1
; => This Inner Loop Header: Depth=2
add x13, x10, x12
ldp q19, q20, [x13]
ldp q21, q22, [x13, #32]
add x13, x9, x12
ldp q23, q24, [x13]
ldp q25, q26, [x13, #32]
mov.16b v27, v17
fmla.2d v27, v23, v16
mov.16b v23, v17
fmla.2d v23, v24, v16
mov.16b v24, v17
fmla.2d v24, v25, v16
mov.16b v25, v17
fmla.2d v25, v26, v16
fsub.2d v19, v19, v27
mov d26, v19[1]
fsub.2d v20, v20, v23
mov d23, v20[1]
fsub.2d v21, v21, v24
mov d24, v21[1]
fsub.2d v22, v22, v25
mov d25, v22[1]
fadd d18, d18, d19
fadd d18, d18, d26
fadd d18, d18, d20
fadd d18, d18, d23
fadd d18, d18, d21
fadd d18, d18, d24
fadd d18, d18, d22
fadd d18, d18, d25
add x12, x12, #64
cmp x12, #384
b.ne LBB3_4
; %bb.5: ; in Loop: Header=BB3_1 Depth=1
fmadd d16, d5, d1, d6
fsub d16, d3, d16
fadd d16, d18, d16
fmadd d17, d5, d2, d6
fsub d17, d4, d17
fadd d16, d16, d17
fmul d16, d16, d7
fmov d17, x11
fdiv d16, d16, d17
fmadd d6, d0, d16, d6
add w8, w8, #1
cmp w8, #200
b.ne LBB3_1
; %bb.6:
stp d5, d6, [sp]
Lloh34:
adrp x0, l_.str@PAGE
Lloh35:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdrp Lloh24, Lloh26
.loh AdrpLdr Lloh24, Lloh25
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _L ; @L
.p2align 3, 0x0
_L:
.quad 0x3f50624dd2f1a9fc ; double 0.001
.globl _Y ; @Y
.p2align 3, 0x0
_Y:
.quad 0x404c000000000000 ; double 56
.quad 0x4034000000000000 ; double 20
.quad 0x4092b80000000000 ; double 1198
.quad 0x4022000000000000 ; double 9
.quad 0x403e000000000000 ; double 30
.quad 0x4032000000000000 ; double 18
.quad 0x4026000000000000 ; double 11
.quad 0x404a000000000000 ; double 52
.quad 0x4096c00000000000 ; double 1456
.quad 0x4020000000000000 ; double 8
.quad 0x4028000000000000 ; double 12
.quad 0x4051800000000000 ; double 70
.quad 0x4051000000000000 ; double 68
.quad 0x4032000000000000 ; double 18
.quad 0x40e0eec000000000 ; double 34678
.quad 0x0000000000000000 ; double 0
.quad 0x4049800000000000 ; double 51
.quad 0x4067600000000000 ; double 187
.quad 0x4065a00000000000 ; double 173
.quad 0x4076100000000000 ; double 353
.quad 0x40c87d8000000000 ; double 12539
.quad 0x406f000000000000 ; double 248
.quad 0x4069200000000000 ; double 201
.quad 0x4031000000000000 ; double 17
.quad 0x403b000000000000 ; double 27
.quad 0x4014000000000000 ; double 5
.quad 0x4034000000000000 ; double 20
.quad 0x402e000000000000 ; double 15
.quad 0x4099480000000000 ; double 1618
.quad 0x409bf80000000000 ; double 1790
.quad 0x407c500000000000 ; double 453
.quad 0x40a31c0000000000 ; double 2446
.quad 0x4044800000000000 ; double 41
.quad 0x4008000000000000 ; double 3
.quad 0x4038000000000000 ; double 24
.quad 0x4041800000000000 ; double 35
.quad 0x4038000000000000 ; double 24
.quad 0x4063c00000000000 ; double 158
.quad 0x403d000000000000 ; double 29
.quad 0x40b3910000000000 ; double 5009
.quad 0x4055400000000000 ; double 85
.quad 0x40b4510000000000 ; double 5201
.quad 0x401c000000000000 ; double 7
.quad 0x0000000000000000 ; double 0
.quad 0x40a82a0000000000 ; double 3093
.quad 0x4035000000000000 ; double 21
.quad 0x4018000000000000 ; double 6
.quad 0x407a100000000000 ; double 417
.quad 0x4090e00000000000 ; double 1080
.quad 0x4026000000000000 ; double 11
.globl _X ; @X
.p2align 3, 0x0
_X:
.quad 0x4021333333333333 ; double 8.5999999999999996
.quad 0x401e666666666666 ; double 7.5999999999999996
.quad 0x4024666666666666 ; double 10.199999999999999
.quad 0x4029000000000000 ; double 12.5
.quad 0x402e000000000000 ; double 15
.quad 0x403e666666666666 ; double 30.399999999999999
.quad 0x400c000000000000 ; double 3.5
.quad 0x4015333333333333 ; double 5.2999999999999998
.quad 0x3fe0000000000000 ; double 0.5
.quad 0x401f333333333333 ; double 7.7999999999999998
.quad 0x401d333333333333 ; double 7.2999999999999998
.quad 0x4031333333333333 ; double 17.199999999999999
.quad 0x4024000000000000 ; double 10
.quad 0x40314ccccccccccd ; double 17.300000000000001
.quad 0x4020000000000000 ; double 8
.quad 0x3ff6666666666666 ; double 1.3999999999999999
.quad 0x4018cccccccccccd ; double 6.2000000000000002
.quad 0x4011333333333333 ; double 4.2999999999999998
.quad 0x403ecccccccccccd ; double 30.800000000000001
.quad 0x4025666666666666 ; double 10.699999999999999
.quad 0x401799999999999a ; double 5.9000000000000004
.quad 0x3ff6666666666666 ; double 1.3999999999999999
.quad 0x4023cccccccccccd ; double 9.9000000000000003
.quad 0x4035b33333333333 ; double 21.699999999999999
.quad 0x4013333333333333 ; double 4.7999999999999998
.quad 0x4042333333333333 ; double 36.399999999999999
.quad 0x40304ccccccccccd ; double 16.300000000000001
.quad 0x4028000000000000 ; double 12
.quad 0x4014666666666666 ; double 5.0999999999999996
.quad 0x3ff4cccccccccccd ; double 1.3
.quad 0x400c000000000000 ; double 3.5
.quad 0x4017333333333333 ; double 5.7999999999999998
.quad 0x4018cccccccccccd ; double 6.2000000000000002
.quad 0x4022666666666666 ; double 9.1999999999999993
.quad 0x4046a66666666666 ; double 45.299999999999997
.quad 0x401d333333333333 ; double 7.2999999999999998
.quad 0x403e4ccccccccccd ; double 30.300000000000001
.quad 0x4036800000000000 ; double 22.5
.quad 0x402a333333333333 ; double 13.1
.quad 0x402d333333333333 ; double 14.6
.quad 0x4018cccccccccccd ; double 6.2000000000000002
.quad 0x4016000000000000 ; double 5.5
.quad 0x403e4ccccccccccd ; double 30.300000000000001
.quad 0x4010cccccccccccd ; double 4.2000000000000002
.quad 0x4021333333333333 ; double 8.5999999999999996
.quad 0x401d333333333333 ; double 7.2999999999999998
.quad 0x4027cccccccccccd ; double 11.9
.quad 0x4020333333333333 ; double 8.0999999999999996
.quad 0x3fe3333333333333 ; double 0.59999999999999998
.quad 0x4027000000000000 ; double 11.5
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The function is: %.4lfx + %.4lf\n"
.subsections_via_symbols
|
longdiv.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _sub ## -- Begin function sub
.p2align 4, 0x90
_sub: ## @sub
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
cmpb %sil, %dil
setl %al
movl $58, %ecx
movl $48, %r8d
cmovll %ecx, %r8d
addb %dil, %r8b
subb %sil, %r8b
movb %r8b, (%rdx)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isgte ## -- Begin function isgte
.p2align 4, 0x90
_isgte: ## @isgte
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rsi, %rsi
je LBB1_13
## %bb.1:
xorl %ebx, %ebx
testq %rdi, %rdi
je LBB1_14
## %bb.2:
movq %rsi, %r15
leaq L_.str(%rip), %r12
movq %r12, %rsi
callq _libmin_strpbrk
movq %rax, %r14
movq %r15, %rdi
movq %r12, %rsi
callq _libmin_strpbrk
testq %rax, %rax
je LBB1_13
## %bb.3:
testq %r14, %r14
je LBB1_14
## %bb.4:
movq %rax, %r15
movq %rax, %rdi
callq _libmin_strlen
movq %rax, %r12
movq %r14, %rdi
callq _libmin_strlen
cmpl %eax, %r12d
jg LBB1_14
## %bb.5:
jl LBB1_13
## %bb.6:
testl %r12d, %r12d
jle LBB1_13
## %bb.7:
movl %r12d, %eax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB1_8: ## =>This Inner Loop Header: Depth=1
movzbl (%r14,%rcx), %edx
movzbl (%r15,%rcx), %esi
cmpb %sil, %dl
jg LBB1_13
## %bb.9: ## in Loop: Header=BB1_8 Depth=1
jl LBB1_18
## %bb.10: ## in Loop: Header=BB1_8 Depth=1
incq %rcx
cmpq %rcx, %rax
jne LBB1_8
LBB1_13:
movl $1, %ebx
LBB1_14:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB1_18:
xorl %ebx, %ebx
jmp LBB1_14
.cfi_endproc
## -- End function
.globl _sbc ## -- Begin function sbc
.p2align 4, 0x90
_sbc: ## @sbc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r13
callq _isgte
testl %eax, %eax
je LBB2_1
## %bb.2:
movq %r13, %rdi
callq _libmin_strlen
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _libmin_strlen
movq %rax, %r15
movq %r13, %rdi
callq _libmin_strlen
leaq 1(%rax), %rdi
callq _libmin_malloc
movq %rax, %r14
testq %rax, %rax
jne LBB2_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
LBB2_4:
movq %r13, %rdi
callq _libmin_strlen
leaq 1(%rax), %rdi
callq _libmin_malloc
movq %rax, %r12
testq %rax, %rax
jne LBB2_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
LBB2_6:
movq %r12, %rdi
movq %r13, %rsi
callq _libmin_strcpy
movq -48(%rbp), %rax ## 8-byte Reload
testl %eax, %eax
movq %r14, -56(%rbp) ## 8-byte Spill
jle LBB2_7
## %bb.8:
movq %rbx, -64(%rbp) ## 8-byte Spill
movq %r14, %rbx
movabsq $-4294967296, %r14 ## imm = 0xFFFFFFFF00000000
movl %eax, %r13d
movq %rbx, %rdi
movl $48, %esi
movq %r13, %rdx
callq _memset
movq -48(%rbp), %rdx ## 8-byte Reload
movq %rdx, %rax
shlq $32, %rax
movslq %edx, %rcx
movq %rdx, %rsi
movb $0, (%rbx,%rcx)
addq %rbx, %rcx
decq %rcx
movslq %r15d, %rdx
decl %esi
decl %r15d
addq %r14, %rax
xorl %edi, %edi
movl $58, %r8d
xorl %r10d, %r10d
jmp LBB2_9
.p2align 4, 0x90
LBB2_13: ## in Loop: Header=BB2_9 Depth=1
movq %rax, %r9
sarq $32, %r9
movzbl (%r12,%r9), %r9d
cmpb $48, %r9b
movl $48, %ebx
cmovll %r8d, %ebx
setl %r11b
addb %r9b, %bl
addb $-48, %bl
LBB2_14: ## in Loop: Header=BB2_9 Depth=1
movb %bl, (%rcx)
movzbl %r11b, %r9d
orl %r9d, %r10d
incq %rdi
decl %esi
decl %r15d
addq %r14, %rax
decq %rcx
cmpq %rdi, %r13
je LBB2_15
LBB2_9: ## =>This Inner Loop Header: Depth=1
testl %r10d, %r10d
movl $0, %r10d
je LBB2_11
## %bb.10: ## in Loop: Header=BB2_9 Depth=1
movq %rax, %r11
sarq $32, %r11
movzbl (%r12,%r11), %r9d
leal -1(%r9), %ebx
xorl %r10d, %r10d
cmpb $48, %r9b
sete %r10b
movzbl %bl, %r9d
movl $57, %ebx
cmovel %ebx, %r9d
movb %r9b, (%r12,%r11)
LBB2_11: ## in Loop: Header=BB2_9 Depth=1
cmpq %rdx, %rdi
jge LBB2_13
## %bb.12: ## in Loop: Header=BB2_9 Depth=1
movslq %esi, %r9
movzbl (%r12,%r9), %r9d
movslq %r15d, %r11
movq -64(%rbp), %rbx ## 8-byte Reload
subb (%rbx,%r11), %r9b
setl %r11b
movl $48, %ebx
cmovll %r8d, %ebx
addb %r9b, %bl
jmp LBB2_14
LBB2_1:
xorl %eax, %eax
jmp LBB2_16
LBB2_7:
cltq
movb $0, (%r14,%rax)
LBB2_15:
movq %r12, %rdi
callq _libmin_free
movq -56(%rbp), %rax ## 8-byte Reload
LBB2_16:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _times_digit ## -- Begin function times_digit
.p2align 4, 0x90
_times_digit: ## @times_digit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rdi, %rdi
je LBB3_1
## %bb.2:
movl %esi, %r15d
movq %rdi, %r14
callq _libmin_strlen
movq %rax, %r12
movq %rax, %r13
shlq $32, %r13
movabsq $8589934592, %rdi ## imm = 0x200000000
addq %r13, %rdi
sarq $32, %rdi
callq _libmin_malloc
movq %rax, %rbx
testq %rax, %rax
jne LBB3_4
## %bb.3:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
LBB3_4:
movabsq $4294967296, %rdi ## imm = 0x100000000
addq %r13, %rdi
sarq $32, %rdi
movb $0, (%rbx,%rdi)
testl %r12d, %r12d
jle LBB3_5
## %bb.9:
movsbl %r15b, %eax
addl $-48, %eax
movq %r13, %rcx
sarq $32, %rcx
movl %r12d, %edx
leaq (%rcx,%r14), %rsi
decq %rsi
addq %rbx, %rcx
negq %rdx
xorl %r9d, %r9d
xorl %r8d, %r8d
.p2align 4, 0x90
LBB3_10: ## =>This Inner Loop Header: Depth=1
movsbl (%rsi,%r9), %r10d
addl $-48, %r10d
imull %eax, %r10d
addl %r8d, %r10d
movslq %r10d, %r10
imulq $1717986919, %r10, %r8 ## imm = 0x66666667
movq %r8, %r11
shrq $63, %r11
sarq $34, %r8
addl %r11d, %r8d
leal (%r8,%r8), %r11d
leal (%r11,%r11,4), %r11d
subl %r11d, %r10d
addb $48, %r10b
movb %r10b, (%rcx,%r9)
decq %r9
cmpq %r9, %rdx
jne LBB3_10
## %bb.11:
leal 48(%r8), %eax
movb %al, (%rbx)
testb %r8b, %r8b
je LBB3_6
## %bb.12:
movq %rbx, %r14
jmp LBB3_13
LBB3_1:
xorl %r14d, %r14d
jmp LBB3_13
LBB3_5:
movb $48, (%rbx)
LBB3_6:
callq _libmin_malloc
movq %rax, %r14
testq %rax, %rax
jne LBB3_8
## %bb.7:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
LBB3_8:
sarq $32, %r13
movb $0, (%r14,%r13)
movq %rbx, %rsi
incq %rsi
movq %r14, %rdi
callq _libmin_strcpy
movq %rbx, %rdi
callq _libmin_free
LBB3_13:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _splice ## -- Begin function splice
.p2align 4, 0x90
_splice: ## @splice
.cfi_startproc
## %bb.0:
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
testq %rdi, %rdi
je LBB4_6
## %bb.1:
movq %rdi, %r14
testq %rbx, %rbx
je LBB4_2
## %bb.3:
movq %r14, %rdi
callq _libmin_strlen
movq %rax, %r15
movq %rbx, %rdi
callq _libmin_strlen
addl %r15d, %eax
incl %eax
movslq %eax, %rdi
callq _libmin_malloc
testq %rax, %rax
je LBB4_4
## %bb.5:
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq _libmin_strcpy
movq %r15, %rdi
movq %rbx, %rsi
callq _libmin_strcat
movq %r15, %rbx
jmp LBB4_6
LBB4_2:
movq %r14, %rbx
jmp LBB4_6
LBB4_4:
leaq L_.str.4(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _libmin_printf
LBB4_6:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _cut_off ## -- Begin function cut_off
.p2align 4, 0x90
_cut_off: ## @cut_off
.cfi_startproc
## %bb.0:
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
xorl %r14d, %r14d
testq %rdi, %rdi
je LBB5_5
## %bb.1:
movl %esi, %r15d
testl %esi, %esi
jle LBB5_5
## %bb.2:
movq %rdi, %rbx
callq _libmin_strlen
cmpl %r15d, %eax
cmovll %eax, %r15d
leal 1(%r15), %eax
movslq %eax, %rsi
movl $1, %edi
callq _libmin_calloc
testq %rax, %rax
je LBB5_3
## %bb.4:
movq %rax, %r14
movslq %r15d, %rdx
movq %rax, %rdi
movq %rbx, %rsi
callq _libmin_strncpy
jmp LBB5_5
LBB5_3:
leaq L_.str.5(%rip), %rdi
xorl %r14d, %r14d
xorl %eax, %eax
callq _libmin_printf
LBB5_5:
movq %r14, %rax
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 %r13
pushq %r12
pushq %rbx
subq $2120, %rsp ## imm = 0x848
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _argv+8(%rip), %rdi
callq _libmin_strlen
testq %rax, %rax
je LBB6_4
## %bb.1:
xorl %ebx, %ebx
movq __pctype@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB6_2: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movq _argv+8(%rip), %rdx
movsbq (%rdx,%rbx), %rcx
testb $4, (%rax,%rcx,2)
je LBB6_13
## %bb.3: ## in Loop: Header=BB6_2 Depth=1
incq %rbx
movq %rdx, %rdi
callq _libmin_strlen
cmpq %rbx, %rax
ja LBB6_2
LBB6_4:
movq _argv+16(%rip), %rdi
callq _libmin_strlen
testq %rax, %rax
je LBB6_8
## %bb.5:
xorl %ebx, %ebx
movq __pctype@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB6_6: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movq _argv+16(%rip), %rdx
movsbq (%rdx,%rbx), %rcx
testb $4, (%rax,%rcx,2)
je LBB6_15
## %bb.7: ## in Loop: Header=BB6_6 Depth=1
incq %rbx
movq %rdx, %rdi
callq _libmin_strlen
cmpq %rbx, %rax
ja LBB6_6
LBB6_8:
movq _argv+16(%rip), %rdi
callq _libmin_strlen
testq %rax, %rax
je LBB6_12
## %bb.9:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB6_10: ## =>This Inner Loop Header: Depth=1
movq _argv+16(%rip), %rdi
cmpb $48, (%rdi,%rbx)
jne LBB6_18
## %bb.11: ## in Loop: Header=BB6_10 Depth=1
incq %rbx
callq _libmin_strlen
cmpq %rbx, %rax
ja LBB6_10
LBB6_12:
leaq L_.str.11(%rip), %rdi
leaq L_.str.12(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
jmp LBB6_96
LBB6_13:
leaq L_.str.9(%rip), %rdi
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
testq %rbx, %rbx
je LBB6_17
.p2align 4, 0x90
LBB6_14: ## =>This Inner Loop Header: Depth=1
movl $32, %edi
callq _libmin_putc
decl %ebx
jne LBB6_14
jmp LBB6_17
LBB6_15:
leaq L_.str.9(%rip), %rdi
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
testq %rbx, %rbx
je LBB6_17
.p2align 4, 0x90
LBB6_16: ## =>This Inner Loop Header: Depth=1
movl $32, %edi
callq _libmin_putc
decl %ebx
jne LBB6_16
LBB6_17:
movl $94, %edi
callq _libmin_putc
movl $10, %edi
callq _libmin_putc
jmp LBB6_96
LBB6_18:
movq _argv+8(%rip), %rdi
leaq L_.str(%rip), %rsi
callq _libmin_strpbrk
testq %rax, %rax
je LBB6_20
## %bb.19:
movq %rax, %r14
movq %rax, %rdi
callq _libmin_strlen
jmp LBB6_21
LBB6_20:
movl $1, %eax
leaq L_.str.13(%rip), %r14
LBB6_21:
movq %rax, -2144(%rbp) ## 8-byte Spill
incl %eax
movslq %eax, %rbx
movq %rbx, %rdi
callq _libmin_malloc
movq %rax, %r15
movq %rax, -1072(%rbp)
movq %rax, %rdi
movq %r14, %rsi
callq _libmin_strcpy
movq _argv+16(%rip), %rdi
leaq L_.str(%rip), %rsi
callq _libmin_strpbrk
movq %rax, %r14
movq %rax, %rdi
callq _libmin_strlen
movq %rax, %r12
incl %eax
movslq %eax, %rdi
callq _libmin_malloc
movq %rax, -2104(%rbp) ## 8-byte Spill
movq %rax, %rdi
movq %r14, %rsi
callq _libmin_strcpy
leal -1(%r12), %r13d
movl $1, %edi
movq %rbx, %rsi
callq _libmin_calloc
movq %rax, -2120(%rbp) ## 8-byte Spill
movq %r12, -2152(%rbp) ## 8-byte Spill
cmpl $2, %r12d
jl LBB6_23
## %bb.22:
movl %r13d, %edx
movq -2120(%rbp), %rdi ## 8-byte Reload
movl $48, %esi
callq _memset
LBB6_23:
movq %r15, %rdi
movq -2104(%rbp), %rsi ## 8-byte Reload
callq _isgte
testl %eax, %eax
je LBB6_64
## %bb.24:
leaq -1072(%rbp), %r12
xorl %r14d, %r14d
jmp LBB6_26
.p2align 4, 0x90
LBB6_25: ## in Loop: Header=BB6_26 Depth=1
incq %r14
movq %rbx, %rdi
callq _libmin_free
movq %r15, %rdi
movq -2104(%rbp), %rsi ## 8-byte Reload
callq _isgte
testl %eax, %eax
je LBB6_63
LBB6_26: ## =>This Loop Header: Depth=1
## Child Loop BB6_39 Depth 2
## Child Loop BB6_59 Depth 2
movq %r14, -2128(%rbp) ## 8-byte Spill
testl %r13d, %r13d
js LBB6_32
## %bb.27: ## in Loop: Header=BB6_26 Depth=1
movl $0, %ebx
testq %r15, %r15
je LBB6_33
## %bb.28: ## in Loop: Header=BB6_26 Depth=1
leal 1(%r13), %r14d
movq %r15, %rdi
callq _libmin_strlen
cmpl %r14d, %eax
cmovll %eax, %r14d
leal 1(%r14), %eax
movslq %eax, %rsi
movl $1, %edi
callq _libmin_calloc
testq %rax, %rax
je LBB6_31
## %bb.29: ## in Loop: Header=BB6_26 Depth=1
movq %rax, %rbx
movslq %r14d, %rdx
movq %rax, %rdi
movq %r15, %rsi
callq _libmin_strncpy
jmp LBB6_33
LBB6_31: ## in Loop: Header=BB6_26 Depth=1
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB6_32: ## in Loop: Header=BB6_26 Depth=1
xorl %ebx, %ebx
LBB6_33: ## in Loop: Header=BB6_26 Depth=1
movq %rbx, %rdi
movq -2104(%rbp), %r15 ## 8-byte Reload
movq %r15, %rsi
callq _isgte
testl %eax, %eax
je LBB6_36
LBB6_34: ## in Loop: Header=BB6_26 Depth=1
movq (%r12), %rax
movq %rax, -2136(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _libmin_strlen
movq %rax, -2112(%rbp) ## 8-byte Spill
movq %r15, %rdi
movl $57, %esi
callq _times_digit
movq %rax, %r13
movq -2128(%rbp), %r12 ## 8-byte Reload
movq %rax, -2096(%rbp,%r12,8)
movq %rbx, %rdi
movq %rax, %rsi
callq _isgte
movb $57, %r14b
testl %eax, %eax
je LBB6_45
## %bb.35: ## in Loop: Header=BB6_26 Depth=1
leaq L_.str(%rip), %r15
jmp LBB6_54
.p2align 4, 0x90
LBB6_36: ## in Loop: Header=BB6_26 Depth=1
addl $2, %r13d
jmp LBB6_39
.p2align 4, 0x90
LBB6_37: ## in Loop: Header=BB6_39 Depth=2
xorl %ebx, %ebx
LBB6_38: ## in Loop: Header=BB6_39 Depth=2
movq %rbx, %rdi
movq %r15, %rsi
callq _isgte
incl %r13d
testl %eax, %eax
jne LBB6_34
LBB6_39: ## Parent Loop BB6_26 Depth=1
## => This Inner Loop Header: Depth=2
movq -2120(%rbp), %rdi ## 8-byte Reload
leaq L_.str.13(%rip), %rsi
callq _libmin_strcat
movq %rbx, %rdi
callq _libmin_free
movl %r13d, %eax
decl %eax
js LBB6_37
## %bb.40: ## in Loop: Header=BB6_39 Depth=2
movq (%r12), %r14
movl $0, %ebx
testq %r14, %r14
je LBB6_38
## %bb.41: ## in Loop: Header=BB6_39 Depth=2
movq %r14, %rdi
callq _libmin_strlen
movq %rax, %r15
cmpl %r13d, %r15d
cmovgel %r13d, %r15d
leal 1(%r15), %eax
movslq %eax, %rsi
movl $1, %edi
callq _libmin_calloc
testq %rax, %rax
je LBB6_43
## %bb.42: ## in Loop: Header=BB6_39 Depth=2
movq %rax, %rbx
movslq %r15d, %rdx
movq %rax, %rdi
movq %r14, %rsi
callq _libmin_strncpy
jmp LBB6_44
LBB6_43: ## in Loop: Header=BB6_39 Depth=2
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
xorl %ebx, %ebx
LBB6_44: ## in Loop: Header=BB6_39 Depth=2
movq -2104(%rbp), %r15 ## 8-byte Reload
jmp LBB6_38
.p2align 4, 0x90
LBB6_45: ## in Loop: Header=BB6_26 Depth=1
movq %r13, %rdi
callq _libmin_free
movq %r15, %rdi
movl $56, %esi
callq _times_digit
movq %rax, %r13
movq %rax, -2096(%rbp,%r12,8)
movq %rbx, %rdi
movq %rax, %rsi
callq _isgte
movb $56, %r14b
testl %eax, %eax
leaq L_.str(%rip), %r15
jne LBB6_54
## %bb.46: ## in Loop: Header=BB6_26 Depth=1
movq %r13, %rdi
callq _libmin_free
movq -2104(%rbp), %rdi ## 8-byte Reload
movl $55, %esi
callq _times_digit
movq %rax, %r13
movq %rax, -2096(%rbp,%r12,8)
movq %rbx, %rdi
movq %rax, %rsi
callq _isgte
movb $55, %r14b
testl %eax, %eax
jne LBB6_54
## %bb.47: ## in Loop: Header=BB6_26 Depth=1
movq %r13, %rdi
callq _libmin_free
movq -2104(%rbp), %rdi ## 8-byte Reload
movl $54, %esi
callq _times_digit
movq %rax, %r13
movq %rax, -2096(%rbp,%r12,8)
movq %rbx, %rdi
movq %rax, %rsi
callq _isgte
movb $54, %r14b
testl %eax, %eax
jne LBB6_54
## %bb.48: ## in Loop: Header=BB6_26 Depth=1
movq %r13, %rdi
callq _libmin_free
movq -2104(%rbp), %rdi ## 8-byte Reload
movl $53, %esi
callq _times_digit
movq %rax, %r13
movq %rax, -2096(%rbp,%r12,8)
movq %rbx, %rdi
movq %rax, %rsi
callq _isgte
movb $53, %r14b
testl %eax, %eax
jne LBB6_54
## %bb.49: ## in Loop: Header=BB6_26 Depth=1
movq %r13, %rdi
callq _libmin_free
movq -2104(%rbp), %rdi ## 8-byte Reload
movl $52, %esi
callq _times_digit
movq %rax, %r13
movq %rax, -2096(%rbp,%r12,8)
movq %rbx, %rdi
movq %rax, %rsi
callq _isgte
movb $52, %r14b
testl %eax, %eax
jne LBB6_54
## %bb.50: ## in Loop: Header=BB6_26 Depth=1
movq %r13, %rdi
callq _libmin_free
movq -2104(%rbp), %rdi ## 8-byte Reload
movl $51, %esi
callq _times_digit
movq %rax, %r13
movq %rax, -2096(%rbp,%r12,8)
movq %rbx, %rdi
movq %rax, %rsi
callq _isgte
movb $51, %r14b
testl %eax, %eax
jne LBB6_54
## %bb.51: ## in Loop: Header=BB6_26 Depth=1
movq %r13, %rdi
callq _libmin_free
movq -2104(%rbp), %rdi ## 8-byte Reload
movl $50, %esi
callq _times_digit
movq %rax, %r13
movq %rax, -2096(%rbp,%r12,8)
movq %rbx, %rdi
movq %rax, %rsi
callq _isgte
movb $50, %r14b
testl %eax, %eax
jne LBB6_54
## %bb.52: ## in Loop: Header=BB6_26 Depth=1
movq %r13, %rdi
callq _libmin_free
movq -2104(%rbp), %rdi ## 8-byte Reload
movl $49, %esi
callq _times_digit
movq %rax, %r13
movq %rax, -2096(%rbp,%r12,8)
movq %rbx, %rdi
movq %rax, %rsi
callq _isgte
movb $49, %r14b
testl %eax, %eax
jne LBB6_54
## %bb.53: ## in Loop: Header=BB6_26 Depth=1
movq %r13, %rdi
callq _libmin_free
movb $48, %r14b
.p2align 4, 0x90
LBB6_54: ## in Loop: Header=BB6_26 Depth=1
movq -2112(%rbp), %rax ## 8-byte Reload
addq %rax, -2136(%rbp) ## 8-byte Folded Spill
movq -2120(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
callq _libmin_strlen
movb %r14b, (%r12,%rax)
movq %rbx, %rdi
movq %r13, %rsi
callq _sbc
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq _libmin_strpbrk
testq %rax, %rax
je LBB6_57
## %bb.55: ## in Loop: Header=BB6_26 Depth=1
movq %r14, %rdi
movq %r15, %rsi
callq _libmin_strpbrk
movq %rax, %rdi
callq _libmin_strlen
movq %rax, %r13
testl %r13d, %r13d
je LBB6_57
## %bb.56: ## in Loop: Header=BB6_26 Depth=1
movq -2136(%rbp), %rsi ## 8-byte Reload
jmp LBB6_61
.p2align 4, 0x90
LBB6_57: ## in Loop: Header=BB6_26 Depth=1
xorl %r13d, %r13d
movq -2136(%rbp), %rsi ## 8-byte Reload
cmpb $48, (%rsi)
jne LBB6_61
## %bb.58: ## in Loop: Header=BB6_26 Depth=1
movq %r14, -2112(%rbp) ## 8-byte Spill
movq -2120(%rbp), %r14 ## 8-byte Reload
leaq L_.str.13(%rip), %r15
.p2align 4, 0x90
LBB6_59: ## Parent Loop BB6_26 Depth=1
## => This Inner Loop Header: Depth=2
movq %rsi, %r12
movq %r14, %rdi
movq %r15, %rsi
callq _libmin_strcat
leaq 1(%r12), %rsi
cmpb $48, 1(%r12)
je LBB6_59
## %bb.60: ## in Loop: Header=BB6_26 Depth=1
leaq L_.str(%rip), %r15
movq -2112(%rbp), %r14 ## 8-byte Reload
LBB6_61: ## in Loop: Header=BB6_26 Depth=1
movq %r14, %rdi
callq _splice
movq %rax, %rdi
movq %r15, %rsi
callq _libmin_strpbrk
movq %rax, %r15
movq -2128(%rbp), %r14 ## 8-byte Reload
leaq -1064(,%r14,8), %r12
addq %rbp, %r12
movq %rax, -1064(%rbp,%r14,8)
testq %rax, %rax
jne LBB6_25
## %bb.62: ## in Loop: Header=BB6_26 Depth=1
movl $2, %edi
callq _libmin_malloc
movq %rax, %r15
movq %rax, (%r12)
movq %rax, %rdi
leaq L_.str.13(%rip), %rsi
callq _libmin_strcpy
jmp LBB6_25
LBB6_63:
movq %r14, -2128(%rbp) ## 8-byte Spill
jmp LBB6_65
LBB6_64:
xorl %eax, %eax
movq %rax, -2128(%rbp) ## 8-byte Spill
LBB6_65:
movq -2144(%rbp), %rbx ## 8-byte Reload
movq -2120(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
callq _libmin_strlen
movq %rbx, %r12
movl %ebx, %r14d
subl %eax, %r14d
movq -2152(%rbp), %r15 ## 8-byte Reload
jle LBB6_68
## %bb.66:
leaq L_.str.13(%rip), %rbx
.p2align 4, 0x90
LBB6_67: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movq %rbx, %rsi
callq _libmin_strcat
decl %r14d
jne LBB6_67
LBB6_68:
leal 2(%r15), %ebx
cmpl $-1, %r15d
jl LBB6_71
## %bb.69:
cmpl $2, %ebx
movl $1, %r14d
cmovgel %ebx, %r14d
.p2align 4, 0x90
LBB6_70: ## =>This Inner Loop Header: Depth=1
movl $32, %edi
callq _libmin_putc
decl %r14d
jne LBB6_70
LBB6_71:
cmpb $48, (%r13)
jne LBB6_73
.p2align 4, 0x90
LBB6_72: ## =>This Inner Loop Header: Depth=1
movl $32, %edi
callq _libmin_putc
leaq 1(%r13), %rsi
cmpb $48, 1(%r13)
movq %rsi, %r13
je LBB6_72
jmp LBB6_74
LBB6_73:
movq %r13, %rsi
LBB6_74:
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
cmpl $-1, %r15d
jl LBB6_77
## %bb.75:
cmpl $2, %ebx
movl $1, %r14d
cmovgel %ebx, %r14d
.p2align 4, 0x90
LBB6_76: ## =>This Inner Loop Header: Depth=1
movl $32, %edi
callq _libmin_putc
decl %r14d
jne LBB6_76
LBB6_77:
testl %r12d, %r12d
jle LBB6_80
## %bb.78:
movl %r12d, %r14d
.p2align 4, 0x90
LBB6_79: ## =>This Inner Loop Header: Depth=1
movl $95, %edi
callq _libmin_putc
decl %r14d
jne LBB6_79
LBB6_80:
movq -1072(%rbp), %r15
leaq L_.str.14(%rip), %rdi
movq -2104(%rbp), %rsi ## 8-byte Reload
movq %r15, %rdx
xorl %eax, %eax
callq _libmin_printf
movq -2128(%rbp), %rax ## 8-byte Reload
testl %eax, %eax
je LBB6_95
## %bb.81:
addl %r12d, %ebx
movslq %ebx, %r12
movl %eax, %eax
movq %rax, -2120(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
jmp LBB6_83
.p2align 4, 0x90
LBB6_82: ## in Loop: Header=BB6_83 Depth=1
incq %r13
leaq L_.str.11(%rip), %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
cmpq -2120(%rbp), %r13 ## 8-byte Folded Reload
je LBB6_95
LBB6_83: ## =>This Loop Header: Depth=1
## Child Loop BB6_85 Depth 2
## Child Loop BB6_88 Depth 2
## Child Loop BB6_91 Depth 2
## Child Loop BB6_94 Depth 2
movq %r15, %rdi
callq _libmin_strlen
cmpq %r12, %rax
je LBB6_86
## %bb.84: ## in Loop: Header=BB6_83 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB6_85: ## Parent Loop BB6_83 Depth=1
## => This Inner Loop Header: Depth=2
movl $32, %edi
callq _libmin_putc
incq %rbx
movq %r15, %rdi
callq _libmin_strlen
movq %r12, %rcx
subq %rax, %rcx
cmpq %rbx, %rcx
ja LBB6_85
LBB6_86: ## in Loop: Header=BB6_83 Depth=1
movq -2096(%rbp,%r13,8), %r14
leaq L_.str.11(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
callq _libmin_strlen
cmpq %r12, %rax
je LBB6_89
## %bb.87: ## in Loop: Header=BB6_83 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB6_88: ## Parent Loop BB6_83 Depth=1
## => This Inner Loop Header: Depth=2
movl $32, %edi
callq _libmin_putc
incq %rbx
movq %r15, %rdi
callq _libmin_strlen
movq %r12, %rcx
subq %rax, %rcx
cmpq %rbx, %rcx
ja LBB6_88
LBB6_89: ## in Loop: Header=BB6_83 Depth=1
movq %r14, %rdi
callq _libmin_strlen
testq %rax, %rax
je LBB6_92
## %bb.90: ## in Loop: Header=BB6_83 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB6_91: ## Parent Loop BB6_83 Depth=1
## => This Inner Loop Header: Depth=2
movl $45, %edi
callq _libmin_putc
incq %rbx
movq %r14, %rdi
callq _libmin_strlen
cmpq %rbx, %rax
ja LBB6_91
LBB6_92: ## in Loop: Header=BB6_83 Depth=1
movl $10, %edi
callq _libmin_putc
movq -1064(%rbp,%r13,8), %r15
movq %r15, %rdi
callq _libmin_strlen
cmpq %r12, %rax
je LBB6_82
## %bb.93: ## in Loop: Header=BB6_83 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB6_94: ## Parent Loop BB6_83 Depth=1
## => This Inner Loop Header: Depth=2
movl $32, %edi
callq _libmin_putc
incq %rbx
movq %r15, %rdi
callq _libmin_strlen
movq %r12, %rcx
subq %rax, %rcx
cmpq %rbx, %rcx
ja LBB6_94
jmp LBB6_82
LBB6_95:
callq _libmin_success
LBB6_96:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB6_98
## %bb.97:
xorl %eax, %eax
addq $2120, %rsp ## imm = 0x848
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB6_98:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "123456789"
L_.str.1: ## @.str.1
.asciz "sbc: Unable to malloc space for result\n"
L_.str.2: ## @.str.2
.asciz "sbc: Unable to malloc\n"
L_.str.3: ## @.str.3
.asciz "Unable to malloc partial product array\n"
L_.str.4: ## @.str.4
.asciz "splice: unable to malloc\n"
L_.str.5: ## @.str.5
.asciz "cut_off: Unable to malloc\n"
.section __DATA,__data
.globl _argc ## @argc
.p2align 2, 0x0
_argc:
.long 3 ## 0x3
.section __TEXT,__cstring,cstring_literals
L_.str.6: ## @.str.6
.asciz "longdiv"
L_.str.7: ## @.str.7
.asciz "52333498"
L_.str.8: ## @.str.8
.asciz "27"
.section __DATA,__data
.globl _argv ## @argv
.p2align 4, 0x0
_argv:
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.section __TEXT,__cstring,cstring_literals
L_.str.9: ## @.str.9
.asciz "%s\n%s\n"
L_.str.10: ## @.str.10
.asciz "longdiv: syntax error"
L_.str.11: ## @.str.11
.asciz "%s\n"
L_.str.12: ## @.str.12
.asciz "longdiv: Cannot divide by 0.\n"
L_.str.13: ## @.str.13
.asciz "0"
L_.str.14: ## @.str.14
.asciz "\n %s)%s\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _sub ; -- Begin function sub
.p2align 2
_sub: ; @sub
.cfi_startproc
; %bb.0:
mov w8, #48 ; =0x30
mov w9, #58 ; =0x3a
cmp w0, w1
csel w9, w9, w8, lt
cset w8, lt
add w9, w9, w0
sub w9, w9, w1
strb w9, [x2]
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _isgte ; -- Begin function isgte
.p2align 2
_isgte: ; @isgte
.cfi_startproc
; %bb.0:
cbz x1, LBB1_6
; %bb.1:
cbz x0, LBB1_7
; %bb.2:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
mov x1, x21
bl _libmin_strpbrk
mov x19, x0
mov x0, x20
mov x1, x21
bl _libmin_strpbrk
cbz x0, LBB1_14
; %bb.3:
cbz x19, LBB1_5
; %bb.4:
mov x20, x0
bl _libmin_strlen
mov x21, x0
mov x0, x19
bl _libmin_strlen
mov x8, x0
cmp w21, w8
b.le LBB1_8
LBB1_5:
mov w0, #0 ; =0x0
b LBB1_15
LBB1_6:
mov w0, #1 ; =0x1
LBB1_7:
ret
LBB1_8:
mov w0, #1 ; =0x1
cmp w8, w21
b.gt LBB1_15
; %bb.9:
cmp w21, #1
b.lt LBB1_15
; %bb.10:
and x8, x21, #0xffffffff
LBB1_11: ; =>This Inner Loop Header: Depth=1
ldrsb w9, [x19], #1
ldrsb w10, [x20], #1
cmp w9, w10
b.gt LBB1_14
; %bb.12: ; in Loop: Header=BB1_11 Depth=1
b.lt LBB1_5
; %bb.13: ; in Loop: Header=BB1_11 Depth=1
subs x8, x8, #1
b.ne LBB1_11
b LBB1_15
LBB1_14:
mov w0, #1 ; =0x1
LBB1_15:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _sbc ; -- Begin function sbc
.p2align 2
_sbc: ; @sbc
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov x22, x0
bl _isgte
cbz w0, LBB2_13
; %bb.1:
mov x0, x22
bl _libmin_strlen
mov x23, x0
mov x0, x19
bl _libmin_strlen
mov x24, x0
mov x0, x22
bl _libmin_strlen
add x0, x0, #1
bl _libmin_malloc
mov x20, x0
cbnz x0, LBB2_3
; %bb.2:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_3:
mov x0, x22
bl _libmin_strlen
add x0, x0, #1
bl _libmin_malloc
mov x21, x0
cbnz x0, LBB2_5
; %bb.4:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_5:
mov x0, x21
mov x1, x22
bl _libmin_strcpy
cmp w23, #0
b.le LBB2_14
; %bb.6:
and x22, x23, #0xffffffff
mov w25, #48 ; =0x30
mov x0, x20
mov w1, #48 ; =0x30
mov x2, x22
bl _memset
mov x8, #0 ; =0x0
mov w17, #0 ; =0x0
add x9, x20, w23, sxtw
strb wzr, [x9], #-1
sxtw x10, w24
sub w11, w23, #1
sub w12, w24, #1
mov x13, #-4294967296 ; =0xffffffff00000000
mov w14, #58 ; =0x3a
mov w15, #57 ; =0x39
add x16, x13, x23, lsl #32
b LBB2_9
LBB2_7: ; in Loop: Header=BB2_9 Depth=1
ldrsb w1, [x21, x0]
cmp w1, #48
csel w2, w14, w25, lt
cset w0, lt
add w1, w1, w2
sub w1, w1, #48
LBB2_8: ; in Loop: Header=BB2_9 Depth=1
strb w1, [x9], #-1
orr w17, w17, w0
add x8, x8, #1
sub w11, w11, #1
sub w12, w12, #1
add x16, x16, x13
cmp x22, x8
b.eq LBB2_15
LBB2_9: ; =>This Inner Loop Header: Depth=1
asr x0, x16, #32
cbz w17, LBB2_11
; %bb.10: ; in Loop: Header=BB2_9 Depth=1
ldrb w17, [x21, x0]
sub w1, w17, #1
cmp w17, #48
csel w1, w15, w1, eq
cset w17, eq
strb w1, [x21, x0]
LBB2_11: ; in Loop: Header=BB2_9 Depth=1
cmp x8, x10
b.ge LBB2_7
; %bb.12: ; in Loop: Header=BB2_9 Depth=1
ldrsb w0, [x21, w11, sxtw]
ldrsb w1, [x19, w12, sxtw]
subs w0, w0, w1
csel w1, w14, w25, lt
add w1, w0, w1
cset w0, lt
b LBB2_8
LBB2_13:
mov x20, #0 ; =0x0
b LBB2_16
LBB2_14:
strb wzr, [x20, w23, sxtw]
LBB2_15:
mov x0, x21
bl _libmin_free
LBB2_16:
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _times_digit ; -- Begin function times_digit
.p2align 2
_times_digit: ; @times_digit
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
cbz x0, LBB3_12
; %bb.1:
mov x21, x1
mov x0, x20
bl _libmin_strlen
mov x22, x0
lsl x23, x0, #32
mov x8, #8589934592 ; =0x200000000
add x8, x23, x8
asr x0, x8, #32
bl _libmin_malloc
mov x19, x0
cbnz x0, LBB3_3
; %bb.2:
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB3_3:
mov x8, #4294967296 ; =0x100000000
add x8, x23, x8
asr x0, x8, #32
strb wzr, [x19, x0]
asr x23, x23, #32
cmp w22, #0
b.le LBB3_8
; %bb.4:
mov w9, #0 ; =0x0
sub w8, w21, #48
and x10, x22, #0xffffffff
sub x11, x20, #1
mov w12, #26215 ; =0x6667
movk w12, #26214, lsl #16
mov w13, #10 ; =0xa
mov x14, x23
LBB3_5: ; =>This Inner Loop Header: Depth=1
ldrsb w15, [x11, x14]
sub w15, w15, #48
madd w15, w15, w8, w9
smull x9, w15, w12
lsr x16, x9, #63
asr x9, x9, #34
add w9, w9, w16
msub w15, w9, w13, w15
add w15, w15, #48
strb w15, [x19, x14]
sub x14, x14, #1
subs x10, x10, #1
b.ne LBB3_5
; %bb.6:
add w8, w9, #48
strb w8, [x19]
tst w9, #0xff
b.eq LBB3_9
; %bb.7:
mov x20, x19
b LBB3_12
LBB3_8:
mov w8, #48 ; =0x30
strb w8, [x19]
LBB3_9:
bl _libmin_malloc
mov x20, x0
cbnz x0, LBB3_11
; %bb.10:
Lloh8:
adrp x0, l_.str.3@PAGE
Lloh9:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB3_11:
strb wzr, [x20, x23]
add x1, x19, #1
mov x0, x20
bl _libmin_strcpy
mov x0, x19
bl _libmin_free
LBB3_12:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _splice ; -- Begin function splice
.p2align 2
_splice: ; @splice
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
cbz x0, LBB4_6
; %bb.1:
mov x20, x0
cbz x19, LBB4_4
; %bb.2:
mov x0, x20
bl _libmin_strlen
mov x21, x0
mov x0, x19
bl _libmin_strlen
add w8, w0, w21
add w8, w8, #1
sxtw x0, w8
bl _libmin_malloc
cbz x0, LBB4_5
; %bb.3:
mov x21, x0
mov x1, x20
bl _libmin_strcpy
mov x0, x21
mov x1, x19
bl _libmin_strcat
mov x19, x21
b LBB4_6
LBB4_4:
mov x19, x20
b LBB4_6
LBB4_5:
Lloh10:
adrp x0, l_.str.4@PAGE
Lloh11:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
mov x19, #0 ; =0x0
LBB4_6:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.globl _cut_off ; -- Begin function cut_off
.p2align 2
_cut_off: ; @cut_off
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, #0 ; =0x0
cbz x0, LBB5_5
; %bb.1:
mov x21, x1
cmp w1, #1
b.lt LBB5_5
; %bb.2:
mov x19, x0
bl _libmin_strlen
cmp w0, w21
csel w21, w0, w21, lt
add w8, w21, #1
sxtw x1, w8
mov w0, #1 ; =0x1
bl _libmin_calloc
mov x20, x0
cbz x0, LBB5_4
; %bb.3:
sxtw x2, w21
mov x0, x20
mov x1, x19
bl _libmin_strncpy
b LBB5_5
LBB5_4:
Lloh12:
adrp x0, l_.str.5@PAGE
Lloh13:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
LBB5_5:
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
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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
sub sp, sp, #2096
.cfi_def_cfa w29, 16
.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
Lloh14:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh15:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
ldr x8, [x8]
stur x8, [x29, #-96]
adrp x19, _argv@PAGE+8
ldr x0, [x19, _argv@PAGEOFF+8]
bl _libmin_strlen
Lloh17:
adrp x21, __pctype@GOTPAGE
Lloh18:
ldr x21, [x21, __pctype@GOTPAGEOFF]
cbz x0, LBB6_4
; %bb.1:
mov x20, #0 ; =0x0
LBB6_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
ldr x0, [x19, _argv@PAGEOFF+8]
ldrsb x9, [x0, x20]
ldrh w8, [x8, x9, lsl #1]
tbz w8, #2, LBB6_13
; %bb.3: ; in Loop: Header=BB6_2 Depth=1
add x20, x20, #1
bl _libmin_strlen
cmp x0, x20
b.hi LBB6_2
LBB6_4:
adrp x20, _argv@PAGE+16
ldr x0, [x20, _argv@PAGEOFF+16]
bl _libmin_strlen
cbz x0, LBB6_8
; %bb.5:
mov x22, #0 ; =0x0
LBB6_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
ldr x0, [x20, _argv@PAGEOFF+16]
ldrsb x9, [x0, x22]
ldrh w8, [x8, x9, lsl #1]
tbz w8, #2, LBB6_15
; %bb.7: ; in Loop: Header=BB6_6 Depth=1
add x22, x22, #1
bl _libmin_strlen
cmp x0, x22
b.hi LBB6_6
LBB6_8:
ldr x0, [x20, _argv@PAGEOFF+16]
bl _libmin_strlen
cbz x0, LBB6_12
; %bb.9:
mov x21, #0 ; =0x0
LBB6_10: ; =>This Inner Loop Header: Depth=1
ldr x0, [x20, _argv@PAGEOFF+16]
ldrb w8, [x0, x21]
cmp w8, #48
b.ne LBB6_18
; %bb.11: ; in Loop: Header=BB6_10 Depth=1
add x21, x21, #1
bl _libmin_strlen
cmp x0, x21
b.hi LBB6_10
LBB6_12:
Lloh19:
adrp x8, l_.str.12@PAGE
Lloh20:
add x8, x8, l_.str.12@PAGEOFF
str x8, [sp]
Lloh21:
adrp x0, l_.str.11@PAGE
Lloh22:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_printf
b LBB6_88
LBB6_13:
Lloh23:
adrp x8, l_.str.10@PAGE
Lloh24:
add x8, x8, l_.str.10@PAGEOFF
stp x8, x0, [sp]
Lloh25:
adrp x0, l_.str.9@PAGE
Lloh26:
add x0, x0, l_.str.9@PAGEOFF
bl _libmin_printf
cbz x20, LBB6_17
LBB6_14: ; =>This Inner Loop Header: Depth=1
mov w0, #32 ; =0x20
bl _libmin_putc
subs w20, w20, #1
b.ne LBB6_14
b LBB6_17
LBB6_15:
Lloh27:
adrp x8, l_.str.10@PAGE
Lloh28:
add x8, x8, l_.str.10@PAGEOFF
stp x8, x0, [sp]
Lloh29:
adrp x0, l_.str.9@PAGE
Lloh30:
add x0, x0, l_.str.9@PAGEOFF
bl _libmin_printf
cbz x22, LBB6_17
LBB6_16: ; =>This Inner Loop Header: Depth=1
mov w0, #32 ; =0x20
bl _libmin_putc
subs w22, w22, #1
b.ne LBB6_16
LBB6_17:
mov w0, #94 ; =0x5e
bl _libmin_putc
mov w0, #10 ; =0xa
bl _libmin_putc
b LBB6_88
LBB6_18:
ldr x0, [x19, _argv@PAGEOFF+8]
Lloh31:
adrp x1, l_.str@PAGE
Lloh32:
add x1, x1, l_.str@PAGEOFF
bl _libmin_strpbrk
cbz x0, LBB6_20
; %bb.19:
mov x19, x0
bl _libmin_strlen
mov x23, x0
b LBB6_21
LBB6_20:
mov w23, #1 ; =0x1
Lloh33:
adrp x19, l_.str.13@PAGE
Lloh34:
add x19, x19, l_.str.13@PAGEOFF
LBB6_21:
add w8, w23, #1
sxtw x22, w8
mov x0, x22
bl _libmin_malloc
mov x27, x0
str x0, [sp, #1056]
mov x1, x19
bl _libmin_strcpy
ldr x0, [x20, _argv@PAGEOFF+16]
Lloh35:
adrp x1, l_.str@PAGE
Lloh36:
add x1, x1, l_.str@PAGEOFF
bl _libmin_strpbrk
mov x19, x0
bl _libmin_strlen
mov x25, x0
add w8, w25, #1
sxtw x0, w8
bl _libmin_malloc
mov x20, x0
mov x1, x19
bl _libmin_strcpy
sub w28, w25, #1
mov w0, #1 ; =0x1
mov x1, x22
bl _libmin_calloc
mov x22, x0
cmp w25, #2
b.lt LBB6_23
; %bb.22:
mov x0, x22
mov w1, #48 ; =0x30
mov x2, x28
bl _memset
LBB6_23:
mov x0, x27
mov x1, x20
bl _isgte
cbz w0, LBB6_57
; %bb.24:
stp x25, x23, [sp, #16] ; 16-byte Folded Spill
mov x24, #0 ; =0x0
Lloh37:
adrp x23, l_.str.13@PAGE
Lloh38:
add x23, x23, l_.str.13@PAGEOFF
add x21, sp, #1056
; kill: def $w28 killed $w28 killed $x28 def $x28
b LBB6_26
LBB6_25: ; in Loop: Header=BB6_26 Depth=1
mov x0, x26
bl _libmin_free
mov x0, x27
mov x1, x20
bl _isgte
cbz w0, LBB6_56
LBB6_26: ; =>This Loop Header: Depth=1
; Child Loop BB6_52 Depth 2
; Child Loop BB6_45 Depth 2
mov x26, #0 ; =0x0
tbnz w28, #31, LBB6_31
; %bb.27: ; in Loop: Header=BB6_26 Depth=1
cbz x27, LBB6_31
; %bb.28: ; in Loop: Header=BB6_26 Depth=1
add w19, w28, #1
mov x0, x27
bl _libmin_strlen
cmp w0, w19
csel w19, w0, w19, lt
add w8, w19, #1
sxtw x1, w8
mov w0, #1 ; =0x1
bl _libmin_calloc
mov x26, x0
cbz x0, LBB6_30
; %bb.29: ; in Loop: Header=BB6_26 Depth=1
sxtw x2, w19
mov x0, x26
mov x1, x27
bl _libmin_strncpy
b LBB6_31
LBB6_30: ; in Loop: Header=BB6_26 Depth=1
Lloh39:
adrp x0, l_.str.5@PAGE
Lloh40:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
LBB6_31: ; in Loop: Header=BB6_26 Depth=1
mov x0, x26
mov x1, x20
bl _isgte
cbz w0, LBB6_49
LBB6_32: ; in Loop: Header=BB6_26 Depth=1
ldr x19, [x21]
mov x0, x26
bl _libmin_strlen
mov x27, x0
mov w21, #57 ; =0x39
mov x0, x20
mov w1, #57 ; =0x39
bl _times_digit
mov x28, x0
add x25, sp, #32
str x0, [x25, x24, lsl #3]
mov x0, x26
mov x1, x28
bl _isgte
cbnz w0, LBB6_42
; %bb.33: ; in Loop: Header=BB6_26 Depth=1
mov x0, x28
bl _libmin_free
mov w21, #56 ; =0x38
mov x0, x20
mov w1, #56 ; =0x38
bl _times_digit
mov x28, x0
str x0, [x25, x24, lsl #3]
mov x0, x26
mov x1, x28
bl _isgte
cbnz w0, LBB6_42
; %bb.34: ; in Loop: Header=BB6_26 Depth=1
mov x0, x28
bl _libmin_free
mov w21, #55 ; =0x37
mov x0, x20
mov w1, #55 ; =0x37
bl _times_digit
mov x28, x0
str x0, [x25, x24, lsl #3]
mov x0, x26
mov x1, x28
bl _isgte
cbnz w0, LBB6_42
; %bb.35: ; in Loop: Header=BB6_26 Depth=1
mov x0, x28
bl _libmin_free
mov w21, #54 ; =0x36
mov x0, x20
mov w1, #54 ; =0x36
bl _times_digit
mov x28, x0
str x0, [x25, x24, lsl #3]
mov x0, x26
mov x1, x28
bl _isgte
cbnz w0, LBB6_42
; %bb.36: ; in Loop: Header=BB6_26 Depth=1
mov x0, x28
bl _libmin_free
mov w21, #53 ; =0x35
mov x0, x20
mov w1, #53 ; =0x35
bl _times_digit
mov x28, x0
str x0, [x25, x24, lsl #3]
mov x0, x26
mov x1, x28
bl _isgte
cbnz w0, LBB6_42
; %bb.37: ; in Loop: Header=BB6_26 Depth=1
mov x0, x28
bl _libmin_free
mov w21, #52 ; =0x34
mov x0, x20
mov w1, #52 ; =0x34
bl _times_digit
mov x28, x0
str x0, [x25, x24, lsl #3]
mov x0, x26
mov x1, x28
bl _isgte
cbnz w0, LBB6_42
; %bb.38: ; in Loop: Header=BB6_26 Depth=1
mov x0, x28
bl _libmin_free
mov w21, #51 ; =0x33
mov x0, x20
mov w1, #51 ; =0x33
bl _times_digit
mov x28, x0
str x0, [x25, x24, lsl #3]
mov x0, x26
mov x1, x28
bl _isgte
cbnz w0, LBB6_42
; %bb.39: ; in Loop: Header=BB6_26 Depth=1
mov x0, x28
bl _libmin_free
mov w21, #50 ; =0x32
mov x0, x20
mov w1, #50 ; =0x32
bl _times_digit
mov x28, x0
str x0, [x25, x24, lsl #3]
mov x0, x26
mov x1, x28
bl _isgte
cbnz w0, LBB6_42
; %bb.40: ; in Loop: Header=BB6_26 Depth=1
mov x0, x28
bl _libmin_free
mov w21, #49 ; =0x31
mov x0, x20
mov w1, #49 ; =0x31
bl _times_digit
mov x28, x0
str x0, [x25, x24, lsl #3]
mov x0, x26
mov x1, x28
bl _isgte
cbnz w0, LBB6_42
; %bb.41: ; in Loop: Header=BB6_26 Depth=1
mov x0, x28
bl _libmin_free
mov w21, #48 ; =0x30
LBB6_42: ; in Loop: Header=BB6_26 Depth=1
Lloh41:
adrp x25, l_.str@PAGE
Lloh42:
add x25, x25, l_.str@PAGEOFF
add x27, x19, x27
mov x0, x22
bl _libmin_strlen
strb w21, [x22, x0]
mov x0, x26
mov x1, x28
bl _sbc
mov x19, x0
mov x1, x25
bl _libmin_strpbrk
cbz x0, LBB6_44
; %bb.43: ; in Loop: Header=BB6_26 Depth=1
mov x0, x19
mov x1, x25
bl _libmin_strpbrk
bl _libmin_strlen
mov x28, x0
cbnz w28, LBB6_47
LBB6_44: ; in Loop: Header=BB6_26 Depth=1
ldrb w8, [x27]
cmp w8, #48
b.ne LBB6_46
LBB6_45: ; Parent Loop BB6_26 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x22
mov x1, x23
bl _libmin_strcat
ldrb w8, [x27, #1]!
cmp w8, #48
b.eq LBB6_45
LBB6_46: ; in Loop: Header=BB6_26 Depth=1
mov w28, #0 ; =0x0
LBB6_47: ; in Loop: Header=BB6_26 Depth=1
mov x0, x19
mov x1, x27
bl _splice
mov x1, x25
bl _libmin_strpbrk
mov x27, x0
add x24, x24, #1
add x8, sp, #1056
add x21, x8, x24, lsl #3
str x0, [x21]
cbnz x0, LBB6_25
; %bb.48: ; in Loop: Header=BB6_26 Depth=1
mov w0, #2 ; =0x2
bl _libmin_malloc
mov x27, x0
str x0, [x21]
mov x1, x23
bl _libmin_strcpy
b LBB6_25
LBB6_49: ; in Loop: Header=BB6_26 Depth=1
add w27, w28, #2
b LBB6_52
LBB6_50: ; in Loop: Header=BB6_52 Depth=2
sxtw x2, w28
mov x0, x26
mov x1, x19
bl _libmin_strncpy
LBB6_51: ; in Loop: Header=BB6_52 Depth=2
mov x0, x26
mov x1, x20
bl _isgte
add w27, w27, #1
cbnz w0, LBB6_32
LBB6_52: ; Parent Loop BB6_26 Depth=1
; => This Inner Loop Header: Depth=2
sub w19, w27, #1
mov x0, x22
mov x1, x23
bl _libmin_strcat
mov x0, x26
bl _libmin_free
mov x26, #0 ; =0x0
tbnz w19, #31, LBB6_51
; %bb.53: ; in Loop: Header=BB6_52 Depth=2
ldr x19, [x21]
cbz x19, LBB6_51
; %bb.54: ; in Loop: Header=BB6_52 Depth=2
mov x0, x19
bl _libmin_strlen
cmp w0, w27
csel w28, w0, w27, lt
add w8, w28, #1
sxtw x1, w8
mov w0, #1 ; =0x1
bl _libmin_calloc
mov x26, x0
cbnz x0, LBB6_50
; %bb.55: ; in Loop: Header=BB6_52 Depth=2
Lloh43:
adrp x0, l_.str.5@PAGE
Lloh44:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
b LBB6_51
LBB6_56:
ldp x25, x23, [sp, #16] ; 16-byte Folded Reload
b LBB6_58
LBB6_57:
mov w24, #0 ; =0x0
LBB6_58:
mov x0, x22
bl _libmin_strlen
sub w21, w23, w0
cmp w21, #1
b.lt LBB6_61
; %bb.59:
Lloh45:
adrp x19, l_.str.13@PAGE
Lloh46:
add x19, x19, l_.str.13@PAGEOFF
LBB6_60: ; =>This Inner Loop Header: Depth=1
mov x0, x22
mov x1, x19
bl _libmin_strcat
subs w21, w21, #1
b.ne LBB6_60
LBB6_61:
add w19, w25, #2
cmn w25, #1
b.lt LBB6_64
; %bb.62:
cmp w19, #1
csinc w21, w19, wzr, gt
LBB6_63: ; =>This Inner Loop Header: Depth=1
mov w0, #32 ; =0x20
bl _libmin_putc
subs w21, w21, #1
b.ne LBB6_63
LBB6_64:
ldrb w8, [x22]
cmp w8, #48
b.ne LBB6_66
LBB6_65: ; =>This Inner Loop Header: Depth=1
mov w0, #32 ; =0x20
bl _libmin_putc
ldrb w8, [x22, #1]!
cmp w8, #48
b.eq LBB6_65
LBB6_66:
str x22, [sp]
Lloh47:
adrp x0, l_.str.11@PAGE
Lloh48:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_printf
cmn w25, #1
b.lt LBB6_69
; %bb.67:
cmp w19, #1
csinc w21, w19, wzr, gt
LBB6_68: ; =>This Inner Loop Header: Depth=1
mov w0, #32 ; =0x20
bl _libmin_putc
subs w21, w21, #1
b.ne LBB6_68
LBB6_69:
cmp w23, #1
b.lt LBB6_72
; %bb.70:
mov x21, x23
LBB6_71: ; =>This Inner Loop Header: Depth=1
mov w0, #95 ; =0x5f
bl _libmin_putc
subs w21, w21, #1
b.ne LBB6_71
LBB6_72:
ldr x21, [sp, #1056]
stp x20, x21, [sp]
Lloh49:
adrp x0, l_.str.14@PAGE
Lloh50:
add x0, x0, l_.str.14@PAGEOFF
bl _libmin_printf
cbz w24, LBB6_87
; %bb.73:
mov x22, #0 ; =0x0
add w8, w19, w23
sxtw x23, w8
mov w24, w24
add x25, sp, #32
add x26, sp, #1056
Lloh51:
adrp x19, l_.str.11@PAGE
Lloh52:
add x19, x19, l_.str.11@PAGEOFF
b LBB6_75
LBB6_74: ; in Loop: Header=BB6_75 Depth=1
str x21, [sp]
mov x0, x19
bl _libmin_printf
cmp x22, x24
b.eq LBB6_87
LBB6_75: ; =>This Loop Header: Depth=1
; Child Loop BB6_77 Depth 2
; Child Loop BB6_80 Depth 2
; Child Loop BB6_83 Depth 2
; Child Loop BB6_86 Depth 2
mov x0, x21
bl _libmin_strlen
cmp x0, x23
b.eq LBB6_78
; %bb.76: ; in Loop: Header=BB6_75 Depth=1
mov x20, #0 ; =0x0
LBB6_77: ; Parent Loop BB6_75 Depth=1
; => This Inner Loop Header: Depth=2
mov w0, #32 ; =0x20
bl _libmin_putc
add x20, x20, #1
mov x0, x21
bl _libmin_strlen
sub x8, x23, x0
cmp x8, x20
b.hi LBB6_77
LBB6_78: ; in Loop: Header=BB6_75 Depth=1
ldr x20, [x25, x22, lsl #3]
str x20, [sp]
mov x0, x19
bl _libmin_printf
mov x0, x21
bl _libmin_strlen
cmp x0, x23
b.eq LBB6_81
; %bb.79: ; in Loop: Header=BB6_75 Depth=1
mov x27, #0 ; =0x0
LBB6_80: ; Parent Loop BB6_75 Depth=1
; => This Inner Loop Header: Depth=2
mov w0, #32 ; =0x20
bl _libmin_putc
add x27, x27, #1
mov x0, x21
bl _libmin_strlen
sub x8, x23, x0
cmp x8, x27
b.hi LBB6_80
LBB6_81: ; in Loop: Header=BB6_75 Depth=1
mov x0, x20
bl _libmin_strlen
cbz x0, LBB6_84
; %bb.82: ; in Loop: Header=BB6_75 Depth=1
mov x21, #0 ; =0x0
LBB6_83: ; Parent Loop BB6_75 Depth=1
; => This Inner Loop Header: Depth=2
mov w0, #45 ; =0x2d
bl _libmin_putc
add x21, x21, #1
mov x0, x20
bl _libmin_strlen
cmp x0, x21
b.hi LBB6_83
LBB6_84: ; in Loop: Header=BB6_75 Depth=1
mov w0, #10 ; =0xa
bl _libmin_putc
add x22, x22, #1
ldr x21, [x26, x22, lsl #3]
mov x0, x21
bl _libmin_strlen
cmp x0, x23
b.eq LBB6_74
; %bb.85: ; in Loop: Header=BB6_75 Depth=1
mov x20, #0 ; =0x0
LBB6_86: ; Parent Loop BB6_75 Depth=1
; => This Inner Loop Header: Depth=2
mov w0, #32 ; =0x20
bl _libmin_putc
add x20, x20, #1
mov x0, x21
bl _libmin_strlen
sub x8, x23, x0
cmp x8, x20
b.hi LBB6_86
b LBB6_74
LBB6_87:
bl _libmin_success
LBB6_88:
ldur x8, [x29, #-96]
Lloh53:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh54:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh55:
ldr x9, [x9]
cmp x9, x8
b.ne LBB6_90
; %bb.89:
mov w0, #0 ; =0x0
add sp, sp, #2096
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
LBB6_90:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "123456789"
l_.str.1: ; @.str.1
.asciz "sbc: Unable to malloc space for result\n"
l_.str.2: ; @.str.2
.asciz "sbc: Unable to malloc\n"
l_.str.3: ; @.str.3
.asciz "Unable to malloc partial product array\n"
l_.str.4: ; @.str.4
.asciz "splice: unable to malloc\n"
l_.str.5: ; @.str.5
.asciz "cut_off: Unable to malloc\n"
.section __DATA,__data
.globl _argc ; @argc
.p2align 2, 0x0
_argc:
.long 3 ; 0x3
.section __TEXT,__cstring,cstring_literals
l_.str.6: ; @.str.6
.asciz "longdiv"
l_.str.7: ; @.str.7
.asciz "52333498"
l_.str.8: ; @.str.8
.asciz "27"
.section __DATA,__data
.globl _argv ; @argv
.p2align 3, 0x0
_argv:
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.section __TEXT,__cstring,cstring_literals
l_.str.9: ; @.str.9
.asciz "%s\n%s\n"
l_.str.10: ; @.str.10
.asciz "longdiv: syntax error"
l_.str.11: ; @.str.11
.asciz "%s\n"
l_.str.12: ; @.str.12
.asciz "longdiv: Cannot divide by 0.\n"
l_.str.13: ; @.str.13
.asciz "0"
l_.str.14: ; @.str.14
.asciz "\n %s)%s\n"
.subsections_via_symbols
|
knights-tour.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _isSafe ## -- Begin function isSafe
.p2align 4, 0x90
_isSafe: ## @isSafe
.cfi_startproc
## %bb.0:
xorl %eax, %eax
cmpl $4, %edi
ja LBB0_3
## %bb.1:
cmpl $4, %esi
ja LBB0_3
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
movl %esi, %ecx
leaq (%rax,%rax,4), %rax
leaq (%rdx,%rax,4), %rdx
xorl %eax, %eax
cmpl $-1, (%rdx,%rcx,4)
sete %al
popq %rbp
LBB0_3:
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
movq %rdi, %rbx
movl (%rdi), %esi
leaq L_.str(%rip), %r14
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 4(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 8(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 12(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 16(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %r15
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 20(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 24(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 28(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 32(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 36(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 40(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 44(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 48(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 52(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 56(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 60(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 64(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 68(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 72(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 76(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 80(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 84(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 88(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 92(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl 96(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _solveKT ## -- Begin function solveKT
.p2align 4, 0x90
_solveKT: ## @solveKT
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $120, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
pcmpeqd %xmm0, %xmm0
movdqa %xmm0, -128(%rbp)
movdqa %xmm0, -48(%rbp)
movdqa %xmm0, -64(%rbp)
movdqa %xmm0, -80(%rbp)
movdqa %xmm0, -96(%rbp)
movdqa %xmm0, -112(%rbp)
movl $-1, -32(%rbp)
movl $0, -128(%rbp)
leaq l___const.solveKT.xMove(%rip), %r8
leaq l___const.solveKT.yMove(%rip), %r9
xorl %ebx, %ebx
leaq -128(%rbp), %rcx
xorl %edi, %edi
xorl %esi, %esi
movl $1, %edx
callq _solveKTUtil
testl %eax, %eax
je LBB2_1
## %bb.2:
leaq -128(%rbp), %rdi
callq _printSolution
movl $1, %ebx
jmp LBB2_3
LBB2_1:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB2_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB2_5
## %bb.4:
movl %ebx, %eax
addq $120, %rsp
popq %rbx
popq %rbp
retq
LBB2_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _solveKTUtil ## -- Begin function solveKTUtil
.p2align 4, 0x90
_solveKTUtil: ## @solveKTUtil
.cfi_startproc
## %bb.0:
## kill: def $edx killed $edx def $rdx
movl $1, %eax
cmpl $25, %edx
je LBB3_11
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r11d
movl %edi, %ebx
leal 1(%rdx), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
xorl %r12d, %r12d
movq %rdx, -64(%rbp) ## 8-byte Spill
movl %esi, -48(%rbp) ## 4-byte Spill
movl %edi, -44(%rbp) ## 4-byte Spill
jmp LBB3_2
.p2align 4, 0x90
LBB3_8: ## in Loop: Header=BB3_2 Depth=1
incq %r12
cmpq $8, %r12
je LBB3_9
LBB3_2: ## =>This Inner Loop Header: Depth=1
movl (%r8,%r12,4), %edi
addl %ebx, %edi
cmpl $4, %edi
ja LBB3_8
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
movl (%r9,%r12,4), %esi
addl %r11d, %esi
cmpl $4, %esi
ja LBB3_8
## %bb.4: ## in Loop: Header=BB3_2 Depth=1
movl %edi, %r10d
movl %esi, %eax
leaq (%r10,%r10,4), %r10
leaq (%rcx,%r10,4), %r10
cmpl $-1, (%r10,%rax,4)
jne LBB3_8
## %bb.5: ## in Loop: Header=BB3_2 Depth=1
leaq (%r10,%rax,4), %rbx
movl %edx, (%rbx)
movl -52(%rbp), %edx ## 4-byte Reload
movq %rcx, %r14
movq %r8, %r15
movq %r9, %r13
callq _solveKTUtil
testl %eax, %eax
jne LBB3_6
## %bb.7: ## in Loop: Header=BB3_2 Depth=1
movl $-1, (%rbx)
movq %r14, %rcx
movq %r13, %r9
movq -64(%rbp), %rdx ## 8-byte Reload
movq %r15, %r8
movl -48(%rbp), %r11d ## 4-byte Reload
movl -44(%rbp), %ebx ## 4-byte Reload
jmp LBB3_8
LBB3_9:
xorl %eax, %eax
LBB3_10:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB3_11:
retq
LBB3_6:
movl $1, %eax
jmp LBB3_10
.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 $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
pcmpeqd %xmm0, %xmm0
movdqa %xmm0, -112(%rbp)
movdqa %xmm0, -32(%rbp)
movdqa %xmm0, -48(%rbp)
movdqa %xmm0, -64(%rbp)
movdqa %xmm0, -80(%rbp)
movdqa %xmm0, -96(%rbp)
movl $-1, -16(%rbp)
movl $0, -112(%rbp)
leaq l___const.solveKT.xMove(%rip), %r8
leaq l___const.solveKT.yMove(%rip), %r9
leaq -112(%rbp), %rcx
xorl %edi, %edi
xorl %esi, %esi
movl $1, %edx
callq _solveKTUtil
testl %eax, %eax
je LBB4_1
## %bb.2:
leaq -112(%rbp), %rdi
callq _printSolution
jmp LBB4_3
LBB4_1:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB4_3:
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -8(%rbp), %rax
jne LBB4_5
## %bb.4:
xorl %eax, %eax
addq $112, %rsp
popq %rbp
retq
LBB4_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " %2d "
L_.str.1: ## @.str.1
.asciz "\n"
.section __TEXT,__const
.p2align 4, 0x0 ## @__const.solveKT.xMove
l___const.solveKT.xMove:
.long 2 ## 0x2
.long 1 ## 0x1
.long 4294967295 ## 0xffffffff
.long 4294967294 ## 0xfffffffe
.long 4294967294 ## 0xfffffffe
.long 4294967295 ## 0xffffffff
.long 1 ## 0x1
.long 2 ## 0x2
.p2align 4, 0x0 ## @__const.solveKT.yMove
l___const.solveKT.yMove:
.long 1 ## 0x1
.long 2 ## 0x2
.long 2 ## 0x2
.long 1 ## 0x1
.long 4294967295 ## 0xffffffff
.long 4294967294 ## 0xfffffffe
.long 4294967294 ## 0xfffffffe
.long 4294967295 ## 0xffffffff
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "Solution does not exist"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _isSafe ; -- Begin function isSafe
.p2align 2
_isSafe: ; @isSafe
.cfi_startproc
; %bb.0:
mov x8, x0
mov w0, #0 ; =0x0
cmp w8, #4
b.hi LBB0_3
; %bb.1:
cmp w1, #4
b.hi LBB0_3
; %bb.2:
mov w9, #20 ; =0x14
umaddl x8, w8, w9, x2
ldr w8, [x8, w1, uxtw #2]
cmn w8, #1
cset w0, eq
LBB0_3:
ret
.cfi_endproc
; -- End function
.globl _printSolution ; -- Begin function printSolution
.p2align 2
_printSolution: ; @printSolution
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr w8, [x0]
str x8, [sp]
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #4]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #8]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #12]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #16]
str x8, [sp]
mov x0, x20
bl _libmin_printf
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
mov x0, x21
bl _libmin_printf
ldr w8, [x19, #20]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #24]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #28]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #32]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #36]
str x8, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x21
bl _libmin_printf
ldr w8, [x19, #40]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #44]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #48]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #52]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #56]
str x8, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x21
bl _libmin_printf
ldr w8, [x19, #60]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #64]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #68]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #72]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #76]
str x8, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x21
bl _libmin_printf
ldr w8, [x19, #80]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #84]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #88]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #92]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x19, #96]
str x8, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _libmin_printf
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _solveKT ; -- Begin function solveKT
.p2align 2
_solveKT: ; @solveKT
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh4:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh5:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
stur x8, [x29, #-8]
movi.2d v0, #0xffffffffffffffff
stur q0, [sp, #88]
stur q0, [sp, #72]
stur q0, [sp, #56]
stur q0, [sp, #40]
stur q0, [sp, #24]
stur q0, [sp, #8]
str wzr, [sp, #4]
Lloh7:
adrp x4, l___const.solveKT.xMove@PAGE
Lloh8:
add x4, x4, l___const.solveKT.xMove@PAGEOFF
Lloh9:
adrp x5, l___const.solveKT.yMove@PAGE
Lloh10:
add x5, x5, l___const.solveKT.yMove@PAGEOFF
add x3, sp, #4
mov w0, #0 ; =0x0
mov w1, #0 ; =0x0
mov w2, #1 ; =0x1
bl _solveKTUtil
cbz w0, LBB2_2
; %bb.1:
add x0, sp, #4
bl _printSolution
mov w0, #1 ; =0x1
b LBB2_3
LBB2_2:
Lloh11:
adrp x0, l_.str.2@PAGE
Lloh12:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov w0, #0 ; =0x0
LBB2_3:
ldur x8, [x29, #-8]
Lloh13:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh14:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_5
; %bb.4:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB2_5:
bl ___stack_chk_fail
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.globl _solveKTUtil ; -- Begin function solveKTUtil
.p2align 2
_solveKTUtil: ; @solveKTUtil
.cfi_startproc
; %bb.0:
cmp w2, #25
b.ne LBB3_2
; %bb.1:
mov w0, #1 ; =0x1
ret
LBB3_2:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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, x5
mov x20, x4
mov x21, x3
mov x22, x2
mov x23, x1
mov x24, x0
mov x26, #0 ; =0x0
add w25, w2, #1
mov w27, #20 ; =0x14
b LBB3_4
LBB3_3: ; in Loop: Header=BB3_4 Depth=1
add x26, x26, #4
cmp x26, #32
b.eq LBB3_8
LBB3_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, x26]
add w0, w8, w24
ldr w8, [x19, x26]
add w1, w8, w23
cmp w0, #4
ccmp w1, #4, #2, ls
b.hi LBB3_3
; %bb.5: ; in Loop: Header=BB3_4 Depth=1
umaddl x8, w0, w27, x21
add x28, x8, w1, uxtw #2
ldr w8, [x28]
cmn w8, #1
b.ne LBB3_3
; %bb.6: ; in Loop: Header=BB3_4 Depth=1
str w22, [x28]
mov x2, x25
mov x3, x21
mov x4, x20
mov x5, x19
bl _solveKTUtil
cbnz w0, LBB3_10
; %bb.7: ; in Loop: Header=BB3_4 Depth=1
mov w8, #-1 ; =0xffffffff
str w8, [x28]
b LBB3_3
LBB3_8:
mov w0, #0 ; =0x0
LBB3_9:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB3_10:
mov w0, #1 ; =0x1
b LBB3_9
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh16:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh17:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
ldr x8, [x8]
stur x8, [x29, #-8]
movi.2d v0, #0xffffffffffffffff
stur q0, [sp, #88]
stur q0, [sp, #72]
stur q0, [sp, #56]
stur q0, [sp, #40]
stur q0, [sp, #24]
stur q0, [sp, #8]
str wzr, [sp, #4]
Lloh19:
adrp x4, l___const.solveKT.xMove@PAGE
Lloh20:
add x4, x4, l___const.solveKT.xMove@PAGEOFF
Lloh21:
adrp x5, l___const.solveKT.yMove@PAGE
Lloh22:
add x5, x5, l___const.solveKT.yMove@PAGEOFF
add x3, sp, #4
mov w0, #0 ; =0x0
mov w1, #0 ; =0x0
mov w2, #1 ; =0x1
bl _solveKTUtil
cbz w0, LBB4_2
; %bb.1:
add x0, sp, #4
bl _printSolution
b LBB4_3
LBB4_2:
Lloh23:
adrp x0, l_.str.2@PAGE
Lloh24:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
LBB4_3:
bl _libmin_success
ldur x8, [x29, #-8]
Lloh25:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh26:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
ldr x9, [x9]
cmp x9, x8
b.ne LBB4_5
; %bb.4:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB4_5:
bl ___stack_chk_fail
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " %2d "
l_.str.1: ; @.str.1
.asciz "\n"
.section __TEXT,__const
.p2align 2, 0x0 ; @__const.solveKT.xMove
l___const.solveKT.xMove:
.long 2 ; 0x2
.long 1 ; 0x1
.long 4294967295 ; 0xffffffff
.long 4294967294 ; 0xfffffffe
.long 4294967294 ; 0xfffffffe
.long 4294967295 ; 0xffffffff
.long 1 ; 0x1
.long 2 ; 0x2
.p2align 2, 0x0 ; @__const.solveKT.yMove
l___const.solveKT.yMove:
.long 1 ; 0x1
.long 2 ; 0x2
.long 2 ; 0x2
.long 1 ; 0x1
.long 4294967295 ; 0xffffffff
.long 4294967294 ; 0xfffffffe
.long 4294967294 ; 0xfffffffe
.long 4294967295 ; 0xffffffff
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "Solution does not exist"
.subsections_via_symbols
|
nr-solver.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.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
movq _sqrt_value@GOTPCREL(%rip), %rax
mulsd %xmm0, %xmm0
subsd (%rax), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _df ## -- Begin function df
.p2align 4, 0x90
_df: ## @df
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addsd %xmm0, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function myfabs
LCPI2_0:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _myfabs
.p2align 4, 0x90
_myfabs: ## @myfabs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movapd LCPI2_0(%rip), %xmm1 ## xmm1 = [-0.0E+0,-0.0E+0]
xorpd %xmm0, %xmm1
maxsd %xmm0, %xmm1
movapd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function rn_solver
LCPI3_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI3_1:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _rn_solver
.p2align 4, 0x90
_rn_solver: ## @rn_solver
.cfi_startproc
## %bb.0:
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
movsd %xmm0, -48(%rbp) ## 8-byte Spill
movl $0, (%rdi)
testl %esi, %esi
je LBB3_1
## %bb.2:
movq %rcx, %rbx
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %r12
movsd LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero
.p2align 4, 0x90
LBB3_3: ## =>This Inner Loop Header: Depth=1
movsd %xmm0, -40(%rbp) ## 8-byte Spill
callq *%r14
movapd %xmm0, %xmm1
xorpd LCPI3_1(%rip), %xmm1
maxsd %xmm0, %xmm1
xorl %eax, %eax
movsd -48(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
setae %al
movl %eax, (%r12)
jae LBB3_4
## %bb.5: ## in Loop: Header=BB3_3 Depth=1
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq *%r14
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq *%rbx
movsd -56(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
divsd %xmm0, %xmm1
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
subsd %xmm1, %xmm0
decl %r15d
jne LBB3_3
jmp LBB3_6
LBB3_1:
movsd LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero
jmp LBB3_6
LBB3_4:
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
LBB3_6:
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function main
LCPI4_0:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0
LCPI4_1:
.quad 0x3ff0000000000000 ## double 1
LCPI4_2:
.quad 0x3ee4f8b588e368f1 ## double 1.0000000000000001E-5
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %r14d, %r14d
leaq _testdata(%rip), %r15
movq _sqrt_value@GOTPCREL(%rip), %r12
movapd LCPI4_0(%rip), %xmm5 ## xmm5 = [-0.0E+0,-0.0E+0]
movsd LCPI4_2(%rip), %xmm6 ## xmm6 = mem[0],zero
leaq L_.str(%rip), %rbx
jmp LBB4_1
.p2align 4, 0x90
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
movq %rbx, %rdi
movb $2, %al
callq _libmin_printf
incq %r14
cmpq $50, %r14
movapd LCPI4_0(%rip), %xmm5 ## xmm5 = [-0.0E+0,-0.0E+0]
movsd LCPI4_2(%rip), %xmm6 ## xmm6 = mem[0],zero
je LBB4_7
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_2 Depth 2
movsd (%r15,%r14,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, (%r12)
movapd %xmm0, %xmm2
xorpd %xmm5, %xmm2
movl $20, %eax
movsd LCPI4_1(%rip), %xmm1 ## xmm1 = mem[0],zero
.p2align 4, 0x90
LBB4_2: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movapd %xmm1, %xmm3
mulsd %xmm1, %xmm3
addsd %xmm2, %xmm3
movapd %xmm3, %xmm4
xorpd %xmm5, %xmm4
maxsd %xmm3, %xmm4
movl $116, %esi
ucomisd %xmm4, %xmm6
jae LBB4_6
## %bb.3: ## in Loop: Header=BB4_2 Depth=2
movapd %xmm1, %xmm4
addsd %xmm1, %xmm4
divsd %xmm4, %xmm3
subsd %xmm3, %xmm1
movapd %xmm1, %xmm3
mulsd %xmm1, %xmm3
addsd %xmm2, %xmm3
movapd %xmm3, %xmm4
xorpd %xmm5, %xmm4
maxsd %xmm3, %xmm4
ucomisd %xmm4, %xmm6
jae LBB4_6
## %bb.4: ## in Loop: Header=BB4_2 Depth=2
movapd %xmm1, %xmm4
addsd %xmm1, %xmm4
divsd %xmm4, %xmm3
subsd %xmm3, %xmm1
addl $-2, %eax
jne LBB4_2
## %bb.5: ## in Loop: Header=BB4_1 Depth=1
movl $102, %esi
jmp LBB4_6
LBB4_7:
callq _libmin_success
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _sqrt_value,8,3 ## @sqrt_value
.section __DATA,__data
.globl _testdata ## @testdata
.p2align 4, 0x0
_testdata:
.quad 0x411829430c7f6591 ## double 395856.76220473001
.quad 0x41107f8b3914ad61 ## double 270306.80574293999
.quad 0x412c74d77f262ae2 ## double 932459.74833806999
.quad 0x412ae2fda394ffd7 ## double 881022.81949615001
.quad 0x40f1349074858f07 ## double 70473.028447684002
.quad 0x4121c3af9de87aa8 ## double 582103.80841429997
.quad 0x40e2290436dc794e ## double 37192.131696926997
.quad 0x41228d853fda1a12 ## double 607938.62471085996
.quad 0x411415e78f97c2d5 ## double 329081.89022736001
.quad 0x40f32c3099a76ca7 ## double 78531.037513183997
.quad 0x4113d744cf55f077 ## double 325073.20247626997
.quad 0x4123cbe80613bca0 ## double 648692.01186932996
.quad 0x4126bc2c40741ddf ## double 744982.12588589999
.quad 0x410cdcb9d9b63b3b ## double 236439.23130461
.quad 0x40bce5bd8fa19e20 ## double 7397.7404728900001
.quad 0x412db34451315fc9 ## double 973218.15857981995
.quad 0x4129d565510a6965 ## double 846514.65828255995
.quad 0x41288d61b99a684c ## double 804528.86250616005
.quad 0x41288de1e943e1ac ## double 804592.95559601998
.quad 0x411359290a64005b ## double 317002.26014710002
.quad 0x412073f069662a81 ## double 539128.20585758996
.quad 0x41125c162cfb3312 ## double 300805.54392700002
.quad 0x4128ae2d0005f762 ## double 808726.50004551955
.quad 0x411854bf2ed897b1 ## double 398639.79574810999
.quad 0x4126cae695658a73 ## double 746867.29179031996
.quad 0x41262f952b24795c ## double 726986.58426264999
.quad 0x40f5f361b9f06626 ## double 89910.107895277994
.quad 0x41029c032ba8f480 ## double 152448.39631834999
.quad 0x412da23386c51015 ## double 971033.76322222
.quad 0x4129edb4e4d925a1 ## double 849626.44696920004
.quad 0x412973dcd982fa1b ## double 834030.42482740001
.quad 0x410e2df8c19fa521 ## double 247231.09454277999
.quad 0x412a5747b518ceae ## double 863139.85370489
.quad 0x411f91ef17668068 ## double 517243.77285195002
.quad 0x41285ead76a064e5 ## double 798550.73169246002
.quad 0x4115ae02d196ebbf ## double 355200.70467727998
.quad 0x40c42d862efd8a6b ## double 10331.048309033
.quad 0x4112aa305d4391d0 ## double 305804.09107806999
.quad 0x412d3d53aae8aa23 ## double 958121.83380634
.quad 0x40f8939066f74ad0 ## double 100665.02513818
.quad 0x41207ddc3531fbd1 ## double 540398.10389697005
.quad 0x41161065c595a0e7 ## double 361497.44295360002
.quad 0x41216f740a967b82 ## double 571322.02067934
.quad 0x410acc67895460d5 ## double 219532.94205546999
.quad 0x40a9e7b8fe5c4d19 ## double 3315.8613156169999
.quad 0x41b14fad5032e5c9 ## double 290434384.19881874
.quad 0x411d4925e6ddb1a1 ## double 479817.47545506997
.quad 0x4112c2153209c221 ## double 307333.29886535002
.quad 0x40f1875d98b71f4d ## double 71797.849784014004
.quad 0x412a8d81b24284e0 ## double 870080.84816375002
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "sqrt(%lf) == %lf (converged:%c)\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _sqrt_value@GOTPAGE
Lloh1:
ldr x8, [x8, _sqrt_value@GOTPAGEOFF]
Lloh2:
ldr d1, [x8]
fnmsub d0, d0, d0, d1
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.globl _df ; -- Begin function df
.p2align 2
_df: ; @df
.cfi_startproc
; %bb.0:
fadd d0, d0, d0
ret
.cfi_endproc
; -- End function
.globl _myfabs ; -- Begin function myfabs
.p2align 2
_myfabs: ; @myfabs
.cfi_startproc
; %bb.0:
fneg d1, d0
fcmp d0, #0.0
fcsel d0, d1, d0, mi
ret
.cfi_endproc
; -- End function
.globl _rn_solver ; -- Begin function rn_solver
.p2align 2
_rn_solver: ; @rn_solver
.cfi_startproc
; %bb.0:
stp d11, d10, [sp, #-80]! ; 16-byte Folded Spill
stp d9, d8, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset b8, -56
.cfi_offset b9, -64
.cfi_offset b10, -72
.cfi_offset b11, -80
str wzr, [x0]
cbz w1, LBB3_4
; %bb.1:
mov x19, x3
mov x20, x2
mov x21, x1
fmov d9, d0
mov x22, x0
fmov d8, #1.00000000
LBB3_2: ; =>This Inner Loop Header: Depth=1
fmov d0, d8
blr x20
fneg d1, d0
fcmp d0, #0.0
fcsel d0, d1, d0, mi
fcmp d0, d9
cset w8, ls
str w8, [x22]
b.ls LBB3_5
; %bb.3: ; in Loop: Header=BB3_2 Depth=1
fmov d0, d8
blr x20
fmov d10, d0
fmov d0, d8
blr x19
fdiv d0, d10, d0
fsub d8, d8, d0
subs w21, w21, #1
b.ne LBB3_2
b LBB3_5
LBB3_4:
fmov d8, #1.00000000
LBB3_5:
fmov d0, d8
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 x20, #0 ; =0x0
Lloh3:
adrp x21, _testdata@PAGE
Lloh4:
add x21, x21, _testdata@PAGEOFF
Lloh5:
adrp x22, _sqrt_value@GOTPAGE
Lloh6:
ldr x22, [x22, _sqrt_value@GOTPAGEOFF]
mov x23, #26865 ; =0x68f1
movk x23, #35043, lsl #16
movk x23, #63669, lsl #32
movk x23, #16100, lsl #48
Lloh7:
adrp x19, l_.str@PAGE
Lloh8:
add x19, x19, l_.str@PAGEOFF
b LBB4_3
LBB4_1: ; in Loop: Header=BB4_3 Depth=1
mov w8, #116 ; =0x74
LBB4_2: ; in Loop: Header=BB4_3 Depth=1
str x8, [sp, #16]
stp d0, d1, [sp]
mov x0, x19
bl _libmin_printf
add x20, x20, #1
cmp x20, #50
b.eq LBB4_7
LBB4_3: ; =>This Loop Header: Depth=1
; Child Loop BB4_4 Depth 2
ldr d0, [x21, x20, lsl #3]
str d0, [x22]
fneg d2, d0
fmov d1, #1.00000000
mov w8, #20 ; =0x14
LBB4_4: ; Parent Loop BB4_3 Depth=1
; => This Inner Loop Header: Depth=2
fmadd d3, d1, d1, d2
fnmadd d4, d1, d1, d2
fcmp d3, #0.0
fcsel d4, d4, d3, mi
fmov d5, x23
fcmp d4, d5
b.ls LBB4_1
; %bb.5: ; in Loop: Header=BB4_4 Depth=2
fadd d4, d1, d1
fdiv d3, d3, d4
fsub d1, d1, d3
subs w8, w8, #1
b.ne LBB4_4
; %bb.6: ; in Loop: Header=BB4_3 Depth=1
mov w8, #102 ; =0x66
b LBB4_2
LBB4_7:
bl _libmin_success
mov w0, #0 ; =0x0
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 Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _sqrt_value,8,3 ; @sqrt_value
.section __DATA,__data
.globl _testdata ; @testdata
.p2align 3, 0x0
_testdata:
.quad 0x411829430c7f6591 ; double 395856.76220473001
.quad 0x41107f8b3914ad61 ; double 270306.80574293999
.quad 0x412c74d77f262ae2 ; double 932459.74833806999
.quad 0x412ae2fda394ffd7 ; double 881022.81949615001
.quad 0x40f1349074858f07 ; double 70473.028447684002
.quad 0x4121c3af9de87aa8 ; double 582103.80841429997
.quad 0x40e2290436dc794e ; double 37192.131696926997
.quad 0x41228d853fda1a12 ; double 607938.62471085996
.quad 0x411415e78f97c2d5 ; double 329081.89022736001
.quad 0x40f32c3099a76ca7 ; double 78531.037513183997
.quad 0x4113d744cf55f077 ; double 325073.20247626997
.quad 0x4123cbe80613bca0 ; double 648692.01186932996
.quad 0x4126bc2c40741ddf ; double 744982.12588589999
.quad 0x410cdcb9d9b63b3b ; double 236439.23130461
.quad 0x40bce5bd8fa19e20 ; double 7397.7404728900001
.quad 0x412db34451315fc9 ; double 973218.15857981995
.quad 0x4129d565510a6965 ; double 846514.65828255995
.quad 0x41288d61b99a684c ; double 804528.86250616005
.quad 0x41288de1e943e1ac ; double 804592.95559601998
.quad 0x411359290a64005b ; double 317002.26014710002
.quad 0x412073f069662a81 ; double 539128.20585758996
.quad 0x41125c162cfb3312 ; double 300805.54392700002
.quad 0x4128ae2d0005f762 ; double 808726.50004551955
.quad 0x411854bf2ed897b1 ; double 398639.79574810999
.quad 0x4126cae695658a73 ; double 746867.29179031996
.quad 0x41262f952b24795c ; double 726986.58426264999
.quad 0x40f5f361b9f06626 ; double 89910.107895277994
.quad 0x41029c032ba8f480 ; double 152448.39631834999
.quad 0x412da23386c51015 ; double 971033.76322222
.quad 0x4129edb4e4d925a1 ; double 849626.44696920004
.quad 0x412973dcd982fa1b ; double 834030.42482740001
.quad 0x410e2df8c19fa521 ; double 247231.09454277999
.quad 0x412a5747b518ceae ; double 863139.85370489
.quad 0x411f91ef17668068 ; double 517243.77285195002
.quad 0x41285ead76a064e5 ; double 798550.73169246002
.quad 0x4115ae02d196ebbf ; double 355200.70467727998
.quad 0x40c42d862efd8a6b ; double 10331.048309033
.quad 0x4112aa305d4391d0 ; double 305804.09107806999
.quad 0x412d3d53aae8aa23 ; double 958121.83380634
.quad 0x40f8939066f74ad0 ; double 100665.02513818
.quad 0x41207ddc3531fbd1 ; double 540398.10389697005
.quad 0x41161065c595a0e7 ; double 361497.44295360002
.quad 0x41216f740a967b82 ; double 571322.02067934
.quad 0x410acc67895460d5 ; double 219532.94205546999
.quad 0x40a9e7b8fe5c4d19 ; double 3315.8613156169999
.quad 0x41b14fad5032e5c9 ; double 290434384.19881874
.quad 0x411d4925e6ddb1a1 ; double 479817.47545506997
.quad 0x4112c2153209c221 ; double 307333.29886535002
.quad 0x40f1875d98b71f4d ; double 71797.849784014004
.quad 0x412a8d81b24284e0 ; double 870080.84816375002
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "sqrt(%lf) == %lf (converged:%c)\n"
.subsections_via_symbols
|
gcd-list.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _gcd ## -- Begin function gcd
.p2align 4, 0x90
_gcd: ## @gcd
.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), %ecx
cmpl $2, %esi
jb LBB0_3
## %bb.1:
movl $1, %r8d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r8d, %eax
movl (%rdi,%rax,4), %eax
xorl %edx, %edx
divl %ecx
xorl %eax, %eax
testl %edx, %edx
sete %al
cmovnel %edx, %ecx
addl %eax, %r8d
cmpl %esi, %r8d
jb LBB0_2
LBB0_3:
movl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $42, %edi
callq _libmin_srand
movl $256, %edi ## imm = 0x100
callq _libmin_malloc
movq %rax, %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
## kill: def $eax killed $eax def $rax
movl %eax, %ecx
imulq $1801439851, %rcx, %rcx ## imm = 0x6B5FCA6B
shrq $54, %rcx
imull $10000000, %ecx, %ecx ## imm = 0x989680
subl %ecx, %eax
leal (%rax,%rax,8), %ecx
leal (%rax,%rcx,4), %eax
movl %eax, (%rbx,%r14,4)
incq %r14
cmpq $64, %r14
jne LBB1_1
## %bb.2:
leaq L_.str(%rip), %rdi
movl $64, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %r14
xorl %r15d, %r15d
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
movl (%rbx,%r15,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r15
cmpq $64, %r15
jne LBB1_3
## %bb.4:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl (%rbx), %edx
movl $1, %ecx
.p2align 4, 0x90
LBB1_5: ## =>This Inner Loop Header: Depth=1
movl %edx, %esi
movl %ecx, %eax
movl (%rbx,%rax,4), %eax
xorl %edx, %edx
divl %esi
xorl %eax, %eax
testl %edx, %edx
sete %al
cmovel %esi, %edx
addl %eax, %ecx
cmpl $64, %ecx
jb LBB1_5
## %bb.6:
leaq L_.str.3(%rip), %rdi
movl %edx, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
callq _libmin_free
callq _libmin_success
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 "INFO: a[%d] = { "
L_.str.1: ## @.str.1
.asciz "%d, "
L_.str.2: ## @.str.2
.asciz " }\n"
L_.str.3: ## @.str.3
.asciz "GCD of list: %u\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _gcd ; -- Begin function gcd
.p2align 2
_gcd: ; @gcd
.cfi_startproc
; %bb.0:
mov x8, x0
ldr w0, [x0]
cmp w1, #2
b.lo LBB0_3
; %bb.1:
mov w9, #1 ; =0x1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w10, [x8, w9, uxtw #2]
udiv w11, w10, w0
msub w10, w11, w0, w10
cmp w10, #0
csel w0, w0, w10, eq
cinc w9, w9, eq
cmp w9, w1
b.lo LBB0_2
LBB0_3:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov w0, #42 ; =0x2a
bl _libmin_srand
mov w0, #256 ; =0x100
bl _libmin_malloc
mov x19, x0
mov x20, #0 ; =0x0
mov w21, #51819 ; =0xca6b
movk w21, #27487, lsl #16
mov w22, #38528 ; =0x9680
movk w22, #152, lsl #16
mov w23, #37 ; =0x25
LBB1_1: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
umull x8, w0, w21
lsr x8, x8, #54
msub w8, w8, w22, w0
mul w8, w8, w23
str w8, [x19, x20]
add x20, x20, #4
cmp x20, #256
b.ne LBB1_1
; %bb.2:
mov w8, #64 ; =0x40
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov x21, #0 ; =0x0
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19, x21]
str x8, [sp]
mov x0, x20
bl _libmin_printf
add x21, x21, #4
cmp x21, #256
b.ne LBB1_3
; %bb.4:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
ldr w8, [x19]
mov w9, #1 ; =0x1
LBB1_5: ; =>This Inner Loop Header: Depth=1
ldr w10, [x19, w9, uxtw #2]
udiv w11, w10, w8
msub w10, w11, w8, w10
cmp w10, #0
csel w8, w8, w10, eq
cinc w9, w9, eq
cmp w9, #64
b.lo LBB1_5
; %bb.6:
str x8, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
mov x0, x19
bl _libmin_free
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "INFO: a[%d] = { "
l_.str.1: ; @.str.1
.asciz "%d, "
l_.str.2: ; @.str.2
.asciz " }\n"
l_.str.3: ; @.str.3
.asciz "GCD of list: %u\n"
.subsections_via_symbols
|
life.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $1001, %edi ## imm = 0x3E9
callq _libmin_srand
xorl %ebx, %ebx
movq _gridVals@GOTPCREL(%rip), %r14
movq _gridTmpVals@GOTPCREL(%rip), %r15
leaq _BLOCKS(%rip), %r12
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
leaq (%rbx,%rbx,4), %rax
leaq (%rbx,%rax,4), %rax
addq %rbx, %rax
leaq (%rax,%r14), %rcx
movq _grid(%rip), %rdx
movq %rcx, (%rdx,%rbx,8)
addq %r15, %rax
movq _gridTmp(%rip), %rcx
movq %rax, (%rcx,%rbx,8)
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
callq _libmin_rand
xorl %edx, %edx
divl _NUM_BLOCKS(%rip)
## kill: def $edx killed $edx def $rdx
movzbl (%rdx,%r12), %eax
movq _grid(%rip), %rcx
movq (%rcx,%rbx,8), %rcx
movb %al, (%rcx,%r13)
movq _gridTmp(%rip), %rax
movq (%rax,%rbx,8), %rax
movb $32, (%rax,%r13)
incq %r13
cmpq $22, %r13
jne LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
incq %rbx
cmpq $70, %rbx
jne LBB0_1
## %bb.4:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.3(%rip), %r15
leaq L_.str.4(%rip), %r12
xorl %r14d, %r14d
jmp LBB0_5
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_5 Depth=1
movq _grid(%rip), %rax
movq _gridTmp(%rip), %rcx
movq %rcx, _grid(%rip)
movq %rax, _gridTmp(%rip)
incl %r14d
cmpl $80, %r14d
je LBB0_17
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
## Child Loop BB0_7 Depth 3
## Child Loop BB0_10 Depth 2
## Child Loop BB0_11 Depth 3
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl _evolution(%rip), %esi
leal 1(%rsi), %eax
movl %eax, _evolution(%rip)
leaq L_.str.2(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _libmin_printf
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_7 Depth 3
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_6 Depth=2
## => This Inner Loop Header: Depth=3
movq _grid(%rip), %rax
movq (%rax,%r13,8), %rax
movsbl (%rax,%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r13
cmpq $70, %r13
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_6 Depth=2
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %rbx
cmpq $22, %rbx
jne LBB0_6
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
xorl %r13d, %r13d
jmp LBB0_10
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_10 Depth=2
incq %r13
cmpq $22, %r13
je LBB0_16
LBB0_10: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_11 Depth 3
xorl %ebx, %ebx
jmp LBB0_11
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_11 Depth=3
cmpl $3, %eax
movzbl %dl, %ecx
movzbl _DEAD(%rip), %eax
cmovel %ecx, %eax
LBB0_14: ## in Loop: Header=BB0_11 Depth=3
movq _gridTmp(%rip), %rcx
movq (%rcx,%rbx,8), %rcx
movb %al, (%rcx,%r13)
callq _libmin_rand
incq %rbx
cmpq $70, %rbx
je LBB0_15
LBB0_11: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_10 Depth=2
## => This Inner Loop Header: Depth=3
movl %ebx, %edi
movl %r13d, %esi
callq _getNumNeigbors
movq _grid(%rip), %rcx
movq (%rcx,%rbx,8), %rcx
movzbl (%rcx,%r13), %ecx
movzbl _LIVE(%rip), %edx
cmpb %dl, %cl
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=3
addl $-4, %eax
cmpl $-2, %eax
movzbl %cl, %ecx
movzbl _DEAD(%rip), %eax
cmovael %ecx, %eax
jmp LBB0_14
LBB0_17:
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init ## -- Begin function init
.p2align 4, 0x90
_init: ## @init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
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 $1001, %edi ## imm = 0x3E9
callq _libmin_srand
xorl %ebx, %ebx
movq _gridVals@GOTPCREL(%rip), %r14
movq _gridTmpVals@GOTPCREL(%rip), %r15
leaq _BLOCKS(%rip), %r12
.p2align 4, 0x90
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_2 Depth 2
leaq (%rbx,%rbx,4), %rax
leaq (%rbx,%rax,4), %rax
addq %rbx, %rax
leaq (%rax,%r14), %rcx
movq _grid(%rip), %rdx
movq %rcx, (%rdx,%rbx,8)
addq %r15, %rax
movq _gridTmp(%rip), %rcx
movq %rax, (%rcx,%rbx,8)
xorl %r13d, %r13d
.p2align 4, 0x90
LBB1_2: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
callq _libmin_rand
xorl %edx, %edx
divl _NUM_BLOCKS(%rip)
## kill: def $edx killed $edx def $rdx
movzbl (%rdx,%r12), %eax
movq _grid(%rip), %rcx
movq (%rcx,%rbx,8), %rcx
movb %al, (%rcx,%r13)
movq _gridTmp(%rip), %rax
movq (%rax,%rbx,8), %rax
movb $32, (%rax,%r13)
incq %r13
cmpq $22, %r13
jne LBB1_2
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
incq %rbx
cmpq $70, %rbx
jne LBB1_1
## %bb.4:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _draw ## -- Begin function draw
.p2align 4, 0x90
_draw: ## @draw
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl _evolution(%rip), %esi
leal 1(%rsi), %eax
movl %eax, _evolution(%rip)
leaq L_.str.2(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.3(%rip), %rbx
leaq L_.str.4(%rip), %r14
xorl %r15d, %r15d
.p2align 4, 0x90
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_2 Depth 2
xorl %r12d, %r12d
.p2align 4, 0x90
LBB2_2: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movq _grid(%rip), %rax
movq (%rax,%r12,8), %rax
movsbl (%rax,%r15), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r12
cmpq $70, %r12
jne LBB2_2
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r15
cmpq $22, %r15
jne LBB2_1
## %bb.4:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _process ## -- Begin function process
.p2align 4, 0x90
_process: ## @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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
xorl %ebx, %ebx
jmp LBB3_1
.p2align 4, 0x90
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
incq %rbx
cmpq $22, %rbx
je LBB3_5
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_2 Depth 2
xorl %r14d, %r14d
jmp LBB3_2
.p2align 4, 0x90
LBB3_6: ## in Loop: Header=BB3_2 Depth=2
cmpl $3, %eax
movzbl %dl, %ecx
movzbl _DEAD(%rip), %eax
cmovel %ecx, %eax
LBB3_7: ## in Loop: Header=BB3_2 Depth=2
movq _gridTmp(%rip), %rcx
movq (%rcx,%r14,8), %rcx
movb %al, (%rcx,%rbx)
callq _libmin_rand
incq %r14
cmpq $70, %r14
je LBB3_4
LBB3_2: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %r14d, %edi
movl %ebx, %esi
callq _getNumNeigbors
movq _grid(%rip), %rcx
movq (%rcx,%r14,8), %rcx
movzbl (%rcx,%rbx), %ecx
movzbl _LIVE(%rip), %edx
cmpb %dl, %cl
jne LBB3_6
## %bb.3: ## in Loop: Header=BB3_2 Depth=2
addl $-4, %eax
cmpl $-2, %eax
movzbl %cl, %ecx
movzbl _DEAD(%rip), %eax
cmovael %ecx, %eax
jmp LBB3_7
LBB3_5:
movq _grid(%rip), %rax
movq _gridTmp(%rip), %rcx
movq %rcx, _grid(%rip)
movq %rax, _gridTmp(%rip)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getNumNeigbors ## -- Begin function getNumNeigbors
.p2align 4, 0x90
_getNumNeigbors: ## @getNumNeigbors
.cfi_startproc
## %bb.0:
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
movslq %esi, %rdx
movslq %edi, %r8
testl %edi, %edi
je LBB4_1
## %bb.3:
movq _grid(%rip), %r9
movq -8(%r9,%r8,8), %rax
movzbl _LIVE(%rip), %ecx
xorl %r11d, %r11d
cmpb %cl, (%rax,%rdx)
sete %r11b
cmpl $69, %r8d
jne LBB4_2
## %bb.4:
leaq _DEAD(%rip), %rbx
movb $1, %r10b
jmp LBB4_5
LBB4_1:
movzbl _LIVE(%rip), %ecx
xorl %r11d, %r11d
cmpb %cl, _DEAD(%rip)
sete %r11b
movq _grid(%rip), %r9
LBB4_2:
movq 8(%r9,%r8,8), %rbx
addq %rdx, %rbx
xorl %r10d, %r10d
LBB4_5:
xorl %eax, %eax
cmpb %cl, (%rbx)
sete %al
addl %r11d, %eax
testl %esi, %esi
je LBB4_6
## %bb.8:
movq (%r9,%r8,8), %r11
xorl %ebx, %ebx
cmpb %cl, -1(%rdx,%r11)
sete %bl
addl %ebx, %eax
cmpl $21, %esi
jne LBB4_7
## %bb.9:
leaq _DEAD(%rip), %r14
movb $1, %bl
jmp LBB4_10
LBB4_6:
xorl %r11d, %r11d
cmpb %cl, _DEAD(%rip)
sete %r11b
addl %r11d, %eax
movq (%r9,%r8,8), %r11
LBB4_7:
leaq (%rdx,%r11), %r14
incq %r14
xorl %ebx, %ebx
LBB4_10:
leaq _DEAD(%rip), %r11
movq %r11, %r15
testl %edi, %edi
je LBB4_13
## %bb.11:
movq %r11, %r15
testl %esi, %esi
je LBB4_13
## %bb.12:
movq -8(%r9,%r8,8), %r15
addq %rdx, %r15
decq %r15
LBB4_13:
testl %esi, %esi
sete %sil
orb %r10b, %sil
movq %r11, %rsi
jne LBB4_15
## %bb.14:
movq 8(%r9,%r8,8), %rsi
addq %rdx, %rsi
decq %rsi
LBB4_15:
testl %edi, %edi
sete %dil
orb %bl, %dil
movq %r11, %r12
jne LBB4_17
## %bb.16:
movq -8(%r9,%r8,8), %rdi
leaq (%rdx,%rdi), %r12
incq %r12
LBB4_17:
movzbl (%r14), %r14d
movzbl (%r15), %edi
movzbl (%rsi), %esi
movzbl (%r12), %r15d
orb %bl, %r10b
jne LBB4_19
## %bb.18:
movq 8(%r9,%r8,8), %r8
leaq (%rdx,%r8), %r11
incq %r11
LBB4_19:
xorl %edx, %edx
cmpb %cl, %r15b
sete %dl
xorl %r8d, %r8d
cmpb %cl, %r14b
sete %r8b
xorl %r9d, %r9d
cmpb %cl, %dil
sete %r9b
addl %r8d, %r9d
xorl %edi, %edi
cmpb %cl, %sil
sete %dil
addl %r9d, %edi
addl %edi, %edx
xorl %esi, %esi
cmpb %cl, (%r11)
sete %sil
addl %edx, %esi
addl %esi, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _processMutate ## -- Begin function processMutate
.p2align 4, 0x90
_processMutate: ## @processMutate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _libmin_rand ## TAILCALL
.cfi_endproc
## -- End function
.globl _flip ## -- Begin function flip
.p2align 4, 0x90
_flip: ## @flip
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _grid(%rip), %rax
movq _gridTmp(%rip), %rcx
movq %rcx, _grid(%rip)
movq %rax, _gridTmp(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getLeft ## -- Begin function getLeft
.p2align 4, 0x90
_getLeft: ## @getLeft
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edi, %edi
je LBB7_1
## %bb.2:
movq _grid(%rip), %rcx
movslq %edi, %rdx
movslq %esi, %rax
addq -8(%rcx,%rdx,8), %rax
jmp LBB7_3
LBB7_1:
leaq _DEAD(%rip), %rax
LBB7_3:
movsbl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getRight ## -- Begin function getRight
.p2align 4, 0x90
_getRight: ## @getRight
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $69, %edi
jne LBB8_2
## %bb.1:
leaq _DEAD(%rip), %rax
jmp LBB8_3
LBB8_2:
movq _grid(%rip), %rcx
movslq %edi, %rdx
movslq %esi, %rax
addq 8(%rcx,%rdx,8), %rax
LBB8_3:
movsbl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getUp ## -- Begin function getUp
.p2align 4, 0x90
_getUp: ## @getUp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %esi, %esi
je LBB9_1
## %bb.2:
movq _grid(%rip), %rax
movslq %edi, %rcx
movq (%rax,%rcx,8), %rax
movslq %esi, %rcx
addq %rcx, %rax
decq %rax
jmp LBB9_3
LBB9_1:
leaq _DEAD(%rip), %rax
LBB9_3:
movsbl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getDown ## -- Begin function getDown
.p2align 4, 0x90
_getDown: ## @getDown
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $21, %esi
jne LBB10_2
## %bb.1:
leaq _DEAD(%rip), %rax
jmp LBB10_3
LBB10_2:
movq _grid(%rip), %rax
movslq %edi, %rcx
movq (%rax,%rcx,8), %rax
movslq %esi, %rcx
addq %rcx, %rax
incq %rax
LBB10_3:
movsbl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getUpLeft ## -- Begin function getUpLeft
.p2align 4, 0x90
_getUpLeft: ## @getUpLeft
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _DEAD(%rip), %rax
testl %edi, %edi
je LBB11_3
## %bb.1:
testl %esi, %esi
je LBB11_3
## %bb.2:
movq _grid(%rip), %rax
movslq %edi, %rcx
movq -8(%rax,%rcx,8), %rax
movslq %esi, %rcx
addq %rcx, %rax
decq %rax
LBB11_3:
movsbl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getUpRight ## -- Begin function getUpRight
.p2align 4, 0x90
_getUpRight: ## @getUpRight
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _DEAD(%rip), %rax
cmpl $69, %edi
je LBB12_3
## %bb.1:
testl %esi, %esi
je LBB12_3
## %bb.2:
movq _grid(%rip), %rax
movslq %edi, %rcx
movq 8(%rax,%rcx,8), %rax
movslq %esi, %rcx
addq %rcx, %rax
decq %rax
LBB12_3:
movsbl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getDownLeft ## -- Begin function getDownLeft
.p2align 4, 0x90
_getDownLeft: ## @getDownLeft
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _DEAD(%rip), %rax
testl %edi, %edi
je LBB13_3
## %bb.1:
cmpl $21, %esi
je LBB13_3
## %bb.2:
movq _grid(%rip), %rax
movslq %edi, %rcx
movq -8(%rax,%rcx,8), %rax
movslq %esi, %rcx
addq %rcx, %rax
incq %rax
LBB13_3:
movsbl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getDownRight ## -- Begin function getDownRight
.p2align 4, 0x90
_getDownRight: ## @getDownRight
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _DEAD(%rip), %rax
cmpl $69, %edi
je LBB14_3
## %bb.1:
cmpl $21, %esi
je LBB14_3
## %bb.2:
movq _grid(%rip), %rax
movslq %edi, %rcx
movq 8(%rax,%rcx,8), %rax
movslq %esi, %rcx
addq %rcx, %rax
incq %rax
LBB14_3:
movsbl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sleep ## -- Begin function sleep
.p2align 4, 0x90
_sleep: ## @sleep
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _x@GOTPCREL(%rip), %rax
movl $0, (%rax)
cmpl $0, (%rax)
jg LBB15_3
.p2align 4, 0x90
LBB15_1: ## =>This Inner Loop Header: Depth=1
incl (%rax)
cmpl $0, (%rax)
jle LBB15_1
LBB15_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _NUM_BLOCKS ## @NUM_BLOCKS
.p2align 2, 0x0
_NUM_BLOCKS:
.long 2 ## 0x2
.globl _LIVE ## @LIVE
_LIVE:
.byte 42 ## 0x2a
.globl _DEAD ## @DEAD
_DEAD:
.byte 32 ## 0x20
.globl _BLOCKS ## @BLOCKS
_BLOCKS:
.ascii " *"
.globl _evolution ## @evolution
.p2align 2, 0x0
_evolution:
.long 1 ## 0x1
.comm _gridRoots,560,4 ## @gridRoots
.globl _grid ## @grid
.p2align 3, 0x0
_grid:
.quad _gridRoots
.comm _gridTmpRoots,560,4 ## @gridTmpRoots
.globl _gridTmp ## @gridTmp
.p2align 3, 0x0
_gridTmp:
.quad _gridTmpRoots
.comm _gridVals,1540,4 ## @gridVals
.comm _gridTmpVals,1540,4 ## @gridTmpVals
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\033[2J"
L_.str.1: ## @.str.1
.asciz "\033[H"
L_.str.2: ## @.str.2
.asciz "CONWAY'S Game of Life\n\nEvolution #%d\n\n"
L_.str.3: ## @.str.3
.asciz "%c"
L_.str.4: ## @.str.4
.asciz "\n"
.comm _x,4,2 ## @x
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov w0, #1001 ; =0x3e9
bl _libmin_srand
mov x19, #0 ; =0x0
Lloh0:
adrp x21, _gridVals@GOTPAGE
Lloh1:
ldr x21, [x21, _gridVals@GOTPAGEOFF]
Lloh2:
adrp x22, _gridTmpVals@GOTPAGE
Lloh3:
ldr x22, [x22, _gridTmpVals@GOTPAGEOFF]
adrp x25, _grid@PAGE
adrp x26, _gridTmp@PAGE
adrp x23, _NUM_BLOCKS@PAGE
mov w24, #32 ; =0x20
Lloh4:
adrp x27, _BLOCKS@PAGE
Lloh5:
add x27, x27, _BLOCKS@PAGEOFF
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
mov x28, #0 ; =0x0
mov w8, #22 ; =0x16
mul x8, x19, x8
add x9, x21, x8
ldr x10, [x25, _grid@PAGEOFF]
lsl x20, x19, #3
str x9, [x10, x20]
add x8, x22, x8
ldr x9, [x26, _gridTmp@PAGEOFF]
str x8, [x9, x20]
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
bl _libmin_rand
ldr w8, [x23, _NUM_BLOCKS@PAGEOFF]
udiv w9, w0, w8
msub w8, w9, w8, w0
ldrb w8, [x27, w8, uxtw]
ldr x9, [x25, _grid@PAGEOFF]
ldr x9, [x9, x20]
strb w8, [x9, x28]
ldr x8, [x26, _gridTmp@PAGEOFF]
ldr x8, [x8, x20]
strb w24, [x8, x28]
add x28, x28, #1
cmp x28, #22
b.ne LBB0_2
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
add x19, x19, #1
cmp x19, #70
b.ne LBB0_1
; %bb.4:
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov w27, #0 ; =0x0
adrp x28, _evolution@PAGE
Lloh8:
adrp x21, l_.str.3@PAGE
Lloh9:
add x21, x21, l_.str.3@PAGEOFF
adrp x19, _LIVE@PAGE
adrp x20, _DEAD@PAGE
Lloh10:
adrp x22, l_.str.4@PAGE
Lloh11:
add x22, x22, l_.str.4@PAGEOFF
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x25, _grid@PAGEOFF]
ldr x9, [x26, _gridTmp@PAGEOFF]
str x9, [x25, _grid@PAGEOFF]
str x8, [x26, _gridTmp@PAGEOFF]
add w27, w27, #1
cmp w27, #80
b.eq LBB0_17
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_8 Depth 3
; Child Loop BB0_12 Depth 2
; Child Loop BB0_15 Depth 3
Lloh12:
adrp x0, l_.str.1@PAGE
Lloh13:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
ldr w8, [x28, _evolution@PAGEOFF]
add w9, w8, #1
str w9, [x28, _evolution@PAGEOFF]
str x8, [sp]
Lloh14:
adrp x0, l_.str.2@PAGE
Lloh15:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov x23, #0 ; =0x0
LBB0_7: ; Parent Loop BB0_6 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_8 Depth 3
mov x24, #0 ; =0x0
LBB0_8: ; Parent Loop BB0_6 Depth=1
; Parent Loop BB0_7 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [x25, _grid@PAGEOFF]
ldr x8, [x8, x24]
ldrsb x8, [x8, x23]
str x8, [sp]
mov x0, x21
bl _libmin_printf
add x24, x24, #8
cmp x24, #560
b.ne LBB0_8
; %bb.9: ; in Loop: Header=BB0_7 Depth=2
mov x0, x22
bl _libmin_printf
add x23, x23, #1
cmp x23, #22
b.ne LBB0_7
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
mov x23, #0 ; =0x0
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=2
add x23, x23, #1
cmp x23, #22
b.eq LBB0_5
LBB0_12: ; Parent Loop BB0_6 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_15 Depth 3
mov x24, #0 ; =0x0
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_15 Depth=3
ldrb w8, [x20, _DEAD@PAGEOFF]
cmp w0, #3
csel w8, w9, w8, eq
LBB0_14: ; in Loop: Header=BB0_15 Depth=3
ldr x9, [x26, _gridTmp@PAGEOFF]
ldr x9, [x9, x24, lsl #3]
strb w8, [x9, x23]
bl _libmin_rand
add x24, x24, #1
cmp x24, #70
b.eq LBB0_11
LBB0_15: ; Parent Loop BB0_6 Depth=1
; Parent Loop BB0_12 Depth=2
; => This Inner Loop Header: Depth=3
mov x0, x24
mov x1, x23
bl _getNumNeigbors
ldr x8, [x25, _grid@PAGEOFF]
ldr x8, [x8, x24, lsl #3]
ldrb w8, [x8, x23]
ldrb w9, [x19, _LIVE@PAGEOFF]
cmp w8, w9
b.ne LBB0_13
; %bb.16: ; in Loop: Header=BB0_15 Depth=3
sub w9, w0, #4
ldrb w10, [x20, _DEAD@PAGEOFF]
cmn w9, #2
csel w8, w10, w8, lo
b LBB0_14
LBB0_17:
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _init ; -- Begin function init
.p2align 2
_init: ; @init
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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 w0, #1001 ; =0x3e9
bl _libmin_srand
mov x19, #0 ; =0x0
Lloh16:
adrp x21, _gridVals@GOTPAGE
Lloh17:
ldr x21, [x21, _gridVals@GOTPAGEOFF]
Lloh18:
adrp x22, _gridTmpVals@GOTPAGE
Lloh19:
ldr x22, [x22, _gridTmpVals@GOTPAGEOFF]
adrp x23, _grid@PAGE
adrp x24, _gridTmp@PAGE
adrp x25, _NUM_BLOCKS@PAGE
mov w26, #32 ; =0x20
Lloh20:
adrp x27, _BLOCKS@PAGE
Lloh21:
add x27, x27, _BLOCKS@PAGEOFF
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_2 Depth 2
mov x28, #0 ; =0x0
mov w8, #22 ; =0x16
mul x8, x19, x8
add x9, x21, x8
ldr x10, [x23, _grid@PAGEOFF]
lsl x20, x19, #3
str x9, [x10, x20]
add x8, x22, x8
ldr x9, [x24, _gridTmp@PAGEOFF]
str x8, [x9, x20]
LBB1_2: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
bl _libmin_rand
ldr w8, [x25, _NUM_BLOCKS@PAGEOFF]
udiv w9, w0, w8
msub w8, w9, w8, w0
ldrb w8, [x27, w8, uxtw]
ldr x9, [x23, _grid@PAGEOFF]
ldr x9, [x9, x20]
strb w8, [x9, x28]
ldr x8, [x24, _gridTmp@PAGEOFF]
ldr x8, [x8, x20]
strb w26, [x8, x28]
add x28, x28, #1
cmp x28, #22
b.ne LBB1_2
; %bb.3: ; in Loop: Header=BB1_1 Depth=1
add x19, x19, #1
cmp x19, #70
b.ne LBB1_1
; %bb.4:
Lloh22:
adrp x0, l_.str@PAGE
Lloh23:
add x0, x0, l_.str@PAGEOFF
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
b _libmin_printf
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh22, Lloh23
.cfi_endproc
; -- End function
.globl _draw ; -- Begin function draw
.p2align 2
_draw: ; @draw
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh24:
adrp x0, l_.str.1@PAGE
Lloh25:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
adrp x8, _evolution@PAGE
ldr w9, [x8, _evolution@PAGEOFF]
add w10, w9, #1
str w10, [x8, _evolution@PAGEOFF]
str x9, [sp]
Lloh26:
adrp x0, l_.str.2@PAGE
Lloh27:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov x21, #0 ; =0x0
adrp x22, _grid@PAGE
Lloh28:
adrp x19, l_.str.3@PAGE
Lloh29:
add x19, x19, l_.str.3@PAGEOFF
Lloh30:
adrp x20, l_.str.4@PAGE
Lloh31:
add x20, x20, l_.str.4@PAGEOFF
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_2 Depth 2
mov x23, #0 ; =0x0
LBB2_2: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x22, _grid@PAGEOFF]
ldr x8, [x8, x23]
ldrsb x8, [x8, x21]
str x8, [sp]
mov x0, x19
bl _libmin_printf
add x23, x23, #8
cmp x23, #560
b.ne LBB2_2
; %bb.3: ; in Loop: Header=BB2_1 Depth=1
mov x0, x20
bl _libmin_printf
add x21, x21, #1
cmp x21, #22
b.ne LBB2_1
; %bb.4:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.cfi_endproc
; -- End function
.globl _process ; -- Begin function process
.p2align 2
_process: ; @process
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, #0 ; =0x0
adrp x21, _grid@PAGE
adrp x23, _LIVE@PAGE
adrp x24, _DEAD@PAGE
adrp x22, _gridTmp@PAGE
b LBB3_2
LBB3_1: ; in Loop: Header=BB3_2 Depth=1
add x19, x19, #1
cmp x19, #22
b.eq LBB3_7
LBB3_2: ; =>This Loop Header: Depth=1
; Child Loop BB3_5 Depth 2
mov x20, #0 ; =0x0
b LBB3_5
LBB3_3: ; in Loop: Header=BB3_5 Depth=2
ldrb w8, [x24, _DEAD@PAGEOFF]
cmp w0, #3
csel w8, w9, w8, eq
LBB3_4: ; in Loop: Header=BB3_5 Depth=2
ldr x9, [x22, _gridTmp@PAGEOFF]
ldr x9, [x9, x20, lsl #3]
strb w8, [x9, x19]
bl _libmin_rand
add x20, x20, #1
cmp x20, #70
b.eq LBB3_1
LBB3_5: ; Parent Loop BB3_2 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x20
mov x1, x19
bl _getNumNeigbors
ldr x8, [x21, _grid@PAGEOFF]
ldr x8, [x8, x20, lsl #3]
ldrb w8, [x8, x19]
ldrb w9, [x23, _LIVE@PAGEOFF]
cmp w8, w9
b.ne LBB3_3
; %bb.6: ; in Loop: Header=BB3_5 Depth=2
sub w9, w0, #4
ldrb w10, [x24, _DEAD@PAGEOFF]
cmn w9, #2
csel w8, w10, w8, lo
b LBB3_4
LBB3_7:
ldr x8, [x21, _grid@PAGEOFF]
ldr x9, [x22, _gridTmp@PAGEOFF]
str x9, [x21, _grid@PAGEOFF]
str x8, [x22, _gridTmp@PAGEOFF]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _getNumNeigbors ; -- Begin function getNumNeigbors
.p2align 2
_getNumNeigbors: ; @getNumNeigbors
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
sxtw x9, w1
cbz w0, LBB4_3
; %bb.1:
Lloh32:
adrp x8, _grid@PAGE
Lloh33:
ldr x10, [x8, _grid@PAGEOFF]
add x8, x10, w0, sxtw #3
ldur x8, [x8, #-8]
ldrb w11, [x8, x9]
adrp x8, _LIVE@PAGE
ldrb w8, [x8, _LIVE@PAGEOFF]
cmp w11, w8
cset w12, eq
cmp w0, #69
b.ne LBB4_4
; %bb.2:
Lloh34:
adrp x13, _DEAD@PAGE
Lloh35:
add x13, x13, _DEAD@PAGEOFF
mov w11, #1 ; =0x1
b LBB4_5
LBB4_3:
Lloh36:
adrp x8, _DEAD@PAGE
ldrb w10, [x8, _DEAD@PAGEOFF]
Lloh37:
adrp x8, _LIVE@PAGE
ldrb w8, [x8, _LIVE@PAGEOFF]
cmp w10, w8
cset w12, eq
Lloh38:
adrp x10, _grid@PAGE
Lloh39:
ldr x10, [x10, _grid@PAGEOFF]
LBB4_4:
mov w11, #0 ; =0x0
add x13, x10, w0, sxtw #3
ldr x13, [x13, #8]
add x13, x13, x9
LBB4_5:
ldrb w13, [x13]
cmp w13, w8
cinc w12, w12, eq
cbz w1, LBB4_8
; %bb.6:
ldr x14, [x10, w0, sxtw #3]
add x13, x9, x14
ldurb w13, [x13, #-1]
cmp w13, w8
cinc w12, w12, eq
cmp w1, #21
b.ne LBB4_9
; %bb.7:
Lloh40:
adrp x14, _DEAD@PAGE
Lloh41:
add x14, x14, _DEAD@PAGEOFF
mov w13, #1 ; =0x1
b LBB4_10
LBB4_8:
adrp x13, _DEAD@PAGE
ldrb w13, [x13, _DEAD@PAGEOFF]
cmp w13, w8
cinc w12, w12, eq
ldr x14, [x10, w0, sxtw #3]
LBB4_9:
mov w13, #0 ; =0x0
add x14, x9, x14
add x14, x14, #1
LBB4_10:
Lloh42:
adrp x15, _DEAD@PAGE
Lloh43:
add x15, x15, _DEAD@PAGEOFF
cbz w0, LBB4_13
; %bb.11:
cbz w1, LBB4_13
; %bb.12:
add x15, x10, w0, sxtw #3
ldur x15, [x15, #-8]
add x15, x9, x15
sub x15, x15, #1
LBB4_13:
cmp w1, #0
csinc w16, w11, wzr, ne
tbz w16, #0, LBB4_15
; %bb.14:
Lloh44:
adrp x16, _DEAD@PAGE
Lloh45:
add x16, x16, _DEAD@PAGEOFF
b LBB4_16
LBB4_15:
add x16, x10, w0, sxtw #3
ldr x16, [x16, #8]
add x16, x9, x16
sub x16, x16, #1
LBB4_16:
cmp w0, #0
csinc w17, w13, wzr, ne
tbz w17, #0, LBB4_18
; %bb.17:
Lloh46:
adrp x1, _DEAD@PAGE
Lloh47:
add x1, x1, _DEAD@PAGEOFF
b LBB4_19
LBB4_18:
add x17, x10, w0, sxtw #3
ldur x17, [x17, #-8]
add x17, x9, x17
add x1, x17, #1
LBB4_19:
ldrb w17, [x14]
ldrb w15, [x15]
ldrb w14, [x16]
orr w13, w11, w13
ldrb w11, [x1]
tbz w13, #0, LBB4_21
; %bb.20:
Lloh48:
adrp x9, _DEAD@PAGE
Lloh49:
add x9, x9, _DEAD@PAGEOFF
b LBB4_22
LBB4_21:
add x10, x10, w0, sxtw #3
ldr x10, [x10, #8]
add x9, x9, x10
add x9, x9, #1
LBB4_22:
cmp w17, w8
cinc w10, w12, eq
cmp w15, w8
cinc w10, w10, eq
cmp w14, w8
cinc w10, w10, eq
cmp w11, w8
cinc w10, w10, eq
ldrb w9, [x9]
cmp w9, w8
cinc w0, w10, eq
ret
.loh AdrpLdr Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdr Lloh38, Lloh39
.loh AdrpAdrp Lloh36, Lloh37
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh48, Lloh49
.cfi_endproc
; -- End function
.globl _processMutate ; -- Begin function processMutate
.p2align 2
_processMutate: ; @processMutate
.cfi_startproc
; %bb.0:
b _libmin_rand
.cfi_endproc
; -- End function
.globl _flip ; -- Begin function flip
.p2align 2
_flip: ; @flip
.cfi_startproc
; %bb.0:
adrp x8, _grid@PAGE
ldr x9, [x8, _grid@PAGEOFF]
adrp x10, _gridTmp@PAGE
ldr x11, [x10, _gridTmp@PAGEOFF]
str x11, [x8, _grid@PAGEOFF]
str x9, [x10, _gridTmp@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _getLeft ; -- Begin function getLeft
.p2align 2
_getLeft: ; @getLeft
.cfi_startproc
; %bb.0:
cbz w0, LBB7_2
; %bb.1:
Lloh50:
adrp x8, _grid@PAGE
Lloh51:
ldr x8, [x8, _grid@PAGEOFF]
sub w9, w0, #1
ldr x8, [x8, w9, sxtw #3]
add x8, x8, w1, sxtw
ldrsb w0, [x8]
ret
LBB7_2:
Lloh52:
adrp x8, _DEAD@PAGE
Lloh53:
add x8, x8, _DEAD@PAGEOFF
Lloh54:
ldrsb w0, [x8]
ret
.loh AdrpLdr Lloh50, Lloh51
.loh AdrpAddLdr Lloh52, Lloh53, Lloh54
.cfi_endproc
; -- End function
.globl _getRight ; -- Begin function getRight
.p2align 2
_getRight: ; @getRight
.cfi_startproc
; %bb.0:
cmp w0, #69
b.ne LBB8_2
; %bb.1:
Lloh55:
adrp x8, _DEAD@PAGE
Lloh56:
add x8, x8, _DEAD@PAGEOFF
Lloh57:
ldrsb w0, [x8]
ret
LBB8_2:
Lloh58:
adrp x8, _grid@PAGE
Lloh59:
ldr x8, [x8, _grid@PAGEOFF]
add w9, w0, #1
ldr x8, [x8, w9, sxtw #3]
add x8, x8, w1, sxtw
ldrsb w0, [x8]
ret
.loh AdrpAddLdr Lloh55, Lloh56, Lloh57
.loh AdrpLdr Lloh58, Lloh59
.cfi_endproc
; -- End function
.globl _getUp ; -- Begin function getUp
.p2align 2
_getUp: ; @getUp
.cfi_startproc
; %bb.0:
cbz w1, LBB9_2
; %bb.1:
Lloh60:
adrp x8, _grid@PAGE
Lloh61:
ldr x8, [x8, _grid@PAGEOFF]
ldr x8, [x8, w0, sxtw #3]
sub w9, w1, #1
add x8, x8, w9, sxtw
ldrsb w0, [x8]
ret
LBB9_2:
Lloh62:
adrp x8, _DEAD@PAGE
Lloh63:
add x8, x8, _DEAD@PAGEOFF
Lloh64:
ldrsb w0, [x8]
ret
.loh AdrpLdr Lloh60, Lloh61
.loh AdrpAddLdr Lloh62, Lloh63, Lloh64
.cfi_endproc
; -- End function
.globl _getDown ; -- Begin function getDown
.p2align 2
_getDown: ; @getDown
.cfi_startproc
; %bb.0:
cmp w1, #21
b.ne LBB10_2
; %bb.1:
Lloh65:
adrp x8, _DEAD@PAGE
Lloh66:
add x8, x8, _DEAD@PAGEOFF
Lloh67:
ldrsb w0, [x8]
ret
LBB10_2:
Lloh68:
adrp x8, _grid@PAGE
Lloh69:
ldr x8, [x8, _grid@PAGEOFF]
ldr x8, [x8, w0, sxtw #3]
add w9, w1, #1
add x8, x8, w9, sxtw
ldrsb w0, [x8]
ret
.loh AdrpAddLdr Lloh65, Lloh66, Lloh67
.loh AdrpLdr Lloh68, Lloh69
.cfi_endproc
; -- End function
.globl _getUpLeft ; -- Begin function getUpLeft
.p2align 2
_getUpLeft: ; @getUpLeft
.cfi_startproc
; %bb.0:
Lloh70:
adrp x8, _DEAD@PAGE
Lloh71:
add x8, x8, _DEAD@PAGEOFF
cbz w0, LBB11_3
; %bb.1:
cbz w1, LBB11_3
; %bb.2:
Lloh72:
adrp x8, _grid@PAGE
Lloh73:
ldr x8, [x8, _grid@PAGEOFF]
sub w9, w0, #1
ldr x8, [x8, w9, sxtw #3]
sub w9, w1, #1
add x8, x8, w9, sxtw
LBB11_3:
ldrsb w0, [x8]
ret
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpLdr Lloh72, Lloh73
.cfi_endproc
; -- End function
.globl _getUpRight ; -- Begin function getUpRight
.p2align 2
_getUpRight: ; @getUpRight
.cfi_startproc
; %bb.0:
Lloh74:
adrp x8, _DEAD@PAGE
Lloh75:
add x8, x8, _DEAD@PAGEOFF
cmp w0, #69
b.eq LBB12_3
; %bb.1:
cbz w1, LBB12_3
; %bb.2:
Lloh76:
adrp x8, _grid@PAGE
Lloh77:
ldr x8, [x8, _grid@PAGEOFF]
add w9, w0, #1
ldr x8, [x8, w9, sxtw #3]
sub w9, w1, #1
add x8, x8, w9, sxtw
LBB12_3:
ldrsb w0, [x8]
ret
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpLdr Lloh76, Lloh77
.cfi_endproc
; -- End function
.globl _getDownLeft ; -- Begin function getDownLeft
.p2align 2
_getDownLeft: ; @getDownLeft
.cfi_startproc
; %bb.0:
Lloh78:
adrp x8, _DEAD@PAGE
Lloh79:
add x8, x8, _DEAD@PAGEOFF
cbz w0, LBB13_3
; %bb.1:
cmp w1, #21
b.eq LBB13_3
; %bb.2:
Lloh80:
adrp x8, _grid@PAGE
Lloh81:
ldr x8, [x8, _grid@PAGEOFF]
sub w9, w0, #1
ldr x8, [x8, w9, sxtw #3]
add w9, w1, #1
add x8, x8, w9, sxtw
LBB13_3:
ldrsb w0, [x8]
ret
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpLdr Lloh80, Lloh81
.cfi_endproc
; -- End function
.globl _getDownRight ; -- Begin function getDownRight
.p2align 2
_getDownRight: ; @getDownRight
.cfi_startproc
; %bb.0:
Lloh82:
adrp x8, _DEAD@PAGE
Lloh83:
add x8, x8, _DEAD@PAGEOFF
cmp w0, #69
b.eq LBB14_3
; %bb.1:
cmp w1, #21
b.eq LBB14_3
; %bb.2:
Lloh84:
adrp x8, _grid@PAGE
Lloh85:
ldr x8, [x8, _grid@PAGEOFF]
add w9, w0, #1
ldr x8, [x8, w9, sxtw #3]
add w9, w1, #1
add x8, x8, w9, sxtw
LBB14_3:
ldrsb w0, [x8]
ret
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpLdr Lloh84, Lloh85
.cfi_endproc
; -- End function
.globl _sleep ; -- Begin function sleep
.p2align 2
_sleep: ; @sleep
.cfi_startproc
; %bb.0:
Lloh86:
adrp x8, _x@GOTPAGE
Lloh87:
ldr x8, [x8, _x@GOTPAGEOFF]
str wzr, [x8]
ldr w9, [x8]
cmp w9, #0
b.gt LBB15_2
LBB15_1: ; =>This Inner Loop Header: Depth=1
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
ldr w9, [x8]
cmp w9, #1
b.lt LBB15_1
LBB15_2:
ret
.loh AdrpLdrGot Lloh86, Lloh87
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _NUM_BLOCKS ; @NUM_BLOCKS
.p2align 2, 0x0
_NUM_BLOCKS:
.long 2 ; 0x2
.globl _LIVE ; @LIVE
_LIVE:
.byte 42 ; 0x2a
.globl _DEAD ; @DEAD
_DEAD:
.byte 32 ; 0x20
.globl _BLOCKS ; @BLOCKS
_BLOCKS:
.ascii " *"
.globl _evolution ; @evolution
.p2align 2, 0x0
_evolution:
.long 1 ; 0x1
.comm _gridRoots,560,3 ; @gridRoots
.globl _grid ; @grid
.p2align 3, 0x0
_grid:
.quad _gridRoots
.comm _gridTmpRoots,560,3 ; @gridTmpRoots
.globl _gridTmp ; @gridTmp
.p2align 3, 0x0
_gridTmp:
.quad _gridTmpRoots
.comm _gridVals,1540,0 ; @gridVals
.comm _gridTmpVals,1540,0 ; @gridTmpVals
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\033[2J"
l_.str.1: ; @.str.1
.asciz "\033[H"
l_.str.2: ; @.str.2
.asciz "CONWAY'S Game of Life\n\nEvolution #%d\n\n"
l_.str.3: ; @.str.3
.asciz "%c"
l_.str.4: ; @.str.4
.asciz "\n"
.comm _x,4,2 ; @x
.subsections_via_symbols
|
avl-tree.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _printTree ## -- Begin function printTree
.p2align 4, 0x90
_printTree: ## @printTree
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_8
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq 16(%rdi), %rax
movq 24(%rdi), %rsi
movl (%rax), %edx
movswl 32(%rdi), %ecx
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %rbx, %rbx
jle LBB0_4
## %bb.2:
leaq L_.str.1(%rip), %r15
movq %rbx, %r12
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
decq %r12
jne LBB0_3
LBB0_4:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq (%r14), %rdi
leaq 1(%rbx), %r15
movq %r15, %rsi
callq _printTree
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %rbx, %rbx
jle LBB0_7
## %bb.5:
leaq L_.str.1(%rip), %r12
movq %rbx, %r13
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
decq %r13
jne LBB0_6
LBB0_7:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq 8(%r14), %rdi
movq %r15, %rsi
callq _printTree
testq %rbx, %rbx
leaq 8(%rsp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
je LBB0_9
LBB0_8:
retq
LBB0_9:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _breadth ## -- Begin function breadth
.p2align 4, 0x90
_breadth: ## @breadth
.cfi_startproc
## %bb.0:
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 LBB1_1
## %bb.2:
movq %rdi, %r14
xorl %r15d, %r15d
xorl %ebx, %ebx
jmp LBB1_3
.p2align 4, 0x90
LBB1_6: ## in Loop: Header=BB1_3 Depth=1
callq _breadth
movq 8(%r14), %r14
addq %rax, %rbx
testq %r14, %r14
je LBB1_7
LBB1_3: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rdi
testq %rdi, %rdi
jne LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
cmpq $0, 8(%r14)
jne LBB1_6
## %bb.5:
movl $1, %r15d
LBB1_7:
addq %r15, %rbx
jmp LBB1_8
LBB1_1:
xorl %ebx, %ebx
LBB1_8:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function main
LCPI2_0:
.quad 0x3fe3333333333333 ## double 0.59999999999999998
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $42, %edi
callq _libmin_srand
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
xorl %r13d, %r13d
xorl %eax, %eax
xorl %r12d, %r12d
jmp LBB2_1
.p2align 4, 0x90
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq -48(%rbp), %rax ## 8-byte Reload
incq %rax
cmpq $25, %rax
je LBB2_6
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_2 Depth 2
movq %r12, %rbx
movl $8, %edi
movq %rax, %r12
callq _libmin_malloc
movq %rax, %r15
movl $11, %edi
callq _libmin_malloc
movq %rax, %r14
movl $11, %esi
movq %rax, %rdi
leaq L_.str.6(%rip), %rdx
movq %r12, -48(%rbp) ## 8-byte Spill
movq %r12, %rcx
xorl %eax, %eax
callq _libmin_snprintf
movq %r13, %rax
.p2align 4, 0x90
LBB2_2: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, %r13
callq _libmin_rand
movl %eax, (%r15)
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq _Insert
movq %rax, %r12
testq %rax, %rax
jne LBB2_5
## %bb.3: ## in Loop: Header=BB2_2 Depth=2
movslq (%r15), %rax
cmpq %rax, %r13
jne LBB2_2
## %bb.4: ## in Loop: Header=BB2_1 Depth=1
movq %r14, %rdi
callq _libmin_free
movq %r15, %rdi
callq _libmin_free
movl (%r15), %esi
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB2_5
LBB2_6:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq 16(%r12), %rax
movl (%rax), %esi
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq 16(%r12), %rsi
movq %r12, %rdi
callq _DeleteByElement
testq %rax, %rax
je LBB2_7
## %bb.8:
movq %rax, %rbx
movq 16(%rax), %rax
movl (%rax), %esi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %r12
jmp LBB2_9
LBB2_7:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB2_9:
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rax
.p2align 4, 0x90
LBB2_10: ## =>This Inner Loop Header: Depth=1
movq %rax, %rbx
movq (%rax), %rax
testq %rax, %rax
jne LBB2_10
## %bb.11:
movq 16(%rbx), %rax
movl (%rax), %esi
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq 16(%rbx), %rsi
movq %r12, %rdi
callq _DeleteByElement
testq %rax, %rax
je LBB2_12
## %bb.13:
movq %rax, %rbx
movq 16(%rax), %rax
movl (%rax), %esi
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %r12
jmp LBB2_14
LBB2_12:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB2_14:
leaq L_.str.15(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rax
.p2align 4, 0x90
LBB2_15: ## =>This Inner Loop Header: Depth=1
testq %rax, %rax
je LBB2_20
## %bb.16: ## in Loop: Header=BB2_15 Depth=1
movq %rax, %rbx
movq 8(%rax), %rax
testq %rax, %rax
jne LBB2_15
## %bb.17:
movq 16(%rbx), %rax
movl (%rax), %esi
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq 16(%rbx), %rsi
movq %r12, %rdi
callq _DeleteByElement
testq %rax, %rax
je LBB2_18
## %bb.19:
movq %rax, %rbx
movq 16(%rax), %rax
movl (%rax), %esi
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %r12
jmp LBB2_20
LBB2_18:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB2_20:
leaq L_.str.3(%rip), %r15
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rdi
xorl %esi, %esi
callq _printTree
movq (%r12), %rdi
callq _breadth
movq %rax, %rbx
movq 8(%r12), %rdi
callq _breadth
leaq L_.str.16(%rip), %rdi
movq %rbx, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _libmin_printf
movq (%r12), %rdi
callq _Height
movq %rax, %r14
movq 8(%r12), %rdi
callq _Height
leaq L_.str.17(%rip), %rdi
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_rand
movl %eax, %eax
movq %r14, %rcx
shrq $32, %rcx
je LBB2_21
## %bb.22:
xorl %edx, %edx
idivq %r14
movq %rdx, %r15
jmp LBB2_23
LBB2_21:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %r14d
movl %edx, %r15d
LBB2_23:
leaq L_.str.18(%rip), %rdi
movq %r14, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _libmin_printf
incq %r15
movq %r12, %rbx
jmp LBB2_24
.p2align 4, 0x90
LBB2_25: ## in Loop: Header=BB2_24 Depth=1
testq %rax, %rax
je LBB2_30
LBB2_28: ## in Loop: Header=BB2_24 Depth=1
addq $8, %rbx
LBB2_29: ## in Loop: Header=BB2_24 Depth=1
movq (%rbx), %rbx
decq %r15
cmpq $1, %r15
jle LBB2_30
LBB2_24: ## =>This Inner Loop Header: Depth=1
cmpq $0, (%rbx)
movq 8(%rbx), %rax
je LBB2_25
## %bb.26: ## in Loop: Header=BB2_24 Depth=1
testq %rax, %rax
je LBB2_29
## %bb.27: ## in Loop: Header=BB2_24 Depth=1
callq _libmin_rand
cmpl $1073741823, %eax ## imm = 0x3FFFFFFF
jae LBB2_28
jmp LBB2_29
LBB2_30:
movq 16(%rbx), %rax
movq 24(%rbx), %rsi
movl (%rax), %edx
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq 16(%rbx), %rsi
movq %r12, %rdi
callq _DeleteByElement
testq %rax, %rax
je LBB2_31
## %bb.32:
movq %rax, %rbx
movq 16(%rax), %rax
movl (%rax), %esi
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %r12
jmp LBB2_33
LBB2_31:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB2_33:
cvtsi2sd %r14, %xmm0
mulsd LCPI2_0(%rip), %xmm0
cvttsd2si %xmm0, %r15d
movslq %r15d, %rbx
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_rand
movl %eax, %eax
movq %rbx, %rcx
shrq $32, %rcx
je LBB2_34
## %bb.35:
xorl %edx, %edx
idivq %rbx
movq %rdx, %r14
jmp LBB2_36
LBB2_34:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %r15d
movl %edx, %r14d
LBB2_36:
leaq L_.str.18(%rip), %rdi
movq %rbx, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq _libmin_printf
incq %r14
movq %r12, %rbx
jmp LBB2_37
.p2align 4, 0x90
LBB2_40: ## in Loop: Header=BB2_37 Depth=1
testq %rax, %rax
je LBB2_43
LBB2_41: ## in Loop: Header=BB2_37 Depth=1
addq $8, %rbx
LBB2_42: ## in Loop: Header=BB2_37 Depth=1
movq (%rbx), %rbx
decq %r14
cmpq $1, %r14
jle LBB2_43
LBB2_37: ## =>This Inner Loop Header: Depth=1
cmpq $0, (%rbx)
movq 8(%rbx), %rax
je LBB2_40
## %bb.38: ## in Loop: Header=BB2_37 Depth=1
testq %rax, %rax
je LBB2_42
## %bb.39: ## in Loop: Header=BB2_37 Depth=1
callq _libmin_rand
cmpl $1073741822, %eax ## imm = 0x3FFFFFFE
ja LBB2_41
jmp LBB2_42
LBB2_43:
movq 16(%rbx), %rax
movq 24(%rbx), %rsi
movl (%rax), %edx
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq 16(%rbx), %rsi
movq %r12, %rdi
callq _DeleteByElement
testq %rax, %rax
je LBB2_45
## %bb.44:
movq %rax, %rbx
movq 16(%rax), %rax
movl (%rax), %esi
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %r12
jmp LBB2_46
LBB2_45:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB2_46:
xorps %xmm0, %xmm0
cvtsi2sd %r15d, %xmm0
mulsd LCPI2_0(%rip), %xmm0
cvttsd2si %xmm0, %r14d
movslq %r14d, %rbx
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_rand
movl %eax, %eax
movq %rbx, %rcx
shrq $32, %rcx
je LBB2_47
## %bb.48:
xorl %edx, %edx
idivq %rbx
movq %rdx, %r14
jmp LBB2_49
LBB2_47:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %r14d
movl %edx, %r14d
LBB2_49:
leaq L_.str.18(%rip), %rdi
movq %rbx, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq _libmin_printf
incq %r14
movq %r12, %rbx
jmp LBB2_50
.p2align 4, 0x90
LBB2_53: ## in Loop: Header=BB2_50 Depth=1
testq %rax, %rax
je LBB2_56
LBB2_54: ## in Loop: Header=BB2_50 Depth=1
addq $8, %rbx
LBB2_55: ## in Loop: Header=BB2_50 Depth=1
movq (%rbx), %rbx
decq %r14
cmpq $1, %r14
jle LBB2_56
LBB2_50: ## =>This Inner Loop Header: Depth=1
cmpq $0, (%rbx)
movq 8(%rbx), %rax
je LBB2_53
## %bb.51: ## in Loop: Header=BB2_50 Depth=1
testq %rax, %rax
je LBB2_55
## %bb.52: ## in Loop: Header=BB2_50 Depth=1
callq _libmin_rand
cmpl $1073741822, %eax ## imm = 0x3FFFFFFE
ja LBB2_54
jmp LBB2_55
LBB2_56:
movq 16(%rbx), %rax
movq 24(%rbx), %rsi
movl (%rax), %edx
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq 16(%rbx), %rsi
movq %r12, %rdi
callq _DeleteByElement
testq %rax, %rax
je LBB2_58
## %bb.57:
movq %rax, %rbx
movq 16(%rax), %rax
movl (%rax), %esi
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %r12
jmp LBB2_59
LBB2_58:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB2_59:
movq %r12, %rdi
callq _MakeEmpty
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s -> %ld, Balance %d\n"
L_.str.1: ## @.str.1
.asciz " "
L_.str.2: ## @.str.2
.asciz "Left: "
L_.str.3: ## @.str.3
.asciz "\n"
L_.str.4: ## @.str.4
.asciz "Right: "
L_.str.5: ## @.str.5
.asciz "Start --> Finished\n"
L_.str.6: ## @.str.6
.asciz "Name%ld"
L_.str.7: ## @.str.7
.asciz "going to try and skip: %ld\n"
L_.str.8: ## @.str.8
.asciz "."
L_.str.9: ## @.str.9
.asciz "\nGoing to delete the rootNode: %ld\n"
L_.str.10: ## @.str.10
.asciz "failure!\n"
L_.str.11: ## @.str.11
.asciz "success! new root is %ld\n"
L_.str.12: ## @.str.12
.asciz "\nGoing to delete leftMost child... "
L_.str.13: ## @.str.13
.asciz "found item: %ld\n"
L_.str.14: ## @.str.14
.asciz "success! new root: %ld\n"
L_.str.15: ## @.str.15
.asciz "\nGoing to delete rightMost child... "
L_.str.16: ## @.str.16
.asciz "breadth of left tree: %ld right subtree: %ld\n"
L_.str.17: ## @.str.17
.asciz "height of left subtree: %ld right subtree: %ld\n"
L_.str.18: ## @.str.18
.asciz "Going to delete a node at depth (max depth %ld): %ld\n"
L_.str.19: ## @.str.19
.asciz "Found a node to delete with Name '%s' and Item %ld\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _printTree ; -- Begin function printTree
.p2align 2
_printTree: ; @printTree
.cfi_startproc
; %bb.0:
sub sp, sp, #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
cbz x0, LBB0_8
; %bb.1:
mov x19, x1
mov x20, x0
ldp x9, x8, [x0, #16]
ldrsh x10, [x0, #32]
ldr w9, [x9]
stp x9, x10, [sp, #8]
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
cmp x19, #1
b.lt LBB0_4
; %bb.2:
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
mov x22, x19
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _libmin_printf
subs x22, x22, #1
b.ne LBB0_3
LBB0_4:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
ldr x0, [x20]
add x21, x19, #1
mov x1, x21
bl _printTree
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
cmp x19, #1
b.lt LBB0_7
; %bb.5:
Lloh8:
adrp x22, l_.str.1@PAGE
Lloh9:
add x22, x22, l_.str.1@PAGEOFF
mov x23, x19
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x0, x22
bl _libmin_printf
subs x23, x23, #1
b.ne LBB0_6
LBB0_7:
Lloh10:
adrp x0, l_.str.4@PAGE
Lloh11:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr x0, [x20, #8]
mov x1, x21
bl _printTree
cbz x19, LBB0_9
LBB0_8:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_9:
Lloh12:
adrp x0, l_.str.3@PAGE
Lloh13:
add x0, x0, l_.str.3@PAGEOFF
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
b _libmin_printf
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _breadth ; -- Begin function breadth
.p2align 2
_breadth: ; @breadth
.cfi_startproc
; %bb.0:
cbz x0, LBB1_7
; %bb.1:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov x20, #0 ; =0x0
mov w21, #1 ; =0x1
b LBB1_3
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
bl _breadth
ldr x19, [x19, #8]
add x20, x0, x20
cbz x19, LBB1_5
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19]
cbnz x0, LBB1_2
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
ldr x8, [x19, #8]
cbnz x8, LBB1_2
b LBB1_6
LBB1_5:
mov x21, #0 ; =0x0
LBB1_6:
add x0, x21, 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
LBB1_7:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov w0, #42 ; =0x2a
bl _libmin_srand
Lloh14:
adrp x0, l_.str.5@PAGE
Lloh15:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
mov x27, #0 ; =0x0
mov x26, #0 ; =0x0
mov x19, #0 ; =0x0
Lloh16:
adrp x20, l_.str.6@PAGE
Lloh17:
add x20, x20, l_.str.6@PAGEOFF
Lloh18:
adrp x21, l_.str.7@PAGE
Lloh19:
add x21, x21, l_.str.7@PAGEOFF
Lloh20:
adrp x22, l_.str.8@PAGE
Lloh21:
add x22, x22, l_.str.8@PAGEOFF
b LBB2_2
LBB2_1: ; in Loop: Header=BB2_2 Depth=1
mov x0, x22
bl _libmin_printf
add x26, x26, #1
cmp x26, #25
b.eq LBB2_6
LBB2_2: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
mov x24, x19
mov w0, #8 ; =0x8
bl _libmin_malloc
mov x23, x0
mov w0, #11 ; =0xb
bl _libmin_malloc
mov x25, x0
str x26, [sp]
mov w1, #11 ; =0xb
mov x2, x20
bl _libmin_snprintf
mov x8, x27
LBB2_3: ; Parent Loop BB2_2 Depth=1
; => This Inner Loop Header: Depth=2
mov x27, x8
bl _libmin_rand
str w0, [x23]
mov x0, x24
mov x1, x23
mov x2, x25
bl _Insert
mov x19, x0
cbnz x0, LBB2_1
; %bb.4: ; in Loop: Header=BB2_3 Depth=2
ldrsw x8, [x23]
cmp x27, x8
b.ne LBB2_3
; %bb.5: ; in Loop: Header=BB2_2 Depth=1
mov x0, x25
bl _libmin_free
mov x0, x23
bl _libmin_free
ldr w8, [x23]
str x8, [sp]
mov x0, x21
bl _libmin_printf
b LBB2_1
LBB2_6:
Lloh22:
adrp x0, l_.str.3@PAGE
Lloh23:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
ldr x8, [x19, #16]
ldr w8, [x8]
str x8, [sp]
Lloh24:
adrp x0, l_.str.9@PAGE
Lloh25:
add x0, x0, l_.str.9@PAGEOFF
bl _libmin_printf
ldr x1, [x19, #16]
mov x0, x19
bl _DeleteByElement
cbz x0, LBB2_8
; %bb.7:
mov x20, x0
ldr x8, [x0, #16]
ldr w8, [x8]
str x8, [sp]
Lloh26:
adrp x0, l_.str.11@PAGE
Lloh27:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_printf
mov x19, x20
b LBB2_9
LBB2_8:
Lloh28:
adrp x0, l_.str.10@PAGE
Lloh29:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
LBB2_9:
Lloh30:
adrp x0, l_.str.12@PAGE
Lloh31:
add x0, x0, l_.str.12@PAGEOFF
bl _libmin_printf
mov x8, x19
LBB2_10: ; =>This Inner Loop Header: Depth=1
mov x20, x8
ldr x8, [x8]
cbnz x8, LBB2_10
; %bb.11:
ldr x8, [x20, #16]
ldr w8, [x8]
str x8, [sp]
Lloh32:
adrp x0, l_.str.13@PAGE
Lloh33:
add x0, x0, l_.str.13@PAGEOFF
bl _libmin_printf
ldr x1, [x20, #16]
mov x0, x19
bl _DeleteByElement
cbz x0, LBB2_13
; %bb.12:
mov x20, x0
ldr x8, [x0, #16]
ldr w8, [x8]
str x8, [sp]
Lloh34:
adrp x0, l_.str.14@PAGE
Lloh35:
add x0, x0, l_.str.14@PAGEOFF
bl _libmin_printf
mov x19, x20
b LBB2_14
LBB2_13:
Lloh36:
adrp x0, l_.str.10@PAGE
Lloh37:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
LBB2_14:
Lloh38:
adrp x0, l_.str.15@PAGE
Lloh39:
add x0, x0, l_.str.15@PAGEOFF
bl _libmin_printf
mov x8, x19
LBB2_15: ; =>This Inner Loop Header: Depth=1
cbz x8, LBB2_20
; %bb.16: ; in Loop: Header=BB2_15 Depth=1
mov x20, x8
ldr x8, [x8, #8]
cbnz x8, LBB2_15
; %bb.17:
ldr x8, [x20, #16]
ldr w8, [x8]
str x8, [sp]
Lloh40:
adrp x0, l_.str.13@PAGE
Lloh41:
add x0, x0, l_.str.13@PAGEOFF
bl _libmin_printf
ldr x1, [x20, #16]
mov x0, x19
bl _DeleteByElement
cbz x0, LBB2_19
; %bb.18:
mov x20, x0
ldr x8, [x0, #16]
ldr w8, [x8]
str x8, [sp]
Lloh42:
adrp x0, l_.str.14@PAGE
Lloh43:
add x0, x0, l_.str.14@PAGEOFF
bl _libmin_printf
mov x19, x20
b LBB2_20
LBB2_19:
Lloh44:
adrp x0, l_.str.10@PAGE
Lloh45:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
LBB2_20:
Lloh46:
adrp x21, l_.str.3@PAGE
Lloh47:
add x21, x21, l_.str.3@PAGEOFF
mov x0, x21
bl _libmin_printf
mov x0, x19
mov x1, #0 ; =0x0
bl _printTree
ldr x0, [x19]
bl _breadth
mov x20, x0
ldr x0, [x19, #8]
bl _breadth
stp x20, x0, [sp]
Lloh48:
adrp x0, l_.str.16@PAGE
Lloh49:
add x0, x0, l_.str.16@PAGEOFF
bl _libmin_printf
ldr x0, [x19]
bl _Height
mov x20, x0
ldr x0, [x19, #8]
bl _Height
stp x20, x0, [sp]
Lloh50:
adrp x0, l_.str.17@PAGE
Lloh51:
add x0, x0, l_.str.17@PAGEOFF
bl _libmin_printf
mov x0, x21
bl _libmin_printf
bl _libmin_rand
mov w8, w0
sdiv x9, x8, x20
msub x21, x9, x20, x8
stp x20, x21, [sp]
Lloh52:
adrp x0, l_.str.18@PAGE
Lloh53:
add x0, x0, l_.str.18@PAGEOFF
bl _libmin_printf
add x22, x21, #1
mov w23, #1073741823 ; =0x3fffffff
mov x21, x19
b LBB2_24
LBB2_21: ; in Loop: Header=BB2_24 Depth=1
cbz x8, LBB2_27
LBB2_22: ; in Loop: Header=BB2_24 Depth=1
mov x21, x24
LBB2_23: ; in Loop: Header=BB2_24 Depth=1
ldr x21, [x21]
sub x22, x22, #1
cmp x22, #1
b.le LBB2_27
LBB2_24: ; =>This Inner Loop Header: Depth=1
ldr x9, [x21]
mov x24, x21
ldr x8, [x24, #8]!
cbz x9, LBB2_21
; %bb.25: ; in Loop: Header=BB2_24 Depth=1
cbz x8, LBB2_23
; %bb.26: ; in Loop: Header=BB2_24 Depth=1
bl _libmin_rand
cmp w0, w23
b.hs LBB2_22
b LBB2_23
LBB2_27:
ldp x9, x8, [x21, #16]
ldr w9, [x9]
stp x8, x9, [sp]
Lloh54:
adrp x0, l_.str.19@PAGE
Lloh55:
add x0, x0, l_.str.19@PAGEOFF
bl _libmin_printf
ldr x1, [x21, #16]
mov x0, x19
bl _DeleteByElement
cbz x0, LBB2_29
; %bb.28:
mov x21, x0
ldr x8, [x0, #16]
ldr w8, [x8]
str x8, [sp]
Lloh56:
adrp x0, l_.str.14@PAGE
Lloh57:
add x0, x0, l_.str.14@PAGEOFF
bl _libmin_printf
mov x19, x21
b LBB2_30
LBB2_29:
Lloh58:
adrp x0, l_.str.10@PAGE
Lloh59:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
LBB2_30:
scvtf d0, x20
mov x8, #3689348814741910323 ; =0x3333333333333333
movk x8, #16355, lsl #48
fmov d1, x8
fmul d0, d0, d1
fcvtzs w21, d0
sxtw x20, w21
Lloh60:
adrp x0, l_.str.3@PAGE
Lloh61:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
bl _libmin_rand
mov w8, w0
sdiv x9, x8, x20
msub x22, x9, x20, x8
stp x20, x22, [sp]
Lloh62:
adrp x0, l_.str.18@PAGE
Lloh63:
add x0, x0, l_.str.18@PAGEOFF
bl _libmin_printf
add x22, x22, #1
mov w23, #1073741822 ; =0x3ffffffe
mov x20, x19
b LBB2_34
LBB2_31: ; in Loop: Header=BB2_34 Depth=1
cbz x8, LBB2_37
LBB2_32: ; in Loop: Header=BB2_34 Depth=1
mov x20, x24
LBB2_33: ; in Loop: Header=BB2_34 Depth=1
ldr x20, [x20]
sub x22, x22, #1
cmp x22, #1
b.le LBB2_37
LBB2_34: ; =>This Inner Loop Header: Depth=1
ldr x9, [x20]
mov x24, x20
ldr x8, [x24, #8]!
cbz x9, LBB2_31
; %bb.35: ; in Loop: Header=BB2_34 Depth=1
cbz x8, LBB2_33
; %bb.36: ; in Loop: Header=BB2_34 Depth=1
bl _libmin_rand
cmp w0, w23
b.hi LBB2_32
b LBB2_33
LBB2_37:
ldp x9, x8, [x20, #16]
ldr w9, [x9]
stp x8, x9, [sp]
Lloh64:
adrp x0, l_.str.19@PAGE
Lloh65:
add x0, x0, l_.str.19@PAGEOFF
bl _libmin_printf
ldr x1, [x20, #16]
mov x0, x19
bl _DeleteByElement
cbz x0, LBB2_39
; %bb.38:
mov x20, x0
ldr x8, [x0, #16]
ldr w8, [x8]
str x8, [sp]
Lloh66:
adrp x0, l_.str.14@PAGE
Lloh67:
add x0, x0, l_.str.14@PAGEOFF
bl _libmin_printf
mov x19, x20
b LBB2_40
LBB2_39:
Lloh68:
adrp x0, l_.str.10@PAGE
Lloh69:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
LBB2_40:
scvtf d0, w21
mov x8, #3689348814741910323 ; =0x3333333333333333
movk x8, #16355, lsl #48
fmov d1, x8
fmul d0, d0, d1
fcvtzs w8, d0
sxtw x20, w8
Lloh70:
adrp x0, l_.str.3@PAGE
Lloh71:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
bl _libmin_rand
mov w8, w0
sdiv x9, x8, x20
msub x21, x9, x20, x8
stp x20, x21, [sp]
Lloh72:
adrp x0, l_.str.18@PAGE
Lloh73:
add x0, x0, l_.str.18@PAGEOFF
bl _libmin_printf
add x21, x21, #1
mov w22, #1073741822 ; =0x3ffffffe
mov x20, x19
b LBB2_44
LBB2_41: ; in Loop: Header=BB2_44 Depth=1
cbz x8, LBB2_47
LBB2_42: ; in Loop: Header=BB2_44 Depth=1
mov x20, x23
LBB2_43: ; in Loop: Header=BB2_44 Depth=1
ldr x20, [x20]
sub x21, x21, #1
cmp x21, #1
b.le LBB2_47
LBB2_44: ; =>This Inner Loop Header: Depth=1
ldr x9, [x20]
mov x23, x20
ldr x8, [x23, #8]!
cbz x9, LBB2_41
; %bb.45: ; in Loop: Header=BB2_44 Depth=1
cbz x8, LBB2_43
; %bb.46: ; in Loop: Header=BB2_44 Depth=1
bl _libmin_rand
cmp w0, w22
b.hi LBB2_42
b LBB2_43
LBB2_47:
ldp x9, x8, [x20, #16]
ldr w9, [x9]
stp x8, x9, [sp]
Lloh74:
adrp x0, l_.str.19@PAGE
Lloh75:
add x0, x0, l_.str.19@PAGEOFF
bl _libmin_printf
ldr x1, [x20, #16]
mov x0, x19
bl _DeleteByElement
cbz x0, LBB2_49
; %bb.48:
mov x20, x0
ldr x8, [x0, #16]
ldr w8, [x8]
str x8, [sp]
Lloh76:
adrp x0, l_.str.14@PAGE
Lloh77:
add x0, x0, l_.str.14@PAGEOFF
bl _libmin_printf
mov x19, x20
b LBB2_50
LBB2_49:
Lloh78:
adrp x0, l_.str.10@PAGE
Lloh79:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
LBB2_50:
mov x0, x19
bl _MakeEmpty
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh78, Lloh79
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s -> %ld, Balance %d\n"
l_.str.1: ; @.str.1
.asciz " "
l_.str.2: ; @.str.2
.asciz "Left: "
l_.str.3: ; @.str.3
.asciz "\n"
l_.str.4: ; @.str.4
.asciz "Right: "
l_.str.5: ; @.str.5
.asciz "Start --> Finished\n"
l_.str.6: ; @.str.6
.asciz "Name%ld"
l_.str.7: ; @.str.7
.asciz "going to try and skip: %ld\n"
l_.str.8: ; @.str.8
.asciz "."
l_.str.9: ; @.str.9
.asciz "\nGoing to delete the rootNode: %ld\n"
l_.str.10: ; @.str.10
.asciz "failure!\n"
l_.str.11: ; @.str.11
.asciz "success! new root is %ld\n"
l_.str.12: ; @.str.12
.asciz "\nGoing to delete leftMost child... "
l_.str.13: ; @.str.13
.asciz "found item: %ld\n"
l_.str.14: ; @.str.14
.asciz "success! new root: %ld\n"
l_.str.15: ; @.str.15
.asciz "\nGoing to delete rightMost child... "
l_.str.16: ; @.str.16
.asciz "breadth of left tree: %ld right subtree: %ld\n"
l_.str.17: ; @.str.17
.asciz "height of left subtree: %ld right subtree: %ld\n"
l_.str.18: ; @.str.18
.asciz "Going to delete a node at depth (max depth %ld): %ld\n"
l_.str.19: ; @.str.19
.asciz "Found a node to delete with Name '%s' and Item %ld\n"
.subsections_via_symbols
|
heapsort.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _HSORT ## -- Begin function HSORT
.p2align 4, 0x90
_HSORT: ## @HSORT
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %rbx
movzbl _bplong(%rip), %r14d
imulq %rdi, %r14
leaq -1(%rdi), %r12
cmpq $2048, %rdi ## imm = 0x800
jl LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
jmp LBB0_3
LBB0_2:
cmpq $2, %rbx
jl LBB0_5
LBB0_3:
movl $47, %eax
movl $1, %ecx
leaq _base(%rip), %rdx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
imull $106, %eax, %eax
addl $1283, %eax ## imm = 0x503
imulq $1447916547, %rax, %rsi ## imm = 0x564D7403
shrq $43, %rsi
imull $6075, %esi, %esi ## imm = 0x17BB
subl %esi, %eax
imull $1001, %eax, %esi ## imm = 0x3E9
imulq $11311849, %rsi, %rsi ## imm = 0xAC9AE9
shrq $36, %rsi
incl %esi
movq %rsi, (%rdx,%rcx,8)
incq %rcx
cmpq %rcx, %rbx
jne LBB0_4
LBB0_5:
shlq $3, %r14
movq %r12, %rax
sarq %rax
incq %rax
leaq _base(%rip), %r13
cmpq $2, %rax
jl LBB0_12
jmp LBB0_7
.p2align 4, 0x90
LBB0_25:
movq %rcx, (%r13,%rsi,8)
cmpq $2, %rax
jl LBB0_12
LBB0_7:
movq -8(%r13,%rax,8), %rcx
decq %rax
LBB0_8:
leaq (%rax,%rax), %rdi
movq %rax, %rsi
cmpq %r12, %rdi
jg LBB0_25
## %bb.9:
movq %rax, %rdx
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
cmpq %r12, %rdi
jge LBB0_11
## %bb.21: ## in Loop: Header=BB0_10 Depth=1
movq (%r13,%rdi,8), %r8
xorl %esi, %esi
cmpq 8(%r13,%rdi,8), %r8
setl %sil
orq %rdi, %rsi
jmp LBB0_22
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_10 Depth=1
movq %rdi, %rsi
LBB0_22: ## in Loop: Header=BB0_10 Depth=1
movq (%r13,%rsi,8), %rdi
cmpq %rdi, %rcx
jge LBB0_23
## %bb.24: ## in Loop: Header=BB0_10 Depth=1
movq %rdi, (%r13,%rdx,8)
leaq (%rsi,%rsi), %rdi
movq %rsi, %rdx
cmpq %r12, %rdi
jle LBB0_10
jmp LBB0_25
.p2align 4, 0x90
LBB0_23:
movq %rdx, %rsi
movq %rcx, (%r13,%rdx,8)
cmpq $2, %rax
jge LBB0_7
LBB0_12:
movq (%r13,%r12,8), %rcx
movq _base+8(%rip), %rdx
movq %rdx, (%r13,%r12,8)
decq %r12
cmpq $1, %r12
jne LBB0_8
## %bb.13:
movq %rcx, _base+8(%rip)
testq %r15, %r15
je LBB0_15
## %bb.14:
leaq L_.str.1(%rip), %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _libmin_printf
LBB0_15:
cmpq $3, %rbx
jl LBB0_20
## %bb.16:
addq $-2, %rbx
leaq L_.str.2(%rip), %r14
xorl %r15d, %r15d
jmp LBB0_17
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_17 Depth=1
incq %r15
cmpq %r15, %rbx
je LBB0_20
LBB0_17: ## =>This Inner Loop Header: Depth=1
movq (%r13,%r15,8), %rax
cmpq 8(%r13,%r15,8), %rax
jle LBB0_19
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
jmp LBB0_19
LBB0_20:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb $1, _bplong(%rip)
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.5(%rip), %rdi
movl $8, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1024, %edi ## imm = 0x400
movl $1, %esi
callq _HSORT
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_bplong,1,3 ## @bplong
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "base buffer overflow!\n"
.zerofill __DATA,__bss,_base,16384,4 ## @base
L_.str.1: ## @.str.1
.asciz " %10ld\n"
L_.str.2: ## @.str.2
.asciz "ERROR: base array is not properly sorted!\n"
L_.str.3: ## @.str.3
.asciz "INFO: base array is properly sorted!\n"
L_.str.4: ## @.str.4
.asciz "\n Heap Sort C Program\n"
L_.str.5: ## @.str.5
.asciz " Size of long (bytes): %ld\n\n"
L_.str.6: ## @.str.6
.asciz " Array Size (bytes)\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _HSORT ; -- Begin function HSORT
.p2align 2
_HSORT: ; @HSORT
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
adrp x8, _bplong@PAGE
ldrb w8, [x8, _bplong@PAGEOFF]
cmp w8, #0
mov w8, #8 ; =0x8
csel x22, x8, xzr, ne
sub x21, x0, #1
cmp x0, #2048
b.lt LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
b LBB0_3
LBB0_2:
cmp x19, #2
b.lt LBB0_5
LBB0_3:
mov w9, #47 ; =0x2f
mov w8, #106 ; =0x6a
mov w10, #1283 ; =0x503
mov w11, #29699 ; =0x7403
movk w11, #22093, lsl #16
mov w12, #6075 ; =0x17bb
mov w13, #1001 ; =0x3e9
mov w14, #39657 ; =0x9ae9
movk w14, #172, lsl #16
mov x15, x21
Lloh2:
adrp x16, _base@PAGE+8
Lloh3:
add x16, x16, _base@PAGEOFF+8
LBB0_4: ; =>This Inner Loop Header: Depth=1
madd w9, w9, w8, w10
umull x17, w9, w11
lsr x17, x17, #43
msub w9, w17, w12, w9
mul w17, w9, w13
umull x17, w17, w14
lsr x17, x17, #36
add w17, w17, #1
str x17, [x16], #8
subs x15, x15, #1
b.ne LBB0_4
LBB0_5:
mul x8, x22, x19
asr x9, x21, #1
add x9, x9, #1
Lloh4:
adrp x10, _base@PAGE
Lloh5:
add x10, x10, _base@PAGEOFF
cmp x9, #2
b.lt LBB0_16
b LBB0_7
LBB0_6:
str x11, [x10, x14, lsl #3]
cmp x9, #2
b.lt LBB0_16
LBB0_7:
sub x9, x9, #1
ldr x11, [x10, x9, lsl #3]
LBB0_8:
lsl x13, x9, #1
mov x14, x9
cmp x13, x21
b.gt LBB0_6
; %bb.9:
mov x12, x9
LBB0_10: ; =>This Inner Loop Header: Depth=1
cmp x13, x21
b.ge LBB0_12
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
add x14, x10, x13, lsl #3
ldp x15, x14, [x14]
cmp x15, x14
cset w14, lt
orr x14, x13, x14
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_10 Depth=1
mov x14, x13
LBB0_13: ; in Loop: Header=BB0_10 Depth=1
ldr x13, [x10, x14, lsl #3]
cmp x11, x13
b.ge LBB0_15
; %bb.14: ; in Loop: Header=BB0_10 Depth=1
str x13, [x10, x12, lsl #3]
lsl x13, x14, #1
mov x12, x14
cmp x13, x21
b.le LBB0_10
b LBB0_6
LBB0_15:
mov x14, x12
str x11, [x10, x12, lsl #3]
cmp x9, #2
b.ge LBB0_7
LBB0_16:
lsl x12, x21, #3
ldr x11, [x10, x12]
ldr x13, [x10, #8]
str x13, [x10, x12]
sub x21, x21, #1
cmp x21, #1
b.ne LBB0_8
; %bb.17:
adrp x9, _base@PAGE+8
str x11, [x9, _base@PAGEOFF+8]
cbz x20, LBB0_19
; %bb.18:
str x8, [sp]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
LBB0_19:
cmp x19, #3
b.lt LBB0_24
; %bb.20:
sub x20, x19, #2
Lloh8:
adrp x21, _base@PAGE+8
Lloh9:
add x21, x21, _base@PAGEOFF+8
Lloh10:
adrp x19, l_.str.2@PAGE
Lloh11:
add x19, x19, l_.str.2@PAGEOFF
b LBB0_22
LBB0_21: ; in Loop: Header=BB0_22 Depth=1
add x21, x21, #8
subs x20, x20, #1
b.eq LBB0_24
LBB0_22: ; =>This Inner Loop Header: Depth=1
ldp x8, x9, [x21, #-8]
cmp x8, x9
b.le LBB0_21
; %bb.23: ; in Loop: Header=BB0_22 Depth=1
mov x0, x19
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
b LBB0_21
LBB0_24:
Lloh12:
adrp x0, l_.str.3@PAGE
Lloh13:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 ; =0x1
adrp x9, _bplong@PAGE
strb w8, [x9, _bplong@PAGEOFF]
Lloh14:
adrp x0, l_.str.4@PAGE
Lloh15:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
mov w8, #8 ; =0x8
str x8, [sp]
Lloh16:
adrp x0, l_.str.5@PAGE
Lloh17:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
Lloh18:
adrp x0, l_.str.6@PAGE
Lloh19:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #1024 ; =0x400
mov w1, #1 ; =0x1
bl _HSORT
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_bplong,1,3 ; @bplong
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "base buffer overflow!\n"
.zerofill __DATA,__bss,_base,16384,3 ; @base
l_.str.1: ; @.str.1
.asciz " %10ld\n"
l_.str.2: ; @.str.2
.asciz "ERROR: base array is not properly sorted!\n"
l_.str.3: ; @.str.3
.asciz "INFO: base array is properly sorted!\n"
l_.str.4: ; @.str.4
.asciz "\n Heap Sort C Program\n"
l_.str.5: ; @.str.5
.asciz " Size of long (bytes): %ld\n\n"
l_.str.6: ; @.str.6
.asciz " Array Size (bytes)\n"
.subsections_via_symbols
|
vectors-3d.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _vector_sub ## -- Begin function vector_sub
.p2align 4, 0x90
_vector_sub: ## @vector_sub
.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
movupd (%rsi), %xmm0
movupd (%rdx), %xmm1
subpd %xmm1, %xmm0
movupd %xmm0, (%rdi)
movsd 16(%rsi), %xmm0 ## xmm0 = mem[0],zero
subsd 16(%rdx), %xmm0
movsd %xmm0, 16(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _vector_add ## -- Begin function vector_add
.p2align 4, 0x90
_vector_add: ## @vector_add
.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
movupd (%rsi), %xmm0
movupd (%rdx), %xmm1
addpd %xmm0, %xmm1
movupd %xmm1, (%rdi)
movsd 16(%rsi), %xmm0 ## xmm0 = mem[0],zero
addsd 16(%rdx), %xmm0
movsd %xmm0, 16(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dot_prod ## -- Begin function dot_prod
.p2align 4, 0x90
_dot_prod: ## @dot_prod
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd (%rdi), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%rdi), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rsi), %xmm0
mulsd 8(%rsi), %xmm1
addsd %xmm0, %xmm1
movsd 16(%rdi), %xmm0 ## xmm0 = mem[0],zero
mulsd 16(%rsi), %xmm0
addsd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function vector_prod
LCPI3_0:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _vector_prod
.p2align 4, 0x90
_vector_prod: ## @vector_prod
.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
movsd (%rsi), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%rsi), %xmm1 ## xmm1 = mem[0],zero
movapd LCPI3_0(%rip), %xmm2 ## xmm2 = [-0.0E+0,-0.0E+0]
movsd 16(%rsi), %xmm3 ## xmm3 = mem[0],zero
movapd %xmm3, %xmm4
xorpd %xmm2, %xmm4
xorpd %xmm0, %xmm2
movupd (%rdx), %xmm5
unpcklpd %xmm4, %xmm3 ## xmm3 = xmm3[0],xmm4[0]
mulpd %xmm5, %xmm3
unpcklpd %xmm1, %xmm2 ## xmm2 = xmm2[0],xmm1[0]
movddup 16(%rdx), %xmm4 ## xmm4 = mem[0,0]
mulpd %xmm2, %xmm4
addpd %xmm3, %xmm4
shufpd $1, %xmm4, %xmm4 ## xmm4 = xmm4[1,0]
mulsd 8(%rdx), %xmm0
movupd %xmm4, (%rdi)
mulsd %xmm1, %xmm5
subsd %xmm5, %xmm0
movsd %xmm0, 16(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_vector ## -- Begin function print_vector
.p2align 4, 0x90
_print_vector: ## @print_vector
.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, %rcx
movsd (%rdi), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%rdi), %xmm1 ## xmm1 = mem[0],zero
movsd 16(%rdi), %xmm2 ## xmm2 = mem[0],zero
leaq _print_vector.vec_str(%rip), %rbx
leaq L_.str(%rip), %rdx
movl $99, %esi
movq %rbx, %rdi
movb $3, %al
callq _libmin_snprintf
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _vector_norm ## -- Begin function vector_norm
.p2align 4, 0x90
_vector_norm: ## @vector_norm
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd (%rdi), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%rdi), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm0, %xmm0
mulsd %xmm1, %xmm1
addsd %xmm0, %xmm1
movsd 16(%rdi), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
popq %rbp
jmp _libmin_sqrt ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function unit_vec
LCPI6_0:
.quad 0x3ff0000000000000 ## double 1
LCPI6_1:
.quad 0x3e112e0be826d695 ## double 1.0000000000000001E-9
.section __TEXT,__text,regular,pure_instructions
.globl _unit_vec
.p2align 4, 0x90
_unit_vec: ## @unit_vec
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0, 16(%rdi)
movsd (%rsi), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%rsi), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm0, %xmm0
mulsd %xmm1, %xmm1
addsd %xmm0, %xmm1
movsd 16(%rsi), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
callq _libmin_sqrt
movapd %xmm0, -32(%rbp) ## 16-byte Spill
callq _libmin_fabs
movapd -32(%rbp), %xmm2 ## 16-byte Reload
ucomisd LCPI6_0(%rip), %xmm2
jne LBB6_1
jnp LBB6_3
LBB6_1:
movsd LCPI6_1(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB6_3
## %bb.2:
movupd (%r14), %xmm0
movddup %xmm2, %xmm1 ## xmm1 = xmm2[0,0]
divpd %xmm1, %xmm0
movupd %xmm0, (%rbx)
movsd 16(%r14), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm2, %xmm0
movsd %xmm0, 16(%rbx)
LBB6_3:
movq %rbx, %rax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function get_cross_matrix
LCPI7_0:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _get_cross_matrix
.p2align 4, 0x90
_get_cross_matrix: ## @get_cross_matrix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, %rax
movq $0, (%rdi)
movsd 16(%rsi), %xmm0 ## xmm0 = mem[0],zero
movaps LCPI7_0(%rip), %xmm1 ## xmm1 = [-0.0E+0,-0.0E+0]
movaps %xmm0, %xmm2
xorps %xmm1, %xmm2
movlps %xmm2, 8(%rdi)
movsd %xmm0, 24(%rdi)
movq $0, 32(%rdi)
movups (%rsi), %xmm0
movsd 8(%rsi), %xmm2 ## xmm2 = mem[0],zero
movsd %xmm2, 16(%rdi)
xorps %xmm0, %xmm1
movups %xmm1, 40(%rdi)
movlps %xmm0, 56(%rdi)
movq $0, 64(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function get_angle
LCPI8_0:
.quad 0x3e112e0be826d695 ## double 1.0000000000000001E-9
LCPI8_1:
.quad 0x7ff8000000000000 ## double NaN
.section __TEXT,__text,regular,pure_instructions
.globl _get_angle
.p2align 4, 0x90
_get_angle: ## @get_angle
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movsd (%rdi), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%rdi), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm0, %xmm0
mulsd %xmm1, %xmm1
addsd %xmm0, %xmm1
movsd 16(%rdi), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
callq _libmin_sqrt
movsd %xmm0, -32(%rbp) ## 8-byte Spill
movsd (%rbx), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%rbx), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm0, %xmm0
mulsd %xmm1, %xmm1
addsd %xmm0, %xmm1
movsd 16(%rbx), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
callq _libmin_sqrt
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_fabs
movsd LCPI8_0(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB8_2
## %bb.1:
movsd -24(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_fabs
movsd LCPI8_0(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jbe LBB8_3
LBB8_2:
movsd LCPI8_1(%rip), %xmm0 ## xmm0 = mem[0],zero
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB8_3:
movsd (%r14), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%r14), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rbx), %xmm0
mulsd 8(%rbx), %xmm1
addsd %xmm0, %xmm1
movsd 16(%r14), %xmm0 ## xmm0 = mem[0],zero
mulsd 16(%rbx), %xmm0
addsd %xmm1, %xmm0
movsd -32(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd -24(%rbp), %xmm1 ## 8-byte Folded Reload
divsd %xmm1, %xmm0
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
jmp _libmin_acos ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function main
LCPI9_0:
.quad 0x3ff0000000000000 ## double 1
LCPI9_1:
.quad 0x4000000000000000 ## double 2
LCPI9_2:
.quad 0x4008000000000000 ## double 3
LCPI9_3:
.quad 0x402c000000000000 ## double 14
LCPI9_4:
.quad 0xc00def9db22d0e56 ## double -3.742
LCPI9_5:
.quad 0x3f847ae147ae147b ## double 0.01
LCPI9_6:
.quad 0xbffbb645a1cac083 ## double -1.732
LCPI9_7:
.quad 0x4018000000000000 ## double 6
LCPI9_8:
.quad 0xbff0000000000000 ## double -1
LCPI9_9:
.quad 0x7ff8000000000000 ## double NaN
LCPI9_10:
.quad 0x3e112e0be826d695 ## double 1.0000000000000001E-9
LCPI9_11:
.quad 0xbfd8ce63a5c1c609 ## double -0.38759700000000002
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq _print_vector.vec_str(%rip), %rbx
leaq L_.str(%rip), %r14
leaq L_.str.2(%rip), %rcx
movsd LCPI9_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI9_1(%rip), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI9_2(%rip), %xmm2 ## xmm2 = mem[0],zero
movl $99, %esi
movq %rbx, %rdi
movq %r14, %rdx
movb $3, %al
callq _libmin_snprintf
leaq L_.str.1(%rip), %r15
movq %r15, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.3(%rip), %rcx
movl $99, %esi
movq %rbx, %rdi
movq %r14, %rdx
movsd LCPI9_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
movb $3, %al
callq _libmin_snprintf
movq %r15, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _libmin_printf
movsd LCPI9_3(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _libmin_sqrt
movsd %xmm0, -32(%rbp) ## 8-byte Spill
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _libmin_printf
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd LCPI9_4(%rip), %xmm0
callq _libmin_fabs
movsd LCPI9_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB9_2
## %bb.1:
movl $1, %edi
callq _libmin_fail
LBB9_2:
movsd LCPI9_2(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _libmin_sqrt
movsd %xmm0, -32(%rbp) ## 8-byte Spill
leaq L_.str.5(%rip), %rdi
movb $1, %al
callq _libmin_printf
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd LCPI9_6(%rip), %xmm0
callq _libmin_fabs
movsd LCPI9_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB9_4
## %bb.3:
movl $1, %edi
callq _libmin_fail
LBB9_4:
leaq L_.str.6(%rip), %rdi
movsd LCPI9_7(%rip), %xmm0 ## xmm0 = mem[0],zero
movb $1, %al
callq _libmin_printf
xorpd %xmm0, %xmm0
callq _libmin_fabs
movsd LCPI9_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB9_6
## %bb.5:
movl $1, %edi
callq _libmin_fail
LBB9_6:
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq _print_vector.vec_str(%rip), %rbx
leaq L_.str(%rip), %rdx
leaq L_.str.8(%rip), %rcx
movsd LCPI9_1(%rip), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI9_8(%rip), %xmm0 ## xmm0 = mem[0],zero
movl $99, %esi
movq %rbx, %rdi
movapd %xmm0, %xmm2
movb $3, %al
callq _libmin_snprintf
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _libmin_printf
xorpd %xmm0, %xmm0
callq _libmin_fabs
movsd LCPI9_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB9_8
## %bb.7:
movl $1, %edi
callq _libmin_fail
LBB9_8:
xorpd %xmm0, %xmm0
callq _libmin_fabs
movsd LCPI9_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB9_10
## %bb.9:
movl $1, %edi
callq _libmin_fail
LBB9_10:
xorpd %xmm0, %xmm0
callq _libmin_fabs
movsd LCPI9_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB9_12
## %bb.11:
movl $1, %edi
callq _libmin_fail
LBB9_12:
movsd LCPI9_3(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _libmin_sqrt
movsd %xmm0, -32(%rbp) ## 8-byte Spill
movsd LCPI9_2(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _libmin_sqrt
movsd %xmm0, -40(%rbp) ## 8-byte Spill
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_fabs
movsd LCPI9_9(%rip), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI9_10(%rip), %xmm2 ## xmm2 = mem[0],zero
ucomisd %xmm0, %xmm2
ja LBB9_15
## %bb.13:
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_fabs
movsd LCPI9_9(%rip), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI9_10(%rip), %xmm2 ## xmm2 = mem[0],zero
ucomisd %xmm0, %xmm2
ja LBB9_15
## %bb.14:
movsd -32(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd -40(%rbp), %xmm1 ## 8-byte Folded Reload
movsd LCPI9_7(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
callq _libmin_acos
movapd %xmm0, %xmm1
LBB9_15:
movsd %xmm1, -32(%rbp) ## 8-byte Spill
leaq L_.str.9(%rip), %rdi
movapd %xmm1, %xmm0
movb $1, %al
callq _libmin_printf
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd LCPI9_11(%rip), %xmm0
callq _libmin_fabs
movsd LCPI9_5(%rip), %xmm1 ## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
ja LBB9_17
## %bb.16:
movl $1, %edi
callq _libmin_fail
LBB9_17:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_print_vector.vec_str,100,4 ## @print_vector.vec_str
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "vec(%s) = (%.0lf)i + (%.0lf)j + (%.0lf)k\n"
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "a"
L_.str.3: ## @.str.3
.asciz "b"
L_.str.4: ## @.str.4
.asciz "|a| = %.4lf\n"
L_.str.5: ## @.str.5
.asciz "|b| = %.4lf\n"
L_.str.6: ## @.str.6
.asciz "Dot product: %lf\n"
L_.str.7: ## @.str.7
.asciz "Vector product "
L_.str.8: ## @.str.8
.asciz "c"
L_.str.9: ## @.str.9
.asciz "The angle is %lf\n"
L_.str.10: ## @.str.10
.asciz "All tests passed!\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _vector_sub ; -- Begin function vector_sub
.p2align 2
_vector_sub: ; @vector_sub
.cfi_startproc
; %bb.0:
ldp d0, d1, [x0]
ldp d2, d3, [x1]
fsub d0, d0, d2
fsub d1, d1, d3
ldr d2, [x0, #16]
ldr d3, [x1, #16]
fsub d2, d2, d3
ret
.cfi_endproc
; -- End function
.globl _vector_add ; -- Begin function vector_add
.p2align 2
_vector_add: ; @vector_add
.cfi_startproc
; %bb.0:
ldp d0, d1, [x0]
ldp d2, d3, [x1]
fadd d0, d0, d2
fadd d1, d1, d3
ldr d2, [x0, #16]
ldr d3, [x1, #16]
fadd d2, d2, d3
ret
.cfi_endproc
; -- End function
.globl _dot_prod ; -- Begin function dot_prod
.p2align 2
_dot_prod: ; @dot_prod
.cfi_startproc
; %bb.0:
ldp d0, d1, [x0]
ldp d2, d3, [x1]
fmul d0, d0, d2
fmadd d0, d1, d3, d0
ldr d1, [x0, #16]
ldr d2, [x1, #16]
fmadd d0, d1, d2, d0
ret
.cfi_endproc
; -- End function
.globl _vector_prod ; -- Begin function vector_prod
.p2align 2
_vector_prod: ; @vector_prod
.cfi_startproc
; %bb.0:
ldp d3, d1, [x1, #8]
ldp d5, d2, [x0, #8]
ldr d4, [x1]
fnmul d0, d2, d3
ldr d6, [x0]
fmadd d0, d5, d1, d0
fmul d2, d2, d4
fmsub d1, d6, d1, d2
fnmul d2, d5, d4
fmadd d2, d6, d3, d2
ret
.cfi_endproc
; -- End function
.globl _print_vector ; -- Begin function print_vector
.p2align 2
_print_vector: ; @print_vector
.cfi_startproc
; %bb.0:
sub sp, sp, #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
ldr q0, [x0]
ldr d1, [x0, #16]
str d1, [sp, #24]
stur q0, [sp, #8]
Lloh0:
adrp x19, _print_vector.vec_str@PAGE
Lloh1:
add x19, x19, _print_vector.vec_str@PAGEOFF
str x1, [sp]
Lloh2:
adrp x2, l_.str@PAGE
Lloh3:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
mov w1, #99 ; =0x63
bl _libmin_snprintf
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _vector_norm ; -- Begin function vector_norm
.p2align 2
_vector_norm: ; @vector_norm
.cfi_startproc
; %bb.0:
ldp d0, d1, [x0]
fmul d0, d0, d0
fmadd d0, d1, d1, d0
ldr d1, [x0, #16]
fmadd d0, d1, d1, d0
b _libmin_sqrt
.cfi_endproc
; -- End function
.globl _unit_vec ; -- Begin function unit_vec
.p2align 2
_unit_vec: ; @unit_vec
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset b8, -40
.cfi_offset b9, -48
mov x19, x0
ldp d0, d1, [x0]
fmul d0, d0, d0
fmadd d0, d1, d1, d0
ldr d1, [x0, #16]
fmadd d0, d1, d1, d0
bl _libmin_sqrt
fmov d8, d0
bl _libmin_fabs
movi d2, #0000000000000000
fmov d1, #1.00000000
fcmp d8, d1
mov x8, #54933 ; =0xd695
movk x8, #59430, lsl #16
movk x8, #11787, lsl #32
movk x8, #15889, lsl #48
fmov d1, x8
fccmp d0, d1, #8, ne
movi d1, #0000000000000000
movi d0, #0000000000000000
b.mi LBB6_2
; %bb.1:
ldp d0, d1, [x19]
fdiv d0, d0, d8
fdiv d1, d1, d8
ldr d2, [x19, #16]
fdiv d2, d2, d8
LBB6_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _get_cross_matrix ; -- Begin function get_cross_matrix
.p2align 2
_get_cross_matrix: ; @get_cross_matrix
.cfi_startproc
; %bb.0:
str xzr, [x8]
ldr d0, [x0, #16]
fneg d1, d0
str d1, [x8, #8]
add x9, x8, #16
str d0, [x8, #24]
str xzr, [x8, #32]
ldr q0, [x0]
st1.d { v0 }[1], [x9]
fneg.2d v1, v0
stur q1, [x8, #40]
str d0, [x8, #56]
str xzr, [x8, #64]
ret
.cfi_endproc
; -- End function
.globl _get_angle ; -- Begin function get_angle
.p2align 2
_get_angle: ; @get_angle
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset b8, -40
.cfi_offset b9, -48
mov x19, x1
mov x20, x0
ldp d0, d1, [x0]
fmul d0, d0, d0
fmadd d0, d1, d1, d0
ldr d1, [x0, #16]
fmadd d0, d1, d1, d0
bl _libmin_sqrt
fmov d8, d0
ldp d0, d1, [x19]
fmul d0, d0, d0
fmadd d0, d1, d1, d0
ldr d1, [x19, #16]
fmadd d0, d1, d1, d0
bl _libmin_sqrt
fmov d9, d0
fmov d0, d8
bl _libmin_fabs
mov x8, #54933 ; =0xd695
movk x8, #59430, lsl #16
movk x8, #11787, lsl #32
movk x8, #15889, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB8_2
; %bb.1:
fmov d0, d9
bl _libmin_fabs
mov x8, #54933 ; =0xd695
movk x8, #59430, lsl #16
movk x8, #11787, lsl #32
movk x8, #15889, lsl #48
fmov d1, x8
fcmp d0, d1
b.pl LBB8_3
LBB8_2:
mov x8, #9221120237041090560 ; =0x7ff8000000000000
fmov d0, x8
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #48 ; 16-byte Folded Reload
ret
LBB8_3:
ldp d0, d1, [x20]
ldp d2, d3, [x19]
fmul d0, d0, d2
fmadd d0, d1, d3, d0
ldr d1, [x20, #16]
ldr d2, [x19, #16]
fmadd d0, d1, d2, d0
fmul d1, d8, d9
fdiv d0, d0, d1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #48 ; 16-byte Folded Reload
b _libmin_acos
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp d9, d8, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset b8, -56
.cfi_offset b9, -64
mov x8, #4613937818241073152 ; =0x4008000000000000
mov x9, #4611686018427387904 ; =0x4000000000000000
stp x9, x8, [sp, #16]
mov x22, #4607182418800017408 ; =0x3ff0000000000000
Lloh4:
adrp x8, l_.str.2@PAGE
Lloh5:
add x8, x8, l_.str.2@PAGEOFF
Lloh6:
adrp x19, _print_vector.vec_str@PAGE
Lloh7:
add x19, x19, _print_vector.vec_str@PAGEOFF
stp x8, x22, [sp]
Lloh8:
adrp x20, l_.str@PAGE
Lloh9:
add x20, x20, l_.str@PAGEOFF
mov x0, x19
mov w1, #99 ; =0x63
mov x2, x20
bl _libmin_snprintf
str x19, [sp]
Lloh10:
adrp x21, l_.str.1@PAGE
Lloh11:
add x21, x21, l_.str.1@PAGEOFF
mov x0, x21
bl _libmin_printf
Lloh12:
adrp x8, l_.str.3@PAGE
Lloh13:
add x8, x8, l_.str.3@PAGEOFF
stp x22, x22, [sp, #16]
stp x8, x22, [sp]
mov x0, x19
mov w1, #99 ; =0x63
mov x2, x20
bl _libmin_snprintf
str x19, [sp]
mov x0, x21
bl _libmin_printf
fmov d0, #14.00000000
bl _libmin_sqrt
fmov d8, d0
str d0, [sp]
Lloh14:
adrp x0, l_.str.4@PAGE
Lloh15:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
mov x8, #3670 ; =0xe56
movk x8, #45613, lsl #16
movk x8, #61341, lsl #32
movk x8, #49165, lsl #48
fmov d0, x8
fadd d0, d8, d0
bl _libmin_fabs
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16260, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB9_2
; %bb.1:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB9_2:
fmov d0, #3.00000000
bl _libmin_sqrt
fmov d8, d0
str d0, [sp]
Lloh16:
adrp x0, l_.str.5@PAGE
Lloh17:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
mov x8, #49283 ; =0xc083
movk x8, #41418, lsl #16
movk x8, #46661, lsl #32
movk x8, #49147, lsl #48
fmov d0, x8
fadd d0, d8, d0
bl _libmin_fabs
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16260, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB9_4
; %bb.3:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB9_4:
mov x8, #4618441417868443648 ; =0x4018000000000000
str x8, [sp]
Lloh18:
adrp x0, l_.str.6@PAGE
Lloh19:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
movi d0, #0000000000000000
bl _libmin_fabs
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16260, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB9_6
; %bb.5:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB9_6:
Lloh20:
adrp x0, l_.str.7@PAGE
Lloh21:
add x0, x0, l_.str.7@PAGEOFF
bl _libmin_printf
mov x8, #-4616189618054758400 ; =0xbff0000000000000
mov x9, #4611686018427387904 ; =0x4000000000000000
stp x9, x8, [sp, #16]
Lloh22:
adrp x9, l_.str.8@PAGE
Lloh23:
add x9, x9, l_.str.8@PAGEOFF
stp x9, x8, [sp]
Lloh24:
adrp x2, l_.str@PAGE
Lloh25:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
mov w1, #99 ; =0x63
bl _libmin_snprintf
str x19, [sp]
Lloh26:
adrp x0, l_.str.1@PAGE
Lloh27:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
movi d0, #0000000000000000
bl _libmin_fabs
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16260, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB9_8
; %bb.7:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB9_8:
movi d0, #0000000000000000
bl _libmin_fabs
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16260, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB9_10
; %bb.9:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB9_10:
movi d0, #0000000000000000
bl _libmin_fabs
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16260, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB9_12
; %bb.11:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB9_12:
fmov d0, #14.00000000
bl _libmin_sqrt
fmov d8, d0
fmov d0, #3.00000000
bl _libmin_sqrt
fmov d9, d0
fmov d0, d8
bl _libmin_fabs
mov x8, #54933 ; =0xd695
movk x8, #59430, lsl #16
movk x8, #11787, lsl #32
movk x8, #15889, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB9_14
; %bb.13:
fmov d0, d9
bl _libmin_fabs
mov x8, #54933 ; =0xd695
movk x8, #59430, lsl #16
movk x8, #11787, lsl #32
movk x8, #15889, lsl #48
fmov d1, x8
fcmp d0, d1
b.pl LBB9_15
LBB9_14:
mov x8, #9221120237041090560 ; =0x7ff8000000000000
fmov d8, x8
b LBB9_16
LBB9_15:
fmul d0, d8, d9
fmov d1, #6.00000000
fdiv d0, d1, d0
bl _libmin_acos
fmov d8, d0
LBB9_16:
str d8, [sp]
Lloh28:
adrp x0, l_.str.9@PAGE
Lloh29:
add x0, x0, l_.str.9@PAGEOFF
bl _libmin_printf
mov x8, #50697 ; =0xc609
movk x8, #42433, lsl #16
movk x8, #52835, lsl #32
movk x8, #49112, lsl #48
fmov d0, x8
fadd d0, d8, d0
bl _libmin_fabs
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16260, lsl #48
fmov d1, x8
fcmp d0, d1
b.mi LBB9_18
; %bb.17:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB9_18:
Lloh30:
adrp x0, l_.str.10@PAGE
Lloh31:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_print_vector.vec_str,100,0 ; @print_vector.vec_str
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "vec(%s) = (%.0lf)i + (%.0lf)j + (%.0lf)k\n"
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "a"
l_.str.3: ; @.str.3
.asciz "b"
l_.str.4: ; @.str.4
.asciz "|a| = %.4lf\n"
l_.str.5: ; @.str.5
.asciz "|b| = %.4lf\n"
l_.str.6: ; @.str.6
.asciz "Dot product: %lf\n"
l_.str.7: ; @.str.7
.asciz "Vector product "
l_.str.8: ; @.str.8
.asciz "c"
l_.str.9: ; @.str.9
.asciz "The angle is %lf\n"
l_.str.10: ; @.str.10
.asciz "All tests passed!\n"
.subsections_via_symbols
|
sieve.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.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 %r14d, %r14d
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq _flags(%rip), %rbx
movl $1024, %edx ## imm = 0x400
movq %rbx, %rdi
movl $1, %esi
callq _memset
xorl %edx, %edx
xorl %ecx, %ecx
jmp LBB0_1
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
incq %r14
cmpq $1024, %r14 ## imm = 0x400
je LBB0_5
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpb $0, (%r14,%rbx)
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
incq %rdx
leaq 3(,%r14,2), %rcx
leaq (%r14,%r14,2), %rax
addq $3, %rax
cmpq $1023, %rax ## imm = 0x3FF
ja LBB0_4
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movb $0, (%rax,%rbx)
addq %rcx, %rax
cmpq $1024, %rax ## imm = 0x400
jb LBB0_3
jmp LBB0_4
LBB0_5:
leaq L_.str.4(%rip), %rdi
movl $1024, %esi ## imm = 0x400
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n Sieve of Eratosthenes (Scaled to 10 Iterations)\n"
L_.str.1: ## @.str.1
.asciz " Version 1.2b, 26 Sep 1992\n\n"
L_.str.2: ## @.str.2
.asciz " Array Size Number Last Prime\n"
L_.str.3: ## @.str.3
.asciz " (Bytes) of Primes\n"
.zerofill __DATA,__bss,_flags,8192,4 ## @flags
L_.str.4: ## @.str.4
.asciz " %9ld %8ld %8ld\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
Lloh8:
adrp x19, _flags@PAGE
Lloh9:
add x19, x19, _flags@PAGEOFF
mov w20, #1 ; =0x1
mov x0, x19
mov w1, #1 ; =0x1
mov w2, #1024 ; =0x400
bl _memset
mov x9, #0 ; =0x0
mov x10, #0 ; =0x0
mov x12, #0 ; =0x0
mov x8, #0 ; =0x0
mov x11, #0 ; =0x0
mov w13, #3 ; =0x3
mov w14, #12 ; =0xc
mov w15, #9 ; =0x9
mov w16, #6 ; =0x6
mov w17, #1018 ; =0x3fa
mov w0, #12 ; =0xc
mov w1, #3 ; =0x3
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add x12, x12, #1
add x10, x10, #5
sub x9, x9, #5
add x1, x1, #2
add x13, x13, #3
add x0, x0, #8
add x14, x14, #9
add x15, x15, #7
add x16, x16, #5
cmp x12, #1024
b.eq LBB0_9
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
; Child Loop BB0_8 Depth 2
cmp x10, #1018
csel x3, x10, x17, hi
add x2, x12, x12, lsl #2
cmp x2, #1018
csel x4, x2, x17, hi
subs x4, x4, x2
cset w6, ne
csetm x5, ne
ldrb w2, [x19, x12]
cbz w2, LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
lsl x11, x12, #1
add x11, x11, #3
add x8, x8, #1
add x2, x11, x12
cmp x2, #1023
b.hi LBB0_1
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
sub x6, x4, x6
cmp x4, #0
cinc x7, x20, ne
udiv x4, x6, x11
add x4, x7, x4
cmp x4, #4
b.lo LBB0_8
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
and x6, x4, #0xfffffffffffffffc
madd x2, x6, x11, x2
add x3, x3, x9
add x3, x3, x5
udiv x3, x3, x1
add x3, x7, x3
and x3, x3, #0xfffffffffffffffc
mov x5, x19
LBB0_6: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
strb wzr, [x5, x13]
strb wzr, [x5, x16]
strb wzr, [x5, x15]
strb wzr, [x5, x14]
add x5, x5, x0
subs x3, x3, #4
b.ne LBB0_6
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
cmp x4, x6
b.eq LBB0_1
LBB0_8: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
strb wzr, [x19, x2]
add x2, x2, x11
cmp x2, #1024
b.lo LBB0_8
b LBB0_1
LBB0_9:
stp x8, x11, [sp, #8]
mov w9, #1024 ; =0x400
str x9, [sp]
Lloh10:
adrp x0, l_.str.4@PAGE
Lloh11:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n Sieve of Eratosthenes (Scaled to 10 Iterations)\n"
l_.str.1: ; @.str.1
.asciz " Version 1.2b, 26 Sep 1992\n\n"
l_.str.2: ; @.str.2
.asciz " Array Size Number Last Prime\n"
l_.str.3: ; @.str.3
.asciz " (Bytes) of Primes\n"
.zerofill __DATA,__bss,_flags,8192,0 ; @flags
l_.str.4: ; @.str.4
.asciz " %9ld %8ld %8ld\n"
.subsections_via_symbols
|
rabinkarp-search.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _search ## -- Begin function search
.p2align 4, 0x90
_search: ## @search
.cfi_startproc
## %bb.0:
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
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
## kill: def $ecx killed $ecx def $rcx
## kill: def $esi killed $esi def $rsi
movl $1, %eax
cmpl $2, %ecx
jl LBB0_5
## %bb.1:
leal -2(%rcx), %eax
leal -1(%rcx), %r10d
movl %r10d, %r9d
andl $3, %r9d
cmpl $3, %eax
jae LBB0_13
## %bb.2:
movl $1, %eax
jmp LBB0_3
LBB0_13:
andl $-4, %r10d
movl $1, %eax
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
shll $8, %eax
cltq
movq %rax, %r11
shlq $30, %r11
addq %rax, %r11
movq %r11, %rbx
shrq $63, %rbx
sarq $61, %r11
addl %ebx, %r11d
addl %r11d, %eax
shll $8, %eax
cltq
movq %rax, %r11
shlq $30, %r11
addq %rax, %r11
movq %r11, %rbx
shrq $63, %rbx
sarq $61, %r11
addl %ebx, %r11d
addl %r11d, %eax
shll $8, %eax
cltq
movq %rax, %r11
shlq $30, %r11
addq %rax, %r11
movq %r11, %rbx
shrq $63, %rbx
sarq $61, %r11
addl %ebx, %r11d
addl %r11d, %eax
shll $8, %eax
movslq %eax, %r11
movq %r11, %rax
shlq $30, %rax
addq %r11, %rax
movq %rax, %rbx
shrq $63, %rbx
sarq $61, %rax
addl %ebx, %eax
addl %eax, %r11d
shll $31, %eax
addl %r11d, %eax
addl $-4, %r10d
jne LBB0_14
LBB0_3:
testl %r9d, %r9d
je LBB0_5
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
shll $8, %eax
movslq %eax, %r10
movq %r10, %rax
shlq $30, %rax
addq %r10, %rax
movq %rax, %r11
shrq $63, %r11
sarq $61, %rax
addl %r11d, %eax
addl %eax, %r10d
shll $31, %eax
addl %r10d, %eax
decl %r9d
jne LBB0_4
LBB0_5:
testl %ecx, %ecx
jle LBB0_6
## %bb.15:
movl %ecx, %r11d
xorl %ebx, %ebx
xorl %r10d, %r10d
xorl %r9d, %r9d
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
shll $8, %r9d
movsbl (%rdx,%rbx), %r14d
addl %r9d, %r14d
movslq %r14d, %r9
movq %r9, %r14
shlq $30, %r14
addq %r9, %r14
movq %r14, %r15
shrq $63, %r15
sarq $61, %r14
addl %r15d, %r14d
movl %r14d, %r15d
shll $31, %r15d
addl %r14d, %r15d
addl %r15d, %r9d
shll $8, %r10d
movsbl (%rdi,%rbx), %r14d
addl %r10d, %r14d
movslq %r14d, %r10
movq %r10, %r14
shlq $30, %r14
addq %r10, %r14
movq %r14, %r15
shrq $63, %r15
sarq $61, %r14
addl %r15d, %r14d
movl %r14d, %r15d
shll $31, %r15d
addl %r14d, %r15d
addl %r15d, %r10d
incq %rbx
cmpq %rbx, %r11
jne LBB0_16
## %bb.7:
subl %ecx, %esi
jns LBB0_8
jmp LBB0_12
LBB0_6:
xorl %r9d, %r9d
xorl %r10d, %r10d
subl %ecx, %esi
js LBB0_12
LBB0_8:
movslq %ecx, %rcx
movl %esi, %edx
incl %esi
addq %rdi, %rcx
xorl %r11d, %r11d
jmp LBB0_9
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_9 Depth=1
incq %r11
cmpq %r11, %rsi
je LBB0_12
LBB0_9: ## =>This Inner Loop Header: Depth=1
xorl %ebx, %ebx
cmpl %r10d, %r9d
sete %bl
movl %ebx, (%r8,%r11,4)
cmpq %rdx, %r11
jae LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movsbl (%rdi,%r11), %ebx
imull %eax, %ebx
subl %ebx, %r10d
shll $8, %r10d
movsbl (%rcx,%r11), %ebx
addl %r10d, %ebx
movslq %ebx, %rbx
movq %rbx, %r10
shlq $30, %r10
addq %rbx, %r10
movq %r10, %r14
shrq $63, %r14
sarq $61, %r10
addl %r14d, %r10d
movl %r10d, %r14d
shll $31, %r14d
addl %r10d, %r14d
leal (%rbx,%r14), %r10d
addl $2147483647, %r10d ## imm = 0x7FFFFFFF
## kill: def $ebx killed $ebx killed $rbx
addl %r14d, %ebx
cmovnsl %ebx, %r10d
jmp LBB0_11
LBB0_12:
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 %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
movabsq $4294967296, %r14 ## imm = 0x100000000
leaq _inp_txt(%rip), %r15
movq %r15, %rdi
callq _libmin_strlen
movq %rax, %r12
leaq _inp_pat(%rip), %rbx
movq %rbx, %rdi
callq _libmin_strlen
leaq L_.str(%rip), %rdi
xorl %r13d, %r13d
movl %r12d, %esi
movq %rax, -64(%rbp) ## 8-byte Spill
movl %eax, %edx
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rax
shlq $32, %rax
movq %rax, -56(%rbp) ## 8-byte Spill
leaq (%rax,%r14), %rdi
sarq $32, %rdi
callq _libmin_malloc
movq %rax, %r14
testl %r12d, %r12d
movq %r12, -48(%rbp) ## 8-byte Spill
jle LBB1_1
## %bb.2:
movl %r12d, %r13d
xorl %eax, %eax
cmpq $8, %r13
jb LBB1_3
## %bb.4:
movq %r14, %rcx
subq %r15, %rcx
cmpq $32, %rcx
movq -64(%rbp), %r8 ## 8-byte Reload
jb LBB1_14
## %bb.5:
cmpl $32, %r13d
jae LBB1_7
## %bb.6:
xorl %eax, %eax
jmp LBB1_11
LBB1_1:
movq -64(%rbp), %r8 ## 8-byte Reload
jmp LBB1_18
LBB1_3:
movq -64(%rbp), %r8 ## 8-byte Reload
jmp LBB1_14
LBB1_7:
movq -48(%rbp), %rcx ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx def $rcx
andl $31, %ecx
movq %r13, %rax
subq %rcx, %rax
xorl %edx, %edx
.p2align 4, 0x90
LBB1_8: ## =>This Inner Loop Header: Depth=1
movaps (%rdx,%r15), %xmm0
movaps 16(%rdx,%r15), %xmm1
movups %xmm0, (%r14,%rdx)
movups %xmm1, 16(%r14,%rdx)
addq $32, %rdx
cmpq %rdx, %rax
jne LBB1_8
## %bb.9:
testq %rcx, %rcx
je LBB1_18
## %bb.10:
cmpl $8, %ecx
jb LBB1_14
LBB1_11:
movq %rax, %rcx
movq -48(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx def $rdx
andl $7, %edx
movq %r13, %rax
subq %rdx, %rax
.p2align 4, 0x90
LBB1_12: ## =>This Inner Loop Header: Depth=1
movq (%rcx,%r15), %rsi
movq %rsi, (%r14,%rcx)
addq $8, %rcx
cmpq %rcx, %rax
jne LBB1_12
## %bb.13:
testq %rdx, %rdx
je LBB1_18
LBB1_14:
movq -48(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx def $rdx
subl %eax, %edx
movq %rax, %rcx
notq %rcx
addq %r13, %rcx
andl $3, %edx
je LBB1_16
.p2align 4, 0x90
LBB1_15: ## =>This Inner Loop Header: Depth=1
movzbl (%rax,%r15), %esi
movb %sil, (%r14,%rax)
incq %rax
decq %rdx
jne LBB1_15
LBB1_16:
cmpq $3, %rcx
jb LBB1_18
.p2align 4, 0x90
LBB1_17: ## =>This Inner Loop Header: Depth=1
movzbl (%rax,%r15), %ecx
movb %cl, (%r14,%rax)
movzbl 1(%rax,%r15), %ecx
movb %cl, 1(%r14,%rax)
movzbl 2(%rax,%r15), %ecx
movb %cl, 2(%r14,%rax)
movzbl 3(%rax,%r15), %ecx
movb %cl, 3(%r14,%rax)
addq $4, %rax
cmpq %rax, %r13
jne LBB1_17
LBB1_18:
movabsq $4294967296, %rdi ## imm = 0x100000000
movb $0, (%r14,%r13)
movq %r8, %r15
shlq $32, %r15
addq %r15, %rdi
sarq $32, %rdi
callq _libmin_malloc
movq -64(%rbp), %r8 ## 8-byte Reload
movq %rax, %r12
testl %r8d, %r8d
jle LBB1_19
## %bb.20:
movl %r8d, %eax
xorl %ecx, %ecx
cmpq $8, %rax
jb LBB1_31
## %bb.21:
movq %r12, %rdx
subq %rbx, %rdx
cmpq $32, %rdx
jb LBB1_31
## %bb.22:
cmpl $32, %eax
jae LBB1_24
## %bb.23:
xorl %ecx, %ecx
jmp LBB1_28
LBB1_19:
xorl %eax, %eax
jmp LBB1_35
LBB1_24:
movl %r8d, %edx
andl $31, %edx
movq %rax, %rcx
subq %rdx, %rcx
xorl %esi, %esi
.p2align 4, 0x90
LBB1_25: ## =>This Inner Loop Header: Depth=1
movaps (%rsi,%rbx), %xmm0
movaps 16(%rsi,%rbx), %xmm1
movups %xmm0, (%r12,%rsi)
movups %xmm1, 16(%r12,%rsi)
addq $32, %rsi
cmpq %rsi, %rcx
jne LBB1_25
## %bb.26:
testq %rdx, %rdx
je LBB1_35
## %bb.27:
cmpl $8, %edx
jb LBB1_31
LBB1_28:
movq %rcx, %rdx
movl %r8d, %esi
andl $7, %esi
movq %rax, %rcx
subq %rsi, %rcx
.p2align 4, 0x90
LBB1_29: ## =>This Inner Loop Header: Depth=1
movq (%rdx,%rbx), %rdi
movq %rdi, (%r12,%rdx)
addq $8, %rdx
cmpq %rdx, %rcx
jne LBB1_29
## %bb.30:
testq %rsi, %rsi
je LBB1_35
LBB1_31:
movl %r8d, %esi
subl %ecx, %esi
movq %rcx, %rdx
notq %rdx
addq %rax, %rdx
andl $3, %esi
je LBB1_33
.p2align 4, 0x90
LBB1_32: ## =>This Inner Loop Header: Depth=1
movzbl (%rcx,%rbx), %edi
movb %dil, (%r12,%rcx)
incq %rcx
decq %rsi
jne LBB1_32
LBB1_33:
cmpq $3, %rdx
jb LBB1_35
.p2align 4, 0x90
LBB1_34: ## =>This Inner Loop Header: Depth=1
movzbl (%rcx,%rbx), %edx
movb %dl, (%r12,%rcx)
movzbl 1(%rcx,%rbx), %edx
movb %dl, 1(%r12,%rcx)
movzbl 2(%rcx,%rbx), %edx
movb %dl, 2(%r12,%rcx)
movzbl 3(%rcx,%rbx), %edx
movb %dl, 3(%r12,%rcx)
addq $4, %rcx
cmpq %rcx, %rax
jne LBB1_34
LBB1_35:
movq -48(%rbp), %rbx ## 8-byte Reload
movq -56(%rbp), %rdi ## 8-byte Reload
movb $0, (%r14,%rax)
sarq $30, %rdi
callq _libmin_malloc
movq %rax, %r13
testl %ebx, %ebx
jle LBB1_37
## %bb.36:
movl %ebx, %esi
shlq $2, %rsi
movq %r13, %rdi
callq ___bzero
LBB1_37:
movl $1, %eax
movq -64(%rbp), %r10 ## 8-byte Reload
cmpl $2, %r10d
jl LBB1_42
## %bb.38:
leal -2(%r10), %eax
leal -1(%r10), %edx
movl %edx, %ecx
andl $3, %ecx
cmpl $3, %eax
jae LBB1_55
## %bb.39:
movl $1, %eax
jmp LBB1_40
LBB1_55:
andl $-4, %edx
movl $1, %eax
.p2align 4, 0x90
LBB1_56: ## =>This Inner Loop Header: Depth=1
shll $8, %eax
cltq
movq %rax, %rsi
shlq $30, %rsi
addq %rax, %rsi
movq %rsi, %rdi
shrq $63, %rdi
sarq $61, %rsi
addl %edi, %esi
addl %esi, %eax
shll $8, %eax
cltq
movq %rax, %rsi
shlq $30, %rsi
addq %rax, %rsi
movq %rsi, %rdi
shrq $63, %rdi
sarq $61, %rsi
addl %edi, %esi
addl %esi, %eax
shll $8, %eax
cltq
movq %rax, %rsi
shlq $30, %rsi
addq %rax, %rsi
movq %rsi, %rdi
shrq $63, %rdi
sarq $61, %rsi
addl %edi, %esi
addl %esi, %eax
shll $8, %eax
movslq %eax, %rsi
movq %rsi, %rax
shlq $30, %rax
addq %rsi, %rax
movq %rax, %rdi
shrq $63, %rdi
sarq $61, %rax
addl %edi, %eax
addl %eax, %esi
shll $31, %eax
addl %esi, %eax
addl $-4, %edx
jne LBB1_56
LBB1_40:
testl %ecx, %ecx
je LBB1_42
.p2align 4, 0x90
LBB1_41: ## =>This Inner Loop Header: Depth=1
shll $8, %eax
movslq %eax, %rdx
movq %rdx, %rax
shlq $30, %rax
addq %rdx, %rax
movq %rax, %rsi
shrq $63, %rsi
sarq $61, %rax
addl %esi, %eax
addl %eax, %edx
shll $31, %eax
addl %edx, %eax
decl %ecx
jne LBB1_41
LBB1_42:
testl %r10d, %r10d
jle LBB1_43
## %bb.57:
movl %r10d, %esi
xorl %edi, %edi
xorl %edx, %edx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB1_58: ## =>This Inner Loop Header: Depth=1
shll $8, %ecx
movsbl (%r12,%rdi), %r8d
addl %ecx, %r8d
movslq %r8d, %rcx
movq %rcx, %r8
shlq $30, %r8
addq %rcx, %r8
movq %r8, %r9
shrq $63, %r9
sarq $61, %r8
addl %r9d, %r8d
movl %r8d, %r9d
shll $31, %r9d
addl %r8d, %r9d
addl %r9d, %ecx
shll $8, %edx
movsbl (%r14,%rdi), %r8d
addl %edx, %r8d
movslq %r8d, %rdx
movq %rdx, %r8
shlq $30, %r8
addq %rdx, %r8
movq %r8, %r9
shrq $63, %r9
sarq $61, %r8
addl %r9d, %r8d
movl %r8d, %r9d
shll $31, %r9d
addl %r8d, %r9d
addl %r9d, %edx
incq %rdi
cmpq %rdi, %rsi
jne LBB1_58
jmp LBB1_44
LBB1_43:
xorl %ecx, %ecx
xorl %edx, %edx
LBB1_44:
movl %ebx, %esi
subl %r10d, %esi
js LBB1_49
## %bb.45:
sarq $32, %r15
movl %esi, %esi
movl %ebx, %edi
subl %r10d, %edi
incl %edi
movq %r14, %r8
addq %r15, %r8
xorl %r9d, %r9d
jmp LBB1_46
.p2align 4, 0x90
LBB1_48: ## in Loop: Header=BB1_46 Depth=1
incq %r9
cmpq %r9, %rdi
je LBB1_49
LBB1_46: ## =>This Inner Loop Header: Depth=1
xorl %r10d, %r10d
cmpl %edx, %ecx
sete %r10b
movl %r10d, (%r13,%r9,4)
cmpq %rsi, %r9
jae LBB1_48
## %bb.47: ## in Loop: Header=BB1_46 Depth=1
movsbl (%r14,%r9), %r10d
imull %eax, %r10d
subl %r10d, %edx
shll $8, %edx
movsbl (%r8,%r9), %r10d
addl %edx, %r10d
movslq %r10d, %r10
movq %r10, %rdx
shlq $30, %rdx
addq %r10, %rdx
movq %rdx, %r11
shrq $63, %r11
sarq $61, %rdx
addl %r11d, %edx
movl %edx, %r11d
shll $31, %r11d
addl %edx, %r11d
leal (%r10,%r11), %edx
addl $2147483647, %edx ## imm = 0x7FFFFFFF
## kill: def $r10d killed $r10d killed $r10
addl %r11d, %r10d
cmovnsl %r10d, %edx
jmp LBB1_48
LBB1_49:
testl %ebx, %ebx
jle LBB1_54
## %bb.50:
movl %ebx, %r15d
leaq L_.str.1(%rip), %rbx
xorl %r14d, %r14d
jmp LBB1_51
.p2align 4, 0x90
LBB1_53: ## in Loop: Header=BB1_51 Depth=1
incq %r14
cmpq %r14, %r15
je LBB1_54
LBB1_51: ## =>This Inner Loop Header: Depth=1
cmpl $0, (%r13,%r14,4)
je LBB1_53
## %bb.52: ## in Loop: Header=BB1_51 Depth=1
movq %rbx, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _libmin_printf
jmp LBB1_53
LBB1_54:
callq _libmin_success
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _inp_pat ## @inp_pat
.p2align 4, 0x0
_inp_pat:
.asciz "NzZVOzZXNoGXMl8yxesyY"
.globl _inp_txt ## @inp_txt
.p2align 4, 0x0
_inp_txt:
.asciz "zJfMus2WzLnMr82T4bmuzKTNjcylzYfNiGjMssyBZc2PzZPMvMyXzJnMvMyjzZQgzYfMnMyxzKDNk82NzZVOzZXNoGXMl8yxesyYzJ3MnMy6zZlwzKTMusy5zY3Mr82aZcygzLvMoM2ccsyozKTNjcy6zJbNlMyWzJZkzKDMn8ytzKzMnc2facymzZbMqc2TzZTMpGHMoMyXzKzNicyZbs2azZwgzLvMnsywzZrNhWjMtc2JacyzzJ52zKLNh+G4mc2OzZ8t0onMrcypzLzNlG3MpMytzKtpzZXNh8ydzKZuzJfNmeG4jcyfIMyvzLLNlc2ex6vMn8yvzLDMss2ZzLvMnWYgzKrMsMywzJfMlsytzJjNmGPMps2NzLLMns2NzKnMmeG4pc2aYcyuzY7Mn8yZzZzGocypzLnNjnPMpC7MncydINKJWsyhzJbMnM2WzLDMo82JzJxhzqwerty42ZbMsM2ZzKzNoWzMssyrzLPNjcypZ8yhzJ/MvMyxzZrMnsyszYVvzJfNnC7Mnw==zKZIzKzMpMyXzKTNnWXNnCDMnMylzJ3Mu82NzJ/MgXfMlWjMlsyvzZNvzJ3NmcyWzY7MscyuINKJzLrMmcyezJ/NiFfMt8y8zK1hzLrMqs2NxK/NiM2VzK3NmcyvzJx0zLbMvMyuc8yYzZnNlsyVIMygnMyWIMywzYnMqc2HzZnMss2ezYVUzZbMvM2TzKrNomjNj82TzK7Mu2XMrMydzJ/NhSDMpMy5zJ1Xns2NzKnMmeG4pc2aYcyuzY7Mn8yZzZzGocypzLnNjnPMpC7MncydINKJWsyhzJbMnM2WzLDMo82JzJxhzqwerty42ZbMsM2ZzKzNoWzMssyrzLPNjcypZ8yhzJ/MvMyxzZrMnsyszYVvzJfNnC7Mnw==zKZIzKzMpMyXzKTNnWXNnCDMnMylzJ3Mu82NzJ/MgXfMlWjMlsyvzZNvzJ3NmcyWzY7MscyuINKJzLrMmcyezJ/NiFfMt8y8zK1hzLrMqs2NxK/NiM2VzK3NmcyvzJx0zLbMvMyuc8yYzZnNlsyVIMygnMyWIMywzYnMqc2HzZnMss2ezYVUzZbMvM2TzKrNomjNj82TzK7Mu2XMrMydzJ/NhSDMpMy5zJ1Xns2NzKnMmeG4pc2aYcyuzY7Mn8yZzZzGocypzLnNjnPMpC7MncydINKJWsyhzJbMnM2WzLDMo82JzJxhzqwerty42ZbMsM2ZzKzNoWzMssyrzLPNjcypZ8yhzJ/MvMyxzZrMnsyszYVvzJfNnC7Mnw==zKZIzKzMpMyXzKTNnWXNnCDMnMylzJ3Mu82NzJ/MgXfMlWjMlsyvzZNvzJ3NmcyWzY7MscyuINKJzLrMmcyezJ/NiFfMt8y8zK1hzLrMqs2NxK/NiM2VzK3NmcyvzJx0zLbMvMyuc8yYzZnNlsyVIMygnMyWIMywzYnMqc2HzZnMss2ezYVUzZbMvM2TzKrNomjNj82TzK7Mu2XMrMydzJ/NhSDMpMy5zJ1X"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "n = %d, m = %d\n"
L_.str.1: ## @.str.1
.asciz "pattern occurs at shift = %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _search ; -- Begin function search
.p2align 2
_search: ; @search
.cfi_startproc
; %bb.0:
mov w8, #1 ; =0x1
subs w9, w3, #1
b.le LBB0_2
LBB0_1: ; =>This Inner Loop Header: Depth=1
lsl w8, w8, #8
sxtw x10, w8
add x10, x10, x10, lsl #30
lsr x11, x10, #63
asr x10, x10, #61
add w10, w10, w11
add w10, w10, w10, lsl #31
add w8, w8, w10
subs w9, w9, #1
b.ne LBB0_1
LBB0_2:
cmp w3, #1
b.lt LBB0_6
; %bb.3:
mov w10, #0 ; =0x0
mov w9, #0 ; =0x0
mov x11, x0
mov w12, w3
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrsb w13, [x2], #1
add w9, w13, w9, lsl #8
sxtw x13, w9
add x13, x13, x13, lsl #30
lsr x14, x13, #63
asr x13, x13, #61
add w13, w13, w14
add w13, w13, w13, lsl #31
add w9, w9, w13
ldrsb w13, [x11], #1
add w10, w13, w10, lsl #8
sxtw x13, w10
add x13, x13, x13, lsl #30
lsr x14, x13, #63
asr x13, x13, #61
add w13, w13, w14
add w13, w13, w13, lsl #31
add w10, w10, w13
subs x12, x12, #1
b.ne LBB0_4
; %bb.5:
subs w11, w1, w3
b.pl LBB0_7
b LBB0_11
LBB0_6:
mov w9, #0 ; =0x0
mov w10, #0 ; =0x0
subs w11, w1, w3
b.mi LBB0_11
LBB0_7:
mov x12, #0 ; =0x0
add w13, w11, #1
mov w14, #2147483647 ; =0x7fffffff
add x15, x0, w3, sxtw
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
add x12, x12, #1
cmp x13, x12
b.eq LBB0_11
LBB0_9: ; =>This Inner Loop Header: Depth=1
cmp w9, w10
cset w16, eq
str w16, [x4, x12, lsl #2]
cmp x12, x11
b.hs LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
ldrsb w16, [x0, x12]
ldrsb w17, [x15, x12]
msub w10, w8, w16, w10
add w10, w17, w10, lsl #8
sxtw x16, w10
add x16, x16, x16, lsl #30
lsr x17, x16, #63
asr x16, x16, #61
add w16, w16, w17
add w16, w16, w16, lsl #31
add w10, w10, w16
add w16, w10, w14
cmp w10, #0
csel w10, w16, w10, lt
b LBB0_8
LBB0_11:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh0:
adrp x23, _inp_txt@PAGE
Lloh1:
add x23, x23, _inp_txt@PAGEOFF
mov x0, x23
bl _libmin_strlen
mov x19, x0
Lloh2:
adrp x22, _inp_pat@PAGE
Lloh3:
add x22, x22, _inp_pat@PAGEOFF
mov x0, x22
bl _libmin_strlen
mov x21, x0
stp x19, x0, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
lsl x24, x19, #32
mov x26, #4294967296 ; =0x100000000
add x8, x24, x26
asr x0, x8, #32
bl _libmin_malloc
mov x20, x0
cmp w19, #1
b.lt LBB1_5
; %bb.1:
mov x9, #0 ; =0x0
and x8, x19, #0xffffffff
cmp x8, #8
b.lo LBB1_13
; %bb.2:
sub x10, x20, x23
cmp x10, #64
b.lo LBB1_13
; %bb.3:
cmp x8, #64
b.hs LBB1_6
; %bb.4:
mov x9, #0 ; =0x0
b LBB1_10
LBB1_5:
mov x8, #0 ; =0x0
b LBB1_15
LBB1_6:
and x10, x19, #0x3f
sub x9, x8, x10
add x11, x20, #32
Lloh6:
adrp x12, _inp_txt@PAGE+32
Lloh7:
add x12, x12, _inp_txt@PAGEOFF+32
mov x13, x9
LBB1_7: ; =>This Inner Loop Header: Depth=1
ldp q0, q1, [x12, #-32]
ldp q2, q3, [x12], #64
stp q0, q1, [x11, #-32]
stp q2, q3, [x11], #64
subs x13, x13, #64
b.ne LBB1_7
; %bb.8:
cbz x10, LBB1_15
; %bb.9:
cmp x10, #8
b.lo LBB1_13
LBB1_10:
mov x13, x9
and x10, x19, #0x7
add x11, x23, x9
add x12, x20, x9
sub x9, x8, x10
add x13, x13, x10
sub x13, x13, x8
LBB1_11: ; =>This Inner Loop Header: Depth=1
ldr d0, [x11], #8
str d0, [x12], #8
adds x13, x13, #8
b.ne LBB1_11
; %bb.12:
cbz x10, LBB1_15
LBB1_13:
add x10, x20, x9
add x11, x23, x9
sub x9, x8, x9
LBB1_14: ; =>This Inner Loop Header: Depth=1
ldrb w12, [x11], #1
strb w12, [x10], #1
subs x9, x9, #1
b.ne LBB1_14
LBB1_15:
strb wzr, [x20, x8]
lsl x25, x21, #32
add x8, x25, x26
asr x0, x8, #32
bl _libmin_malloc
mov x23, x0
cmp w21, #1
b.lt LBB1_20
; %bb.16:
mov x9, #0 ; =0x0
and x8, x21, #0xffffffff
cmp x8, #8
b.lo LBB1_28
; %bb.17:
sub x10, x23, x22
cmp x10, #64
b.lo LBB1_28
; %bb.18:
cmp x8, #64
b.hs LBB1_21
; %bb.19:
mov x9, #0 ; =0x0
b LBB1_25
LBB1_20:
mov x8, #0 ; =0x0
b LBB1_30
LBB1_21:
and x10, x21, #0x3f
sub x9, x8, x10
add x11, x22, #32
add x12, x23, #32
mov x13, x9
LBB1_22: ; =>This Inner Loop Header: Depth=1
ldp q0, q1, [x11, #-32]
ldp q2, q3, [x11], #64
stp q0, q1, [x12, #-32]
stp q2, q3, [x12], #64
subs x13, x13, #64
b.ne LBB1_22
; %bb.23:
cbz x10, LBB1_30
; %bb.24:
cmp x10, #8
b.lo LBB1_28
LBB1_25:
mov x13, x9
and x10, x21, #0x7
add x11, x22, x9
add x12, x23, x9
sub x9, x8, x10
add x13, x13, x10
sub x13, x13, x8
LBB1_26: ; =>This Inner Loop Header: Depth=1
ldr d0, [x11], #8
str d0, [x12], #8
adds x13, x13, #8
b.ne LBB1_26
; %bb.27:
cbz x10, LBB1_30
LBB1_28:
add x10, x23, x9
add x11, x22, x9
sub x9, x8, x9
LBB1_29: ; =>This Inner Loop Header: Depth=1
ldrb w12, [x11], #1
strb w12, [x10], #1
subs x9, x9, #1
b.ne LBB1_29
LBB1_30:
strb wzr, [x20, x8]
asr x0, x24, #30
bl _libmin_malloc
mov x22, x0
cmp w19, #1
b.lt LBB1_32
; %bb.31:
ubfiz x1, x19, #2, #32
mov x0, x22
bl _bzero
LBB1_32:
mov w8, #1 ; =0x1
subs w9, w21, #1
b.le LBB1_34
LBB1_33: ; =>This Inner Loop Header: Depth=1
lsl w8, w8, #8
sxtw x10, w8
add x10, x10, x10, lsl #30
lsr x11, x10, #63
asr x10, x10, #61
add w10, w10, w11
add w10, w10, w10, lsl #31
add w8, w8, w10
subs w9, w9, #1
b.ne LBB1_33
LBB1_34:
cmp w21, #1
b.lt LBB1_38
; %bb.35:
mov w10, #0 ; =0x0
mov w9, #0 ; =0x0
and x11, x21, #0xffffffff
mov x12, x20
LBB1_36: ; =>This Inner Loop Header: Depth=1
ldrsb w13, [x23], #1
add w9, w13, w9, lsl #8
sxtw x13, w9
add x13, x13, x13, lsl #30
lsr x14, x13, #63
asr x13, x13, #61
add w13, w13, w14
add w13, w13, w13, lsl #31
add w9, w9, w13
ldrsb w13, [x12], #1
add w10, w13, w10, lsl #8
sxtw x13, w10
add x13, x13, x13, lsl #30
lsr x14, x13, #63
asr x13, x13, #61
add w13, w13, w14
add w13, w13, w13, lsl #31
add w10, w10, w13
subs x11, x11, #1
b.ne LBB1_36
; %bb.37:
subs w11, w19, w21
b.pl LBB1_39
b LBB1_43
LBB1_38:
mov w9, #0 ; =0x0
mov w10, #0 ; =0x0
subs w11, w19, w21
b.mi LBB1_43
LBB1_39:
mov x12, #0 ; =0x0
sub w13, w19, w21
add w13, w13, #1
add x14, x20, x25, asr #32
mov w15, #2147483647 ; =0x7fffffff
b LBB1_41
LBB1_40: ; in Loop: Header=BB1_41 Depth=1
add x12, x12, #1
cmp x13, x12
b.eq LBB1_43
LBB1_41: ; =>This Inner Loop Header: Depth=1
cmp w9, w10
cset w16, eq
str w16, [x22, x12, lsl #2]
cmp x12, x11
b.hs LBB1_40
; %bb.42: ; in Loop: Header=BB1_41 Depth=1
ldrsb w16, [x20, x12]
ldrsb w17, [x14, x12]
msub w10, w8, w16, w10
add w10, w17, w10, lsl #8
sxtw x16, w10
add x16, x16, x16, lsl #30
lsr x17, x16, #63
asr x16, x16, #61
add w16, w16, w17
add w16, w16, w16, lsl #31
add w10, w10, w16
add w16, w10, w15
cmp w10, #0
csel w10, w16, w10, lt
b LBB1_40
LBB1_43:
cmp w19, #1
b.lt LBB1_48
; %bb.44:
mov x20, #0 ; =0x0
and x21, x19, #0xffffffff
Lloh8:
adrp x19, l_.str.1@PAGE
Lloh9:
add x19, x19, l_.str.1@PAGEOFF
b LBB1_46
LBB1_45: ; in Loop: Header=BB1_46 Depth=1
add x20, x20, #1
cmp x21, x20
b.eq LBB1_48
LBB1_46: ; =>This Inner Loop Header: Depth=1
ldr w8, [x22, x20, lsl #2]
cbz w8, LBB1_45
; %bb.47: ; in Loop: Header=BB1_46 Depth=1
str x20, [sp]
mov x0, x19
bl _libmin_printf
b LBB1_45
LBB1_48:
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _inp_pat ; @inp_pat
_inp_pat:
.asciz "NzZVOzZXNoGXMl8yxesyY"
.globl _inp_txt ; @inp_txt
_inp_txt:
.asciz "zJfMus2WzLnMr82T4bmuzKTNjcylzYfNiGjMssyBZc2PzZPMvMyXzJnMvMyjzZQgzYfMnMyxzKDNk82NzZVOzZXNoGXMl8yxesyYzJ3MnMy6zZlwzKTMusy5zY3Mr82aZcygzLvMoM2ccsyozKTNjcy6zJbNlMyWzJZkzKDMn8ytzKzMnc2facymzZbMqc2TzZTMpGHMoMyXzKzNicyZbs2azZwgzLvMnsywzZrNhWjMtc2JacyzzJ52zKLNh+G4mc2OzZ8t0onMrcypzLzNlG3MpMytzKtpzZXNh8ydzKZuzJfNmeG4jcyfIMyvzLLNlc2ex6vMn8yvzLDMss2ZzLvMnWYgzKrMsMywzJfMlsytzJjNmGPMps2NzLLMns2NzKnMmeG4pc2aYcyuzY7Mn8yZzZzGocypzLnNjnPMpC7MncydINKJWsyhzJbMnM2WzLDMo82JzJxhzqwerty42ZbMsM2ZzKzNoWzMssyrzLPNjcypZ8yhzJ/MvMyxzZrMnsyszYVvzJfNnC7Mnw==zKZIzKzMpMyXzKTNnWXNnCDMnMylzJ3Mu82NzJ/MgXfMlWjMlsyvzZNvzJ3NmcyWzY7MscyuINKJzLrMmcyezJ/NiFfMt8y8zK1hzLrMqs2NxK/NiM2VzK3NmcyvzJx0zLbMvMyuc8yYzZnNlsyVIMygnMyWIMywzYnMqc2HzZnMss2ezYVUzZbMvM2TzKrNomjNj82TzK7Mu2XMrMydzJ/NhSDMpMy5zJ1Xns2NzKnMmeG4pc2aYcyuzY7Mn8yZzZzGocypzLnNjnPMpC7MncydINKJWsyhzJbMnM2WzLDMo82JzJxhzqwerty42ZbMsM2ZzKzNoWzMssyrzLPNjcypZ8yhzJ/MvMyxzZrMnsyszYVvzJfNnC7Mnw==zKZIzKzMpMyXzKTNnWXNnCDMnMylzJ3Mu82NzJ/MgXfMlWjMlsyvzZNvzJ3NmcyWzY7MscyuINKJzLrMmcyezJ/NiFfMt8y8zK1hzLrMqs2NxK/NiM2VzK3NmcyvzJx0zLbMvMyuc8yYzZnNlsyVIMygnMyWIMywzYnMqc2HzZnMss2ezYVUzZbMvM2TzKrNomjNj82TzK7Mu2XMrMydzJ/NhSDMpMy5zJ1Xns2NzKnMmeG4pc2aYcyuzY7Mn8yZzZzGocypzLnNjnPMpC7MncydINKJWsyhzJbMnM2WzLDMo82JzJxhzqwerty42ZbMsM2ZzKzNoWzMssyrzLPNjcypZ8yhzJ/MvMyxzZrMnsyszYVvzJfNnC7Mnw==zKZIzKzMpMyXzKTNnWXNnCDMnMylzJ3Mu82NzJ/MgXfMlWjMlsyvzZNvzJ3NmcyWzY7MscyuINKJzLrMmcyezJ/NiFfMt8y8zK1hzLrMqs2NxK/NiM2VzK3NmcyvzJx0zLbMvMyuc8yYzZnNlsyVIMygnMyWIMywzYnMqc2HzZnMss2ezYVUzZbMvM2TzKrNomjNj82TzK7Mu2XMrMydzJ/NhSDMpMy5zJ1X"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "n = %d, m = %d\n"
l_.str.1: ; @.str.1
.asciz "pattern occurs at shift = %d\n"
.subsections_via_symbols
|
max-subseq.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _lcsAlgo ## -- Begin function lcsAlgo
.p2align 4, 0x90
_lcsAlgo: ## @lcsAlgo
.cfi_startproc
## %bb.0:
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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq _m@GOTPCREL(%rip), %rax
movslq (%rax), %rbx
movl %ebx, %r15d
testq %rbx, %rbx
js LBB0_8
## %bb.1:
leaq 1(%r15), %rcx
movl %ecx, %eax
andl $3, %eax
cmpl $3, %ebx
jae LBB0_3
## %bb.2:
xorl %edx, %edx
jmp LBB0_5
LBB0_3:
andl $-4, %ecx
movq _LCS_table@GOTPCREL(%rip), %rsi
xorl %edx, %edx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl $0, (%rsi)
movl $0, 160(%rsi)
movl $0, 320(%rsi)
movl $0, 480(%rsi)
addq $4, %rdx
addq $640, %rsi ## imm = 0x280
cmpq %rdx, %rcx
jne LBB0_4
LBB0_5:
testq %rax, %rax
je LBB0_8
## %bb.6:
leaq (%rdx,%rdx,4), %rcx
shlq $5, %rcx
addq _LCS_table@GOTPCREL(%rip), %rcx
shlq $5, %rax
leaq (%rax,%rax,4), %rax
xorl %edx, %edx
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movl $0, (%rcx,%rdx)
addq $160, %rdx
cmpq %rdx, %rax
jne LBB0_7
LBB0_8:
movq _n@GOTPCREL(%rip), %rax
movslq (%rax), %r14
testq %r14, %r14
js LBB0_10
## %bb.9:
movl %r14d, %eax
leaq 4(,%rax,4), %rsi
movq _LCS_table@GOTPCREL(%rip), %rdi
callq ___bzero
LBB0_10:
testl %ebx, %ebx
jle LBB0_25
## %bb.11:
leal 1(%r14), %eax
incq %r15
movl $164, %ecx
addq _LCS_table@GOTPCREL(%rip), %rcx
leaq -1(%rax), %rdx
movl $1, %esi
leaq _S1(%rip), %rdi
leaq _S2(%rip), %r8
jmp LBB0_14
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_14 Depth=1
movl %eax, %r9d
LBB0_13: ## in Loop: Header=BB0_14 Depth=1
incq %rsi
addq $160, %rcx
cmpq %r15, %rsi
je LBB0_24
LBB0_14: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
testl %r14d, %r14d
jle LBB0_23
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movzbl -1(%rsi,%rdi), %r9d
xorl %r10d, %r10d
jmp LBB0_19
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_19 Depth=2
movl -164(%rcx,%r10,4), %r11d
incl %r11d
LBB0_17: ## in Loop: Header=BB0_19 Depth=2
movl %r11d, (%rcx,%r10,4)
LBB0_18: ## in Loop: Header=BB0_19 Depth=2
incq %r10
cmpq %r10, %rdx
je LBB0_12
LBB0_19: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
cmpb (%r10,%r8), %r9b
je LBB0_16
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movl -160(%rcx,%r10,4), %r11d
movl -4(%rcx,%r10,4), %r12d
cmpl %r12d, %r11d
jge LBB0_17
## %bb.21: ## in Loop: Header=BB0_19 Depth=2
movl %r12d, (%rcx,%r10,4)
jmp LBB0_18
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_14 Depth=1
movl $1, %r9d
jmp LBB0_13
LBB0_24:
movq _j@GOTPCREL(%rip), %rax
movl %r9d, (%rax)
jmp LBB0_26
LBB0_25:
movl $1, %r15d
LBB0_26:
movq _i@GOTPCREL(%rip), %rax
movl %r15d, (%rax)
leaq (%rbx,%rbx,4), %rax
shlq $5, %rax
addq _LCS_table@GOTPCREL(%rip), %rax
movslq (%rax,%r14,4), %r15
leal 1(%r15), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rsi
movb $0, (%rsi,%r15)
testl %ebx, %ebx
jle LBB0_35
## %bb.27:
testl %r14d, %r14d
jle LBB0_35
## %bb.28:
leaq _S1(%rip), %rax
leaq _S2(%rip), %rcx
movq _LCS_table@GOTPCREL(%rip), %rdx
jmp LBB0_29
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_29 Depth=1
movl %edi, %ebx
testl %ebx, %ebx
jle LBB0_35
LBB0_34: ## in Loop: Header=BB0_29 Depth=1
testl %r14d, %r14d
jle LBB0_35
LBB0_29: ## =>This Inner Loop Header: Depth=1
leal -1(%rbx), %edi
movzbl (%rdi,%rax), %r9d
leal -1(%r14), %r8d
cmpb (%r8,%rcx), %r9b
jne LBB0_31
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
movslq %r15d, %r15
movb %r9b, -1(%rsi,%r15)
decq %r15
movl %edi, %ebx
movl %r8d, %r14d
testl %ebx, %ebx
jg LBB0_34
jmp LBB0_35
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_29 Depth=1
movl %r14d, %r9d
leaq (%rdi,%rdi,4), %r10
shlq $5, %r10
addq %rdx, %r10
movl (%r10,%r9,4), %r9d
movl %ebx, %r10d
leaq (%r10,%r10,4), %r10
shlq $5, %r10
addq %rdx, %r10
cmpl (%r10,%r8,4), %r9d
jg LBB0_33
## %bb.32: ## in Loop: Header=BB0_29 Depth=1
movl %ebx, %edi
movl %r8d, %r14d
jmp LBB0_33
LBB0_35:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_37
## %bb.36:
leaq -32(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_37:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq _S1(%rip), %rbx
movq %rbx, %rdi
callq _libmin_strlen
movq _m@GOTPCREL(%rip), %r15
movl %eax, (%r15)
leaq _S2(%rip), %r14
movq %r14, %rdi
callq _libmin_strlen
movq _n@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl (%r15), %edx
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
movq %r14, %rcx
movl %eax, %r8d
xorl %eax, %eax
callq _libmin_printf
callq _lcsAlgo
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _S1 ## @S1
.p2align 4, 0x0
_S1:
.asciz "ACADBFEDSFSDFDSEFE\000"
.globl _S2 ## @S2
.p2align 4, 0x0
_S2:
.asciz "CBDAEFEFESAFEASDD\000\000"
.comm _i,4,2 ## @i
.comm _m,4,2 ## @m
.comm _LCS_table,6400,4 ## @LCS_table
.comm _n,4,2 ## @n
.comm _j,4,2 ## @j
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "LCS: %s"
L_.str.1: ## @.str.1
.asciz "S1 : %s (%d) \nS2 : %s (%d)\n"
L_.str.2: ## @.str.2
.asciz "\n"
.comm _b,1600,4 ## @b
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _lcsAlgo ; -- Begin function lcsAlgo
.p2align 2
_lcsAlgo: ; @lcsAlgo
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh3:
adrp x8, _m@GOTPAGE
Lloh4:
ldr x8, [x8, _m@GOTPAGEOFF]
Lloh5:
ldr w20, [x8]
Lloh6:
adrp x19, _LCS_table@GOTPAGE
Lloh7:
ldr x19, [x19, _LCS_table@GOTPAGEOFF]
tbnz w20, #31, LBB0_8
; %bb.1:
add x8, x20, #1
cmp w20, #3
b.hs LBB0_3
; %bb.2:
mov x9, #0 ; =0x0
b LBB0_6
LBB0_3:
and x9, x8, #0xfffffffc
Lloh8:
adrp x10, _LCS_table@GOTPAGE
Lloh9:
ldr x10, [x10, _LCS_table@GOTPAGEOFF]
mov x11, x9
LBB0_4: ; =>This Inner Loop Header: Depth=1
str wzr, [x10]
str wzr, [x10, #160]
str wzr, [x10, #320]
str wzr, [x10, #480]
add x10, x10, #640
subs x11, x11, #4
b.ne LBB0_4
; %bb.5:
cmp x9, x8
b.eq LBB0_8
LBB0_6:
mov w10, #160 ; =0xa0
umaddl x10, w9, w10, x19
sub x8, x8, x9
LBB0_7: ; =>This Inner Loop Header: Depth=1
str wzr, [x10], #160
subs x8, x8, #1
b.ne LBB0_7
LBB0_8:
sxtw x22, w20
Lloh10:
adrp x8, _n@GOTPAGE
Lloh11:
ldr x8, [x8, _n@GOTPAGEOFF]
Lloh12:
ldr w21, [x8]
tbnz w21, #31, LBB0_10
; %bb.9:
lsl x8, x21, #2
add x1, x8, #4
Lloh13:
adrp x0, _LCS_table@GOTPAGE
Lloh14:
ldr x0, [x0, _LCS_table@GOTPAGEOFF]
bl _bzero
LBB0_10:
sxtw x9, w21
Lloh15:
adrp x8, _S1@PAGE
Lloh16:
add x8, x8, _S1@PAGEOFF
cmp w20, #1
b.lt LBB0_24
; %bb.11:
add w11, w21, #1
add x10, x20, #1
add x12, x19, #164
sub x13, x11, #1
mov w14, #1 ; =0x1
Lloh17:
adrp x15, _S2@PAGE
Lloh18:
add x15, x15, _S2@PAGEOFF
b LBB0_14
LBB0_12: ; in Loop: Header=BB0_14 Depth=1
mov x16, x11
LBB0_13: ; in Loop: Header=BB0_14 Depth=1
add x14, x14, #1
add x12, x12, #160
cmp x14, x10
b.eq LBB0_23
LBB0_14: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
cmp w21, #1
b.lt LBB0_22
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
add x16, x14, x8
ldurb w16, [x16, #-1]
mov x17, x12
mov x0, x13
mov x1, x15
b LBB0_19
LBB0_16: ; in Loop: Header=BB0_19 Depth=2
ldur w2, [x17, #-164]
add w2, w2, #1
LBB0_17: ; in Loop: Header=BB0_19 Depth=2
str w2, [x17]
LBB0_18: ; in Loop: Header=BB0_19 Depth=2
add x17, x17, #4
subs x0, x0, #1
b.eq LBB0_12
LBB0_19: ; Parent Loop BB0_14 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w2, [x1], #1
cmp w16, w2
b.eq LBB0_16
; %bb.20: ; in Loop: Header=BB0_19 Depth=2
ldur w2, [x17, #-160]
ldur w3, [x17, #-4]
cmp w2, w3
b.ge LBB0_17
; %bb.21: ; in Loop: Header=BB0_19 Depth=2
str w3, [x17]
b LBB0_18
LBB0_22: ; in Loop: Header=BB0_14 Depth=1
mov w16, #1 ; =0x1
b LBB0_13
LBB0_23:
Lloh19:
adrp x11, _j@GOTPAGE
Lloh20:
ldr x11, [x11, _j@GOTPAGEOFF]
Lloh21:
str w16, [x11]
b LBB0_25
LBB0_24:
mov w10, #1 ; =0x1
LBB0_25:
Lloh22:
adrp x11, _i@GOTPAGE
Lloh23:
ldr x11, [x11, _i@GOTPAGEOFF]
Lloh24:
str w10, [x11]
mov w10, #160 ; =0xa0
smaddl x10, w22, w10, x19
ldrsw x13, [x10, x9, lsl #2]
mov x12, x13
add w9, w13, #1
add x10, x9, #15
and x14, x10, #0x1fffffff0
Lloh25:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh26:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x9, x9, x14
mov sp, x9
strb wzr, [x9, x13]
cmp w20, #1
b.lt LBB0_32
; %bb.26:
cmp w21, #1
b.lt LBB0_32
; %bb.27:
Lloh27:
adrp x10, _S2@PAGE
Lloh28:
add x10, x10, _S2@PAGEOFF
mov w11, #160 ; =0xa0
b LBB0_30
LBB0_28: ; in Loop: Header=BB0_30 Depth=1
umaddl x15, w13, w11, x19
ldr w15, [x15, w21, uxtw #2]
umaddl x16, w20, w11, x19
ldr w16, [x16, x14, lsl #2]
cmp w15, w16
csel w20, w13, w20, gt
csel w21, w21, w14, gt
LBB0_29: ; in Loop: Header=BB0_30 Depth=1
cmp w20, #1
ccmp w21, #0, #4, ge
b.le LBB0_32
LBB0_30: ; =>This Inner Loop Header: Depth=1
sub w13, w20, #1
ldrb w15, [x8, x13]
sub w14, w21, #1
ldrb w16, [x10, x14]
cmp w15, w16
b.ne LBB0_28
; %bb.31: ; in Loop: Header=BB0_30 Depth=1
sxtw x12, w12
sub x12, x12, #1
strb w15, [x9, x12]
; kill: def $w12 killed $w12 killed $x12 def $x12
mov x20, x13
mov x21, x14
b LBB0_29
LBB0_32:
str x9, [sp, #-16]!
Lloh29:
adrp x0, l_.str@PAGE
Lloh30:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
add sp, sp, #16
ldur x8, [x29, #-40]
Lloh31:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh32:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_34
; %bb.33:
sub sp, x29, #32
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_34:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotStr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGotStr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh29, Lloh30
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh34:
adrp x19, _S1@PAGE
Lloh35:
add x19, x19, _S1@PAGEOFF
mov x0, x19
bl _libmin_strlen
Lloh36:
adrp x21, _m@GOTPAGE
Lloh37:
ldr x21, [x21, _m@GOTPAGEOFF]
str w0, [x21]
Lloh38:
adrp x20, _S2@PAGE
Lloh39:
add x20, x20, _S2@PAGEOFF
mov x0, x20
bl _libmin_strlen
Lloh40:
adrp x8, _n@GOTPAGE
Lloh41:
ldr x8, [x8, _n@GOTPAGEOFF]
Lloh42:
str w0, [x8]
ldr w8, [x21]
stp x20, x0, [sp, #16]
stp x19, x8, [sp]
Lloh43:
adrp x0, l_.str.1@PAGE
Lloh44:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
bl _lcsAlgo
Lloh45:
adrp x0, l_.str.2@PAGE
Lloh46:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _S1 ; @S1
_S1:
.asciz "ACADBFEDSFSDFDSEFE\000"
.globl _S2 ; @S2
_S2:
.asciz "CBDAEFEFESAFEASDD\000\000"
.comm _i,4,2 ; @i
.comm _m,4,2 ; @m
.comm _LCS_table,6400,2 ; @LCS_table
.comm _n,4,2 ; @n
.comm _j,4,2 ; @j
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "LCS: %s"
l_.str.1: ; @.str.1
.asciz "S1 : %s (%d) \nS2 : %s (%d)\n"
l_.str.2: ; @.str.2
.asciz "\n"
.comm _b,1600,0 ; @b
.subsections_via_symbols
|
simple-grep.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.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 $520, %rsp ## imm = 0x208
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq _speech(%rip), %rbx
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _libmin_mopen
leaq -560(%rbp), %rdi
movl $511, %esi ## imm = 0x1FF
movq %rbx, %rdx
callq _libmin_mgets
testq %rax, %rax
je LBB0_1
## %bb.2:
leaq L_.str.2(%rip), %r14
leaq -560(%rbp), %r15
leaq _speech(%rip), %r12
leaq L_.str.6(%rip), %r13
xorl %ebx, %ebx
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movl $511, %esi ## imm = 0x1FF
movq %r15, %rdi
movq %r12, %rdx
callq _libmin_mgets
testq %rax, %rax
je LBB0_6
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r14, %rsi
callq _libmin_strstr
testq %rax, %rax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
incl %ebx
jmp LBB0_5
LBB0_1:
xorl %ebx, %ebx
LBB0_6:
leaq _speech(%rip), %rdi
callq _libmin_mclose
leaq L_.str.7(%rip), %rdi
leaq L_.str.2(%rip), %rdx
movl %ebx, %esi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_8
## %bb.7:
xorl %eax, %eax
addq $520, %rsp ## imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl ___speech ## @__speech
.p2align 4, 0x0
___speech:
.ascii "Kurt Vonnegut\nSpeech to Class of 1994: Syracuse University Commencement\nSunday, May 8th, 1994\nThere are three things that I very much want to say to the Class of 1994 in this brief hail and farewell. They are things which haven\342\200\231t been said enough to you freshly minted graduates nor to your parents or guardians, nor to me, nor to your teachers. I will say these in the body of my speech, I\342\200\231m just setting you up for this.\n\nFirst, I will say thank you. Second, I will say I am truly sorry - now that is the striking novelty among the three. We live in a time when nobody ever seems to apologize for anything; they just weep and raise hell on the Oprah Winfrey Show. The third thing I want to say to you at some point - probably close to the end - is, \"We love you.\" Now if I fail to say any of those three things in the body of this great speech, hold up your hands, and I will remedy the deficiency.\n\nAnd I\342\200\231m going to ask you to hold up your hands this early in the proceedings for another reason. I first declare to you that the most wonderful thing, the most valuable thing you can get from an education is this - the memory of one person who could really teach, whose lessons made life and yourselves much more interesting and full of possibilities than you had previously supposed possible. I ask this of everyone here, including all of us up here on the platform - How many of us, how many of you, had such a teacher? Kindergarten counts. Please hold up your hands. Hurry. You may want to remember the name of that great teacher.\n\nI thank you for being educated. There, I\342\200\231ve thanked you now; that way I don\342\200\231t have to speak to a bunch of nincompoops. For you freshly minted college graduates, this is a puberty ceremony long overdue. We, whose principal achievement is that we are older than you, have to acknowledge at last that you are grown-ups, too. there are old poops possibly among us on this very day who will say that you are not grown-ups until you have somehow survived, as they have, some famous calamity - The Great Depression, World War II, Vietnam, whatever. Storytellers are responsible for this destructive, not to say suicidal, myth. Again and again in stories, after some terrible mess, the character is able to say at last, \"Today, I am a woman; today I am a man. The end.\"\n\nWhen I got home from World War II, my Uncle Dan clapped me on the back, and he said, \"You\342\200\231re a man now.\" So I killed him. Not really, but I certainly felt like doing it.\n\nNow you young twerps want a new name for your generation? Probably not, you just want jobs, right? Well, the media do us all such tremendous favors when they call you Generation X, right? Two clicks from the very end of the alphabet. I hereby declare you Generation A, as much at the beginning of a series of astonishing triumphs and failures as Adam and Eve were so long ago.\n\nI apologize. I said I would apologize; I apologize now. I apologize because of the terrible mess the planet is in. But it has always been a mess. There have never been any \"Good Old Days,\" there have just been days. And as I say to my grandchildren, \"Don\342\200\231t look at me. I just got here myself.\"\n\nSo you know what I\342\200\231m going to do? I declare everybody here a member of Generation A. Tomorrow is another day for all of us.\n\nHaving said that, I have made us, for a few hours at least, what most of us do not have and what we need so desperately - I have made us an extended family, one for all and all for one. A husband, a wife and some kids is not a family; it\342\200\231s a terribly vulnerable survival unit. Now those of you who get married or are married, when you fight with your spouse, what each of you will be saying to the other one actually is, \"You\342\200\231re not enough people. You\342\200\231re only one person. I should have hundreds of people around.\"\n\nI met a man and a wife in Nigeria - Ibos. They just had a new baby. They had a thousand relatives there in southern Nigeria, and they were going to take that baby around and visit all the other relatives. We should all have families like that.\n\nNow, you take Dan and Marilyn Quayle, who imagine themselves as a brave, clean-cut little couple. They are surrounded by an enormous extended family, what we should all have - I mean judges, senators, newspaper editors, lawyers, bankers. They are not alone. And one reason they are so comfortable is that they are members of extended families, and I would really, over the long run, hope America would find some way to provide all of our citizens with extended families - a large group of people they could call on for help.\n\nNow, I\342\200\231ve made us an extended family. Does our family have a flag? Well, you bet. It\342\200\231s a big orange rectangle. Orange is a very good color and maybe the best one. It\342\200\231s full of vitamin C and cheerful associations, if one could forget the troubles in Ireland.\n\nNow this gathering is a work of art. The teacher whose name I mentioned when we all remembered good teachers asked me one time, \"What is it artists do?\" And I mumbled something. \"They do two things,\" he said. \"First, they admit they can\342\200\231t straighten out the whole universe. And then second, they make at least one little part of it exactly as it should be. A blob of clay, a square of canvas, a piece of paper, or whatever.\" We have all worked so hard and well to make these moments and this place exactly what it should be.\n\nAs I have told you, I had a bad uncle named Dan, who said a male can\342\200\231t be a man unless he\342\200\231d gone to war. But I had a good uncle named Alex, who said, when life was most agreeable - and it could be just a pitcher of lemonade in the shade - he would say, \"If this isn\342\200\231t nice, what is?\" So I say that about what we have achieved here right now. If he hadn\342\200\231t said that so regularly, maybe five or six times a month, we might not have paused to notice how rewarding life can be sometimes. Perhaps my good uncle Alex will live on in some of you members of the Syracuse Class of 1994 if, in the future, you will pause to say out loud every so often, \"If this isn\342\200\231t nice, what is?\"\n\nNow, my time is up and I haven\342\200\231t even inspired you with heroic tales of the past - Teddy Roosevelt\342\200\231s cavalry charge up San Juan Hill, Desert Storm - nor given you visions of a glorious future - computer programs, interactive TV, the information superhighway, speed the day. I spent too much time celebrating this very moment and place - once the future we dreamed of so long ago. This is it. We\342\200\231re here. How the heck did we do it?\n\nA neighbor of mine, I hired him - he was a handyman - to build and \"L\" on my house where I could write. He did the whole damn thing - he built the foundation, and then the side walls and the roof. He did it all by himself. And when it was all done, he stood back and he aid, \"How the hell did I ever do that?\" How the hell did we ever do this? We did it! And if this isn\342\200\231t nice, what is?\n\nI got a letter from a sappy woman a while back - she knew I was sappy too, which is to say a lifelong Democrat. She was pregnant, and she wanted to know if I thought it was a mistake to bring a little baby into a world as troubled as this one is. And I replied, what made being alive almost worthwhile for me was the saints I met. They could be almost anywhere. By saints I meant people who behaved decently and honorably in societies which were so often obscene. Perhaps many of us here, regardless of our ages or power or wealth, can be saints for her child to meet.\n\nThere was one thing I forgot to say, and I promised I would say, ant that is, \"We love you. We really do.\"\n"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "speech.txt"
.section __DATA,__data
.globl _speech ## @speech
.p2align 3, 0x0
_speech:
.quad L_.str
.quad 7577 ## 0x1d99
.quad ___speech
.long 0 ## 0x0
.space 4
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "the"
L_.str.4: ## @.str.4
.asciz "r"
L_.str.6: ## @.str.6
.asciz "%s"
L_.str.7: ## @.str.7
.asciz "INFO: found (at least) %d occurrences of the word `%s'.\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
sub sp, sp, #544
.cfi_def_cfa w29, 16
.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 w27, -72
.cfi_offset w28, -80
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh3:
adrp x19, _speech@PAGE
Lloh4:
add x19, x19, _speech@PAGEOFF
Lloh5:
adrp x1, l_.str.4@PAGE
Lloh6:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _libmin_mopen
add x24, sp, #24
add x0, sp, #24
mov w1, #511 ; =0x1ff
mov x2, x19
bl _libmin_mgets
Lloh7:
adrp x22, l_.str.2@PAGE
Lloh8:
add x22, x22, l_.str.2@PAGEOFF
mov w23, #0 ; =0x0
cbz x0, LBB0_5
; %bb.1:
Lloh9:
adrp x19, l_.str.2@PAGE
Lloh10:
add x19, x19, l_.str.2@PAGEOFF
Lloh11:
adrp x20, _speech@PAGE
Lloh12:
add x20, x20, _speech@PAGEOFF
Lloh13:
adrp x21, l_.str.6@PAGE
Lloh14:
add x21, x21, l_.str.6@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #24
mov w1, #511 ; =0x1ff
mov x2, x20
bl _libmin_mgets
cbz x0, LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x0, sp, #24
mov x1, x19
bl _libmin_strstr
cbz x0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
str x24, [sp]
mov x0, x21
bl _libmin_printf
add w23, w23, #1
b LBB0_2
LBB0_5:
Lloh15:
adrp x0, _speech@PAGE
Lloh16:
add x0, x0, _speech@PAGEOFF
bl _libmin_mclose
stp x23, x22, [sp]
Lloh17:
adrp x0, l_.str.7@PAGE
Lloh18:
add x0, x0, l_.str.7@PAGEOFF
bl _libmin_printf
bl _libmin_success
ldur x8, [x29, #-72]
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_7
; %bb.6:
mov w0, #0 ; =0x0
add sp, sp, #544
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 x28, x27, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_7:
bl ___stack_chk_fail
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl ___speech ; @__speech
___speech:
.ascii "Kurt Vonnegut\nSpeech to Class of 1994: Syracuse University Commencement\nSunday, May 8th, 1994\nThere are three things that I very much want to say to the Class of 1994 in this brief hail and farewell. They are things which haven\342\200\231t been said enough to you freshly minted graduates nor to your parents or guardians, nor to me, nor to your teachers. I will say these in the body of my speech, I\342\200\231m just setting you up for this.\n\nFirst, I will say thank you. Second, I will say I am truly sorry - now that is the striking novelty among the three. We live in a time when nobody ever seems to apologize for anything; they just weep and raise hell on the Oprah Winfrey Show. The third thing I want to say to you at some point - probably close to the end - is, \"We love you.\" Now if I fail to say any of those three things in the body of this great speech, hold up your hands, and I will remedy the deficiency.\n\nAnd I\342\200\231m going to ask you to hold up your hands this early in the proceedings for another reason. I first declare to you that the most wonderful thing, the most valuable thing you can get from an education is this - the memory of one person who could really teach, whose lessons made life and yourselves much more interesting and full of possibilities than you had previously supposed possible. I ask this of everyone here, including all of us up here on the platform - How many of us, how many of you, had such a teacher? Kindergarten counts. Please hold up your hands. Hurry. You may want to remember the name of that great teacher.\n\nI thank you for being educated. There, I\342\200\231ve thanked you now; that way I don\342\200\231t have to speak to a bunch of nincompoops. For you freshly minted college graduates, this is a puberty ceremony long overdue. We, whose principal achievement is that we are older than you, have to acknowledge at last that you are grown-ups, too. there are old poops possibly among us on this very day who will say that you are not grown-ups until you have somehow survived, as they have, some famous calamity - The Great Depression, World War II, Vietnam, whatever. Storytellers are responsible for this destructive, not to say suicidal, myth. Again and again in stories, after some terrible mess, the character is able to say at last, \"Today, I am a woman; today I am a man. The end.\"\n\nWhen I got home from World War II, my Uncle Dan clapped me on the back, and he said, \"You\342\200\231re a man now.\" So I killed him. Not really, but I certainly felt like doing it.\n\nNow you young twerps want a new name for your generation? Probably not, you just want jobs, right? Well, the media do us all such tremendous favors when they call you Generation X, right? Two clicks from the very end of the alphabet. I hereby declare you Generation A, as much at the beginning of a series of astonishing triumphs and failures as Adam and Eve were so long ago.\n\nI apologize. I said I would apologize; I apologize now. I apologize because of the terrible mess the planet is in. But it has always been a mess. There have never been any \"Good Old Days,\" there have just been days. And as I say to my grandchildren, \"Don\342\200\231t look at me. I just got here myself.\"\n\nSo you know what I\342\200\231m going to do? I declare everybody here a member of Generation A. Tomorrow is another day for all of us.\n\nHaving said that, I have made us, for a few hours at least, what most of us do not have and what we need so desperately - I have made us an extended family, one for all and all for one. A husband, a wife and some kids is not a family; it\342\200\231s a terribly vulnerable survival unit. Now those of you who get married or are married, when you fight with your spouse, what each of you will be saying to the other one actually is, \"You\342\200\231re not enough people. You\342\200\231re only one person. I should have hundreds of people around.\"\n\nI met a man and a wife in Nigeria - Ibos. They just had a new baby. They had a thousand relatives there in southern Nigeria, and they were going to take that baby around and visit all the other relatives. We should all have families like that.\n\nNow, you take Dan and Marilyn Quayle, who imagine themselves as a brave, clean-cut little couple. They are surrounded by an enormous extended family, what we should all have - I mean judges, senators, newspaper editors, lawyers, bankers. They are not alone. And one reason they are so comfortable is that they are members of extended families, and I would really, over the long run, hope America would find some way to provide all of our citizens with extended families - a large group of people they could call on for help.\n\nNow, I\342\200\231ve made us an extended family. Does our family have a flag? Well, you bet. It\342\200\231s a big orange rectangle. Orange is a very good color and maybe the best one. It\342\200\231s full of vitamin C and cheerful associations, if one could forget the troubles in Ireland.\n\nNow this gathering is a work of art. The teacher whose name I mentioned when we all remembered good teachers asked me one time, \"What is it artists do?\" And I mumbled something. \"They do two things,\" he said. \"First, they admit they can\342\200\231t straighten out the whole universe. And then second, they make at least one little part of it exactly as it should be. A blob of clay, a square of canvas, a piece of paper, or whatever.\" We have all worked so hard and well to make these moments and this place exactly what it should be.\n\nAs I have told you, I had a bad uncle named Dan, who said a male can\342\200\231t be a man unless he\342\200\231d gone to war. But I had a good uncle named Alex, who said, when life was most agreeable - and it could be just a pitcher of lemonade in the shade - he would say, \"If this isn\342\200\231t nice, what is?\" So I say that about what we have achieved here right now. If he hadn\342\200\231t said that so regularly, maybe five or six times a month, we might not have paused to notice how rewarding life can be sometimes. Perhaps my good uncle Alex will live on in some of you members of the Syracuse Class of 1994 if, in the future, you will pause to say out loud every so often, \"If this isn\342\200\231t nice, what is?\"\n\nNow, my time is up and I haven\342\200\231t even inspired you with heroic tales of the past - Teddy Roosevelt\342\200\231s cavalry charge up San Juan Hill, Desert Storm - nor given you visions of a glorious future - computer programs, interactive TV, the information superhighway, speed the day. I spent too much time celebrating this very moment and place - once the future we dreamed of so long ago. This is it. We\342\200\231re here. How the heck did we do it?\n\nA neighbor of mine, I hired him - he was a handyman - to build and \"L\" on my house where I could write. He did the whole damn thing - he built the foundation, and then the side walls and the roof. He did it all by himself. And when it was all done, he stood back and he aid, \"How the hell did I ever do that?\" How the hell did we ever do this? We did it! And if this isn\342\200\231t nice, what is?\n\nI got a letter from a sappy woman a while back - she knew I was sappy too, which is to say a lifelong Democrat. She was pregnant, and she wanted to know if I thought it was a mistake to bring a little baby into a world as troubled as this one is. And I replied, what made being alive almost worthwhile for me was the saints I met. They could be almost anywhere. By saints I meant people who behaved decently and honorably in societies which were so often obscene. Perhaps many of us here, regardless of our ages or power or wealth, can be saints for her child to meet.\n\nThere was one thing I forgot to say, and I promised I would say, ant that is, \"We love you. We really do.\"\n"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "speech.txt"
.section __DATA,__data
.globl _speech ; @speech
.p2align 3, 0x0
_speech:
.quad l_.str
.quad 7577 ; 0x1d99
.quad ___speech
.long 0 ; 0x0
.space 4
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "the"
l_.str.4: ; @.str.4
.asciz "r"
l_.str.6: ; @.str.6
.asciz "%s"
l_.str.7: ; @.str.7
.asciz "INFO: found (at least) %d occurrences of the word `%s'.\n"
.subsections_via_symbols
|
indirect-test.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
imull %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bar ## -- Begin function bar
.p2align 4, 0x90
_bar: ## @bar
.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 _aglobal(%rip), %edi
callq *%rax
movl %eax, %ecx
andl $7, %ecx
cmpl $4, %ecx
ja LBB1_7
## %bb.1:
leaq LJTI1_0(%rip), %rdx
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
LBB1_2:
incl %eax
jmp LBB1_8
LBB1_7:
negl %eax
jmp LBB1_8
LBB1_3:
decl %eax
jmp LBB1_8
LBB1_4:
addl %eax, %eax
jmp LBB1_8
LBB1_5:
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
sarl %ecx
movl %ecx, %eax
jmp LBB1_8
LBB1_6:
movl %eax, %ecx
shrl $31, %ecx
addl %eax, %ecx
andl $-2, %ecx
subl %ecx, %eax
LBB1_8:
movl %eax, _aglobal(%rip)
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_2, LBB1_2-LJTI1_0
.set L1_0_set_3, LBB1_3-LJTI1_0
.set L1_0_set_4, LBB1_4-LJTI1_0
.set L1_0_set_5, LBB1_5-LJTI1_0
.set L1_0_set_6, LBB1_6-LJTI1_0
LJTI1_0:
.long L1_0_set_2
.long L1_0_set_3
.long L1_0_set_4
.long L1_0_set_5
.long L1_0_set_6
.end_data_region
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq _foo(%rip), %rbx
movq %rbx, %rdi
callq *_pbar(%rip)
movq %rbx, %rdi
callq *_pbar(%rip)
movq %rbx, %rdi
callq *_pbar(%rip)
movl _aglobal(%rip), %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _aglobal ## @aglobal
.p2align 2, 0x0
_aglobal:
.long 56 ## 0x38
.globl _pbar ## @pbar
.p2align 3, 0x0
_pbar:
.quad _bar
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "aglobal = %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
mul w0, w0, w0
ret
.cfi_endproc
; -- End function
.globl _bar ; -- Begin function bar
.p2align 2
_bar: ; @bar
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x8, x0
adrp x19, _aglobal@PAGE
ldr w0, [x19, _aglobal@PAGEOFF]
blr x8
and w8, w0, #0x7
cmp w8, #4
b.hi LBB1_3
; %bb.1:
Lloh0:
adrp x9, lJTI1_0@PAGE
Lloh1:
add x9, x9, lJTI1_0@PAGEOFF
adr x10, LBB1_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB1_2:
add w8, w0, #1
b LBB1_8
LBB1_3:
neg w8, w0
b LBB1_8
LBB1_4:
sub w8, w0, #1
b LBB1_8
LBB1_5:
lsl w8, w0, #1
b LBB1_8
LBB1_6:
cmp w0, #0
cinc w8, w0, lt
asr w8, w8, #1
b LBB1_8
LBB1_7:
and w8, w0, #0x1
cmp w0, #0
cneg w8, w8, lt
LBB1_8:
str w8, [x19, _aglobal@PAGEOFF]
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
.section __TEXT,__const
lJTI1_0:
.byte (LBB1_2-LBB1_2)>>2
.byte (LBB1_4-LBB1_2)>>2
.byte (LBB1_5-LBB1_2)>>2
.byte (LBB1_6-LBB1_2)>>2
.byte (LBB1_7-LBB1_2)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
adrp x20, _pbar@PAGE
ldr x8, [x20, _pbar@PAGEOFF]
Lloh2:
adrp x19, _foo@PAGE
Lloh3:
add x19, x19, _foo@PAGEOFF
mov x0, x19
blr x8
ldr x8, [x20, _pbar@PAGEOFF]
mov x0, x19
blr x8
ldr x8, [x20, _pbar@PAGEOFF]
mov x0, x19
blr x8
Lloh4:
adrp x8, _aglobal@PAGE
Lloh5:
ldr w8, [x8, _aglobal@PAGEOFF]
str x8, [sp]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdr Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _aglobal ; @aglobal
.p2align 2, 0x0
_aglobal:
.long 56 ; 0x38
.globl _pbar ; @pbar
.p2align 3, 0x0
_pbar:
.quad _bar
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "aglobal = %d\n"
.subsections_via_symbols
|
graph-tests.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _createNode ## -- Begin function createNode
.p2align 4, 0x90
_createNode: ## @createNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
movl $16, %edi
callq _libmin_malloc
movl %ebx, (%rax)
movq $0, 8(%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _createGraph ## -- Begin function createGraph
.p2align 4, 0x90
_createGraph: ## @createGraph
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
movl $24, %edi
callq _libmin_malloc
movq %rax, %rbx
movl %r14d, (%rax)
movslq %r14d, %r15
leaq (,%r15,8), %rdi
callq _libmin_malloc
movq %rax, 8(%rbx)
leaq (,%r15,4), %rdi
callq _libmin_malloc
movq %rax, 16(%rbx)
testl %r15d, %r15d
jle LBB1_7
## %bb.1:
movl %r14d, %eax
cmpl $1, %r14d
jne LBB1_3
## %bb.2:
xorl %ecx, %ecx
jmp LBB1_5
LBB1_3:
movl %eax, %edx
andl $-2, %edx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rsi
movq $0, (%rsi,%rcx,8)
movq 16(%rbx), %rsi
movl $0, (%rsi,%rcx,4)
movq 8(%rbx), %rsi
movq $0, 8(%rsi,%rcx,8)
movq 16(%rbx), %rsi
movl $0, 4(%rsi,%rcx,4)
addq $2, %rcx
cmpq %rcx, %rdx
jne LBB1_4
LBB1_5:
testb $1, %al
je LBB1_7
## %bb.6:
movq 8(%rbx), %rax
movq $0, (%rax,%rcx,8)
movq 16(%rbx), %rax
movl $0, (%rax,%rcx,4)
LBB1_7:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addEdge ## -- Begin function addEdge
.p2align 4, 0x90
_addEdge: ## @addEdge
.cfi_startproc
## %bb.0:
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
movl $16, %edi
callq _libmin_malloc
movl %ebx, (%rax)
movq $0, 8(%rax)
movq 8(%r15), %rcx
movslq %r14d, %r14
movq (%rcx,%r14,8), %rdx
movq %rdx, 8(%rax)
movq %rax, (%rcx,%r14,8)
movl $16, %edi
callq _libmin_malloc
movl %r14d, (%rax)
movq $0, 8(%rax)
movq 8(%r15), %rcx
movslq %ebx, %rdx
movq (%rcx,%rdx,8), %rsi
movq %rsi, 8(%rax)
movq %rax, (%rcx,%rdx,8)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _createQueue ## -- Begin function createQueue
.p2align 4, 0x90
_createQueue: ## @createQueue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $168, %edi
callq _libmin_malloc
movq $-1, 160(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isEmpty ## -- Begin function isEmpty
.p2align 4, 0x90
_isEmpty: ## @isEmpty
.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
cmpl $-1, 164(%rdi)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _enqueue ## -- Begin function enqueue
.p2align 4, 0x90
_enqueue: ## @enqueue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq 164(%rdi), %rax
cmpq $39, %rax
jne LBB5_1
## %bb.4:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _libmin_printf ## TAILCALL
LBB5_1:
cmpl $-1, 160(%rdi)
jne LBB5_3
## %bb.2:
movl $0, 160(%rdi)
LBB5_3:
leaq 1(%rax), %rcx
movl %ecx, 164(%rdi)
movl %esi, 4(%rdi,%rax,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dequeue ## -- Begin function dequeue
.p2align 4, 0x90
_dequeue: ## @dequeue
.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 164(%rdi), %eax
cmpl $-1, %eax
je LBB6_1
## %bb.2:
movq %rdi, %r14
movslq 160(%rdi), %rcx
movl (%rdi,%rcx,4), %ebx
leal 1(%rcx), %edx
movl %edx, 160(%rdi)
cmpl %eax, %ecx
jl LBB6_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq $-1, 160(%r14)
jmp LBB6_4
LBB6_1:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %ebx
LBB6_4:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printQueue ## -- Begin function printQueue
.p2align 4, 0x90
_printQueue: ## @printQueue
.cfi_startproc
## %bb.0:
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
cmpl $-1, 164(%rdi)
je LBB7_1
## %bb.2:
movq %rdi, %rbx
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 160(%rbx), %r12
leaq L_.str.5(%rip), %r14
cmpl 164(%rbx), %r12d
jg LBB7_5
## %bb.3:
decq %r12
leaq L_.str.4(%rip), %r15
.p2align 4, 0x90
LBB7_4: ## =>This Inner Loop Header: Depth=1
movl 4(%rbx,%r12,4), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 164(%rbx), %rax
incq %r12
cmpq %rax, %r12
jl LBB7_4
jmp LBB7_5
LBB7_1:
leaq L_.str.1(%rip), %r14
LBB7_5:
movq %r14, %rdi
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _bfs ## -- Begin function bfs
.p2align 4, 0x90
_bfs: ## @bfs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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, %rbx
movl $168, %edi
callq _libmin_malloc
movq %rax, %r14
movq $-1, 160(%rax)
movq 16(%rbx), %rax
movslq %r15d, %rcx
movl $1, (%rax,%rcx,4)
movslq 164(%r14), %rax
cmpq $39, %rax
jne LBB8_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
cmpl $-1, 164(%r14)
jne LBB8_6
jmp LBB8_24
LBB8_2:
cmpl $-1, 160(%r14)
jne LBB8_4
## %bb.3:
movl $0, 160(%r14)
LBB8_4:
leaq 1(%rax), %rcx
movl %ecx, 164(%r14)
movl %r15d, 4(%r14,%rax,4)
cmpl $-1, 164(%r14)
je LBB8_24
LBB8_6:
leaq L_.str(%rip), %r15
leaq L_.str.4(%rip), %r12
jmp LBB8_8
.p2align 4, 0x90
LBB8_7: ## in Loop: Header=BB8_8 Depth=1
cmpl $-1, 164(%r14)
je LBB8_24
LBB8_8: ## =>This Loop Header: Depth=1
## Child Loop BB8_10 Depth 2
## Child Loop BB8_23 Depth 2
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 160(%r14), %r13
cmpl 164(%r14), %r13d
jg LBB8_11
## %bb.9: ## in Loop: Header=BB8_8 Depth=1
decq %r13
.p2align 4, 0x90
LBB8_10: ## Parent Loop BB8_8 Depth=1
## => This Inner Loop Header: Depth=2
movl 4(%r14,%r13,4), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 164(%r14), %rax
incq %r13
cmpq %rax, %r13
jl LBB8_10
LBB8_11: ## in Loop: Header=BB8_8 Depth=1
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl 164(%r14), %eax
cmpl $-1, %eax
je LBB8_12
## %bb.13: ## in Loop: Header=BB8_8 Depth=1
movslq 160(%r14), %rcx
movl (%r14,%rcx,4), %r13d
leal 1(%rcx), %edx
movl %edx, 160(%r14)
cmpl %eax, %ecx
jl LBB8_15
## %bb.14: ## in Loop: Header=BB8_8 Depth=1
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq $-1, 160(%r14)
jmp LBB8_15
.p2align 4, 0x90
LBB8_12: ## in Loop: Header=BB8_8 Depth=1
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %r13d
LBB8_15: ## in Loop: Header=BB8_8 Depth=1
leaq L_.str.6(%rip), %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _libmin_printf
movq 8(%rbx), %rax
movslq %r13d, %rcx
movq (%rax,%rcx,8), %r13
jmp LBB8_23
LBB8_18: ## in Loop: Header=BB8_23 Depth=2
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
.p2align 4, 0x90
LBB8_22: ## in Loop: Header=BB8_23 Depth=2
movq 8(%r13), %r13
LBB8_23: ## Parent Loop BB8_8 Depth=1
## => This Inner Loop Header: Depth=2
testq %r13, %r13
je LBB8_7
## %bb.16: ## in Loop: Header=BB8_23 Depth=2
movl (%r13), %eax
movq 16(%rbx), %rcx
movslq %eax, %rdx
cmpl $0, (%rcx,%rdx,4)
jne LBB8_22
## %bb.17: ## in Loop: Header=BB8_23 Depth=2
movl $1, (%rcx,%rdx,4)
movslq 164(%r14), %rcx
cmpq $39, %rcx
je LBB8_18
## %bb.19: ## in Loop: Header=BB8_23 Depth=2
cmpl $-1, 160(%r14)
jne LBB8_21
## %bb.20: ## in Loop: Header=BB8_23 Depth=2
movl $0, 160(%r14)
LBB8_21: ## in Loop: Header=BB8_23 Depth=2
leaq 1(%rcx), %rdx
movl %edx, 164(%r14)
movl %eax, 4(%r14,%rcx,4)
jmp LBB8_22
LBB8_24:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bfs_test ## -- Begin function bfs_test
.p2align 4, 0x90
_bfs_test: ## @bfs_test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl $24, %edi
callq _libmin_malloc
movq %rax, %rbx
movl $6, (%rax)
movl $48, %edi
callq _libmin_malloc
movq %rax, 8(%rbx)
movl $24, %edi
callq _libmin_malloc
movq %rax, 16(%rbx)
movq 8(%rbx), %rax
movq $0, (%rax)
movq 16(%rbx), %rax
movl $0, (%rax)
movq 8(%rbx), %rax
movq $0, 8(%rax)
movq 16(%rbx), %rax
movl $0, 4(%rax)
movq 8(%rbx), %rax
movq $0, 16(%rax)
movq 16(%rbx), %rax
movl $0, 8(%rax)
movq 8(%rbx), %rax
movq $0, 24(%rax)
movq 16(%rbx), %rax
movl $0, 12(%rax)
movq 8(%rbx), %rax
movq $0, 32(%rax)
movq 16(%rbx), %rax
movl $0, 16(%rax)
movq 8(%rbx), %rax
movq $0, 40(%rax)
movq 16(%rbx), %rax
movl $0, 20(%rax)
movl $16, %edi
callq _libmin_malloc
movl $1, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq (%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, (%rcx)
movl $16, %edi
callq _libmin_malloc
movl $0, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 8(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 8(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $2, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq (%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, (%rcx)
movl $16, %edi
callq _libmin_malloc
movl $0, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 16(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 16(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $2, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 8(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 8(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $1, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 16(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 16(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $4, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 8(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 8(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $1, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 32(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 32(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $3, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 8(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 8(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $1, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 24(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 24(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $4, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 16(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 16(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $2, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 32(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 32(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $4, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 24(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 24(%rcx)
movl $16, %edi
callq _libmin_malloc
movl $3, (%rax)
movq $0, 8(%rax)
movq 8(%rbx), %rcx
movq 32(%rcx), %rdx
movq %rdx, 8(%rax)
movq %rax, 32(%rcx)
movq %rbx, %rdi
xorl %esi, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _bfs ## TAILCALL
.cfi_endproc
## -- End function
.globl _insertAtTheBegin ## -- Begin function insertAtTheBegin
.p2align 4, 0x90
_insertAtTheBegin: ## @insertAtTheBegin
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movq %rdi, %r14
movl $16, %edi
callq _libmin_malloc
movl %ebx, (%rax)
movq (%r14), %rcx
movq %rcx, 8(%rax)
movq %rax, (%r14)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
movl (%rsi), %ecx
movl %ecx, (%rdi)
movl %eax, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bubbleSort ## -- Begin function bubbleSort
.p2align 4, 0x90
_bubbleSort: ## @bubbleSort
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB12_10
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdi), %rax
xorl %ecx, %ecx
jmp LBB12_2
.p2align 4, 0x90
LBB12_8: ## in Loop: Header=BB12_2 Depth=1
movq %r8, %rcx
testl %esi, %esi
je LBB12_9
LBB12_2: ## =>This Loop Header: Depth=1
## Child Loop BB12_4 Depth 2
cmpq %rcx, %rax
je LBB12_9
## %bb.3: ## in Loop: Header=BB12_2 Depth=1
movl (%rdi), %edx
xorl %esi, %esi
movq %rax, %r10
movq %rdi, %r9
jmp LBB12_4
.p2align 4, 0x90
LBB12_6: ## in Loop: Header=BB12_4 Depth=2
movl %r10d, (%r9)
movl %edx, (%r8)
movl $1, %esi
LBB12_7: ## in Loop: Header=BB12_4 Depth=2
movq 8(%r8), %r10
movq %r8, %r9
cmpq %rcx, %r10
je LBB12_8
LBB12_4: ## Parent Loop BB12_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r10, %r8
movl (%r10), %r10d
cmpl %r10d, %edx
jg LBB12_6
## %bb.5: ## in Loop: Header=BB12_4 Depth=2
movl %r10d, %edx
jmp LBB12_7
LBB12_9:
popq %rbp
LBB12_10:
retq
.cfi_endproc
## -- End function
.globl _link_list ## -- Begin function link_list
.p2align 4, 0x90
_link_list: ## @link_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $16, %edi
callq _libmin_malloc
movq %rax, %rbx
movl $12, (%rax)
movq $0, 8(%rax)
movl $16, %edi
callq _libmin_malloc
movq %rax, %r14
movl $56, (%rax)
movq %rbx, 8(%rax)
movl $16, %edi
callq _libmin_malloc
movq %rax, %rbx
movl $2, (%rax)
movq %r14, 8(%rax)
movl $16, %edi
callq _libmin_malloc
movq %rax, %r14
movl $11, (%rax)
movq %rbx, 8(%rax)
movl $16, %edi
callq _libmin_malloc
movq %rax, %rbx
movl $1, (%rax)
movq %r14, 8(%rax)
movl $16, %edi
callq _libmin_malloc
movl $90, (%rax)
movq %rbx, 8(%rax)
xorl %ecx, %ecx
jmp LBB13_1
.p2align 4, 0x90
LBB13_7: ## in Loop: Header=BB13_1 Depth=1
movq %rdi, %rcx
testl %esi, %esi
je LBB13_8
LBB13_1: ## =>This Loop Header: Depth=1
## Child Loop BB13_3 Depth 2
cmpq %rcx, %rbx
je LBB13_8
## %bb.2: ## in Loop: Header=BB13_1 Depth=1
movl (%rax), %edx
xorl %esi, %esi
movq %rbx, %r9
movq %rax, %r8
jmp LBB13_3
.p2align 4, 0x90
LBB13_5: ## in Loop: Header=BB13_3 Depth=2
movl %r9d, (%r8)
movl %edx, (%rdi)
movl $1, %esi
LBB13_6: ## in Loop: Header=BB13_3 Depth=2
movq 8(%rdi), %r9
movq %rdi, %r8
cmpq %rcx, %r9
je LBB13_7
LBB13_3: ## Parent Loop BB13_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %r9, %rdi
movl (%r9), %r9d
cmpl %r9d, %edx
jg LBB13_5
## %bb.4: ## in Loop: Header=BB13_3 Depth=2
movl %r9d, %edx
jmp LBB13_6
LBB13_8:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _push ## -- Begin function push
.p2align 4, 0x90
_push: ## @push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq _top(%rip), %rax
leaq 1(%rax), %rcx
movl %ecx, _top(%rip)
movq _stack@GOTPCREL(%rip), %rcx
movl %edi, 4(%rcx,%rax,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pop ## -- Begin function pop
.p2align 4, 0x90
_pop: ## @pop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq _top(%rip), %rax
leal -1(%rax), %ecx
movl %ecx, _top(%rip)
movq _stack@GOTPCREL(%rip), %rcx
movl (%rcx,%rax,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _peek ## -- Begin function peek
.p2align 4, 0x90
_peek: ## @peek
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq _top(%rip), %rax
movq _stack@GOTPCREL(%rip), %rcx
movl (%rcx,%rax,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isStackEmpty ## -- Begin function isStackEmpty
.p2align 4, 0x90
_isStackEmpty: ## @isStackEmpty
.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
cmpl $-1, _top(%rip)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addVertex ## -- Begin function addVertex
.p2align 4, 0x90
_addVertex: ## @addVertex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $4, %edi
callq _libmin_malloc
movl $0, (%rax)
movslq _vertexCount(%rip), %rcx
leal 1(%rcx), %edx
movl %edx, _vertexCount(%rip)
movq _lstVertices@GOTPCREL(%rip), %rdx
movq %rax, (%rdx,%rcx,8)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addEdge_DFS ## -- Begin function addEdge_DFS
.p2align 4, 0x90
_addEdge_DFS: ## @addEdge_DFS
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %edi, %rax
movslq %esi, %rcx
leaq (%rax,%rax,4), %rdx
movq _adjMatrix@GOTPCREL(%rip), %rsi
leaq (%rsi,%rdx,4), %rdx
movl $1, (%rdx,%rcx,4)
leaq (%rcx,%rcx,4), %rcx
leaq (%rsi,%rcx,4), %rcx
movl $1, (%rcx,%rax,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getAdjUnvisitedVertex ## -- Begin function getAdjUnvisitedVertex
.p2align 4, 0x90
_getAdjUnvisitedVertex: ## @getAdjUnvisitedVertex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl _vertexCount(%rip), %ecx
movl $-1, %eax
testl %ecx, %ecx
jle LBB20_6
## %bb.1:
movslq %edi, %rdx
leaq (%rdx,%rdx,4), %rdx
shlq $2, %rdx
addq _adjMatrix@GOTPCREL(%rip), %rdx
xorl %esi, %esi
movq _lstVertices@GOTPCREL(%rip), %rdi
jmp LBB20_2
.p2align 4, 0x90
LBB20_4: ## in Loop: Header=BB20_2 Depth=1
incq %rsi
cmpq %rsi, %rcx
je LBB20_6
LBB20_2: ## =>This Inner Loop Header: Depth=1
cmpl $1, (%rdx,%rsi,4)
jne LBB20_4
## %bb.3: ## in Loop: Header=BB20_2 Depth=1
movq (%rdi,%rsi,8), %r8
cmpl $0, (%r8)
jne LBB20_4
## %bb.5:
movl %esi, %eax
LBB20_6:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _depthFirstSearch ## -- Begin function depthFirstSearch
.p2align 4, 0x90
_depthFirstSearch: ## @depthFirstSearch
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _lstVertices@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movl $1, (%rcx)
movslq _top(%rip), %rsi
leaq 1(%rsi), %rdx
movl %edx, _top(%rip)
movq _stack@GOTPCREL(%rip), %rcx
movl $0, 4(%rcx,%rsi,4)
movl _vertexCount(%rip), %edi
cmpl $-1, %edx
je LBB21_7
## %bb.1:
movq _adjMatrix@GOTPCREL(%rip), %rsi
jmp LBB21_2
.p2align 4, 0x90
LBB21_12: ## in Loop: Header=BB21_2 Depth=1
decl %edx
movl %edx, _top(%rip)
LBB21_14: ## in Loop: Header=BB21_2 Depth=1
cmpl $-1, %edx
je LBB21_7
LBB21_2: ## =>This Loop Header: Depth=1
## Child Loop BB21_4 Depth 2
testl %edi, %edi
jle LBB21_12
## %bb.3: ## in Loop: Header=BB21_2 Depth=1
movslq %edx, %r8
movslq (%rcx,%r8,4), %r8
movl %edi, %r9d
leaq (%r8,%r8,4), %r10
shlq $2, %r10
addq %rsi, %r10
xorl %r8d, %r8d
jmp LBB21_4
.p2align 4, 0x90
LBB21_6: ## in Loop: Header=BB21_4 Depth=2
incq %r8
cmpq %r8, %r9
je LBB21_12
LBB21_4: ## Parent Loop BB21_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $1, (%r10,%r8,4)
jne LBB21_6
## %bb.5: ## in Loop: Header=BB21_4 Depth=2
movq (%rax,%r8,8), %r11
cmpl $0, (%r11)
jne LBB21_6
## %bb.11: ## in Loop: Header=BB21_2 Depth=1
cmpl $-1, %r8d
je LBB21_12
## %bb.13: ## in Loop: Header=BB21_2 Depth=1
movq (%rax,%r8,8), %rdx
movl $1, (%rdx)
movslq _top(%rip), %rdi
leaq 1(%rdi), %rdx
movl %edx, _top(%rip)
movl %r8d, 4(%rcx,%rdi,4)
movl _vertexCount(%rip), %edi
jmp LBB21_14
LBB21_7:
testl %edi, %edi
jle LBB21_10
## %bb.8:
xorl %ecx, %ecx
.p2align 4, 0x90
LBB21_9: ## =>This Inner Loop Header: Depth=1
movq (%rax,%rcx,8), %rdx
movl $0, (%rdx)
incq %rcx
movslq _vertexCount(%rip), %rdx
cmpq %rdx, %rcx
jl LBB21_9
LBB21_10:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _DFS_test ## -- Begin function DFS_test
.p2align 4, 0x90
_DFS_test: ## @DFS_test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
xorps %xmm0, %xmm0
movq _adjMatrix@GOTPCREL(%rip), %rbx
movaps %xmm0, 80(%rbx)
movaps %xmm0, 64(%rbx)
movaps %xmm0, 48(%rbx)
movaps %xmm0, 32(%rbx)
movaps %xmm0, 16(%rbx)
movaps %xmm0, (%rbx)
movl $0, 96(%rbx)
movl $4, %edi
callq _libmin_malloc
movl $0, (%rax)
movslq _vertexCount(%rip), %rcx
leal 1(%rcx), %edx
movl %edx, _vertexCount(%rip)
movq _lstVertices@GOTPCREL(%rip), %r14
movq %rax, (%r14,%rcx,8)
movl $4, %edi
callq _libmin_malloc
movl $0, (%rax)
movslq _vertexCount(%rip), %rcx
leal 1(%rcx), %edx
movl %edx, _vertexCount(%rip)
movq %rax, (%r14,%rcx,8)
movl $4, %edi
callq _libmin_malloc
movl $0, (%rax)
movslq _vertexCount(%rip), %rcx
leal 1(%rcx), %edx
movl %edx, _vertexCount(%rip)
movq %rax, (%r14,%rcx,8)
movl $4, %edi
callq _libmin_malloc
movl $0, (%rax)
movslq _vertexCount(%rip), %rcx
leal 1(%rcx), %edx
movl %edx, _vertexCount(%rip)
movq %rax, (%r14,%rcx,8)
movl $4, %edi
callq _libmin_malloc
movl $0, (%rax)
movslq _vertexCount(%rip), %rcx
leal 1(%rcx), %edx
movl %edx, _vertexCount(%rip)
movq %rax, (%r14,%rcx,8)
movl $1, 4(%rbx)
movl $1, 20(%rbx)
movabsq $4294967297, %rax ## imm = 0x100000001
movq %rax, 8(%rbx)
movq %rax, 36(%rbx)
movl $1, 84(%rbx)
movq %rax, 56(%rbx)
movq %rax, 88(%rbx)
movl $1, 76(%rbx)
popq %rbx
popq %r14
popq %rbp
jmp _depthFirstSearch ## TAILCALL
.cfi_endproc
## -- End function
.globl _towers ## -- Begin function towers
.p2align 4, 0x90
_towers: ## @towers
.cfi_startproc
## %bb.0:
cmpl $1, %edi
je LBB23_4
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movl %edi, %r14d
decl %r14d
movsbl %dl, %r15d
.p2align 4, 0x90
LBB23_2: ## =>This Inner Loop Header: Depth=1
movl %ecx, %r12d
movsbl %bl, %esi
movsbl %cl, %edx
movl %r14d, %edi
movl %r15d, %ecx
callq _towers
movl %ebx, %ecx
movl %r12d, %ebx
decl %r14d
jne LBB23_2
## %bb.3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
LBB23_4:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.globl _towers_test ## -- Begin function towers_test
.p2align 4, 0x90
_towers_test: ## @towers_test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $5, %edi
movl $65, %esi
movl $67, %edx
movl $66, %ecx
popq %rbp
jmp _towers ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _bfs_test
callq _link_list
callq _DFS_test
movl $5, %edi
movl $65, %esi
movl $67, %edx
movl $66, %ecx
callq _towers
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Queue is Full!!\n"
L_.str.1: ## @.str.1
.asciz "Queue is empty\n"
L_.str.2: ## @.str.2
.asciz "Resetting queue...\n"
L_.str.3: ## @.str.3
.asciz "Queue contains: "
L_.str.4: ## @.str.4
.asciz "%d "
L_.str.5: ## @.str.5
.asciz "\n"
L_.str.6: ## @.str.6
.asciz "Visited %d\n"
.section __DATA,__data
.globl _top ## @top
.p2align 2, 0x0
_top:
.long 4294967295 ## 0xffffffff
.globl _vertexCount ## @vertexCount
.zerofill __DATA,__common,_vertexCount,4,2
.comm _stack,20,4 ## @stack
.comm _lstVertices,40,4 ## @lstVertices
.comm _adjMatrix,100,4 ## @adjMatrix
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _createNode ; -- Begin function createNode
.p2align 2
_createNode: ; @createNode
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #16 ; =0x10
bl _libmin_malloc
str w19, [x0]
str xzr, [x0, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _createGraph ; -- Begin function createGraph
.p2align 2
_createGraph: ; @createGraph
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
mov w0, #24 ; =0x18
bl _libmin_malloc
mov x19, x0
str w20, [x0]
sbfiz x0, x20, #3, #32
bl _libmin_malloc
str x0, [x19, #8]
sbfiz x0, x20, #2, #32
bl _libmin_malloc
str x0, [x19, #16]
cmp w20, #1
b.lt LBB1_3
; %bb.1:
mov x8, #0 ; =0x0
mov w9, w20
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldr x10, [x19, #8]
str xzr, [x10, x8, lsl #3]
ldr x10, [x19, #16]
str wzr, [x10, x8, lsl #2]
add x8, x8, #1
cmp x9, x8
b.ne LBB1_2
LBB1_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _addEdge ; -- Begin function addEdge
.p2align 2
_addEdge: ; @addEdge
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
mov w0, #16 ; =0x10
bl _libmin_malloc
str w19, [x0]
str xzr, [x0, #8]
ldr x8, [x21, #8]
sbfiz x9, x20, #3, #32
ldr x10, [x8, x9]
str x10, [x0, #8]
str x0, [x8, x9]
mov w0, #16 ; =0x10
bl _libmin_malloc
str w20, [x0]
str xzr, [x0, #8]
ldr x8, [x21, #8]
sbfiz x9, x19, #3, #32
ldr x10, [x8, x9]
str x10, [x0, #8]
str x0, [x8, x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _createQueue ; -- Begin function createQueue
.p2align 2
_createQueue: ; @createQueue
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #168 ; =0xa8
bl _libmin_malloc
movi.2d v0, #0xffffffffffffffff
str d0, [x0, #160]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _isEmpty ; -- Begin function isEmpty
.p2align 2
_isEmpty: ; @isEmpty
.cfi_startproc
; %bb.0:
ldr w8, [x0, #164]
cmn w8, #1
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _enqueue ; -- Begin function enqueue
.p2align 2
_enqueue: ; @enqueue
.cfi_startproc
; %bb.0:
ldr w8, [x0, #164]
cmp w8, #39
b.ne LBB5_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
b _libmin_printf
LBB5_2:
ldr w9, [x0, #160]
cmn w9, #1
b.ne LBB5_4
; %bb.3:
str wzr, [x0, #160]
LBB5_4:
add w8, w8, #1
str w8, [x0, #164]
str w1, [x0, w8, sxtw #2]
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _dequeue ; -- Begin function dequeue
.p2align 2
_dequeue: ; @dequeue
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr w8, [x0, #164]
cmn w8, #1
b.eq LBB6_3
; %bb.1:
mov x20, x0
ldrsw x9, [x0, #160]
ldr w19, [x0, x9, lsl #2]
add w10, w9, #1
str w10, [x0, #160]
cmp w9, w8
b.lt LBB6_4
; %bb.2:
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
movi.2d v0, #0xffffffffffffffff
str d0, [x20, #160]
b LBB6_4
LBB6_3:
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
mov w19, #-1 ; =0xffffffff
LBB6_4:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _printQueue ; -- Begin function printQueue
.p2align 2
_printQueue: ; @printQueue
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr w8, [x0, #164]
cmn w8, #1
b.eq LBB7_3
; %bb.1:
mov x19, x0
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
ldp w22, w8, [x19, #160]
; kill: def $w22 killed $w22 def $x22
sxtw x22, w22
cmp w22, w8
b.le LBB7_4
; %bb.2:
Lloh8:
adrp x20, l_.str.5@PAGE
Lloh9:
add x20, x20, l_.str.5@PAGEOFF
b LBB7_6
LBB7_3:
Lloh10:
adrp x20, l_.str.1@PAGE
Lloh11:
add x20, x20, l_.str.1@PAGEOFF
b LBB7_6
LBB7_4:
Lloh12:
adrp x21, l_.str.4@PAGE
Lloh13:
add x21, x21, l_.str.4@PAGEOFF
Lloh14:
adrp x20, l_.str.5@PAGE
Lloh15:
add x20, x20, l_.str.5@PAGEOFF
LBB7_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19, x22, lsl #2]
str x8, [sp]
mov x0, x21
bl _libmin_printf
add x8, x22, #1
ldrsw x9, [x19, #164]
cmp x22, x9
mov x22, x8
b.lt LBB7_5
LBB7_6:
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _libmin_printf
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _bfs ; -- Begin function bfs
.p2align 2
_bfs: ; @bfs
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x1
mov x19, x0
mov w0, #168 ; =0xa8
bl _libmin_malloc
mov x20, x0
movi.2d v0, #0xffffffffffffffff
str d0, [x0, #160]
ldr x8, [x19, #16]
mov w9, #1 ; =0x1
str w9, [x8, w21, sxtw #2]
ldr w8, [x0, #164]
cmp w8, #39
b.ne LBB8_2
; %bb.1:
Lloh16:
adrp x0, l_.str@PAGE
Lloh17:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
b LBB8_5
LBB8_2:
ldr w9, [x20, #160]
cmn w9, #1
b.ne LBB8_4
; %bb.3:
str wzr, [x20, #160]
LBB8_4:
add w8, w8, #1
str w8, [x20, #164]
str w21, [x20, w8, sxtw #2]
LBB8_5:
ldr w8, [x20, #164]
cmn w8, #1
b.eq LBB8_22
; %bb.6:
Lloh18:
adrp x21, l_.str.3@PAGE
Lloh19:
add x21, x21, l_.str.3@PAGEOFF
Lloh20:
adrp x22, l_.str.5@PAGE
Lloh21:
add x22, x22, l_.str.5@PAGEOFF
Lloh22:
adrp x23, l_.str.1@PAGE
Lloh23:
add x23, x23, l_.str.1@PAGEOFF
Lloh24:
adrp x24, l_.str.6@PAGE
Lloh25:
add x24, x24, l_.str.6@PAGEOFF
Lloh26:
adrp x25, l_.str@PAGE
Lloh27:
add x25, x25, l_.str@PAGEOFF
mov w28, #1 ; =0x1
Lloh28:
adrp x27, l_.str.4@PAGE
Lloh29:
add x27, x27, l_.str.4@PAGEOFF
b LBB8_8
LBB8_7: ; in Loop: Header=BB8_8 Depth=1
ldr w8, [x20, #164]
cmn w8, #1
b.eq LBB8_22
LBB8_8: ; =>This Loop Header: Depth=1
; Child Loop BB8_9 Depth 2
; Child Loop BB8_17 Depth 2
mov x0, x21
bl _libmin_printf
ldp w26, w8, [x20, #160]
; kill: def $w26 killed $w26 def $x26
sxtw x26, w26
cmp w26, w8
b.gt LBB8_10
LBB8_9: ; Parent Loop BB8_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x20, x26, lsl #2]
str x8, [sp]
mov x0, x27
bl _libmin_printf
add x8, x26, #1
ldrsw x9, [x20, #164]
cmp x26, x9
mov x26, x8
b.lt LBB8_9
LBB8_10: ; in Loop: Header=BB8_8 Depth=1
mov x0, x22
bl _libmin_printf
ldr w8, [x20, #164]
cmn w8, #1
b.eq LBB8_13
; %bb.11: ; in Loop: Header=BB8_8 Depth=1
ldrsw x9, [x20, #160]
ldr w26, [x20, x9, lsl #2]
add w10, w9, #1
str w10, [x20, #160]
cmp w9, w8
b.lt LBB8_14
; %bb.12: ; in Loop: Header=BB8_8 Depth=1
Lloh30:
adrp x0, l_.str.2@PAGE
Lloh31:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
movi.2d v0, #0xffffffffffffffff
str d0, [x20, #160]
b LBB8_14
LBB8_13: ; in Loop: Header=BB8_8 Depth=1
mov x0, x23
bl _libmin_printf
mov w26, #-1 ; =0xffffffff
LBB8_14: ; in Loop: Header=BB8_8 Depth=1
str x26, [sp]
mov x0, x24
bl _libmin_printf
ldr x8, [x19, #8]
ldr x26, [x8, w26, sxtw #3]
cbnz x26, LBB8_17
b LBB8_7
LBB8_15: ; in Loop: Header=BB8_17 Depth=2
mov x0, x25
bl _libmin_printf
LBB8_16: ; in Loop: Header=BB8_17 Depth=2
ldr x26, [x26, #8]
cbz x26, LBB8_7
LBB8_17: ; Parent Loop BB8_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x26]
ldr x9, [x19, #16]
ldr w10, [x9, w8, sxtw #2]
cbnz w10, LBB8_16
; %bb.18: ; in Loop: Header=BB8_17 Depth=2
sxtw x10, w8
str w28, [x9, x10, lsl #2]
ldr w9, [x20, #164]
cmp w9, #39
b.eq LBB8_15
; %bb.19: ; in Loop: Header=BB8_17 Depth=2
ldr w10, [x20, #160]
cmn w10, #1
b.ne LBB8_21
; %bb.20: ; in Loop: Header=BB8_17 Depth=2
str wzr, [x20, #160]
LBB8_21: ; in Loop: Header=BB8_17 Depth=2
add w9, w9, #1
str w9, [x20, #164]
str w8, [x20, w9, sxtw #2]
b LBB8_16
LBB8_22:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh16, Lloh17
.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 Lloh30, Lloh31
.cfi_endproc
; -- End function
.globl _bfs_test ; -- Begin function bfs_test
.p2align 2
_bfs_test: ; @bfs_test
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov w0, #24 ; =0x18
bl _libmin_malloc
mov x19, x0
mov w8, #6 ; =0x6
str w8, [x0]
mov w0, #48 ; =0x30
bl _libmin_malloc
str x0, [x19, #8]
mov w0, #24 ; =0x18
bl _libmin_malloc
str x0, [x19, #16]
ldr x8, [x19, #8]
str xzr, [x8]
ldp x9, x8, [x19, #8]
str wzr, [x8]
str xzr, [x9, #8]
ldp x9, x8, [x19, #8]
str wzr, [x8, #4]
str xzr, [x9, #16]
ldp x9, x8, [x19, #8]
str wzr, [x8, #8]
str xzr, [x9, #24]
ldp x9, x8, [x19, #8]
str wzr, [x8, #12]
str xzr, [x9, #32]
ldp x9, x8, [x19, #8]
str wzr, [x8, #16]
str xzr, [x9, #40]
ldr x8, [x19, #16]
str wzr, [x8, #20]
mov w0, #16 ; =0x10
bl _libmin_malloc
mov w20, #1 ; =0x1
str w20, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8]
str x9, [x0, #8]
str x0, [x8]
mov w0, #16 ; =0x10
bl _libmin_malloc
str wzr, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #8]
str x9, [x0, #8]
str x0, [x8, #8]
mov w0, #16 ; =0x10
bl _libmin_malloc
mov w21, #2 ; =0x2
str w21, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8]
str x9, [x0, #8]
str x0, [x8]
mov w0, #16 ; =0x10
bl _libmin_malloc
str wzr, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #16]
str x9, [x0, #8]
str x0, [x8, #16]
mov w0, #16 ; =0x10
bl _libmin_malloc
str w21, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #8]
str x9, [x0, #8]
str x0, [x8, #8]
mov w0, #16 ; =0x10
bl _libmin_malloc
str w20, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #16]
str x9, [x0, #8]
str x0, [x8, #16]
mov w0, #16 ; =0x10
bl _libmin_malloc
mov w22, #4 ; =0x4
str w22, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #8]
str x9, [x0, #8]
str x0, [x8, #8]
mov w0, #16 ; =0x10
bl _libmin_malloc
str w20, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #32]
str x9, [x0, #8]
str x0, [x8, #32]
mov w0, #16 ; =0x10
bl _libmin_malloc
mov w23, #3 ; =0x3
str w23, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #8]
str x9, [x0, #8]
str x0, [x8, #8]
mov w0, #16 ; =0x10
bl _libmin_malloc
str w20, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #24]
str x9, [x0, #8]
str x0, [x8, #24]
mov w0, #16 ; =0x10
bl _libmin_malloc
str w22, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #16]
str x9, [x0, #8]
str x0, [x8, #16]
mov w0, #16 ; =0x10
bl _libmin_malloc
str w21, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #32]
str x9, [x0, #8]
str x0, [x8, #32]
mov w0, #16 ; =0x10
bl _libmin_malloc
str w22, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #24]
str x9, [x0, #8]
str x0, [x8, #24]
mov w0, #16 ; =0x10
bl _libmin_malloc
str w23, [x0]
str xzr, [x0, #8]
ldr x8, [x19, #8]
ldr x9, [x8, #32]
str x9, [x0, #8]
str x0, [x8, #32]
mov x0, x19
mov w1, #0 ; =0x0
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 _bfs
.cfi_endproc
; -- End function
.globl _insertAtTheBegin ; -- Begin function insertAtTheBegin
.p2align 2
_insertAtTheBegin: ; @insertAtTheBegin
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov w0, #16 ; =0x10
bl _libmin_malloc
str w19, [x0]
ldr x8, [x20]
str x8, [x0, #8]
str x0, [x20]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
ldr w8, [x0]
ldr w9, [x1]
str w9, [x0]
str w8, [x1]
ret
.cfi_endproc
; -- End function
.globl _bubbleSort ; -- Begin function bubbleSort
.p2align 2
_bubbleSort: ; @bubbleSort
.cfi_startproc
; %bb.0:
cbz x0, LBB12_9
; %bb.1:
mov x9, #0 ; =0x0
ldr x8, [x0, #8]
b LBB12_3
LBB12_2: ; in Loop: Header=BB12_3 Depth=1
mov x9, x12
cbz w10, LBB12_9
LBB12_3: ; =>This Loop Header: Depth=1
; Child Loop BB12_7 Depth 2
cmp x8, x9
b.eq LBB12_9
; %bb.4: ; in Loop: Header=BB12_3 Depth=1
mov w10, #0 ; =0x0
ldr w11, [x0]
mov x14, x8
mov x13, x0
b LBB12_7
LBB12_5: ; in Loop: Header=BB12_7 Depth=2
str w14, [x13]
str w11, [x12]
mov w10, #1 ; =0x1
LBB12_6: ; in Loop: Header=BB12_7 Depth=2
ldr x14, [x12, #8]
mov x13, x12
cmp x14, x9
b.eq LBB12_2
LBB12_7: ; Parent Loop BB12_3 Depth=1
; => This Inner Loop Header: Depth=2
mov x12, x14
ldr w14, [x14]
cmp w11, w14
b.gt LBB12_5
; %bb.8: ; in Loop: Header=BB12_7 Depth=2
mov x11, x14
b LBB12_6
LBB12_9:
ret
.cfi_endproc
; -- End function
.globl _link_list ; -- Begin function link_list
.p2align 2
_link_list: ; @link_list
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w0, #16 ; =0x10
bl _libmin_malloc
mov x19, x0
mov w8, #12 ; =0xc
str w8, [x0]
str xzr, [x0, #8]
mov w0, #16 ; =0x10
bl _libmin_malloc
mov x20, x0
mov w8, #56 ; =0x38
str w8, [x0]
str x19, [x0, #8]
mov w0, #16 ; =0x10
bl _libmin_malloc
mov x19, x0
mov w8, #2 ; =0x2
str w8, [x0]
str x20, [x0, #8]
mov w0, #16 ; =0x10
bl _libmin_malloc
mov x20, x0
mov w8, #11 ; =0xb
str w8, [x0]
str x19, [x0, #8]
mov w0, #16 ; =0x10
bl _libmin_malloc
mov x19, x0
mov w8, #1 ; =0x1
str w8, [x0]
str x20, [x0, #8]
mov w0, #16 ; =0x10
bl _libmin_malloc
mov x8, #0 ; =0x0
mov w9, #90 ; =0x5a
str w9, [x0]
str x19, [x0, #8]
b LBB13_2
LBB13_1: ; in Loop: Header=BB13_2 Depth=1
mov x8, x11
cbz w9, LBB13_8
LBB13_2: ; =>This Loop Header: Depth=1
; Child Loop BB13_6 Depth 2
cmp x19, x8
b.eq LBB13_8
; %bb.3: ; in Loop: Header=BB13_2 Depth=1
mov w9, #0 ; =0x0
ldr w10, [x0]
mov x13, x19
mov x12, x0
b LBB13_6
LBB13_4: ; in Loop: Header=BB13_6 Depth=2
str w13, [x12]
str w10, [x11]
mov w9, #1 ; =0x1
LBB13_5: ; in Loop: Header=BB13_6 Depth=2
ldr x13, [x11, #8]
mov x12, x11
cmp x13, x8
b.eq LBB13_1
LBB13_6: ; Parent Loop BB13_2 Depth=1
; => This Inner Loop Header: Depth=2
mov x11, x13
ldr w13, [x13]
cmp w10, w13
b.gt LBB13_4
; %bb.7: ; in Loop: Header=BB13_6 Depth=2
mov x10, x13
b LBB13_5
LBB13_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _push ; -- Begin function push
.p2align 2
_push: ; @push
.cfi_startproc
; %bb.0:
Lloh32:
adrp x8, _top@PAGE
ldrsw x9, [x8, _top@PAGEOFF]
add x9, x9, #1
str w9, [x8, _top@PAGEOFF]
Lloh33:
adrp x8, _stack@GOTPAGE
Lloh34:
ldr x8, [x8, _stack@GOTPAGEOFF]
str w0, [x8, x9, lsl #2]
ret
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpAdrp Lloh32, Lloh33
.cfi_endproc
; -- End function
.globl _pop ; -- Begin function pop
.p2align 2
_pop: ; @pop
.cfi_startproc
; %bb.0:
Lloh35:
adrp x8, _top@PAGE
ldrsw x9, [x8, _top@PAGEOFF]
sub w10, w9, #1
str w10, [x8, _top@PAGEOFF]
Lloh36:
adrp x8, _stack@GOTPAGE
Lloh37:
ldr x8, [x8, _stack@GOTPAGEOFF]
ldr w0, [x8, x9, lsl #2]
ret
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpAdrp Lloh35, Lloh36
.cfi_endproc
; -- End function
.globl _peek ; -- Begin function peek
.p2align 2
_peek: ; @peek
.cfi_startproc
; %bb.0:
Lloh38:
adrp x8, _top@PAGE
Lloh39:
ldrsw x8, [x8, _top@PAGEOFF]
Lloh40:
adrp x9, _stack@GOTPAGE
Lloh41:
ldr x9, [x9, _stack@GOTPAGEOFF]
ldr w0, [x9, x8, lsl #2]
ret
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdr Lloh38, Lloh39
.cfi_endproc
; -- End function
.globl _isStackEmpty ; -- Begin function isStackEmpty
.p2align 2
_isStackEmpty: ; @isStackEmpty
.cfi_startproc
; %bb.0:
Lloh42:
adrp x8, _top@PAGE
Lloh43:
ldr w8, [x8, _top@PAGEOFF]
cmn w8, #1
cset w0, eq
ret
.loh AdrpLdr Lloh42, Lloh43
.cfi_endproc
; -- End function
.globl _addVertex ; -- Begin function addVertex
.p2align 2
_addVertex: ; @addVertex
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #4 ; =0x4
bl _libmin_malloc
str wzr, [x0]
Lloh44:
adrp x8, _vertexCount@PAGE
ldrsw x9, [x8, _vertexCount@PAGEOFF]
add w10, w9, #1
str w10, [x8, _vertexCount@PAGEOFF]
Lloh45:
adrp x8, _lstVertices@GOTPAGE
Lloh46:
ldr x8, [x8, _lstVertices@GOTPAGEOFF]
str x0, [x8, x9, lsl #3]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh45, Lloh46
.loh AdrpAdrp Lloh44, Lloh45
.cfi_endproc
; -- End function
.globl _addEdge_DFS ; -- Begin function addEdge_DFS
.p2align 2
_addEdge_DFS: ; @addEdge_DFS
.cfi_startproc
; %bb.0:
Lloh47:
adrp x8, _adjMatrix@GOTPAGE
Lloh48:
ldr x8, [x8, _adjMatrix@GOTPAGEOFF]
mov w9, #20 ; =0x14
smaddl x10, w0, w9, x8
mov w11, #1 ; =0x1
str w11, [x10, w1, sxtw #2]
smaddl x8, w1, w9, x8
str w11, [x8, w0, sxtw #2]
ret
.loh AdrpLdrGot Lloh47, Lloh48
.cfi_endproc
; -- End function
.globl _getAdjUnvisitedVertex ; -- Begin function getAdjUnvisitedVertex
.p2align 2
_getAdjUnvisitedVertex: ; @getAdjUnvisitedVertex
.cfi_startproc
; %bb.0:
Lloh49:
adrp x9, _vertexCount@PAGE
Lloh50:
ldr w9, [x9, _vertexCount@PAGEOFF]
cmp w9, #1
b.lt LBB20_6
; %bb.1:
mov x8, x0
mov x0, #0 ; =0x0
Lloh51:
adrp x10, _adjMatrix@GOTPAGE
Lloh52:
ldr x10, [x10, _adjMatrix@GOTPAGEOFF]
mov w11, #20 ; =0x14
smaddl x8, w8, w11, x10
Lloh53:
adrp x10, _lstVertices@GOTPAGE
Lloh54:
ldr x10, [x10, _lstVertices@GOTPAGEOFF]
b LBB20_3
LBB20_2: ; in Loop: Header=BB20_3 Depth=1
add x0, x0, #1
cmp x9, x0
b.eq LBB20_6
LBB20_3: ; =>This Inner Loop Header: Depth=1
ldr w11, [x8, x0, lsl #2]
cmp w11, #1
b.ne LBB20_2
; %bb.4: ; in Loop: Header=BB20_3 Depth=1
ldr x11, [x10, x0, lsl #3]
ldr w11, [x11]
cbnz w11, LBB20_2
; %bb.5:
; kill: def $w0 killed $w0 killed $x0
ret
LBB20_6:
mov w0, #-1 ; =0xffffffff
; kill: def $w0 killed $w0 killed $x0
ret
.loh AdrpLdr Lloh49, Lloh50
.loh AdrpLdrGot Lloh53, Lloh54
.loh AdrpLdrGot Lloh51, Lloh52
.cfi_endproc
; -- End function
.globl _depthFirstSearch ; -- Begin function depthFirstSearch
.p2align 2
_depthFirstSearch: ; @depthFirstSearch
.cfi_startproc
; %bb.0:
Lloh55:
adrp x8, _lstVertices@GOTPAGE
Lloh56:
ldr x8, [x8, _lstVertices@GOTPAGEOFF]
ldr x9, [x8]
mov w10, #1 ; =0x1
str w10, [x9]
adrp x11, _top@PAGE
ldrsw x9, [x11, _top@PAGEOFF]
add x13, x9, #1
Lloh57:
adrp x12, _stack@GOTPAGE
Lloh58:
ldr x12, [x12, _stack@GOTPAGEOFF]
str wzr, [x12, x13, lsl #2]
; kill: def $w13 killed $w13 killed $x13 def $x13
str w13, [x11, _top@PAGEOFF]
adrp x9, _vertexCount@PAGE
ldr w14, [x9, _vertexCount@PAGEOFF]
cmn w13, #1
b.eq LBB21_11
; %bb.1:
mov w15, #20 ; =0x14
Lloh59:
adrp x16, _adjMatrix@GOTPAGE
Lloh60:
ldr x16, [x16, _adjMatrix@GOTPAGEOFF]
b LBB21_4
LBB21_2: ; in Loop: Header=BB21_4 Depth=1
sub w13, w13, #1
str w13, [x11, _top@PAGEOFF]
LBB21_3: ; in Loop: Header=BB21_4 Depth=1
cmn w13, #1
b.eq LBB21_11
LBB21_4: ; =>This Loop Header: Depth=1
; Child Loop BB21_7 Depth 2
cmp w14, #1
b.lt LBB21_2
; %bb.5: ; in Loop: Header=BB21_4 Depth=1
mov x17, #0 ; =0x0
ldrsw x0, [x12, w13, sxtw #2]
smaddl x0, w0, w15, x16
b LBB21_7
LBB21_6: ; in Loop: Header=BB21_7 Depth=2
add x17, x17, #1
cmp x14, x17
b.eq LBB21_2
LBB21_7: ; Parent Loop BB21_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr w1, [x0, x17, lsl #2]
cmp w1, #1
b.ne LBB21_6
; %bb.8: ; in Loop: Header=BB21_7 Depth=2
ldr x1, [x8, x17, lsl #3]
ldr w1, [x1]
cbnz w1, LBB21_6
; %bb.9: ; in Loop: Header=BB21_4 Depth=1
cmn w17, #1
b.eq LBB21_2
; %bb.10: ; in Loop: Header=BB21_4 Depth=1
ldr x13, [x8, x17, lsl #3]
str w10, [x13]
ldrsw x13, [x11, _top@PAGEOFF]
add x13, x13, #1
str w13, [x11, _top@PAGEOFF]
str w17, [x12, x13, lsl #2]
ldr w14, [x9, _vertexCount@PAGEOFF]
b LBB21_3
LBB21_11:
cmp w14, #1
b.lt LBB21_14
; %bb.12:
mov x10, #0 ; =0x0
LBB21_13: ; =>This Inner Loop Header: Depth=1
ldr x11, [x8, x10, lsl #3]
str wzr, [x11]
add x10, x10, #1
ldrsw x11, [x9, _vertexCount@PAGEOFF]
cmp x10, x11
b.lt LBB21_13
LBB21_14:
ret
.loh AdrpLdrGot Lloh57, Lloh58
.loh AdrpLdrGot Lloh55, Lloh56
.loh AdrpLdrGot Lloh59, Lloh60
.cfi_endproc
; -- End function
.globl _DFS_test ; -- Begin function DFS_test
.p2align 2
_DFS_test: ; @DFS_test
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh61:
adrp x19, _adjMatrix@GOTPAGE
Lloh62:
ldr x19, [x19, _adjMatrix@GOTPAGEOFF]
str wzr, [x19, #96]
movi.2d v0, #0000000000000000
stp q0, q0, [x19, #64]
stp q0, q0, [x19, #32]
stp q0, q0, [x19]
mov w0, #4 ; =0x4
bl _libmin_malloc
str wzr, [x0]
adrp x20, _vertexCount@PAGE
ldrsw x8, [x20, _vertexCount@PAGEOFF]
add w9, w8, #1
str w9, [x20, _vertexCount@PAGEOFF]
Lloh63:
adrp x21, _lstVertices@GOTPAGE
Lloh64:
ldr x21, [x21, _lstVertices@GOTPAGEOFF]
str x0, [x21, x8, lsl #3]
mov w0, #4 ; =0x4
bl _libmin_malloc
str wzr, [x0]
ldrsw x8, [x20, _vertexCount@PAGEOFF]
add w9, w8, #1
str w9, [x20, _vertexCount@PAGEOFF]
str x0, [x21, x8, lsl #3]
mov w0, #4 ; =0x4
bl _libmin_malloc
str wzr, [x0]
ldrsw x8, [x20, _vertexCount@PAGEOFF]
add w9, w8, #1
str w9, [x20, _vertexCount@PAGEOFF]
str x0, [x21, x8, lsl #3]
mov w0, #4 ; =0x4
bl _libmin_malloc
str wzr, [x0]
ldrsw x8, [x20, _vertexCount@PAGEOFF]
add w9, w8, #1
str w9, [x20, _vertexCount@PAGEOFF]
str x0, [x21, x8, lsl #3]
mov w0, #4 ; =0x4
bl _libmin_malloc
str wzr, [x0]
ldrsw x8, [x20, _vertexCount@PAGEOFF]
add w9, w8, #1
str w9, [x20, _vertexCount@PAGEOFF]
str x0, [x21, x8, lsl #3]
mov w8, #1 ; =0x1
str w8, [x19, #20]
movi.2s v0, #1
stur d0, [x19, #4]
str w8, [x19, #12]
stur d0, [x19, #36]
str d0, [x19, #56]
stur d0, [x19, #84]
str w8, [x19, #76]
str w8, [x19, #92]
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 _depthFirstSearch
.loh AdrpLdrGot Lloh63, Lloh64
.loh AdrpLdrGot Lloh61, Lloh62
.cfi_endproc
; -- End function
.globl _towers ; -- Begin function towers
.p2align 2
_towers: ; @towers
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
subs w21, w0, #1
b.eq LBB23_3
; %bb.1:
mov x19, x2
mov x20, x1
LBB23_2: ; =>This Inner Loop Header: Depth=1
mov x22, x3
sxtb w1, w20
sxtb w2, w3
mov x0, x21
mov x3, x19
bl _towers
mov x3, x20
mov x20, x22
subs w21, w21, #1
b.ne LBB23_2
LBB23_3:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _towers_test ; -- Begin function towers_test
.p2align 2
_towers_test: ; @towers_test
.cfi_startproc
; %bb.0:
mov w0, #5 ; =0x5
mov w1, #65 ; =0x41
mov w2, #67 ; =0x43
mov w3, #66 ; =0x42
b _towers
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _bfs_test
bl _link_list
bl _DFS_test
mov w0, #5 ; =0x5
mov w1, #65 ; =0x41
mov w2, #67 ; =0x43
mov w3, #66 ; =0x42
bl _towers
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Queue is Full!!\n"
l_.str.1: ; @.str.1
.asciz "Queue is empty\n"
l_.str.2: ; @.str.2
.asciz "Resetting queue...\n"
l_.str.3: ; @.str.3
.asciz "Queue contains: "
l_.str.4: ; @.str.4
.asciz "%d "
l_.str.5: ; @.str.5
.asciz "\n"
l_.str.6: ; @.str.6
.asciz "Visited %d\n"
.section __DATA,__data
.globl _top ; @top
.p2align 2, 0x0
_top:
.long 4294967295 ; 0xffffffff
.globl _vertexCount ; @vertexCount
.zerofill __DATA,__common,_vertexCount,4,2
.comm _stack,20,2 ; @stack
.comm _lstVertices,40,3 ; @lstVertices
.comm _adjMatrix,100,2 ; @adjMatrix
.subsections_via_symbols
|
totient.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $45457, %edi ## imm = 0xB191
movl $2, %esi
callq _phiphi
leaq L_.str.6(%rip), %rdi
movl $45457, %esi ## imm = 0xB191
movl %eax, %edx
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function phiphi
_phiphi: ## @phiphi
.cfi_startproc
## %bb.0:
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
## kill: def $edi killed $edi def $rdi
leal -1(%rdi), %r15d
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl %ebx, %r15d
je LBB1_26
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl %edi, %eax
cltd
idivl %ebx
incl %ebx
testl %edx, %edx
jne LBB1_1
## %bb.3:
movl %eax, %r14d
decl %ebx
movl %ebx, %ecx
movl %eax, %edx
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
testl %ecx, %ecx
je LBB1_12
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
testl %edx, %edx
je LBB1_12
## %bb.6: ## in Loop: Header=BB1_4 Depth=1
movl %ecx, %esi
negl %esi
cmovsl %ecx, %esi
movl %edx, %ecx
negl %ecx
cmovsl %edx, %ecx
cmpl %esi, %ecx
movl %esi, %eax
cmoval %ecx, %eax
cmovael %esi, %ecx
cltd
idivl %ecx
testl %edx, %edx
jne LBB1_4
## %bb.7:
cmpl $1, %ecx
jne LBB1_12
## %bb.8:
movl %ebx, %edi
negl %edi
cmovsl %ebx, %edi
xorl %r15d, %r15d
movl $0, %ebx
cmpl $2, %edi
jb LBB1_19
## %bb.9:
je LBB1_17
## %bb.10:
cmpl $3, %edi
jne LBB1_18
## %bb.11:
movl $2, %ebx
jmp LBB1_19
LBB1_12:
movl %r14d, %edi
negl %edi
cmovsl %r14d, %edi
xorl %r15d, %r15d
cmpl $2, %edi
jb LBB1_25
## %bb.13:
je LBB1_24
## %bb.14:
cmpl $3, %edi
je LBB1_22
LBB1_23:
movl $2, %esi
callq _phiphi
movl %eax, %r15d
jmp LBB1_25
LBB1_17:
movl $1, %ebx
jmp LBB1_19
LBB1_18:
movl $2, %esi
callq _phiphi
movl %eax, %ebx
LBB1_19:
movl %r14d, %edi
negl %edi
cmovsl %r14d, %edi
cmpl $2, %edi
jb LBB1_25
## %bb.20:
je LBB1_24
## %bb.21:
cmpl $3, %edi
jne LBB1_23
LBB1_22:
movl $2, %r15d
jmp LBB1_25
LBB1_24:
movl $1, %r15d
LBB1_25:
imull %ebx, %r15d
LBB1_26:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.6: ## @.str.6
.asciz "phi(%d) = %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w19, #45457 ; =0xb191
mov w0, #45457 ; =0xb191
mov w1, #2 ; =0x2
bl _phiphi
; kill: def $w0 killed $w0 def $x0
stp x19, x0, [sp]
Lloh0:
adrp x0, l_.str.6@PAGE
Lloh1:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
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
.p2align 2 ; -- Begin function phiphi
_phiphi: ; @phiphi
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x8, x0
sub w0, w0, #1
LBB1_1: ; =>This Inner Loop Header: Depth=1
cmp w0, w1
b.eq LBB1_26
; %bb.2: ; in Loop: Header=BB1_1 Depth=1
sdiv w20, w8, w1
msub w9, w20, w1, w8
add w1, w1, #1
cbnz w9, LBB1_1
; %bb.3:
sub w19, w1, #1
mov x8, x19
mov x9, x20
LBB1_4: ; =>This Inner Loop Header: Depth=1
cbz w8, LBB1_10
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
cbz w9, LBB1_10
; %bb.6: ; in Loop: Header=BB1_4 Depth=1
cmp w8, #0
cneg w8, w8, mi
cmp w9, #0
cneg w9, w9, mi
cmp w9, w8
csel w10, w9, w8, hi
csel w8, w9, w8, lo
sdiv w9, w10, w8
msub w9, w9, w8, w10
cbnz w9, LBB1_4
; %bb.7:
cmp w8, #1
b.ne LBB1_10
; %bb.8:
cmp w19, #0
cneg w0, w19, mi
cmp w0, #2
b.hs LBB1_14
; %bb.9:
mov w19, #0 ; =0x0
b LBB1_19
LBB1_10:
cmp w20, #0
cneg w0, w20, mi
cmp w0, #2
b.lo LBB1_20
; %bb.11:
b.eq LBB1_24
; %bb.12:
cmp w0, #3
b.eq LBB1_23
LBB1_13:
mov w1, #2 ; =0x2
bl _phiphi
b LBB1_25
LBB1_14:
b.eq LBB1_17
; %bb.15:
cmp w0, #3
b.ne LBB1_18
; %bb.16:
mov w19, #2 ; =0x2
b LBB1_19
LBB1_17:
mov w19, #1 ; =0x1
b LBB1_19
LBB1_18:
mov w1, #2 ; =0x2
bl _phiphi
mov x19, x0
LBB1_19:
cmp w20, #0
cneg w0, w20, mi
cmp w0, #2
b.hs LBB1_21
LBB1_20:
mov w0, #0 ; =0x0
b LBB1_25
LBB1_21:
b.eq LBB1_24
; %bb.22:
cmp w0, #3
b.ne LBB1_13
LBB1_23:
mov w0, #2 ; =0x2
b LBB1_25
LBB1_24:
mov w0, #1 ; =0x1
LBB1_25:
mul w0, w0, w19
LBB1_26:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.6: ; @.str.6
.asciz "phi(%d) = %d\n"
.subsections_via_symbols
|
strange.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.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), %rbx
movq %rbx, %rdi
movl $9, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $8, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $7, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $6, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $5, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %rbx
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl $8, %esi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
jmp LBB0_1
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_.str.1: ## @.str.1
.asciz "\n| %d |"
L_.str.2: ## @.str.2
.asciz "\n %d"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov w8, #9 ; =0x9
str x8, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _libmin_printf
mov w21, #8 ; =0x8
str x21, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #7 ; =0x7
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #6 ; =0x6
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #5 ; =0x5
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #4 ; =0x4
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #3 ; =0x3
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #2 ; =0x2
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #1 ; =0x1
str x8, [sp]
mov x0, x19
bl _libmin_printf
str xzr, [sp]
mov x0, x19
bl _libmin_printf
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
Lloh4:
adrp x20, l_.str.2@PAGE
Lloh5:
add x20, x20, l_.str.2@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
str x21, [sp]
mov x0, x19
bl _libmin_printf
str xzr, [sp]
mov x0, x20
bl _libmin_printf
bl _libmin_success
b LBB0_1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "\n| %d |"
l_.str.2: ; @.str.2
.asciz "\n %d"
.subsections_via_symbols
|
sat-solver.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _conflict ## -- Begin function conflict
.p2align 4, 0x90
_conflict: ## @conflict
.cfi_startproc
## %bb.0:
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
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movb $1, %al
movq $-10, %rcx
leaq _formula+8(%rip), %rdx
movabsq $9223372036854775799, %rsi ## imm = 0x7FFFFFFFFFFFFFF7
leaq _assignment(%rip), %rdi
movl $750, %r8d ## imm = 0x2EE
movl $273, %r9d ## imm = 0x111
jmp LBB0_1
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
testl %r11d, %r11d
jne LBB0_17
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
cmpq $9, %r10
setb %al
addq $16, %rdx
incq %rcx
je LBB0_17
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq 10(%rcx), %r10
movl -8(%rdx), %r11d
movl %r11d, %ebx
negl %ebx
cmovsl %r11d, %ebx
movl (%rdi,%rbx,4), %r14d
xorl %r11d, %r11d
movl $0, %ebx
cmpl $-1, %r14d
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
testq %rsi, %r10
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, %r14d
je LBB0_16
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl $1, %ebx
testq %rsi, %r10
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
testl %r14d, %r14d
je LBB0_16
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rdx), %r14d
movl %r14d, %r15d
negl %r15d
cmovsl %r14d, %r15d
movl (%rdi,%r15,4), %r14d
cmpl $-1, %r14d
je LBB0_12
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
cmpq $-3, %rcx
ja LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, %r14d
je LBB0_16
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
leaq 7(%rsi), %r11
andq %r10, %r11
cmpq $8, %r11
jne LBB0_10
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movl %ebx, %r11d
testl %r14d, %r14d
je LBB0_16
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
btq %r10, %r8
jb LBB0_15
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movl (%rdx), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl (%rdi,%r14,4), %ebx
cmpl $-1, %ebx
je LBB0_16
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
btq %r10, %r9
setb %r14b
cmpl $1, %ebx
sete %bl
testb %bl, %r14b
je LBB0_15
jmp LBB0_16
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl %ebx, %r11d
btq %r10, %r8
jb LBB0_15
jmp LBB0_13
LBB0_17:
movzbl %al, %eax
andl $1, %eax
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _solveSAT ## -- Begin function solveSAT
.p2align 4, 0x90
_solveSAT: ## @solveSAT
.cfi_startproc
## %bb.0:
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 $8, %edi
jle LBB1_1
## %bb.7:
callq _conflict
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
sete %al
jmp LBB1_6
LBB1_1:
movl %edi, %ebx
movslq %edi, %r14
leaq _assignment(%rip), %r15
incl %ebx
movl $0, (%r15,%r14,4)
callq _conflict
testl %eax, %eax
je LBB1_2
LBB1_3:
movl $1, (%r15,%r14,4)
callq _conflict
testl %eax, %eax
jne LBB1_5
## %bb.4:
movl %ebx, %edi
callq _solveSAT
movl %eax, %ecx
movl $1, %eax
testl %ecx, %ecx
jne LBB1_6
LBB1_5:
movl $-1, (%r15,%r14,4)
xorl %eax, %eax
jmp LBB1_6
LBB1_2:
movl %ebx, %edi
callq _solveSAT
movl %eax, %ecx
movl $1, %eax
testl %ecx, %ecx
je LBB1_3
LBB1_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printFormula ## -- Begin function printFormula
.p2align 4, 0x90
_printFormula: ## @printFormula
.cfi_startproc
## %bb.0:
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
movabsq $9223372036854775799, %rbx ## imm = 0x7FFFFFFFFFFFFFF7
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq _formula+8(%rip), %r13
leaq L_.str.3(%rip), %r14
addq $7, %rbx
leaq L_.str.2(%rip), %r15
xorl %r12d, %r12d
jmp LBB2_3
.p2align 4, 0x90
LBB2_2: ## in Loop: Header=BB2_3 Depth=1
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r12
addq $16, %r13
cmpq $10, %r12
je LBB2_1
LBB2_3: ## =>This Inner Loop Header: Depth=1
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl -8(%r13), %esi
movabsq $9223372036854775799, %rax ## imm = 0x7FFFFFFFFFFFFFF7
testq %rax, %r12
je LBB2_5
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
negl %esi
movq %r15, %rdi
jmp LBB2_6
.p2align 4, 0x90
LBB2_5: ## in Loop: Header=BB2_3 Depth=1
movq %r14, %rdi
LBB2_6: ## in Loop: Header=BB2_3 Depth=1
xorl %eax, %eax
callq _libmin_printf
movl -4(%r13), %esi
movq %r12, %rax
andq %rbx, %rax
cmpq $8, %rax
jne LBB2_7
## %bb.8: ## in Loop: Header=BB2_3 Depth=1
negl %esi
movq %r15, %rdi
jmp LBB2_9
.p2align 4, 0x90
LBB2_7: ## in Loop: Header=BB2_3 Depth=1
movq %r14, %rdi
LBB2_9: ## in Loop: Header=BB2_3 Depth=1
xorl %eax, %eax
callq _libmin_printf
movl $750, %eax ## imm = 0x2EE
btq %r12, %rax
jb LBB2_2
## %bb.10: ## in Loop: Header=BB2_3 Depth=1
movl (%r13), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB2_2
LBB2_1:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printAssignment ## -- Begin function printAssignment
.p2align 4, 0x90
_printAssignment: ## @printAssignment
.cfi_startproc
## %bb.0:
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.5(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
cmpl $1, _assignment+4(%rip)
leaq L_.str.7(%rip), %r15
leaq L_.str.8(%rip), %rbx
movq %rbx, %rdx
cmoveq %r15, %rdx
leaq L_.str.6(%rip), %r14
movq %r14, %rdi
movl $1, %esi
xorl %eax, %eax
callq _libmin_printf
cmpl $1, _assignment+8(%rip)
movq %rbx, %rdx
cmoveq %r15, %rdx
movq %r14, %rdi
movl $2, %esi
xorl %eax, %eax
callq _libmin_printf
cmpl $1, _assignment+12(%rip)
movq %rbx, %rdx
cmoveq %r15, %rdx
movq %r14, %rdi
movl $3, %esi
xorl %eax, %eax
callq _libmin_printf
cmpl $1, _assignment+16(%rip)
movq %rbx, %rdx
cmoveq %r15, %rdx
movq %r14, %rdi
movl $4, %esi
xorl %eax, %eax
callq _libmin_printf
cmpl $1, _assignment+20(%rip)
movq %rbx, %rdx
cmoveq %r15, %rdx
movq %r14, %rdi
movl $5, %esi
xorl %eax, %eax
callq _libmin_printf
cmpl $1, _assignment+24(%rip)
movq %rbx, %rdx
cmoveq %r15, %rdx
movq %r14, %rdi
movl $6, %esi
xorl %eax, %eax
callq _libmin_printf
cmpl $1, _assignment+28(%rip)
movq %rbx, %rdx
cmoveq %r15, %rdx
movq %r14, %rdi
movl $7, %esi
xorl %eax, %eax
callq _libmin_printf
cmpl $1, _assignment+32(%rip)
cmoveq %r15, %rbx
movq %r14, %rdi
movl $8, %esi
movq %rbx, %rdx
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, _assignment+20(%rip)
movdqu %xmm0, _assignment+4(%rip)
callq _printFormula
movl $1, %edi
callq _solveSAT
testl %eax, %eax
je LBB4_2
## %bb.1:
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _printAssignment
callq _libtarg_success
jmp LBB4_3
LBB4_2:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libtarg_fail
LBB4_3:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4, 0x0 ## @formula
_formula:
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 0 ## 0x0
.long 4294967295 ## 0xffffffff
.long 4 ## 0x4
.long 0 ## 0x0
.long 0 ## 0x0
.long 4294967294 ## 0xfffffffe
.long 4 ## 0x4
.long 0 ## 0x0
.long 0 ## 0x0
.long 4294967293 ## 0xfffffffd
.long 4 ## 0x4
.long 0 ## 0x0
.long 0 ## 0x0
.long 4294967292 ## 0xfffffffc
.long 5 ## 0x5
.long 6 ## 0x6
.long 0 ## 0x0
.long 4294967291 ## 0xfffffffb
.long 7 ## 0x7
.long 0 ## 0x0
.long 0 ## 0x0
.long 4294967290 ## 0xfffffffa
.long 7 ## 0x7
.long 0 ## 0x0
.long 0 ## 0x0
.long 4294967289 ## 0xfffffff9
.long 8 ## 0x8
.long 0 ## 0x0
.long 0 ## 0x0
.long 2 ## 0x2
.long 4294967290 ## 0xfffffffa
.long 8 ## 0x8
.long 0 ## 0x0
.long 4294967293 ## 0xfffffffd
.long 4294967288 ## 0xfffffff8
.long 0 ## 0x0
.long 0 ## 0x0
.zerofill __DATA,__bss,_assignment,36,4 ## @assignment
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "CNF Formula:\n"
L_.str.1: ## @.str.1
.asciz "("
L_.str.2: ## @.str.2
.asciz "\302\254x%d "
L_.str.3: ## @.str.3
.asciz "x%d "
L_.str.4: ## @.str.4
.asciz ")\n"
L_.str.5: ## @.str.5
.asciz "SAT Solution (Variable Assignment):\n"
L_.str.6: ## @.str.6
.asciz "x%d = %s\n"
L_.str.7: ## @.str.7
.asciz "true"
L_.str.8: ## @.str.8
.asciz "false"
L_.str.9: ## @.str.9
.asciz "SAT solution found:\n"
L_.str.10: ## @.str.10
.asciz "No SAT solution exists.\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _conflict ; -- Begin function conflict
.p2align 2
_conflict: ; @conflict
.cfi_startproc
; %bb.0:
adrp x9, _assignment@PAGE+4
ldr w10, [x9, _assignment@PAGEOFF+4]
adrp x8, _assignment@PAGE+8
cmn w10, #1
b.eq LBB0_3
; %bb.1:
cmp w10, #1
b.eq LBB0_8
; %bb.2:
mov w10, #1 ; =0x1
b LBB0_4
LBB0_3:
mov w10, #0 ; =0x0
LBB0_4:
ldr w11, [x8, _assignment@PAGEOFF+8]
cmn w11, #1
b.eq LBB0_6
; %bb.5:
cmp w11, #1
b.eq LBB0_8
b LBB0_7
LBB0_6:
mov w10, #0 ; =0x0
LBB0_7:
Lloh0:
adrp x11, _assignment@PAGE+12
Lloh1:
ldr w11, [x11, _assignment@PAGEOFF+12]
cmn w11, #1
ccmp w11, #1, #4, ne
ccmp w10, #0, #4, ne
b.ne LBB0_85
LBB0_8:
ldr w9, [x9, _assignment@PAGEOFF+4]
adrp x10, _assignment@PAGE+16
cmn w9, #1
b.eq LBB0_11
; %bb.9:
cbz w9, LBB0_17
; %bb.10:
mov w9, #1 ; =0x1
b LBB0_12
LBB0_11:
mov w9, #0 ; =0x0
LBB0_12:
ldr w11, [x10, _assignment@PAGEOFF+16]
cmn w11, #1
b.eq LBB0_16
; %bb.13:
cmp w11, #1
b.eq LBB0_17
; %bb.14:
cbz w9, LBB0_17
LBB0_15:
mov w0, #1 ; =0x1
ret
LBB0_16:
mov w9, #0 ; =0x0
cbnz w9, LBB0_15
LBB0_17:
ldr w9, [x8, _assignment@PAGEOFF+8]
cmn w9, #1
b.eq LBB0_20
; %bb.18:
cbz w9, LBB0_25
; %bb.19:
mov w9, #1 ; =0x1
b LBB0_21
LBB0_20:
mov w9, #0 ; =0x0
LBB0_21:
ldr w11, [x10, _assignment@PAGEOFF+16]
cmn w11, #1
b.eq LBB0_24
; %bb.22:
cmp w11, #1
b.eq LBB0_25
; %bb.23:
cbnz w9, LBB0_85
b LBB0_25
LBB0_24:
mov w9, #0 ; =0x0
cbnz w9, LBB0_85
LBB0_25:
adrp x9, _assignment@PAGE+12
ldr w11, [x9, _assignment@PAGEOFF+12]
cmn w11, #1
b.eq LBB0_28
; %bb.26:
cbz w11, LBB0_33
; %bb.27:
mov w11, #1 ; =0x1
b LBB0_29
LBB0_28:
mov w11, #0 ; =0x0
LBB0_29:
ldr w12, [x10, _assignment@PAGEOFF+16]
cmn w12, #1
b.eq LBB0_32
; %bb.30:
cmp w12, #1
b.eq LBB0_33
; %bb.31:
cbnz w11, LBB0_85
b LBB0_33
LBB0_32:
mov w11, #0 ; =0x0
cbnz w11, LBB0_85
LBB0_33:
ldr w12, [x10, _assignment@PAGEOFF+16]
adrp x11, _assignment@PAGE+20
adrp x10, _assignment@PAGE+24
cmn w12, #1
b.eq LBB0_36
; %bb.34:
cbz w12, LBB0_43
; %bb.35:
mov w12, #1 ; =0x1
b LBB0_37
LBB0_36:
mov w12, #0 ; =0x0
LBB0_37:
ldr w13, [x11, _assignment@PAGEOFF+20]
cmn w13, #1
b.eq LBB0_39
; %bb.38:
cmp w13, #1
b.eq LBB0_43
b LBB0_40
LBB0_39:
mov w12, #0 ; =0x0
LBB0_40:
ldr w13, [x10, _assignment@PAGEOFF+24]
cmn w13, #1
b.eq LBB0_43
; %bb.41:
cmp w13, #1
b.eq LBB0_43
; %bb.42:
cbnz w12, LBB0_85
LBB0_43:
ldr w12, [x11, _assignment@PAGEOFF+20]
adrp x11, _assignment@PAGE+28
cmn w12, #1
b.eq LBB0_46
; %bb.44:
cbz w12, LBB0_51
; %bb.45:
mov w12, #1 ; =0x1
b LBB0_47
LBB0_46:
mov w12, #0 ; =0x0
LBB0_47:
ldr w13, [x11, _assignment@PAGEOFF+28]
cmn w13, #1
b.eq LBB0_50
; %bb.48:
cmp w13, #1
b.eq LBB0_51
; %bb.49:
cbnz w12, LBB0_85
b LBB0_51
LBB0_50:
mov w12, #0 ; =0x0
cbnz w12, LBB0_85
LBB0_51:
ldr w12, [x10, _assignment@PAGEOFF+24]
cmn w12, #1
b.eq LBB0_54
; %bb.52:
cbz w12, LBB0_59
; %bb.53:
mov w12, #1 ; =0x1
b LBB0_55
LBB0_54:
mov w12, #0 ; =0x0
LBB0_55:
ldr w13, [x11, _assignment@PAGEOFF+28]
cmn w13, #1
b.eq LBB0_58
; %bb.56:
cmp w13, #1
b.eq LBB0_59
; %bb.57:
cbnz w12, LBB0_85
b LBB0_59
LBB0_58:
mov w12, #0 ; =0x0
cbnz w12, LBB0_85
LBB0_59:
ldr w12, [x11, _assignment@PAGEOFF+28]
adrp x11, _assignment@PAGE+32
cmn w12, #1
b.eq LBB0_62
; %bb.60:
cbz w12, LBB0_67
; %bb.61:
mov w12, #1 ; =0x1
b LBB0_63
LBB0_62:
mov w12, #0 ; =0x0
LBB0_63:
ldr w13, [x11, _assignment@PAGEOFF+32]
cmn w13, #1
b.eq LBB0_66
; %bb.64:
cmp w13, #1
b.eq LBB0_67
; %bb.65:
cbnz w12, LBB0_85
b LBB0_67
LBB0_66:
mov w12, #0 ; =0x0
cbnz w12, LBB0_85
LBB0_67:
ldr w8, [x8, _assignment@PAGEOFF+8]
cmn w8, #1
b.eq LBB0_70
; %bb.68:
cmp w8, #1
b.eq LBB0_77
; %bb.69:
mov w8, #1 ; =0x1
b LBB0_71
LBB0_70:
mov w8, #0 ; =0x0
LBB0_71:
ldr w10, [x10, _assignment@PAGEOFF+24]
cmn w10, #1
b.eq LBB0_73
; %bb.72:
cbz w10, LBB0_77
b LBB0_74
LBB0_73:
mov w8, #0 ; =0x0
LBB0_74:
ldr w10, [x11, _assignment@PAGEOFF+32]
cmn w10, #1
b.eq LBB0_77
; %bb.75:
cmp w10, #1
b.eq LBB0_77
; %bb.76:
cbnz w8, LBB0_85
LBB0_77:
ldr w8, [x9, _assignment@PAGEOFF+12]
cmn w8, #1
b.eq LBB0_80
; %bb.78:
cbz w8, LBB0_86
; %bb.79:
mov w8, #1 ; =0x1
b LBB0_81
LBB0_80:
mov w8, #0 ; =0x0
LBB0_81:
ldr w9, [x11, _assignment@PAGEOFF+32]
cmn w9, #1
b.eq LBB0_83
; %bb.82:
cbz w9, LBB0_86
b LBB0_84
LBB0_83:
mov w8, #0 ; =0x0
LBB0_84:
cbz w8, LBB0_86
LBB0_85:
mov w0, #1 ; =0x1
ret
LBB0_86:
mov w0, #0 ; =0x0
ret
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _solveSAT ; -- Begin function solveSAT
.p2align 2
_solveSAT: ; @solveSAT
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
cmp w0, #8
b.le LBB1_2
; %bb.1:
bl _conflict
cmp w0, #0
cset w0, eq
b LBB1_8
LBB1_2:
mov x20, x0
Lloh2:
adrp x21, _assignment@PAGE
Lloh3:
add x21, x21, _assignment@PAGEOFF
add w19, w0, #1
str wzr, [x21, w0, sxtw #2]
bl _conflict
cbz w0, LBB1_5
LBB1_3:
sxtw x20, w20
mov w8, #1 ; =0x1
str w8, [x21, x20, lsl #2]
bl _conflict
cbz w0, LBB1_6
LBB1_4:
mov w0, #0 ; =0x0
mov w8, #-1 ; =0xffffffff
str w8, [x21, x20, lsl #2]
b LBB1_8
LBB1_5:
mov x0, x19
bl _solveSAT
cbnz w0, LBB1_7
b LBB1_3
LBB1_6:
mov x0, x19
bl _solveSAT
cbz w0, LBB1_4
LBB1_7:
mov w0, #1 ; =0x1
LBB1_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _printFormula ; -- Begin function printFormula
.p2align 2
_printFormula: ; @printFormula
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov x23, #0 ; =0x0
Lloh6:
adrp x24, _formula@PAGE+8
Lloh7:
add x24, x24, _formula@PAGEOFF+8
Lloh8:
adrp x19, l_.str.1@PAGE
Lloh9:
add x19, x19, l_.str.1@PAGEOFF
Lloh10:
adrp x20, l_.str.3@PAGE
Lloh11:
add x20, x20, l_.str.3@PAGEOFF
mov x25, #-9 ; =0xfffffffffffffff7
movk x25, #32767, lsl #48
Lloh12:
adrp x21, l_.str.2@PAGE
Lloh13:
add x21, x21, l_.str.2@PAGEOFF
mov w26, #750 ; =0x2ee
Lloh14:
adrp x22, l_.str.4@PAGE
Lloh15:
add x22, x22, l_.str.4@PAGEOFF
b LBB2_2
LBB2_1: ; in Loop: Header=BB2_2 Depth=1
add x24, x24, #16
mov x0, x22
bl _libmin_printf
add x23, x23, #1
cmp x23, #10
b.eq LBB2_10
LBB2_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _libmin_printf
ldur w8, [x24, #-8]
tst x23, x25
b.eq LBB2_4
; %bb.3: ; in Loop: Header=BB2_2 Depth=1
neg w8, w8
str x8, [sp]
mov x0, x21
b LBB2_5
LBB2_4: ; in Loop: Header=BB2_2 Depth=1
str x8, [sp]
mov x0, x20
LBB2_5: ; in Loop: Header=BB2_2 Depth=1
bl _libmin_printf
ldur w8, [x24, #-4]
and x9, x23, #0x7ffffffffffffffe
cmp x9, #8
b.ne LBB2_7
; %bb.6: ; in Loop: Header=BB2_2 Depth=1
neg w8, w8
str x8, [sp]
mov x0, x21
b LBB2_8
LBB2_7: ; in Loop: Header=BB2_2 Depth=1
str x8, [sp]
mov x0, x20
LBB2_8: ; in Loop: Header=BB2_2 Depth=1
bl _libmin_printf
lsr x8, x26, x23
tbnz w8, #0, LBB2_1
; %bb.9: ; in Loop: Header=BB2_2 Depth=1
ldr w8, [x24]
str x8, [sp]
mov x0, x20
bl _libmin_printf
b LBB2_1
LBB2_10:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _printAssignment ; -- Begin function printAssignment
.p2align 2
_printAssignment: ; @printAssignment
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh16:
adrp x0, l_.str.5@PAGE
Lloh17:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
Lloh18:
adrp x20, _assignment@PAGE+4
Lloh19:
add x20, x20, _assignment@PAGEOFF+4
ldr w8, [x20]
Lloh20:
adrp x21, l_.str.8@PAGE
Lloh21:
add x21, x21, l_.str.8@PAGEOFF
Lloh22:
adrp x22, l_.str.7@PAGE
Lloh23:
add x22, x22, l_.str.7@PAGEOFF
cmp w8, #1
csel x8, x22, x21, eq
mov w9, #1 ; =0x1
stp x9, x8, [sp]
Lloh24:
adrp x19, l_.str.6@PAGE
Lloh25:
add x19, x19, l_.str.6@PAGEOFF
mov x0, x19
bl _libmin_printf
ldr w8, [x20, #4]
cmp w8, #1
csel x8, x22, x21, eq
mov w9, #2 ; =0x2
stp x9, x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x20, #8]
cmp w8, #1
csel x8, x22, x21, eq
mov w9, #3 ; =0x3
stp x9, x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x20, #12]
cmp w8, #1
csel x8, x22, x21, eq
mov w9, #4 ; =0x4
stp x9, x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x20, #16]
cmp w8, #1
csel x8, x22, x21, eq
mov w9, #5 ; =0x5
stp x9, x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x20, #20]
cmp w8, #1
csel x8, x22, x21, eq
mov w9, #6 ; =0x6
stp x9, x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x20, #24]
cmp w8, #1
csel x8, x22, x21, eq
mov w9, #7 ; =0x7
stp x9, x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x20, #28]
cmp w8, #1
csel x8, x22, x21, eq
mov w9, #8 ; =0x8
stp x9, x8, [sp]
mov x0, x19
bl _libmin_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 Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh26:
adrp x8, _assignment@PAGE+4
Lloh27:
add x8, x8, _assignment@PAGEOFF+4
movi.2d v0, #0xffffffffffffffff
stp q0, q0, [x8]
bl _printFormula
mov w0, #1 ; =0x1
bl _solveSAT
cbz w0, LBB4_2
; %bb.1:
Lloh28:
adrp x0, l_.str.9@PAGE
Lloh29:
add x0, x0, l_.str.9@PAGEOFF
bl _libmin_printf
bl _printAssignment
bl _libtarg_success
b LBB4_3
LBB4_2:
Lloh30:
adrp x0, l_.str.10@PAGE
Lloh31:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libtarg_fail
LBB4_3:
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2, 0x0 ; @formula
_formula:
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 0 ; 0x0
.long 4294967295 ; 0xffffffff
.long 4 ; 0x4
.long 0 ; 0x0
.long 0 ; 0x0
.long 4294967294 ; 0xfffffffe
.long 4 ; 0x4
.long 0 ; 0x0
.long 0 ; 0x0
.long 4294967293 ; 0xfffffffd
.long 4 ; 0x4
.long 0 ; 0x0
.long 0 ; 0x0
.long 4294967292 ; 0xfffffffc
.long 5 ; 0x5
.long 6 ; 0x6
.long 0 ; 0x0
.long 4294967291 ; 0xfffffffb
.long 7 ; 0x7
.long 0 ; 0x0
.long 0 ; 0x0
.long 4294967290 ; 0xfffffffa
.long 7 ; 0x7
.long 0 ; 0x0
.long 0 ; 0x0
.long 4294967289 ; 0xfffffff9
.long 8 ; 0x8
.long 0 ; 0x0
.long 0 ; 0x0
.long 2 ; 0x2
.long 4294967290 ; 0xfffffffa
.long 8 ; 0x8
.long 0 ; 0x0
.long 4294967293 ; 0xfffffffd
.long 4294967288 ; 0xfffffff8
.long 0 ; 0x0
.long 0 ; 0x0
.zerofill __DATA,__bss,_assignment,36,2 ; @assignment
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "CNF Formula:\n"
l_.str.1: ; @.str.1
.asciz "("
l_.str.2: ; @.str.2
.asciz "\302\254x%d "
l_.str.3: ; @.str.3
.asciz "x%d "
l_.str.4: ; @.str.4
.asciz ")\n"
l_.str.5: ; @.str.5
.asciz "SAT Solution (Variable Assignment):\n"
l_.str.6: ; @.str.6
.asciz "x%d = %s\n"
l_.str.7: ; @.str.7
.asciz "true"
l_.str.8: ; @.str.8
.asciz "false"
l_.str.9: ; @.str.9
.asciz "SAT solution found:\n"
l_.str.10: ; @.str.10
.asciz "No SAT solution exists.\n"
.subsections_via_symbols
|
priority-queue.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _newNode ## -- Begin function newNode
.p2align 4, 0x90
_newNode: ## @newNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movl %edi, %r14d
movl $16, %edi
callq _libmin_malloc
movl %r14d, (%rax)
movl %ebx, 4(%rax)
movq $0, 8(%rax)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _peek ## -- Begin function peek
.p2align 4, 0x90
_peek: ## @peek
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _priopeek ## -- Begin function priopeek
.p2align 4, 0x90
_priopeek: ## @priopeek
.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 4(%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pop ## -- Begin function pop
.p2align 4, 0x90
_pop: ## @pop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq 8(%rax), %rcx
movq %rcx, (%rdi)
movq %rax, %rdi
popq %rbp
jmp _libmin_free ## TAILCALL
.cfi_endproc
## -- End function
.globl _push ## -- Begin function push
.p2align 4, 0x90
_push: ## @push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
movq (%rdi), %r12
movl $16, %edi
callq _libmin_malloc
movl %r15d, (%rax)
movl %r14d, 4(%rax)
movq $0, 8(%rax)
movq (%rbx), %rcx
cmpl %r14d, 4(%rcx)
jg LBB4_5
## %bb.1:
movq %r12, %rcx
.p2align 4, 0x90
LBB4_2: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rbx
movq 8(%rcx), %rcx
testq %rcx, %rcx
je LBB4_4
## %bb.3: ## in Loop: Header=BB4_2 Depth=1
cmpl %r14d, 4(%rcx)
jl LBB4_2
LBB4_4:
addq $8, %rbx
LBB4_5:
movq %rcx, 8(%rax)
movq %rax, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isEmpty ## -- Begin function isEmpty
.p2align 4, 0x90
_isEmpty: ## @isEmpty
.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
cmpq $0, (%rdi)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printPQ ## -- Begin function printPQ
.p2align 4, 0x90
_printPQ: ## @printPQ
.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
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq (%rbx), %rax
testq %rax, %rax
je LBB6_3
## %bb.1:
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB6_2: ## =>This Inner Loop Header: Depth=1
movl (%rax), %edx
movl 4(%rax), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movq (%rbx), %rdi
movq 8(%rdi), %rax
movq %rax, (%rbx)
callq _libmin_free
movq (%rbx), %rax
testq %rax, %rax
jne LBB6_2
LBB6_3:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
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 $16, %edi
callq _libmin_malloc
movq %rax, %rbx
movabsq $4294967300, %r15 ## imm = 0x100000004
movq %r15, (%rax)
movq $0, 8(%rax)
movq %rax, -48(%rbp)
movl $16, %edi
callq _libmin_malloc
movabsq $8589934597, %rcx ## imm = 0x200000005
movq %rcx, (%rax)
movq $0, 8(%rax)
leaq -48(%rbp), %r14
cmpl $2, 4(%rbx)
jle LBB7_2
## %bb.1:
movq %r14, %rcx
jmp LBB7_6
.p2align 4, 0x90
LBB7_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rcx
movq 8(%rbx), %rbx
testq %rbx, %rbx
je LBB7_3
## %bb.4: ## in Loop: Header=BB7_2 Depth=1
cmpl $2, 4(%rbx)
jl LBB7_2
jmp LBB7_5
LBB7_3:
xorl %ebx, %ebx
LBB7_5:
addq $8, %rcx
LBB7_6:
movq %rbx, 8(%rax)
movq %rax, (%rcx)
movq -48(%rbp), %rbx
movl $16, %edi
callq _libmin_malloc
movabsq $12884901894, %rcx ## imm = 0x300000006
movq %rcx, (%rax)
movq $0, 8(%rax)
cmpl $3, 4(%rbx)
jle LBB7_8
## %bb.7:
movq %r14, %rcx
jmp LBB7_12
.p2align 4, 0x90
LBB7_8: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rcx
movq 8(%rbx), %rbx
testq %rbx, %rbx
je LBB7_9
## %bb.10: ## in Loop: Header=BB7_8 Depth=1
cmpl $3, 4(%rbx)
jl LBB7_8
jmp LBB7_11
LBB7_9:
xorl %ebx, %ebx
LBB7_11:
addq $8, %rcx
LBB7_12:
movq %rbx, 8(%rax)
movq %rax, (%rcx)
movq -48(%rbp), %rbx
movl $16, %edi
callq _libmin_malloc
movq $7, (%rax)
movq $0, 8(%rax)
cmpl $0, 4(%rbx)
jg LBB7_17
jmp LBB7_13
.p2align 4, 0x90
LBB7_15: ## in Loop: Header=BB7_13 Depth=1
cmpl $0, 4(%rbx)
jns LBB7_16
LBB7_13: ## =>This Inner Loop Header: Depth=1
movq %rbx, %r14
movq 8(%rbx), %rbx
testq %rbx, %rbx
jne LBB7_15
## %bb.14:
xorl %ebx, %ebx
LBB7_16:
addq $8, %r14
LBB7_17:
movq %rbx, 8(%rax)
movq %rax, (%r14)
leaq L_.str(%rip), %rdi
xorl %r12d, %r12d
xorl %eax, %eax
callq _libmin_printf
movq -48(%rbp), %rbx
testq %rbx, %rbx
je LBB7_20
## %bb.18:
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB7_19: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %edx
movl 4(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movq 8(%rbx), %r13
movq %rbx, %rdi
callq _libmin_free
movq %r13, %rbx
testq %r13, %r13
jne LBB7_19
LBB7_20:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $42, %edi
callq _libmin_srand
movl $16, %edi
callq _libmin_malloc
movq %r15, (%rax)
movq $0, 8(%rax)
movq %rax, -48(%rbp)
leaq -48(%rbp), %r15
jmp LBB7_21
.p2align 4, 0x90
LBB7_22: ## in Loop: Header=BB7_21 Depth=1
movq %r15, %rcx
LBB7_31: ## in Loop: Header=BB7_21 Depth=1
movq %r13, 8(%rax)
movq %rax, (%rcx)
incl %r12d
cmpl $250, %r12d
je LBB7_23
LBB7_21: ## =>This Loop Header: Depth=1
## Child Loop BB7_27 Depth 2
callq _libmin_rand
movl %eax, %r14d
movl %eax, %eax
imulq $274877907, %rax, %rax ## imm = 0x10624DD3
shrq $36, %rax
imull $250, %eax, %eax
subl %eax, %r14d
callq _libmin_rand
movl %eax, %ebx
movl %eax, %eax
imulq $274877907, %rax, %rax ## imm = 0x10624DD3
shrq $36, %rax
imull $250, %eax, %eax
subl %eax, %ebx
movq -48(%rbp), %r13
movl $16, %edi
callq _libmin_malloc
movl %r14d, (%rax)
movl %ebx, 4(%rax)
movq $0, 8(%rax)
cmpl %ebx, 4(%r13)
jg LBB7_22
.p2align 4, 0x90
LBB7_27: ## Parent Loop BB7_21 Depth=1
## => This Inner Loop Header: Depth=2
movq %r13, %rcx
movq 8(%r13), %r13
testq %r13, %r13
je LBB7_28
## %bb.29: ## in Loop: Header=BB7_27 Depth=2
cmpl %ebx, 4(%r13)
jl LBB7_27
jmp LBB7_30
.p2align 4, 0x90
LBB7_28: ## in Loop: Header=BB7_21 Depth=1
xorl %r13d, %r13d
LBB7_30: ## in Loop: Header=BB7_21 Depth=1
addq $8, %rcx
jmp LBB7_31
LBB7_23:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq -48(%rbp), %rbx
testq %rbx, %rbx
je LBB7_26
## %bb.24:
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB7_25: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %edx
movl 4(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movq 8(%rbx), %r15
movq %rbx, %rdi
callq _libmin_free
movq %r15, %rbx
testq %r15, %r15
jne LBB7_25
LBB7_26:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
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 "priorityQ: "
L_.str.1: ## @.str.1
.asciz "<prio:%d, val:%d> "
L_.str.2: ## @.str.2
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _newNode ; -- Begin function newNode
.p2align 2
_newNode: ; @newNode
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov w0, #16 ; =0x10
bl _libmin_malloc
stp w20, w19, [x0]
str xzr, [x0, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _peek ; -- Begin function peek
.p2align 2
_peek: ; @peek
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr w0, [x8]
ret
.cfi_endproc
; -- End function
.globl _priopeek ; -- Begin function priopeek
.p2align 2
_priopeek: ; @priopeek
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr w0, [x8, #4]
ret
.cfi_endproc
; -- End function
.globl _pop ; -- Begin function pop
.p2align 2
_pop: ; @pop
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x9, [x8, #8]
str x9, [x0]
mov x0, x8
b _libmin_free
.cfi_endproc
; -- End function
.globl _push ; -- Begin function push
.p2align 2
_push: ; @push
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x21, x1
mov x20, x0
ldr x22, [x0]
mov w0, #16 ; =0x10
bl _libmin_malloc
stp w21, w19, [x0]
str xzr, [x0, #8]
ldr x8, [x20]
ldr w9, [x8, #4]
cmp w9, w19
b.gt LBB4_5
; %bb.1:
mov x8, x22
LBB4_2: ; =>This Inner Loop Header: Depth=1
mov x9, x8
ldr x8, [x8, #8]
cbz x8, LBB4_4
; %bb.3: ; in Loop: Header=BB4_2 Depth=1
ldr w10, [x8, #4]
cmp w10, w19
b.lt LBB4_2
LBB4_4:
add x20, x9, #8
LBB4_5:
str x8, [x0, #8]
str x0, [x20]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _isEmpty ; -- Begin function isEmpty
.p2align 2
_isEmpty: ; @isEmpty
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cmp x8, #0
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _printPQ ; -- Begin function printPQ
.p2align 2
_printPQ: ; @printPQ
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
ldr x8, [x19]
cbz x8, LBB6_3
; %bb.1:
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
LBB6_2: ; =>This Inner Loop Header: Depth=1
ldp w8, w9, [x8]
stp x9, x8, [sp]
mov x0, x20
bl _libmin_printf
ldr x0, [x19]
ldr x8, [x0, #8]
str x8, [x19]
bl _libmin_free
ldr x8, [x19]
cbnz x8, LBB6_2
LBB6_3:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _libmin_printf
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function main
lCPI7_0:
.long 4 ; 0x4
.long 1 ; 0x1
lCPI7_1:
.long 5 ; 0x5
.long 2 ; 0x2
lCPI7_2:
.long 6 ; 0x6
.long 3 ; 0x3
lCPI7_3:
.long 7 ; 0x7
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
mov w0, #16 ; =0x10
bl _libmin_malloc
mov x19, x0
Lloh6:
adrp x8, lCPI7_0@PAGE
Lloh7:
ldr d8, [x8, lCPI7_0@PAGEOFF]
str d8, [x0]
str xzr, [x0, #8]
str x0, [sp, #24]
mov w0, #16 ; =0x10
bl _libmin_malloc
Lloh8:
adrp x8, lCPI7_1@PAGE
Lloh9:
ldr d0, [x8, lCPI7_1@PAGEOFF]
str d0, [x0]
str xzr, [x0, #8]
ldr w8, [x19, #4]
cmp w8, #3
b.lt LBB7_2
; %bb.1:
add x8, sp, #24
b LBB7_5
LBB7_2: ; =>This Inner Loop Header: Depth=1
mov x8, x19
ldr x19, [x19, #8]
cbz x19, LBB7_4
; %bb.3: ; in Loop: Header=BB7_2 Depth=1
ldr w9, [x19, #4]
cmp w9, #2
b.lt LBB7_2
LBB7_4:
add x8, x8, #8
LBB7_5:
str x19, [x0, #8]
str x0, [x8]
ldr x19, [sp, #24]
mov w0, #16 ; =0x10
bl _libmin_malloc
Lloh10:
adrp x8, lCPI7_2@PAGE
Lloh11:
ldr d0, [x8, lCPI7_2@PAGEOFF]
str d0, [x0]
str xzr, [x0, #8]
ldr w8, [x19, #4]
cmp w8, #3
b.le LBB7_7
; %bb.6:
add x8, sp, #24
b LBB7_10
LBB7_7: ; =>This Inner Loop Header: Depth=1
mov x8, x19
ldr x19, [x19, #8]
cbz x19, LBB7_9
; %bb.8: ; in Loop: Header=BB7_7 Depth=1
ldr w9, [x19, #4]
cmp w9, #3
b.lt LBB7_7
LBB7_9:
add x8, x8, #8
LBB7_10:
str x19, [x0, #8]
str x0, [x8]
ldr x19, [sp, #24]
mov w0, #16 ; =0x10
bl _libmin_malloc
Lloh12:
adrp x8, lCPI7_3@PAGE
Lloh13:
ldr d0, [x8, lCPI7_3@PAGEOFF]
str d0, [x0]
str xzr, [x0, #8]
ldr w8, [x19, #4]
cmp w8, #0
b.le LBB7_13
; %bb.11:
add x8, sp, #24
b LBB7_15
LBB7_12: ; in Loop: Header=BB7_13 Depth=1
ldr w9, [x19, #4]
tbz w9, #31, LBB7_14
LBB7_13: ; =>This Inner Loop Header: Depth=1
mov x8, x19
ldr x19, [x19, #8]
cbnz x19, LBB7_12
LBB7_14:
add x8, x8, #8
LBB7_15:
str x19, [x0, #8]
str x0, [x8]
Lloh14:
adrp x0, l_.str@PAGE
Lloh15:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
ldr x19, [sp, #24]
cbz x19, LBB7_18
; %bb.16:
Lloh16:
adrp x20, l_.str.1@PAGE
Lloh17:
add x20, x20, l_.str.1@PAGEOFF
LBB7_17: ; =>This Inner Loop Header: Depth=1
ldp w9, w8, [x19]
stp x8, x9, [sp]
mov x0, x20
bl _libmin_printf
ldr x21, [x19, #8]
mov x0, x19
bl _libmin_free
mov x19, x21
cbnz x21, LBB7_17
LBB7_18:
Lloh18:
adrp x0, l_.str.2@PAGE
Lloh19:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov w0, #42 ; =0x2a
bl _libmin_srand
mov w0, #16 ; =0x10
bl _libmin_malloc
mov w19, #0 ; =0x0
str d8, [x0]
str xzr, [x0, #8]
str x0, [sp, #24]
mov w20, #19923 ; =0x4dd3
movk w20, #4194, lsl #16
mov w21, #250 ; =0xfa
b LBB7_21
LBB7_19: ; in Loop: Header=BB7_21 Depth=1
add x8, sp, #24
LBB7_20: ; in Loop: Header=BB7_21 Depth=1
str x22, [x0, #8]
str x0, [x8]
add w19, w19, #1
cmp w19, #250
b.eq LBB7_25
LBB7_21: ; =>This Loop Header: Depth=1
; Child Loop BB7_22 Depth 2
bl _libmin_rand
umull x8, w0, w20
lsr x8, x8, #36
msub w24, w8, w21, w0
bl _libmin_rand
umull x8, w0, w20
lsr x8, x8, #36
msub w23, w8, w21, w0
ldr x22, [sp, #24]
mov w0, #16 ; =0x10
bl _libmin_malloc
stp w24, w23, [x0]
str xzr, [x0, #8]
ldr w8, [x22, #4]
cmp w8, w23
b.gt LBB7_19
LBB7_22: ; Parent Loop BB7_21 Depth=1
; => This Inner Loop Header: Depth=2
mov x8, x22
ldr x22, [x22, #8]
cbz x22, LBB7_24
; %bb.23: ; in Loop: Header=BB7_22 Depth=2
ldr w9, [x22, #4]
cmp w9, w23
b.lt LBB7_22
LBB7_24: ; in Loop: Header=BB7_21 Depth=1
add x8, x8, #8
b LBB7_20
LBB7_25:
Lloh20:
adrp x0, l_.str@PAGE
Lloh21:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
ldr x19, [sp, #24]
cbz x19, LBB7_28
; %bb.26:
Lloh22:
adrp x20, l_.str.1@PAGE
Lloh23:
add x20, x20, l_.str.1@PAGEOFF
LBB7_27: ; =>This Inner Loop Header: Depth=1
ldp w9, w8, [x19]
stp x8, x9, [sp]
mov x0, x20
bl _libmin_printf
ldr x21, [x19, #8]
mov x0, x19
bl _libmin_free
mov x19, x21
cbnz x21, LBB7_27
LBB7_28:
Lloh24:
adrp x0, l_.str.2@PAGE
Lloh25:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpLdr Lloh6, Lloh7
.loh AdrpLdr Lloh10, Lloh11
.loh AdrpLdr Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "priorityQ: "
l_.str.1: ; @.str.1
.asciz "<prio:%d, val:%d> "
l_.str.2: ; @.str.2
.asciz "\n"
.subsections_via_symbols
|
sudoku-solver.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _isSafe ## -- Begin function isSafe
.p2align 4, 0x90
_isSafe: ## @isSafe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %edi, %rdi
leaq (%rdi,%rdi,8), %r8
leaq _board(%rip), %rcx
xorl %eax, %eax
cmpl %edx, (%rcx,%r8,4)
je LBB0_28
## %bb.1:
cmpl %edx, 4(%rcx,%r8,4)
je LBB0_28
## %bb.2:
cmpl %edx, 8(%rcx,%r8,4)
je LBB0_28
## %bb.3:
cmpl %edx, 12(%rcx,%r8,4)
je LBB0_28
## %bb.4:
cmpl %edx, 16(%rcx,%r8,4)
je LBB0_28
## %bb.5:
cmpl %edx, 20(%rcx,%r8,4)
je LBB0_28
## %bb.6:
cmpl %edx, 24(%rcx,%r8,4)
je LBB0_28
## %bb.7:
cmpl %edx, 28(%rcx,%r8,4)
je LBB0_28
## %bb.8:
cmpl %edx, 32(%rcx,%r8,4)
je LBB0_28
## %bb.9:
movslq %esi, %rsi
cmpl %edx, (%rcx,%rsi,4)
je LBB0_28
## %bb.10:
cmpl %edx, 36(%rcx,%rsi,4)
je LBB0_28
## %bb.11:
cmpl %edx, 72(%rcx,%rsi,4)
je LBB0_28
## %bb.12:
cmpl %edx, 108(%rcx,%rsi,4)
je LBB0_28
## %bb.13:
cmpl %edx, 144(%rcx,%rsi,4)
je LBB0_28
## %bb.14:
cmpl %edx, 180(%rcx,%rsi,4)
je LBB0_28
## %bb.15:
cmpl %edx, 216(%rcx,%rsi,4)
je LBB0_28
## %bb.16:
cmpl %edx, 252(%rcx,%rsi,4)
je LBB0_28
## %bb.17:
cmpl %edx, 288(%rcx,%rsi,4)
je LBB0_28
## %bb.18:
imulq $1431655766, %rdi, %rax ## imm = 0x55555556
movq %rax, %rdi
shrq $63, %rdi
shrq $32, %rax
addl %edi, %eax
leal (%rax,%rax,2), %eax
imulq $1431655766, %rsi, %rsi ## imm = 0x55555556
movq %rsi, %rdi
shrq $63, %rdi
shrq $32, %rsi
addl %edi, %esi
leal (%rsi,%rsi,2), %esi
movslq %eax, %rdi
movslq %esi, %rsi
leaq (%rdi,%rdi,8), %rdi
leaq (%rcx,%rdi,4), %rdi
cmpl %edx, (%rdi,%rsi,4)
je LBB0_27
## %bb.19:
cmpl %edx, 4(%rdi,%rsi,4)
je LBB0_27
## %bb.20:
cmpl %edx, 8(%rdi,%rsi,4)
je LBB0_27
## %bb.21:
leal 1(%rax), %edi
movslq %edi, %rdi
leaq (%rdi,%rdi,8), %rdi
leaq (%rcx,%rdi,4), %r9
cmpl %edx, (%r9,%rsi,4)
je LBB0_27
## %bb.22:
leaq 1(%rsi), %rdi
cmpl %edx, (%r9,%rdi,4)
je LBB0_27
## %bb.23:
leaq 2(%rsi), %r8
cmpl %edx, (%r9,%r8,4)
je LBB0_27
## %bb.24:
addl $2, %eax
cltq
leaq (%rax,%rax,8), %rax
leaq (%rcx,%rax,4), %rcx
cmpl %edx, (%rcx,%rsi,4)
je LBB0_27
## %bb.25:
cmpl %edx, (%rcx,%rdi,4)
je LBB0_27
## %bb.26:
movl $1, %eax
cmpl %edx, (%rcx,%r8,4)
jne LBB0_28
LBB0_27:
xorl %eax, %eax
LBB0_28:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _solveSudoku ## -- Begin function solveSudoku
.p2align 4, 0x90
_solveSudoku: ## @solveSudoku
.cfi_startproc
## %bb.0:
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
leaq _board(%rip), %r12
xorl %esi, %esi
xorl %ebx, %ebx
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, (%r12)
je LBB1_2
## %bb.30: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, 4(%r12)
je LBB1_31
## %bb.32: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, 8(%r12)
je LBB1_33
## %bb.34: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, 12(%r12)
je LBB1_35
## %bb.36: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, 16(%r12)
je LBB1_37
## %bb.38: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, 20(%r12)
je LBB1_39
## %bb.40: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, 24(%r12)
je LBB1_41
## %bb.42: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, 28(%r12)
je LBB1_43
## %bb.44: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, 32(%r12)
je LBB1_45
## %bb.46: ## in Loop: Header=BB1_1 Depth=1
incq %rbx
addq $36, %r12
cmpq $9, %rbx
jne LBB1_1
## %bb.47:
movl $1, %r14d
jmp LBB1_48
LBB1_31:
movl $1, %esi
jmp LBB1_2
LBB1_33:
movl $2, %esi
jmp LBB1_2
LBB1_35:
movl $3, %esi
jmp LBB1_2
LBB1_37:
movl $4, %esi
jmp LBB1_2
LBB1_39:
movl $5, %esi
jmp LBB1_2
LBB1_41:
movl $6, %esi
jmp LBB1_2
LBB1_43:
movl $7, %esi
jmp LBB1_2
LBB1_45:
movl $8, %esi
LBB1_2:
movl %esi, %r15d
movl $1, %r14d
movl %ebx, %edi
## kill: def $esi killed $esi killed $rsi
movl $1, %edx
callq _isSafe
testl %eax, %eax
je LBB1_5
## %bb.3:
movl $1, (%r12,%r15,4)
callq _solveSudoku
testl %eax, %eax
jne LBB1_48
## %bb.4:
movl $0, (%r12,%r15,4)
LBB1_5:
movl %ebx, %edi
movl %r15d, %esi
movl $2, %edx
callq _isSafe
testl %eax, %eax
je LBB1_8
## %bb.6:
movl $2, (%r12,%r15,4)
callq _solveSudoku
testl %eax, %eax
jne LBB1_48
## %bb.7:
movl $0, (%r12,%r15,4)
LBB1_8:
movl %ebx, %edi
movl %r15d, %esi
movl $3, %edx
callq _isSafe
testl %eax, %eax
je LBB1_11
## %bb.9:
movl $3, (%r12,%r15,4)
callq _solveSudoku
testl %eax, %eax
jne LBB1_48
## %bb.10:
movl $0, (%r12,%r15,4)
LBB1_11:
movl %ebx, %edi
movl %r15d, %esi
movl $4, %edx
callq _isSafe
testl %eax, %eax
je LBB1_14
## %bb.12:
movl $4, (%r12,%r15,4)
callq _solveSudoku
testl %eax, %eax
jne LBB1_48
## %bb.13:
movl $0, (%r12,%r15,4)
LBB1_14:
movl %ebx, %edi
movl %r15d, %esi
movl $5, %edx
callq _isSafe
testl %eax, %eax
je LBB1_17
## %bb.15:
movl $5, (%r12,%r15,4)
callq _solveSudoku
testl %eax, %eax
jne LBB1_48
## %bb.16:
movl $0, (%r12,%r15,4)
LBB1_17:
movl %ebx, %edi
movl %r15d, %esi
movl $6, %edx
callq _isSafe
testl %eax, %eax
je LBB1_20
## %bb.18:
movl $6, (%r12,%r15,4)
callq _solveSudoku
testl %eax, %eax
jne LBB1_48
## %bb.19:
movl $0, (%r12,%r15,4)
LBB1_20:
movl %ebx, %edi
movl %r15d, %esi
movl $7, %edx
callq _isSafe
testl %eax, %eax
je LBB1_23
## %bb.21:
movl $7, (%r12,%r15,4)
callq _solveSudoku
testl %eax, %eax
jne LBB1_48
## %bb.22:
movl $0, (%r12,%r15,4)
LBB1_23:
movl %ebx, %edi
movl %r15d, %esi
movl $8, %edx
callq _isSafe
testl %eax, %eax
je LBB1_26
## %bb.24:
movl $8, (%r12,%r15,4)
callq _solveSudoku
testl %eax, %eax
jne LBB1_48
## %bb.25:
movl $0, (%r12,%r15,4)
LBB1_26:
movl %ebx, %edi
movl %r15d, %esi
movl $9, %edx
callq _isSafe
testl %eax, %eax
je LBB1_29
## %bb.27:
movl $9, (%r12,%r15,4)
callq _solveSudoku
testl %eax, %eax
jne LBB1_48
## %bb.28:
movl $0, (%r12,%r15,4)
LBB1_29:
xorl %r14d, %r14d
LBB1_48:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printBoard ## -- Begin function printBoard
.p2align 4, 0x90
_printBoard: ## @printBoard
.cfi_startproc
## %bb.0:
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 $32, %r15d
leaq _board(%rip), %r12
leaq L_.str(%rip), %rbx
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -32(%r15,%r12), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -28(%r15,%r12), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -24(%r15,%r12), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -20(%r15,%r12), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -16(%r15,%r12), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -12(%r15,%r12), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -8(%r15,%r12), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -4(%r15,%r12), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl (%r15,%r12), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
addq $36, %r15
cmpq $356, %r15 ## imm = 0x164
jne LBB2_1
## %bb.2:
popq %rbx
popq %r12
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
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _printBoard
callq _solveSudoku
testl %eax, %eax
je LBB3_2
## %bb.1:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _printBoard
callq _libtarg_success
jmp LBB3_3
LBB3_2:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libtarg_fail
LBB3_3:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_.str.1: ## @.str.1
.asciz "\n"
L_.str.2: ## @.str.2
.asciz "Initial Sudoku Puzzle:\n"
L_.str.3: ## @.str.3
.asciz "\nSolved Sudoku Puzzle:\n"
L_.str.4: ## @.str.4
.asciz "No solution found.\n"
.section __DATA,__data
.p2align 4, 0x0 ## @board
_board:
.long 8 ## 0x8
.space 32
.long 0 ## 0x0
.long 0 ## 0x0
.long 3 ## 0x3
.long 6 ## 0x6
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 7 ## 0x7
.long 0 ## 0x0
.long 0 ## 0x0
.long 9 ## 0x9
.long 0 ## 0x0
.long 2 ## 0x2
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 5 ## 0x5
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 7 ## 0x7
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 4 ## 0x4
.long 5 ## 0x5
.long 7 ## 0x7
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 3 ## 0x3
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 6 ## 0x6
.long 8 ## 0x8
.long 0 ## 0x0
.long 0 ## 0x0
.long 8 ## 0x8
.long 5 ## 0x5
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 9 ## 0x9
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 4 ## 0x4
.long 0 ## 0x0
.long 0 ## 0x0
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _isSafe ; -- Begin function isSafe
.p2align 2
_isSafe: ; @isSafe
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
; kill: def $w0 killed $w0 def $x0
mov w8, #36 ; =0x24
smull x9, w0, w8
Lloh0:
adrp x8, _board@PAGE
Lloh1:
add x8, x8, _board@PAGEOFF
ldr w9, [x8, x9]
cmp w9, w2
b.eq LBB0_27
; %bb.1:
sxtw x9, w0
mov w10, #36 ; =0x24
smaddl x10, w9, w10, x8
ldr w10, [x10, #4]
cmp w10, w2
b.eq LBB0_27
; %bb.2:
mov w10, #36 ; =0x24
smaddl x10, w9, w10, x8
ldr w10, [x10, #8]
cmp w10, w2
b.eq LBB0_27
; %bb.3:
mov w10, #36 ; =0x24
smaddl x10, w9, w10, x8
ldr w10, [x10, #12]
cmp w10, w2
b.eq LBB0_27
; %bb.4:
mov w10, #36 ; =0x24
smaddl x10, w9, w10, x8
ldr w10, [x10, #16]
cmp w10, w2
b.eq LBB0_27
; %bb.5:
mov w10, #36 ; =0x24
smaddl x10, w9, w10, x8
ldr w10, [x10, #20]
cmp w10, w2
b.eq LBB0_27
; %bb.6:
mov w10, #36 ; =0x24
smaddl x10, w9, w10, x8
ldr w10, [x10, #24]
cmp w10, w2
b.eq LBB0_27
; %bb.7:
mov w10, #36 ; =0x24
smaddl x10, w9, w10, x8
ldr w10, [x10, #28]
cmp w10, w2
b.eq LBB0_27
; %bb.8:
mov w10, #36 ; =0x24
smaddl x10, w9, w10, x8
ldr w10, [x10, #32]
cmp w10, w2
b.eq LBB0_27
; %bb.9:
ldr w10, [x8, w1, sxtw #2]
cmp w10, w2
b.eq LBB0_27
; %bb.10:
sxtw x10, w1
add x11, x8, x10, lsl #2
ldr w12, [x11, #36]
cmp w12, w2
b.eq LBB0_27
; %bb.11:
ldr w11, [x11, #72]
cmp w11, w2
b.eq LBB0_27
; %bb.12:
add x11, x8, x10, lsl #2
ldr w12, [x11, #108]
cmp w12, w2
b.eq LBB0_27
; %bb.13:
ldr w11, [x11, #144]
cmp w11, w2
b.eq LBB0_27
; %bb.14:
add x11, x8, x10, lsl #2
ldr w12, [x11, #180]
cmp w12, w2
b.eq LBB0_27
; %bb.15:
ldr w11, [x11, #216]
cmp w11, w2
b.eq LBB0_27
; %bb.16:
add x11, x8, x10, lsl #2
ldr w12, [x11, #252]
cmp w12, w2
b.eq LBB0_27
; %bb.17:
ldr w11, [x11, #288]
cmp w11, w2
b.eq LBB0_27
; %bb.18:
mov w11, #21846 ; =0x5556
movk w11, #21845, lsl #16
smull x12, w0, w11
lsr x13, x12, #63
lsr x12, x12, #32
add w12, w12, w13
add w12, w12, w12, lsl #1
sub w12, w0, w12
sub x9, x9, w12, sxtw
smull x11, w1, w11
lsr x12, x11, #63
lsr x11, x11, #32
add w11, w11, w12
add w11, w11, w11, lsl #1
sub w11, w1, w11
sub x10, x10, w11, sxtw
mov w11, #36 ; =0x24
madd x11, x9, x11, x8
ldr w11, [x11, x10, lsl #2]
cmp w11, w2
b.eq LBB0_27
; %bb.19:
sxtw x11, w10
add x11, x11, #1
mov w12, #36 ; =0x24
madd x12, x9, x12, x8
ldr w12, [x12, x11, lsl #2]
cmp w12, w2
b.eq LBB0_27
; %bb.20:
add x12, x10, #2
mov w13, #36 ; =0x24
madd x13, x9, x13, x8
ldr w13, [x13, x12, lsl #2]
cmp w13, w2
b.eq LBB0_27
; %bb.21:
sxtw x13, w9
add x13, x13, #1
mov w14, #36 ; =0x24
madd x14, x13, x14, x8
ldr w14, [x14, x10, lsl #2]
cmp w14, w2
b.eq LBB0_27
; %bb.22:
mov w14, #36 ; =0x24
madd x14, x13, x14, x8
ldr w14, [x14, x11, lsl #2]
cmp w14, w2
b.eq LBB0_27
; %bb.23:
mov w14, #36 ; =0x24
madd x13, x13, x14, x8
ldr w13, [x13, x12, lsl #2]
cmp w13, w2
b.eq LBB0_27
; %bb.24:
add x9, x9, #2
mov w13, #36 ; =0x24
madd x13, x9, x13, x8
ldr w10, [x13, x10, lsl #2]
cmp w10, w2
b.eq LBB0_27
; %bb.25:
mov w10, #36 ; =0x24
madd x10, x9, x10, x8
ldr w10, [x10, x11, lsl #2]
cmp w10, w2
b.eq LBB0_27
; %bb.26:
mov w10, #36 ; =0x24
madd x8, x9, x10, x8
ldr w8, [x8, x12, lsl #2]
cmp w8, w2
b.ne LBB0_28
LBB0_27:
mov w0, #0 ; =0x0
ret
LBB0_28:
mov w0, #1 ; =0x1
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _solveSudoku ; -- Begin function solveSudoku
.p2align 2
_solveSudoku: ; @solveSudoku
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, #0 ; =0x0
Lloh2:
adrp x22, _board@PAGE
Lloh3:
add x22, x22, _board@PAGEOFF
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [x22]
cbz w8, LBB1_11
; %bb.2: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [x22, #4]
cbz w8, LBB1_12
; %bb.3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [x22, #8]
cbz w8, LBB1_13
; %bb.4: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [x22, #12]
cbz w8, LBB1_14
; %bb.5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [x22, #16]
cbz w8, LBB1_15
; %bb.6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [x22, #20]
cbz w8, LBB1_16
; %bb.7: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [x22, #24]
cbz w8, LBB1_17
; %bb.8: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [x22, #28]
cbz w8, LBB1_18
; %bb.9: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [x22, #32]
cbz w8, LBB1_19
; %bb.10: ; in Loop: Header=BB1_1 Depth=1
add x19, x19, #1
add x22, x22, #36
cmp x19, #9
b.ne LBB1_1
b LBB1_46
LBB1_11:
mov w1, #0 ; =0x0
b LBB1_20
LBB1_12:
mov w1, #1 ; =0x1
b LBB1_20
LBB1_13:
mov w1, #2 ; =0x2
b LBB1_20
LBB1_14:
mov w1, #3 ; =0x3
b LBB1_20
LBB1_15:
mov w1, #4 ; =0x4
b LBB1_20
LBB1_16:
mov w1, #5 ; =0x5
b LBB1_20
LBB1_17:
mov w1, #6 ; =0x6
b LBB1_20
LBB1_18:
mov w1, #7 ; =0x7
b LBB1_20
LBB1_19:
mov w1, #8 ; =0x8
LBB1_20:
mov w20, w1
mov w21, #1 ; =0x1
mov x0, x19
mov w2, #1 ; =0x1
bl _isSafe
cbz w0, LBB1_23
; %bb.21:
str w21, [x22, x20, lsl #2]
bl _solveSudoku
cbnz w0, LBB1_47
; %bb.22:
str wzr, [x22, x20, lsl #2]
LBB1_23:
mov w21, #2 ; =0x2
mov x0, x19
mov x1, x20
mov w2, #2 ; =0x2
bl _isSafe
cbz w0, LBB1_26
; %bb.24:
str w21, [x22, x20, lsl #2]
bl _solveSudoku
cbnz w0, LBB1_46
; %bb.25:
str wzr, [x22, x20, lsl #2]
LBB1_26:
mov w21, #3 ; =0x3
mov x0, x19
mov x1, x20
mov w2, #3 ; =0x3
bl _isSafe
cbz w0, LBB1_29
; %bb.27:
str w21, [x22, x20, lsl #2]
bl _solveSudoku
cbnz w0, LBB1_46
; %bb.28:
str wzr, [x22, x20, lsl #2]
LBB1_29:
mov w21, #4 ; =0x4
mov x0, x19
mov x1, x20
mov w2, #4 ; =0x4
bl _isSafe
cbz w0, LBB1_32
; %bb.30:
str w21, [x22, x20, lsl #2]
bl _solveSudoku
cbnz w0, LBB1_46
; %bb.31:
str wzr, [x22, x20, lsl #2]
LBB1_32:
mov w21, #5 ; =0x5
mov x0, x19
mov x1, x20
mov w2, #5 ; =0x5
bl _isSafe
cbz w0, LBB1_35
; %bb.33:
str w21, [x22, x20, lsl #2]
bl _solveSudoku
cbnz w0, LBB1_46
; %bb.34:
str wzr, [x22, x20, lsl #2]
LBB1_35:
mov w21, #6 ; =0x6
mov x0, x19
mov x1, x20
mov w2, #6 ; =0x6
bl _isSafe
cbz w0, LBB1_38
; %bb.36:
str w21, [x22, x20, lsl #2]
bl _solveSudoku
cbnz w0, LBB1_46
; %bb.37:
str wzr, [x22, x20, lsl #2]
LBB1_38:
mov w21, #7 ; =0x7
mov x0, x19
mov x1, x20
mov w2, #7 ; =0x7
bl _isSafe
cbz w0, LBB1_41
; %bb.39:
str w21, [x22, x20, lsl #2]
bl _solveSudoku
cbnz w0, LBB1_46
; %bb.40:
str wzr, [x22, x20, lsl #2]
LBB1_41:
mov w21, #8 ; =0x8
mov x0, x19
mov x1, x20
mov w2, #8 ; =0x8
bl _isSafe
cbz w0, LBB1_44
; %bb.42:
str w21, [x22, x20, lsl #2]
bl _solveSudoku
cbnz w0, LBB1_46
; %bb.43:
str wzr, [x22, x20, lsl #2]
LBB1_44:
mov w21, #9 ; =0x9
mov x0, x19
mov x1, x20
mov w2, #9 ; =0x9
bl _isSafe
cbz w0, LBB1_48
; %bb.45:
str w21, [x22, x20, lsl #2]
bl _solveSudoku
cbz w0, LBB1_49
LBB1_46:
mov w21, #1 ; =0x1
LBB1_47:
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB1_48:
mov w21, #0 ; =0x0
b LBB1_47
LBB1_49:
mov w21, #0 ; =0x0
str wzr, [x22, x20, lsl #2]
b LBB1_47
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _printBoard ; -- Begin function printBoard
.p2align 2
_printBoard: ; @printBoard
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, #0 ; =0x0
Lloh4:
adrp x22, _board@PAGE
Lloh5:
add x22, x22, _board@PAGEOFF
Lloh6:
adrp x19, l_.str@PAGE
Lloh7:
add x19, x19, l_.str@PAGEOFF
Lloh8:
adrp x20, l_.str.1@PAGE
Lloh9:
add x20, x20, l_.str.1@PAGEOFF
LBB2_1: ; =>This Inner Loop Header: Depth=1
add x23, x22, x21
ldr w8, [x23]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x23, #4]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x23, #8]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x23, #12]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x23, #16]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x23, #20]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x23, #24]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x23, #28]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x23, #32]
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov x0, x20
bl _libmin_printf
add x21, x21, #36
cmp x21, #324
b.ne LBB2_1
; %bb.2:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
bl _printBoard
bl _solveSudoku
cbz w0, LBB3_2
; %bb.1:
Lloh12:
adrp x0, l_.str.3@PAGE
Lloh13:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
bl _printBoard
bl _libtarg_success
b LBB3_3
LBB3_2:
Lloh14:
adrp x0, l_.str.4@PAGE
Lloh15:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libtarg_fail
LBB3_3:
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.asciz "Initial Sudoku Puzzle:\n"
l_.str.3: ; @.str.3
.asciz "\nSolved Sudoku Puzzle:\n"
l_.str.4: ; @.str.4
.asciz "No solution found.\n"
.section __DATA,__data
.p2align 2, 0x0 ; @board
_board:
.long 8 ; 0x8
.space 32
.long 0 ; 0x0
.long 0 ; 0x0
.long 3 ; 0x3
.long 6 ; 0x6
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 7 ; 0x7
.long 0 ; 0x0
.long 0 ; 0x0
.long 9 ; 0x9
.long 0 ; 0x0
.long 2 ; 0x2
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 5 ; 0x5
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 7 ; 0x7
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 4 ; 0x4
.long 5 ; 0x5
.long 7 ; 0x7
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 3 ; 0x3
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 6 ; 0x6
.long 8 ; 0x8
.long 0 ; 0x0
.long 0 ; 0x0
.long 8 ; 0x8
.long 5 ; 0x5
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 9 ; 0x9
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 4 ; 0x4
.long 0 ; 0x0
.long 0 ; 0x0
.subsections_via_symbols
|
lz-compress.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _lz77_compress ## -- Begin function lz77_compress
.p2align 4, 0x90
_lz77_compress: ## @lz77_compress
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r15d
## kill: def $esi killed $esi def $rsi
movl %esi, (%rdx)
movb %r15b, 4(%rdx)
testl %esi, %esi
je LBB0_1
## %bb.2:
movl $1, %r9d
movl %r15d, %ecx
shll %cl, %r9d
movl $1, %r8d
movb $16, %cl
subb %r15b, %cl
shll %cl, %r8d
movzwl %r8w, %ecx
movl %ecx, -48(%rbp) ## 4-byte Spill
leal -1(%rsi), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
decl %r9d
movl $5, %eax
xorl %r8d, %r8d
movl %r15d, -44(%rbp) ## 4-byte Spill
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %rsi, -80(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
xorl %ecx, %ecx
movl %r8d, %r10d
LBB0_23: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %r11d
movw %cx, (%rdx,%r11)
leal 2(%rax), %r11d
movl %r10d, %ecx
movzbl (%rdi,%rcx), %ecx
addl $3, %eax
movb %cl, (%rdx,%r11)
incl %r8d
cmpl %esi, %r8d
movl -44(%rbp), %r15d ## 4-byte Reload
jae LBB0_24
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
## Child Loop BB0_10 Depth 3
cmpl $2, -48(%rbp) ## 4-byte Folded Reload
jb LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
testl %r8d, %r8d
je LBB0_4
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq %rax, -72(%rbp) ## 8-byte Spill
movl %r8d, %ecx
movzbl (%rdi,%rcx), %ecx
leal 1(%r8), %r13d
movl $1, %r11d
movl $1, %ebx
xorl %eax, %eax
movl %r8d, %r14d
xorl %r10d, %r10d
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_10 Depth 3
movl %r8d, %edx
subl %r11d, %edx
xorl %r12d, %r12d
cmpb (%rdi,%rdx), %cl
jne LBB0_16
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
cmpb $15, %r15b
ja LBB0_16
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movl %eax, %r15d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_7 Depth=2
## => This Inner Loop Header: Depth=3
movl %r12d, %esi
leal (%r14,%rsi), %edx
leal (%rsi,%r13), %r12d
movzbl (%rdi,%r12), %eax
leal 1(%rsi), %r12d
cmpb (%rdi,%rdx), %al
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=3
cmpw %si, %r9w
jne LBB0_10
LBB0_12: ## in Loop: Header=BB0_7 Depth=2
cmpw %r10w, %r12w
seta %dl
testb $1, %dl
je LBB0_15
## %bb.13: ## in Loop: Header=BB0_7 Depth=2
cmpw %si, %r9w
je LBB0_14
LBB0_15: ## in Loop: Header=BB0_7 Depth=2
testb $1, %dl
movl %r15d, %eax
cmovnel %ebx, %eax
movl -44(%rbp), %r15d ## 4-byte Reload
LBB0_16: ## in Loop: Header=BB0_7 Depth=2
cmpw %r10w, %r12w
cmoval %r12d, %r10d
leal 1(%rbx), %edx
cmpl %edx, -48(%rbp) ## 4-byte Folded Reload
jbe LBB0_18
## %bb.17: ## in Loop: Header=BB0_7 Depth=2
incq %r11
decl %r14d
cmpl %ebx, %r8d
movl %edx, %ebx
ja LBB0_7
jmp LBB0_18
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
movl %r12d, %r10d
movl %ebx, %eax
movl -44(%rbp), %r15d ## 4-byte Reload
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
movzwl %r10w, %r10d
addl %r10d, %r8d
testw %r10w, %r10w
movq -80(%rbp), %rsi ## 8-byte Reload
je LBB0_21
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
cmpl %esi, %r8d
jne LBB0_21
## %bb.20: ## in Loop: Header=BB0_3 Depth=1
movzwl %ax, %edx
movl %r15d, %ecx
shll %cl, %edx
leal -2(%r10), %ecx
orl %edx, %ecx
cmpl $1, %r10d
movl $0, %eax
cmovel %eax, %ecx
movl -52(%rbp), %r10d ## 4-byte Reload
jmp LBB0_22
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_3 Depth=1
movzwl %ax, %edx
movl %r15d, %ecx
shll %cl, %edx
leal 65535(%r10), %ecx
testl %r10d, %r10d
cmovel %r10d, %ecx
orl %edx, %ecx
movl %r8d, %r10d
LBB0_22: ## in Loop: Header=BB0_3 Depth=1
movq -64(%rbp), %rdx ## 8-byte Reload
movq -72(%rbp), %rax ## 8-byte Reload
jmp LBB0_23
LBB0_1:
movl $5, %eax
LBB0_24:
## kill: def $eax killed $eax killed $rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _lz77_decompress ## -- Begin function lz77_decompress
.p2align 4, 0x90
_lz77_decompress: ## @lz77_decompress
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl (%rdi), %edx
testl %edx, %edx
je LBB1_27
## %bb.1:
movzbl 4(%rdi), %ecx
movl $-1, %eax
shll %cl, %eax
notl %eax
movl $5, %r8d
xorl %ebx, %ebx
movzwl %ax, %r9d
jmp LBB1_4
.p2align 4, 0x90
LBB1_2: ## in Loop: Header=BB1_4 Depth=1
movl %ebx, %eax
LBB1_3: ## in Loop: Header=BB1_4 Depth=1
leal 2(%r8), %r10d
addl $3, %r8d
movl %r10d, %r10d
movzbl (%rdi,%r10), %r10d
movl %eax, %r11d
movb %r10b, (%rsi,%r11)
incl %eax
movl %eax, %ebx
cmpl %edx, %eax
jae LBB1_28
LBB1_4: ## =>This Loop Header: Depth=1
## Child Loop BB1_25 Depth 2
## Child Loop BB1_11 Depth 2
## Child Loop BB1_20 Depth 2
movl %r8d, %eax
movzwl (%rdi,%rax), %eax
movl %eax, %r14d
shrl %cl, %r14d
testl %r14d, %r14d
je LBB1_2
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
andl %r9d, %eax
movl %eax, %r11d
incw %r11w
je LBB1_2
## %bb.7: ## in Loop: Header=BB1_4 Depth=1
movl %ebx, %r10d
subl %r14d, %r10d
cmpw $32, %r11w
jae LBB1_13
LBB1_8: ## in Loop: Header=BB1_4 Depth=1
movl %ebx, %eax
LBB1_9: ## in Loop: Header=BB1_4 Depth=1
testb $3, %r11b
je LBB1_17
## %bb.10: ## in Loop: Header=BB1_4 Depth=1
movl %r11d, %ebx
andl $3, %ebx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB1_11: ## Parent Loop BB1_4 Depth=1
## => This Inner Loop Header: Depth=2
leal (%r10,%r14), %r15d
leal (%rax,%r14), %r12d
movzbl (%rsi,%r15), %r15d
movb %r15b, (%rsi,%r12)
incl %r14d
cmpw %r14w, %bx
jne LBB1_11
## %bb.12: ## in Loop: Header=BB1_4 Depth=1
movl %r11d, %ebx
subl %r14d, %ebx
addl %r14d, %r10d
addl %r14d, %eax
jmp LBB1_18
LBB1_13: ## in Loop: Header=BB1_4 Depth=1
movzwl %ax, %r15d
addl %r10d, %r15d
setb %r15b
addl %ebx, %eax
jb LBB1_8
## %bb.14: ## in Loop: Header=BB1_4 Depth=1
testb %r15b, %r15b
jne LBB1_8
## %bb.15: ## in Loop: Header=BB1_4 Depth=1
movl %ebx, %eax
addq %rsi, %rax
movl %r10d, %r15d
addq %rsi, %r15
subq %r15, %rax
cmpq $32, %rax
jb LBB1_8
## %bb.24: ## in Loop: Header=BB1_4 Depth=1
movzwl %r11w, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl %eax, %r12d
andl $-32, %r12d
subl %r12d, %r11d
addl %r12d, %r10d
leal (%rbx,%r12), %eax
negl %r14d
movl %r12d, %r13d
.p2align 4, 0x90
LBB1_25: ## Parent Loop BB1_4 Depth=1
## => This Inner Loop Header: Depth=2
leal (%r14,%rbx), %r15d
movups (%rsi,%r15), %xmm0
movups 16(%rsi,%r15), %xmm1
movl %ebx, %r15d
movups %xmm0, (%rsi,%r15)
movups %xmm1, 16(%rsi,%r15)
addl $32, %ebx
addl $-32, %r13d
jne LBB1_25
## %bb.26: ## in Loop: Header=BB1_4 Depth=1
cmpl -44(%rbp), %r12d ## 4-byte Folded Reload
je LBB1_3
jmp LBB1_9
LBB1_17: ## in Loop: Header=BB1_4 Depth=1
movl %r11d, %ebx
LBB1_18: ## in Loop: Header=BB1_4 Depth=1
decl %r11d
cmpw $3, %r11w
jb LBB1_3
## %bb.19: ## in Loop: Header=BB1_4 Depth=1
xorl %r11d, %r11d
.p2align 4, 0x90
LBB1_20: ## Parent Loop BB1_4 Depth=1
## => This Inner Loop Header: Depth=2
leal (%r10,%r11), %r14d
leal (%rax,%r11), %r15d
leal (%r10,%r11), %r12d
incl %r12d
movzbl (%rsi,%r14), %r14d
leal 1(%rax,%r11), %r13d
movb %r14b, (%rsi,%r15)
leal 2(%r10,%r11), %r14d
movzbl (%rsi,%r12), %r15d
leal 2(%rax,%r11), %r12d
movb %r15b, (%rsi,%r13)
leal 3(%r10,%r11), %r15d
movzbl (%rsi,%r14), %r14d
leal 3(%rax,%r11), %r13d
movb %r14b, (%rsi,%r12)
movzbl (%rsi,%r15), %r14d
movb %r14b, (%rsi,%r13)
addl $4, %r11d
cmpw %r11w, %bx
jne LBB1_20
## %bb.21: ## in Loop: Header=BB1_4 Depth=1
addl %r11d, %eax
jmp LBB1_3
LBB1_27:
xorl %eax, %eax
LBB1_28:
## kill: def $eax killed $eax killed $rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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 _infile(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _libmin_mopen
movq _infile(%rip), %rdi
callq _libmin_msize
movq %rax, %r15
leaq L_.str.2(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _libmin_printf
movl %r15d, %ebx
movq %rbx, %rdi
callq _libmin_malloc
movq %rax, %r14
movq _infile(%rip), %rdx
movq %rax, %rdi
movq %rbx, %rsi
callq _libmin_mread
cmpq %rax, %rbx
jne LBB2_39
## %bb.1:
movq %rbx, -72(%rbp) ## 8-byte Spill
movq _infile(%rip), %rdi
callq _libmin_mclose
movl $262144, %edi ## imm = 0x40000
callq _libmin_malloc
movq %rax, %r12
movl $1, %ebx
movq %r15, -64(%rbp) ## 8-byte Spill
jmp LBB2_3
.p2align 4, 0x90
LBB2_2: ## in Loop: Header=BB2_3 Depth=1
leaq L_.str.3(%rip), %rdi
movl -52(%rbp), %ebx ## 4-byte Reload
movl %ebx, %esi
movl -48(%rbp), %edx ## 4-byte Reload
movl %r15d, %ecx
xorl %eax, %eax
callq _libmin_printf
incl %ebx
cmpl $16, %ebx
je LBB2_35
LBB2_3: ## =>This Loop Header: Depth=1
## Child Loop BB2_9 Depth 2
## Child Loop BB2_21 Depth 3
## Child Loop BB2_25 Depth 3
## Child Loop BB2_30 Depth 3
movl %ebx, -52(%rbp) ## 4-byte Spill
movzbl %bl, %ecx
movq %r14, %rdi
movl %r15d, %esi
movq %r12, %rdx
callq _lz77_compress
movl %eax, -48(%rbp) ## 4-byte Spill
cmpl $262144, %eax ## imm = 0x40000
jb LBB2_5
## %bb.4: ## in Loop: Header=BB2_3 Depth=1
movl $1, %edi
callq _libmin_fail
LBB2_5: ## in Loop: Header=BB2_3 Depth=1
movl (%r12), %eax
testl %eax, %eax
je LBB2_32
## %bb.6: ## in Loop: Header=BB2_3 Depth=1
movzbl 4(%r12), %ecx
movl $-1, %edx
shll %cl, %edx
notl %edx
movl $5, %esi
xorl %r10d, %r10d
jmp LBB2_9
.p2align 4, 0x90
LBB2_7: ## in Loop: Header=BB2_9 Depth=2
movl %r10d, %r8d
LBB2_8: ## in Loop: Header=BB2_9 Depth=2
leal 2(%rsi), %edi
addl $3, %esi
movl %edi, %edi
movzbl (%r12,%rdi), %edi
movl %r8d, %r9d
movb %dil, (%r14,%r9)
incl %r8d
movl %r8d, %r10d
cmpl %eax, %r8d
jae LBB2_33
LBB2_9: ## Parent Loop BB2_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_21 Depth 3
## Child Loop BB2_25 Depth 3
## Child Loop BB2_30 Depth 3
movl %esi, %edi
movzwl (%r12,%rdi), %r8d
movl %r8d, %r11d
shrl %cl, %r11d
testl %r11d, %r11d
je LBB2_7
## %bb.10: ## in Loop: Header=BB2_9 Depth=2
movzwl %dx, %edi
andl %edi, %r8d
movl %r8d, %r9d
incw %r9w
je LBB2_7
## %bb.12: ## in Loop: Header=BB2_9 Depth=2
movl %r10d, %edi
subl %r11d, %edi
cmpw $32, %r9w
jb LBB2_13
## %bb.14: ## in Loop: Header=BB2_9 Depth=2
movzwl %r8w, %ebx
addl %edi, %ebx
setb %bl
addl %r10d, %r8d
jb LBB2_13
## %bb.15: ## in Loop: Header=BB2_9 Depth=2
testb %bl, %bl
jne LBB2_13
## %bb.16: ## in Loop: Header=BB2_9 Depth=2
movl %r10d, %r8d
addq %r14, %r8
movl %edi, %ebx
addq %r14, %rbx
subq %rbx, %r8
cmpq $32, %r8
jae LBB2_20
.p2align 4, 0x90
LBB2_13: ## in Loop: Header=BB2_9 Depth=2
movl %r10d, %r8d
LBB2_23: ## in Loop: Header=BB2_9 Depth=2
testb $3, %r9b
je LBB2_27
## %bb.24: ## in Loop: Header=BB2_9 Depth=2
movl %r9d, %r10d
andl $3, %r10d
xorl %r11d, %r11d
.p2align 4, 0x90
LBB2_25: ## Parent Loop BB2_3 Depth=1
## Parent Loop BB2_9 Depth=2
## => This Inner Loop Header: Depth=3
leal (%rdi,%r11), %ebx
leal (%r8,%r11), %r15d
movzbl (%r14,%rbx), %ebx
movb %bl, (%r14,%r15)
incl %r11d
cmpw %r11w, %r10w
jne LBB2_25
## %bb.26: ## in Loop: Header=BB2_9 Depth=2
movl %r9d, %r10d
subl %r11d, %r10d
addl %r11d, %edi
addl %r11d, %r8d
jmp LBB2_28
LBB2_27: ## in Loop: Header=BB2_9 Depth=2
movl %r9d, %r10d
LBB2_28: ## in Loop: Header=BB2_9 Depth=2
decl %r9d
cmpw $3, %r9w
jb LBB2_8
## %bb.29: ## in Loop: Header=BB2_9 Depth=2
xorl %r9d, %r9d
.p2align 4, 0x90
LBB2_30: ## Parent Loop BB2_3 Depth=1
## Parent Loop BB2_9 Depth=2
## => This Inner Loop Header: Depth=3
leal (%rdi,%r9), %r11d
leal (%r8,%r9), %ebx
leal (%rdi,%r9), %r15d
incl %r15d
movzbl (%r14,%r11), %r11d
leal 1(%r8,%r9), %r13d
movb %r11b, (%r14,%rbx)
leal 2(%rdi,%r9), %r11d
movzbl (%r14,%r15), %ebx
leal 2(%r8,%r9), %r15d
movb %bl, (%r14,%r13)
leal 3(%rdi,%r9), %ebx
movzbl (%r14,%r11), %r11d
leal 3(%r8,%r9), %r13d
movb %r11b, (%r14,%r15)
movzbl (%r14,%rbx), %r11d
movb %r11b, (%r14,%r13)
addl $4, %r9d
cmpw %r9w, %r10w
jne LBB2_30
## %bb.31: ## in Loop: Header=BB2_9 Depth=2
addl %r9d, %r8d
jmp LBB2_8
LBB2_20: ## in Loop: Header=BB2_9 Depth=2
movzwl %r9w, %r8d
movl %r8d, -44(%rbp) ## 4-byte Spill
movl %r8d, %ebx
andl $-32, %ebx
subl %ebx, %r9d
addl %ebx, %edi
leal (%r10,%rbx), %r8d
negl %r11d
movl %ebx, %r13d
.p2align 4, 0x90
LBB2_21: ## Parent Loop BB2_3 Depth=1
## Parent Loop BB2_9 Depth=2
## => This Inner Loop Header: Depth=3
leal (%r11,%r10), %r15d
movups (%r14,%r15), %xmm0
movups 16(%r14,%r15), %xmm1
movl %r10d, %r15d
movups %xmm0, (%r14,%r15)
movups %xmm1, 16(%r14,%r15)
addl $32, %r10d
addl $-32, %r13d
jne LBB2_21
## %bb.22: ## in Loop: Header=BB2_9 Depth=2
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
je LBB2_8
jmp LBB2_23
.p2align 4, 0x90
LBB2_32: ## in Loop: Header=BB2_3 Depth=1
xorl %r8d, %r8d
LBB2_33: ## in Loop: Header=BB2_3 Depth=1
movq -64(%rbp), %r15 ## 8-byte Reload
cmpl %r15d, %r8d
je LBB2_2
## %bb.34: ## in Loop: Header=BB2_3 Depth=1
movl $1, %edi
callq _libmin_fail
movq -64(%rbp), %r15 ## 8-byte Reload
jmp LBB2_2
LBB2_35:
testl %r15d, %r15d
movq -72(%rbp), %r15 ## 8-byte Reload
je LBB2_38
## %bb.36:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB2_37: ## =>This Inner Loop Header: Depth=1
movsbl (%r14,%rbx), %edi
callq _libmin_putc
incq %rbx
cmpq %rbx, %r15
jne LBB2_37
LBB2_38:
callq _libmin_success
LBB2_39:
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl ___lamia ## @__lamia
.p2align 4, 0x0
___lamia:
.ascii "\n The Project Gutenberg eBook of Lamia\n \nThis ebook is for the use of anyone anywhere in the United States and \nmost other parts of the world at no cost and with almost no restrictions \nwhatsoever. You may copy it, give it away or re-use it under the terms \nof the Project Gutenberg License included with this ebook or online \nat www.gutenberg.org. If you are not located in the United States, \nyou will have to check the laws of the country where you are located \nbefore using this eBook.\n\n\n\n \n Title: Lamia\n \n Author: John Keats\n\n \n Release date: January 1, 2001 [eBook #2490]Most recently updated: December 23, 2008\n Language: English\n \n \n \n \n *** START OF THE PROJECT GUTENBERG EBOOK LAMIA ***\n \n\n\n\nProduced by An Anonymous Volunteer\n\n\n\n\n\nLAMIA\n\nBy John Keats\n\n\n\n\nPart 1\n\n Upon a time, before the faery broods\n Drove Nymph and Satyr from the prosperous woods,\n Before King Oberon's bright diadem,\n Sceptre, and mantle, clasp'd with dewy gem,\n Frighted away the Dryads and the Fauns\n From rushes green, and brakes, and cowslip'd lawns,\n The ever-smitten Hermes empty left\n His golden throne, bent warm on amorous theft:\n From high Olympus had he stolen light,\n On this side of Jove's clouds, to escape the sight\n Of his great summoner, and made retreat\n Into a forest on the shores of Crete.\n For somewhere in that sacred island dwelt\n A nymph, to whom all hoofed Satyrs knelt;\n At whose white feet the languid Tritons poured\n Pearls, while on land they wither'd and adored.\n Fast by the springs where she to bathe was wont,\n And in those meads where sometime she might haunt,\n Were strewn rich gifts, unknown to any Muse,\n Though Fancy's casket were unlock'd to choose.\n Ah, what a world of love was at her feet!\n So Hermes thought, and a celestial heat\n Burnt from his winged heels to either ear,\n That from a whiteness, as the lily clear,\n Blush'd into roses 'mid his golden hair,\n Fallen in jealous curls about his shoulders bare.\n From vale to vale, from wood to wood, he flew,\n Breathing upon the flowers his passion new,\n And wound with many a river to its head,\n To find where this sweet nymph prepar'd her secret bed:\n In vain; the sweet nymph might nowhere be found,\n And so he rested, on the lonely ground,\n Pensive, and full of painful jealousies\n Of the Wood-Gods, and even the very trees.\n There as he stood, he heard a mournful voice,\n Such as once heard, in gentle heart, destroys\n All pain but pity: thus the lone voice spake:\n \"When from this wreathed tomb shall I awake!\n When move in a sweet body fit for life,\n And love, and pleasure, and the ruddy strife\n Of hearts and lips! Ah, miserable me!\"\n The God, dove-footed, glided silently\n Round bush and tree, soft-brushing, in his speed,\n The taller grasses and full-flowering weed,\n Until he found a palpitating snake,\n Bright, and cirque-couchant in a dusky brake.\n\n She was a gordian shape of dazzling hue,\n Vermilion-spotted, golden, green, and blue;\n Striped like a zebra, freckled like a pard,\n Eyed like a peacock, and all crimson barr'd;\n And full of silver moons, that, as she breathed,\n Dissolv'd, or brighter shone, or interwreathed\n Their lustres with the gloomier tapestries--\n So rainbow-sided, touch'd with miseries,\n She seem'd, at once, some penanced lady elf,\n Some demon's mistress, or the demon's self.\n Upon her crest she wore a wannish fire\n Sprinkled with stars, like Ariadne's tiar:\n Her head was serpent, but ah, bitter-sweet!\n She had a woman's mouth with all its pearls complete:\n And for her eyes: what could such eyes do there\n But weep, and weep, that they were born so fair?\n As Proserpine still weeps for her Sicilian air.\n Her throat was serpent, but the words she spake\n Came, as through bubbling honey, for Love's sake,\n And thus; while Hermes on his pinions lay,\n Like a stoop'd falcon ere he takes his prey.\n\n \"Fair Hermes, crown'd with feathers, fluttering light,\n I had a splendid dream of thee last night:\n I saw thee sitting, on a throne of gold,\n Among the Gods, upon Olympus old,\n The only sad one; for thou didst not hear\n The soft, lute-finger'd Muses chaunting clear,\n Nor even Apollo when he sang alone,\n Deaf to his throbbing throat's long, long melodious moan.\n I dreamt I saw thee, robed in purple flakes,\n Break amorous through the clouds, as morning breaks,\n And, swiftly as a bright Phoebean dart,\n Strike for the Cretan isle; and here thou art!\n Too gentle Hermes, hast thou found the maid?\"\n Whereat the star of Lethe not delay'd\n His rosy eloquence, and thus inquired:\n \"Thou smooth-lipp'd serpent, surely high inspired!\n Thou beauteous wreath, with melancholy eyes,\n Possess whatever bliss thou canst devise,\n Telling me only where my nymph is fled,--\n Where she doth breathe!\" \"Bright planet, thou hast said,\"\n Return'd the snake, \"but seal with oaths, fair God!\"\n \"I swear,\" said Hermes, \"by my serpent rod,\n And by thine eyes, and by thy starry crown!\"\n Light flew his earnest words, among the blossoms blown.\n Then thus again the brilliance feminine:\n \"Too frail of heart! for this lost nymph of thine,\n Free as the air, invisibly, she strays\n About these thornless wilds; her pleasant days\n She tastes unseen; unseen her nimble feet\n Leave traces in the grass and flowers sweet;\n From weary tendrils, and bow'd branches green,\n She plucks the fruit unseen, she bathes unseen:\n And by my power is her beauty veil'd\n To keep it unaffronted, unassail'd\n By the love-glances of unlovely eyes,\n Of Satyrs, Fauns, and blear'd Silenus' sighs.\n Pale grew her immortality, for woe\n Of all these lovers, and she grieved so\n I took compassion on her, bade her steep\n Her hair in weird syrops, that would keep\n Her loveliness invisible, yet free\n To wander as she loves, in liberty.\n Thou shalt behold her, Hermes, thou alone,\n If thou wilt, as thou swearest, grant my boon!\"\n Then, once again, the charmed God began\n An oath, and through the serpent's ears it ran\n Warm, tremulous, devout, psalterian.\n Ravish'd, she lifted her Circean head,\n Blush'd a live damask, and swift-lisping said,\n \"I was a woman, let me have once more\n A woman's shape, and charming as before.\n I love a youth of Corinth--O the bliss!\n Give me my woman's form, and place me where he is.\n Stoop, Hermes, let me breathe upon thy brow,\n And thou shalt see thy sweet nymph even now.\"\n The God on half-shut feathers sank serene,\n She breath'd upon his eyes, and swift was seen\n Of both the guarded nymph near-smiling on the green.\n It was no dream; or say a dream it was,\n Real are the dreams of Gods, and smoothly pass\n Their pleasures in a long immortal dream.\n One warm, flush'd moment, hovering, it might seem\n Dash'd by the wood-nymph's beauty, so he burn'd;\n Then, lighting on the printless verdure, turn'd\n To the swoon'd serpent, and with languid arm,\n Delicate, put to proof the lythe Caducean charm.\n So done, upon the nymph his eyes he bent,\n Full of adoring tears and blandishment,\n And towards her stept: she, like a moon in wane,\n Faded before him, cower'd, nor could restrain\n Her fearful sobs, self-folding like a flower\n That faints into itself at evening hour:\n But the God fostering her chilled hand,\n She felt the warmth, her eyelids open'd bland,\n And, like new flowers at morning song of bees,\n Bloom'd, and gave up her honey to the lees.\n Into the green-recessed woods they flew;\n Nor grew they pale, as mortal lovers do.\n\n Left to herself, the serpent now began\n To change; her elfin blood in madness ran,\n Her mouth foam'd, and the grass, therewith besprent,\n Wither'd at dew so sweet and virulent;\n Her eyes in torture fix'd, and anguish drear,\n Hot, glaz'd, and wide, with lid-lashes all sear,\n Flash'd phosphor and sharp sparks, without one cooling tear.\n The colours all inflam'd throughout her train,\n She writh'd about, convuls'd with scarlet pain:\n A deep volcanian yellow took the place\n Of all her milder-mooned body's grace;\n And, as the lava ravishes the mead,\n Spoilt all her silver mail, and golden brede;\n Made gloom of all her frecklings, streaks and bars,\n Eclips'd her crescents, and lick'd up her stars:\n So that, in moments few, she was undrest\n Of all her sapphires, greens, and amethyst,\n And rubious-argent: of all these bereft,\n Nothing but pain and ugliness were left.\n Still shone her crown; that vanish'd, also she\n Melted and disappear'd as suddenly;\n And in the air, her new voice luting soft,\n Cried, \"Lycius! gentle Lycius!\"--Borne aloft\n With the bright mists about the mountains hoar\n These words dissolv'd: Crete's forests heard no more.\n\n Whither fled Lamia, now a lady bright,\n A full-born beauty new and exquisite?\n She fled into that valley they pass o'er\n Who go to Corinth from Cenchreas' shore;\n And rested at the foot of those wild hills,\n The rugged founts of the Peraean rills,\n And of that other ridge whose barren back\n Stretches, with all its mist and cloudy rack,\n South-westward to Cleone. There she stood\n About a young bird's flutter from a wood,\n Fair, on a sloping green of mossy tread,\n By a clear pool, wherein she passioned\n To see herself escap'd from so sore ills,\n While her robes flaunted with the daffodils.\n\n Ah, happy Lycius!--for she was a maid\n More beautiful than ever twisted braid,\n Or sigh'd, or blush'd, or on spring-flowered lea\n Spread a green kirtle to the minstrelsy:\n A virgin purest lipp'd, yet in the lore\n Of love deep learned to the red heart's core:\n Not one hour old, yet of sciential brain\n To unperplex bliss from its neighbour pain;\n Define their pettish limits, and estrange\n Their points of contact, and swift counterchange;\n Intrigue with the specious chaos, and dispart\n Its most ambiguous atoms with sure art;\n As though in Cupid's college she had spent\n Sweet days a lovely graduate, still unshent,\n And kept his rosy terms in idle languishment.\n\n Why this fair creature chose so fairily\n By the wayside to linger, we shall see;\n But first 'tis fit to tell how she could muse\n And dream, when in the serpent prison-house,\n Of all she list, strange or magnificent:\n How, ever, where she will'd, her spirit went;\n Whether to faint Elysium, or where\n Down through tress-lifting waves the Nereids fair\n Wind into Thetis' bower by many a pearly stair;\n Or where God Bacchus drains his cups divine,\n Stretch'd out, at ease, beneath a glutinous pine;\n Or where in Pluto's gardens palatine\n Mulciber's columns gleam in far piazzian line.\n And sometimes into cities she would send\n Her dream, with feast and rioting to blend;\n And once, while among mortals dreaming thus,\n She saw the young Corinthian Lycius\n Charioting foremost in the envious race,\n Like a young Jove with calm uneager face,\n And fell into a swooning love of him.\n Now on the moth-time of that evening dim\n He would return that way, as well she knew,\n To Corinth from the shore; for freshly blew\n The eastern soft wind, and his galley now\n Grated the quaystones with her brazen prow\n In port Cenchreas, from Egina isle\n Fresh anchor'd; whither he had been awhile\n To sacrifice to Jove, whose temple there\n Waits with high marble doors for blood and incense rare.\n Jove heard his vows, and better'd his desire;\n For by some freakful chance he made retire\n From his companions, and set forth to walk,\n Perhaps grown wearied of their Corinth talk:\n Over the solitary hills he fared,\n Thoughtless at first, but ere eve's star appeared\n His phantasy was lost, where reason fades,\n In the calm'd twilight of Platonic shades.\n Lamia beheld him coming, near, more near--\n Close to her passing, in indifference drear,\n His silent sandals swept the mossy green;\n So neighbour'd to him, and yet so unseen\n She stood: he pass'd, shut up in mysteries,\n His mind wrapp'd like his mantle, while her eyes\n Follow'd his steps, and her neck regal white\n Turn'd--syllabling thus, \"Ah, Lycius bright,\n And will you leave me on the hills alone?\n Lycius, look back! and be some pity shown.\"\n He did; not with cold wonder fearingly,\n But Orpheus-like at an Eurydice;\n For so delicious were the words she sung,\n It seem'd he had lov'd them a whole summer long:\n And soon his eyes had drunk her beauty up,\n Leaving no drop in the bewildering cup,\n And still the cup was full,--while he afraid\n Lest she should vanish ere his lip had paid\n Due adoration, thus began to adore;\n Her soft look growing coy, she saw his chain so sure:\n \"Leave thee alone! Look back! Ah, Goddess, see\n Whether my eyes can ever turn from thee!\n For pity do not this sad heart belie--\n Even as thou vanishest so I shall die.\n Stay! though a Naiad of the rivers, stay!\n To thy far wishes will thy streams obey:\n Stay! though the greenest woods be thy domain,\n Alone they can drink up the morning rain:\n Though a descended Pleiad, will not one\n Of thine harmonious sisters keep in tune\n Thy spheres, and as thy silver proxy shine?\n So sweetly to these ravish'd ears of mine\n Came thy sweet greeting, that if thou shouldst fade\n Thy memory will waste me to a shade--\n For pity do not melt!\"--\"If I should stay,\"\n Said Lamia, \"here, upon this floor of clay,\n And pain my steps upon these flowers too rough,\n What canst thou say or do of charm enough\n To dull the nice remembrance of my home?\n Thou canst not ask me with thee here to roam\n Over these hills and vales, where no joy is,--\n Empty of immortality and bliss!\n Thou art a scholar, Lycius, and must know\n That finer spirits cannot breathe below\n In human climes, and live: Alas! poor youth,\n What taste of purer air hast thou to soothe\n My essence? What serener palaces,\n Where I may all my many senses please,\n And by mysterious sleights a hundred thirsts appease?\n It cannot be--Adieu!\" So said, she rose\n Tiptoe with white arms spread. He, sick to lose\n The amorous promise of her lone complain,\n Swoon'd, murmuring of love, and pale with pain.\n The cruel lady, without any show\n Of sorrow for her tender favourite's woe,\n But rather, if her eyes could brighter be,\n With brighter eyes and slow amenity,\n Put her new lips to his, and gave afresh\n The life she had so tangled in her mesh:\n And as he from one trance was wakening\n Into another, she began to sing,\n Happy in beauty, life, and love, and every thing,\n A song of love, too sweet for earthly lyres,\n While, like held breath, the stars drew in their panting fires\n And then she whisper'd in such trembling tone,\n As those who, safe together met alone\n For the first time through many anguish'd days,\n Use other speech than looks; bidding him raise\n His drooping head, and clear his soul of doubt,\n For that she was a woman, and without\n Any more subtle fluid in her veins\n Than throbbing blood, and that the self-same pains\n Inhabited her frail-strung heart as his.\n And next she wonder'd how his eyes could miss\n Her face so long in Corinth, where, she said,\n She dwelt but half retir'd, and there had led\n Days happy as the gold coin could invent\n Without the aid of love; yet in content\n Till she saw him, as once she pass'd him by,\n Where 'gainst a column he leant thoughtfully\n At Venus' temple porch, 'mid baskets heap'd\n Of amorous herbs and flowers, newly reap'd\n Late on that eve, as 'twas the night before\n The Adonian feast; whereof she saw no more,\n But wept alone those days, for why should she adore?\n Lycius from death awoke into amaze,\n To see her still, and singing so sweet lays;\n Then from amaze into delight he fell\n To hear her whisper woman's lore so well;\n And every word she spake entic'd him on\n To unperplex'd delight and pleasure known.\n Let the mad poets say whate'er they please\n Of the sweets of Fairies, Peris, Goddesses,\n There is not such a treat among them all,\n Haunters of cavern, lake, and waterfall,\n As a real woman, lineal indeed\n From Pyrrha's pebbles or old Adam's seed.\n Thus gentle Lamia judg'd, and judg'd aright,\n That Lycius could not love in half a fright,\n So threw the goddess off, and won his heart\n More pleasantly by playing woman's part,\n With no more awe than what her beauty gave,\n That, while it smote, still guaranteed to save.\n Lycius to all made eloquent reply,\n Marrying to every word a twinborn sigh;\n And last, pointing to Corinth, ask'd her sweet,\n If 'twas too far that night for her soft feet.\n The way was short, for Lamia's eagerness\n Made, by a spell, the triple league decrease\n To a few paces; not at all surmised\n By blinded Lycius, so in her comprized.\n They pass'd the city gates, he knew not how\n So noiseless, and he never thought to know.\n\n As men talk in a dream, so Corinth all,\n Throughout her palaces imperial,\n And all her populous streets and temples lewd,\n Mutter'd, like tempest in the distance brew'd,\n To the wide-spreaded night above her towers.\n Men, women, rich and poor, in the cool hours,\n Shuffled their sandals o'er the pavement white,\n Companion'd or alone; while many a light\n Flared, here and there, from wealthy festivals,\n And threw their moving shadows on the walls,\n Or found them cluster'd in the corniced shade\n Of some arch'd temple door, or dusky colonnade.\n\n Muffling his face, of greeting friends in fear,\n Her fingers he press'd hard, as one came near\n With curl'd gray beard, sharp eyes, and smooth bald crown,\n Slow-stepp'd, and robed in philosophic gown:\n Lycius shrank closer, as they met and past,\n Into his mantle, adding wings to haste,\n While hurried Lamia trembled: \"Ah,\" said he,\n \"Why do you shudder, love, so ruefully?\n Why does your tender palm dissolve in dew?\"--\n \"I'm wearied,\" said fair Lamia: \"tell me who\n Is that old man? I cannot bring to mind\n His features--Lycius! wherefore did you blind\n Yourself from his quick eyes?\" Lycius replied,\n 'Tis Apollonius sage, my trusty guide\n And good instructor; but to-night he seems\n The ghost of folly haunting my sweet dreams.\n\n While yet he spake they had arrived before\n A pillar'd porch, with lofty portal door,\n Where hung a silver lamp, whose phosphor glow\n Reflected in the slabbed steps below,\n Mild as a star in water; for so new,\n And so unsullied was the marble hue,\n So through the crystal polish, liquid fine,\n Ran the dark veins, that none but feet divine\n Could e'er have touch'd there. Sounds Aeolian\n Breath'd from the hinges, as the ample span\n Of the wide doors disclos'd a place unknown\n Some time to any, but those two alone,\n And a few Persian mutes, who that same year\n Were seen about the markets: none knew where\n They could inhabit; the most curious\n Were foil'd, who watch'd to trace them to their house:\n And but the flitter-winged verse must tell,\n For truth's sake, what woe afterwards befel,\n 'Twould humour many a heart to leave them thus,\n Shut from the busy world of more incredulous.\n\n\n\n\nPart 2\n\n Love in a hut, with water and a crust,\n Is--Love, forgive us!--cinders, ashes, dust;\n Love in a palace is perhaps at last\n More grievous torment than a hermit's fast--\n That is a doubtful tale from faery land,\n Hard for the non-elect to understand.\n Had Lycius liv'd to hand his story down,\n He might have given the moral a fresh frown,\n Or clench'd it quite: but too short was their bliss\n To breed distrust and hate, that make the soft voice hiss.\n Besides, there, nightly, with terrific glare,\n Love, jealous grown of so complete a pair,\n Hover'd and buzz'd his wings, with fearful roar,\n Above the lintel of their chamber door,\n And down the passage cast a glow upon the floor.\n\n For all this came a ruin: side by side\n They were enthroned, in the even tide,\n Upon a couch, near to a curtaining\n Whose airy texture, from a golden string,\n Floated into the room, and let appear\n Unveil'd the summer heaven, blue and clear,\n Betwixt two marble shafts:--there they reposed,\n Where use had made it sweet, with eyelids closed,\n Saving a tythe which love still open kept,\n That they might see each other while they almost slept;\n When from the slope side of a suburb hill,\n Deafening the swallow's twitter, came a thrill\n Of trumpets--Lycius started--the sounds fled,\n But left a thought, a buzzing in his head.\n For the first time, since first he harbour'd in\n That purple-lined palace of sweet sin,\n His spirit pass'd beyond its golden bourn\n Into the noisy world almost forsworn.\n The lady, ever watchful, penetrant,\n Saw this with pain, so arguing a want\n Of something more, more than her empery\n Of joys; and she began to moan and sigh\n Because he mused beyond her, knowing well\n That but a moment's thought is passion's passing bell.\n \"Why do you sigh, fair creature?\" whisper'd he:\n \"Why do you think?\" return'd she tenderly:\n \"You have deserted me--where am I now?\n Not in your heart while care weighs on your brow:\n No, no, you have dismiss'd me; and I go\n From your breast houseless: ay, it must be so.\"\n He answer'd, bending to her open eyes,\n Where he was mirror'd small in paradise,\n My silver planet, both of eve and morn!\n Why will you plead yourself so sad forlorn,\n While I am striving how to fill my heart\n With deeper crimson, and a double smart?\n How to entangle, trammel up and snare\n Your soul in mine, and labyrinth you there\n Like the hid scent in an unbudded rose?\n Ay, a sweet kiss--you see your mighty woes.\n My thoughts! shall I unveil them? Listen then!\n What mortal hath a prize, that other men\n May be confounded and abash'd withal,\n But lets it sometimes pace abroad majestical,\n And triumph, as in thee I should rejoice\n Amid the hoarse alarm of Corinth's voice.\n \"Let my foes choke, and my friends shout afar,\n While through the thronged streets your bridal car\n Wheels round its dazzling spokes.\" The lady's cheek\n Trembled; she nothing said, but, pale and meek,\n Arose and knelt before him, wept a rain\n Of sorrows at his words; at last with pain\n Beseeching him, the while his hand she wrung,\n To change his purpose. He thereat was stung,\n Perverse, with stronger fancy to reclaim\n Her wild and timid nature to his aim:\n Besides, for all his love, in self despite,\n Against his better self, he took delight\n Luxurious in her sorrows, soft and new.\n His passion, cruel grown, took on a hue\n Fierce and sanguineous as 'twas possible\n In one whose brow had no dark veins to swell.\n Fine was the mitigated fury, like\n Apollo's presence when in act to strike\n The serpent--Ha, the serpent! certes, she\n Was none. She burnt, she lov'd the tyranny,\n And, all subdued, consented to the hour\n When to the bridal he should lead his paramour.\n Whispering in midnight silence, said the youth,\n \"Sure some sweet name thou hast, though, by my truth,\n I have not ask'd it, ever thinking thee\n Not mortal, but of heavenly progeny,\n As still I do. Hast any mortal name,\n Fit appellation for this dazzling frame?\n Or friends or kinsfolk on the citied earth,\n To share our marriage feast and nuptial mirth?\"\n \"I have no friends,\" said Lamia,\" no, not one;\n My presence in wide Corinth hardly known:\n My parents' bones are in their dusty urns\n Sepulchred, where no kindled incense burns,\n Seeing all their luckless race are dead, save me,\n And I neglect the holy rite for thee.\n Even as you list invite your many guests;\n But if, as now it seems, your vision rests\n With any pleasure on me, do not bid\n Old Apollonius--from him keep me hid.\"\n Lycius, perplex'd at words so blind and blank,\n Made close inquiry; from whose touch she shrank,\n Feigning a sleep; and he to the dull shade\n Of deep sleep in a moment was betray'd\n\n It was the custom then to bring away\n The bride from home at blushing shut of day,\n Veil'd, in a chariot, heralded along\n By strewn flowers, torches, and a marriage song,\n With other pageants: but this fair unknown\n Had not a friend. So being left alone,\n (Lycius was gone to summon all his kin)\n And knowing surely she could never win\n His foolish heart from its mad pompousness,\n She set herself, high-thoughted, how to dress\n The misery in fit magnificence.\n She did so, but 'tis doubtful how and whence\n Came, and who were her subtle servitors.\n About the halls, and to and from the doors,\n There was a noise of wings, till in short space\n The glowing banquet-room shone with wide-arched grace.\n A haunting music, sole perhaps and lone\n Supportress of the faery-roof, made moan\n Throughout, as fearful the whole charm might fade.\n Fresh carved cedar, mimicking a glade\n Of palm and plantain, met from either side,\n High in the midst, in honour of the bride:\n Two palms and then two plantains, and so on,\n From either side their stems branch'd one to one\n All down the aisled place; and beneath all\n There ran a stream of lamps straight on from wall to wall.\n So canopied, lay an untasted feast\n Teeming with odours. Lamia, regal drest,\n Silently paced about, and as she went,\n In pale contented sort of discontent,\n Mission'd her viewless servants to enrich\n The fretted splendour of each nook and niche.\n Between the tree-stems, marbled plain at first,\n Came jasper pannels; then, anon, there burst\n Forth creeping imagery of slighter trees,\n And with the larger wove in small intricacies.\n Approving all, she faded at self-will,\n And shut the chamber up, close, hush'd and still,\n Complete and ready for the revels rude,\n When dreadful guests would come to spoil her solitude.\n\n The day appear'd, and all the gossip rout.\n O senseless Lycius! Madman! wherefore flout\n The silent-blessing fate, warm cloister'd hours,\n And show to common eyes these secret bowers?\n The herd approach'd; each guest, with busy brain,\n Arriving at the portal, gaz'd amain,\n And enter'd marveling: for they knew the street,\n Remember'd it from childhood all complete\n Without a gap, yet ne'er before had seen\n That royal porch, that high-built fair demesne;\n So in they hurried all, maz'd, curious and keen:\n Save one, who look'd thereon with eye severe,\n And with calm-planted steps walk'd in austere;\n 'Twas Apollonius: something too he laugh'd,\n As though some knotty problem, that had daft\n His patient thought, had now begun to thaw,\n And solve and melt--'twas just as he foresaw.\n\n He met within the murmurous vestibule\n His young disciple. \"'Tis no common rule,\n Lycius,\" said he, \"for uninvited guest\n To force himself upon you, and infest\n With an unbidden presence the bright throng\n Of younger friends; yet must I do this wrong,\n And you forgive me.\" Lycius blush'd, and led\n The old man through the inner doors broad-spread;\n With reconciling words and courteous mien\n Turning into sweet milk the sophist's spleen.\n\n Of wealthy lustre was the banquet-room,\n Fill'd with pervading brilliance and perfume:\n Before each lucid pannel fuming stood\n A censer fed with myrrh and spiced wood,\n Each by a sacred tripod held aloft,\n Whose slender feet wide-swerv'd upon the soft\n Wool-woofed carpets: fifty wreaths of smoke\n From fifty censers their light voyage took\n To the high roof, still mimick'd as they rose\n Along the mirror'd walls by twin-clouds odorous.\n Twelve sphered tables, by silk seats insphered,\n High as the level of a man's breast rear'd\n On libbard's paws, upheld the heavy gold\n Of cups and goblets, and the store thrice told\n Of Ceres' horn, and, in huge vessels, wine\n Come from the gloomy tun with merry shine.\n Thus loaded with a feast the tables stood,\n Each shrining in the midst the image of a God.\n\n When in an antichamber every guest\n Had felt the cold full sponge to pleasure press'd,\n By minist'ring slaves, upon his hands and feet,\n And fragrant oils with ceremony meet\n Pour'd on his hair, they all mov'd to the feast\n In white robes, and themselves in order placed\n Around the silken couches, wondering\n Whence all this mighty cost and blaze of wealth could spring.\n\n Soft went the music the soft air along,\n While fluent Greek a vowel'd undersong\n Kept up among the guests discoursing low\n At first, for scarcely was the wine at flow;\n But when the happy vintage touch'd their brains,\n Louder they talk, and louder come the strains\n Of powerful instruments--the gorgeous dyes,\n The space, the splendour of the draperies,\n The roof of awful richness, nectarous cheer,\n Beautiful slaves, and Lamia's self, appear,\n Now, when the wine has done its rosy deed,\n And every soul from human trammels freed,\n No more so strange; for merry wine, sweet wine,\n Will make Elysian shades not too fair, too divine.\n Soon was God Bacchus at meridian height;\n Flush'd were their cheeks, and bright eyes double bright:\n Garlands of every green, and every scent\n From vales deflower'd, or forest-trees branch rent,\n In baskets of bright osier'd gold were brought\n High as the handles heap'd, to suit the thought\n Of every guest; that each, as he did please,\n Might fancy-fit his brows, silk-pillow'd at his ease.\n\n What wreath for Lamia? What for Lycius?\n What for the sage, old Apollonius?\n Upon her aching forehead be there hung\n The leaves of willow and of adder's tongue;\n And for the youth, quick, let us strip for him\n The thyrsus, that his watching eyes may swim\n Into forgetfulness; and, for the sage,\n Let spear-grass and the spiteful thistle wage\n War on his temples. Do not all charms fly\n At the mere touch of cold philosophy?\n There was an awful rainbow once in heaven:\n We know her woof, her texture; she is given\n In the dull catalogue of common things.\n Philosophy will clip an Angel's wings,\n Conquer all mysteries by rule and line,\n Empty the haunted air, and gnomed mine--\n Unweave a rainbow, as it erewhile made\n The tender-person'd Lamia melt into a shade.\n\n By her glad Lycius sitting, in chief place,\n Scarce saw in all the room another face,\n Till, checking his love trance, a cup he took\n Full brimm'd, and opposite sent forth a look\n 'Cross the broad table, to beseech a glance\n From his old teacher's wrinkled countenance,\n And pledge him. The bald-head philosopher\n Had fix'd his eye, without a twinkle or stir\n Full on the alarmed beauty of the bride,\n Brow-beating her fair form, and troubling her sweet pride.\n Lycius then press'd her hand, with devout touch,\n As pale it lay upon the rosy couch:\n 'Twas icy, and the cold ran through his veins;\n Then sudden it grew hot, and all the pains\n Of an unnatural heat shot to his heart.\n \"Lamia, what means this? Wherefore dost thou start?\n Know'st thou that man?\" Poor Lamia answer'd not.\n He gaz'd into her eyes, and not a jot\n Own'd they the lovelorn piteous appeal:\n More, more he gaz'd: his human senses reel:\n Some hungry spell that loveliness absorbs;\n There was no recognition in those orbs.\n \"Lamia!\" he cried--and no soft-toned reply.\n The many heard, and the loud revelry\n Grew hush; the stately music no more breathes;\n The myrtle sicken'd in a thousand wreaths.\n By faint degrees, voice, lute, and pleasure ceased;\n A deadly silence step by step increased,\n Until it seem'd a horrid presence there,\n And not a man but felt the terror in his hair.\n \"Lamia!\" he shriek'd; and nothing but the shriek\n With its sad echo did the silence break.\n \"Begone, foul dream!\" he cried, gazing again\n In the bride's face, where now no azure vein\n Wander'd on fair-spaced temples; no soft bloom\n Misted the cheek; no passion to illume\n The deep-recessed vision--all was blight;\n Lamia, no longer fair, there sat a deadly white.\n \"Shut, shut those juggling eyes, thou ruthless man!\n Turn them aside, wretch! or the righteous ban\n Of all the Gods, whose dreadful images\n Here represent their shadowy presences,\n May pierce them on the sudden with the thorn\n Of painful blindness; leaving thee forlorn,\n In trembling dotage to the feeblest fright\n Of conscience, for their long offended might,\n For all thine impious proud-heart sophistries,\n Unlawful magic, and enticing lies.\n Corinthians! look upon that gray-beard wretch!\n Mark how, possess'd, his lashless eyelids stretch\n Around his demon eyes! Corinthians, see!\n My sweet bride withers at their potency.\"\n \"Fool!\" said the sophist, in an under-tone\n Gruff with contempt; which a death-nighing moan\n From Lycius answer'd, as heart-struck and lost,\n He sank supine beside the aching ghost.\n \"Fool! Fool!\" repeated he, while his eyes still\n Relented not, nor mov'd; \"from every ill\n Of life have I preserv'd thee to this day,\n And shall I see thee made a serpent's prey?\"\n Then Lamia breath'd death breath; the sophist's eye,\n Like a sharp spear, went through her utterly,\n Keen, cruel, perceant, stinging: she, as well\n As her weak hand could any meaning tell,\n Motion'd him to be silent; vainly so,\n He look'd and look'd again a level--No!\n \"A Serpent!\" echoed he; no sooner said,\n Than with a frightful scream she vanished:\n And Lycius' arms were empty of delight,\n As were his limbs of life, from that same night.\n On the high couch he lay!--his friends came round\n Supported him--no pulse, or breath they found,\n And, in its marriage robe, the heavy body wound.\n\n\n\n\n\n\n \n *** END OF THE PROJECT GUTENBERG EBOOK LAMIA ***\n \n\n \n\nUpdated editions will replace the previous one\342\200\224the old editions will\nbe renamed.\n\n\nCreating the works from print editions not protected by U.S. copyright\nlaw means that no one owns a United States copyright in these works,\nso the Foundation (and you!) can copy and distribute it in the United\nStates without permission and without paying copyright\nroyalties. Special rules, set forth in the General Terms of Use part\nof this license, apply to copying and distributing Project\nGutenberg\342\204\242 electronic works to protect the PROJECT GUTENBERG\342\204\242\nconcept and trademark. Project Gutenberg is a registered trademark,\nand may not be used if you charge for an eBook, except by following\nthe terms of the trademark license, including paying royalties for use\nof the Project Gutenberg trademark. If you do not charge anything for\ncopies of this eBook, complying with the trademark license is very\neasy. You may use this eBook for nearly any purpose such as creation\nof derivative works, reports, performances and research. Project\nGutenberg eBooks may be modified and printed and given away\342\200\224you may\ndo practically ANYTHING in the United States with eBooks not protected\nby U.S. copyright law. Redistribution is subject to the trademark\nlicense, especially commercial redistribution.\n\n\nSTART: FULL LICENSE\nTHE FULL PROJECT GUTENBERG LICENSE\nPLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK\n\n\nTo protect the Project Gutenberg\342\204\242 mission of promoting the free\ndistribution of electronic works, by using or distributing this work\n(or any other work associated in any way with the phrase \342\200\234Project\nGutenberg\342\200\235), you agree to comply with all the terms of the Full\nProject Gutenberg\342\204\242 License available with this file or online at\nwww.gutenberg.org/license.\n\n\nSection 1. General Terms of Use and Redistributing Project Gutenberg\342\204\242 electronic works\n\n\n1.A. By reading or using any part of this Project Gutenberg\342\204\242\nelectronic work, you indicate that you have read, understand, agree to\nand accept all the terms of this license and intellectual property\n(trademark/copyright) agreement. If you do not agree to abide by all\nthe terms of this agreement, you must cease using and return or\ndestroy all copies of Project Gutenberg\342\204\242 electronic works in your\npossession. If you paid a fee for obtaining a copy of or access to a\nProject Gutenberg\342\204\242 electronic work and you do not agree to be bound\nby the terms of this agreement, you may obtain a refund from the person\nor entity to whom you paid the fee as set forth in paragraph 1.E.8.\n\n\n1.B. \342\200\234Project Gutenberg\342\200\235 is a registered trademark. It may only be\nused on or associated in any way with an electronic work by people who\nagree to be bound by the terms of this agreement. There are a few\nthings that you can do with most Project Gutenberg\342\204\242 electronic works\neven without complying with the full terms of this agreement. See\nparagraph 1.C below. There are a lot of things you can do with Project\nGutenberg\342\204\242 electronic works if you follow the terms of this\nagreement and help preserve free future access to Project Gutenberg\342\204\242\nelectronic works. See paragraph 1.E below.\n\n\n1.C. The Project Gutenberg Literary Archive Foundation (\342\200\234the\nFoundation\342\200\235 or PGLAF), owns a compilation copyright in the collection\nof Project Gutenberg\342\204\242 electronic works. Nearly all the individual\nworks in the collection are in the public domain in the United\nStates. If an individual work is unprotected by copyright law in the\nUnited States and you are located in the United States, we do not\nclaim a right to prevent you from copying, distributing, performing,\ndisplaying or creating derivative works based on the work as long as\nall references to Project Gutenberg are removed. Of course, we hope\nthat you will support the Project Gutenberg\342\204\242 mission of promoting\nfree access to electronic works by freely sharing Project Gutenberg\342\204\242\nworks in compliance with the terms of this agreement for keeping the\nProject Gutenberg\342\204\242 name associated with the work. You can easily\ncomply with the terms of this agreement by keeping this work in the\nsame format with its attached full Project Gutenberg\342\204\242 License when\nyou share it without charge with others.\n\n\n\n1.D. The copyright laws of the place where you are located also govern\nwhat you can do with this work. Copyright laws in most countries are\nin a constant state of change. If you are outside the United States,\ncheck the laws of your country in addition to the terms of this\nagreement before downloading, copying, displaying, performing,\ndistributing or creating derivative works based on this work or any\nother Project Gutenberg\342\204\242 work. The Foundation makes no\nrepresentations concerning the copyright status of any work in any\ncountry other than the United States.\n\n\n1.E. Unless you have removed all references to Project Gutenberg:\n\n\n1.E.1. The following sentence, with active links to, or other\nimmediate access to, the full Project Gutenberg\342\204\242 License must appear\nprominently whenever any copy of a Project Gutenberg\342\204\242 work (any work\non which the phrase \342\200\234Project Gutenberg\342\200\235 appears, or with which the\nphrase \342\200\234Project Gutenberg\342\200\235 is associated) is accessed, displayed,\nperformed, viewed, copied or distributed:\n\n\n \n This eBook is for the use of anyone anywhere in the United States and most\n other parts of the world at no cost and with almost no restrictions\n whatsoever. You may copy it, give it away or re-use it under the terms\n of the Project Gutenberg License included with this eBook or online\n at www.gutenberg.org. If you\n are not located in the United States, you will have to check the laws\n of the country where you are located before using this eBook.\n \n\n\n1.E.2. If an individual Project Gutenberg\342\204\242 electronic work is\nderived from texts not protected by U.S. copyright law (does not\ncontain a notice indicating that it is posted with permission of the\ncopyright holder), the work can be copied and distributed to anyone in\nthe United States without paying any fees or charges. If you are\nredistributing or providing access to a work with the phrase \342\200\234Project\nGutenberg\342\200\235 associated with or appearing on the work, you must comply\neither with the requirements of paragraphs 1.E.1 through 1.E.7 or\nobtain permission for the use of the work and the Project Gutenberg\342\204\242\ntrademark as set forth in paragraphs 1.E.8 or 1.E.9.\n\n\n1.E.3. If an individual Project Gutenberg\342\204\242 electronic work is posted\nwith the permission of the copyright holder, your use and distribution\nmust comply with both paragraphs 1.E.1 through 1.E.7 and any\nadditional terms imposed by the copyright holder. Additional terms\nwill be linked to the Project Gutenberg\342\204\242 License for all works\nposted with the permission of the copyright holder found at the\nbeginning of this work.\n\n\n1.E.4. Do not unlink or detach or remove the full Project Gutenberg\342\204\242\nLicense terms from this work, or any files containing a part of this\nwork or any other work associated with Project Gutenberg\342\204\242.\n\n\n1.E.5. Do not copy, display, perform, distribute or redistribute this\nelectronic work, or any part of this electronic work, without\nprominently displaying the sentence set forth in paragraph 1.E.1 with\nactive links or immediate access to the full terms of the Project\nGutenberg\342\204\242 License.\n\n\n1.E.6. You may convert to and distribute this work in any binary,\ncompressed, marked up, nonproprietary or proprietary form, including\nany word processing or hypertext form. However, if you provide access\nto or distribute copies of a Project Gutenberg\342\204\242 work in a format\nother than \342\200\234Plain Vanilla ASCII\342\200\235 or other format used in the official\nversion posted on the official Project Gutenberg\342\204\242 website\n(www.gutenberg.org), you must, at no additional cost, fee or expense\nto the user, provide a copy, a means of exporting a copy, or a means\nof obtaining a copy upon request, of the work in its original \342\200\234Plain\nVanilla ASCII\342\200\235 or other form. Any alternate format must include the\nfull Project Gutenberg\342\204\242 License as specified in paragraph 1.E.1.\n\n\n1.E.7. Do not charge a fee for access to, viewing, displaying,\nperforming, copying or distributing any Project Gutenberg\342\204\242 works\nunless you comply with paragraph 1.E.8 or 1.E.9.\n\n\n1.E.8. You may charge a reasonable fee for copies of or providing\naccess to or distributing Project Gutenberg\342\204\242 electronic works\nprovided that:\n\n\n \342\200\242 You pay a royalty fee of 20% of the gross profits you derive from\n the use of Project Gutenberg\342\204\242 works calculated using the method\n you already use to calculate your applicable taxes. The fee is owed\n to the owner of the Project Gutenberg\342\204\242 trademark, but he has\n agreed to donate royalties under this paragraph to the Project\n Gutenberg Literary Archive Foundation. Royalty payments must be paid\n within 60 days following each date on which you prepare (or are\n legally required to prepare) your periodic tax returns. Royalty\n payments should be clearly marked as such and sent to the Project\n Gutenberg Literary Archive Foundation at the address specified in\n Section 4, \342\200\234Information about donations to the Project Gutenberg\n Literary Archive Foundation.\342\200\235\n \n \342\200\242 You provide a full refund of any money paid by a user who notifies\n you in writing (or by e-mail) within 30 days of receipt that s/he\n does not agree to the terms of the full Project Gutenberg\342\204\242\n License. You must require such a user to return or destroy all\n copies of the works possessed in a physical medium and discontinue\n all use of and all access to other copies of Project Gutenberg\342\204\242\n works.\n \n \342\200\242 You provide, in accordance with paragraph 1.F.3, a full refund of\n any money paid for a work or a replacement copy, if a defect in the\n electronic work is discovered and reported to you within 90 days of\n receipt of the work.\n \n \342\200\242 You comply with all other terms of this agreement for free\n distribution of Project Gutenberg\342\204\242 works.\n \n\n\n1.E.9. If you wish to charge a fee or distribute a Project\nGutenberg\342\204\242 electronic work or group of works on different terms than\nare set forth in this agreement, you must obtain permission in writing\nfrom the Project Gutenberg Literary Archive Foundation, the manager of\nthe Project Gutenberg\342\204\242 trademark. Contact the Foundation as set\nforth in Section 3 below.\n\n\n1.F.\n\n\n1.F.1. Project Gutenberg volunteers and employees expend considerable\neffort to identify, do copyright research on, transcribe and proofread\nworks not protected by U.S. copyright law in creating the Project\nGutenberg\342\204\242 collection. Despite these efforts, Project Gutenberg\342\204\242\nelectronic works, and the medium on which they may be stored, may\ncontain \342\200\234Defects,\342\200\235 such as, but not limited to, incomplete, inaccurate\nor corrupt data, transcription errors, a copyright or other\nintellectual property infringement, a defective or damaged disk or\nother medium, a computer virus, or computer codes that damage or\ncannot be read by your equipment.\n\n\n1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the \342\200\234Right\nof Replacement or Refund\342\200\235 described in paragraph 1.F.3, the Project\nGutenberg Literary Archive Foundation, the owner of the Project\nGutenberg\342\204\242 trademark, and any other party distributing a Project\nGutenberg\342\204\242 electronic work under this agreement, disclaim all\nliability to you for damages, costs and expenses, including legal\nfees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT\nLIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE\nPROVIDED IN PARAGRAPH 1.F.3. YOU AGREE THAT THE FOUNDATION, THE\nTRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE\nLIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR\nINCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH\nDAMAGE.\n\n\n1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a\ndefect in this electronic work within 90 days of receiving it, you can\nreceive a refund of the money (if any) you paid for it by sending a\nwritten explanation to the person you received the work from. If you\nreceived the work on a physical medium, you must return the medium\nwith your written explanation. The person or entity that provided you\nwith the defective work may elect to provide a replacement copy in\nlieu of a refund. If you received the work electronically, the person\nor entity providing it to you may choose to give you a second\nopportunity to receive the work electronically in lieu of a refund. If\nthe second copy is also defective, you may demand a refund in writing\nwithout further opportunities to fix the problem.\n\n\n1.F.4. Except for the limited right of replacement or refund set forth\nin paragraph 1.F.3, this work is provided to you \342\200\230AS-IS\342\200\231, WITH NO\nOTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT\nLIMITED TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.\n\n\n1.F.5. Some states do not allow disclaimers of certain implied\nwarranties or the exclusion or limitation of certain types of\ndamages. If any disclaimer or limitation set forth in this agreement\nviolates the law of the state applicable to this agreement, the\nagreement shall be interpreted to make the maximum disclaimer or\nlimitation permitted by the applicable state law. The invalidity or\nunenforceability of any provision of this agreement shall not void the\nremaining provisions.\n\n\n1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the\ntrademark owner, any agent or employee of the Foundation, anyone\nproviding copies of Project Gutenberg\342\204\242 electronic works in\naccordance with this agreement, and any volunteers associated with the\nproduction, promotion and distribution of Project Gutenberg\342\204\242\nelectronic works, harmless from all liability, costs and expenses,\nincluding legal fees, that arise directly or indirectly from any of\nthe following which you do or cause to occur: (a) distribution of this\nor any Project Gutenberg\342\204\242 work, (b) alteration, modification, or\nadditions or deletions to any Project Gutenberg\342\204\242 work, and (c) any\nDefect you cause.\n\n\nSection 2. Information about the Mission of Project Gutenberg\342\204\242\n\n\nProject Gutenberg\342\204\242 is synonymous with the free distribution of\nelectronic works in formats readable by the widest variety of\ncomputers including obsolete, old, middle-aged and new computers. It\nexists because of the efforts of hundreds of volunteers and donations\nfrom people in all walks of life.\n\n\nVolunteers and financial support to provide volunteers with the\nassistance they need are critical to reaching Project Gutenberg\342\204\242\342\200\231s\ngoals and ensuring that the Project Gutenberg\342\204\242 collection will\nremain freely available for generations to come. In 2001, the Project\nGutenberg Literary Archive Foundation was created to provide a secure\nand permanent future for Project Gutenberg\342\204\242 and future\ngenerations. To learn more about the Project Gutenberg Literary\nArchive Foundation and how your efforts and donations can help, see\nSections 3 and 4 and the Foundation information page at www.gutenberg.org.\n\n\nSection 3. Information about the Project Gutenberg Literary Archive Foundation\n\n\nThe Project Gutenberg Literary Archive Foundation is a non-profit\n501(c)(3) educational corporation organized under the laws of the\nstate of Mississippi and granted tax exempt status by the Internal\nRevenue Service. The Foundation\342\200\231s EIN or federal tax identification\nnumber is 64-6221541. Contributions to the Project Gutenberg Literary\nArchive Foundation are tax deductible to the full extent permitted by\nU.S. federal laws and your state\342\200\231s laws.\n\n\nThe Foundation\342\200\231s business office is located at 809 North 1500 West,\nSalt Lake City, UT 84116, (801) 596-1887. Email contact links and up\nto date contact information can be found at the Foundation\342\200\231s website\nand official page at www.gutenberg.org/contact\n\n\nSection 4. Information about Donations to the Project Gutenberg Literary Archive Foundation\n\n\nProject Gutenberg\342\204\242 depends upon and cannot survive without widespread\npublic support and donations to carry out its mission of\nincreasing the number of public domain and licensed works that can be\nfreely distributed in machine-readable form accessible by the widest\narray of equipment including outdated equipment. Many small donations\n($1 to $5,000) are particularly important to maintaining tax exempt\nstatus with the IRS.\n\n\nThe Foundation is committed to complying with the laws regulating\ncharities and charitable donations in all 50 states of the United\nStates. Compliance requirements are not uniform and it takes a\nconsiderable effort, much paperwork and many fees to meet and keep up\nwith these requirements. We do not solicit donations in locations\nwhere we have not received written confirmation of compliance. To SEND\nDONATIONS or determine the status of compliance for any particular state\nvisit www.gutenberg.org/donate.\n\n\nWhile we cannot and do not solicit contributions from states where we\nhave not met the solicitation requirements, we know of no prohibition\nagainst accepting unsolicited donations from donors in such states who\napproach us with offers to donate.\n\n\nInternational donations are gratefully accepted, but we cannot make\nany statements concerning tax treatment of donations received from\noutside the United States. U.S. laws alone swamp our small staff.\n\n\nPlease check the Project Gutenberg web pages for current donation\nmethods and addresses. Donations are accepted in a number of other\nways including checks, online payments and credit card donations. To\ndonate, please visit: www.gutenberg.org/donate.\n\n\nSection 5. General Information About Project Gutenberg\342\204\242 electronic works\n\n\nProfessor Michael S. Hart was the originator of the Project\nGutenberg\342\204\242 concept of a library of electronic works that could be\nfreely shared with anyone. For forty years, he produced and\ndistributed Project Gutenberg\342\204\242 eBooks with only a loose network of\nvolunteer support.\n\n\nProject Gutenberg\342\204\242 eBooks are often created from several printed\neditions, all of which are confirmed as not protected by copyright in\nthe U.S. unless a copyright notice is included. Thus, we do not\nnecessarily keep eBooks in compliance with any particular paper\nedition.\n\n\nMost people start at our website which has the main PG search\nfacility: www.gutenberg.org.\n\n\nThis website includes information about Project Gutenberg\342\204\242,\nincluding how to make donations to the Project Gutenberg Literary\nArchive Foundation, how to help produce our new eBooks, and how to\nsubscribe to our email newsletter to hear about new eBooks.\n\n"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "lamia.txt"
.section __DATA,__data
.globl ___infile ## @__infile
.p2align 3, 0x0
___infile:
.quad L_.str
.quad 54185 ## 0xd3a9
.quad ___lamia
.long 0 ## 0x0
.space 4
.globl _infile ## @infile
.p2align 3, 0x0
_infile:
.quad ___infile
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Original size: %ld\n"
L_.str.3: ## @.str.3
.asciz "Compressed (%i): %u, decompressed: (%u)\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _lz77_compress ; -- Begin function lz77_compress
.p2align 2
_lz77_compress: ; @lz77_compress
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
.cfi_offset w19, -8
.cfi_offset w20, -16
str w1, [x2]
strb w3, [x2, #4]
cbz w1, LBB0_21
; %bb.1:
mov w9, #0 ; =0x0
mov w8, #1 ; =0x1
lsl w10, w8, w3
mov w11, #16 ; =0x10
sub w11, w11, w3
lsl w8, w8, w11
and w11, w8, #0xffff
sub w12, w1, #1
mov w8, #5 ; =0x5
mov w13, #65535 ; =0xffff
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
and w14, w14, #0xffff
lsl w14, w14, w3
add w16, w15, w13
cmp w15, #0
csel w15, w16, wzr, ne
orr w14, w14, w15
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov x15, x9
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
strh w14, [x2, w8, uxtw]
ldrb w14, [x0, w15, uxtw]
add w15, w8, #2
add w8, w8, #3
strb w14, [x2, w15, uxtw]
add w9, w9, #1
cmp w9, w1
b.hs LBB0_22
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
; Child Loop BB0_10 Depth 3
mov w14, #0 ; =0x0
cmp w11, #2
b.lo LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cbz w9, LBB0_3
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov w16, #0 ; =0x0
mov w14, #0 ; =0x0
mov w15, #0 ; =0x0
ldrb w17, [x0, w9, uxtw]
mov w4, #1 ; =0x1
mov w5, #1 ; =0x1
LBB0_8: ; Parent Loop BB0_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_10 Depth 3
sub w6, w9, w5
ldrb w6, [x0, w6, uxtw]
cmp w17, w6
mov w6, #0 ; =0x0
ccmp w3, #15, #2, eq
b.hi LBB0_15
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
mov x19, x9
LBB0_10: ; Parent Loop BB0_5 Depth=1
; Parent Loop BB0_8 Depth=2
; => This Inner Loop Header: Depth=3
add w7, w19, #1
add w19, w16, w19
add w6, w6, #1
ldrb w20, [x0, w7, uxtw]
ldrb w19, [x0, w19, uxtw]
cmp w20, w19
b.ne LBB0_12
; %bb.11: ; in Loop: Header=BB0_10 Depth=3
and w19, w6, #0xffff
cmp w19, w10, uxth
mov x19, x7
b.ne LBB0_10
LBB0_12: ; in Loop: Header=BB0_8 Depth=2
and w19, w6, #0xffff
cmp w19, w15, uxth
cset w7, hi
tbz w7, #0, LBB0_14
; %bb.13: ; in Loop: Header=BB0_8 Depth=2
cmp w19, w10, uxth
b.eq LBB0_17
LBB0_14: ; in Loop: Header=BB0_8 Depth=2
tst w7, #0x1
csel w14, w4, w14, ne
LBB0_15: ; in Loop: Header=BB0_8 Depth=2
and w15, w15, #0xffff
and w6, w6, #0xffff
cmp w6, w15
csel w15, w6, w15, hi
add w6, w4, #1
cmp w11, w6
b.ls LBB0_18
; %bb.16: ; in Loop: Header=BB0_8 Depth=2
add x5, x5, #1
sub w16, w16, #1
cmp w9, w4
mov x4, x6
b.hi LBB0_8
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_5 Depth=1
mov x15, x6
mov x14, x4
LBB0_18: ; in Loop: Header=BB0_5 Depth=1
ands w15, w15, #0xffff
add w9, w9, w15
b.eq LBB0_2
; %bb.19: ; in Loop: Header=BB0_5 Depth=1
cmp w9, w1
b.ne LBB0_2
; %bb.20: ; in Loop: Header=BB0_5 Depth=1
and w14, w14, #0xffff
lsl w14, w14, w3
sub w16, w15, #2
orr w14, w14, w16
cmp w15, #1
csel w14, wzr, w14, eq
mov x15, x12
b LBB0_4
LBB0_21:
mov w8, #5 ; =0x5
LBB0_22:
mov x0, x8
ldp x20, x19, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _lz77_decompress ; -- Begin function lz77_decompress
.p2align 2
_lz77_decompress: ; @lz77_decompress
.cfi_startproc
; %bb.0:
ldr w9, [x0]
cbz w9, LBB1_17
; %bb.1:
mov w8, #0 ; =0x0
ldrb w10, [x0, #4]
mov w11, #-1 ; =0xffffffff
lsl w11, w11, w10
mvn w11, w11
mov w12, #5 ; =0x5
b LBB1_4
LBB1_2: ; in Loop: Header=BB1_4 Depth=1
mov x15, x8
LBB1_3: ; in Loop: Header=BB1_4 Depth=1
add w8, w12, #2
add w12, w12, #3
ldrb w8, [x0, w8, uxtw]
strb w8, [x1, w15, uxtw]
add w8, w15, #1
cmp w8, w9
b.hs LBB1_16
LBB1_4: ; =>This Loop Header: Depth=1
; Child Loop BB1_14 Depth 2
; Child Loop BB1_9 Depth 2
ldrh w13, [x0, w12, uxtw]
lsr w17, w13, w10
cbz w17, LBB1_2
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
and w15, w11, w13
add w13, w15, #1
tbnz w13, #16, LBB1_2
; %bb.6: ; in Loop: Header=BB1_4 Depth=1
sub w14, w8, w17
and w16, w13, #0xffff
cmp w16, #64
b.hs LBB1_10
LBB1_7: ; in Loop: Header=BB1_4 Depth=1
mov x15, x8
LBB1_8: ; in Loop: Header=BB1_4 Depth=1
mov x8, x15
LBB1_9: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w16, [x1, w14, uxtw]
add w14, w14, #1
add w15, w8, #1
strb w16, [x1, w8, uxtw]
sub w13, w13, #1
mov x8, x15
tst w13, #0xffff
b.ne LBB1_9
b LBB1_3
LBB1_10: ; in Loop: Header=BB1_4 Depth=1
cmn w8, w15
cset w2, hs
cmn w14, w15
cset w15, hs
tbnz w2, #0, LBB1_7
; %bb.11: ; in Loop: Header=BB1_4 Depth=1
tbnz w15, #0, LBB1_7
; %bb.12: ; in Loop: Header=BB1_4 Depth=1
add x15, x1, w8, uxtw
add x2, x1, w14, uxtw
sub x15, x15, x2
cmp x15, #64
b.lo LBB1_7
; %bb.13: ; in Loop: Header=BB1_4 Depth=1
and w2, w16, #0xffc0
sub w13, w13, w2
add w14, w14, w2
add w15, w8, w2
neg w17, w17
mov x3, x2
LBB1_14: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
add w4, w17, w8
add x4, x1, x4
ldp q0, q1, [x4]
ldp q2, q3, [x4, #32]
add x4, x1, w8, uxtw
stp q0, q1, [x4]
stp q2, q3, [x4, #32]
add w8, w8, #64
subs w3, w3, #64
b.ne LBB1_14
; %bb.15: ; in Loop: Header=BB1_4 Depth=1
cmp w2, w16
b.eq LBB1_3
b LBB1_8
LBB1_16:
mov x0, x8
ret
LBB1_17:
mov w0, #0 ; =0x0
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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
adrp x22, _infile@PAGE
ldr x0, [x22, _infile@PAGEOFF]
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
bl _libmin_mopen
ldr x0, [x22, _infile@PAGEOFF]
bl _libmin_msize
mov x21, x0
str x0, [sp]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
and x19, x21, #0xffffffff
mov x0, x19
bl _libmin_malloc
mov x20, x0
ldr x2, [x22, _infile@PAGEOFF]
mov x1, x19
bl _libmin_mread
cmp x19, x0
b.ne LBB2_27
; %bb.1:
ldr x0, [x22, _infile@PAGEOFF]
bl _libmin_mclose
mov w0, #262144 ; =0x40000
bl _libmin_malloc
mov x22, x0
mov w25, #1 ; =0x1
mov x26, x21
mov w27, #-1 ; =0xffffffff
Lloh4:
adrp x23, l_.str.3@PAGE
Lloh5:
add x23, x23, l_.str.3@PAGEOFF
b LBB2_3
LBB2_2: ; in Loop: Header=BB2_3 Depth=1
stp x24, x26, [sp, #8]
str x25, [sp]
mov x0, x23
bl _libmin_printf
add w25, w25, #1
cmp w25, #16
b.eq LBB2_24
LBB2_3: ; =>This Loop Header: Depth=1
; Child Loop BB2_9 Depth 2
; Child Loop BB2_19 Depth 3
; Child Loop BB2_17 Depth 3
and w3, w25, #0xff
mov x0, x20
mov x1, x21
mov x2, x22
bl _lz77_compress
mov x24, x0
cmp w0, #64, lsl #12 ; =262144
b.lo LBB2_5
; %bb.4: ; in Loop: Header=BB2_3 Depth=1
mov w0, #1 ; =0x1
bl _libmin_fail
LBB2_5: ; in Loop: Header=BB2_3 Depth=1
ldr w8, [x22]
cbz w8, LBB2_21
; %bb.6: ; in Loop: Header=BB2_3 Depth=1
mov w13, #0 ; =0x0
ldrb w9, [x22, #4]
lsl w10, w27, w9
mvn w10, w10
mov w11, #5 ; =0x5
b LBB2_9
LBB2_7: ; in Loop: Header=BB2_9 Depth=2
mov x15, x13
LBB2_8: ; in Loop: Header=BB2_9 Depth=2
add w12, w11, #2
add w11, w11, #3
ldrb w12, [x22, w12, uxtw]
strb w12, [x20, w15, uxtw]
add w13, w15, #1
cmp w13, w8
b.hs LBB2_22
LBB2_9: ; Parent Loop BB2_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_19 Depth 3
; Child Loop BB2_17 Depth 3
ldrh w12, [x22, w11, uxtw]
lsr w17, w12, w9
cbz w17, LBB2_7
; %bb.10: ; in Loop: Header=BB2_9 Depth=2
and w15, w10, w12
add w12, w15, #1
tbnz w12, #16, LBB2_7
; %bb.11: ; in Loop: Header=BB2_9 Depth=2
sub w14, w13, w17
and w16, w12, #0xffff
cmp w16, #64
b.lo LBB2_15
; %bb.12: ; in Loop: Header=BB2_9 Depth=2
cmn w13, w15
cset w0, hs
cmn w14, w15
cset w15, hs
tbnz w0, #0, LBB2_15
; %bb.13: ; in Loop: Header=BB2_9 Depth=2
tbnz w15, #0, LBB2_15
; %bb.14: ; in Loop: Header=BB2_9 Depth=2
add x15, x20, w13, uxtw
add x0, x20, w14, uxtw
sub x15, x15, x0
cmp x15, #64
b.hs LBB2_18
LBB2_15: ; in Loop: Header=BB2_9 Depth=2
mov x15, x13
LBB2_16: ; in Loop: Header=BB2_9 Depth=2
mov x13, x15
LBB2_17: ; Parent Loop BB2_3 Depth=1
; Parent Loop BB2_9 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w16, [x20, w14, uxtw]
add w14, w14, #1
add w15, w13, #1
strb w16, [x20, w13, uxtw]
sub w12, w12, #1
mov x13, x15
tst w12, #0xffff
b.ne LBB2_17
b LBB2_8
LBB2_18: ; in Loop: Header=BB2_9 Depth=2
and w0, w16, #0xffc0
sub w12, w12, w0
add w14, w14, w0
add w15, w13, w0
neg w17, w17
mov x1, x0
LBB2_19: ; Parent Loop BB2_3 Depth=1
; Parent Loop BB2_9 Depth=2
; => This Inner Loop Header: Depth=3
add w2, w17, w13
add x2, x20, x2
ldp q0, q1, [x2]
ldp q2, q3, [x2, #32]
add x2, x20, w13, uxtw
stp q0, q1, [x2]
stp q2, q3, [x2, #32]
add w13, w13, #64
subs w1, w1, #64
b.ne LBB2_19
; %bb.20: ; in Loop: Header=BB2_9 Depth=2
cmp w0, w16
b.eq LBB2_8
b LBB2_16
LBB2_21: ; in Loop: Header=BB2_3 Depth=1
mov w13, #0 ; =0x0
LBB2_22: ; in Loop: Header=BB2_3 Depth=1
cmp w13, w21
b.eq LBB2_2
; %bb.23: ; in Loop: Header=BB2_3 Depth=1
mov w0, #1 ; =0x1
bl _libmin_fail
b LBB2_2
LBB2_24:
cbz w21, LBB2_26
LBB2_25: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x20], #1
bl _libmin_putc
subs x19, x19, #1
b.ne LBB2_25
LBB2_26:
bl _libmin_success
LBB2_27:
mov w0, #0 ; =0x0
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 Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl ___lamia ; @__lamia
___lamia:
.ascii "\n The Project Gutenberg eBook of Lamia\n \nThis ebook is for the use of anyone anywhere in the United States and \nmost other parts of the world at no cost and with almost no restrictions \nwhatsoever. You may copy it, give it away or re-use it under the terms \nof the Project Gutenberg License included with this ebook or online \nat www.gutenberg.org. If you are not located in the United States, \nyou will have to check the laws of the country where you are located \nbefore using this eBook.\n\n\n\n \n Title: Lamia\n \n Author: John Keats\n\n \n Release date: January 1, 2001 [eBook #2490]Most recently updated: December 23, 2008\n Language: English\n \n \n \n \n *** START OF THE PROJECT GUTENBERG EBOOK LAMIA ***\n \n\n\n\nProduced by An Anonymous Volunteer\n\n\n\n\n\nLAMIA\n\nBy John Keats\n\n\n\n\nPart 1\n\n Upon a time, before the faery broods\n Drove Nymph and Satyr from the prosperous woods,\n Before King Oberon's bright diadem,\n Sceptre, and mantle, clasp'd with dewy gem,\n Frighted away the Dryads and the Fauns\n From rushes green, and brakes, and cowslip'd lawns,\n The ever-smitten Hermes empty left\n His golden throne, bent warm on amorous theft:\n From high Olympus had he stolen light,\n On this side of Jove's clouds, to escape the sight\n Of his great summoner, and made retreat\n Into a forest on the shores of Crete.\n For somewhere in that sacred island dwelt\n A nymph, to whom all hoofed Satyrs knelt;\n At whose white feet the languid Tritons poured\n Pearls, while on land they wither'd and adored.\n Fast by the springs where she to bathe was wont,\n And in those meads where sometime she might haunt,\n Were strewn rich gifts, unknown to any Muse,\n Though Fancy's casket were unlock'd to choose.\n Ah, what a world of love was at her feet!\n So Hermes thought, and a celestial heat\n Burnt from his winged heels to either ear,\n That from a whiteness, as the lily clear,\n Blush'd into roses 'mid his golden hair,\n Fallen in jealous curls about his shoulders bare.\n From vale to vale, from wood to wood, he flew,\n Breathing upon the flowers his passion new,\n And wound with many a river to its head,\n To find where this sweet nymph prepar'd her secret bed:\n In vain; the sweet nymph might nowhere be found,\n And so he rested, on the lonely ground,\n Pensive, and full of painful jealousies\n Of the Wood-Gods, and even the very trees.\n There as he stood, he heard a mournful voice,\n Such as once heard, in gentle heart, destroys\n All pain but pity: thus the lone voice spake:\n \"When from this wreathed tomb shall I awake!\n When move in a sweet body fit for life,\n And love, and pleasure, and the ruddy strife\n Of hearts and lips! Ah, miserable me!\"\n The God, dove-footed, glided silently\n Round bush and tree, soft-brushing, in his speed,\n The taller grasses and full-flowering weed,\n Until he found a palpitating snake,\n Bright, and cirque-couchant in a dusky brake.\n\n She was a gordian shape of dazzling hue,\n Vermilion-spotted, golden, green, and blue;\n Striped like a zebra, freckled like a pard,\n Eyed like a peacock, and all crimson barr'd;\n And full of silver moons, that, as she breathed,\n Dissolv'd, or brighter shone, or interwreathed\n Their lustres with the gloomier tapestries--\n So rainbow-sided, touch'd with miseries,\n She seem'd, at once, some penanced lady elf,\n Some demon's mistress, or the demon's self.\n Upon her crest she wore a wannish fire\n Sprinkled with stars, like Ariadne's tiar:\n Her head was serpent, but ah, bitter-sweet!\n She had a woman's mouth with all its pearls complete:\n And for her eyes: what could such eyes do there\n But weep, and weep, that they were born so fair?\n As Proserpine still weeps for her Sicilian air.\n Her throat was serpent, but the words she spake\n Came, as through bubbling honey, for Love's sake,\n And thus; while Hermes on his pinions lay,\n Like a stoop'd falcon ere he takes his prey.\n\n \"Fair Hermes, crown'd with feathers, fluttering light,\n I had a splendid dream of thee last night:\n I saw thee sitting, on a throne of gold,\n Among the Gods, upon Olympus old,\n The only sad one; for thou didst not hear\n The soft, lute-finger'd Muses chaunting clear,\n Nor even Apollo when he sang alone,\n Deaf to his throbbing throat's long, long melodious moan.\n I dreamt I saw thee, robed in purple flakes,\n Break amorous through the clouds, as morning breaks,\n And, swiftly as a bright Phoebean dart,\n Strike for the Cretan isle; and here thou art!\n Too gentle Hermes, hast thou found the maid?\"\n Whereat the star of Lethe not delay'd\n His rosy eloquence, and thus inquired:\n \"Thou smooth-lipp'd serpent, surely high inspired!\n Thou beauteous wreath, with melancholy eyes,\n Possess whatever bliss thou canst devise,\n Telling me only where my nymph is fled,--\n Where she doth breathe!\" \"Bright planet, thou hast said,\"\n Return'd the snake, \"but seal with oaths, fair God!\"\n \"I swear,\" said Hermes, \"by my serpent rod,\n And by thine eyes, and by thy starry crown!\"\n Light flew his earnest words, among the blossoms blown.\n Then thus again the brilliance feminine:\n \"Too frail of heart! for this lost nymph of thine,\n Free as the air, invisibly, she strays\n About these thornless wilds; her pleasant days\n She tastes unseen; unseen her nimble feet\n Leave traces in the grass and flowers sweet;\n From weary tendrils, and bow'd branches green,\n She plucks the fruit unseen, she bathes unseen:\n And by my power is her beauty veil'd\n To keep it unaffronted, unassail'd\n By the love-glances of unlovely eyes,\n Of Satyrs, Fauns, and blear'd Silenus' sighs.\n Pale grew her immortality, for woe\n Of all these lovers, and she grieved so\n I took compassion on her, bade her steep\n Her hair in weird syrops, that would keep\n Her loveliness invisible, yet free\n To wander as she loves, in liberty.\n Thou shalt behold her, Hermes, thou alone,\n If thou wilt, as thou swearest, grant my boon!\"\n Then, once again, the charmed God began\n An oath, and through the serpent's ears it ran\n Warm, tremulous, devout, psalterian.\n Ravish'd, she lifted her Circean head,\n Blush'd a live damask, and swift-lisping said,\n \"I was a woman, let me have once more\n A woman's shape, and charming as before.\n I love a youth of Corinth--O the bliss!\n Give me my woman's form, and place me where he is.\n Stoop, Hermes, let me breathe upon thy brow,\n And thou shalt see thy sweet nymph even now.\"\n The God on half-shut feathers sank serene,\n She breath'd upon his eyes, and swift was seen\n Of both the guarded nymph near-smiling on the green.\n It was no dream; or say a dream it was,\n Real are the dreams of Gods, and smoothly pass\n Their pleasures in a long immortal dream.\n One warm, flush'd moment, hovering, it might seem\n Dash'd by the wood-nymph's beauty, so he burn'd;\n Then, lighting on the printless verdure, turn'd\n To the swoon'd serpent, and with languid arm,\n Delicate, put to proof the lythe Caducean charm.\n So done, upon the nymph his eyes he bent,\n Full of adoring tears and blandishment,\n And towards her stept: she, like a moon in wane,\n Faded before him, cower'd, nor could restrain\n Her fearful sobs, self-folding like a flower\n That faints into itself at evening hour:\n But the God fostering her chilled hand,\n She felt the warmth, her eyelids open'd bland,\n And, like new flowers at morning song of bees,\n Bloom'd, and gave up her honey to the lees.\n Into the green-recessed woods they flew;\n Nor grew they pale, as mortal lovers do.\n\n Left to herself, the serpent now began\n To change; her elfin blood in madness ran,\n Her mouth foam'd, and the grass, therewith besprent,\n Wither'd at dew so sweet and virulent;\n Her eyes in torture fix'd, and anguish drear,\n Hot, glaz'd, and wide, with lid-lashes all sear,\n Flash'd phosphor and sharp sparks, without one cooling tear.\n The colours all inflam'd throughout her train,\n She writh'd about, convuls'd with scarlet pain:\n A deep volcanian yellow took the place\n Of all her milder-mooned body's grace;\n And, as the lava ravishes the mead,\n Spoilt all her silver mail, and golden brede;\n Made gloom of all her frecklings, streaks and bars,\n Eclips'd her crescents, and lick'd up her stars:\n So that, in moments few, she was undrest\n Of all her sapphires, greens, and amethyst,\n And rubious-argent: of all these bereft,\n Nothing but pain and ugliness were left.\n Still shone her crown; that vanish'd, also she\n Melted and disappear'd as suddenly;\n And in the air, her new voice luting soft,\n Cried, \"Lycius! gentle Lycius!\"--Borne aloft\n With the bright mists about the mountains hoar\n These words dissolv'd: Crete's forests heard no more.\n\n Whither fled Lamia, now a lady bright,\n A full-born beauty new and exquisite?\n She fled into that valley they pass o'er\n Who go to Corinth from Cenchreas' shore;\n And rested at the foot of those wild hills,\n The rugged founts of the Peraean rills,\n And of that other ridge whose barren back\n Stretches, with all its mist and cloudy rack,\n South-westward to Cleone. There she stood\n About a young bird's flutter from a wood,\n Fair, on a sloping green of mossy tread,\n By a clear pool, wherein she passioned\n To see herself escap'd from so sore ills,\n While her robes flaunted with the daffodils.\n\n Ah, happy Lycius!--for she was a maid\n More beautiful than ever twisted braid,\n Or sigh'd, or blush'd, or on spring-flowered lea\n Spread a green kirtle to the minstrelsy:\n A virgin purest lipp'd, yet in the lore\n Of love deep learned to the red heart's core:\n Not one hour old, yet of sciential brain\n To unperplex bliss from its neighbour pain;\n Define their pettish limits, and estrange\n Their points of contact, and swift counterchange;\n Intrigue with the specious chaos, and dispart\n Its most ambiguous atoms with sure art;\n As though in Cupid's college she had spent\n Sweet days a lovely graduate, still unshent,\n And kept his rosy terms in idle languishment.\n\n Why this fair creature chose so fairily\n By the wayside to linger, we shall see;\n But first 'tis fit to tell how she could muse\n And dream, when in the serpent prison-house,\n Of all she list, strange or magnificent:\n How, ever, where she will'd, her spirit went;\n Whether to faint Elysium, or where\n Down through tress-lifting waves the Nereids fair\n Wind into Thetis' bower by many a pearly stair;\n Or where God Bacchus drains his cups divine,\n Stretch'd out, at ease, beneath a glutinous pine;\n Or where in Pluto's gardens palatine\n Mulciber's columns gleam in far piazzian line.\n And sometimes into cities she would send\n Her dream, with feast and rioting to blend;\n And once, while among mortals dreaming thus,\n She saw the young Corinthian Lycius\n Charioting foremost in the envious race,\n Like a young Jove with calm uneager face,\n And fell into a swooning love of him.\n Now on the moth-time of that evening dim\n He would return that way, as well she knew,\n To Corinth from the shore; for freshly blew\n The eastern soft wind, and his galley now\n Grated the quaystones with her brazen prow\n In port Cenchreas, from Egina isle\n Fresh anchor'd; whither he had been awhile\n To sacrifice to Jove, whose temple there\n Waits with high marble doors for blood and incense rare.\n Jove heard his vows, and better'd his desire;\n For by some freakful chance he made retire\n From his companions, and set forth to walk,\n Perhaps grown wearied of their Corinth talk:\n Over the solitary hills he fared,\n Thoughtless at first, but ere eve's star appeared\n His phantasy was lost, where reason fades,\n In the calm'd twilight of Platonic shades.\n Lamia beheld him coming, near, more near--\n Close to her passing, in indifference drear,\n His silent sandals swept the mossy green;\n So neighbour'd to him, and yet so unseen\n She stood: he pass'd, shut up in mysteries,\n His mind wrapp'd like his mantle, while her eyes\n Follow'd his steps, and her neck regal white\n Turn'd--syllabling thus, \"Ah, Lycius bright,\n And will you leave me on the hills alone?\n Lycius, look back! and be some pity shown.\"\n He did; not with cold wonder fearingly,\n But Orpheus-like at an Eurydice;\n For so delicious were the words she sung,\n It seem'd he had lov'd them a whole summer long:\n And soon his eyes had drunk her beauty up,\n Leaving no drop in the bewildering cup,\n And still the cup was full,--while he afraid\n Lest she should vanish ere his lip had paid\n Due adoration, thus began to adore;\n Her soft look growing coy, she saw his chain so sure:\n \"Leave thee alone! Look back! Ah, Goddess, see\n Whether my eyes can ever turn from thee!\n For pity do not this sad heart belie--\n Even as thou vanishest so I shall die.\n Stay! though a Naiad of the rivers, stay!\n To thy far wishes will thy streams obey:\n Stay! though the greenest woods be thy domain,\n Alone they can drink up the morning rain:\n Though a descended Pleiad, will not one\n Of thine harmonious sisters keep in tune\n Thy spheres, and as thy silver proxy shine?\n So sweetly to these ravish'd ears of mine\n Came thy sweet greeting, that if thou shouldst fade\n Thy memory will waste me to a shade--\n For pity do not melt!\"--\"If I should stay,\"\n Said Lamia, \"here, upon this floor of clay,\n And pain my steps upon these flowers too rough,\n What canst thou say or do of charm enough\n To dull the nice remembrance of my home?\n Thou canst not ask me with thee here to roam\n Over these hills and vales, where no joy is,--\n Empty of immortality and bliss!\n Thou art a scholar, Lycius, and must know\n That finer spirits cannot breathe below\n In human climes, and live: Alas! poor youth,\n What taste of purer air hast thou to soothe\n My essence? What serener palaces,\n Where I may all my many senses please,\n And by mysterious sleights a hundred thirsts appease?\n It cannot be--Adieu!\" So said, she rose\n Tiptoe with white arms spread. He, sick to lose\n The amorous promise of her lone complain,\n Swoon'd, murmuring of love, and pale with pain.\n The cruel lady, without any show\n Of sorrow for her tender favourite's woe,\n But rather, if her eyes could brighter be,\n With brighter eyes and slow amenity,\n Put her new lips to his, and gave afresh\n The life she had so tangled in her mesh:\n And as he from one trance was wakening\n Into another, she began to sing,\n Happy in beauty, life, and love, and every thing,\n A song of love, too sweet for earthly lyres,\n While, like held breath, the stars drew in their panting fires\n And then she whisper'd in such trembling tone,\n As those who, safe together met alone\n For the first time through many anguish'd days,\n Use other speech than looks; bidding him raise\n His drooping head, and clear his soul of doubt,\n For that she was a woman, and without\n Any more subtle fluid in her veins\n Than throbbing blood, and that the self-same pains\n Inhabited her frail-strung heart as his.\n And next she wonder'd how his eyes could miss\n Her face so long in Corinth, where, she said,\n She dwelt but half retir'd, and there had led\n Days happy as the gold coin could invent\n Without the aid of love; yet in content\n Till she saw him, as once she pass'd him by,\n Where 'gainst a column he leant thoughtfully\n At Venus' temple porch, 'mid baskets heap'd\n Of amorous herbs and flowers, newly reap'd\n Late on that eve, as 'twas the night before\n The Adonian feast; whereof she saw no more,\n But wept alone those days, for why should she adore?\n Lycius from death awoke into amaze,\n To see her still, and singing so sweet lays;\n Then from amaze into delight he fell\n To hear her whisper woman's lore so well;\n And every word she spake entic'd him on\n To unperplex'd delight and pleasure known.\n Let the mad poets say whate'er they please\n Of the sweets of Fairies, Peris, Goddesses,\n There is not such a treat among them all,\n Haunters of cavern, lake, and waterfall,\n As a real woman, lineal indeed\n From Pyrrha's pebbles or old Adam's seed.\n Thus gentle Lamia judg'd, and judg'd aright,\n That Lycius could not love in half a fright,\n So threw the goddess off, and won his heart\n More pleasantly by playing woman's part,\n With no more awe than what her beauty gave,\n That, while it smote, still guaranteed to save.\n Lycius to all made eloquent reply,\n Marrying to every word a twinborn sigh;\n And last, pointing to Corinth, ask'd her sweet,\n If 'twas too far that night for her soft feet.\n The way was short, for Lamia's eagerness\n Made, by a spell, the triple league decrease\n To a few paces; not at all surmised\n By blinded Lycius, so in her comprized.\n They pass'd the city gates, he knew not how\n So noiseless, and he never thought to know.\n\n As men talk in a dream, so Corinth all,\n Throughout her palaces imperial,\n And all her populous streets and temples lewd,\n Mutter'd, like tempest in the distance brew'd,\n To the wide-spreaded night above her towers.\n Men, women, rich and poor, in the cool hours,\n Shuffled their sandals o'er the pavement white,\n Companion'd or alone; while many a light\n Flared, here and there, from wealthy festivals,\n And threw their moving shadows on the walls,\n Or found them cluster'd in the corniced shade\n Of some arch'd temple door, or dusky colonnade.\n\n Muffling his face, of greeting friends in fear,\n Her fingers he press'd hard, as one came near\n With curl'd gray beard, sharp eyes, and smooth bald crown,\n Slow-stepp'd, and robed in philosophic gown:\n Lycius shrank closer, as they met and past,\n Into his mantle, adding wings to haste,\n While hurried Lamia trembled: \"Ah,\" said he,\n \"Why do you shudder, love, so ruefully?\n Why does your tender palm dissolve in dew?\"--\n \"I'm wearied,\" said fair Lamia: \"tell me who\n Is that old man? I cannot bring to mind\n His features--Lycius! wherefore did you blind\n Yourself from his quick eyes?\" Lycius replied,\n 'Tis Apollonius sage, my trusty guide\n And good instructor; but to-night he seems\n The ghost of folly haunting my sweet dreams.\n\n While yet he spake they had arrived before\n A pillar'd porch, with lofty portal door,\n Where hung a silver lamp, whose phosphor glow\n Reflected in the slabbed steps below,\n Mild as a star in water; for so new,\n And so unsullied was the marble hue,\n So through the crystal polish, liquid fine,\n Ran the dark veins, that none but feet divine\n Could e'er have touch'd there. Sounds Aeolian\n Breath'd from the hinges, as the ample span\n Of the wide doors disclos'd a place unknown\n Some time to any, but those two alone,\n And a few Persian mutes, who that same year\n Were seen about the markets: none knew where\n They could inhabit; the most curious\n Were foil'd, who watch'd to trace them to their house:\n And but the flitter-winged verse must tell,\n For truth's sake, what woe afterwards befel,\n 'Twould humour many a heart to leave them thus,\n Shut from the busy world of more incredulous.\n\n\n\n\nPart 2\n\n Love in a hut, with water and a crust,\n Is--Love, forgive us!--cinders, ashes, dust;\n Love in a palace is perhaps at last\n More grievous torment than a hermit's fast--\n That is a doubtful tale from faery land,\n Hard for the non-elect to understand.\n Had Lycius liv'd to hand his story down,\n He might have given the moral a fresh frown,\n Or clench'd it quite: but too short was their bliss\n To breed distrust and hate, that make the soft voice hiss.\n Besides, there, nightly, with terrific glare,\n Love, jealous grown of so complete a pair,\n Hover'd and buzz'd his wings, with fearful roar,\n Above the lintel of their chamber door,\n And down the passage cast a glow upon the floor.\n\n For all this came a ruin: side by side\n They were enthroned, in the even tide,\n Upon a couch, near to a curtaining\n Whose airy texture, from a golden string,\n Floated into the room, and let appear\n Unveil'd the summer heaven, blue and clear,\n Betwixt two marble shafts:--there they reposed,\n Where use had made it sweet, with eyelids closed,\n Saving a tythe which love still open kept,\n That they might see each other while they almost slept;\n When from the slope side of a suburb hill,\n Deafening the swallow's twitter, came a thrill\n Of trumpets--Lycius started--the sounds fled,\n But left a thought, a buzzing in his head.\n For the first time, since first he harbour'd in\n That purple-lined palace of sweet sin,\n His spirit pass'd beyond its golden bourn\n Into the noisy world almost forsworn.\n The lady, ever watchful, penetrant,\n Saw this with pain, so arguing a want\n Of something more, more than her empery\n Of joys; and she began to moan and sigh\n Because he mused beyond her, knowing well\n That but a moment's thought is passion's passing bell.\n \"Why do you sigh, fair creature?\" whisper'd he:\n \"Why do you think?\" return'd she tenderly:\n \"You have deserted me--where am I now?\n Not in your heart while care weighs on your brow:\n No, no, you have dismiss'd me; and I go\n From your breast houseless: ay, it must be so.\"\n He answer'd, bending to her open eyes,\n Where he was mirror'd small in paradise,\n My silver planet, both of eve and morn!\n Why will you plead yourself so sad forlorn,\n While I am striving how to fill my heart\n With deeper crimson, and a double smart?\n How to entangle, trammel up and snare\n Your soul in mine, and labyrinth you there\n Like the hid scent in an unbudded rose?\n Ay, a sweet kiss--you see your mighty woes.\n My thoughts! shall I unveil them? Listen then!\n What mortal hath a prize, that other men\n May be confounded and abash'd withal,\n But lets it sometimes pace abroad majestical,\n And triumph, as in thee I should rejoice\n Amid the hoarse alarm of Corinth's voice.\n \"Let my foes choke, and my friends shout afar,\n While through the thronged streets your bridal car\n Wheels round its dazzling spokes.\" The lady's cheek\n Trembled; she nothing said, but, pale and meek,\n Arose and knelt before him, wept a rain\n Of sorrows at his words; at last with pain\n Beseeching him, the while his hand she wrung,\n To change his purpose. He thereat was stung,\n Perverse, with stronger fancy to reclaim\n Her wild and timid nature to his aim:\n Besides, for all his love, in self despite,\n Against his better self, he took delight\n Luxurious in her sorrows, soft and new.\n His passion, cruel grown, took on a hue\n Fierce and sanguineous as 'twas possible\n In one whose brow had no dark veins to swell.\n Fine was the mitigated fury, like\n Apollo's presence when in act to strike\n The serpent--Ha, the serpent! certes, she\n Was none. She burnt, she lov'd the tyranny,\n And, all subdued, consented to the hour\n When to the bridal he should lead his paramour.\n Whispering in midnight silence, said the youth,\n \"Sure some sweet name thou hast, though, by my truth,\n I have not ask'd it, ever thinking thee\n Not mortal, but of heavenly progeny,\n As still I do. Hast any mortal name,\n Fit appellation for this dazzling frame?\n Or friends or kinsfolk on the citied earth,\n To share our marriage feast and nuptial mirth?\"\n \"I have no friends,\" said Lamia,\" no, not one;\n My presence in wide Corinth hardly known:\n My parents' bones are in their dusty urns\n Sepulchred, where no kindled incense burns,\n Seeing all their luckless race are dead, save me,\n And I neglect the holy rite for thee.\n Even as you list invite your many guests;\n But if, as now it seems, your vision rests\n With any pleasure on me, do not bid\n Old Apollonius--from him keep me hid.\"\n Lycius, perplex'd at words so blind and blank,\n Made close inquiry; from whose touch she shrank,\n Feigning a sleep; and he to the dull shade\n Of deep sleep in a moment was betray'd\n\n It was the custom then to bring away\n The bride from home at blushing shut of day,\n Veil'd, in a chariot, heralded along\n By strewn flowers, torches, and a marriage song,\n With other pageants: but this fair unknown\n Had not a friend. So being left alone,\n (Lycius was gone to summon all his kin)\n And knowing surely she could never win\n His foolish heart from its mad pompousness,\n She set herself, high-thoughted, how to dress\n The misery in fit magnificence.\n She did so, but 'tis doubtful how and whence\n Came, and who were her subtle servitors.\n About the halls, and to and from the doors,\n There was a noise of wings, till in short space\n The glowing banquet-room shone with wide-arched grace.\n A haunting music, sole perhaps and lone\n Supportress of the faery-roof, made moan\n Throughout, as fearful the whole charm might fade.\n Fresh carved cedar, mimicking a glade\n Of palm and plantain, met from either side,\n High in the midst, in honour of the bride:\n Two palms and then two plantains, and so on,\n From either side their stems branch'd one to one\n All down the aisled place; and beneath all\n There ran a stream of lamps straight on from wall to wall.\n So canopied, lay an untasted feast\n Teeming with odours. Lamia, regal drest,\n Silently paced about, and as she went,\n In pale contented sort of discontent,\n Mission'd her viewless servants to enrich\n The fretted splendour of each nook and niche.\n Between the tree-stems, marbled plain at first,\n Came jasper pannels; then, anon, there burst\n Forth creeping imagery of slighter trees,\n And with the larger wove in small intricacies.\n Approving all, she faded at self-will,\n And shut the chamber up, close, hush'd and still,\n Complete and ready for the revels rude,\n When dreadful guests would come to spoil her solitude.\n\n The day appear'd, and all the gossip rout.\n O senseless Lycius! Madman! wherefore flout\n The silent-blessing fate, warm cloister'd hours,\n And show to common eyes these secret bowers?\n The herd approach'd; each guest, with busy brain,\n Arriving at the portal, gaz'd amain,\n And enter'd marveling: for they knew the street,\n Remember'd it from childhood all complete\n Without a gap, yet ne'er before had seen\n That royal porch, that high-built fair demesne;\n So in they hurried all, maz'd, curious and keen:\n Save one, who look'd thereon with eye severe,\n And with calm-planted steps walk'd in austere;\n 'Twas Apollonius: something too he laugh'd,\n As though some knotty problem, that had daft\n His patient thought, had now begun to thaw,\n And solve and melt--'twas just as he foresaw.\n\n He met within the murmurous vestibule\n His young disciple. \"'Tis no common rule,\n Lycius,\" said he, \"for uninvited guest\n To force himself upon you, and infest\n With an unbidden presence the bright throng\n Of younger friends; yet must I do this wrong,\n And you forgive me.\" Lycius blush'd, and led\n The old man through the inner doors broad-spread;\n With reconciling words and courteous mien\n Turning into sweet milk the sophist's spleen.\n\n Of wealthy lustre was the banquet-room,\n Fill'd with pervading brilliance and perfume:\n Before each lucid pannel fuming stood\n A censer fed with myrrh and spiced wood,\n Each by a sacred tripod held aloft,\n Whose slender feet wide-swerv'd upon the soft\n Wool-woofed carpets: fifty wreaths of smoke\n From fifty censers their light voyage took\n To the high roof, still mimick'd as they rose\n Along the mirror'd walls by twin-clouds odorous.\n Twelve sphered tables, by silk seats insphered,\n High as the level of a man's breast rear'd\n On libbard's paws, upheld the heavy gold\n Of cups and goblets, and the store thrice told\n Of Ceres' horn, and, in huge vessels, wine\n Come from the gloomy tun with merry shine.\n Thus loaded with a feast the tables stood,\n Each shrining in the midst the image of a God.\n\n When in an antichamber every guest\n Had felt the cold full sponge to pleasure press'd,\n By minist'ring slaves, upon his hands and feet,\n And fragrant oils with ceremony meet\n Pour'd on his hair, they all mov'd to the feast\n In white robes, and themselves in order placed\n Around the silken couches, wondering\n Whence all this mighty cost and blaze of wealth could spring.\n\n Soft went the music the soft air along,\n While fluent Greek a vowel'd undersong\n Kept up among the guests discoursing low\n At first, for scarcely was the wine at flow;\n But when the happy vintage touch'd their brains,\n Louder they talk, and louder come the strains\n Of powerful instruments--the gorgeous dyes,\n The space, the splendour of the draperies,\n The roof of awful richness, nectarous cheer,\n Beautiful slaves, and Lamia's self, appear,\n Now, when the wine has done its rosy deed,\n And every soul from human trammels freed,\n No more so strange; for merry wine, sweet wine,\n Will make Elysian shades not too fair, too divine.\n Soon was God Bacchus at meridian height;\n Flush'd were their cheeks, and bright eyes double bright:\n Garlands of every green, and every scent\n From vales deflower'd, or forest-trees branch rent,\n In baskets of bright osier'd gold were brought\n High as the handles heap'd, to suit the thought\n Of every guest; that each, as he did please,\n Might fancy-fit his brows, silk-pillow'd at his ease.\n\n What wreath for Lamia? What for Lycius?\n What for the sage, old Apollonius?\n Upon her aching forehead be there hung\n The leaves of willow and of adder's tongue;\n And for the youth, quick, let us strip for him\n The thyrsus, that his watching eyes may swim\n Into forgetfulness; and, for the sage,\n Let spear-grass and the spiteful thistle wage\n War on his temples. Do not all charms fly\n At the mere touch of cold philosophy?\n There was an awful rainbow once in heaven:\n We know her woof, her texture; she is given\n In the dull catalogue of common things.\n Philosophy will clip an Angel's wings,\n Conquer all mysteries by rule and line,\n Empty the haunted air, and gnomed mine--\n Unweave a rainbow, as it erewhile made\n The tender-person'd Lamia melt into a shade.\n\n By her glad Lycius sitting, in chief place,\n Scarce saw in all the room another face,\n Till, checking his love trance, a cup he took\n Full brimm'd, and opposite sent forth a look\n 'Cross the broad table, to beseech a glance\n From his old teacher's wrinkled countenance,\n And pledge him. The bald-head philosopher\n Had fix'd his eye, without a twinkle or stir\n Full on the alarmed beauty of the bride,\n Brow-beating her fair form, and troubling her sweet pride.\n Lycius then press'd her hand, with devout touch,\n As pale it lay upon the rosy couch:\n 'Twas icy, and the cold ran through his veins;\n Then sudden it grew hot, and all the pains\n Of an unnatural heat shot to his heart.\n \"Lamia, what means this? Wherefore dost thou start?\n Know'st thou that man?\" Poor Lamia answer'd not.\n He gaz'd into her eyes, and not a jot\n Own'd they the lovelorn piteous appeal:\n More, more he gaz'd: his human senses reel:\n Some hungry spell that loveliness absorbs;\n There was no recognition in those orbs.\n \"Lamia!\" he cried--and no soft-toned reply.\n The many heard, and the loud revelry\n Grew hush; the stately music no more breathes;\n The myrtle sicken'd in a thousand wreaths.\n By faint degrees, voice, lute, and pleasure ceased;\n A deadly silence step by step increased,\n Until it seem'd a horrid presence there,\n And not a man but felt the terror in his hair.\n \"Lamia!\" he shriek'd; and nothing but the shriek\n With its sad echo did the silence break.\n \"Begone, foul dream!\" he cried, gazing again\n In the bride's face, where now no azure vein\n Wander'd on fair-spaced temples; no soft bloom\n Misted the cheek; no passion to illume\n The deep-recessed vision--all was blight;\n Lamia, no longer fair, there sat a deadly white.\n \"Shut, shut those juggling eyes, thou ruthless man!\n Turn them aside, wretch! or the righteous ban\n Of all the Gods, whose dreadful images\n Here represent their shadowy presences,\n May pierce them on the sudden with the thorn\n Of painful blindness; leaving thee forlorn,\n In trembling dotage to the feeblest fright\n Of conscience, for their long offended might,\n For all thine impious proud-heart sophistries,\n Unlawful magic, and enticing lies.\n Corinthians! look upon that gray-beard wretch!\n Mark how, possess'd, his lashless eyelids stretch\n Around his demon eyes! Corinthians, see!\n My sweet bride withers at their potency.\"\n \"Fool!\" said the sophist, in an under-tone\n Gruff with contempt; which a death-nighing moan\n From Lycius answer'd, as heart-struck and lost,\n He sank supine beside the aching ghost.\n \"Fool! Fool!\" repeated he, while his eyes still\n Relented not, nor mov'd; \"from every ill\n Of life have I preserv'd thee to this day,\n And shall I see thee made a serpent's prey?\"\n Then Lamia breath'd death breath; the sophist's eye,\n Like a sharp spear, went through her utterly,\n Keen, cruel, perceant, stinging: she, as well\n As her weak hand could any meaning tell,\n Motion'd him to be silent; vainly so,\n He look'd and look'd again a level--No!\n \"A Serpent!\" echoed he; no sooner said,\n Than with a frightful scream she vanished:\n And Lycius' arms were empty of delight,\n As were his limbs of life, from that same night.\n On the high couch he lay!--his friends came round\n Supported him--no pulse, or breath they found,\n And, in its marriage robe, the heavy body wound.\n\n\n\n\n\n\n \n *** END OF THE PROJECT GUTENBERG EBOOK LAMIA ***\n \n\n \n\nUpdated editions will replace the previous one\342\200\224the old editions will\nbe renamed.\n\n\nCreating the works from print editions not protected by U.S. copyright\nlaw means that no one owns a United States copyright in these works,\nso the Foundation (and you!) can copy and distribute it in the United\nStates without permission and without paying copyright\nroyalties. Special rules, set forth in the General Terms of Use part\nof this license, apply to copying and distributing Project\nGutenberg\342\204\242 electronic works to protect the PROJECT GUTENBERG\342\204\242\nconcept and trademark. Project Gutenberg is a registered trademark,\nand may not be used if you charge for an eBook, except by following\nthe terms of the trademark license, including paying royalties for use\nof the Project Gutenberg trademark. If you do not charge anything for\ncopies of this eBook, complying with the trademark license is very\neasy. You may use this eBook for nearly any purpose such as creation\nof derivative works, reports, performances and research. Project\nGutenberg eBooks may be modified and printed and given away\342\200\224you may\ndo practically ANYTHING in the United States with eBooks not protected\nby U.S. copyright law. Redistribution is subject to the trademark\nlicense, especially commercial redistribution.\n\n\nSTART: FULL LICENSE\nTHE FULL PROJECT GUTENBERG LICENSE\nPLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK\n\n\nTo protect the Project Gutenberg\342\204\242 mission of promoting the free\ndistribution of electronic works, by using or distributing this work\n(or any other work associated in any way with the phrase \342\200\234Project\nGutenberg\342\200\235), you agree to comply with all the terms of the Full\nProject Gutenberg\342\204\242 License available with this file or online at\nwww.gutenberg.org/license.\n\n\nSection 1. General Terms of Use and Redistributing Project Gutenberg\342\204\242 electronic works\n\n\n1.A. By reading or using any part of this Project Gutenberg\342\204\242\nelectronic work, you indicate that you have read, understand, agree to\nand accept all the terms of this license and intellectual property\n(trademark/copyright) agreement. If you do not agree to abide by all\nthe terms of this agreement, you must cease using and return or\ndestroy all copies of Project Gutenberg\342\204\242 electronic works in your\npossession. If you paid a fee for obtaining a copy of or access to a\nProject Gutenberg\342\204\242 electronic work and you do not agree to be bound\nby the terms of this agreement, you may obtain a refund from the person\nor entity to whom you paid the fee as set forth in paragraph 1.E.8.\n\n\n1.B. \342\200\234Project Gutenberg\342\200\235 is a registered trademark. It may only be\nused on or associated in any way with an electronic work by people who\nagree to be bound by the terms of this agreement. There are a few\nthings that you can do with most Project Gutenberg\342\204\242 electronic works\neven without complying with the full terms of this agreement. See\nparagraph 1.C below. There are a lot of things you can do with Project\nGutenberg\342\204\242 electronic works if you follow the terms of this\nagreement and help preserve free future access to Project Gutenberg\342\204\242\nelectronic works. See paragraph 1.E below.\n\n\n1.C. The Project Gutenberg Literary Archive Foundation (\342\200\234the\nFoundation\342\200\235 or PGLAF), owns a compilation copyright in the collection\nof Project Gutenberg\342\204\242 electronic works. Nearly all the individual\nworks in the collection are in the public domain in the United\nStates. If an individual work is unprotected by copyright law in the\nUnited States and you are located in the United States, we do not\nclaim a right to prevent you from copying, distributing, performing,\ndisplaying or creating derivative works based on the work as long as\nall references to Project Gutenberg are removed. Of course, we hope\nthat you will support the Project Gutenberg\342\204\242 mission of promoting\nfree access to electronic works by freely sharing Project Gutenberg\342\204\242\nworks in compliance with the terms of this agreement for keeping the\nProject Gutenberg\342\204\242 name associated with the work. You can easily\ncomply with the terms of this agreement by keeping this work in the\nsame format with its attached full Project Gutenberg\342\204\242 License when\nyou share it without charge with others.\n\n\n\n1.D. The copyright laws of the place where you are located also govern\nwhat you can do with this work. Copyright laws in most countries are\nin a constant state of change. If you are outside the United States,\ncheck the laws of your country in addition to the terms of this\nagreement before downloading, copying, displaying, performing,\ndistributing or creating derivative works based on this work or any\nother Project Gutenberg\342\204\242 work. The Foundation makes no\nrepresentations concerning the copyright status of any work in any\ncountry other than the United States.\n\n\n1.E. Unless you have removed all references to Project Gutenberg:\n\n\n1.E.1. The following sentence, with active links to, or other\nimmediate access to, the full Project Gutenberg\342\204\242 License must appear\nprominently whenever any copy of a Project Gutenberg\342\204\242 work (any work\non which the phrase \342\200\234Project Gutenberg\342\200\235 appears, or with which the\nphrase \342\200\234Project Gutenberg\342\200\235 is associated) is accessed, displayed,\nperformed, viewed, copied or distributed:\n\n\n \n This eBook is for the use of anyone anywhere in the United States and most\n other parts of the world at no cost and with almost no restrictions\n whatsoever. You may copy it, give it away or re-use it under the terms\n of the Project Gutenberg License included with this eBook or online\n at www.gutenberg.org. If you\n are not located in the United States, you will have to check the laws\n of the country where you are located before using this eBook.\n \n\n\n1.E.2. If an individual Project Gutenberg\342\204\242 electronic work is\nderived from texts not protected by U.S. copyright law (does not\ncontain a notice indicating that it is posted with permission of the\ncopyright holder), the work can be copied and distributed to anyone in\nthe United States without paying any fees or charges. If you are\nredistributing or providing access to a work with the phrase \342\200\234Project\nGutenberg\342\200\235 associated with or appearing on the work, you must comply\neither with the requirements of paragraphs 1.E.1 through 1.E.7 or\nobtain permission for the use of the work and the Project Gutenberg\342\204\242\ntrademark as set forth in paragraphs 1.E.8 or 1.E.9.\n\n\n1.E.3. If an individual Project Gutenberg\342\204\242 electronic work is posted\nwith the permission of the copyright holder, your use and distribution\nmust comply with both paragraphs 1.E.1 through 1.E.7 and any\nadditional terms imposed by the copyright holder. Additional terms\nwill be linked to the Project Gutenberg\342\204\242 License for all works\nposted with the permission of the copyright holder found at the\nbeginning of this work.\n\n\n1.E.4. Do not unlink or detach or remove the full Project Gutenberg\342\204\242\nLicense terms from this work, or any files containing a part of this\nwork or any other work associated with Project Gutenberg\342\204\242.\n\n\n1.E.5. Do not copy, display, perform, distribute or redistribute this\nelectronic work, or any part of this electronic work, without\nprominently displaying the sentence set forth in paragraph 1.E.1 with\nactive links or immediate access to the full terms of the Project\nGutenberg\342\204\242 License.\n\n\n1.E.6. You may convert to and distribute this work in any binary,\ncompressed, marked up, nonproprietary or proprietary form, including\nany word processing or hypertext form. However, if you provide access\nto or distribute copies of a Project Gutenberg\342\204\242 work in a format\nother than \342\200\234Plain Vanilla ASCII\342\200\235 or other format used in the official\nversion posted on the official Project Gutenberg\342\204\242 website\n(www.gutenberg.org), you must, at no additional cost, fee or expense\nto the user, provide a copy, a means of exporting a copy, or a means\nof obtaining a copy upon request, of the work in its original \342\200\234Plain\nVanilla ASCII\342\200\235 or other form. Any alternate format must include the\nfull Project Gutenberg\342\204\242 License as specified in paragraph 1.E.1.\n\n\n1.E.7. Do not charge a fee for access to, viewing, displaying,\nperforming, copying or distributing any Project Gutenberg\342\204\242 works\nunless you comply with paragraph 1.E.8 or 1.E.9.\n\n\n1.E.8. You may charge a reasonable fee for copies of or providing\naccess to or distributing Project Gutenberg\342\204\242 electronic works\nprovided that:\n\n\n \342\200\242 You pay a royalty fee of 20% of the gross profits you derive from\n the use of Project Gutenberg\342\204\242 works calculated using the method\n you already use to calculate your applicable taxes. The fee is owed\n to the owner of the Project Gutenberg\342\204\242 trademark, but he has\n agreed to donate royalties under this paragraph to the Project\n Gutenberg Literary Archive Foundation. Royalty payments must be paid\n within 60 days following each date on which you prepare (or are\n legally required to prepare) your periodic tax returns. Royalty\n payments should be clearly marked as such and sent to the Project\n Gutenberg Literary Archive Foundation at the address specified in\n Section 4, \342\200\234Information about donations to the Project Gutenberg\n Literary Archive Foundation.\342\200\235\n \n \342\200\242 You provide a full refund of any money paid by a user who notifies\n you in writing (or by e-mail) within 30 days of receipt that s/he\n does not agree to the terms of the full Project Gutenberg\342\204\242\n License. You must require such a user to return or destroy all\n copies of the works possessed in a physical medium and discontinue\n all use of and all access to other copies of Project Gutenberg\342\204\242\n works.\n \n \342\200\242 You provide, in accordance with paragraph 1.F.3, a full refund of\n any money paid for a work or a replacement copy, if a defect in the\n electronic work is discovered and reported to you within 90 days of\n receipt of the work.\n \n \342\200\242 You comply with all other terms of this agreement for free\n distribution of Project Gutenberg\342\204\242 works.\n \n\n\n1.E.9. If you wish to charge a fee or distribute a Project\nGutenberg\342\204\242 electronic work or group of works on different terms than\nare set forth in this agreement, you must obtain permission in writing\nfrom the Project Gutenberg Literary Archive Foundation, the manager of\nthe Project Gutenberg\342\204\242 trademark. Contact the Foundation as set\nforth in Section 3 below.\n\n\n1.F.\n\n\n1.F.1. Project Gutenberg volunteers and employees expend considerable\neffort to identify, do copyright research on, transcribe and proofread\nworks not protected by U.S. copyright law in creating the Project\nGutenberg\342\204\242 collection. Despite these efforts, Project Gutenberg\342\204\242\nelectronic works, and the medium on which they may be stored, may\ncontain \342\200\234Defects,\342\200\235 such as, but not limited to, incomplete, inaccurate\nor corrupt data, transcription errors, a copyright or other\nintellectual property infringement, a defective or damaged disk or\nother medium, a computer virus, or computer codes that damage or\ncannot be read by your equipment.\n\n\n1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the \342\200\234Right\nof Replacement or Refund\342\200\235 described in paragraph 1.F.3, the Project\nGutenberg Literary Archive Foundation, the owner of the Project\nGutenberg\342\204\242 trademark, and any other party distributing a Project\nGutenberg\342\204\242 electronic work under this agreement, disclaim all\nliability to you for damages, costs and expenses, including legal\nfees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT\nLIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE\nPROVIDED IN PARAGRAPH 1.F.3. YOU AGREE THAT THE FOUNDATION, THE\nTRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE\nLIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR\nINCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH\nDAMAGE.\n\n\n1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a\ndefect in this electronic work within 90 days of receiving it, you can\nreceive a refund of the money (if any) you paid for it by sending a\nwritten explanation to the person you received the work from. If you\nreceived the work on a physical medium, you must return the medium\nwith your written explanation. The person or entity that provided you\nwith the defective work may elect to provide a replacement copy in\nlieu of a refund. If you received the work electronically, the person\nor entity providing it to you may choose to give you a second\nopportunity to receive the work electronically in lieu of a refund. If\nthe second copy is also defective, you may demand a refund in writing\nwithout further opportunities to fix the problem.\n\n\n1.F.4. Except for the limited right of replacement or refund set forth\nin paragraph 1.F.3, this work is provided to you \342\200\230AS-IS\342\200\231, WITH NO\nOTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT\nLIMITED TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.\n\n\n1.F.5. Some states do not allow disclaimers of certain implied\nwarranties or the exclusion or limitation of certain types of\ndamages. If any disclaimer or limitation set forth in this agreement\nviolates the law of the state applicable to this agreement, the\nagreement shall be interpreted to make the maximum disclaimer or\nlimitation permitted by the applicable state law. The invalidity or\nunenforceability of any provision of this agreement shall not void the\nremaining provisions.\n\n\n1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the\ntrademark owner, any agent or employee of the Foundation, anyone\nproviding copies of Project Gutenberg\342\204\242 electronic works in\naccordance with this agreement, and any volunteers associated with the\nproduction, promotion and distribution of Project Gutenberg\342\204\242\nelectronic works, harmless from all liability, costs and expenses,\nincluding legal fees, that arise directly or indirectly from any of\nthe following which you do or cause to occur: (a) distribution of this\nor any Project Gutenberg\342\204\242 work, (b) alteration, modification, or\nadditions or deletions to any Project Gutenberg\342\204\242 work, and (c) any\nDefect you cause.\n\n\nSection 2. Information about the Mission of Project Gutenberg\342\204\242\n\n\nProject Gutenberg\342\204\242 is synonymous with the free distribution of\nelectronic works in formats readable by the widest variety of\ncomputers including obsolete, old, middle-aged and new computers. It\nexists because of the efforts of hundreds of volunteers and donations\nfrom people in all walks of life.\n\n\nVolunteers and financial support to provide volunteers with the\nassistance they need are critical to reaching Project Gutenberg\342\204\242\342\200\231s\ngoals and ensuring that the Project Gutenberg\342\204\242 collection will\nremain freely available for generations to come. In 2001, the Project\nGutenberg Literary Archive Foundation was created to provide a secure\nand permanent future for Project Gutenberg\342\204\242 and future\ngenerations. To learn more about the Project Gutenberg Literary\nArchive Foundation and how your efforts and donations can help, see\nSections 3 and 4 and the Foundation information page at www.gutenberg.org.\n\n\nSection 3. Information about the Project Gutenberg Literary Archive Foundation\n\n\nThe Project Gutenberg Literary Archive Foundation is a non-profit\n501(c)(3) educational corporation organized under the laws of the\nstate of Mississippi and granted tax exempt status by the Internal\nRevenue Service. The Foundation\342\200\231s EIN or federal tax identification\nnumber is 64-6221541. Contributions to the Project Gutenberg Literary\nArchive Foundation are tax deductible to the full extent permitted by\nU.S. federal laws and your state\342\200\231s laws.\n\n\nThe Foundation\342\200\231s business office is located at 809 North 1500 West,\nSalt Lake City, UT 84116, (801) 596-1887. Email contact links and up\nto date contact information can be found at the Foundation\342\200\231s website\nand official page at www.gutenberg.org/contact\n\n\nSection 4. Information about Donations to the Project Gutenberg Literary Archive Foundation\n\n\nProject Gutenberg\342\204\242 depends upon and cannot survive without widespread\npublic support and donations to carry out its mission of\nincreasing the number of public domain and licensed works that can be\nfreely distributed in machine-readable form accessible by the widest\narray of equipment including outdated equipment. Many small donations\n($1 to $5,000) are particularly important to maintaining tax exempt\nstatus with the IRS.\n\n\nThe Foundation is committed to complying with the laws regulating\ncharities and charitable donations in all 50 states of the United\nStates. Compliance requirements are not uniform and it takes a\nconsiderable effort, much paperwork and many fees to meet and keep up\nwith these requirements. We do not solicit donations in locations\nwhere we have not received written confirmation of compliance. To SEND\nDONATIONS or determine the status of compliance for any particular state\nvisit www.gutenberg.org/donate.\n\n\nWhile we cannot and do not solicit contributions from states where we\nhave not met the solicitation requirements, we know of no prohibition\nagainst accepting unsolicited donations from donors in such states who\napproach us with offers to donate.\n\n\nInternational donations are gratefully accepted, but we cannot make\nany statements concerning tax treatment of donations received from\noutside the United States. U.S. laws alone swamp our small staff.\n\n\nPlease check the Project Gutenberg web pages for current donation\nmethods and addresses. Donations are accepted in a number of other\nways including checks, online payments and credit card donations. To\ndonate, please visit: www.gutenberg.org/donate.\n\n\nSection 5. General Information About Project Gutenberg\342\204\242 electronic works\n\n\nProfessor Michael S. Hart was the originator of the Project\nGutenberg\342\204\242 concept of a library of electronic works that could be\nfreely shared with anyone. For forty years, he produced and\ndistributed Project Gutenberg\342\204\242 eBooks with only a loose network of\nvolunteer support.\n\n\nProject Gutenberg\342\204\242 eBooks are often created from several printed\neditions, all of which are confirmed as not protected by copyright in\nthe U.S. unless a copyright notice is included. Thus, we do not\nnecessarily keep eBooks in compliance with any particular paper\nedition.\n\n\nMost people start at our website which has the main PG search\nfacility: www.gutenberg.org.\n\n\nThis website includes information about Project Gutenberg\342\204\242,\nincluding how to make donations to the Project Gutenberg Literary\nArchive Foundation, how to help produce our new eBooks, and how to\nsubscribe to our email newsletter to hear about new eBooks.\n\n"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "lamia.txt"
.section __DATA,__data
.globl ___infile ; @__infile
.p2align 3, 0x0
___infile:
.quad l_.str
.quad 54185 ; 0xd3a9
.quad ___lamia
.long 0 ; 0x0
.space 4
.globl _infile ; @infile
.p2align 3, 0x0
_infile:
.quad ___infile
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Original size: %ld\n"
l_.str.3: ; @.str.3
.asciz "Compressed (%i): %u, decompressed: (%u)\n"
.subsections_via_symbols
|
uniquify.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _string_compare ## -- Begin function string_compare
.p2align 4, 0x90
_string_compare: ## @string_compare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rdi
movq (%rsi), %rsi
popq %rbp
jmp _libmin_strcmp ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $288, %rsp ## imm = 0x120
.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)
leaq l___const.main.strings(%rip), %rsi
leaq -320(%rbp), %r14
movl $280, %edx ## imm = 0x118
movq %r14, %rdi
callq _memcpy
leaq L_.str.31(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.32(%rip), %rbx
leaq L_.str(%rip), %r15
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %r12
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.6(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.7(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.8(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.9(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.10(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.11(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.12(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.13(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.14(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.15(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.16(%rip), %r15
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.17(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.18(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.19(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.20(%rip), %r12
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.21(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.22(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.23(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.24(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.25(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.26(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.27(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.28(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.29(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.30(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.33(%rip), %r15
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq _string_compare(%rip), %rcx
movl $35, %esi
movl $8, %edx
movq %r14, %rdi
callq _libmin_qsort
leaq L_.str.34(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq -320(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -312(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -304(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -296(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -288(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -280(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -272(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -264(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -256(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -248(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -240(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -232(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -224(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -216(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -208(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -200(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -192(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -184(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -176(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -168(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -160(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -152(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -144(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -136(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -128(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -120(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -112(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -104(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -96(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -88(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -80(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -72(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -64(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -56(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -48(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.35(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq -320(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %r15d
movl $1, %r14d
jmp LBB1_1
.p2align 4, 0x90
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
incq %r15
cmpq $35, %r15
je LBB1_4
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -328(%rbp,%r15,8), %rsi
movq -320(%rbp,%r15,8), %rdi
callq _libmin_strcmp
testl %eax, %eax
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -320(%rbp,%r15,8), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r14
jmp LBB1_3
LBB1_4:
leaq L_.str.36(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB1_6
## %bb.5:
xorl %eax, %eax
addq $288, %rsp ## imm = 0x120
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB1_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "banana"
L_.str.1: ## @.str.1
.asciz "apple"
L_.str.2: ## @.str.2
.asciz "orange"
L_.str.3: ## @.str.3
.asciz "kiwi"
L_.str.4: ## @.str.4
.asciz "grape"
L_.str.5: ## @.str.5
.asciz "mango"
L_.str.6: ## @.str.6
.asciz "strawberry"
L_.str.7: ## @.str.7
.asciz "pear"
L_.str.8: ## @.str.8
.asciz "pineapple"
L_.str.9: ## @.str.9
.asciz "watermelon"
L_.str.10: ## @.str.10
.asciz "blueberry"
L_.str.11: ## @.str.11
.asciz "raspberry"
L_.str.12: ## @.str.12
.asciz "blackberry"
L_.str.13: ## @.str.13
.asciz "cherry"
L_.str.14: ## @.str.14
.asciz "peach"
L_.str.15: ## @.str.15
.asciz "apricot"
L_.str.16: ## @.str.16
.asciz "plum"
L_.str.17: ## @.str.17
.asciz "nectarine"
L_.str.18: ## @.str.18
.asciz "cantaloupe"
L_.str.19: ## @.str.19
.asciz "honeydew"
L_.str.20: ## @.str.20
.asciz "lime"
L_.str.21: ## @.str.21
.asciz "papaya"
L_.str.22: ## @.str.22
.asciz "passionfruit"
L_.str.23: ## @.str.23
.asciz "guava"
L_.str.24: ## @.str.24
.asciz "lychee"
L_.str.25: ## @.str.25
.asciz "pomegranate"
L_.str.26: ## @.str.26
.asciz "grapefruit"
L_.str.27: ## @.str.27
.asciz "lemon"
L_.str.28: ## @.str.28
.asciz "tangerine"
L_.str.29: ## @.str.29
.asciz "cranberry"
L_.str.30: ## @.str.30
.asciz "fig"
.section __DATA,__const
.p2align 4, 0x0 ## @__const.main.strings
l___const.main.strings:
.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 L_.str.8
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.1
.quad L_.str.12
.quad L_.str.13
.quad L_.str
.quad L_.str.14
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.26
.quad L_.str.27
.quad L_.str.20
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.16
.section __TEXT,__cstring,cstring_literals
L_.str.31: ## @.str.31
.asciz "Unsorted Strings:\n"
L_.str.32: ## @.str.32
.asciz "%s\n"
L_.str.33: ## @.str.33
.asciz "\n"
L_.str.34: ## @.str.34
.asciz "Sorted Strings:\n"
L_.str.35: ## @.str.35
.asciz "Unique Strings:\n"
L_.str.36: ## @.str.36
.asciz "\nTotal Unique Strings: %u\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _string_compare ; -- Begin function string_compare
.p2align 2
_string_compare: ; @string_compare
.cfi_startproc
; %bb.0:
ldr x0, [x0]
ldr x1, [x1]
b _libmin_strcmp
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #368
stp x24, x23, [sp, #304] ; 16-byte Folded Spill
stp x22, x21, [sp, #320] ; 16-byte Folded Spill
stp x20, x19, [sp, #336] ; 16-byte Folded Spill
stp x29, x30, [sp, #352] ; 16-byte Folded Spill
add x29, sp, #352
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x1, l___const.main.strings@PAGE
Lloh4:
add x1, x1, l___const.main.strings@PAGEOFF
add x21, sp, #16
add x0, sp, #16
mov w2, #280 ; =0x118
bl _memcpy
Lloh5:
adrp x0, l_.str.31@PAGE
Lloh6:
add x0, x0, l_.str.31@PAGEOFF
bl _libmin_printf
Lloh7:
adrp x20, l_.str@PAGE
Lloh8:
add x20, x20, l_.str@PAGEOFF
str x20, [sp]
Lloh9:
adrp x19, l_.str.32@PAGE
Lloh10:
add x19, x19, l_.str.32@PAGEOFF
mov x0, x19
bl _libmin_printf
Lloh11:
adrp x22, l_.str.1@PAGE
Lloh12:
add x22, x22, l_.str.1@PAGEOFF
str x22, [sp]
mov x0, x19
bl _libmin_printf
Lloh13:
adrp x8, l_.str.2@PAGE
Lloh14:
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh15:
adrp x8, l_.str.3@PAGE
Lloh16:
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh17:
adrp x8, l_.str.4@PAGE
Lloh18:
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh19:
adrp x8, l_.str.5@PAGE
Lloh20:
add x8, x8, l_.str.5@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh21:
adrp x8, l_.str.6@PAGE
Lloh22:
add x8, x8, l_.str.6@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh23:
adrp x8, l_.str.7@PAGE
Lloh24:
add x8, x8, l_.str.7@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh25:
adrp x8, l_.str.8@PAGE
Lloh26:
add x8, x8, l_.str.8@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh27:
adrp x8, l_.str.9@PAGE
Lloh28:
add x8, x8, l_.str.9@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh29:
adrp x8, l_.str.10@PAGE
Lloh30:
add x8, x8, l_.str.10@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh31:
adrp x8, l_.str.11@PAGE
Lloh32:
add x8, x8, l_.str.11@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
str x22, [sp]
mov x0, x19
bl _libmin_printf
Lloh33:
adrp x8, l_.str.12@PAGE
Lloh34:
add x8, x8, l_.str.12@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh35:
adrp x8, l_.str.13@PAGE
Lloh36:
add x8, x8, l_.str.13@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
str x20, [sp]
mov x0, x19
bl _libmin_printf
Lloh37:
adrp x8, l_.str.14@PAGE
Lloh38:
add x8, x8, l_.str.14@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh39:
adrp x8, l_.str.15@PAGE
Lloh40:
add x8, x8, l_.str.15@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh41:
adrp x20, l_.str.16@PAGE
Lloh42:
add x20, x20, l_.str.16@PAGEOFF
str x20, [sp]
mov x0, x19
bl _libmin_printf
Lloh43:
adrp x8, l_.str.17@PAGE
Lloh44:
add x8, x8, l_.str.17@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh45:
adrp x8, l_.str.18@PAGE
Lloh46:
add x8, x8, l_.str.18@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh47:
adrp x8, l_.str.19@PAGE
Lloh48:
add x8, x8, l_.str.19@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh49:
adrp x22, l_.str.20@PAGE
Lloh50:
add x22, x22, l_.str.20@PAGEOFF
str x22, [sp]
mov x0, x19
bl _libmin_printf
Lloh51:
adrp x8, l_.str.21@PAGE
Lloh52:
add x8, x8, l_.str.21@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh53:
adrp x8, l_.str.22@PAGE
Lloh54:
add x8, x8, l_.str.22@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh55:
adrp x8, l_.str.23@PAGE
Lloh56:
add x8, x8, l_.str.23@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh57:
adrp x8, l_.str.24@PAGE
Lloh58:
add x8, x8, l_.str.24@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh59:
adrp x8, l_.str.25@PAGE
Lloh60:
add x8, x8, l_.str.25@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh61:
adrp x8, l_.str.26@PAGE
Lloh62:
add x8, x8, l_.str.26@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh63:
adrp x8, l_.str.27@PAGE
Lloh64:
add x8, x8, l_.str.27@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
str x22, [sp]
mov x0, x19
bl _libmin_printf
Lloh65:
adrp x8, l_.str.28@PAGE
Lloh66:
add x8, x8, l_.str.28@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh67:
adrp x8, l_.str.29@PAGE
Lloh68:
add x8, x8, l_.str.29@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh69:
adrp x8, l_.str.30@PAGE
Lloh70:
add x8, x8, l_.str.30@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
str x20, [sp]
mov x0, x19
bl _libmin_printf
Lloh71:
adrp x20, l_.str.33@PAGE
Lloh72:
add x20, x20, l_.str.33@PAGEOFF
mov x0, x20
bl _libmin_printf
Lloh73:
adrp x3, _string_compare@PAGE
Lloh74:
add x3, x3, _string_compare@PAGEOFF
add x0, sp, #16
mov w1, #35 ; =0x23
mov w2, #8 ; =0x8
bl _libmin_qsort
Lloh75:
adrp x0, l_.str.34@PAGE
Lloh76:
add x0, x0, l_.str.34@PAGEOFF
bl _libmin_printf
ldr x8, [sp, #16]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #24]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #32]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #40]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #48]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #56]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #64]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #72]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #80]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #88]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #96]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #104]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #112]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #120]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #128]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #136]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #144]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #152]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #160]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #168]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #176]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #184]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #192]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #200]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #208]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #216]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #224]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #232]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #240]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #248]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #256]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #264]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #272]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #280]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #288]
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov x0, x20
bl _libmin_printf
Lloh77:
adrp x0, l_.str.35@PAGE
Lloh78:
add x0, x0, l_.str.35@PAGEOFF
bl _libmin_printf
ldr x8, [sp, #16]
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov x22, #0 ; =0x0
mov w20, #1 ; =0x1
b LBB1_2
LBB1_1: ; in Loop: Header=BB1_2 Depth=1
add x22, x22, #8
cmp x22, #272
b.eq LBB1_4
LBB1_2: ; =>This Inner Loop Header: Depth=1
add x23, x21, x22
ldp x1, x0, [x23]
bl _libmin_strcmp
cbz w0, LBB1_1
; %bb.3: ; in Loop: Header=BB1_2 Depth=1
ldr x8, [x23, #8]
str x8, [sp]
mov x0, x19
bl _libmin_printf
add x20, x20, #1
b LBB1_1
LBB1_4:
str x20, [sp]
Lloh79:
adrp x0, l_.str.36@PAGE
Lloh80:
add x0, x0, l_.str.36@PAGEOFF
bl _libmin_printf
bl _libmin_success
ldur x8, [x29, #-56]
Lloh81:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh82:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh83:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_6
; %bb.5:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #352] ; 16-byte Folded Reload
ldp x20, x19, [sp, #336] ; 16-byte Folded Reload
ldp x22, x21, [sp, #320] ; 16-byte Folded Reload
ldp x24, x23, [sp, #304] ; 16-byte Folded Reload
add sp, sp, #368
ret
LBB1_6:
bl ___stack_chk_fail
.loh AdrpAdd Lloh77, Lloh78
.loh AdrpAdd Lloh75, Lloh76
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpAdd Lloh69, Lloh70
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83
.loh AdrpAdd Lloh79, Lloh80
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "banana"
l_.str.1: ; @.str.1
.asciz "apple"
l_.str.2: ; @.str.2
.asciz "orange"
l_.str.3: ; @.str.3
.asciz "kiwi"
l_.str.4: ; @.str.4
.asciz "grape"
l_.str.5: ; @.str.5
.asciz "mango"
l_.str.6: ; @.str.6
.asciz "strawberry"
l_.str.7: ; @.str.7
.asciz "pear"
l_.str.8: ; @.str.8
.asciz "pineapple"
l_.str.9: ; @.str.9
.asciz "watermelon"
l_.str.10: ; @.str.10
.asciz "blueberry"
l_.str.11: ; @.str.11
.asciz "raspberry"
l_.str.12: ; @.str.12
.asciz "blackberry"
l_.str.13: ; @.str.13
.asciz "cherry"
l_.str.14: ; @.str.14
.asciz "peach"
l_.str.15: ; @.str.15
.asciz "apricot"
l_.str.16: ; @.str.16
.asciz "plum"
l_.str.17: ; @.str.17
.asciz "nectarine"
l_.str.18: ; @.str.18
.asciz "cantaloupe"
l_.str.19: ; @.str.19
.asciz "honeydew"
l_.str.20: ; @.str.20
.asciz "lime"
l_.str.21: ; @.str.21
.asciz "papaya"
l_.str.22: ; @.str.22
.asciz "passionfruit"
l_.str.23: ; @.str.23
.asciz "guava"
l_.str.24: ; @.str.24
.asciz "lychee"
l_.str.25: ; @.str.25
.asciz "pomegranate"
l_.str.26: ; @.str.26
.asciz "grapefruit"
l_.str.27: ; @.str.27
.asciz "lemon"
l_.str.28: ; @.str.28
.asciz "tangerine"
l_.str.29: ; @.str.29
.asciz "cranberry"
l_.str.30: ; @.str.30
.asciz "fig"
.section __DATA,__const
.p2align 3, 0x0 ; @__const.main.strings
l___const.main.strings:
.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 l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.1
.quad l_.str.12
.quad l_.str.13
.quad l_.str
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.26
.quad l_.str.27
.quad l_.str.20
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.16
.section __TEXT,__cstring,cstring_literals
l_.str.31: ; @.str.31
.asciz "Unsorted Strings:\n"
l_.str.32: ; @.str.32
.asciz "%s\n"
l_.str.33: ; @.str.33
.asciz "\n"
l_.str.34: ; @.str.34
.asciz "Sorted Strings:\n"
l_.str.35: ; @.str.35
.asciz "Unique Strings:\n"
l_.str.36: ; @.str.36
.asciz "\nTotal Unique Strings: %u\n"
.subsections_via_symbols
|
kadane.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _kadane ## -- Begin function kadane
.p2align 4, 0x90
_kadane: ## @kadane
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $-1, (%rdx)
testl %esi, %esi
jle LBB0_1
## %bb.2:
movl %esi, %ecx
cmpl $1, %esi
jne LBB0_9
## %bb.3:
xorl %esi, %esi
xorl %r8d, %r8d
xorl %eax, %eax
LBB0_4:
testb $1, %cl
je LBB0_8
## %bb.5:
addl (%rdi,%rsi,4), %r8d
xorl %ecx, %ecx
testl %r8d, %r8d
cmovgl %r8d, %ecx
cmpl %ecx, %eax
jae LBB0_7
## %bb.6:
movl %esi, (%rdx)
LBB0_7:
cmpl %ecx, %eax
cmovgl %eax, %ecx
movl %ecx, %eax
LBB0_8:
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
popq %rbp
retq
LBB0_9:
movl %ecx, %r9d
andl $-2, %r9d
xorl %esi, %esi
xorl %r8d, %r8d
xorl %eax, %eax
jmp LBB0_10
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_10 Depth=1
cmpl %r8d, %eax
cmovlel %r8d, %eax
addq $2, %rsi
cmpq %rsi, %r9
je LBB0_4
LBB0_10: ## =>This Inner Loop Header: Depth=1
addl (%rdi,%rsi,4), %r8d
testl %r8d, %r8d
jg LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
xorl %r8d, %r8d
LBB0_12: ## in Loop: Header=BB0_10 Depth=1
cmpl %r8d, %eax
jae LBB0_14
## %bb.13: ## in Loop: Header=BB0_10 Depth=1
movl %esi, (%rdx)
LBB0_14: ## in Loop: Header=BB0_10 Depth=1
cmpl %r8d, %eax
cmovlel %r8d, %eax
addl 4(%rdi,%rsi,4), %r8d
testl %r8d, %r8d
jg LBB0_16
## %bb.15: ## in Loop: Header=BB0_10 Depth=1
xorl %r8d, %r8d
LBB0_16: ## in Loop: Header=BB0_10 Depth=1
cmpl %r8d, %eax
jae LBB0_18
## %bb.17: ## in Loop: Header=BB0_10 Depth=1
leal 1(%rsi), %r10d
movl %r10d, (%rdx)
jmp LBB0_18
.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), %rdi
xorl %ebx, %ebx
movl $360, %esi ## imm = 0x168
xorl %eax, %eax
callq _libmin_printf
movl $-1, %edx
leaq l___const.main.arr(%rip), %rax
xorl %ecx, %ecx
xorl %esi, %esi
jmp LBB1_1
.p2align 4, 0x90
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
leal 1(%rbx), %edi
cmpl %ecx, %esi
cmovbl %edi, %edx
cmovlel %ecx, %esi
addq $2, %rbx
cmpq $360, %rbx ## imm = 0x168
je LBB1_6
LBB1_1: ## =>This Inner Loop Header: Depth=1
addl (%rax,%rbx,4), %ecx
testl %ecx, %ecx
jg LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
xorl %ecx, %ecx
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
cmpl %ecx, %esi
cmovbl %ebx, %edx
cmovlel %ecx, %esi
addl 4(%rax,%rbx,4), %ecx
testl %ecx, %ecx
jg LBB1_5
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
xorl %ecx, %ecx
jmp LBB1_5
LBB1_6:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4, 0x0 ## @__const.main.arr
l___const.main.arr:
.long 8155 ## 0x1fdb
.long 17168 ## 0x4310
.long 11554 ## 0x2d22
.long 4294952890 ## 0xffffc7ba
.long 13854 ## 0x361e
.long 20973 ## 0x51ed
.long 4294940825 ## 0xffff9899
.long 4294956051 ## 0xffffd413
.long 25508 ## 0x63a4
.long 4294942748 ## 0xffffa01c
.long 4294965202 ## 0xfffff7d2
.long 4294950364 ## 0xffffbddc
.long 4294944216 ## 0xffffa5d8
.long 29777 ## 0x7451
.long 4294939649 ## 0xffff9401
.long 4294961369 ## 0xffffe8d9
.long 20197 ## 0x4ee5
.long 4294950791 ## 0xffffbf87
.long 4294938352 ## 0xffff8ef0
.long 2518 ## 0x9d6
.long 22405 ## 0x5785
.long 15304 ## 0x3bc8
.long 4294948097 ## 0xffffb501
.long 5439 ## 0x153f
.long 4971 ## 0x136b
.long 24179 ## 0x5e73
.long 1119 ## 0x45f
.long 16764 ## 0x417c
.long 4294942770 ## 0xffffa032
.long 4294966323 ## 0xfffffc33
.long 4294957711 ## 0xffffda8f
.long 15066 ## 0x3ada
.long 12069 ## 0x2f25
.long 4294945306 ## 0xffffaa1a
.long 4294947588 ## 0xffffb304
.long 4294950693 ## 0xffffbf25
.long 24065 ## 0x5e01
.long 15869 ## 0x3dfd
.long 4294961088 ## 0xffffe7c0
.long 22922 ## 0x598a
.long 2901 ## 0xb55
.long 24070 ## 0x5e06
.long 4294951043 ## 0xffffc083
.long 15350 ## 0x3bf6
.long 4294939345 ## 0xffff92d1
.long 4294966479 ## 0xfffffccf
.long 4294956933 ## 0xffffd785
.long 4294963111 ## 0xffffefa7
.long 4294949461 ## 0xffffba55
.long 4294945803 ## 0xffffac0b
.long 4294942015 ## 0xffff9d3f
.long 4294962454 ## 0xffffed16
.long 4294965871 ## 0xfffffa6f
.long 6710 ## 0x1a36
.long 4294959999 ## 0xffffe37f
.long 4294950177 ## 0xffffbd21
.long 4294956888 ## 0xffffd758
.long 18129 ## 0x46d1
.long 4294939083 ## 0xffff91cb
.long 4294955135 ## 0xffffd07f
.long 13068 ## 0x330c
.long 4294962949 ## 0xffffef05
.long 27196 ## 0x6a3c
.long 4294957644 ## 0xffffda4c
.long 4294947873 ## 0xffffb421
.long 6057 ## 0x17a9
.long 4294945149 ## 0xffffa97d
.long 4294956695 ## 0xffffd697
.long 4294950166 ## 0xffffbd16
.long 4294953457 ## 0xffffc9f1
.long 4925 ## 0x133d
.long 27786 ## 0x6c8a
.long 4294957562 ## 0xffffd9fa
.long 4294941425 ## 0xffff9af1
.long 4294964520 ## 0xfffff528
.long 16462 ## 0x404e
.long 13778 ## 0x35d2
.long 11363 ## 0x2c63
.long 4294960634 ## 0xffffe5fa
.long 4294942400 ## 0xffff9ec0
.long 19904 ## 0x4dc0
.long 29515 ## 0x734b
.long 9625 ## 0x2599
.long 18193 ## 0x4711
.long 4294950022 ## 0xffffbc86
.long 4294964050 ## 0xfffff352
.long 27168 ## 0x6a20
.long 508 ## 0x1fc
.long 4294967215 ## 0xffffffaf
.long 15064 ## 0x3ad8
.long 19885 ## 0x4dad
.long 18619 ## 0x48bb
.long 4294961826 ## 0xffffeaa2
.long 23422 ## 0x5b7e
.long 4294956516 ## 0xffffd5e4
.long 4294945779 ## 0xffffabf3
.long 26606 ## 0x67ee
.long 4294946463 ## 0xffffae9f
.long 4294939353 ## 0xffff92d9
.long 4294956073 ## 0xffffd429
.long 4294957159 ## 0xffffd867
.long 4294937940 ## 0xffff8d54
.long 2701 ## 0xa8d
.long 4294956522 ## 0xffffd5ea
.long 13286 ## 0x33e6
.long 4294951433 ## 0xffffc209
.long 24259 ## 0x5ec3
.long 4294963862 ## 0xfffff296
.long 4294950934 ## 0xffffc016
.long 4294962852 ## 0xffffeea4
.long 4294947114 ## 0xffffb12a
.long 7785 ## 0x1e69
.long 23559 ## 0x5c07
.long 4294950814 ## 0xffffbf9e
.long 4294944150 ## 0xffffa596
.long 7477 ## 0x1d35
.long 25038 ## 0x61ce
.long 4294947990 ## 0xffffb496
.long 4294940790 ## 0xffff9876
.long 29314 ## 0x7282
.long 2174 ## 0x87e
.long 7862 ## 0x1eb6
.long 4294938030 ## 0xffff8dae
.long 4294966060 ## 0xfffffb2c
.long 4294939109 ## 0xffff91e5
.long 27877 ## 0x6ce5
.long 4294959327 ## 0xffffe0df
.long 10314 ## 0x284a
.long 4294962154 ## 0xffffebea
.long 5466 ## 0x155a
.long 28920 ## 0x70f8
.long 29191 ## 0x7207
.long 4294940235 ## 0xffff964b
.long 27601 ## 0x6bd1
.long 7428 ## 0x1d04
.long 12574 ## 0x311e
.long 4294961520 ## 0xffffe970
.long 27915 ## 0x6d0b
.long 4294953897 ## 0xffffcba9
.long 4294955956 ## 0xffffd3b4
.long 3307 ## 0xceb
.long 7043 ## 0x1b83
.long 4294960369 ## 0xffffe4f1
.long 16463 ## 0x404f
.long 4294960761 ## 0xffffe679
.long 26316 ## 0x66cc
.long 4294956586 ## 0xffffd62a
.long 16103 ## 0x3ee7
.long 4294961718 ## 0xffffea36
.long 26102 ## 0x65f6
.long 4294944803 ## 0xffffa823
.long 23027 ## 0x59f3
.long 12203 ## 0x2fab
.long 3251 ## 0xcb3
.long 5281 ## 0x14a1
.long 4294950173 ## 0xffffbd1d
.long 4294957377 ## 0xffffd941
.long 18986 ## 0x4a2a
.long 4294957966 ## 0xffffdb8e
.long 4294967104 ## 0xffffff40
.long 16263 ## 0x3f87
.long 4294948007 ## 0xffffb4a7
.long 4294944631 ## 0xffffa777
.long 4294964303 ## 0xfffff44f
.long 27926 ## 0x6d16
.long 4294964276 ## 0xfffff434
.long 4294957246 ## 0xffffd8be
.long 4294963204 ## 0xfffff004
.long 17416 ## 0x4408
.long 26503 ## 0x6787
.long 4294951059 ## 0xffffc093
.long 4294941391 ## 0xffff9acf
.long 4294947573 ## 0xffffb2f5
.long 4294962241 ## 0xffffec41
.long 2901 ## 0xb55
.long 24070 ## 0x5e06
.long 4294951043 ## 0xffffc083
.long 15350 ## 0x3bf6
.long 4294939345 ## 0xffff92d1
.long 4294966479 ## 0xfffffccf
.long 4294956933 ## 0xffffd785
.long 4294963111 ## 0xffffefa7
.long 4294949461 ## 0xffffba55
.long 4294945803 ## 0xffffac0b
.long 4294942015 ## 0xffff9d3f
.long 4294962454 ## 0xffffed16
.long 4294965871 ## 0xfffffa6f
.long 27601 ## 0x6bd1
.long 7428 ## 0x1d04
.long 12574 ## 0x311e
.long 4294961520 ## 0xffffe970
.long 27915 ## 0x6d0b
.long 4294953897 ## 0xffffcba9
.long 4294955956 ## 0xffffd3b4
.long 3307 ## 0xceb
.long 7043 ## 0x1b83
.long 4294960369 ## 0xffffe4f1
.long 16463 ## 0x404f
.long 4294960761 ## 0xffffe679
.long 26316 ## 0x66cc
.long 4294956586 ## 0xffffd62a
.long 29777 ## 0x7451
.long 4294939649 ## 0xffff9401
.long 4294961369 ## 0xffffe8d9
.long 20197 ## 0x4ee5
.long 4294950791 ## 0xffffbf87
.long 4294938352 ## 0xffff8ef0
.long 2518 ## 0x9d6
.long 22405 ## 0x5785
.long 15304 ## 0x3bc8
.long 4294948097 ## 0xffffb501
.long 5439 ## 0x153f
.long 4971 ## 0x136b
.long 24179 ## 0x5e73
.long 1119 ## 0x45f
.long 8155 ## 0x1fdb
.long 17168 ## 0x4310
.long 11554 ## 0x2d22
.long 4294952890 ## 0xffffc7ba
.long 13854 ## 0x361e
.long 20973 ## 0x51ed
.long 4294940825 ## 0xffff9899
.long 4294956051 ## 0xffffd413
.long 25508 ## 0x63a4
.long 4294942748 ## 0xffffa01c
.long 4294965202 ## 0xfffff7d2
.long 4294950364 ## 0xffffbddc
.long 4294944216 ## 0xffffa5d8
.long 4294941800 ## 0xffff9c68
.long 4294940132 ## 0xffff95e4
.long 4294957451 ## 0xffffd98b
.long 25985 ## 0x6581
.long 21965 ## 0x55cd
.long 26979 ## 0x6963
.long 4294939001 ## 0xffff9179
.long 4294962722 ## 0xffffee22
.long 4294939832 ## 0xffff94b8
.long 4294941133 ## 0xffff99cd
.long 11498 ## 0x2cea
.long 4294960994 ## 0xffffe762
.long 29123 ## 0x71c3
.long 4294962584 ## 0xffffed98
.long 4294942957 ## 0xffffa0ed
.long 4294939651 ## 0xffff9403
.long 23484 ## 0x5bbc
.long 12151 ## 0x2f77
.long 14797 ## 0x39cd
.long 4294961962 ## 0xffffeb2a
.long 4294951443 ## 0xffffc213
.long 9431 ## 0x24d7
.long 7116 ## 0x1bcc
.long 27195 ## 0x6a3b
.long 4294966221 ## 0xfffffbcd
.long 17134 ## 0x42ee
.long 21955 ## 0x55c3
.long 4294963551 ## 0xfffff15f
.long 4294962579 ## 0xffffed93
.long 11285 ## 0x2c15
.long 4294958032 ## 0xffffdbd0
.long 4294946896 ## 0xffffb050
.long 15249 ## 0x3b91
.long 4294948692 ## 0xffffb754
.long 390 ## 0x186
.long 25377 ## 0x6321
.long 4294959801 ## 0xffffe2b9
.long 4294942602 ## 0xffff9f8a
.long 25767 ## 0x64a7
.long 17461 ## 0x4435
.long 4294945501 ## 0xffffaadd
.long 1815 ## 0x717
.long 4294961739 ## 0xffffea4b
.long 22489 ## 0x57d9
.long 11085 ## 0x2b4d
.long 4294961164 ## 0xffffe80c
.long 4294964783 ## 0xfffff62f
.long 131 ## 0x83
.long 18955 ## 0x4a0b
.long 4294938778 ## 0xffff909a
.long 4294952814 ## 0xffffc76e
.long 15781 ## 0x3da5
.long 21178 ## 0x52ba
.long 5485 ## 0x156d
.long 4294955109 ## 0xffffd065
.long 4294943292 ## 0xffffa23c
.long 12344 ## 0x3038
.long 20129 ## 0x4ea1
.long 4294941251 ## 0xffff9a43
.long 4294939160 ## 0xffff9218
.long 4294940861 ## 0xffff98bd
.long 23729 ## 0x5cb1
.long 4294954912 ## 0xffffcfa0
.long 3157 ## 0xc55
.long 3121 ## 0xc31
.long 4294948572 ## 0xffffb6dc
.long 4294950103 ## 0xffffbcd7
.long 22853 ## 0x5945
.long 4294938071 ## 0xffff8dd7
.long 29921 ## 0x74e1
.long 4294947762 ## 0xffffb3b2
.long 4294939248 ## 0xffff9270
.long 4294958111 ## 0xffffdc1f
.long 4294937592 ## 0xffff8bf8
.long 4294938036 ## 0xffff8db4
.long 4294964762 ## 0xfffff61a
.long 21587 ## 0x5453
.long 4770 ## 0x12a2
.long 4880 ## 0x1310
.long 4294958027 ## 0xffffdbcb
.long 9197 ## 0x23ed
.long 25075 ## 0x61f3
.long 4294964213 ## 0xfffff3f5
.long 4294962501 ## 0xffffed45
.long 4294938682 ## 0xffff903a
.long 4294958502 ## 0xffffdda6
.long 20376 ## 0x4f98
.long 4294954789 ## 0xffffcf25
.long 4294952669 ## 0xffffc6dd
.long 8109 ## 0x1fad
.long 28004 ## 0x6d64
.long 4294938168 ## 0xffff8e38
.long 4294957101 ## 0xffffd82d
.long 16767 ## 0x417f
.long 4294960444 ## 0xffffe53c
.long 4294945991 ## 0xffffacc7
.long 28599 ## 0x6fb7
.long 4294943999 ## 0xffffa4ff
.long 4294950836 ## 0xffffbfb4
.long 18601 ## 0x48a9
.long 5359 ## 0x14ef
.long 4294960279 ## 0xffffe497
.long 4294943046 ## 0xffffa146
.long 4294943740 ## 0xffffa3fc
.long 16491 ## 0x406b
.long 4294943440 ## 0xffffa2d0
.long 4294950416 ## 0xffffbe10
.long 19593 ## 0x4c89
.long 6171 ## 0x181b
.long 12602 ## 0x313a
.long 4294937391 ## 0xffff8b2f
.long 4294939729 ## 0xffff9451
.long 18969 ## 0x4a19
.long 4294954714 ## 0xffffceda
.long 18015 ## 0x465f
.long 7774 ## 0x1e5e
.long 23534 ## 0x5bee
.long 4294940477 ## 0xffff973d
.long 4294958761 ## 0xffffdea9
.long 13345 ## 0x3421
.long 9279 ## 0x243f
.long 4294946538 ## 0xffffaeea
.long 4294965684 ## 0xfffff9b4
.long 13739 ## 0x35ab
.long 4294937532 ## 0xffff8bbc
.long 6005 ## 0x1775
.long 2037 ## 0x7f5
.long 14339 ## 0x3803
.long 4294943874 ## 0xffffa482
.long 4294967285 ## 0xfffffff5
.long 4294950691 ## 0xffffbf23
.long 4294955595 ## 0xffffd24b
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Array size= %d\n"
L_.str.1: ## @.str.1
.asciz "The maximum sum of a contiguous subarray is %d (ending at index %d)\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _kadane ; -- Begin function kadane
.p2align 2
_kadane: ; @kadane
.cfi_startproc
; %bb.0:
mov w8, #-1 ; =0xffffffff
str w8, [x2]
cmp w1, #1
b.lt LBB0_5
; %bb.1:
mov x9, #0 ; =0x0
mov w11, #0 ; =0x0
mov w8, #0 ; =0x0
mov w10, w1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
cmp w8, w11
csel w8, w8, w11, gt
add x9, x9, #1
cmp x10, x9
b.eq LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w12, [x0, x9, lsl #2]
add w11, w12, w11
bic w11, w11, w11, asr #31
cmp w8, w11
b.hs LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
str w9, [x2]
b LBB0_2
LBB0_5:
mov w8, #0 ; =0x0
LBB0_6:
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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, #360 ; =0x168
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov x9, #0 ; =0x0
mov w11, #0 ; =0x0
mov w8, #0 ; =0x0
mov w10, #-1 ; =0xffffffff
Lloh2:
adrp x12, l___const.main.arr@PAGE
Lloh3:
add x12, x12, l___const.main.arr@PAGEOFF
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w13, [x12, x9, lsl #2]
add w11, w13, w11
bic w11, w11, w11, asr #31
cmp w8, w11
csel w10, w9, w10, lo
csel w8, w8, w11, gt
add x9, x9, #1
cmp x9, #360
b.ne LBB1_1
; %bb.2:
stp x8, x10, [sp]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2, 0x0 ; @__const.main.arr
l___const.main.arr:
.long 8155 ; 0x1fdb
.long 17168 ; 0x4310
.long 11554 ; 0x2d22
.long 4294952890 ; 0xffffc7ba
.long 13854 ; 0x361e
.long 20973 ; 0x51ed
.long 4294940825 ; 0xffff9899
.long 4294956051 ; 0xffffd413
.long 25508 ; 0x63a4
.long 4294942748 ; 0xffffa01c
.long 4294965202 ; 0xfffff7d2
.long 4294950364 ; 0xffffbddc
.long 4294944216 ; 0xffffa5d8
.long 29777 ; 0x7451
.long 4294939649 ; 0xffff9401
.long 4294961369 ; 0xffffe8d9
.long 20197 ; 0x4ee5
.long 4294950791 ; 0xffffbf87
.long 4294938352 ; 0xffff8ef0
.long 2518 ; 0x9d6
.long 22405 ; 0x5785
.long 15304 ; 0x3bc8
.long 4294948097 ; 0xffffb501
.long 5439 ; 0x153f
.long 4971 ; 0x136b
.long 24179 ; 0x5e73
.long 1119 ; 0x45f
.long 16764 ; 0x417c
.long 4294942770 ; 0xffffa032
.long 4294966323 ; 0xfffffc33
.long 4294957711 ; 0xffffda8f
.long 15066 ; 0x3ada
.long 12069 ; 0x2f25
.long 4294945306 ; 0xffffaa1a
.long 4294947588 ; 0xffffb304
.long 4294950693 ; 0xffffbf25
.long 24065 ; 0x5e01
.long 15869 ; 0x3dfd
.long 4294961088 ; 0xffffe7c0
.long 22922 ; 0x598a
.long 2901 ; 0xb55
.long 24070 ; 0x5e06
.long 4294951043 ; 0xffffc083
.long 15350 ; 0x3bf6
.long 4294939345 ; 0xffff92d1
.long 4294966479 ; 0xfffffccf
.long 4294956933 ; 0xffffd785
.long 4294963111 ; 0xffffefa7
.long 4294949461 ; 0xffffba55
.long 4294945803 ; 0xffffac0b
.long 4294942015 ; 0xffff9d3f
.long 4294962454 ; 0xffffed16
.long 4294965871 ; 0xfffffa6f
.long 6710 ; 0x1a36
.long 4294959999 ; 0xffffe37f
.long 4294950177 ; 0xffffbd21
.long 4294956888 ; 0xffffd758
.long 18129 ; 0x46d1
.long 4294939083 ; 0xffff91cb
.long 4294955135 ; 0xffffd07f
.long 13068 ; 0x330c
.long 4294962949 ; 0xffffef05
.long 27196 ; 0x6a3c
.long 4294957644 ; 0xffffda4c
.long 4294947873 ; 0xffffb421
.long 6057 ; 0x17a9
.long 4294945149 ; 0xffffa97d
.long 4294956695 ; 0xffffd697
.long 4294950166 ; 0xffffbd16
.long 4294953457 ; 0xffffc9f1
.long 4925 ; 0x133d
.long 27786 ; 0x6c8a
.long 4294957562 ; 0xffffd9fa
.long 4294941425 ; 0xffff9af1
.long 4294964520 ; 0xfffff528
.long 16462 ; 0x404e
.long 13778 ; 0x35d2
.long 11363 ; 0x2c63
.long 4294960634 ; 0xffffe5fa
.long 4294942400 ; 0xffff9ec0
.long 19904 ; 0x4dc0
.long 29515 ; 0x734b
.long 9625 ; 0x2599
.long 18193 ; 0x4711
.long 4294950022 ; 0xffffbc86
.long 4294964050 ; 0xfffff352
.long 27168 ; 0x6a20
.long 508 ; 0x1fc
.long 4294967215 ; 0xffffffaf
.long 15064 ; 0x3ad8
.long 19885 ; 0x4dad
.long 18619 ; 0x48bb
.long 4294961826 ; 0xffffeaa2
.long 23422 ; 0x5b7e
.long 4294956516 ; 0xffffd5e4
.long 4294945779 ; 0xffffabf3
.long 26606 ; 0x67ee
.long 4294946463 ; 0xffffae9f
.long 4294939353 ; 0xffff92d9
.long 4294956073 ; 0xffffd429
.long 4294957159 ; 0xffffd867
.long 4294937940 ; 0xffff8d54
.long 2701 ; 0xa8d
.long 4294956522 ; 0xffffd5ea
.long 13286 ; 0x33e6
.long 4294951433 ; 0xffffc209
.long 24259 ; 0x5ec3
.long 4294963862 ; 0xfffff296
.long 4294950934 ; 0xffffc016
.long 4294962852 ; 0xffffeea4
.long 4294947114 ; 0xffffb12a
.long 7785 ; 0x1e69
.long 23559 ; 0x5c07
.long 4294950814 ; 0xffffbf9e
.long 4294944150 ; 0xffffa596
.long 7477 ; 0x1d35
.long 25038 ; 0x61ce
.long 4294947990 ; 0xffffb496
.long 4294940790 ; 0xffff9876
.long 29314 ; 0x7282
.long 2174 ; 0x87e
.long 7862 ; 0x1eb6
.long 4294938030 ; 0xffff8dae
.long 4294966060 ; 0xfffffb2c
.long 4294939109 ; 0xffff91e5
.long 27877 ; 0x6ce5
.long 4294959327 ; 0xffffe0df
.long 10314 ; 0x284a
.long 4294962154 ; 0xffffebea
.long 5466 ; 0x155a
.long 28920 ; 0x70f8
.long 29191 ; 0x7207
.long 4294940235 ; 0xffff964b
.long 27601 ; 0x6bd1
.long 7428 ; 0x1d04
.long 12574 ; 0x311e
.long 4294961520 ; 0xffffe970
.long 27915 ; 0x6d0b
.long 4294953897 ; 0xffffcba9
.long 4294955956 ; 0xffffd3b4
.long 3307 ; 0xceb
.long 7043 ; 0x1b83
.long 4294960369 ; 0xffffe4f1
.long 16463 ; 0x404f
.long 4294960761 ; 0xffffe679
.long 26316 ; 0x66cc
.long 4294956586 ; 0xffffd62a
.long 16103 ; 0x3ee7
.long 4294961718 ; 0xffffea36
.long 26102 ; 0x65f6
.long 4294944803 ; 0xffffa823
.long 23027 ; 0x59f3
.long 12203 ; 0x2fab
.long 3251 ; 0xcb3
.long 5281 ; 0x14a1
.long 4294950173 ; 0xffffbd1d
.long 4294957377 ; 0xffffd941
.long 18986 ; 0x4a2a
.long 4294957966 ; 0xffffdb8e
.long 4294967104 ; 0xffffff40
.long 16263 ; 0x3f87
.long 4294948007 ; 0xffffb4a7
.long 4294944631 ; 0xffffa777
.long 4294964303 ; 0xfffff44f
.long 27926 ; 0x6d16
.long 4294964276 ; 0xfffff434
.long 4294957246 ; 0xffffd8be
.long 4294963204 ; 0xfffff004
.long 17416 ; 0x4408
.long 26503 ; 0x6787
.long 4294951059 ; 0xffffc093
.long 4294941391 ; 0xffff9acf
.long 4294947573 ; 0xffffb2f5
.long 4294962241 ; 0xffffec41
.long 2901 ; 0xb55
.long 24070 ; 0x5e06
.long 4294951043 ; 0xffffc083
.long 15350 ; 0x3bf6
.long 4294939345 ; 0xffff92d1
.long 4294966479 ; 0xfffffccf
.long 4294956933 ; 0xffffd785
.long 4294963111 ; 0xffffefa7
.long 4294949461 ; 0xffffba55
.long 4294945803 ; 0xffffac0b
.long 4294942015 ; 0xffff9d3f
.long 4294962454 ; 0xffffed16
.long 4294965871 ; 0xfffffa6f
.long 27601 ; 0x6bd1
.long 7428 ; 0x1d04
.long 12574 ; 0x311e
.long 4294961520 ; 0xffffe970
.long 27915 ; 0x6d0b
.long 4294953897 ; 0xffffcba9
.long 4294955956 ; 0xffffd3b4
.long 3307 ; 0xceb
.long 7043 ; 0x1b83
.long 4294960369 ; 0xffffe4f1
.long 16463 ; 0x404f
.long 4294960761 ; 0xffffe679
.long 26316 ; 0x66cc
.long 4294956586 ; 0xffffd62a
.long 29777 ; 0x7451
.long 4294939649 ; 0xffff9401
.long 4294961369 ; 0xffffe8d9
.long 20197 ; 0x4ee5
.long 4294950791 ; 0xffffbf87
.long 4294938352 ; 0xffff8ef0
.long 2518 ; 0x9d6
.long 22405 ; 0x5785
.long 15304 ; 0x3bc8
.long 4294948097 ; 0xffffb501
.long 5439 ; 0x153f
.long 4971 ; 0x136b
.long 24179 ; 0x5e73
.long 1119 ; 0x45f
.long 8155 ; 0x1fdb
.long 17168 ; 0x4310
.long 11554 ; 0x2d22
.long 4294952890 ; 0xffffc7ba
.long 13854 ; 0x361e
.long 20973 ; 0x51ed
.long 4294940825 ; 0xffff9899
.long 4294956051 ; 0xffffd413
.long 25508 ; 0x63a4
.long 4294942748 ; 0xffffa01c
.long 4294965202 ; 0xfffff7d2
.long 4294950364 ; 0xffffbddc
.long 4294944216 ; 0xffffa5d8
.long 4294941800 ; 0xffff9c68
.long 4294940132 ; 0xffff95e4
.long 4294957451 ; 0xffffd98b
.long 25985 ; 0x6581
.long 21965 ; 0x55cd
.long 26979 ; 0x6963
.long 4294939001 ; 0xffff9179
.long 4294962722 ; 0xffffee22
.long 4294939832 ; 0xffff94b8
.long 4294941133 ; 0xffff99cd
.long 11498 ; 0x2cea
.long 4294960994 ; 0xffffe762
.long 29123 ; 0x71c3
.long 4294962584 ; 0xffffed98
.long 4294942957 ; 0xffffa0ed
.long 4294939651 ; 0xffff9403
.long 23484 ; 0x5bbc
.long 12151 ; 0x2f77
.long 14797 ; 0x39cd
.long 4294961962 ; 0xffffeb2a
.long 4294951443 ; 0xffffc213
.long 9431 ; 0x24d7
.long 7116 ; 0x1bcc
.long 27195 ; 0x6a3b
.long 4294966221 ; 0xfffffbcd
.long 17134 ; 0x42ee
.long 21955 ; 0x55c3
.long 4294963551 ; 0xfffff15f
.long 4294962579 ; 0xffffed93
.long 11285 ; 0x2c15
.long 4294958032 ; 0xffffdbd0
.long 4294946896 ; 0xffffb050
.long 15249 ; 0x3b91
.long 4294948692 ; 0xffffb754
.long 390 ; 0x186
.long 25377 ; 0x6321
.long 4294959801 ; 0xffffe2b9
.long 4294942602 ; 0xffff9f8a
.long 25767 ; 0x64a7
.long 17461 ; 0x4435
.long 4294945501 ; 0xffffaadd
.long 1815 ; 0x717
.long 4294961739 ; 0xffffea4b
.long 22489 ; 0x57d9
.long 11085 ; 0x2b4d
.long 4294961164 ; 0xffffe80c
.long 4294964783 ; 0xfffff62f
.long 131 ; 0x83
.long 18955 ; 0x4a0b
.long 4294938778 ; 0xffff909a
.long 4294952814 ; 0xffffc76e
.long 15781 ; 0x3da5
.long 21178 ; 0x52ba
.long 5485 ; 0x156d
.long 4294955109 ; 0xffffd065
.long 4294943292 ; 0xffffa23c
.long 12344 ; 0x3038
.long 20129 ; 0x4ea1
.long 4294941251 ; 0xffff9a43
.long 4294939160 ; 0xffff9218
.long 4294940861 ; 0xffff98bd
.long 23729 ; 0x5cb1
.long 4294954912 ; 0xffffcfa0
.long 3157 ; 0xc55
.long 3121 ; 0xc31
.long 4294948572 ; 0xffffb6dc
.long 4294950103 ; 0xffffbcd7
.long 22853 ; 0x5945
.long 4294938071 ; 0xffff8dd7
.long 29921 ; 0x74e1
.long 4294947762 ; 0xffffb3b2
.long 4294939248 ; 0xffff9270
.long 4294958111 ; 0xffffdc1f
.long 4294937592 ; 0xffff8bf8
.long 4294938036 ; 0xffff8db4
.long 4294964762 ; 0xfffff61a
.long 21587 ; 0x5453
.long 4770 ; 0x12a2
.long 4880 ; 0x1310
.long 4294958027 ; 0xffffdbcb
.long 9197 ; 0x23ed
.long 25075 ; 0x61f3
.long 4294964213 ; 0xfffff3f5
.long 4294962501 ; 0xffffed45
.long 4294938682 ; 0xffff903a
.long 4294958502 ; 0xffffdda6
.long 20376 ; 0x4f98
.long 4294954789 ; 0xffffcf25
.long 4294952669 ; 0xffffc6dd
.long 8109 ; 0x1fad
.long 28004 ; 0x6d64
.long 4294938168 ; 0xffff8e38
.long 4294957101 ; 0xffffd82d
.long 16767 ; 0x417f
.long 4294960444 ; 0xffffe53c
.long 4294945991 ; 0xffffacc7
.long 28599 ; 0x6fb7
.long 4294943999 ; 0xffffa4ff
.long 4294950836 ; 0xffffbfb4
.long 18601 ; 0x48a9
.long 5359 ; 0x14ef
.long 4294960279 ; 0xffffe497
.long 4294943046 ; 0xffffa146
.long 4294943740 ; 0xffffa3fc
.long 16491 ; 0x406b
.long 4294943440 ; 0xffffa2d0
.long 4294950416 ; 0xffffbe10
.long 19593 ; 0x4c89
.long 6171 ; 0x181b
.long 12602 ; 0x313a
.long 4294937391 ; 0xffff8b2f
.long 4294939729 ; 0xffff9451
.long 18969 ; 0x4a19
.long 4294954714 ; 0xffffceda
.long 18015 ; 0x465f
.long 7774 ; 0x1e5e
.long 23534 ; 0x5bee
.long 4294940477 ; 0xffff973d
.long 4294958761 ; 0xffffdea9
.long 13345 ; 0x3421
.long 9279 ; 0x243f
.long 4294946538 ; 0xffffaeea
.long 4294965684 ; 0xfffff9b4
.long 13739 ; 0x35ab
.long 4294937532 ; 0xffff8bbc
.long 6005 ; 0x1775
.long 2037 ; 0x7f5
.long 14339 ; 0x3803
.long 4294943874 ; 0xffffa482
.long 4294967285 ; 0xfffffff5
.long 4294950691 ; 0xffffbf23
.long 4294955595 ; 0xffffd24b
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Array size= %d\n"
l_.str.1: ; @.str.1
.asciz "The maximum sum of a contiguous subarray is %d (ending at index %d)\n"
.subsections_via_symbols
|
bubble-sort.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _print_data ## -- Begin function print_data
.p2align 4, 0x90
_print_data: ## @print_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 %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testl %r14d, %r14d
je LBB0_3
## %bb.1:
movl %r14d, %r12d
leaq L_.str.1(%rip), %r14
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%rbx,%r15,4), %edx
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _libmin_printf
incq %r15
cmpq %r15, %r12
jne LBB0_2
LBB0_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bubblesort ## -- Begin function bubblesort
.p2align 4, 0x90
_bubblesort: ## @bubblesort
.cfi_startproc
## %bb.0:
decl %esi
je LBB1_12
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _swaps(%rip), %rax
movl %esi, %ecx
xorl %edx, %edx
.p2align 4, 0x90
LBB1_4: ## =>This Loop Header: Depth=1
## Child Loop BB1_8 Depth 2
## Child Loop BB1_9 Depth 3
movl (%rdi), %r9d
xorl %r8d, %r8d
xorl %r11d, %r11d
jmp LBB1_8
.p2align 4, 0x90
LBB1_7: ## in Loop: Header=BB1_8 Depth=2
movl %r10d, %r9d
cmpq %rcx, %r8
je LBB1_10
LBB1_8: ## Parent Loop BB1_4 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_9 Depth 3
movl 4(%rdi,%r8,4), %r10d
incq %r8
cmpl %r10d, %r9d
jle LBB1_7
.p2align 4, 0x90
LBB1_9: ## Parent Loop BB1_4 Depth=1
## Parent Loop BB1_8 Depth=2
## => This Inner Loop Header: Depth=3
movl %r10d, -4(%rdi,%r8,4)
movl %r9d, (%rdi,%r8,4)
incq %rax
cmpq %r8, %rcx
je LBB1_2
## %bb.5: ## in Loop: Header=BB1_9 Depth=3
movl 4(%rdi,%r8,4), %r10d
incq %r8
cmpl %r10d, %r9d
jg LBB1_9
## %bb.6: ## in Loop: Header=BB1_8 Depth=2
movq %rax, _swaps(%rip)
movl $1, %r11d
jmp LBB1_7
.p2align 4, 0x90
LBB1_2: ## in Loop: Header=BB1_4 Depth=1
movq %rax, _swaps(%rip)
LBB1_3: ## in Loop: Header=BB1_4 Depth=1
incl %edx
cmpl %esi, %edx
jne LBB1_4
jmp LBB1_11
LBB1_10: ## in Loop: Header=BB1_4 Depth=1
testl %r11d, %r11d
jne LBB1_3
LBB1_11:
popq %rbp
LBB1_12:
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $42, %edi
callq _libmin_srand
xorl %ebx, %ebx
movq _data@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
movl %eax, (%r15,%rbx,4)
incq %rbx
cmpq $256, %rbx ## imm = 0x100
jne LBB2_1
## %bb.2:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB2_3: ## =>This Inner Loop Header: Depth=1
movl (%r15,%r14,4), %edx
movq %rbx, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _libmin_printf
incq %r14
cmpq $256, %r14 ## imm = 0x100
jne LBB2_3
## %bb.4:
xorl %eax, %eax
movq _swaps(%rip), %rsi
jmp LBB2_7
.p2align 4, 0x90
LBB2_11: ## in Loop: Header=BB2_7 Depth=1
movq %rdx, %rsi
testb $1, %r9b
jne LBB2_12
LBB2_6: ## in Loop: Header=BB2_7 Depth=1
incl %eax
cmpl $255, %eax
je LBB2_12
LBB2_7: ## =>This Loop Header: Depth=1
## Child Loop BB2_8 Depth 2
## Child Loop BB2_9 Depth 3
## Child Loop BB2_20 Depth 3
movl (%r15), %edi
movb $1, %r9b
xorl %ecx, %ecx
LBB2_8: ## Parent Loop BB2_7 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_9 Depth 3
## Child Loop BB2_20 Depth 3
movq %rsi, %rdx
leaq (,%rcx,4), %rsi
negq %rsi
leaq 2(%rcx), %r8
movl %edi, %r10d
.p2align 4, 0x90
LBB2_9: ## Parent Loop BB2_7 Depth=1
## Parent Loop BB2_8 Depth=2
## => This Inner Loop Header: Depth=3
movl 4(%r15,%rcx,4), %edi
cmpl %edi, %r10d
jg LBB2_19
## %bb.10: ## in Loop: Header=BB2_9 Depth=3
incq %rcx
addq $-4, %rsi
incq %r8
movl %edi, %r10d
cmpq $255, %rcx
jne LBB2_9
jmp LBB2_11
.p2align 4, 0x90
LBB2_19: ## in Loop: Header=BB2_8 Depth=2
movq %rdx, %rsi
.p2align 4, 0x90
LBB2_20: ## Parent Loop BB2_7 Depth=1
## Parent Loop BB2_8 Depth=2
## => This Inner Loop Header: Depth=3
movl %edi, -8(%r15,%r8,4)
movl %r10d, -4(%r15,%r8,4)
cmpq $256, %r8 ## imm = 0x100
je LBB2_5
## %bb.21: ## in Loop: Header=BB2_20 Depth=3
incq %rsi
movl (%r15,%r8,4), %edi
incq %r8
cmpl %edi, %r10d
jg LBB2_20
## %bb.22: ## in Loop: Header=BB2_8 Depth=2
movq %rsi, _swaps(%rip)
leaq -1(%r8), %rcx
xorl %r9d, %r9d
cmpq $256, %r8 ## imm = 0x100
jne LBB2_8
jmp LBB2_6
.p2align 4, 0x90
LBB2_5: ## in Loop: Header=BB2_7 Depth=1
subq %rcx, %rdx
addq $255, %rdx
movq %rdx, _swaps(%rip)
movq %rdx, %rsi
jmp LBB2_6
LBB2_12:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB2_13: ## =>This Inner Loop Header: Depth=1
movl (%r15,%r14,4), %edx
movq %rbx, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _libmin_printf
incq %r14
cmpq $256, %r14 ## imm = 0x100
jne LBB2_13
## %bb.14:
movl $2, %eax
.p2align 4, 0x90
LBB2_15: ## =>This Inner Loop Header: Depth=1
movl -8(%r15,%rax,4), %ecx
cmpl -4(%r15,%rax,4), %ecx
jg LBB2_18
## %bb.16: ## in Loop: Header=BB2_15 Depth=1
cmpq $256, %rax ## imm = 0x100
je LBB2_23
## %bb.17: ## in Loop: Header=BB2_15 Depth=1
movl -4(%r15,%rax,4), %ecx
leaq 2(%rax), %rdx
cmpl (%r15,%rax,4), %ecx
movq %rdx, %rax
jle LBB2_15
LBB2_18:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $-1, %ebx
jmp LBB2_24
LBB2_23:
movq _swaps(%rip), %rsi
leaq L_.str.3(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
LBB2_24:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swaps ## @swaps
.zerofill __DATA,__common,_swaps,8,3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "DATA DUMP:\n"
L_.str.1: ## @.str.1
.asciz " data[%u] = %d\n"
.comm _data,1024,4 ## @data
L_.str.2: ## @.str.2
.asciz "ERROR: data is not properly sorted.\n"
L_.str.3: ## @.str.3
.asciz "INFO: %lu swaps executed.\n"
L_.str.4: ## @.str.4
.asciz "INFO: data is properly sorted.\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _print_data ; -- Begin function print_data
.p2align 2
_print_data: ; @print_data
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
cbz w20, LBB0_3
; %bb.1:
mov x21, #0 ; =0x0
mov w22, w20
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19, x21, lsl #2]
stp x21, x8, [sp]
mov x0, x20
bl _libmin_printf
add x21, x21, #1
cmp x22, x21
b.ne LBB0_2
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _bubblesort ; -- Begin function bubblesort
.p2align 2
_bubblesort: ; @bubblesort
.cfi_startproc
; %bb.0:
subs w8, w1, #1
b.eq LBB1_12
; %bb.1:
mov w9, #0 ; =0x0
adrp x10, _swaps@PAGE
ldr x11, [x10, _swaps@PAGEOFF]
add x12, x0, #8
LBB1_2: ; =>This Loop Header: Depth=1
; Child Loop BB1_4 Depth 2
; Child Loop BB1_6 Depth 3
mov x17, #0 ; =0x0
mov w15, #0 ; =0x0
ldr w13, [x0]
b LBB1_4
LBB1_3: ; in Loop: Header=BB1_4 Depth=2
mov x13, x16
mov x17, x14
cmp x14, x8
b.eq LBB1_11
LBB1_4: ; Parent Loop BB1_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_6 Depth 3
add x14, x17, #1
ldr w16, [x0, x14, lsl #2]
cmp w13, w16
b.le LBB1_3
; %bb.5: ; in Loop: Header=BB1_4 Depth=2
add x15, x12, x17, lsl #2
LBB1_6: ; Parent Loop BB1_2 Depth=1
; Parent Loop BB1_4 Depth=2
; => This Inner Loop Header: Depth=3
stp w16, w13, [x15, #-8]
cmp x8, x14
b.eq LBB1_9
; %bb.7: ; in Loop: Header=BB1_6 Depth=3
add x14, x14, #1
ldr w16, [x15], #4
add x11, x11, #1
cmp w13, w16
b.gt LBB1_6
; %bb.8: ; in Loop: Header=BB1_4 Depth=2
str x11, [x10, _swaps@PAGEOFF]
mov w15, #1 ; =0x1
b LBB1_3
LBB1_9: ; in Loop: Header=BB1_2 Depth=1
add x11, x11, #1
str x11, [x10, _swaps@PAGEOFF]
LBB1_10: ; in Loop: Header=BB1_2 Depth=1
add w9, w9, #1
cmp w9, w8
b.ne LBB1_2
b LBB1_12
LBB1_11: ; in Loop: Header=BB1_2 Depth=1
cbnz w15, LBB1_10
LBB1_12:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov w0, #42 ; =0x2a
bl _libmin_srand
mov x19, #0 ; =0x0
Lloh4:
adrp x20, _data@GOTPAGE
Lloh5:
ldr x20, [x20, _data@GOTPAGEOFF]
LBB2_1: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
str w0, [x20, x19]
add x19, x19, #4
cmp x19, #1024
b.ne LBB2_1
; %bb.2:
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov x21, #0 ; =0x0
Lloh8:
adrp x19, l_.str.1@PAGE
Lloh9:
add x19, x19, l_.str.1@PAGEOFF
LBB2_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, x21, lsl #2]
stp x21, x8, [sp]
mov x0, x19
bl _libmin_printf
add x21, x21, #1
cmp x21, #256
b.ne LBB2_3
; %bb.4:
mov w8, #0 ; =0x0
adrp x21, _swaps@PAGE
ldr x9, [x21, _swaps@PAGEOFF]
b LBB2_7
LBB2_5: ; in Loop: Header=BB2_7 Depth=1
tbnz w12, #0, LBB2_16
LBB2_6: ; in Loop: Header=BB2_7 Depth=1
add w8, w8, #1
cmp w8, #255
b.eq LBB2_16
LBB2_7: ; =>This Loop Header: Depth=1
; Child Loop BB2_8 Depth 2
; Child Loop BB2_9 Depth 3
; Child Loop BB2_12 Depth 3
mov x10, #0 ; =0x0
ldr w11, [x20]
mov w12, #1 ; =0x1
LBB2_8: ; Parent Loop BB2_7 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_9 Depth 3
; Child Loop BB2_12 Depth 3
lsl x13, x10, #2
neg x15, x13
add x13, x20, x13
add x13, x13, #8
mov x14, x11
LBB2_9: ; Parent Loop BB2_7 Depth=1
; Parent Loop BB2_8 Depth=2
; => This Inner Loop Header: Depth=3
add x11, x20, x10, lsl #2
ldr w11, [x11, #4]
cmp w14, w11
b.gt LBB2_11
; %bb.10: ; in Loop: Header=BB2_9 Depth=3
add x10, x10, #1
sub x15, x15, #4
add x13, x13, #4
mov x14, x11
cmp x10, #255
b.ne LBB2_9
b LBB2_5
LBB2_11: ; in Loop: Header=BB2_8 Depth=2
mov x15, #0 ; =0x0
sub x16, x10, #254
LBB2_12: ; Parent Loop BB2_7 Depth=1
; Parent Loop BB2_8 Depth=2
; => This Inner Loop Header: Depth=3
stp w11, w14, [x13, #-8]
cmp x16, x15
b.eq LBB2_15
; %bb.13: ; in Loop: Header=BB2_12 Depth=3
ldr w11, [x13], #4
sub x15, x15, #1
cmp w14, w11
b.gt LBB2_12
; %bb.14: ; in Loop: Header=BB2_8 Depth=2
mov w12, #0 ; =0x0
sub x9, x9, x15
str x9, [x21, _swaps@PAGEOFF]
sub x10, x10, x15
add x10, x10, #1
cmp x16, x15
b.ne LBB2_8
b LBB2_6
LBB2_15: ; in Loop: Header=BB2_7 Depth=1
sub x9, x9, x10
add x9, x9, #255
str x9, [x21, _swaps@PAGEOFF]
b LBB2_6
LBB2_16:
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov x22, #0 ; =0x0
Lloh12:
adrp x19, l_.str.1@PAGE
Lloh13:
add x19, x19, l_.str.1@PAGEOFF
LBB2_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, x22, lsl #2]
stp x22, x8, [sp]
mov x0, x19
bl _libmin_printf
add x22, x22, #1
cmp x22, #256
b.ne LBB2_17
; %bb.18:
mov x8, #0 ; =0x0
LBB2_19: ; =>This Inner Loop Header: Depth=1
cmp x8, #1020
b.eq LBB2_22
; %bb.20: ; in Loop: Header=BB2_19 Depth=1
add x9, x20, x8
ldp w10, w9, [x9]
add x8, x8, #4
cmp w10, w9
b.le LBB2_19
; %bb.21:
Lloh14:
adrp x0, l_.str.2@PAGE
Lloh15:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov w0, #-1 ; =0xffffffff
b LBB2_23
LBB2_22:
ldr x8, [x21, _swaps@PAGEOFF]
str x8, [sp]
Lloh16:
adrp x0, l_.str.3@PAGE
Lloh17:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
Lloh18:
adrp x0, l_.str.4@PAGE
Lloh19:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
LBB2_23:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.globl _swaps ; @swaps
.zerofill __DATA,__common,_swaps,8,3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "DATA DUMP:\n"
l_.str.1: ; @.str.1
.asciz " data[%u] = %d\n"
.comm _data,1024,2 ; @data
l_.str.2: ; @.str.2
.asciz "ERROR: data is not properly sorted.\n"
l_.str.3: ; @.str.3
.asciz "INFO: %lu swaps executed.\n"
l_.str.4: ; @.str.4
.asciz "INFO: data is properly sorted.\n"
.subsections_via_symbols
|
donut.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0 ## -- Begin function main
LCPI0_0:
.long 0x40000000 ## float 2
LCPI0_1:
.long 0x40a00000 ## float 5
LCPI0_2:
.long 0x3f800000 ## float 1
LCPI0_3:
.long 0x41f00000 ## float 30
LCPI0_4:
.long 0x42200000 ## float 40
LCPI0_5:
.long 0x41700000 ## float 15
LCPI0_6:
.long 0x41400000 ## float 12
LCPI0_8:
.long 0x41000000 ## float 8
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI0_7:
.long 0x80000000 ## float -0
.long 0x80000000 ## float -0
.long 0x80000000 ## float -0
.long 0x80000000 ## float -0
LCPI0_12:
.quad 0x3fa47ae147ae147b ## double 0.040000000000000001
.quad 0x3f947ae147ae147b ## double 0.02
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0
LCPI0_9:
.quad 0x3f947ae147ae147b ## double 0.02
LCPI0_10:
.quad 0x40191eb851eb851f ## double 6.2800000000000002
LCPI0_11:
.quad 0x3fb1eb851eb851ec ## double 0.070000000000000007
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $8936, %eax ## imm = 0x22E8
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
xorl %r12d, %r12d
xorl %eax, %eax
callq _libmin_printf
xorpd %xmm0, %xmm0
movb $1, %r13b
leaq L_.str.1(%rip), %rbx
movq _k@GOTPCREL(%rip), %r14
jmp LBB0_1
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
movapd -8944(%rbp), %xmm0 ## 16-byte Reload
addpd LCPI0_12(%rip), %xmm0
cvtpd2ps %xmm0, %xmm0
testb $1, %r13b
movl $0, %r13d
je LBB0_13
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
## Child Loop BB0_3 Depth 3
## Child Loop BB0_11 Depth 2
movapd %xmm0, -8928(%rbp) ## 16-byte Spill
movl $1760, %edx ## imm = 0x6E0
leaq -8848(%rbp), %rdi
movl $32, %esi
callq _libmin_memset
movl $7040, %edx ## imm = 0x1B80
leaq -7088(%rbp), %rdi
xorl %esi, %esi
callq _libmin_memset
cvtps2pd -8928(%rbp), %xmm0 ## 16-byte Folded Reload
movaps %xmm0, -8944(%rbp) ## 16-byte Spill
movhlps %xmm0, %xmm0 ## xmm0 = xmm0[1,1]
movaps %xmm0, -8960(%rbp) ## 16-byte Spill
xorps %xmm0, %xmm0
movsd %xmm0, -8872(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_2 Depth=2
movsd -8872(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd LCPI0_11(%rip), %xmm0
cvtsd2ss %xmm0, %xmm0
xorps %xmm1, %xmm1
cvtss2sd %xmm0, %xmm1
movsd LCPI0_10(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm1, -8872(%rbp) ## 8-byte Spill
ucomisd %xmm1, %xmm0
jbe LBB0_10
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_3 Depth 3
xorps %xmm1, %xmm1
jmp LBB0_3
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_3 Depth=3
movsd -8928(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd LCPI0_9(%rip), %xmm0
cvtsd2ss %xmm0, %xmm0
xorps %xmm1, %xmm1
cvtss2sd %xmm0, %xmm1
movsd LCPI0_10(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB0_9
LBB0_3: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_2 Depth=2
## => This Inner Loop Header: Depth=3
movsd %xmm1, -8928(%rbp) ## 8-byte Spill
movaps %xmm1, %xmm0
callq _libmin_sin
cvtsd2ss %xmm0, %xmm0
movaps %xmm0, -8976(%rbp) ## 16-byte Spill
movsd -8872(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_cos
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8860(%rbp) ## 4-byte Spill
movaps -8944(%rbp), %xmm0 ## 16-byte Reload
callq _libmin_sin
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8856(%rbp) ## 4-byte Spill
movsd -8872(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_sin
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8852(%rbp) ## 4-byte Spill
movaps -8944(%rbp), %xmm0 ## 16-byte Reload
callq _libmin_cos
xorps %xmm2, %xmm2
cvtsd2ss %xmm0, %xmm2
movss %xmm2, -8892(%rbp) ## 4-byte Spill
movss -8860(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
addss LCPI0_0(%rip), %xmm0
movss %xmm0, -8896(%rbp) ## 4-byte Spill
mulss -8976(%rbp), %xmm0 ## 16-byte Folded Reload
movss %xmm0, -8888(%rbp) ## 4-byte Spill
movss -8852(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
mulss %xmm2, %xmm1
movss %xmm1, -8900(%rbp) ## 4-byte Spill
mulss -8856(%rbp), %xmm0 ## 4-byte Folded Reload
addss %xmm1, %xmm0
addss LCPI0_1(%rip), %xmm0
movss LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm0, %xmm1
movss %xmm1, -8876(%rbp) ## 4-byte Spill
movsd -8928(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_cos
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8884(%rbp) ## 4-byte Spill
movaps -8960(%rbp), %xmm0 ## 16-byte Reload
callq _libmin_cos
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -8880(%rbp) ## 4-byte Spill
movaps -8960(%rbp), %xmm0 ## 16-byte Reload
callq _libmin_sin
movss -8876(%rbp), %xmm3 ## 4-byte Reload
## xmm3 = mem[0],zero,zero,zero
cvtsd2ss %xmm0, %xmm0
movss -8892(%rbp), %xmm6 ## 4-byte Reload
## xmm6 = mem[0],zero,zero,zero
movss -8888(%rbp), %xmm1 ## 4-byte Reload
## xmm1 = mem[0],zero,zero,zero
mulss %xmm6, %xmm1
movss -8856(%rbp), %xmm5 ## 4-byte Reload
## xmm5 = mem[0],zero,zero,zero
movss -8852(%rbp), %xmm7 ## 4-byte Reload
## xmm7 = mem[0],zero,zero,zero
mulss %xmm5, %xmm7
subss %xmm7, %xmm1
movss -8896(%rbp), %xmm4 ## 4-byte Reload
## xmm4 = mem[0],zero,zero,zero
movss -8884(%rbp), %xmm8 ## 4-byte Reload
## xmm8 = mem[0],zero,zero,zero
mulss %xmm8, %xmm4
movaps %xmm1, %xmm2
movaps %xmm1, %xmm9
mulss %xmm0, %xmm2
movaps %xmm4, %xmm1
movss -8880(%rbp), %xmm10 ## 4-byte Reload
## xmm10 = mem[0],zero,zero,zero
mulss %xmm10, %xmm1
subss %xmm2, %xmm1
mulss %xmm10, %xmm9
mulss %xmm0, %xmm4
addss %xmm9, %xmm4
movaps %xmm3, %xmm2
mulss LCPI0_5(%rip), %xmm2
mulss %xmm2, %xmm4
addss LCPI0_6(%rip), %xmm4
cvttss2si %xmm4, %eax
movaps %xmm3, %xmm2
mulss LCPI0_3(%rip), %xmm2
mulss %xmm2, %xmm1
movaps -8976(%rbp), %xmm4 ## 16-byte Reload
xorps LCPI0_7(%rip), %xmm4
movss -8860(%rbp), %xmm2 ## 4-byte Reload
## xmm2 = mem[0],zero,zero,zero
mulss %xmm2, %xmm4
mulss %xmm4, %xmm6
addss %xmm7, %xmm6
mulss %xmm5, %xmm4
mulss %xmm10, %xmm6
addss %xmm4, %xmm6
subss -8900(%rbp), %xmm6 ## 4-byte Folded Reload
movaps %xmm6, %xmm4
mulss %xmm8, %xmm2
mulss %xmm0, %xmm2
movaps %xmm6, %xmm0
subss %xmm2, %xmm0
addss LCPI0_4(%rip), %xmm1
mulss LCPI0_8(%rip), %xmm0
leal -1(%rax), %ecx
cmpl $20, %ecx
ja LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=3
cvttss2si %xmm1, %ecx
testl %ecx, %ecx
jle LBB0_8
## %bb.5: ## in Loop: Header=BB0_3 Depth=3
cmpl $79, %ecx
jg LBB0_8
## %bb.6: ## in Loop: Header=BB0_3 Depth=3
shll $4, %eax
leal (%rax,%rax,4), %edx
movl %ecx, %eax
addq %rdx, %rax
ucomiss -7088(%rbp,%rax,4), %xmm3
jbe LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=3
cvttss2si %xmm0, %ecx
movss %xmm3, -7088(%rbp,%rax,4)
testl %ecx, %ecx
cmovlel %r12d, %ecx
movzbl (%rcx,%rbx), %ecx
movb %cl, -8848(%rbp,%rax)
jmp LBB0_8
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
xorl %r15d, %r15d
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $0, (%r14)
jmp LBB0_11
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_11 Depth=2
movslq %r15d, %rax
movzbl -8848(%rbp,%rax), %eax
LBB0_16: ## in Loop: Header=BB0_11 Depth=2
movsbl %al, %edi
callq _libmin_putc
movl (%r14), %eax
leal 1(%rax), %r15d
movl %r15d, (%r14)
cmpl $1760, %eax ## imm = 0x6E0
jge LBB0_17
LBB0_11: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
imull $-858993459, %r15d, %eax ## imm = 0xCCCCCCCD
addl $429496720, %eax ## imm = 0x19999990
rorl $4, %eax
cmpl $53687091, %eax ## imm = 0x3333333
jae LBB0_15
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movb $10, %al
jmp LBB0_16
LBB0_13:
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_18
## %bb.14:
xorl %eax, %eax
addq $8936, %rsp ## imm = 0x22E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\033[2J"
L_.str.1: ## @.str.1
.asciz ".,-~:;=!*#$@"
L_.str.2: ## @.str.2
.asciz "\033[H"
.comm _k,4,2 ## @k
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function main
lCPI0_0:
.quad 0x3fa47ae147ae147b ; double 0.040000000000000001
.quad 0x3f947ae147ae147b ; double 0.02
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp d15, d14, [sp, #-160]! ; 16-byte Folded Spill
stp d13, d12, [sp, #16] ; 16-byte Folded Spill
stp d11, d10, [sp, #32] ; 16-byte Folded Spill
stp d9, d8, [sp, #48] ; 16-byte Folded Spill
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
mov w9, #8896 ; =0x22c0
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #2, lsl #12 ; =8192
sub sp, sp, #704
.cfi_def_cfa w29, 16
.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
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-160]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
movi d8, #0000000000000000
mov w8, #1 ; =0x1
add x20, sp, #80
add x21, sp, #1840
mov w22, #1109393408 ; =0x42200000
mov x23, #5243 ; =0x147b
movk x23, #18350, lsl #16
movk x23, #31457, lsl #32
movk x23, #16276, lsl #48
mov x24, #34079 ; =0x851f
movk x24, #20971, lsl #16
movk x24, #7864, lsl #32
movk x24, #16409, lsl #48
Lloh7:
adrp x26, _k@GOTPAGE
Lloh8:
ldr x26, [x26, _k@GOTPAGEOFF]
mov w27, #52429 ; =0xcccd
movk w27, #52428, lsl #16
mov w28, #39312 ; =0x9990
movk w28, #6553, lsl #16
mov w19, #13107 ; =0x3333
movk w19, #819, lsl #16
Lloh9:
adrp x9, lCPI0_0@PAGE
Lloh10:
ldr q0, [x9, lCPI0_0@PAGEOFF]
str q0, [sp] ; 16-byte Folded Spill
Lloh11:
adrp x25, l_.str.1@PAGE
Lloh12:
add x25, x25, l_.str.1@PAGEOFF
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
mov w8, #0 ; =0x0
ldr q0, [sp] ; 16-byte Folded Reload
ldr q1, [sp, #64] ; 16-byte Folded Reload
fadd.2d v0, v1, v0
fcvtn v8.2s, v0.2d
ldr w9, [sp, #20] ; 4-byte Folded Reload
tbz w9, #0, LBB0_15
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_6 Depth 3
; Child Loop BB0_13 Depth 2
str w8, [sp, #20] ; 4-byte Folded Spill
add x0, sp, #80
mov w1, #32 ; =0x20
mov w2, #1760 ; =0x6e0
bl _libmin_memset
add x0, sp, #1840
mov w1, #0 ; =0x0
mov w2, #7040 ; =0x1b80
bl _libmin_memset
fcvtl v0.2d, v8.2s
str q0, [sp, #64] ; 16-byte Folded Spill
mov d1, v0[1]
movi d0, #0000000000000000
stp d1, d0, [sp, #24] ; 16-byte Folded Spill
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=2
mov x8, #20972 ; =0x51ec
movk x8, #7864, lsl #16
movk x8, #60293, lsl #32
movk x8, #16305, lsl #48
fmov d0, x8
ldr d1, [sp, #32] ; 8-byte Folded Reload
fadd d0, d1, d0
fcvt s0, d0
fcvt d1, s0
fmov d0, x24
str d1, [sp, #32] ; 8-byte Folded Spill
fcmp d1, d0
b.pl LBB0_10
LBB0_4: ; Parent Loop BB0_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_6 Depth 3
movi d10, #0000000000000000
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=3
fmov d0, x23
ldr d1, [sp, #56] ; 8-byte Folded Reload
fadd d0, d1, d0
fcvt s0, d0
fcvt d10, s0
fmov d0, x24
fcmp d10, d0
b.pl LBB0_3
LBB0_6: ; Parent Loop BB0_2 Depth=1
; Parent Loop BB0_4 Depth=2
; => This Inner Loop Header: Depth=3
fmov d0, d10
bl _libmin_sin
fcvt s9, d0
ldr d8, [sp, #32] ; 8-byte Folded Reload
fmov d0, d8
bl _libmin_cos
fcvt s12, d0
ldr q0, [sp, #64] ; 16-byte Folded Reload
; kill: def $d0 killed $d0 killed $q0
bl _libmin_sin
fcvt s14, d0
str s14, [sp, #52] ; 4-byte Folded Spill
fmov d0, d8
bl _libmin_sin
fcvt s11, d0
ldr q0, [sp, #64] ; 16-byte Folded Reload
; kill: def $d0 killed $d0 killed $q0
bl _libmin_cos
fcvt s8, d0
fmov s0, #2.00000000
stp s12, s9, [sp, #44] ; 8-byte Folded Spill
fadd s13, s12, s0
fmul s9, s13, s9
fmul s0, s11, s8
fmadd s0, s9, s14, s0
fmov s1, #5.00000000
fadd s0, s0, s1
fmov s1, #1.00000000
fdiv s12, s1, s0
str d10, [sp, #56] ; 8-byte Folded Spill
fmov d0, d10
bl _libmin_cos
fcvt s15, d0
ldr d14, [sp, #24] ; 8-byte Folded Reload
fmov d0, d14
bl _libmin_cos
fcvt s10, d0
fmov d0, d14
bl _libmin_sin
ldr s6, [sp, #52] ; 4-byte Folded Reload
fcvt s0, d0
fnmul s1, s11, s6
fmadd s1, s9, s8, s1
fmov s2, #30.00000000
fmul s2, s12, s2
fmul s3, s13, s15
fnmul s4, s1, s0
fmadd s4, s3, s10, s4
fmov s5, w22
fmadd s2, s2, s4, s5
fcvtzs w8, s2
fmov s2, #15.00000000
fmul s2, s12, s2
fmul s1, s1, s10
fmadd s1, s3, s0, s1
fmov s3, #12.00000000
fmadd s1, s2, s1, s3
fcvtzs w9, s1
sub w10, w9, #1
cmp w10, #20
ccmp w8, #1, #8, ls
b.lt LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=3
cmp w8, #79
b.gt LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=3
add w9, w9, w9, lsl #2
lsl w9, w9, #4
add x8, x9, w8, uxtw
ldr s1, [x21, x8, lsl #2]
fcmp s12, s1
b.le LBB0_5
; %bb.9: ; in Loop: Header=BB0_6 Depth=3
ldp s3, s1, [sp, #44] ; 8-byte Folded Reload
fnmul s1, s1, s3
fmul s2, s1, s8
fmadd s2, s11, s6, s2
fmul s1, s1, s6
fmadd s1, s2, s10, s1
fmsub s1, s11, s8, s1
fnmul s2, s15, s3
fmadd s0, s2, s0, s1
fcvtzs w9, s0, #3
str s12, [x21, x8, lsl #2]
bic w9, w9, w9, asr #31
ldrb w9, [x25, w9, uxtw]
strb w9, [x20, x8]
b LBB0_5
LBB0_10: ; in Loop: Header=BB0_2 Depth=1
Lloh13:
adrp x0, l_.str.2@PAGE
Lloh14:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov w8, #0 ; =0x0
str wzr, [x26]
b LBB0_13
LBB0_11: ; in Loop: Header=BB0_13 Depth=2
ldrb w8, [x20, w8, sxtw]
LBB0_12: ; in Loop: Header=BB0_13 Depth=2
sxtb w0, w8
bl _libmin_putc
ldr w9, [x26]
add w8, w9, #1
str w8, [x26]
cmp w9, #1760
b.ge LBB0_1
LBB0_13: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
madd w9, w8, w27, w28
ror w9, w9, #4
cmp w9, w19
b.hs LBB0_11
; %bb.14: ; in Loop: Header=BB0_13 Depth=2
mov w8, #10 ; =0xa
b LBB0_12
LBB0_15:
bl _libmin_success
ldur x8, [x29, #-160]
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_17
; %bb.16:
mov w0, #0 ; =0x0
add sp, sp, #2, lsl #12 ; =8192
add sp, sp, #704
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
ldp d11, d10, [sp, #32] ; 16-byte Folded Reload
ldp d13, d12, [sp, #16] ; 16-byte Folded Reload
ldp d15, d14, [sp], #160 ; 16-byte Folded Reload
ret
LBB0_17:
bl ___stack_chk_fail
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdr Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\033[2J"
l_.str.1: ; @.str.1
.asciz ".,-~:;=!*#$@"
l_.str.2: ; @.str.2
.asciz "\033[H"
.comm _k,4,2 ; @k
.subsections_via_symbols
|
n-queens.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _is_safe ## -- Begin function is_safe
.p2align 4, 0x90
_is_safe: ## @is_safe
.cfi_startproc
## %bb.0:
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
testl %esi, %esi
jle LBB0_1
## %bb.2:
movl %edx, %ebx
movq %rdi, %rax
movl (%rdi), %edi
cmpl %edx, %edi
jne LBB0_4
## %bb.3:
xorl %r13d, %r13d
jmp LBB0_8
LBB0_1:
movb $1, %r13b
jmp LBB0_8
LBB0_4:
movl %esi, %r14d
movq %rax, -48(%rbp) ## 8-byte Spill
movl %esi, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
negl %r14d
movl $1, %r15d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
subl %ebx, %edi
callq _libmin_abs
movl %eax, %r12d
leal (%r14,%r15), %edi
decl %edi
callq _libmin_abs
cmpl %eax, %r12d
je LBB0_8
## %bb.5: ## in Loop: Header=BB0_7 Depth=1
cmpq -56(%rbp), %r15 ## 8-byte Folded Reload
setae %r13b
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_7 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax,%r15,4), %edi
incq %r15
cmpl %ebx, %edi
jne LBB0_7
LBB0_8:
movzbl %r13b, %eax
andl $1, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _solve ## -- Begin function solve
.p2align 4, 0x90
_solve: ## @solve
.cfi_startproc
## %bb.0:
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
cmpl $10, %esi
jne LBB1_1
## %bb.13:
incl _solution_count(%rip)
LBB1_12:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_1:
movl %esi, %r15d
movq %rdi, %r14
movl %esi, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
movslq %esi, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
leal 1(%r15), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl %esi, %r12d
negl %r12d
xorl %ebx, %ebx
movq %r15, -64(%rbp) ## 8-byte Spill
jmp LBB1_2
.p2align 4, 0x90
LBB1_10: ## in Loop: Header=BB1_2 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl %ebx, (%r14,%rax,4)
movq %r14, %rdi
movl -44(%rbp), %esi ## 4-byte Reload
callq _solve
LBB1_11: ## in Loop: Header=BB1_2 Depth=1
incl %ebx
cmpl $10, %ebx
je LBB1_12
LBB1_2: ## =>This Loop Header: Depth=1
## Child Loop BB1_6 Depth 2
testl %r15d, %r15d
jle LBB1_10
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
movl (%r14), %edi
subl %ebx, %edi
je LBB1_11
## %bb.4: ## in Loop: Header=BB1_2 Depth=1
callq _libmin_abs
movl %eax, %r13d
movl %r12d, %edi
callq _libmin_abs
cmpl %eax, %r13d
je LBB1_11
## %bb.5: ## in Loop: Header=BB1_2 Depth=1
movl $1, %ecx
.p2align 4, 0x90
LBB1_6: ## Parent Loop BB1_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %rcx, %r15
cmpq %rcx, -56(%rbp) ## 8-byte Folded Reload
je LBB1_9
## %bb.7: ## in Loop: Header=BB1_6 Depth=2
movl (%r14,%r15,4), %edi
subl %ebx, %edi
je LBB1_9
## %bb.8: ## in Loop: Header=BB1_6 Depth=2
callq _libmin_abs
movl %eax, %r13d
leal (%r12,%r15), %edi
callq _libmin_abs
leaq 1(%r15), %rcx
cmpl %eax, %r13d
jne LBB1_6
LBB1_9: ## in Loop: Header=BB1_2 Depth=1
cmpq -56(%rbp), %r15 ## 8-byte Folded Reload
movq -64(%rbp), %r15 ## 8-byte Reload
jae LBB1_10
jmp LBB1_11
.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
movl $40, %edi
callq _libmin_malloc
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
callq _solve
movl _solution_count(%rip), %edx
leaq L_.str(%rip), %rdi
movl $10, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
callq _libmin_free
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _solution_count ## @solution_count
.zerofill __DATA,__common,_solution_count,4,2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Total solutions for %d-Queens: %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _is_safe ; -- Begin function is_safe
.p2align 2
_is_safe: ; @is_safe
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
cmp w1, #1
b.lt LBB0_3
; %bb.1:
mov x19, x2
mov x20, x0
ldr w8, [x0]
cmp w8, w2
b.ne LBB0_4
; %bb.2:
mov w22, #0 ; =0x0
b LBB0_8
LBB0_3:
mov w22, #1 ; =0x1
b LBB0_8
LBB0_4:
mov w22, #0 ; =0x0
neg w23, w1
mov w24, #1 ; =0x1
mov w25, w1
LBB0_5: ; =>This Inner Loop Header: Depth=1
sub w0, w8, w19
bl _libmin_abs
mov x21, x0
add w8, w23, w24
sub w0, w8, #1
bl _libmin_abs
cmp w21, w0
b.eq LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp x24, x25
cset w22, hs
cmp x25, x24
b.eq LBB0_8
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x20, x24, lsl #2]
add x24, x24, #1
cmp w8, w19
b.ne LBB0_5
LBB0_8:
and w0, w22, #0x1
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
.cfi_endproc
; -- End function
.globl _solve ; -- Begin function solve
.p2align 2
_solve: ; @solve
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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
cmp w1, #10
b.ne LBB1_3
; %bb.1:
adrp x8, _solution_count@PAGE
ldr w9, [x8, _solution_count@PAGEOFF]
add w9, w9, #1
str w9, [x8, _solution_count@PAGEOFF]
LBB1_2:
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
LBB1_3:
mov x19, x1
mov x20, x0
mov w24, #0 ; =0x0
sxtw x25, w19
add w21, w1, #1
neg w22, w1
mov w26, w1
b LBB1_6
LBB1_4: ; in Loop: Header=BB1_6 Depth=1
str w24, [x20, x25, lsl #2]
mov x0, x20
mov x1, x21
bl _solve
LBB1_5: ; in Loop: Header=BB1_6 Depth=1
add w24, w24, #1
cmp w24, #10
b.eq LBB1_2
LBB1_6: ; =>This Loop Header: Depth=1
; Child Loop BB1_10 Depth 2
cmp w19, #1
b.lt LBB1_4
; %bb.7: ; in Loop: Header=BB1_6 Depth=1
ldr w8, [x20]
subs w0, w8, w24
b.eq LBB1_5
; %bb.8: ; in Loop: Header=BB1_6 Depth=1
bl _libmin_abs
mov x23, x0
mov x0, x22
bl _libmin_abs
cmp w23, w0
b.eq LBB1_5
; %bb.9: ; in Loop: Header=BB1_6 Depth=1
mov w8, #1 ; =0x1
LBB1_10: ; Parent Loop BB1_6 Depth=1
; => This Inner Loop Header: Depth=2
mov x27, x8
cmp x26, x8
b.eq LBB1_13
; %bb.11: ; in Loop: Header=BB1_10 Depth=2
ldr w8, [x20, x27, lsl #2]
subs w0, w8, w24
b.eq LBB1_13
; %bb.12: ; in Loop: Header=BB1_10 Depth=2
bl _libmin_abs
mov x23, x0
add w0, w22, w27
bl _libmin_abs
add x8, x27, #1
cmp w23, w0
b.ne LBB1_10
LBB1_13: ; in Loop: Header=BB1_6 Depth=1
cmp x27, x26
b.hs LBB1_4
b LBB1_5
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w0, #40 ; =0x28
bl _libmin_malloc
mov x19, x0
mov w1, #0 ; =0x0
bl _solve
Lloh0:
adrp x8, _solution_count@PAGE
Lloh1:
ldr w8, [x8, _solution_count@PAGEOFF]
mov w9, #10 ; =0xa
stp x9, x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov x0, x19
bl _libmin_free
bl _libmin_success
mov w0, #0 ; =0x0
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 Lloh2, Lloh3
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _solution_count ; @solution_count
.zerofill __DATA,__common,_solution_count,4,2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Total solutions for %d-Queens: %d\n"
.subsections_via_symbols
|
fft-int.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _fix_fft ## -- Begin function fix_fft
.p2align 4, 0x90
_fix_fft: ## @fix_fft
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -68(%rbp) ## 4-byte Spill
movl %edx, %ecx
movl $1, %r10d
## kill: def $cl killed $cl killed $ecx
shll %cl, %r10d
movl $-1, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
cmpl $1024, %r10d ## imm = 0x400
jg LBB0_26
## %bb.1:
xorl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
cmpl $2, %r10d
jl LBB0_26
## %bb.2:
movl %r10d, %r11d
xorl %ecx, %ecx
movl $1, %eax
jmp LBB0_3
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
incq %rax
cmpq %r11, %rax
je LBB0_8
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movl %r10d, %edx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
sarl %edx
leal (%rdx,%rcx), %r8d
cmpl %r10d, %r8d
jge LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
leal -1(%rdx), %r8d
andl %ecx, %r8d
movl %r8d, %ecx
addl %edx, %ecx
movslq %ecx, %rdx
cmpq %rdx, %rax
jge LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movl (%rdi,%rax,4), %r8d
movl (%rdi,%rdx,4), %r9d
movl %r9d, (%rdi,%rax,4)
movl %r8d, (%rdi,%rdx,4)
movl (%rsi,%rax,4), %r8d
movl (%rsi,%rdx,4), %r9d
movl %r9d, (%rsi,%rax,4)
movl %r8d, (%rsi,%rdx,4)
jmp LBB0_7
LBB0_8:
movl $1, %ecx
movl $9, -64(%rbp) ## 4-byte Folded Spill
xorl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rsi, -88(%rbp) ## 8-byte Spill
movq %rdi, -80(%rbp) ## 8-byte Spill
movl %r10d, -72(%rbp) ## 4-byte Spill
jmp LBB0_9
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_9 Depth=1
decl -64(%rbp) ## 4-byte Folded Spill
movl -60(%rbp), %eax ## 4-byte Reload
movl %eax, %ecx
cmpl %r10d, %eax
movq -88(%rbp), %rsi ## 8-byte Reload
movq -80(%rbp), %rdi ## 8-byte Reload
jge LBB0_26
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
## Child Loop BB0_21 Depth 2
## Child Loop BB0_23 Depth 3
cmpl $0, -68(%rbp) ## 4-byte Folded Reload
je LBB0_10
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movl (%rdi), %eax
movl %eax, %edx
negl %edx
cmovsl %eax, %edx
movl (%rsi), %r8d
movl %r8d, %eax
negl %eax
cmovsl %r8d, %eax
movb $1, %r8b
cmpl $16383, %edx ## imm = 0x3FFF
ja LBB0_18
## %bb.12: ## in Loop: Header=BB0_9 Depth=1
cmpl $16383, %eax ## imm = 0x3FFF
ja LBB0_18
## %bb.13: ## in Loop: Header=BB0_9 Depth=1
movl $1, %r8d
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movq %r8, %rax
cmpq %r8, %r11
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
movl (%rdi,%rax,4), %edx
movl %edx, %r8d
negl %r8d
cmovsl %edx, %r8d
movl (%rsi,%rax,4), %r9d
movl %r9d, %edx
negl %edx
cmovsl %r9d, %edx
cmpl $16383, %r8d ## imm = 0x3FFF
ja LBB0_17
## %bb.16: ## in Loop: Header=BB0_14 Depth=2
leaq 1(%rax), %r8
cmpl $16384, %edx ## imm = 0x4000
jb LBB0_14
LBB0_17: ## in Loop: Header=BB0_9 Depth=1
cmpq %r11, %rax
setb %r8b
LBB0_18: ## in Loop: Header=BB0_9 Depth=1
movzbl %r8b, %eax
movq -56(%rbp), %rdx ## 8-byte Reload
addl %eax, %edx
movq %rdx, -56(%rbp) ## 8-byte Spill
jmp LBB0_19
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_9 Depth=1
movb $1, %r8b
LBB0_19: ## in Loop: Header=BB0_9 Depth=1
leal (%rcx,%rcx), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
testl %ecx, %ecx
jle LBB0_25
## %bb.20: ## in Loop: Header=BB0_9 Depth=1
movslq -60(%rbp), %r13 ## 4-byte Folded Reload
movl %ecx, %r12d
leaq (,%r13,4), %rbx
movq -88(%rbp), %rax ## 8-byte Reload
movq %rax, -104(%rbp) ## 8-byte Spill
movq -80(%rbp), %rax ## 8-byte Reload
movq %rax, -96(%rbp) ## 8-byte Spill
xorl %edi, %edi
movb %r8b, -41(%rbp) ## 1-byte Spill
movq %rbx, -120(%rbp) ## 8-byte Spill
jmp LBB0_21
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_21 Depth=2
movq -112(%rbp), %rdi ## 8-byte Reload
incq %rdi
addq $4, -96(%rbp) ## 8-byte Folded Spill
addq $4, -104(%rbp) ## 8-byte Folded Spill
cmpq %r12, %rdi
movl -72(%rbp), %r10d ## 4-byte Reload
movzbl -41(%rbp), %r8d ## 1-byte Folded Reload
je LBB0_25
LBB0_21: ## Parent Loop BB0_9 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_23 Depth 3
movl %edi, %eax
movl -64(%rbp), %ecx ## 4-byte Reload
## kill: def $cl killed $cl killed $ecx
shll %cl, %eax
movslq %eax, %rcx
leaq _Sinewave(%rip), %rsi
movl (%rsi,%rcx,4), %edx
movl %edx, %eax
negl %eax
cmpl $0, -68(%rbp) ## 4-byte Folded Reload
movl 1024(%rsi,%rcx,4), %r15d
cmovnel %edx, %eax
movl %r8d, %ecx
sarl %cl, %r15d
sarl %cl, %eax
movq %rdi, -112(%rbp) ## 8-byte Spill
cmpl %edi, %r10d
jle LBB0_24
## %bb.22: ## in Loop: Header=BB0_21 Depth=2
movq -104(%rbp), %rsi ## 8-byte Reload
movq -96(%rbp), %rdi ## 8-byte Reload
movq -112(%rbp), %r14 ## 8-byte Reload
.p2align 4, 0x90
LBB0_23: ## Parent Loop BB0_9 Depth=1
## Parent Loop BB0_21 Depth=2
## => This Inner Loop Header: Depth=3
movl (%rdi,%r12,4), %ebx
movl %ebx, %edx
imull %r15d, %edx
sarl $15, %edx
movq %r11, %r9
movl (%rsi,%r12,4), %r11d
movl %r11d, %ecx
imull %eax, %ecx
sarl $15, %ecx
subl %ecx, %edx
imull %r15d, %r11d
sarl $15, %r11d
imull %eax, %ebx
movl (%rdi), %r10d
movl %eax, %r8d
movl %r15d, %eax
movl (%rsi), %r15d
movzbl -41(%rbp), %ecx ## 1-byte Folded Reload
sarl %cl, %r10d
sarl %cl, %r15d
sarl $15, %ebx
addl %r11d, %ebx
movq %r9, %r11
movl %r10d, %ecx
subl %edx, %ecx
movl %ecx, (%rdi,%r12,4)
movl %r15d, %ecx
subl %ebx, %ecx
movl %ecx, (%rsi,%r12,4)
addl %edx, %r10d
movl %r10d, (%rdi)
addl %ebx, %r15d
movq -120(%rbp), %rbx ## 8-byte Reload
movl %r15d, (%rsi)
movl %eax, %r15d
movl %r8d, %eax
addq %r13, %r14
addq %rbx, %rdi
addq %rbx, %rsi
cmpq %r9, %r14
jl LBB0_23
jmp LBB0_24
LBB0_26:
movq -56(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fix_mpy ## -- Begin function fix_mpy
.p2align 4, 0x90
_fix_mpy: ## @fix_mpy
.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
imull %esi, %eax
sarl $15, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function window
LCPI2_0:
.long 16384 ## 0x4000
.long 16384 ## 0x4000
.long 16384 ## 0x4000
.long 16384 ## 0x4000
.section __TEXT,__text,regular,pure_instructions
.globl _window
.p2align 4, 0x90
_window: ## @window
.cfi_startproc
## %bb.0:
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
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %r8d, %r8d
movl $1024, %eax ## imm = 0x400
xorl %edx, %edx
idivl %esi
## kill: def $eax killed $eax def $rax
movl $256, %ecx ## imm = 0x100
cmpl $2, %esi
jl LBB2_15
## %bb.1:
movl %esi, %r8d
shrl %r8d
movslq %eax, %rdx
xorl %r9d, %r9d
movl $256, %ecx ## imm = 0x100
cmpl $16, %esi
jb LBB2_9
## %bb.2:
cmpl $1, %eax
jne LBB2_9
## %bb.3:
leaq _Sinewave(%rip), %r9
leaq (%r9,%r8,4), %r9
addq $1024, %r9 ## imm = 0x400
cmpq %rdi, %r9
jbe LBB2_6
## %bb.4:
leaq (%rdi,%r8,4), %r9
leaq _Sinewave+1024(%rip), %r10
cmpq %r10, %r9
jbe LBB2_6
## %bb.5:
xorl %r9d, %r9d
jmp LBB2_9
LBB2_6:
movl %r8d, %r9d
andl $-8, %r9d
movq %r9, %rcx
imulq %rdx, %rcx
addq $256, %rcx ## imm = 0x100
movl %esi, %r10d
shrl $4, %r10d
shlq $5, %r10
movq %rdx, %r11
shlq $5, %r11
leaq _Sinewave+1040(%rip), %rbx
xorl %r14d, %r14d
movdqa LCPI2_0(%rip), %xmm0 ## xmm0 = [16384,16384,16384,16384]
.p2align 4, 0x90
LBB2_7: ## =>This Inner Loop Header: Depth=1
movdqu (%rdi,%r14), %xmm1
movdqu 16(%rdi,%r14), %xmm2
movdqa -16(%rbx), %xmm3
movdqa (%rbx), %xmm4
psrad $1, %xmm3
psrad $1, %xmm4
movdqa %xmm0, %xmm5
psubd %xmm3, %xmm5
pmulld %xmm1, %xmm5
movdqa %xmm0, %xmm1
psubd %xmm4, %xmm1
pmulld %xmm2, %xmm1
psrad $15, %xmm5
psrad $15, %xmm1
movdqu %xmm5, (%rdi,%r14)
movdqu %xmm1, 16(%rdi,%r14)
addq $32, %r14
addq %r11, %rbx
cmpq %r14, %r10
jne LBB2_7
## %bb.8:
cmpq %r8, %r9
je LBB2_15
LBB2_9:
movq %r9, %r10
notq %r10
testb $1, %r8b
je LBB2_11
## %bb.10:
leaq _Sinewave(%rip), %r11
movl (%r11,%rcx,4), %r11d
sarl %r11d
movl $16384, %ebx ## imm = 0x4000
subl %r11d, %ebx
imull (%rdi,%r9,4), %ebx
sarl $15, %ebx
movl %ebx, (%rdi,%r9,4)
orq $1, %r9
addq %rdx, %rcx
LBB2_11:
addq %r8, %r10
je LBB2_15
## %bb.12:
leaq _Sinewave(%rip), %r10
leaq (%r10,%rcx,4), %r10
leaq (%r10,%rdx,4), %r11
addq %rdx, %rdx
xorl %ebx, %ebx
.p2align 4, 0x90
LBB2_13: ## =>This Inner Loop Header: Depth=1
movl (%r10,%rbx,4), %r14d
sarl %r14d
movl $16384, %r15d ## imm = 0x4000
subl %r14d, %r15d
imull (%rdi,%r9,4), %r15d
sarl $15, %r15d
movl %r15d, (%rdi,%r9,4)
movl (%r11,%rbx,4), %r14d
sarl %r14d
movl $16384, %r15d ## imm = 0x4000
subl %r14d, %r15d
imull 4(%rdi,%r9,4), %r15d
sarl $15, %r15d
movl %r15d, 4(%rdi,%r9,4)
addq $2, %r9
addq %rdx, %rbx
cmpq %r9, %r8
jne LBB2_13
## %bb.14:
addq %rbx, %rcx
LBB2_15:
andl $-2, %esi
cmpl %esi, %r8d
jge LBB2_21
## %bb.16:
movl %r8d, %edx
movl %esi, %esi
movq %rdx, %r8
notq %r8
testb $1, %dl
je LBB2_18
## %bb.17:
subl %eax, %ecx
movslq %ecx, %r9
leaq _Sinewave(%rip), %r10
movl (%r10,%r9,4), %r9d
sarl %r9d
movl $16384, %r10d ## imm = 0x4000
subl %r9d, %r10d
imull (%rdi,%rdx,4), %r10d
sarl $15, %r10d
movl %r10d, (%rdi,%rdx,4)
incq %rdx
LBB2_18:
addq %rsi, %r8
je LBB2_21
## %bb.19:
leal (%rax,%rax), %r8d
movl %ecx, %r9d
subl %r8d, %r9d
subl %eax, %ecx
leaq _Sinewave(%rip), %rax
.p2align 4, 0x90
LBB2_20: ## =>This Inner Loop Header: Depth=1
movslq %ecx, %rcx
movl (%rax,%rcx,4), %r10d
sarl %r10d
movl $16384, %r11d ## imm = 0x4000
subl %r10d, %r11d
imull (%rdi,%rdx,4), %r11d
sarl $15, %r11d
movl %r11d, (%rdi,%rdx,4)
movslq %r9d, %r9
movl (%rax,%r9,4), %r10d
sarl %r10d
movl $16384, %r11d ## imm = 0x4000
subl %r10d, %r11d
imull 4(%rdi,%rdx,4), %r11d
sarl $15, %r11d
movl %r11d, 4(%rdi,%rdx,4)
addq $2, %rdx
subl %r8d, %r9d
subl %r8d, %ecx
cmpq %rdx, %rsi
jne LBB2_20
LBB2_21:
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fix_loud ## -- Begin function fix_loud
.p2align 4, 0x90
_fix_loud: ## @fix_loud
.cfi_startproc
## %bb.0:
## kill: def $r8d killed $r8d def $r8
xorl %r9d, %r9d
testl %r8d, %r8d
movl $10, %eax
cmovlel %r9d, %eax
testl %ecx, %ecx
jle LBB3_20
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leal (%r8,%r8,2), %r8d
leal 6(,%r8,2), %r8d
movl %ecx, %ecx
xorl %r9d, %r9d
leaq _Loudampl(%rip), %r10
leaq _db_from_ampl.loud2(%rip), %r11
jmp LBB3_2
LBB3_15: ## in Loop: Header=BB3_2 Depth=1
addq $-4, %r14
.p2align 4, 0x90
LBB3_18: ## in Loop: Header=BB3_2 Depth=1
movl %r8d, %ebx
subl %r14d, %ebx
cmpl %eax, %ebx
cmovgel %eax, %ebx
movl %ebx, (%rdi,%r9,4)
incq %r9
cmpq %rcx, %r9
je LBB3_19
LBB3_2: ## =>This Loop Header: Depth=1
## Child Loop BB3_4 Depth 2
## Child Loop BB3_7 Depth 2
movl (%rsi,%r9,4), %r14d
movl (%rdx,%r9,4), %ebx
cmpl $0, _db_from_ampl.loud2(%rip)
jne LBB3_6
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
movl _Loudampl(%rip), %r15d
imull %r15d, %r15d
movl %r15d, _db_from_ampl.loud2(%rip)
movd %r15d, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
movl $5, %r15d
.p2align 4, 0x90
LBB3_4: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movdqu -16(%r10,%r15,4), %xmm1
pmulld %xmm1, %xmm1
movdqa %xmm1, %xmm2
palignr $12, %xmm0, %xmm2 ## xmm2 = xmm0[12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10,11]
movdqu (%r10,%r15,4), %xmm0
pmulld %xmm0, %xmm0
movdqa %xmm0, %xmm3
palignr $12, %xmm1, %xmm3 ## xmm3 = xmm1[12,13,14,15],xmm3[0,1,2,3,4,5,6,7,8,9,10,11]
movdqu %xmm1, -16(%r11,%r15,4)
movdqu %xmm0, (%r11,%r15,4)
paddd %xmm1, %xmm2
paddd %xmm0, %xmm3
psrld $1, %xmm2
psrld $1, %xmm3
movdqa %xmm2, -20(%r11,%r15,4)
movdqa %xmm3, -4(%r11,%r15,4)
addq $8, %r15
cmpq $101, %r15
jne LBB3_4
## %bb.5: ## in Loop: Header=BB3_2 Depth=1
pextrd $3, %xmm0, %r15d
movl _Loudampl+388(%rip), %r12d
imull %r12d, %r12d
addl %r12d, %r15d
shrl %r15d
movl %r15d, _db_from_ampl.loud2+384(%rip)
movl _Loudampl+392(%rip), %r15d
imull %r15d, %r15d
addl %r15d, %r12d
shrl %r12d
movl %r12d, _db_from_ampl.loud2+388(%rip)
movl _Loudampl+396(%rip), %r12d
imull %r12d, %r12d
movl %r12d, _db_from_ampl.loud2+396(%rip)
addl %r15d, %r12d
shrl %r12d
movl %r12d, _db_from_ampl.loud2+392(%rip)
LBB3_6: ## in Loop: Header=BB3_2 Depth=1
imull %r14d, %r14d
imull %ebx, %ebx
addl %r14d, %ebx
movl $4, %r14d
.p2align 4, 0x90
LBB3_7: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpl %ebx, -16(%r11,%r14,4)
jle LBB3_15
## %bb.8: ## in Loop: Header=BB3_7 Depth=2
cmpl %ebx, -12(%r11,%r14,4)
jle LBB3_14
## %bb.9: ## in Loop: Header=BB3_7 Depth=2
cmpl %ebx, -8(%r11,%r14,4)
jle LBB3_16
## %bb.10: ## in Loop: Header=BB3_7 Depth=2
cmpl %ebx, -4(%r11,%r14,4)
jle LBB3_17
## %bb.11: ## in Loop: Header=BB3_7 Depth=2
cmpl %ebx, (%r11,%r14,4)
jle LBB3_18
## %bb.12: ## in Loop: Header=BB3_7 Depth=2
addq $5, %r14
cmpq $104, %r14
jne LBB3_7
## %bb.13: ## in Loop: Header=BB3_2 Depth=1
movl $100, %r14d
jmp LBB3_18
LBB3_14: ## in Loop: Header=BB3_2 Depth=1
addq $-3, %r14
jmp LBB3_18
LBB3_16: ## in Loop: Header=BB3_2 Depth=1
addq $-2, %r14
jmp LBB3_18
LBB3_17: ## in Loop: Header=BB3_2 Depth=1
decq %r14
jmp LBB3_18
LBB3_19:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
LBB3_20:
retq
.cfi_endproc
## -- End function
.globl _db_from_ampl ## -- Begin function db_from_ampl
.p2align 4, 0x90
_db_from_ampl: ## @db_from_ampl
.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, _db_from_ampl.loud2(%rip)
jne LBB4_4
## %bb.1:
movl _Loudampl(%rip), %eax
imull %eax, %eax
movl %eax, _db_from_ampl.loud2(%rip)
movd %eax, %xmm0
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
movl $5, %eax
leaq _Loudampl(%rip), %rcx
leaq _db_from_ampl.loud2(%rip), %rdx
.p2align 4, 0x90
LBB4_2: ## =>This Inner Loop Header: Depth=1
movdqu -16(%rcx,%rax,4), %xmm1
pmulld %xmm1, %xmm1
movdqa %xmm1, %xmm2
palignr $12, %xmm0, %xmm2 ## xmm2 = xmm0[12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10,11]
movdqu (%rcx,%rax,4), %xmm0
pmulld %xmm0, %xmm0
movdqa %xmm0, %xmm3
palignr $12, %xmm1, %xmm3 ## xmm3 = xmm1[12,13,14,15],xmm3[0,1,2,3,4,5,6,7,8,9,10,11]
movdqu %xmm1, -16(%rdx,%rax,4)
movdqu %xmm0, (%rdx,%rax,4)
paddd %xmm1, %xmm2
paddd %xmm0, %xmm3
psrld $1, %xmm2
psrld $1, %xmm3
movdqa %xmm2, -20(%rdx,%rax,4)
movdqa %xmm3, -4(%rdx,%rax,4)
addq $8, %rax
cmpq $101, %rax
jne LBB4_2
## %bb.3:
pextrd $3, %xmm0, %eax
movl _Loudampl+388(%rip), %ecx
imull %ecx, %ecx
addl %ecx, %eax
shrl %eax
movl %eax, _db_from_ampl.loud2+384(%rip)
movl _Loudampl+392(%rip), %eax
imull %eax, %eax
addl %eax, %ecx
shrl %ecx
movl %ecx, _db_from_ampl.loud2+388(%rip)
movl _Loudampl+396(%rip), %ecx
imull %ecx, %ecx
movl %ecx, _db_from_ampl.loud2+396(%rip)
addl %eax, %ecx
shrl %ecx
movl %ecx, _db_from_ampl.loud2+392(%rip)
LBB4_4:
imull %edi, %edi
imull %esi, %esi
addl %edi, %esi
movl $4, %eax
leaq _db_from_ampl.loud2(%rip), %rcx
.p2align 4, 0x90
LBB4_5: ## =>This Inner Loop Header: Depth=1
cmpl %esi, -16(%rcx,%rax,4)
jle LBB4_13
## %bb.6: ## in Loop: Header=BB4_5 Depth=1
cmpl %esi, -12(%rcx,%rax,4)
jle LBB4_12
## %bb.7: ## in Loop: Header=BB4_5 Depth=1
cmpl %esi, -8(%rcx,%rax,4)
jle LBB4_14
## %bb.8: ## in Loop: Header=BB4_5 Depth=1
cmpl %esi, -4(%rcx,%rax,4)
jle LBB4_15
## %bb.9: ## in Loop: Header=BB4_5 Depth=1
cmpl %esi, (%rcx,%rax,4)
jle LBB4_16
## %bb.10: ## in Loop: Header=BB4_5 Depth=1
addq $5, %rax
cmpq $104, %rax
jne LBB4_5
## %bb.11:
movl $100, %eax
jmp LBB4_16
LBB4_13:
addq $-4, %rax
jmp LBB4_16
LBB4_12:
addq $-3, %rax
jmp LBB4_16
LBB4_14:
addq $-2, %rax
jmp LBB4_16
LBB4_15:
decq %rax
LBB4_16:
negl %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _iscale ## -- Begin function iscale
.p2align 4, 0x90
_iscale: ## @iscale
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edx, %ecx
movl %edi, %eax
imull %esi, %eax
cltd
idivl %ecx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function main
LCPI6_0:
.quad 0x400921fb54411744 ## double 3.1415926535000001
LCPI6_1:
.quad 0x3f70000000000000 ## double 0.00390625
LCPI6_2:
.quad 0x408f400000000000 ## double 1000
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $2064, %rsp ## imm = 0x810
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
xorl %ebx, %ebx
.p2align 4, 0x90
LBB6_1: ## =>This Inner Loop Header: Depth=1
xorps %xmm0, %xmm0
cvtsi2sd %ebx, %xmm0
mulsd LCPI6_0(%rip), %xmm0
mulsd LCPI6_1(%rip), %xmm0
callq _libmin_cos
mulsd LCPI6_2(%rip), %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -1056(%rbp,%rbx,2)
movl $0, -2080(%rbp,%rbx,2)
addq $2, %rbx
cmpq $512, %rbx ## imm = 0x200
jne LBB6_1
## %bb.2:
leaq -1056(%rbp), %rdi
leaq -2080(%rbp), %rsi
movl $8, %edx
xorl %ecx, %ecx
callq _fix_fft
leaq L_.str(%rip), %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB6_3: ## =>This Inner Loop Header: Depth=1
movl -1056(%rbp,%r14,4), %edx
movl -2080(%rbp,%r14,4), %ecx
movq %rbx, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _libmin_printf
incq %r14
cmpq $256, %r14 ## imm = 0x100
jne LBB6_3
## %bb.4:
leaq -1056(%rbp), %rdi
leaq -2080(%rbp), %rsi
movl $8, %edx
movl $1, %ecx
callq _fix_fft
leaq L_.str(%rip), %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB6_5: ## =>This Inner Loop Header: Depth=1
movl -1056(%rbp,%r14,4), %edx
movl -2080(%rbp,%r14,4), %ecx
movq %rbx, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _libmin_printf
incq %r14
cmpq $256, %r14 ## imm = 0x100
jne LBB6_5
## %bb.6:
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB6_8
## %bb.7:
xorl %eax, %eax
addq $2064, %rsp ## imm = 0x810
popq %rbx
popq %r14
popq %rbp
retq
LBB6_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _Sinewave ## @Sinewave
.p2align 4, 0x0
_Sinewave:
.long 0 ## 0x0
.long 201 ## 0xc9
.long 402 ## 0x192
.long 603 ## 0x25b
.long 804 ## 0x324
.long 1005 ## 0x3ed
.long 1206 ## 0x4b6
.long 1406 ## 0x57e
.long 1607 ## 0x647
.long 1808 ## 0x710
.long 2009 ## 0x7d9
.long 2209 ## 0x8a1
.long 2410 ## 0x96a
.long 2610 ## 0xa32
.long 2811 ## 0xafb
.long 3011 ## 0xbc3
.long 3211 ## 0xc8b
.long 3411 ## 0xd53
.long 3611 ## 0xe1b
.long 3811 ## 0xee3
.long 4011 ## 0xfab
.long 4210 ## 0x1072
.long 4409 ## 0x1139
.long 4608 ## 0x1200
.long 4807 ## 0x12c7
.long 5006 ## 0x138e
.long 5205 ## 0x1455
.long 5403 ## 0x151b
.long 5601 ## 0x15e1
.long 5799 ## 0x16a7
.long 5997 ## 0x176d
.long 6195 ## 0x1833
.long 6392 ## 0x18f8
.long 6589 ## 0x19bd
.long 6786 ## 0x1a82
.long 6982 ## 0x1b46
.long 7179 ## 0x1c0b
.long 7375 ## 0x1ccf
.long 7571 ## 0x1d93
.long 7766 ## 0x1e56
.long 7961 ## 0x1f19
.long 8156 ## 0x1fdc
.long 8351 ## 0x209f
.long 8545 ## 0x2161
.long 8739 ## 0x2223
.long 8932 ## 0x22e4
.long 9126 ## 0x23a6
.long 9319 ## 0x2467
.long 9511 ## 0x2527
.long 9703 ## 0x25e7
.long 9895 ## 0x26a7
.long 10087 ## 0x2767
.long 10278 ## 0x2826
.long 10469 ## 0x28e5
.long 10659 ## 0x29a3
.long 10849 ## 0x2a61
.long 11038 ## 0x2b1e
.long 11227 ## 0x2bdb
.long 11416 ## 0x2c98
.long 11604 ## 0x2d54
.long 11792 ## 0x2e10
.long 11980 ## 0x2ecc
.long 12166 ## 0x2f86
.long 12353 ## 0x3041
.long 12539 ## 0x30fb
.long 12724 ## 0x31b4
.long 12909 ## 0x326d
.long 13094 ## 0x3326
.long 13278 ## 0x33de
.long 13462 ## 0x3496
.long 13645 ## 0x354d
.long 13827 ## 0x3603
.long 14009 ## 0x36b9
.long 14191 ## 0x376f
.long 14372 ## 0x3824
.long 14552 ## 0x38d8
.long 14732 ## 0x398c
.long 14911 ## 0x3a3f
.long 15090 ## 0x3af2
.long 15268 ## 0x3ba4
.long 15446 ## 0x3c56
.long 15623 ## 0x3d07
.long 15799 ## 0x3db7
.long 15975 ## 0x3e67
.long 16150 ## 0x3f16
.long 16325 ## 0x3fc5
.long 16499 ## 0x4073
.long 16672 ## 0x4120
.long 16845 ## 0x41cd
.long 17017 ## 0x4279
.long 17189 ## 0x4325
.long 17360 ## 0x43d0
.long 17530 ## 0x447a
.long 17699 ## 0x4523
.long 17868 ## 0x45cc
.long 18036 ## 0x4674
.long 18204 ## 0x471c
.long 18371 ## 0x47c3
.long 18537 ## 0x4869
.long 18702 ## 0x490e
.long 18867 ## 0x49b3
.long 19031 ## 0x4a57
.long 19194 ## 0x4afa
.long 19357 ## 0x4b9d
.long 19519 ## 0x4c3f
.long 19680 ## 0x4ce0
.long 19840 ## 0x4d80
.long 20000 ## 0x4e20
.long 20159 ## 0x4ebf
.long 20317 ## 0x4f5d
.long 20474 ## 0x4ffa
.long 20631 ## 0x5097
.long 20787 ## 0x5133
.long 20942 ## 0x51ce
.long 21096 ## 0x5268
.long 21249 ## 0x5301
.long 21402 ## 0x539a
.long 21554 ## 0x5432
.long 21705 ## 0x54c9
.long 21855 ## 0x555f
.long 22004 ## 0x55f4
.long 22153 ## 0x5689
.long 22301 ## 0x571d
.long 22448 ## 0x57b0
.long 22594 ## 0x5842
.long 22739 ## 0x58d3
.long 22883 ## 0x5963
.long 23027 ## 0x59f3
.long 23169 ## 0x5a81
.long 23311 ## 0x5b0f
.long 23452 ## 0x5b9c
.long 23592 ## 0x5c28
.long 23731 ## 0x5cb3
.long 23869 ## 0x5d3d
.long 24006 ## 0x5dc6
.long 24143 ## 0x5e4f
.long 24278 ## 0x5ed6
.long 24413 ## 0x5f5d
.long 24546 ## 0x5fe2
.long 24679 ## 0x6067
.long 24811 ## 0x60eb
.long 24942 ## 0x616e
.long 25072 ## 0x61f0
.long 25201 ## 0x6271
.long 25329 ## 0x62f1
.long 25456 ## 0x6370
.long 25582 ## 0x63ee
.long 25707 ## 0x646b
.long 25831 ## 0x64e7
.long 25954 ## 0x6562
.long 26077 ## 0x65dd
.long 26198 ## 0x6656
.long 26318 ## 0x66ce
.long 26437 ## 0x6745
.long 26556 ## 0x67bc
.long 26673 ## 0x6831
.long 26789 ## 0x68a5
.long 26905 ## 0x6919
.long 27019 ## 0x698b
.long 27132 ## 0x69fc
.long 27244 ## 0x6a6c
.long 27355 ## 0x6adb
.long 27466 ## 0x6b4a
.long 27575 ## 0x6bb7
.long 27683 ## 0x6c23
.long 27790 ## 0x6c8e
.long 27896 ## 0x6cf8
.long 28001 ## 0x6d61
.long 28105 ## 0x6dc9
.long 28208 ## 0x6e30
.long 28309 ## 0x6e95
.long 28410 ## 0x6efa
.long 28510 ## 0x6f5e
.long 28608 ## 0x6fc0
.long 28706 ## 0x7022
.long 28802 ## 0x7082
.long 28897 ## 0x70e1
.long 28992 ## 0x7140
.long 29085 ## 0x719d
.long 29177 ## 0x71f9
.long 29268 ## 0x7254
.long 29358 ## 0x72ae
.long 29446 ## 0x7306
.long 29534 ## 0x735e
.long 29621 ## 0x73b5
.long 29706 ## 0x740a
.long 29790 ## 0x745e
.long 29873 ## 0x74b1
.long 29955 ## 0x7503
.long 30036 ## 0x7554
.long 30116 ## 0x75a4
.long 30195 ## 0x75f3
.long 30272 ## 0x7640
.long 30349 ## 0x768d
.long 30424 ## 0x76d8
.long 30498 ## 0x7722
.long 30571 ## 0x776b
.long 30643 ## 0x77b3
.long 30713 ## 0x77f9
.long 30783 ## 0x783f
.long 30851 ## 0x7883
.long 30918 ## 0x78c6
.long 30984 ## 0x7908
.long 31049 ## 0x7949
.long 31113 ## 0x7989
.long 31175 ## 0x79c7
.long 31236 ## 0x7a04
.long 31297 ## 0x7a41
.long 31356 ## 0x7a7c
.long 31413 ## 0x7ab5
.long 31470 ## 0x7aee
.long 31525 ## 0x7b25
.long 31580 ## 0x7b5c
.long 31633 ## 0x7b91
.long 31684 ## 0x7bc4
.long 31735 ## 0x7bf7
.long 31785 ## 0x7c29
.long 31833 ## 0x7c59
.long 31880 ## 0x7c88
.long 31926 ## 0x7cb6
.long 31970 ## 0x7ce2
.long 32014 ## 0x7d0e
.long 32056 ## 0x7d38
.long 32097 ## 0x7d61
.long 32137 ## 0x7d89
.long 32176 ## 0x7db0
.long 32213 ## 0x7dd5
.long 32249 ## 0x7df9
.long 32284 ## 0x7e1c
.long 32318 ## 0x7e3e
.long 32350 ## 0x7e5e
.long 32382 ## 0x7e7e
.long 32412 ## 0x7e9c
.long 32441 ## 0x7eb9
.long 32468 ## 0x7ed4
.long 32495 ## 0x7eef
.long 32520 ## 0x7f08
.long 32544 ## 0x7f20
.long 32567 ## 0x7f37
.long 32588 ## 0x7f4c
.long 32609 ## 0x7f61
.long 32628 ## 0x7f74
.long 32646 ## 0x7f86
.long 32662 ## 0x7f96
.long 32678 ## 0x7fa6
.long 32692 ## 0x7fb4
.long 32705 ## 0x7fc1
.long 32717 ## 0x7fcd
.long 32727 ## 0x7fd7
.long 32736 ## 0x7fe0
.long 32744 ## 0x7fe8
.long 32751 ## 0x7fef
.long 32757 ## 0x7ff5
.long 32761 ## 0x7ff9
.long 32764 ## 0x7ffc
.long 32766 ## 0x7ffe
.long 32767 ## 0x7fff
.long 32766 ## 0x7ffe
.long 32764 ## 0x7ffc
.long 32761 ## 0x7ff9
.long 32757 ## 0x7ff5
.long 32751 ## 0x7fef
.long 32744 ## 0x7fe8
.long 32736 ## 0x7fe0
.long 32727 ## 0x7fd7
.long 32717 ## 0x7fcd
.long 32705 ## 0x7fc1
.long 32692 ## 0x7fb4
.long 32678 ## 0x7fa6
.long 32662 ## 0x7f96
.long 32646 ## 0x7f86
.long 32628 ## 0x7f74
.long 32609 ## 0x7f61
.long 32588 ## 0x7f4c
.long 32567 ## 0x7f37
.long 32544 ## 0x7f20
.long 32520 ## 0x7f08
.long 32495 ## 0x7eef
.long 32468 ## 0x7ed4
.long 32441 ## 0x7eb9
.long 32412 ## 0x7e9c
.long 32382 ## 0x7e7e
.long 32350 ## 0x7e5e
.long 32318 ## 0x7e3e
.long 32284 ## 0x7e1c
.long 32249 ## 0x7df9
.long 32213 ## 0x7dd5
.long 32176 ## 0x7db0
.long 32137 ## 0x7d89
.long 32097 ## 0x7d61
.long 32056 ## 0x7d38
.long 32014 ## 0x7d0e
.long 31970 ## 0x7ce2
.long 31926 ## 0x7cb6
.long 31880 ## 0x7c88
.long 31833 ## 0x7c59
.long 31785 ## 0x7c29
.long 31735 ## 0x7bf7
.long 31684 ## 0x7bc4
.long 31633 ## 0x7b91
.long 31580 ## 0x7b5c
.long 31525 ## 0x7b25
.long 31470 ## 0x7aee
.long 31413 ## 0x7ab5
.long 31356 ## 0x7a7c
.long 31297 ## 0x7a41
.long 31236 ## 0x7a04
.long 31175 ## 0x79c7
.long 31113 ## 0x7989
.long 31049 ## 0x7949
.long 30984 ## 0x7908
.long 30918 ## 0x78c6
.long 30851 ## 0x7883
.long 30783 ## 0x783f
.long 30713 ## 0x77f9
.long 30643 ## 0x77b3
.long 30571 ## 0x776b
.long 30498 ## 0x7722
.long 30424 ## 0x76d8
.long 30349 ## 0x768d
.long 30272 ## 0x7640
.long 30195 ## 0x75f3
.long 30116 ## 0x75a4
.long 30036 ## 0x7554
.long 29955 ## 0x7503
.long 29873 ## 0x74b1
.long 29790 ## 0x745e
.long 29706 ## 0x740a
.long 29621 ## 0x73b5
.long 29534 ## 0x735e
.long 29446 ## 0x7306
.long 29358 ## 0x72ae
.long 29268 ## 0x7254
.long 29177 ## 0x71f9
.long 29085 ## 0x719d
.long 28992 ## 0x7140
.long 28897 ## 0x70e1
.long 28802 ## 0x7082
.long 28706 ## 0x7022
.long 28608 ## 0x6fc0
.long 28510 ## 0x6f5e
.long 28410 ## 0x6efa
.long 28309 ## 0x6e95
.long 28208 ## 0x6e30
.long 28105 ## 0x6dc9
.long 28001 ## 0x6d61
.long 27896 ## 0x6cf8
.long 27790 ## 0x6c8e
.long 27683 ## 0x6c23
.long 27575 ## 0x6bb7
.long 27466 ## 0x6b4a
.long 27355 ## 0x6adb
.long 27244 ## 0x6a6c
.long 27132 ## 0x69fc
.long 27019 ## 0x698b
.long 26905 ## 0x6919
.long 26789 ## 0x68a5
.long 26673 ## 0x6831
.long 26556 ## 0x67bc
.long 26437 ## 0x6745
.long 26318 ## 0x66ce
.long 26198 ## 0x6656
.long 26077 ## 0x65dd
.long 25954 ## 0x6562
.long 25831 ## 0x64e7
.long 25707 ## 0x646b
.long 25582 ## 0x63ee
.long 25456 ## 0x6370
.long 25329 ## 0x62f1
.long 25201 ## 0x6271
.long 25072 ## 0x61f0
.long 24942 ## 0x616e
.long 24811 ## 0x60eb
.long 24679 ## 0x6067
.long 24546 ## 0x5fe2
.long 24413 ## 0x5f5d
.long 24278 ## 0x5ed6
.long 24143 ## 0x5e4f
.long 24006 ## 0x5dc6
.long 23869 ## 0x5d3d
.long 23731 ## 0x5cb3
.long 23592 ## 0x5c28
.long 23452 ## 0x5b9c
.long 23311 ## 0x5b0f
.long 23169 ## 0x5a81
.long 23027 ## 0x59f3
.long 22883 ## 0x5963
.long 22739 ## 0x58d3
.long 22594 ## 0x5842
.long 22448 ## 0x57b0
.long 22301 ## 0x571d
.long 22153 ## 0x5689
.long 22004 ## 0x55f4
.long 21855 ## 0x555f
.long 21705 ## 0x54c9
.long 21554 ## 0x5432
.long 21402 ## 0x539a
.long 21249 ## 0x5301
.long 21096 ## 0x5268
.long 20942 ## 0x51ce
.long 20787 ## 0x5133
.long 20631 ## 0x5097
.long 20474 ## 0x4ffa
.long 20317 ## 0x4f5d
.long 20159 ## 0x4ebf
.long 20000 ## 0x4e20
.long 19840 ## 0x4d80
.long 19680 ## 0x4ce0
.long 19519 ## 0x4c3f
.long 19357 ## 0x4b9d
.long 19194 ## 0x4afa
.long 19031 ## 0x4a57
.long 18867 ## 0x49b3
.long 18702 ## 0x490e
.long 18537 ## 0x4869
.long 18371 ## 0x47c3
.long 18204 ## 0x471c
.long 18036 ## 0x4674
.long 17868 ## 0x45cc
.long 17699 ## 0x4523
.long 17530 ## 0x447a
.long 17360 ## 0x43d0
.long 17189 ## 0x4325
.long 17017 ## 0x4279
.long 16845 ## 0x41cd
.long 16672 ## 0x4120
.long 16499 ## 0x4073
.long 16325 ## 0x3fc5
.long 16150 ## 0x3f16
.long 15975 ## 0x3e67
.long 15799 ## 0x3db7
.long 15623 ## 0x3d07
.long 15446 ## 0x3c56
.long 15268 ## 0x3ba4
.long 15090 ## 0x3af2
.long 14911 ## 0x3a3f
.long 14732 ## 0x398c
.long 14552 ## 0x38d8
.long 14372 ## 0x3824
.long 14191 ## 0x376f
.long 14009 ## 0x36b9
.long 13827 ## 0x3603
.long 13645 ## 0x354d
.long 13462 ## 0x3496
.long 13278 ## 0x33de
.long 13094 ## 0x3326
.long 12909 ## 0x326d
.long 12724 ## 0x31b4
.long 12539 ## 0x30fb
.long 12353 ## 0x3041
.long 12166 ## 0x2f86
.long 11980 ## 0x2ecc
.long 11792 ## 0x2e10
.long 11604 ## 0x2d54
.long 11416 ## 0x2c98
.long 11227 ## 0x2bdb
.long 11038 ## 0x2b1e
.long 10849 ## 0x2a61
.long 10659 ## 0x29a3
.long 10469 ## 0x28e5
.long 10278 ## 0x2826
.long 10087 ## 0x2767
.long 9895 ## 0x26a7
.long 9703 ## 0x25e7
.long 9511 ## 0x2527
.long 9319 ## 0x2467
.long 9126 ## 0x23a6
.long 8932 ## 0x22e4
.long 8739 ## 0x2223
.long 8545 ## 0x2161
.long 8351 ## 0x209f
.long 8156 ## 0x1fdc
.long 7961 ## 0x1f19
.long 7766 ## 0x1e56
.long 7571 ## 0x1d93
.long 7375 ## 0x1ccf
.long 7179 ## 0x1c0b
.long 6982 ## 0x1b46
.long 6786 ## 0x1a82
.long 6589 ## 0x19bd
.long 6392 ## 0x18f8
.long 6195 ## 0x1833
.long 5997 ## 0x176d
.long 5799 ## 0x16a7
.long 5601 ## 0x15e1
.long 5403 ## 0x151b
.long 5205 ## 0x1455
.long 5006 ## 0x138e
.long 4807 ## 0x12c7
.long 4608 ## 0x1200
.long 4409 ## 0x1139
.long 4210 ## 0x1072
.long 4011 ## 0xfab
.long 3811 ## 0xee3
.long 3611 ## 0xe1b
.long 3411 ## 0xd53
.long 3211 ## 0xc8b
.long 3011 ## 0xbc3
.long 2811 ## 0xafb
.long 2610 ## 0xa32
.long 2410 ## 0x96a
.long 2209 ## 0x8a1
.long 2009 ## 0x7d9
.long 1808 ## 0x710
.long 1607 ## 0x647
.long 1406 ## 0x57e
.long 1206 ## 0x4b6
.long 1005 ## 0x3ed
.long 804 ## 0x324
.long 603 ## 0x25b
.long 402 ## 0x192
.long 201 ## 0xc9
.long 0 ## 0x0
.long 4294967095 ## 0xffffff37
.long 4294966894 ## 0xfffffe6e
.long 4294966693 ## 0xfffffda5
.long 4294966492 ## 0xfffffcdc
.long 4294966291 ## 0xfffffc13
.long 4294966090 ## 0xfffffb4a
.long 4294965890 ## 0xfffffa82
.long 4294965689 ## 0xfffff9b9
.long 4294965488 ## 0xfffff8f0
.long 4294965287 ## 0xfffff827
.long 4294965087 ## 0xfffff75f
.long 4294964886 ## 0xfffff696
.long 4294964686 ## 0xfffff5ce
.long 4294964485 ## 0xfffff505
.long 4294964285 ## 0xfffff43d
.long 4294964085 ## 0xfffff375
.long 4294963885 ## 0xfffff2ad
.long 4294963685 ## 0xfffff1e5
.long 4294963485 ## 0xfffff11d
.long 4294963285 ## 0xfffff055
.long 4294963086 ## 0xffffef8e
.long 4294962887 ## 0xffffeec7
.long 4294962688 ## 0xffffee00
.long 4294962489 ## 0xffffed39
.long 4294962290 ## 0xffffec72
.long 4294962091 ## 0xffffebab
.long 4294961893 ## 0xffffeae5
.long 4294961695 ## 0xffffea1f
.long 4294961497 ## 0xffffe959
.long 4294961299 ## 0xffffe893
.long 4294961101 ## 0xffffe7cd
.long 4294960904 ## 0xffffe708
.long 4294960707 ## 0xffffe643
.long 4294960510 ## 0xffffe57e
.long 4294960314 ## 0xffffe4ba
.long 4294960117 ## 0xffffe3f5
.long 4294959921 ## 0xffffe331
.long 4294959725 ## 0xffffe26d
.long 4294959530 ## 0xffffe1aa
.long 4294959335 ## 0xffffe0e7
.long 4294959140 ## 0xffffe024
.long 4294958945 ## 0xffffdf61
.long 4294958751 ## 0xffffde9f
.long 4294958557 ## 0xffffdddd
.long 4294958364 ## 0xffffdd1c
.long 4294958170 ## 0xffffdc5a
.long 4294957977 ## 0xffffdb99
.long 4294957785 ## 0xffffdad9
.long 4294957593 ## 0xffffda19
.long 4294957401 ## 0xffffd959
.long 4294957209 ## 0xffffd899
.long 4294957018 ## 0xffffd7da
.long 4294956827 ## 0xffffd71b
.long 4294956637 ## 0xffffd65d
.long 4294956447 ## 0xffffd59f
.long 4294956258 ## 0xffffd4e2
.long 4294956069 ## 0xffffd425
.long 4294955880 ## 0xffffd368
.long 4294955692 ## 0xffffd2ac
.long 4294955504 ## 0xffffd1f0
.long 4294955316 ## 0xffffd134
.long 4294955130 ## 0xffffd07a
.long 4294954943 ## 0xffffcfbf
.long 4294954757 ## 0xffffcf05
.long 4294954572 ## 0xffffce4c
.long 4294954387 ## 0xffffcd93
.long 4294954202 ## 0xffffccda
.long 4294954018 ## 0xffffcc22
.long 4294953834 ## 0xffffcb6a
.long 4294953651 ## 0xffffcab3
.long 4294953469 ## 0xffffc9fd
.long 4294953287 ## 0xffffc947
.long 4294953105 ## 0xffffc891
.long 4294952924 ## 0xffffc7dc
.long 4294952744 ## 0xffffc728
.long 4294952564 ## 0xffffc674
.long 4294952385 ## 0xffffc5c1
.long 4294952206 ## 0xffffc50e
.long 4294952028 ## 0xffffc45c
.long 4294951850 ## 0xffffc3aa
.long 4294951673 ## 0xffffc2f9
.long 4294951497 ## 0xffffc249
.long 4294951321 ## 0xffffc199
.long 4294951146 ## 0xffffc0ea
.long 4294950971 ## 0xffffc03b
.long 4294950797 ## 0xffffbf8d
.long 4294950624 ## 0xffffbee0
.long 4294950451 ## 0xffffbe33
.long 4294950279 ## 0xffffbd87
.long 4294950107 ## 0xffffbcdb
.long 4294949936 ## 0xffffbc30
.long 4294949766 ## 0xffffbb86
.long 4294949597 ## 0xffffbadd
.long 4294949428 ## 0xffffba34
.long 4294949260 ## 0xffffb98c
.long 4294949092 ## 0xffffb8e4
.long 4294948925 ## 0xffffb83d
.long 4294948759 ## 0xffffb797
.long 4294948594 ## 0xffffb6f2
.long 4294948429 ## 0xffffb64d
.long 4294948265 ## 0xffffb5a9
.long 4294948102 ## 0xffffb506
.long 4294947939 ## 0xffffb463
.long 4294947777 ## 0xffffb3c1
.long 4294947616 ## 0xffffb320
.long 4294947456 ## 0xffffb280
.long 4294947296 ## 0xffffb1e0
.long 4294947137 ## 0xffffb141
.long 4294946979 ## 0xffffb0a3
.long 4294946822 ## 0xffffb006
.long 4294946665 ## 0xffffaf69
.long 4294946509 ## 0xffffaecd
.long 4294946354 ## 0xffffae32
.long 4294946200 ## 0xffffad98
.long 4294946047 ## 0xffffacff
.long 4294945894 ## 0xffffac66
.long 4294945742 ## 0xffffabce
.long 4294945591 ## 0xffffab37
.long 4294945441 ## 0xffffaaa1
.long 4294945292 ## 0xffffaa0c
.long 4294945143 ## 0xffffa977
.long 4294944995 ## 0xffffa8e3
.long 4294944848 ## 0xffffa850
.long 4294944702 ## 0xffffa7be
.long 4294944557 ## 0xffffa72d
.long 4294944413 ## 0xffffa69d
.long 4294944269 ## 0xffffa60d
.long 4294944127 ## 0xffffa57f
.long 4294943985 ## 0xffffa4f1
.long 4294943844 ## 0xffffa464
.long 4294943704 ## 0xffffa3d8
.long 4294943565 ## 0xffffa34d
.long 4294943427 ## 0xffffa2c3
.long 4294943290 ## 0xffffa23a
.long 4294943153 ## 0xffffa1b1
.long 4294943018 ## 0xffffa12a
.long 4294942883 ## 0xffffa0a3
.long 4294942750 ## 0xffffa01e
.long 4294942617 ## 0xffff9f99
.long 4294942485 ## 0xffff9f15
.long 4294942354 ## 0xffff9e92
.long 4294942224 ## 0xffff9e10
.long 4294942095 ## 0xffff9d8f
.long 4294941967 ## 0xffff9d0f
.long 4294941840 ## 0xffff9c90
.long 4294941714 ## 0xffff9c12
.long 4294941589 ## 0xffff9b95
.long 4294941465 ## 0xffff9b19
.long 4294941342 ## 0xffff9a9e
.long 4294941219 ## 0xffff9a23
.long 4294941098 ## 0xffff99aa
.long 4294940978 ## 0xffff9932
.long 4294940859 ## 0xffff98bb
.long 4294940740 ## 0xffff9844
.long 4294940623 ## 0xffff97cf
.long 4294940507 ## 0xffff975b
.long 4294940391 ## 0xffff96e7
.long 4294940277 ## 0xffff9675
.long 4294940164 ## 0xffff9604
.long 4294940052 ## 0xffff9594
.long 4294939941 ## 0xffff9525
.long 4294939830 ## 0xffff94b6
.long 4294939721 ## 0xffff9449
.long 4294939613 ## 0xffff93dd
.long 4294939506 ## 0xffff9372
.long 4294939400 ## 0xffff9308
.long 4294939295 ## 0xffff929f
.long 4294939191 ## 0xffff9237
.long 4294939088 ## 0xffff91d0
.long 4294938987 ## 0xffff916b
.long 4294938886 ## 0xffff9106
.long 4294938786 ## 0xffff90a2
.long 4294938688 ## 0xffff9040
.long 4294938590 ## 0xffff8fde
.long 4294938494 ## 0xffff8f7e
.long 4294938399 ## 0xffff8f1f
.long 4294938304 ## 0xffff8ec0
.long 4294938211 ## 0xffff8e63
.long 4294938119 ## 0xffff8e07
.long 4294938028 ## 0xffff8dac
.long 4294937938 ## 0xffff8d52
.long 4294937850 ## 0xffff8cfa
.long 4294937762 ## 0xffff8ca2
.long 4294937675 ## 0xffff8c4b
.long 4294937590 ## 0xffff8bf6
.long 4294937506 ## 0xffff8ba2
.long 4294937423 ## 0xffff8b4f
.long 4294937341 ## 0xffff8afd
.long 4294937260 ## 0xffff8aac
.long 4294937180 ## 0xffff8a5c
.long 4294937101 ## 0xffff8a0d
.long 4294937024 ## 0xffff89c0
.long 4294936947 ## 0xffff8973
.long 4294936872 ## 0xffff8928
.long 4294936798 ## 0xffff88de
.long 4294936725 ## 0xffff8895
.long 4294936653 ## 0xffff884d
.long 4294936583 ## 0xffff8807
.long 4294936513 ## 0xffff87c1
.long 4294936445 ## 0xffff877d
.long 4294936378 ## 0xffff873a
.long 4294936312 ## 0xffff86f8
.long 4294936247 ## 0xffff86b7
.long 4294936183 ## 0xffff8677
.long 4294936121 ## 0xffff8639
.long 4294936060 ## 0xffff85fc
.long 4294935999 ## 0xffff85bf
.long 4294935940 ## 0xffff8584
.long 4294935883 ## 0xffff854b
.long 4294935826 ## 0xffff8512
.long 4294935771 ## 0xffff84db
.long 4294935716 ## 0xffff84a4
.long 4294935663 ## 0xffff846f
.long 4294935612 ## 0xffff843c
.long 4294935561 ## 0xffff8409
.long 4294935511 ## 0xffff83d7
.long 4294935463 ## 0xffff83a7
.long 4294935416 ## 0xffff8378
.long 4294935370 ## 0xffff834a
.long 4294935326 ## 0xffff831e
.long 4294935282 ## 0xffff82f2
.long 4294935240 ## 0xffff82c8
.long 4294935199 ## 0xffff829f
.long 4294935159 ## 0xffff8277
.long 4294935120 ## 0xffff8250
.long 4294935083 ## 0xffff822b
.long 4294935047 ## 0xffff8207
.long 4294935012 ## 0xffff81e4
.long 4294934978 ## 0xffff81c2
.long 4294934946 ## 0xffff81a2
.long 4294934914 ## 0xffff8182
.long 4294934884 ## 0xffff8164
.long 4294934855 ## 0xffff8147
.long 4294934828 ## 0xffff812c
.long 4294934801 ## 0xffff8111
.long 4294934776 ## 0xffff80f8
.long 4294934752 ## 0xffff80e0
.long 4294934729 ## 0xffff80c9
.long 4294934708 ## 0xffff80b4
.long 4294934687 ## 0xffff809f
.long 4294934668 ## 0xffff808c
.long 4294934650 ## 0xffff807a
.long 4294934634 ## 0xffff806a
.long 4294934618 ## 0xffff805a
.long 4294934604 ## 0xffff804c
.long 4294934591 ## 0xffff803f
.long 4294934579 ## 0xffff8033
.long 4294934569 ## 0xffff8029
.long 4294934560 ## 0xffff8020
.long 4294934552 ## 0xffff8018
.long 4294934545 ## 0xffff8011
.long 4294934539 ## 0xffff800b
.long 4294934535 ## 0xffff8007
.long 4294934532 ## 0xffff8004
.long 4294934530 ## 0xffff8002
.long 4294934529 ## 0xffff8001
.long 4294934530 ## 0xffff8002
.long 4294934532 ## 0xffff8004
.long 4294934535 ## 0xffff8007
.long 4294934539 ## 0xffff800b
.long 4294934545 ## 0xffff8011
.long 4294934552 ## 0xffff8018
.long 4294934560 ## 0xffff8020
.long 4294934569 ## 0xffff8029
.long 4294934579 ## 0xffff8033
.long 4294934591 ## 0xffff803f
.long 4294934604 ## 0xffff804c
.long 4294934618 ## 0xffff805a
.long 4294934634 ## 0xffff806a
.long 4294934650 ## 0xffff807a
.long 4294934668 ## 0xffff808c
.long 4294934687 ## 0xffff809f
.long 4294934708 ## 0xffff80b4
.long 4294934729 ## 0xffff80c9
.long 4294934752 ## 0xffff80e0
.long 4294934776 ## 0xffff80f8
.long 4294934801 ## 0xffff8111
.long 4294934828 ## 0xffff812c
.long 4294934855 ## 0xffff8147
.long 4294934884 ## 0xffff8164
.long 4294934914 ## 0xffff8182
.long 4294934946 ## 0xffff81a2
.long 4294934978 ## 0xffff81c2
.long 4294935012 ## 0xffff81e4
.long 4294935047 ## 0xffff8207
.long 4294935083 ## 0xffff822b
.long 4294935120 ## 0xffff8250
.long 4294935159 ## 0xffff8277
.long 4294935199 ## 0xffff829f
.long 4294935240 ## 0xffff82c8
.long 4294935282 ## 0xffff82f2
.long 4294935326 ## 0xffff831e
.long 4294935370 ## 0xffff834a
.long 4294935416 ## 0xffff8378
.long 4294935463 ## 0xffff83a7
.long 4294935511 ## 0xffff83d7
.long 4294935561 ## 0xffff8409
.long 4294935612 ## 0xffff843c
.long 4294935663 ## 0xffff846f
.long 4294935716 ## 0xffff84a4
.long 4294935771 ## 0xffff84db
.long 4294935826 ## 0xffff8512
.long 4294935883 ## 0xffff854b
.long 4294935940 ## 0xffff8584
.long 4294935999 ## 0xffff85bf
.long 4294936060 ## 0xffff85fc
.long 4294936121 ## 0xffff8639
.long 4294936183 ## 0xffff8677
.long 4294936247 ## 0xffff86b7
.long 4294936312 ## 0xffff86f8
.long 4294936378 ## 0xffff873a
.long 4294936445 ## 0xffff877d
.long 4294936513 ## 0xffff87c1
.long 4294936583 ## 0xffff8807
.long 4294936653 ## 0xffff884d
.long 4294936725 ## 0xffff8895
.long 4294936798 ## 0xffff88de
.long 4294936872 ## 0xffff8928
.long 4294936947 ## 0xffff8973
.long 4294937024 ## 0xffff89c0
.long 4294937101 ## 0xffff8a0d
.long 4294937180 ## 0xffff8a5c
.long 4294937260 ## 0xffff8aac
.long 4294937341 ## 0xffff8afd
.long 4294937423 ## 0xffff8b4f
.long 4294937506 ## 0xffff8ba2
.long 4294937590 ## 0xffff8bf6
.long 4294937675 ## 0xffff8c4b
.long 4294937762 ## 0xffff8ca2
.long 4294937850 ## 0xffff8cfa
.long 4294937938 ## 0xffff8d52
.long 4294938028 ## 0xffff8dac
.long 4294938119 ## 0xffff8e07
.long 4294938211 ## 0xffff8e63
.long 4294938304 ## 0xffff8ec0
.long 4294938399 ## 0xffff8f1f
.long 4294938494 ## 0xffff8f7e
.long 4294938590 ## 0xffff8fde
.long 4294938688 ## 0xffff9040
.long 4294938786 ## 0xffff90a2
.long 4294938886 ## 0xffff9106
.long 4294938987 ## 0xffff916b
.long 4294939088 ## 0xffff91d0
.long 4294939191 ## 0xffff9237
.long 4294939295 ## 0xffff929f
.long 4294939400 ## 0xffff9308
.long 4294939506 ## 0xffff9372
.long 4294939613 ## 0xffff93dd
.long 4294939721 ## 0xffff9449
.long 4294939830 ## 0xffff94b6
.long 4294939941 ## 0xffff9525
.long 4294940052 ## 0xffff9594
.long 4294940164 ## 0xffff9604
.long 4294940277 ## 0xffff9675
.long 4294940391 ## 0xffff96e7
.long 4294940507 ## 0xffff975b
.long 4294940623 ## 0xffff97cf
.long 4294940740 ## 0xffff9844
.long 4294940859 ## 0xffff98bb
.long 4294940978 ## 0xffff9932
.long 4294941098 ## 0xffff99aa
.long 4294941219 ## 0xffff9a23
.long 4294941342 ## 0xffff9a9e
.long 4294941465 ## 0xffff9b19
.long 4294941589 ## 0xffff9b95
.long 4294941714 ## 0xffff9c12
.long 4294941840 ## 0xffff9c90
.long 4294941967 ## 0xffff9d0f
.long 4294942095 ## 0xffff9d8f
.long 4294942224 ## 0xffff9e10
.long 4294942354 ## 0xffff9e92
.long 4294942485 ## 0xffff9f15
.long 4294942617 ## 0xffff9f99
.long 4294942750 ## 0xffffa01e
.long 4294942883 ## 0xffffa0a3
.long 4294943018 ## 0xffffa12a
.long 4294943153 ## 0xffffa1b1
.long 4294943290 ## 0xffffa23a
.long 4294943427 ## 0xffffa2c3
.long 4294943565 ## 0xffffa34d
.long 4294943704 ## 0xffffa3d8
.long 4294943844 ## 0xffffa464
.long 4294943985 ## 0xffffa4f1
.long 4294944127 ## 0xffffa57f
.long 4294944269 ## 0xffffa60d
.long 4294944413 ## 0xffffa69d
.long 4294944557 ## 0xffffa72d
.long 4294944702 ## 0xffffa7be
.long 4294944848 ## 0xffffa850
.long 4294944995 ## 0xffffa8e3
.long 4294945143 ## 0xffffa977
.long 4294945292 ## 0xffffaa0c
.long 4294945441 ## 0xffffaaa1
.long 4294945591 ## 0xffffab37
.long 4294945742 ## 0xffffabce
.long 4294945894 ## 0xffffac66
.long 4294946047 ## 0xffffacff
.long 4294946200 ## 0xffffad98
.long 4294946354 ## 0xffffae32
.long 4294946509 ## 0xffffaecd
.long 4294946665 ## 0xffffaf69
.long 4294946822 ## 0xffffb006
.long 4294946979 ## 0xffffb0a3
.long 4294947137 ## 0xffffb141
.long 4294947296 ## 0xffffb1e0
.long 4294947456 ## 0xffffb280
.long 4294947616 ## 0xffffb320
.long 4294947777 ## 0xffffb3c1
.long 4294947939 ## 0xffffb463
.long 4294948102 ## 0xffffb506
.long 4294948265 ## 0xffffb5a9
.long 4294948429 ## 0xffffb64d
.long 4294948594 ## 0xffffb6f2
.long 4294948759 ## 0xffffb797
.long 4294948925 ## 0xffffb83d
.long 4294949092 ## 0xffffb8e4
.long 4294949260 ## 0xffffb98c
.long 4294949428 ## 0xffffba34
.long 4294949597 ## 0xffffbadd
.long 4294949766 ## 0xffffbb86
.long 4294949936 ## 0xffffbc30
.long 4294950107 ## 0xffffbcdb
.long 4294950279 ## 0xffffbd87
.long 4294950451 ## 0xffffbe33
.long 4294950624 ## 0xffffbee0
.long 4294950797 ## 0xffffbf8d
.long 4294950971 ## 0xffffc03b
.long 4294951146 ## 0xffffc0ea
.long 4294951321 ## 0xffffc199
.long 4294951497 ## 0xffffc249
.long 4294951673 ## 0xffffc2f9
.long 4294951850 ## 0xffffc3aa
.long 4294952028 ## 0xffffc45c
.long 4294952206 ## 0xffffc50e
.long 4294952385 ## 0xffffc5c1
.long 4294952564 ## 0xffffc674
.long 4294952744 ## 0xffffc728
.long 4294952924 ## 0xffffc7dc
.long 4294953105 ## 0xffffc891
.long 4294953287 ## 0xffffc947
.long 4294953469 ## 0xffffc9fd
.long 4294953651 ## 0xffffcab3
.long 4294953834 ## 0xffffcb6a
.long 4294954018 ## 0xffffcc22
.long 4294954202 ## 0xffffccda
.long 4294954387 ## 0xffffcd93
.long 4294954572 ## 0xffffce4c
.long 4294954757 ## 0xffffcf05
.long 4294954943 ## 0xffffcfbf
.long 4294955130 ## 0xffffd07a
.long 4294955316 ## 0xffffd134
.long 4294955504 ## 0xffffd1f0
.long 4294955692 ## 0xffffd2ac
.long 4294955880 ## 0xffffd368
.long 4294956069 ## 0xffffd425
.long 4294956258 ## 0xffffd4e2
.long 4294956447 ## 0xffffd59f
.long 4294956637 ## 0xffffd65d
.long 4294956827 ## 0xffffd71b
.long 4294957018 ## 0xffffd7da
.long 4294957209 ## 0xffffd899
.long 4294957401 ## 0xffffd959
.long 4294957593 ## 0xffffda19
.long 4294957785 ## 0xffffdad9
.long 4294957977 ## 0xffffdb99
.long 4294958170 ## 0xffffdc5a
.long 4294958364 ## 0xffffdd1c
.long 4294958557 ## 0xffffdddd
.long 4294958751 ## 0xffffde9f
.long 4294958945 ## 0xffffdf61
.long 4294959140 ## 0xffffe024
.long 4294959335 ## 0xffffe0e7
.long 4294959530 ## 0xffffe1aa
.long 4294959725 ## 0xffffe26d
.long 4294959921 ## 0xffffe331
.long 4294960117 ## 0xffffe3f5
.long 4294960314 ## 0xffffe4ba
.long 4294960510 ## 0xffffe57e
.long 4294960707 ## 0xffffe643
.long 4294960904 ## 0xffffe708
.long 4294961101 ## 0xffffe7cd
.long 4294961299 ## 0xffffe893
.long 4294961497 ## 0xffffe959
.long 4294961695 ## 0xffffea1f
.long 4294961893 ## 0xffffeae5
.long 4294962091 ## 0xffffebab
.long 4294962290 ## 0xffffec72
.long 4294962489 ## 0xffffed39
.long 4294962688 ## 0xffffee00
.long 4294962887 ## 0xffffeec7
.long 4294963086 ## 0xffffef8e
.long 4294963285 ## 0xfffff055
.long 4294963485 ## 0xfffff11d
.long 4294963685 ## 0xfffff1e5
.long 4294963885 ## 0xfffff2ad
.long 4294964085 ## 0xfffff375
.long 4294964285 ## 0xfffff43d
.long 4294964485 ## 0xfffff505
.long 4294964686 ## 0xfffff5ce
.long 4294964886 ## 0xfffff696
.long 4294965087 ## 0xfffff75f
.long 4294965287 ## 0xfffff827
.long 4294965488 ## 0xfffff8f0
.long 4294965689 ## 0xfffff9b9
.long 4294965890 ## 0xfffffa82
.long 4294966090 ## 0xfffffb4a
.long 4294966291 ## 0xfffffc13
.long 4294966492 ## 0xfffffcdc
.long 4294966693 ## 0xfffffda5
.long 4294966894 ## 0xfffffe6e
.long 4294967095 ## 0xffffff37
.zerofill __DATA,__bss,_db_from_ampl.loud2,400,4 ## @db_from_ampl.loud2
.globl _Loudampl ## @Loudampl
.p2align 4, 0x0
_Loudampl:
.long 32767 ## 0x7fff
.long 29203 ## 0x7213
.long 26027 ## 0x65ab
.long 23197 ## 0x5a9d
.long 20674 ## 0x50c2
.long 18426 ## 0x47fa
.long 16422 ## 0x4026
.long 14636 ## 0x392c
.long 13044 ## 0x32f4
.long 11626 ## 0x2d6a
.long 10361 ## 0x2879
.long 9234 ## 0x2412
.long 8230 ## 0x2026
.long 7335 ## 0x1ca7
.long 6537 ## 0x1989
.long 5826 ## 0x16c2
.long 5193 ## 0x1449
.long 4628 ## 0x1214
.long 4125 ## 0x101d
.long 3676 ## 0xe5c
.long 3276 ## 0xccc
.long 2920 ## 0xb68
.long 2602 ## 0xa2a
.long 2319 ## 0x90f
.long 2067 ## 0x813
.long 1842 ## 0x732
.long 1642 ## 0x66a
.long 1463 ## 0x5b7
.long 1304 ## 0x518
.long 1162 ## 0x48a
.long 1036 ## 0x40c
.long 923 ## 0x39b
.long 823 ## 0x337
.long 733 ## 0x2dd
.long 653 ## 0x28d
.long 582 ## 0x246
.long 519 ## 0x207
.long 462 ## 0x1ce
.long 412 ## 0x19c
.long 367 ## 0x16f
.long 327 ## 0x147
.long 292 ## 0x124
.long 260 ## 0x104
.long 231 ## 0xe7
.long 206 ## 0xce
.long 184 ## 0xb8
.long 164 ## 0xa4
.long 146 ## 0x92
.long 130 ## 0x82
.long 116 ## 0x74
.long 103 ## 0x67
.long 92 ## 0x5c
.long 82 ## 0x52
.long 73 ## 0x49
.long 65 ## 0x41
.long 58 ## 0x3a
.long 51 ## 0x33
.long 46 ## 0x2e
.long 41 ## 0x29
.long 36 ## 0x24
.long 32 ## 0x20
.long 29 ## 0x1d
.long 26 ## 0x1a
.long 23 ## 0x17
.long 20 ## 0x14
.long 18 ## 0x12
.long 16 ## 0x10
.long 14 ## 0xe
.long 13 ## 0xd
.long 11 ## 0xb
.long 10 ## 0xa
.long 9 ## 0x9
.long 8 ## 0x8
.long 7 ## 0x7
.long 6 ## 0x6
.long 5 ## 0x5
.long 5 ## 0x5
.long 4 ## 0x4
.long 4 ## 0x4
.long 3 ## 0x3
.long 3 ## 0x3
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.space 36
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d: %d, %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _fix_fft ; -- Begin function fix_fft
.p2align 2
_fix_fft: ; @fix_fft
.cfi_startproc
; %bb.0:
mov w8, #1 ; =0x1
lsl w9, w8, w2
cmp w9, #1024
b.le LBB0_2
; %bb.1:
mov w0, #-1 ; =0xffffffff
ret
LBB0_2:
cmp w9, #2
b.lt LBB0_9
; %bb.3:
stp x26, x25, [sp, #-64]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
mov w8, #0 ; =0x0
mov w10, #1 ; =0x1
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x10, x10, #1
cmp x10, x9
b.eq LBB0_10
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
mov x11, x9
LBB0_6: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
asr w11, w11, #1
add w12, w11, w8
cmp w12, w9
b.ge LBB0_6
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
sub w12, w11, #1
and w8, w12, w8
add w8, w8, w11
sxtw x11, w8
cmp x10, x11
b.ge LBB0_4
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
lsl x12, x10, #2
ldr w13, [x0, x12]
lsl x11, x11, #2
ldr w14, [x0, x11]
str w14, [x0, x12]
str w13, [x0, x11]
ldr w13, [x1, x12]
ldr w14, [x1, x11]
str w14, [x1, x12]
str w13, [x1, x11]
b LBB0_4
LBB0_9:
mov w0, #0 ; =0x0
ret
LBB0_10:
mov w8, #0 ; =0x0
mov w13, #1 ; =0x1
mov w10, #9 ; =0x9
Lloh0:
adrp x11, _Sinewave@PAGE
Lloh1:
add x11, x11, _Sinewave@PAGEOFF
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
sub w10, w10, #1
mov x13, x14
cmp w14, w9
b.ge LBB0_28
LBB0_12: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
; Child Loop BB0_25 Depth 2
; Child Loop BB0_27 Depth 3
cbz w3, LBB0_15
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
ldr w12, [x0]
cmp w12, #0
cneg w12, w12, mi
ldr w14, [x1]
cmp w14, #0
cneg w14, w14, mi
lsr w12, w12, #14
cmp w12, #0
lsr w12, w14, #14
ccmp w12, #0, #0, eq
b.eq LBB0_16
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
mov w12, #1 ; =0x1
b LBB0_21
LBB0_15: ; in Loop: Header=BB0_12 Depth=1
mov w12, #1 ; =0x1
b LBB0_22
LBB0_16: ; in Loop: Header=BB0_12 Depth=1
mov w14, #1 ; =0x1
LBB0_17: ; Parent Loop BB0_12 Depth=1
; => This Inner Loop Header: Depth=2
mov x12, x14
cmp x9, x14
b.eq LBB0_20
; %bb.18: ; in Loop: Header=BB0_17 Depth=2
lsl x14, x12, #2
ldr w15, [x0, x14]
cmp w15, #0
cneg w16, w15, mi
ldr w14, [x1, x14]
cmp w14, #0
cneg w15, w14, mi
lsr w14, w16, #14
cbnz w14, LBB0_20
; %bb.19: ; in Loop: Header=BB0_17 Depth=2
add x14, x12, #1
cmp w15, #4, lsl #12 ; =16384
b.lo LBB0_17
LBB0_20: ; in Loop: Header=BB0_12 Depth=1
cmp x12, x9
cset w12, lo
LBB0_21: ; in Loop: Header=BB0_12 Depth=1
add w8, w8, w12
LBB0_22: ; in Loop: Header=BB0_12 Depth=1
lsl w14, w13, #1
cmp w13, #1
b.lt LBB0_11
; %bb.23: ; in Loop: Header=BB0_12 Depth=1
mov x15, #0 ; =0x0
sxtw x16, w14
sbfiz x17, x14, #2, #32
mov x2, x1
mov x4, x0
mov w13, w13
b LBB0_25
LBB0_24: ; in Loop: Header=BB0_25 Depth=2
add x15, x15, #1
add x4, x4, #4
add x2, x2, #4
cmp x15, x13
b.eq LBB0_11
LBB0_25: ; Parent Loop BB0_12 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_27 Depth 3
lsl w5, w15, w10
add x5, x11, w5, sxtw #2
ldr w6, [x5]
cmp w3, #0
cneg w6, w6, eq
cmp w9, w15
b.le LBB0_24
; %bb.26: ; in Loop: Header=BB0_25 Depth=2
ldr w5, [x5, #1024]
asr w5, w5, w12
asr w6, w6, w12
mov x7, x2
mov x19, x4
mov x20, x15
LBB0_27: ; Parent Loop BB0_12 Depth=1
; Parent Loop BB0_25 Depth=2
; => This Inner Loop Header: Depth=3
lsl x21, x13, #2
ldr w22, [x19, x21]
mul w23, w22, w5
asr w23, w23, #15
ldr w24, [x7, x21]
mul w25, w24, w6
sub w23, w23, w25, asr #15
mul w24, w24, w5
asr w24, w24, #15
mul w22, w22, w6
add w22, w24, w22, asr #15
ldr w24, [x19]
ldr w25, [x7]
asr w24, w24, w12
sub w26, w24, w23
str w26, [x19, x21]
asr w25, w25, w12
sub w26, w25, w22
str w26, [x7, x21]
add w21, w23, w24
str w21, [x19]
add w21, w25, w22
str w21, [x7]
add x19, x19, x17
add x7, x7, x17
add x20, x20, x16
cmp x20, x9
b.lt LBB0_27
b LBB0_24
LBB0_28:
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], #64 ; 16-byte Folded Reload
mov x0, x8
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _fix_mpy ; -- Begin function fix_mpy
.p2align 2
_fix_mpy: ; @fix_mpy
.cfi_startproc
; %bb.0:
mul w8, w1, w0
asr w0, w8, #15
ret
.cfi_endproc
; -- End function
.globl _window ; -- Begin function window
.p2align 2
_window: ; @window
.cfi_startproc
; %bb.0:
mov w8, #1024 ; =0x400
sdiv w8, w8, w1
cmp w1, #2
b.lt LBB2_6
; %bb.1:
mov x12, #0 ; =0x0
lsr w9, w1, #1
sxtw x10, w8
mov w11, #256 ; =0x100
cmp w1, #32
b.lo LBB2_10
; %bb.2:
cmp w8, #1
b.ne LBB2_10
; %bb.3:
lsl x11, x9, #2
Lloh2:
adrp x12, _Sinewave@PAGE
Lloh3:
add x12, x12, _Sinewave@PAGEOFF
add x12, x11, x12
add x12, x12, #1024
cmp x12, x0
b.ls LBB2_7
; %bb.4:
Lloh4:
adrp x12, _Sinewave@PAGE+1024
Lloh5:
add x12, x12, _Sinewave@PAGEOFF+1024
add x11, x0, x11
cmp x11, x12
b.ls LBB2_7
; %bb.5:
mov x12, #0 ; =0x0
mov w11, #256 ; =0x100
b LBB2_10
LBB2_6:
mov w9, #0 ; =0x0
mov w11, #256 ; =0x100
b LBB2_12
LBB2_7:
and x12, x9, #0x7ffffff0
smull x11, w12, w10
add x11, x11, #256
lsl x13, x10, #6
add x14, x0, #32
Lloh6:
adrp x15, _Sinewave@PAGE+1072
Lloh7:
add x15, x15, _Sinewave@PAGEOFF+1072
movi.4s v0, #64, lsl #8
mov x16, x12
LBB2_8: ; =>This Inner Loop Header: Depth=1
ldp q1, q2, [x14, #-32]
ldp q3, q4, [x14]
ldp q5, q6, [x15, #-48]
ldp q7, q16, [x15, #-16]
sshr.4s v5, v5, #1
sshr.4s v6, v6, #1
sshr.4s v7, v7, #1
sshr.4s v16, v16, #1
sub.4s v5, v0, v5
sub.4s v6, v0, v6
sub.4s v7, v0, v7
sub.4s v16, v0, v16
mul.4s v1, v5, v1
mul.4s v2, v6, v2
mul.4s v3, v7, v3
mul.4s v4, v16, v4
sshr.4s v1, v1, #15
sshr.4s v2, v2, #15
sshr.4s v3, v3, #15
stp q1, q2, [x14, #-32]
sshr.4s v1, v4, #15
stp q3, q1, [x14], #64
add x15, x15, x13
subs x16, x16, #16
b.ne LBB2_8
; %bb.9:
cmp x12, x9
b.eq LBB2_12
LBB2_10:
add x13, x0, x12, lsl #2
sub x12, x9, x12
mov w14, #16384 ; =0x4000
Lloh8:
adrp x15, _Sinewave@PAGE
Lloh9:
add x15, x15, _Sinewave@PAGEOFF
LBB2_11: ; =>This Inner Loop Header: Depth=1
ldr w16, [x13]
ldr w17, [x15, x11, lsl #2]
sub w17, w14, w17, asr #1
mul w16, w17, w16
asr w16, w16, #15
str w16, [x13], #4
add x11, x11, x10
subs x12, x12, #1
b.ne LBB2_11
LBB2_12:
and w10, w1, #0xfffffffe
cmp w9, w10
b.ge LBB2_15
; %bb.13:
mov w12, w9
add x9, x0, w9, uxtw #2
sub x10, x12, w10, uxtw
sub w11, w11, w8
Lloh10:
adrp x12, _Sinewave@PAGE
Lloh11:
add x12, x12, _Sinewave@PAGEOFF
mov w13, #16384 ; =0x4000
LBB2_14: ; =>This Inner Loop Header: Depth=1
ldr w14, [x9]
ldr w15, [x12, w11, sxtw #2]
sub w15, w13, w15, asr #1
mul w14, w15, w14
asr w14, w14, #15
str w14, [x9], #4
sub w11, w11, w8
adds x10, x10, #1
b.lo LBB2_14
LBB2_15:
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.globl _fix_loud ; -- Begin function fix_loud
.p2align 2
_fix_loud: ; @fix_loud
.cfi_startproc
; %bb.0:
mov w8, #10 ; =0xa
cmp w4, #0
csel w8, w8, wzr, gt
cmp w3, #1
b.lt LBB3_10
; %bb.1:
mov x9, #0 ; =0x0
mov w10, #6 ; =0x6
mov w11, #6 ; =0x6
madd w10, w4, w10, w11
mov w11, w3
adrp x12, _db_from_ampl.loud2@PAGE
adrp x13, _Loudampl@PAGE
Lloh12:
adrp x14, _Loudampl@PAGE
Lloh13:
add x14, x14, _Loudampl@PAGEOFF
Lloh14:
adrp x15, _db_from_ampl.loud2@PAGE
Lloh15:
add x15, x15, _db_from_ampl.loud2@PAGEOFF
Lloh16:
adrp x16, _Loudampl@PAGE+388
Lloh17:
add x16, x16, _Loudampl@PAGEOFF+388
Lloh18:
adrp x17, _db_from_ampl.loud2@PAGE+384
Lloh19:
add x17, x17, _db_from_ampl.loud2@PAGEOFF+384
b LBB3_3
LBB3_2: ; in Loop: Header=BB3_3 Depth=1
sub w3, w10, w5
cmp w3, w8
csel w3, w3, w8, lt
str w3, [x0, x9, lsl #2]
add x9, x9, #1
cmp x9, x11
b.eq LBB3_10
LBB3_3: ; =>This Loop Header: Depth=1
; Child Loop BB3_5 Depth 2
; Child Loop BB3_8 Depth 2
lsl x4, x9, #2
ldr w3, [x1, x4]
ldr w4, [x2, x4]
ldr w5, [x12, _db_from_ampl.loud2@PAGEOFF]
cbnz w5, LBB3_7
; %bb.4: ; in Loop: Header=BB3_3 Depth=1
mov x5, #0 ; =0x0
ldr w6, [x13, _Loudampl@PAGEOFF]
mul w6, w6, w6
str w6, [x12, _db_from_ampl.loud2@PAGEOFF]
dup.4s v0, w6
LBB3_5: ; Parent Loop BB3_3 Depth=1
; => This Inner Loop Header: Depth=2
add x6, x14, x5
ldur q1, [x6, #4]
ldur q2, [x6, #20]
ldur q3, [x6, #36]
ldur q4, [x6, #52]
mul.4s v1, v1, v1
mul.4s v2, v2, v2
mul.4s v3, v3, v3
ext.16b v5, v0, v1, #12
mul.4s v0, v4, v4
ext.16b v4, v1, v2, #12
ext.16b v6, v2, v3, #12
ext.16b v7, v3, v0, #12
add x6, x15, x5
stur q1, [x6, #4]
stur q2, [x6, #20]
stur q3, [x6, #36]
stur q0, [x6, #52]
add.4s v1, v1, v5
ushr.4s v1, v1, #1
uhadd.4s v2, v2, v4
uhadd.4s v3, v3, v6
uhadd.4s v4, v0, v7
stp q1, q2, [x6]
stp q3, q4, [x6, #32]
add x5, x5, #64
cmp x5, #384
b.ne LBB3_5
; %bb.6: ; in Loop: Header=BB3_3 Depth=1
mov.s w5, v0[3]
ldp w6, w7, [x16]
mul w6, w6, w6
add w5, w6, w5
lsr w5, w5, #1
mul w7, w7, w7
add w6, w7, w6
lsr w6, w6, #1
stp w5, w6, [x17]
ldr w5, [x16, #8]
mul w5, w5, w5
add w6, w5, w7
lsr w6, w6, #1
stp w6, w5, [x17, #8]
LBB3_7: ; in Loop: Header=BB3_3 Depth=1
mov x5, #0 ; =0x0
mul w3, w3, w3
madd w3, w4, w4, w3
LBB3_8: ; Parent Loop BB3_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w4, [x15, x5, lsl #2]
cmp w4, w3
b.le LBB3_2
; %bb.9: ; in Loop: Header=BB3_8 Depth=2
add x5, x5, #1
cmp x5, #100
b.ne LBB3_8
b LBB3_2
LBB3_10:
ret
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _db_from_ampl ; -- Begin function db_from_ampl
.p2align 2
_db_from_ampl: ; @db_from_ampl
.cfi_startproc
; %bb.0:
adrp x10, _db_from_ampl.loud2@PAGE
ldr w9, [x10, _db_from_ampl.loud2@PAGEOFF]
Lloh20:
adrp x8, _db_from_ampl.loud2@PAGE
Lloh21:
add x8, x8, _db_from_ampl.loud2@PAGEOFF
cbnz w9, LBB4_4
; %bb.1:
mov x9, #0 ; =0x0
Lloh22:
adrp x11, _Loudampl@PAGE
Lloh23:
ldr w11, [x11, _Loudampl@PAGEOFF]
mul w11, w11, w11
str w11, [x10, _db_from_ampl.loud2@PAGEOFF]
dup.4s v0, w11
Lloh24:
adrp x10, _Loudampl@PAGE
Lloh25:
add x10, x10, _Loudampl@PAGEOFF
LBB4_2: ; =>This Inner Loop Header: Depth=1
add x11, x10, x9
ldur q1, [x11, #4]
ldur q2, [x11, #20]
ldur q3, [x11, #36]
ldur q4, [x11, #52]
mul.4s v1, v1, v1
mul.4s v2, v2, v2
mul.4s v3, v3, v3
ext.16b v5, v0, v1, #12
mul.4s v0, v4, v4
ext.16b v4, v1, v2, #12
ext.16b v6, v2, v3, #12
ext.16b v7, v3, v0, #12
add x11, x8, x9
stur q1, [x11, #4]
stur q2, [x11, #20]
stur q3, [x11, #36]
stur q0, [x11, #52]
add.4s v1, v5, v1
ushr.4s v1, v1, #1
uhadd.4s v2, v4, v2
uhadd.4s v3, v6, v3
uhadd.4s v4, v7, v0
stp q1, q2, [x11]
stp q3, q4, [x11, #32]
add x9, x9, #64
cmp x9, #384
b.ne LBB4_2
; %bb.3:
mov.s w9, v0[3]
Lloh26:
adrp x10, _Loudampl@PAGE+388
Lloh27:
add x10, x10, _Loudampl@PAGEOFF+388
ldp w11, w12, [x10]
mul w11, w11, w11
Lloh28:
adrp x13, _db_from_ampl.loud2@PAGE+384
Lloh29:
add x13, x13, _db_from_ampl.loud2@PAGEOFF+384
add w9, w9, w11
lsr w9, w9, #1
mul w12, w12, w12
add w11, w11, w12
lsr w11, w11, #1
stp w9, w11, [x13]
ldr w9, [x10, #8]
mul w9, w9, w9
add w10, w12, w9
lsr w10, w10, #1
stp w10, w9, [x13, #8]
LBB4_4:
mov x9, #0 ; =0x0
mul w10, w0, w0
madd w10, w1, w1, w10
LBB4_5: ; =>This Inner Loop Header: Depth=1
ldr w11, [x8, x9, lsl #2]
cmp w11, w10
b.le LBB4_7
; %bb.6: ; in Loop: Header=BB4_5 Depth=1
add x9, x9, #1
cmp x9, #100
b.ne LBB4_5
LBB4_7:
neg w0, w9
ret
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdr Lloh22, Lloh23
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.cfi_endproc
; -- End function
.globl _iscale ; -- Begin function iscale
.p2align 2
_iscale: ; @iscale
.cfi_startproc
; %bb.0:
mul w8, w1, w0
sdiv w0, w8, w2
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
sub sp, sp, #2080
.cfi_def_cfa w29, 16
.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, #0 ; =0x0
mov x20, #0 ; =0x0
Lloh30:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh31:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
ldr x8, [x8]
mov x21, #5956 ; =0x1744
movk x21, #21569, lsl #16
movk x21, #8699, lsl #32
movk x21, #16393, lsl #48
stur x8, [x29, #-72]
mov x22, #4571153621781053440 ; =0x3f70000000000000
mov x23, #70368744177664 ; =0x400000000000
movk x23, #16527, lsl #48
add x24, sp, #1048
add x25, sp, #24
LBB6_1: ; =>This Inner Loop Header: Depth=1
scvtf d0, w20
fmov d1, x21
fmul d0, d0, d1
fmov d1, x22
fmul d0, d0, d1
bl _libmin_cos
fmov d1, x23
fmul d0, d0, d1
fcvtzs w8, d0
str w8, [x24, x19]
str wzr, [x25, x19]
add x20, x20, #2
add x19, x19, #4
cmp x20, #512
b.ne LBB6_1
; %bb.2:
add x20, sp, #1048
add x21, sp, #24
add x0, sp, #1048
add x1, sp, #24
mov w3, #0 ; =0x0
mov w2, #8 ; =0x8
bl _fix_fft
mov x22, #0 ; =0x0
Lloh33:
adrp x19, l_.str@PAGE
Lloh34:
add x19, x19, l_.str@PAGEOFF
LBB6_3: ; =>This Inner Loop Header: Depth=1
lsl x8, x22, #2
ldr w9, [x20, x8]
ldr w8, [x21, x8]
stp x9, x8, [sp, #8]
str x22, [sp]
mov x0, x19
bl _libmin_printf
add x22, x22, #1
cmp x22, #256
b.ne LBB6_3
; %bb.4:
add x20, sp, #1048
add x21, sp, #24
add x0, sp, #1048
add x1, sp, #24
mov w2, #8 ; =0x8
mov w3, #1 ; =0x1
bl _fix_fft
mov x22, #0 ; =0x0
Lloh35:
adrp x19, l_.str@PAGE
Lloh36:
add x19, x19, l_.str@PAGEOFF
LBB6_5: ; =>This Inner Loop Header: Depth=1
lsl x8, x22, #2
ldr w9, [x20, x8]
ldr w8, [x21, x8]
stp x9, x8, [sp, #8]
str x22, [sp]
mov x0, x19
bl _libmin_printf
add x22, x22, #1
cmp x22, #256
b.ne LBB6_5
; %bb.6:
bl _libmin_success
ldur x8, [x29, #-72]
Lloh37:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh38:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
ldr x9, [x9]
cmp x9, x8
b.ne LBB6_8
; %bb.7:
mov w0, #0 ; =0x0
add sp, sp, #2080
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
LBB6_8:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _Sinewave ; @Sinewave
.p2align 2, 0x0
_Sinewave:
.long 0 ; 0x0
.long 201 ; 0xc9
.long 402 ; 0x192
.long 603 ; 0x25b
.long 804 ; 0x324
.long 1005 ; 0x3ed
.long 1206 ; 0x4b6
.long 1406 ; 0x57e
.long 1607 ; 0x647
.long 1808 ; 0x710
.long 2009 ; 0x7d9
.long 2209 ; 0x8a1
.long 2410 ; 0x96a
.long 2610 ; 0xa32
.long 2811 ; 0xafb
.long 3011 ; 0xbc3
.long 3211 ; 0xc8b
.long 3411 ; 0xd53
.long 3611 ; 0xe1b
.long 3811 ; 0xee3
.long 4011 ; 0xfab
.long 4210 ; 0x1072
.long 4409 ; 0x1139
.long 4608 ; 0x1200
.long 4807 ; 0x12c7
.long 5006 ; 0x138e
.long 5205 ; 0x1455
.long 5403 ; 0x151b
.long 5601 ; 0x15e1
.long 5799 ; 0x16a7
.long 5997 ; 0x176d
.long 6195 ; 0x1833
.long 6392 ; 0x18f8
.long 6589 ; 0x19bd
.long 6786 ; 0x1a82
.long 6982 ; 0x1b46
.long 7179 ; 0x1c0b
.long 7375 ; 0x1ccf
.long 7571 ; 0x1d93
.long 7766 ; 0x1e56
.long 7961 ; 0x1f19
.long 8156 ; 0x1fdc
.long 8351 ; 0x209f
.long 8545 ; 0x2161
.long 8739 ; 0x2223
.long 8932 ; 0x22e4
.long 9126 ; 0x23a6
.long 9319 ; 0x2467
.long 9511 ; 0x2527
.long 9703 ; 0x25e7
.long 9895 ; 0x26a7
.long 10087 ; 0x2767
.long 10278 ; 0x2826
.long 10469 ; 0x28e5
.long 10659 ; 0x29a3
.long 10849 ; 0x2a61
.long 11038 ; 0x2b1e
.long 11227 ; 0x2bdb
.long 11416 ; 0x2c98
.long 11604 ; 0x2d54
.long 11792 ; 0x2e10
.long 11980 ; 0x2ecc
.long 12166 ; 0x2f86
.long 12353 ; 0x3041
.long 12539 ; 0x30fb
.long 12724 ; 0x31b4
.long 12909 ; 0x326d
.long 13094 ; 0x3326
.long 13278 ; 0x33de
.long 13462 ; 0x3496
.long 13645 ; 0x354d
.long 13827 ; 0x3603
.long 14009 ; 0x36b9
.long 14191 ; 0x376f
.long 14372 ; 0x3824
.long 14552 ; 0x38d8
.long 14732 ; 0x398c
.long 14911 ; 0x3a3f
.long 15090 ; 0x3af2
.long 15268 ; 0x3ba4
.long 15446 ; 0x3c56
.long 15623 ; 0x3d07
.long 15799 ; 0x3db7
.long 15975 ; 0x3e67
.long 16150 ; 0x3f16
.long 16325 ; 0x3fc5
.long 16499 ; 0x4073
.long 16672 ; 0x4120
.long 16845 ; 0x41cd
.long 17017 ; 0x4279
.long 17189 ; 0x4325
.long 17360 ; 0x43d0
.long 17530 ; 0x447a
.long 17699 ; 0x4523
.long 17868 ; 0x45cc
.long 18036 ; 0x4674
.long 18204 ; 0x471c
.long 18371 ; 0x47c3
.long 18537 ; 0x4869
.long 18702 ; 0x490e
.long 18867 ; 0x49b3
.long 19031 ; 0x4a57
.long 19194 ; 0x4afa
.long 19357 ; 0x4b9d
.long 19519 ; 0x4c3f
.long 19680 ; 0x4ce0
.long 19840 ; 0x4d80
.long 20000 ; 0x4e20
.long 20159 ; 0x4ebf
.long 20317 ; 0x4f5d
.long 20474 ; 0x4ffa
.long 20631 ; 0x5097
.long 20787 ; 0x5133
.long 20942 ; 0x51ce
.long 21096 ; 0x5268
.long 21249 ; 0x5301
.long 21402 ; 0x539a
.long 21554 ; 0x5432
.long 21705 ; 0x54c9
.long 21855 ; 0x555f
.long 22004 ; 0x55f4
.long 22153 ; 0x5689
.long 22301 ; 0x571d
.long 22448 ; 0x57b0
.long 22594 ; 0x5842
.long 22739 ; 0x58d3
.long 22883 ; 0x5963
.long 23027 ; 0x59f3
.long 23169 ; 0x5a81
.long 23311 ; 0x5b0f
.long 23452 ; 0x5b9c
.long 23592 ; 0x5c28
.long 23731 ; 0x5cb3
.long 23869 ; 0x5d3d
.long 24006 ; 0x5dc6
.long 24143 ; 0x5e4f
.long 24278 ; 0x5ed6
.long 24413 ; 0x5f5d
.long 24546 ; 0x5fe2
.long 24679 ; 0x6067
.long 24811 ; 0x60eb
.long 24942 ; 0x616e
.long 25072 ; 0x61f0
.long 25201 ; 0x6271
.long 25329 ; 0x62f1
.long 25456 ; 0x6370
.long 25582 ; 0x63ee
.long 25707 ; 0x646b
.long 25831 ; 0x64e7
.long 25954 ; 0x6562
.long 26077 ; 0x65dd
.long 26198 ; 0x6656
.long 26318 ; 0x66ce
.long 26437 ; 0x6745
.long 26556 ; 0x67bc
.long 26673 ; 0x6831
.long 26789 ; 0x68a5
.long 26905 ; 0x6919
.long 27019 ; 0x698b
.long 27132 ; 0x69fc
.long 27244 ; 0x6a6c
.long 27355 ; 0x6adb
.long 27466 ; 0x6b4a
.long 27575 ; 0x6bb7
.long 27683 ; 0x6c23
.long 27790 ; 0x6c8e
.long 27896 ; 0x6cf8
.long 28001 ; 0x6d61
.long 28105 ; 0x6dc9
.long 28208 ; 0x6e30
.long 28309 ; 0x6e95
.long 28410 ; 0x6efa
.long 28510 ; 0x6f5e
.long 28608 ; 0x6fc0
.long 28706 ; 0x7022
.long 28802 ; 0x7082
.long 28897 ; 0x70e1
.long 28992 ; 0x7140
.long 29085 ; 0x719d
.long 29177 ; 0x71f9
.long 29268 ; 0x7254
.long 29358 ; 0x72ae
.long 29446 ; 0x7306
.long 29534 ; 0x735e
.long 29621 ; 0x73b5
.long 29706 ; 0x740a
.long 29790 ; 0x745e
.long 29873 ; 0x74b1
.long 29955 ; 0x7503
.long 30036 ; 0x7554
.long 30116 ; 0x75a4
.long 30195 ; 0x75f3
.long 30272 ; 0x7640
.long 30349 ; 0x768d
.long 30424 ; 0x76d8
.long 30498 ; 0x7722
.long 30571 ; 0x776b
.long 30643 ; 0x77b3
.long 30713 ; 0x77f9
.long 30783 ; 0x783f
.long 30851 ; 0x7883
.long 30918 ; 0x78c6
.long 30984 ; 0x7908
.long 31049 ; 0x7949
.long 31113 ; 0x7989
.long 31175 ; 0x79c7
.long 31236 ; 0x7a04
.long 31297 ; 0x7a41
.long 31356 ; 0x7a7c
.long 31413 ; 0x7ab5
.long 31470 ; 0x7aee
.long 31525 ; 0x7b25
.long 31580 ; 0x7b5c
.long 31633 ; 0x7b91
.long 31684 ; 0x7bc4
.long 31735 ; 0x7bf7
.long 31785 ; 0x7c29
.long 31833 ; 0x7c59
.long 31880 ; 0x7c88
.long 31926 ; 0x7cb6
.long 31970 ; 0x7ce2
.long 32014 ; 0x7d0e
.long 32056 ; 0x7d38
.long 32097 ; 0x7d61
.long 32137 ; 0x7d89
.long 32176 ; 0x7db0
.long 32213 ; 0x7dd5
.long 32249 ; 0x7df9
.long 32284 ; 0x7e1c
.long 32318 ; 0x7e3e
.long 32350 ; 0x7e5e
.long 32382 ; 0x7e7e
.long 32412 ; 0x7e9c
.long 32441 ; 0x7eb9
.long 32468 ; 0x7ed4
.long 32495 ; 0x7eef
.long 32520 ; 0x7f08
.long 32544 ; 0x7f20
.long 32567 ; 0x7f37
.long 32588 ; 0x7f4c
.long 32609 ; 0x7f61
.long 32628 ; 0x7f74
.long 32646 ; 0x7f86
.long 32662 ; 0x7f96
.long 32678 ; 0x7fa6
.long 32692 ; 0x7fb4
.long 32705 ; 0x7fc1
.long 32717 ; 0x7fcd
.long 32727 ; 0x7fd7
.long 32736 ; 0x7fe0
.long 32744 ; 0x7fe8
.long 32751 ; 0x7fef
.long 32757 ; 0x7ff5
.long 32761 ; 0x7ff9
.long 32764 ; 0x7ffc
.long 32766 ; 0x7ffe
.long 32767 ; 0x7fff
.long 32766 ; 0x7ffe
.long 32764 ; 0x7ffc
.long 32761 ; 0x7ff9
.long 32757 ; 0x7ff5
.long 32751 ; 0x7fef
.long 32744 ; 0x7fe8
.long 32736 ; 0x7fe0
.long 32727 ; 0x7fd7
.long 32717 ; 0x7fcd
.long 32705 ; 0x7fc1
.long 32692 ; 0x7fb4
.long 32678 ; 0x7fa6
.long 32662 ; 0x7f96
.long 32646 ; 0x7f86
.long 32628 ; 0x7f74
.long 32609 ; 0x7f61
.long 32588 ; 0x7f4c
.long 32567 ; 0x7f37
.long 32544 ; 0x7f20
.long 32520 ; 0x7f08
.long 32495 ; 0x7eef
.long 32468 ; 0x7ed4
.long 32441 ; 0x7eb9
.long 32412 ; 0x7e9c
.long 32382 ; 0x7e7e
.long 32350 ; 0x7e5e
.long 32318 ; 0x7e3e
.long 32284 ; 0x7e1c
.long 32249 ; 0x7df9
.long 32213 ; 0x7dd5
.long 32176 ; 0x7db0
.long 32137 ; 0x7d89
.long 32097 ; 0x7d61
.long 32056 ; 0x7d38
.long 32014 ; 0x7d0e
.long 31970 ; 0x7ce2
.long 31926 ; 0x7cb6
.long 31880 ; 0x7c88
.long 31833 ; 0x7c59
.long 31785 ; 0x7c29
.long 31735 ; 0x7bf7
.long 31684 ; 0x7bc4
.long 31633 ; 0x7b91
.long 31580 ; 0x7b5c
.long 31525 ; 0x7b25
.long 31470 ; 0x7aee
.long 31413 ; 0x7ab5
.long 31356 ; 0x7a7c
.long 31297 ; 0x7a41
.long 31236 ; 0x7a04
.long 31175 ; 0x79c7
.long 31113 ; 0x7989
.long 31049 ; 0x7949
.long 30984 ; 0x7908
.long 30918 ; 0x78c6
.long 30851 ; 0x7883
.long 30783 ; 0x783f
.long 30713 ; 0x77f9
.long 30643 ; 0x77b3
.long 30571 ; 0x776b
.long 30498 ; 0x7722
.long 30424 ; 0x76d8
.long 30349 ; 0x768d
.long 30272 ; 0x7640
.long 30195 ; 0x75f3
.long 30116 ; 0x75a4
.long 30036 ; 0x7554
.long 29955 ; 0x7503
.long 29873 ; 0x74b1
.long 29790 ; 0x745e
.long 29706 ; 0x740a
.long 29621 ; 0x73b5
.long 29534 ; 0x735e
.long 29446 ; 0x7306
.long 29358 ; 0x72ae
.long 29268 ; 0x7254
.long 29177 ; 0x71f9
.long 29085 ; 0x719d
.long 28992 ; 0x7140
.long 28897 ; 0x70e1
.long 28802 ; 0x7082
.long 28706 ; 0x7022
.long 28608 ; 0x6fc0
.long 28510 ; 0x6f5e
.long 28410 ; 0x6efa
.long 28309 ; 0x6e95
.long 28208 ; 0x6e30
.long 28105 ; 0x6dc9
.long 28001 ; 0x6d61
.long 27896 ; 0x6cf8
.long 27790 ; 0x6c8e
.long 27683 ; 0x6c23
.long 27575 ; 0x6bb7
.long 27466 ; 0x6b4a
.long 27355 ; 0x6adb
.long 27244 ; 0x6a6c
.long 27132 ; 0x69fc
.long 27019 ; 0x698b
.long 26905 ; 0x6919
.long 26789 ; 0x68a5
.long 26673 ; 0x6831
.long 26556 ; 0x67bc
.long 26437 ; 0x6745
.long 26318 ; 0x66ce
.long 26198 ; 0x6656
.long 26077 ; 0x65dd
.long 25954 ; 0x6562
.long 25831 ; 0x64e7
.long 25707 ; 0x646b
.long 25582 ; 0x63ee
.long 25456 ; 0x6370
.long 25329 ; 0x62f1
.long 25201 ; 0x6271
.long 25072 ; 0x61f0
.long 24942 ; 0x616e
.long 24811 ; 0x60eb
.long 24679 ; 0x6067
.long 24546 ; 0x5fe2
.long 24413 ; 0x5f5d
.long 24278 ; 0x5ed6
.long 24143 ; 0x5e4f
.long 24006 ; 0x5dc6
.long 23869 ; 0x5d3d
.long 23731 ; 0x5cb3
.long 23592 ; 0x5c28
.long 23452 ; 0x5b9c
.long 23311 ; 0x5b0f
.long 23169 ; 0x5a81
.long 23027 ; 0x59f3
.long 22883 ; 0x5963
.long 22739 ; 0x58d3
.long 22594 ; 0x5842
.long 22448 ; 0x57b0
.long 22301 ; 0x571d
.long 22153 ; 0x5689
.long 22004 ; 0x55f4
.long 21855 ; 0x555f
.long 21705 ; 0x54c9
.long 21554 ; 0x5432
.long 21402 ; 0x539a
.long 21249 ; 0x5301
.long 21096 ; 0x5268
.long 20942 ; 0x51ce
.long 20787 ; 0x5133
.long 20631 ; 0x5097
.long 20474 ; 0x4ffa
.long 20317 ; 0x4f5d
.long 20159 ; 0x4ebf
.long 20000 ; 0x4e20
.long 19840 ; 0x4d80
.long 19680 ; 0x4ce0
.long 19519 ; 0x4c3f
.long 19357 ; 0x4b9d
.long 19194 ; 0x4afa
.long 19031 ; 0x4a57
.long 18867 ; 0x49b3
.long 18702 ; 0x490e
.long 18537 ; 0x4869
.long 18371 ; 0x47c3
.long 18204 ; 0x471c
.long 18036 ; 0x4674
.long 17868 ; 0x45cc
.long 17699 ; 0x4523
.long 17530 ; 0x447a
.long 17360 ; 0x43d0
.long 17189 ; 0x4325
.long 17017 ; 0x4279
.long 16845 ; 0x41cd
.long 16672 ; 0x4120
.long 16499 ; 0x4073
.long 16325 ; 0x3fc5
.long 16150 ; 0x3f16
.long 15975 ; 0x3e67
.long 15799 ; 0x3db7
.long 15623 ; 0x3d07
.long 15446 ; 0x3c56
.long 15268 ; 0x3ba4
.long 15090 ; 0x3af2
.long 14911 ; 0x3a3f
.long 14732 ; 0x398c
.long 14552 ; 0x38d8
.long 14372 ; 0x3824
.long 14191 ; 0x376f
.long 14009 ; 0x36b9
.long 13827 ; 0x3603
.long 13645 ; 0x354d
.long 13462 ; 0x3496
.long 13278 ; 0x33de
.long 13094 ; 0x3326
.long 12909 ; 0x326d
.long 12724 ; 0x31b4
.long 12539 ; 0x30fb
.long 12353 ; 0x3041
.long 12166 ; 0x2f86
.long 11980 ; 0x2ecc
.long 11792 ; 0x2e10
.long 11604 ; 0x2d54
.long 11416 ; 0x2c98
.long 11227 ; 0x2bdb
.long 11038 ; 0x2b1e
.long 10849 ; 0x2a61
.long 10659 ; 0x29a3
.long 10469 ; 0x28e5
.long 10278 ; 0x2826
.long 10087 ; 0x2767
.long 9895 ; 0x26a7
.long 9703 ; 0x25e7
.long 9511 ; 0x2527
.long 9319 ; 0x2467
.long 9126 ; 0x23a6
.long 8932 ; 0x22e4
.long 8739 ; 0x2223
.long 8545 ; 0x2161
.long 8351 ; 0x209f
.long 8156 ; 0x1fdc
.long 7961 ; 0x1f19
.long 7766 ; 0x1e56
.long 7571 ; 0x1d93
.long 7375 ; 0x1ccf
.long 7179 ; 0x1c0b
.long 6982 ; 0x1b46
.long 6786 ; 0x1a82
.long 6589 ; 0x19bd
.long 6392 ; 0x18f8
.long 6195 ; 0x1833
.long 5997 ; 0x176d
.long 5799 ; 0x16a7
.long 5601 ; 0x15e1
.long 5403 ; 0x151b
.long 5205 ; 0x1455
.long 5006 ; 0x138e
.long 4807 ; 0x12c7
.long 4608 ; 0x1200
.long 4409 ; 0x1139
.long 4210 ; 0x1072
.long 4011 ; 0xfab
.long 3811 ; 0xee3
.long 3611 ; 0xe1b
.long 3411 ; 0xd53
.long 3211 ; 0xc8b
.long 3011 ; 0xbc3
.long 2811 ; 0xafb
.long 2610 ; 0xa32
.long 2410 ; 0x96a
.long 2209 ; 0x8a1
.long 2009 ; 0x7d9
.long 1808 ; 0x710
.long 1607 ; 0x647
.long 1406 ; 0x57e
.long 1206 ; 0x4b6
.long 1005 ; 0x3ed
.long 804 ; 0x324
.long 603 ; 0x25b
.long 402 ; 0x192
.long 201 ; 0xc9
.long 0 ; 0x0
.long 4294967095 ; 0xffffff37
.long 4294966894 ; 0xfffffe6e
.long 4294966693 ; 0xfffffda5
.long 4294966492 ; 0xfffffcdc
.long 4294966291 ; 0xfffffc13
.long 4294966090 ; 0xfffffb4a
.long 4294965890 ; 0xfffffa82
.long 4294965689 ; 0xfffff9b9
.long 4294965488 ; 0xfffff8f0
.long 4294965287 ; 0xfffff827
.long 4294965087 ; 0xfffff75f
.long 4294964886 ; 0xfffff696
.long 4294964686 ; 0xfffff5ce
.long 4294964485 ; 0xfffff505
.long 4294964285 ; 0xfffff43d
.long 4294964085 ; 0xfffff375
.long 4294963885 ; 0xfffff2ad
.long 4294963685 ; 0xfffff1e5
.long 4294963485 ; 0xfffff11d
.long 4294963285 ; 0xfffff055
.long 4294963086 ; 0xffffef8e
.long 4294962887 ; 0xffffeec7
.long 4294962688 ; 0xffffee00
.long 4294962489 ; 0xffffed39
.long 4294962290 ; 0xffffec72
.long 4294962091 ; 0xffffebab
.long 4294961893 ; 0xffffeae5
.long 4294961695 ; 0xffffea1f
.long 4294961497 ; 0xffffe959
.long 4294961299 ; 0xffffe893
.long 4294961101 ; 0xffffe7cd
.long 4294960904 ; 0xffffe708
.long 4294960707 ; 0xffffe643
.long 4294960510 ; 0xffffe57e
.long 4294960314 ; 0xffffe4ba
.long 4294960117 ; 0xffffe3f5
.long 4294959921 ; 0xffffe331
.long 4294959725 ; 0xffffe26d
.long 4294959530 ; 0xffffe1aa
.long 4294959335 ; 0xffffe0e7
.long 4294959140 ; 0xffffe024
.long 4294958945 ; 0xffffdf61
.long 4294958751 ; 0xffffde9f
.long 4294958557 ; 0xffffdddd
.long 4294958364 ; 0xffffdd1c
.long 4294958170 ; 0xffffdc5a
.long 4294957977 ; 0xffffdb99
.long 4294957785 ; 0xffffdad9
.long 4294957593 ; 0xffffda19
.long 4294957401 ; 0xffffd959
.long 4294957209 ; 0xffffd899
.long 4294957018 ; 0xffffd7da
.long 4294956827 ; 0xffffd71b
.long 4294956637 ; 0xffffd65d
.long 4294956447 ; 0xffffd59f
.long 4294956258 ; 0xffffd4e2
.long 4294956069 ; 0xffffd425
.long 4294955880 ; 0xffffd368
.long 4294955692 ; 0xffffd2ac
.long 4294955504 ; 0xffffd1f0
.long 4294955316 ; 0xffffd134
.long 4294955130 ; 0xffffd07a
.long 4294954943 ; 0xffffcfbf
.long 4294954757 ; 0xffffcf05
.long 4294954572 ; 0xffffce4c
.long 4294954387 ; 0xffffcd93
.long 4294954202 ; 0xffffccda
.long 4294954018 ; 0xffffcc22
.long 4294953834 ; 0xffffcb6a
.long 4294953651 ; 0xffffcab3
.long 4294953469 ; 0xffffc9fd
.long 4294953287 ; 0xffffc947
.long 4294953105 ; 0xffffc891
.long 4294952924 ; 0xffffc7dc
.long 4294952744 ; 0xffffc728
.long 4294952564 ; 0xffffc674
.long 4294952385 ; 0xffffc5c1
.long 4294952206 ; 0xffffc50e
.long 4294952028 ; 0xffffc45c
.long 4294951850 ; 0xffffc3aa
.long 4294951673 ; 0xffffc2f9
.long 4294951497 ; 0xffffc249
.long 4294951321 ; 0xffffc199
.long 4294951146 ; 0xffffc0ea
.long 4294950971 ; 0xffffc03b
.long 4294950797 ; 0xffffbf8d
.long 4294950624 ; 0xffffbee0
.long 4294950451 ; 0xffffbe33
.long 4294950279 ; 0xffffbd87
.long 4294950107 ; 0xffffbcdb
.long 4294949936 ; 0xffffbc30
.long 4294949766 ; 0xffffbb86
.long 4294949597 ; 0xffffbadd
.long 4294949428 ; 0xffffba34
.long 4294949260 ; 0xffffb98c
.long 4294949092 ; 0xffffb8e4
.long 4294948925 ; 0xffffb83d
.long 4294948759 ; 0xffffb797
.long 4294948594 ; 0xffffb6f2
.long 4294948429 ; 0xffffb64d
.long 4294948265 ; 0xffffb5a9
.long 4294948102 ; 0xffffb506
.long 4294947939 ; 0xffffb463
.long 4294947777 ; 0xffffb3c1
.long 4294947616 ; 0xffffb320
.long 4294947456 ; 0xffffb280
.long 4294947296 ; 0xffffb1e0
.long 4294947137 ; 0xffffb141
.long 4294946979 ; 0xffffb0a3
.long 4294946822 ; 0xffffb006
.long 4294946665 ; 0xffffaf69
.long 4294946509 ; 0xffffaecd
.long 4294946354 ; 0xffffae32
.long 4294946200 ; 0xffffad98
.long 4294946047 ; 0xffffacff
.long 4294945894 ; 0xffffac66
.long 4294945742 ; 0xffffabce
.long 4294945591 ; 0xffffab37
.long 4294945441 ; 0xffffaaa1
.long 4294945292 ; 0xffffaa0c
.long 4294945143 ; 0xffffa977
.long 4294944995 ; 0xffffa8e3
.long 4294944848 ; 0xffffa850
.long 4294944702 ; 0xffffa7be
.long 4294944557 ; 0xffffa72d
.long 4294944413 ; 0xffffa69d
.long 4294944269 ; 0xffffa60d
.long 4294944127 ; 0xffffa57f
.long 4294943985 ; 0xffffa4f1
.long 4294943844 ; 0xffffa464
.long 4294943704 ; 0xffffa3d8
.long 4294943565 ; 0xffffa34d
.long 4294943427 ; 0xffffa2c3
.long 4294943290 ; 0xffffa23a
.long 4294943153 ; 0xffffa1b1
.long 4294943018 ; 0xffffa12a
.long 4294942883 ; 0xffffa0a3
.long 4294942750 ; 0xffffa01e
.long 4294942617 ; 0xffff9f99
.long 4294942485 ; 0xffff9f15
.long 4294942354 ; 0xffff9e92
.long 4294942224 ; 0xffff9e10
.long 4294942095 ; 0xffff9d8f
.long 4294941967 ; 0xffff9d0f
.long 4294941840 ; 0xffff9c90
.long 4294941714 ; 0xffff9c12
.long 4294941589 ; 0xffff9b95
.long 4294941465 ; 0xffff9b19
.long 4294941342 ; 0xffff9a9e
.long 4294941219 ; 0xffff9a23
.long 4294941098 ; 0xffff99aa
.long 4294940978 ; 0xffff9932
.long 4294940859 ; 0xffff98bb
.long 4294940740 ; 0xffff9844
.long 4294940623 ; 0xffff97cf
.long 4294940507 ; 0xffff975b
.long 4294940391 ; 0xffff96e7
.long 4294940277 ; 0xffff9675
.long 4294940164 ; 0xffff9604
.long 4294940052 ; 0xffff9594
.long 4294939941 ; 0xffff9525
.long 4294939830 ; 0xffff94b6
.long 4294939721 ; 0xffff9449
.long 4294939613 ; 0xffff93dd
.long 4294939506 ; 0xffff9372
.long 4294939400 ; 0xffff9308
.long 4294939295 ; 0xffff929f
.long 4294939191 ; 0xffff9237
.long 4294939088 ; 0xffff91d0
.long 4294938987 ; 0xffff916b
.long 4294938886 ; 0xffff9106
.long 4294938786 ; 0xffff90a2
.long 4294938688 ; 0xffff9040
.long 4294938590 ; 0xffff8fde
.long 4294938494 ; 0xffff8f7e
.long 4294938399 ; 0xffff8f1f
.long 4294938304 ; 0xffff8ec0
.long 4294938211 ; 0xffff8e63
.long 4294938119 ; 0xffff8e07
.long 4294938028 ; 0xffff8dac
.long 4294937938 ; 0xffff8d52
.long 4294937850 ; 0xffff8cfa
.long 4294937762 ; 0xffff8ca2
.long 4294937675 ; 0xffff8c4b
.long 4294937590 ; 0xffff8bf6
.long 4294937506 ; 0xffff8ba2
.long 4294937423 ; 0xffff8b4f
.long 4294937341 ; 0xffff8afd
.long 4294937260 ; 0xffff8aac
.long 4294937180 ; 0xffff8a5c
.long 4294937101 ; 0xffff8a0d
.long 4294937024 ; 0xffff89c0
.long 4294936947 ; 0xffff8973
.long 4294936872 ; 0xffff8928
.long 4294936798 ; 0xffff88de
.long 4294936725 ; 0xffff8895
.long 4294936653 ; 0xffff884d
.long 4294936583 ; 0xffff8807
.long 4294936513 ; 0xffff87c1
.long 4294936445 ; 0xffff877d
.long 4294936378 ; 0xffff873a
.long 4294936312 ; 0xffff86f8
.long 4294936247 ; 0xffff86b7
.long 4294936183 ; 0xffff8677
.long 4294936121 ; 0xffff8639
.long 4294936060 ; 0xffff85fc
.long 4294935999 ; 0xffff85bf
.long 4294935940 ; 0xffff8584
.long 4294935883 ; 0xffff854b
.long 4294935826 ; 0xffff8512
.long 4294935771 ; 0xffff84db
.long 4294935716 ; 0xffff84a4
.long 4294935663 ; 0xffff846f
.long 4294935612 ; 0xffff843c
.long 4294935561 ; 0xffff8409
.long 4294935511 ; 0xffff83d7
.long 4294935463 ; 0xffff83a7
.long 4294935416 ; 0xffff8378
.long 4294935370 ; 0xffff834a
.long 4294935326 ; 0xffff831e
.long 4294935282 ; 0xffff82f2
.long 4294935240 ; 0xffff82c8
.long 4294935199 ; 0xffff829f
.long 4294935159 ; 0xffff8277
.long 4294935120 ; 0xffff8250
.long 4294935083 ; 0xffff822b
.long 4294935047 ; 0xffff8207
.long 4294935012 ; 0xffff81e4
.long 4294934978 ; 0xffff81c2
.long 4294934946 ; 0xffff81a2
.long 4294934914 ; 0xffff8182
.long 4294934884 ; 0xffff8164
.long 4294934855 ; 0xffff8147
.long 4294934828 ; 0xffff812c
.long 4294934801 ; 0xffff8111
.long 4294934776 ; 0xffff80f8
.long 4294934752 ; 0xffff80e0
.long 4294934729 ; 0xffff80c9
.long 4294934708 ; 0xffff80b4
.long 4294934687 ; 0xffff809f
.long 4294934668 ; 0xffff808c
.long 4294934650 ; 0xffff807a
.long 4294934634 ; 0xffff806a
.long 4294934618 ; 0xffff805a
.long 4294934604 ; 0xffff804c
.long 4294934591 ; 0xffff803f
.long 4294934579 ; 0xffff8033
.long 4294934569 ; 0xffff8029
.long 4294934560 ; 0xffff8020
.long 4294934552 ; 0xffff8018
.long 4294934545 ; 0xffff8011
.long 4294934539 ; 0xffff800b
.long 4294934535 ; 0xffff8007
.long 4294934532 ; 0xffff8004
.long 4294934530 ; 0xffff8002
.long 4294934529 ; 0xffff8001
.long 4294934530 ; 0xffff8002
.long 4294934532 ; 0xffff8004
.long 4294934535 ; 0xffff8007
.long 4294934539 ; 0xffff800b
.long 4294934545 ; 0xffff8011
.long 4294934552 ; 0xffff8018
.long 4294934560 ; 0xffff8020
.long 4294934569 ; 0xffff8029
.long 4294934579 ; 0xffff8033
.long 4294934591 ; 0xffff803f
.long 4294934604 ; 0xffff804c
.long 4294934618 ; 0xffff805a
.long 4294934634 ; 0xffff806a
.long 4294934650 ; 0xffff807a
.long 4294934668 ; 0xffff808c
.long 4294934687 ; 0xffff809f
.long 4294934708 ; 0xffff80b4
.long 4294934729 ; 0xffff80c9
.long 4294934752 ; 0xffff80e0
.long 4294934776 ; 0xffff80f8
.long 4294934801 ; 0xffff8111
.long 4294934828 ; 0xffff812c
.long 4294934855 ; 0xffff8147
.long 4294934884 ; 0xffff8164
.long 4294934914 ; 0xffff8182
.long 4294934946 ; 0xffff81a2
.long 4294934978 ; 0xffff81c2
.long 4294935012 ; 0xffff81e4
.long 4294935047 ; 0xffff8207
.long 4294935083 ; 0xffff822b
.long 4294935120 ; 0xffff8250
.long 4294935159 ; 0xffff8277
.long 4294935199 ; 0xffff829f
.long 4294935240 ; 0xffff82c8
.long 4294935282 ; 0xffff82f2
.long 4294935326 ; 0xffff831e
.long 4294935370 ; 0xffff834a
.long 4294935416 ; 0xffff8378
.long 4294935463 ; 0xffff83a7
.long 4294935511 ; 0xffff83d7
.long 4294935561 ; 0xffff8409
.long 4294935612 ; 0xffff843c
.long 4294935663 ; 0xffff846f
.long 4294935716 ; 0xffff84a4
.long 4294935771 ; 0xffff84db
.long 4294935826 ; 0xffff8512
.long 4294935883 ; 0xffff854b
.long 4294935940 ; 0xffff8584
.long 4294935999 ; 0xffff85bf
.long 4294936060 ; 0xffff85fc
.long 4294936121 ; 0xffff8639
.long 4294936183 ; 0xffff8677
.long 4294936247 ; 0xffff86b7
.long 4294936312 ; 0xffff86f8
.long 4294936378 ; 0xffff873a
.long 4294936445 ; 0xffff877d
.long 4294936513 ; 0xffff87c1
.long 4294936583 ; 0xffff8807
.long 4294936653 ; 0xffff884d
.long 4294936725 ; 0xffff8895
.long 4294936798 ; 0xffff88de
.long 4294936872 ; 0xffff8928
.long 4294936947 ; 0xffff8973
.long 4294937024 ; 0xffff89c0
.long 4294937101 ; 0xffff8a0d
.long 4294937180 ; 0xffff8a5c
.long 4294937260 ; 0xffff8aac
.long 4294937341 ; 0xffff8afd
.long 4294937423 ; 0xffff8b4f
.long 4294937506 ; 0xffff8ba2
.long 4294937590 ; 0xffff8bf6
.long 4294937675 ; 0xffff8c4b
.long 4294937762 ; 0xffff8ca2
.long 4294937850 ; 0xffff8cfa
.long 4294937938 ; 0xffff8d52
.long 4294938028 ; 0xffff8dac
.long 4294938119 ; 0xffff8e07
.long 4294938211 ; 0xffff8e63
.long 4294938304 ; 0xffff8ec0
.long 4294938399 ; 0xffff8f1f
.long 4294938494 ; 0xffff8f7e
.long 4294938590 ; 0xffff8fde
.long 4294938688 ; 0xffff9040
.long 4294938786 ; 0xffff90a2
.long 4294938886 ; 0xffff9106
.long 4294938987 ; 0xffff916b
.long 4294939088 ; 0xffff91d0
.long 4294939191 ; 0xffff9237
.long 4294939295 ; 0xffff929f
.long 4294939400 ; 0xffff9308
.long 4294939506 ; 0xffff9372
.long 4294939613 ; 0xffff93dd
.long 4294939721 ; 0xffff9449
.long 4294939830 ; 0xffff94b6
.long 4294939941 ; 0xffff9525
.long 4294940052 ; 0xffff9594
.long 4294940164 ; 0xffff9604
.long 4294940277 ; 0xffff9675
.long 4294940391 ; 0xffff96e7
.long 4294940507 ; 0xffff975b
.long 4294940623 ; 0xffff97cf
.long 4294940740 ; 0xffff9844
.long 4294940859 ; 0xffff98bb
.long 4294940978 ; 0xffff9932
.long 4294941098 ; 0xffff99aa
.long 4294941219 ; 0xffff9a23
.long 4294941342 ; 0xffff9a9e
.long 4294941465 ; 0xffff9b19
.long 4294941589 ; 0xffff9b95
.long 4294941714 ; 0xffff9c12
.long 4294941840 ; 0xffff9c90
.long 4294941967 ; 0xffff9d0f
.long 4294942095 ; 0xffff9d8f
.long 4294942224 ; 0xffff9e10
.long 4294942354 ; 0xffff9e92
.long 4294942485 ; 0xffff9f15
.long 4294942617 ; 0xffff9f99
.long 4294942750 ; 0xffffa01e
.long 4294942883 ; 0xffffa0a3
.long 4294943018 ; 0xffffa12a
.long 4294943153 ; 0xffffa1b1
.long 4294943290 ; 0xffffa23a
.long 4294943427 ; 0xffffa2c3
.long 4294943565 ; 0xffffa34d
.long 4294943704 ; 0xffffa3d8
.long 4294943844 ; 0xffffa464
.long 4294943985 ; 0xffffa4f1
.long 4294944127 ; 0xffffa57f
.long 4294944269 ; 0xffffa60d
.long 4294944413 ; 0xffffa69d
.long 4294944557 ; 0xffffa72d
.long 4294944702 ; 0xffffa7be
.long 4294944848 ; 0xffffa850
.long 4294944995 ; 0xffffa8e3
.long 4294945143 ; 0xffffa977
.long 4294945292 ; 0xffffaa0c
.long 4294945441 ; 0xffffaaa1
.long 4294945591 ; 0xffffab37
.long 4294945742 ; 0xffffabce
.long 4294945894 ; 0xffffac66
.long 4294946047 ; 0xffffacff
.long 4294946200 ; 0xffffad98
.long 4294946354 ; 0xffffae32
.long 4294946509 ; 0xffffaecd
.long 4294946665 ; 0xffffaf69
.long 4294946822 ; 0xffffb006
.long 4294946979 ; 0xffffb0a3
.long 4294947137 ; 0xffffb141
.long 4294947296 ; 0xffffb1e0
.long 4294947456 ; 0xffffb280
.long 4294947616 ; 0xffffb320
.long 4294947777 ; 0xffffb3c1
.long 4294947939 ; 0xffffb463
.long 4294948102 ; 0xffffb506
.long 4294948265 ; 0xffffb5a9
.long 4294948429 ; 0xffffb64d
.long 4294948594 ; 0xffffb6f2
.long 4294948759 ; 0xffffb797
.long 4294948925 ; 0xffffb83d
.long 4294949092 ; 0xffffb8e4
.long 4294949260 ; 0xffffb98c
.long 4294949428 ; 0xffffba34
.long 4294949597 ; 0xffffbadd
.long 4294949766 ; 0xffffbb86
.long 4294949936 ; 0xffffbc30
.long 4294950107 ; 0xffffbcdb
.long 4294950279 ; 0xffffbd87
.long 4294950451 ; 0xffffbe33
.long 4294950624 ; 0xffffbee0
.long 4294950797 ; 0xffffbf8d
.long 4294950971 ; 0xffffc03b
.long 4294951146 ; 0xffffc0ea
.long 4294951321 ; 0xffffc199
.long 4294951497 ; 0xffffc249
.long 4294951673 ; 0xffffc2f9
.long 4294951850 ; 0xffffc3aa
.long 4294952028 ; 0xffffc45c
.long 4294952206 ; 0xffffc50e
.long 4294952385 ; 0xffffc5c1
.long 4294952564 ; 0xffffc674
.long 4294952744 ; 0xffffc728
.long 4294952924 ; 0xffffc7dc
.long 4294953105 ; 0xffffc891
.long 4294953287 ; 0xffffc947
.long 4294953469 ; 0xffffc9fd
.long 4294953651 ; 0xffffcab3
.long 4294953834 ; 0xffffcb6a
.long 4294954018 ; 0xffffcc22
.long 4294954202 ; 0xffffccda
.long 4294954387 ; 0xffffcd93
.long 4294954572 ; 0xffffce4c
.long 4294954757 ; 0xffffcf05
.long 4294954943 ; 0xffffcfbf
.long 4294955130 ; 0xffffd07a
.long 4294955316 ; 0xffffd134
.long 4294955504 ; 0xffffd1f0
.long 4294955692 ; 0xffffd2ac
.long 4294955880 ; 0xffffd368
.long 4294956069 ; 0xffffd425
.long 4294956258 ; 0xffffd4e2
.long 4294956447 ; 0xffffd59f
.long 4294956637 ; 0xffffd65d
.long 4294956827 ; 0xffffd71b
.long 4294957018 ; 0xffffd7da
.long 4294957209 ; 0xffffd899
.long 4294957401 ; 0xffffd959
.long 4294957593 ; 0xffffda19
.long 4294957785 ; 0xffffdad9
.long 4294957977 ; 0xffffdb99
.long 4294958170 ; 0xffffdc5a
.long 4294958364 ; 0xffffdd1c
.long 4294958557 ; 0xffffdddd
.long 4294958751 ; 0xffffde9f
.long 4294958945 ; 0xffffdf61
.long 4294959140 ; 0xffffe024
.long 4294959335 ; 0xffffe0e7
.long 4294959530 ; 0xffffe1aa
.long 4294959725 ; 0xffffe26d
.long 4294959921 ; 0xffffe331
.long 4294960117 ; 0xffffe3f5
.long 4294960314 ; 0xffffe4ba
.long 4294960510 ; 0xffffe57e
.long 4294960707 ; 0xffffe643
.long 4294960904 ; 0xffffe708
.long 4294961101 ; 0xffffe7cd
.long 4294961299 ; 0xffffe893
.long 4294961497 ; 0xffffe959
.long 4294961695 ; 0xffffea1f
.long 4294961893 ; 0xffffeae5
.long 4294962091 ; 0xffffebab
.long 4294962290 ; 0xffffec72
.long 4294962489 ; 0xffffed39
.long 4294962688 ; 0xffffee00
.long 4294962887 ; 0xffffeec7
.long 4294963086 ; 0xffffef8e
.long 4294963285 ; 0xfffff055
.long 4294963485 ; 0xfffff11d
.long 4294963685 ; 0xfffff1e5
.long 4294963885 ; 0xfffff2ad
.long 4294964085 ; 0xfffff375
.long 4294964285 ; 0xfffff43d
.long 4294964485 ; 0xfffff505
.long 4294964686 ; 0xfffff5ce
.long 4294964886 ; 0xfffff696
.long 4294965087 ; 0xfffff75f
.long 4294965287 ; 0xfffff827
.long 4294965488 ; 0xfffff8f0
.long 4294965689 ; 0xfffff9b9
.long 4294965890 ; 0xfffffa82
.long 4294966090 ; 0xfffffb4a
.long 4294966291 ; 0xfffffc13
.long 4294966492 ; 0xfffffcdc
.long 4294966693 ; 0xfffffda5
.long 4294966894 ; 0xfffffe6e
.long 4294967095 ; 0xffffff37
.zerofill __DATA,__bss,_db_from_ampl.loud2,400,2 ; @db_from_ampl.loud2
.globl _Loudampl ; @Loudampl
.p2align 2, 0x0
_Loudampl:
.long 32767 ; 0x7fff
.long 29203 ; 0x7213
.long 26027 ; 0x65ab
.long 23197 ; 0x5a9d
.long 20674 ; 0x50c2
.long 18426 ; 0x47fa
.long 16422 ; 0x4026
.long 14636 ; 0x392c
.long 13044 ; 0x32f4
.long 11626 ; 0x2d6a
.long 10361 ; 0x2879
.long 9234 ; 0x2412
.long 8230 ; 0x2026
.long 7335 ; 0x1ca7
.long 6537 ; 0x1989
.long 5826 ; 0x16c2
.long 5193 ; 0x1449
.long 4628 ; 0x1214
.long 4125 ; 0x101d
.long 3676 ; 0xe5c
.long 3276 ; 0xccc
.long 2920 ; 0xb68
.long 2602 ; 0xa2a
.long 2319 ; 0x90f
.long 2067 ; 0x813
.long 1842 ; 0x732
.long 1642 ; 0x66a
.long 1463 ; 0x5b7
.long 1304 ; 0x518
.long 1162 ; 0x48a
.long 1036 ; 0x40c
.long 923 ; 0x39b
.long 823 ; 0x337
.long 733 ; 0x2dd
.long 653 ; 0x28d
.long 582 ; 0x246
.long 519 ; 0x207
.long 462 ; 0x1ce
.long 412 ; 0x19c
.long 367 ; 0x16f
.long 327 ; 0x147
.long 292 ; 0x124
.long 260 ; 0x104
.long 231 ; 0xe7
.long 206 ; 0xce
.long 184 ; 0xb8
.long 164 ; 0xa4
.long 146 ; 0x92
.long 130 ; 0x82
.long 116 ; 0x74
.long 103 ; 0x67
.long 92 ; 0x5c
.long 82 ; 0x52
.long 73 ; 0x49
.long 65 ; 0x41
.long 58 ; 0x3a
.long 51 ; 0x33
.long 46 ; 0x2e
.long 41 ; 0x29
.long 36 ; 0x24
.long 32 ; 0x20
.long 29 ; 0x1d
.long 26 ; 0x1a
.long 23 ; 0x17
.long 20 ; 0x14
.long 18 ; 0x12
.long 16 ; 0x10
.long 14 ; 0xe
.long 13 ; 0xd
.long 11 ; 0xb
.long 10 ; 0xa
.long 9 ; 0x9
.long 8 ; 0x8
.long 7 ; 0x7
.long 6 ; 0x6
.long 5 ; 0x5
.long 5 ; 0x5
.long 4 ; 0x4
.long 4 ; 0x4
.long 3 ; 0x3
.long 3 ; 0x3
.long 2 ; 0x2
.long 2 ; 0x2
.long 2 ; 0x2
.long 2 ; 0x2
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.long 1 ; 0x1
.space 36
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d: %d, %d\n"
.subsections_via_symbols
|
monte-carlo.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function main
LCPI0_0:
.quad 0x41dfffffffc00000 ## double 2147483647
LCPI0_1:
.quad 0x3ff0000000000000 ## double 1
LCPI0_2:
.quad 0x4010000000000000 ## double 4
LCPI0_3:
.quad 0x40d86a0000000000 ## double 25000
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $42, %edi
callq _libmin_srand
xorl %ebx, %ebx
movl $25000, %r14d ## imm = 0x61A8
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
movl %eax, %eax
xorps %xmm1, %xmm1
cvtsi2sd %rax, %xmm1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm0, %xmm1
movsd %xmm1, -24(%rbp) ## 8-byte Spill
callq _libmin_rand
movl %eax, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd LCPI0_0(%rip), %xmm0
mulsd %xmm0, %xmm0
movsd -24(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd %xmm1, %xmm1
addsd %xmm0, %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
sbbl $-1, %ebx
decl %r14d
jne LBB0_1
## %bb.2:
xorps %xmm0, %xmm0
cvtsi2sd %ebx, %xmm0
mulsd LCPI0_2(%rip), %xmm0
divsd LCPI0_3(%rip), %xmm0
leaq L_.str(%rip), %rdi
movb $1, %al
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Estimated Pi = %.8f\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp d11, d10, [sp, #16] ; 16-byte Folded Spill
stp d9, d8, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset b8, -56
.cfi_offset b9, -64
.cfi_offset b10, -72
.cfi_offset b11, -80
mov w0, #42 ; =0x2a
bl _libmin_srand
mov w19, #0 ; =0x0
mov w20, #25000 ; =0x61a8
mov x21, #281474972516352 ; =0xffffffc00000
movk x21, #16863, lsl #48
fmov d8, #1.00000000
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
ucvtf d0, w0
fmov d9, x21
fdiv d10, d0, d9
bl _libmin_rand
ucvtf d0, w0
fdiv d0, d0, d9
fmul d0, d0, d0
fmadd d0, d10, d10, d0
fcmp d0, d8
cinc w19, w19, ls
subs w20, w20, #1
b.ne LBB0_1
; %bb.2:
scvtf d0, w19
fmov d1, #4.00000000
fmul d0, d0, d1
mov x8, #116548232544256 ; =0x6a0000000000
movk x8, #16600, lsl #48
fmov d1, x8
fdiv d0, d0, d1
str d0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
ldp d11, d10, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Estimated Pi = %.8f\n"
.subsections_via_symbols
|
skeleton.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function main
LCPI0_0:
.quad 0x4046333333333333 ## double 44.399999999999999
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movl $23, %esi
movb $1, %al
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "This is a test!, %d, %f...\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 x8, #3689348814741910323 ; =0x3333333333333333
movk x8, #16454, lsl #48
mov w9, #23 ; =0x17
stp x9, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "This is a test!, %d, %f...\n"
.subsections_via_symbols
|
qsort-demo.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _int_cmp ## -- Begin function int_cmp
.p2align 4, 0x90
_int_cmp: ## @int_cmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
subl (%rsi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_int_array ## -- Begin function print_int_array
.p2align 4, 0x90
_print_int_array: ## @print_int_array
.cfi_startproc
## %bb.0:
testq %rsi, %rsi
je LBB1_4
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq L_.str(%rip), %r15
xorl %r12d, %r12d
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movl (%r14,%r12,4), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r12
cmpq %r12, %rbx
jne LBB1_2
## %bb.3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
LBB1_4:
movl $10, %edi
jmp _libmin_putc ## TAILCALL
.cfi_endproc
## -- End function
.globl _sort_integers_example ## -- Begin function sort_integers_example
.p2align 4, 0x90
_sort_integers_example: ## @sort_integers_example
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movups l___const.sort_integers_example.numbers+28(%rip), %xmm0
movups %xmm0, -36(%rbp)
movaps l___const.sort_integers_example.numbers+16(%rip), %xmm0
movaps %xmm0, -48(%rbp)
movaps l___const.sort_integers_example.numbers(%rip), %xmm0
movaps %xmm0, -64(%rbp)
leaq L_.str.1(%rip), %rdi
callq _libmin_puts
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
movl $7, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $-1, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $23, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $12, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $43, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $-4, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $5, %esi
xorl %eax, %eax
callq _libmin_printf
movl $10, %edi
callq _libmin_putc
leaq _int_cmp(%rip), %rcx
leaq -64(%rbp), %rdi
movl $11, %esi
movl $4, %edx
callq _libmin_qsort
movl -64(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -60(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -56(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -52(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -48(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -44(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -40(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -36(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -32(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -28(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -24(%rbp), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl $10, %edi
callq _libmin_putc
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB2_2
## %bb.1:
addq $56, %rsp
popq %rbx
popq %rbp
retq
LBB2_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _cstring_cmp ## -- Begin function cstring_cmp
.p2align 4, 0x90
_cstring_cmp: ## @cstring_cmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rdi
movq (%rsi), %rsi
popq %rbp
jmp _libmin_strcmp ## TAILCALL
.cfi_endproc
## -- End function
.globl _print_cstring_array ## -- Begin function print_cstring_array
.p2align 4, 0x90
_print_cstring_array: ## @print_cstring_array
.cfi_startproc
## %bb.0:
testq %rsi, %rsi
je LBB4_4
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq L_.str.2(%rip), %r15
xorl %r12d, %r12d
.p2align 4, 0x90
LBB4_2: ## =>This Inner Loop Header: Depth=1
movq (%r14,%r12,8), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r12
cmpq %r12, %rbx
jne LBB4_2
## %bb.3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
LBB4_4:
movl $10, %edi
jmp _libmin_putc ## TAILCALL
.cfi_endproc
## -- End function
.globl _sort_cstrings_example ## -- Begin function sort_cstrings_example
.p2align 4, 0x90
_sort_cstrings_example: ## @sort_cstrings_example
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movaps l___const.sort_cstrings_example.strings+32(%rip), %xmm0
movaps %xmm0, -32(%rbp)
movaps l___const.sort_cstrings_example.strings+16(%rip), %xmm0
movaps %xmm0, -48(%rbp)
movaps l___const.sort_cstrings_example.strings(%rip), %xmm0
movaps %xmm0, -64(%rbp)
leaq L_.str.9(%rip), %rdi
callq _libmin_puts
leaq L_.str.2(%rip), %rbx
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.6(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.7(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.8(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl $10, %edi
callq _libmin_putc
leaq _cstring_cmp(%rip), %rcx
leaq -64(%rbp), %rdi
movl $6, %esi
movl $8, %edx
callq _libmin_qsort
movq -64(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -56(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -48(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -40(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -32(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -24(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl $10, %edi
callq _libmin_putc
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB5_2
## %bb.1:
addq $56, %rsp
popq %rbx
popq %rbp
retq
LBB5_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0 ## -- Begin function struct_cmp_by_price
LCPI6_0:
.long 0xc2c80000 ## float -100
LCPI6_1:
.long 0x42c80000 ## float 100
.section __TEXT,__text,regular,pure_instructions
.globl _struct_cmp_by_price
.p2align 4, 0x90
_struct_cmp_by_price: ## @struct_cmp_by_price
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss 16(%rdi), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss 16(%rsi), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss LCPI6_0(%rip), %xmm1
mulss LCPI6_1(%rip), %xmm0
addss %xmm1, %xmm0
cvttss2si %xmm0, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _struct_cmp_by_product ## -- Begin function struct_cmp_by_product
.p2align 4, 0x90
_struct_cmp_by_product: ## @struct_cmp_by_product
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _libmin_strcmp ## TAILCALL
.cfi_endproc
## -- End function
.globl _print_struct_array ## -- Begin function print_struct_array
.p2align 4, 0x90
_print_struct_array: ## @print_struct_array
.cfi_startproc
## %bb.0:
testq %rsi, %rsi
je LBB8_4
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq L_.str.10(%rip), %r15
.p2align 4, 0x90
LBB8_2: ## =>This Inner Loop Header: Depth=1
movss 16(%r14), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %r15, %rdi
movq %r14, %rsi
movb $1, %al
callq _libmin_printf
addq $20, %r14
decq %rbx
jne LBB8_2
## %bb.3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
LBB8_4:
leaq L_.str.11(%rip), %rdi
jmp _libmin_puts ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function sort_structs_example
LCPI9_0:
.quad 0x4072b00000000000 ## double 299
.section __TEXT,__text,regular,pure_instructions
.globl _sort_structs_example
.p2align 4, 0x90
_sort_structs_example: ## @sort_structs_example
.cfi_startproc
## %bb.0:
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 $136, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movaps l___const.sort_structs_example.structs+96(%rip), %xmm0
movaps %xmm0, -80(%rbp)
movaps l___const.sort_structs_example.structs+80(%rip), %xmm0
movaps %xmm0, -96(%rbp)
movaps l___const.sort_structs_example.structs+64(%rip), %xmm0
movaps %xmm0, -112(%rbp)
movaps l___const.sort_structs_example.structs+48(%rip), %xmm0
movaps %xmm0, -128(%rbp)
movaps l___const.sort_structs_example.structs+32(%rip), %xmm0
movaps %xmm0, -144(%rbp)
movaps l___const.sort_structs_example.structs+16(%rip), %xmm0
movaps %xmm0, -160(%rbp)
movaps l___const.sort_structs_example.structs(%rip), %xmm0
movaps %xmm0, -176(%rbp)
movabsq $4489188109421903872, %rax ## imm = 0x3E4CCCCD00000000
movq %rax, -64(%rbp)
leaq -96(%rbp), %r14
leaq L_.str.12(%rip), %rdi
callq _libmin_puts
leaq L_.str.10(%rip), %rbx
leaq -176(%rbp), %r15
movsd LCPI9_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movq %rbx, %rdi
movq %r15, %rsi
movb $1, %al
callq _libmin_printf
leaq -156(%rbp), %rsi
movss -140(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movb $1, %al
callq _libmin_printf
leaq -136(%rbp), %rsi
movss -120(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movb $1, %al
callq _libmin_printf
leaq -116(%rbp), %r13
movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movq %r13, %rsi
movb $1, %al
callq _libmin_printf
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movq %r14, %rsi
movb $1, %al
callq _libmin_printf
leaq -76(%rbp), %r14
movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movq %r14, %rsi
movb $1, %al
callq _libmin_printf
leaq L_.str.11(%rip), %r12
movq %r12, %rdi
callq _libmin_puts
leaq _struct_cmp_by_price(%rip), %rcx
movl $6, %esi
movl $20, %edx
movq %r15, %rdi
callq _libmin_qsort
movss -160(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $1, %al
callq _libmin_printf
movss -140(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
leaq -156(%rbp), %rsi
movb $1, %al
callq _libmin_printf
movss -120(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
leaq -136(%rbp), %rsi
movb $1, %al
callq _libmin_printf
movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movq %r13, %rsi
movb $1, %al
callq _libmin_printf
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
leaq -96(%rbp), %rsi
movb $1, %al
callq _libmin_printf
movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movq %r14, %rsi
movb $1, %al
callq _libmin_printf
movq %r12, %rdi
callq _libmin_puts
leaq L_.str.13(%rip), %rdi
callq _libmin_puts
leaq _struct_cmp_by_product(%rip), %rcx
movl $6, %esi
movl $20, %edx
movq %r15, %rdi
callq _libmin_qsort
movss -160(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $1, %al
callq _libmin_printf
movss -140(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
leaq -156(%rbp), %rsi
movb $1, %al
callq _libmin_printf
movss -120(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
leaq -136(%rbp), %rsi
movb $1, %al
callq _libmin_printf
movss -100(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movq %r13, %rsi
movb $1, %al
callq _libmin_printf
movss -80(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
leaq -96(%rbp), %rsi
movb $1, %al
callq _libmin_printf
movss -60(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movq %r14, %rsi
movb $1, %al
callq _libmin_printf
movq %r12, %rdi
callq _libmin_puts
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB9_2
## %bb.1:
addq $136, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB9_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _sort_integers_example
callq _sort_cstrings_example
callq _sort_structs_example
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d | "
.section __TEXT,__const
.p2align 4, 0x0 ## @__const.sort_integers_example.numbers
l___const.sort_integers_example.numbers:
.long 7 ## 0x7
.long 3 ## 0x3
.long 4 ## 0x4
.long 1 ## 0x1
.long 4294967295 ## 0xffffffff
.long 23 ## 0x17
.long 12 ## 0xc
.long 43 ## 0x2b
.long 2 ## 0x2
.long 4294967292 ## 0xfffffffc
.long 5 ## 0x5
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "*** Integer sorting..."
L_.str.2: ## @.str.2
.asciz "%s | "
L_.str.3: ## @.str.3
.asciz "Zorro"
L_.str.4: ## @.str.4
.asciz "Alex"
L_.str.5: ## @.str.5
.asciz "Celine"
L_.str.6: ## @.str.6
.asciz "Bill"
L_.str.7: ## @.str.7
.asciz "Forest"
L_.str.8: ## @.str.8
.asciz "Dexter"
.section __DATA,__const
.p2align 4, 0x0 ## @__const.sort_cstrings_example.strings
l___const.sort_cstrings_example.strings:
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad L_.str.8
.section __TEXT,__cstring,cstring_literals
L_.str.9: ## @.str.9
.asciz "*** String sorting..."
L_.str.10: ## @.str.10
.asciz "[ product: %s \t price: $%.2f ]\n"
L_.str.11: ## @.str.11
.asciz "--"
.section __TEXT,__const
.p2align 4, 0x0 ## @__const.sort_structs_example.structs
l___const.sort_structs_example.structs:
.asciz "mp3 player\000\000\000\000\000"
.long 0x43958000 ## float 299
.asciz "plasma tv\000\000\000\000\000\000"
.long 0x45098000 ## float 2200
.asciz "notebook\000\000\000\000\000\000\000"
.long 0x44a28000 ## float 1300
.asciz "smartphone\000\000\000\000\000"
.long 0x43f9feb8 ## float 499.98999
.asciz "dvd player\000\000\000\000\000"
.long 0x43160000 ## float 150
.asciz "matches\000\000\000\000\000\000\000\000"
.long 0x3e4ccccd ## float 0.200000003
.section __TEXT,__cstring,cstring_literals
L_.str.12: ## @.str.12
.asciz "*** Struct sorting (price)..."
L_.str.13: ## @.str.13
.asciz "*** Struct sorting (product)..."
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _int_cmp ; -- Begin function int_cmp
.p2align 2
_int_cmp: ; @int_cmp
.cfi_startproc
; %bb.0:
ldr w8, [x0]
ldr w9, [x1]
sub w0, w8, w9
ret
.cfi_endproc
; -- End function
.globl _print_int_array ; -- Begin function print_int_array
.p2align 2
_print_int_array: ; @print_int_array
.cfi_startproc
; %bb.0:
cbz x1, LBB1_4
; %bb.1:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20], #4
str x8, [sp]
mov x0, x21
bl _libmin_printf
subs x19, x19, #1
b.ne LBB1_2
; %bb.3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
LBB1_4:
mov w0, #10 ; =0xa
b _libmin_putc
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _sort_integers_example ; -- Begin function sort_integers_example
.p2align 2
_sort_integers_example: ; @sort_integers_example
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh5:
adrp x8, l___const.sort_integers_example.numbers@PAGE
Lloh6:
add x8, x8, l___const.sort_integers_example.numbers@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [sp, #16]
ldur q0, [x8, #28]
stur q0, [sp, #44]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_puts
mov w8, #7 ; =0x7
str x8, [sp]
Lloh9:
adrp x19, l_.str@PAGE
Lloh10:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _libmin_printf
mov w8, #3 ; =0x3
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #4 ; =0x4
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #1 ; =0x1
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #-1 ; =0xffffffff
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #23 ; =0x17
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #12 ; =0xc
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #43 ; =0x2b
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #2 ; =0x2
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #-4 ; =0xfffffffc
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #5 ; =0x5
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w0, #10 ; =0xa
bl _libmin_putc
Lloh11:
adrp x3, _int_cmp@PAGE
Lloh12:
add x3, x3, _int_cmp@PAGEOFF
add x0, sp, #16
mov w1, #11 ; =0xb
mov w2, #4 ; =0x4
bl _libmin_qsort
ldr w8, [sp, #16]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [sp, #20]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [sp, #24]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [sp, #28]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [sp, #32]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [sp, #36]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [sp, #40]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [sp, #44]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [sp, #48]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [sp, #52]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [sp, #56]
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w0, #10 ; =0xa
bl _libmin_putc
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 LBB2_2
; %bb.1:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB2_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.globl _cstring_cmp ; -- Begin function cstring_cmp
.p2align 2
_cstring_cmp: ; @cstring_cmp
.cfi_startproc
; %bb.0:
ldr x0, [x0]
ldr x1, [x1]
b _libmin_strcmp
.cfi_endproc
; -- End function
.globl _print_cstring_array ; -- Begin function print_cstring_array
.p2align 2
_print_cstring_array: ; @print_cstring_array
.cfi_startproc
; %bb.0:
cbz x1, LBB4_4
; %bb.1:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh16:
adrp x21, l_.str.2@PAGE
Lloh17:
add x21, x21, l_.str.2@PAGEOFF
LBB4_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20], #8
str x8, [sp]
mov x0, x21
bl _libmin_printf
subs x19, x19, #1
b.ne LBB4_2
; %bb.3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
LBB4_4:
mov w0, #10 ; =0xa
b _libmin_putc
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.globl _sort_cstrings_example ; -- Begin function sort_cstrings_example
.p2align 2
_sort_cstrings_example: ; @sort_cstrings_example
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh18:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh19:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
ldr x8, [x8]
stur x8, [x29, #-24]
Lloh21:
adrp x8, l___const.sort_cstrings_example.strings@PAGE
Lloh22:
add x8, x8, l___const.sort_cstrings_example.strings@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [sp, #16]
ldr q0, [x8, #32]
str q0, [sp, #48]
Lloh23:
adrp x0, l_.str.9@PAGE
Lloh24:
add x0, x0, l_.str.9@PAGEOFF
bl _libmin_puts
Lloh25:
adrp x8, l_.str.3@PAGE
Lloh26:
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp]
Lloh27:
adrp x19, l_.str.2@PAGE
Lloh28:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x19
bl _libmin_printf
Lloh29:
adrp x8, l_.str.4@PAGE
Lloh30:
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh31:
adrp x8, l_.str.5@PAGE
Lloh32:
add x8, x8, l_.str.5@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh33:
adrp x8, l_.str.6@PAGE
Lloh34:
add x8, x8, l_.str.6@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh35:
adrp x8, l_.str.7@PAGE
Lloh36:
add x8, x8, l_.str.7@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh37:
adrp x8, l_.str.8@PAGE
Lloh38:
add x8, x8, l_.str.8@PAGEOFF
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w0, #10 ; =0xa
bl _libmin_putc
Lloh39:
adrp x3, _cstring_cmp@PAGE
Lloh40:
add x3, x3, _cstring_cmp@PAGEOFF
add x0, sp, #16
mov w1, #6 ; =0x6
mov w2, #8 ; =0x8
bl _libmin_qsort
ldr x8, [sp, #16]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #24]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #32]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #40]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #48]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #56]
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w0, #10 ; =0xa
bl _libmin_putc
ldur x8, [x29, #-24]
Lloh41:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh42:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
ldr x9, [x9]
cmp x9, x8
b.ne LBB5_2
; %bb.1:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB5_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.globl _struct_cmp_by_price ; -- Begin function struct_cmp_by_price
.p2align 2
_struct_cmp_by_price: ; @struct_cmp_by_price
.cfi_startproc
; %bb.0:
ldr s0, [x0, #16]
ldr s1, [x1, #16]
mov w8, #-1027080192 ; =0xc2c80000
fmov s2, w8
fmul s1, s1, s2
mov w8, #1120403456 ; =0x42c80000
fmov s2, w8
fmadd s0, s0, s2, s1
fcvtzs w0, s0
ret
.cfi_endproc
; -- End function
.globl _struct_cmp_by_product ; -- Begin function struct_cmp_by_product
.p2align 2
_struct_cmp_by_product: ; @struct_cmp_by_product
.cfi_startproc
; %bb.0:
b _libmin_strcmp
.cfi_endproc
; -- End function
.globl _print_struct_array ; -- Begin function print_struct_array
.p2align 2
_print_struct_array: ; @print_struct_array
.cfi_startproc
; %bb.0:
cbz x1, LBB8_4
; %bb.1:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh44:
adrp x21, l_.str.10@PAGE
Lloh45:
add x21, x21, l_.str.10@PAGEOFF
LBB8_2: ; =>This Inner Loop Header: Depth=1
ldr s0, [x20, #16]
fcvt d0, s0
str d0, [sp, #8]
str x20, [sp]
mov x0, x21
bl _libmin_printf
add x20, x20, #20
subs x19, x19, #1
b.ne LBB8_2
; %bb.3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
LBB8_4:
Lloh46:
adrp x0, l_.str.11@PAGE
Lloh47:
add x0, x0, l_.str.11@PAGEOFF
b _libmin_puts
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh46, Lloh47
.cfi_endproc
; -- End function
.globl _sort_structs_example ; -- Begin function sort_structs_example
.p2align 2
_sort_structs_example: ; @sort_structs_example
.cfi_startproc
; %bb.0:
sub sp, sp, #224
stp x26, x25, [sp, #144] ; 16-byte Folded Spill
stp x24, x23, [sp, #160] ; 16-byte Folded Spill
stp x22, x21, [sp, #176] ; 16-byte Folded Spill
stp x20, x19, [sp, #192] ; 16-byte Folded Spill
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh48:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh49:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh50:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh51:
adrp x8, l___const.sort_structs_example.structs@PAGE
Lloh52:
add x8, x8, l___const.sort_structs_example.structs@PAGEOFF
ldp q0, q1, [x8, #64]
stp q0, q1, [sp, #80]
ldr q0, [x8, #96]
str q0, [sp, #112]
ldr x9, [x8, #112]
str x9, [sp, #128]
ldp q0, q1, [x8]
stp q0, q1, [sp, #16]
ldp q0, q1, [x8, #32]
add x22, sp, #16
add x21, x22, #80
stp q0, q1, [sp, #48]
Lloh53:
adrp x0, l_.str.12@PAGE
Lloh54:
add x0, x0, l_.str.12@PAGEOFF
bl _libmin_puts
mov x8, #193514046488576 ; =0xb00000000000
movk x8, #16498, lsl #48
stp x22, x8, [sp]
Lloh55:
adrp x19, l_.str.10@PAGE
Lloh56:
add x19, x19, l_.str.10@PAGEOFF
mov x0, x19
bl _libmin_printf
add x23, x22, #20
ldr s0, [sp, #52]
fcvt d0, s0
str d0, [sp, #8]
str x23, [sp]
mov x0, x19
bl _libmin_printf
add x24, x22, #40
ldr s0, [sp, #72]
fcvt d0, s0
str d0, [sp, #8]
str x24, [sp]
mov x0, x19
bl _libmin_printf
add x25, x22, #60
ldr s0, [sp, #92]
fcvt d0, s0
str d0, [sp, #8]
str x25, [sp]
mov x0, x19
bl _libmin_printf
ldr s0, [sp, #112]
fcvt d0, s0
str d0, [sp, #8]
str x21, [sp]
mov x0, x19
bl _libmin_printf
add x26, x22, #100
ldr s0, [sp, #132]
fcvt d0, s0
str d0, [sp, #8]
str x26, [sp]
mov x0, x19
bl _libmin_printf
Lloh57:
adrp x20, l_.str.11@PAGE
Lloh58:
add x20, x20, l_.str.11@PAGEOFF
mov x0, x20
bl _libmin_puts
Lloh59:
adrp x3, _struct_cmp_by_price@PAGE
Lloh60:
add x3, x3, _struct_cmp_by_price@PAGEOFF
add x0, sp, #16
mov w1, #6 ; =0x6
mov w2, #20 ; =0x14
bl _libmin_qsort
ldr s0, [sp, #32]
fcvt d0, s0
str d0, [sp, #8]
str x22, [sp]
mov x0, x19
bl _libmin_printf
ldr s0, [sp, #52]
fcvt d0, s0
str d0, [sp, #8]
str x23, [sp]
mov x0, x19
bl _libmin_printf
ldr s0, [sp, #72]
fcvt d0, s0
str d0, [sp, #8]
str x24, [sp]
mov x0, x19
bl _libmin_printf
ldr s0, [sp, #92]
fcvt d0, s0
str d0, [sp, #8]
str x25, [sp]
mov x0, x19
bl _libmin_printf
ldr s0, [sp, #112]
fcvt d0, s0
str d0, [sp, #8]
str x21, [sp]
mov x0, x19
bl _libmin_printf
ldr s0, [sp, #132]
fcvt d0, s0
str d0, [sp, #8]
str x26, [sp]
mov x0, x19
bl _libmin_printf
mov x0, x20
bl _libmin_puts
Lloh61:
adrp x0, l_.str.13@PAGE
Lloh62:
add x0, x0, l_.str.13@PAGEOFF
bl _libmin_puts
Lloh63:
adrp x3, _struct_cmp_by_product@PAGE
Lloh64:
add x3, x3, _struct_cmp_by_product@PAGEOFF
add x0, sp, #16
mov w1, #6 ; =0x6
mov w2, #20 ; =0x14
bl _libmin_qsort
ldr s0, [sp, #32]
fcvt d0, s0
str d0, [sp, #8]
str x22, [sp]
mov x0, x19
bl _libmin_printf
ldr s0, [sp, #52]
fcvt d0, s0
str d0, [sp, #8]
str x23, [sp]
mov x0, x19
bl _libmin_printf
ldr s0, [sp, #72]
fcvt d0, s0
str d0, [sp, #8]
str x24, [sp]
mov x0, x19
bl _libmin_printf
ldr s0, [sp, #92]
fcvt d0, s0
str d0, [sp, #8]
str x25, [sp]
mov x0, x19
bl _libmin_printf
ldr s0, [sp, #112]
fcvt d0, s0
str d0, [sp, #8]
str x21, [sp]
mov x0, x19
bl _libmin_printf
ldr s0, [sp, #132]
fcvt d0, s0
str d0, [sp, #8]
str x26, [sp]
mov x0, x19
bl _libmin_printf
mov x0, x20
bl _libmin_puts
ldur x8, [x29, #-72]
Lloh65:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh66:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh67:
ldr x9, [x9]
cmp x9, x8
b.ne LBB9_2
; %bb.1:
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
ldp x20, x19, [sp, #192] ; 16-byte Folded Reload
ldp x22, x21, [sp, #176] ; 16-byte Folded Reload
ldp x24, x23, [sp, #160] ; 16-byte Folded Reload
ldp x26, x25, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #224
ret
LBB9_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _sort_integers_example
bl _sort_cstrings_example
bl _sort_structs_example
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d | "
.section __TEXT,__const
.p2align 2, 0x0 ; @__const.sort_integers_example.numbers
l___const.sort_integers_example.numbers:
.long 7 ; 0x7
.long 3 ; 0x3
.long 4 ; 0x4
.long 1 ; 0x1
.long 4294967295 ; 0xffffffff
.long 23 ; 0x17
.long 12 ; 0xc
.long 43 ; 0x2b
.long 2 ; 0x2
.long 4294967292 ; 0xfffffffc
.long 5 ; 0x5
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "*** Integer sorting..."
l_.str.2: ; @.str.2
.asciz "%s | "
l_.str.3: ; @.str.3
.asciz "Zorro"
l_.str.4: ; @.str.4
.asciz "Alex"
l_.str.5: ; @.str.5
.asciz "Celine"
l_.str.6: ; @.str.6
.asciz "Bill"
l_.str.7: ; @.str.7
.asciz "Forest"
l_.str.8: ; @.str.8
.asciz "Dexter"
.section __DATA,__const
.p2align 3, 0x0 ; @__const.sort_cstrings_example.strings
l___const.sort_cstrings_example.strings:
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad l_.str.8
.section __TEXT,__cstring,cstring_literals
l_.str.9: ; @.str.9
.asciz "*** String sorting..."
l_.str.10: ; @.str.10
.asciz "[ product: %s \t price: $%.2f ]\n"
l_.str.11: ; @.str.11
.asciz "--"
.section __TEXT,__const
.p2align 2, 0x0 ; @__const.sort_structs_example.structs
l___const.sort_structs_example.structs:
.asciz "mp3 player\000\000\000\000\000"
.long 0x43958000 ; float 299
.asciz "plasma tv\000\000\000\000\000\000"
.long 0x45098000 ; float 2200
.asciz "notebook\000\000\000\000\000\000\000"
.long 0x44a28000 ; float 1300
.asciz "smartphone\000\000\000\000\000"
.long 0x43f9feb8 ; float 499.98999
.asciz "dvd player\000\000\000\000\000"
.long 0x43160000 ; float 150
.asciz "matches\000\000\000\000\000\000\000\000"
.long 0x3e4ccccd ; float 0.200000003
.section __TEXT,__cstring,cstring_literals
l_.str.12: ; @.str.12
.asciz "*** Struct sorting (price)..."
l_.str.13: ; @.str.13
.asciz "*** Struct sorting (product)..."
.subsections_via_symbols
|
matmult.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.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 $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $12345, %edi ## imm = 0x3039
callq _libmin_srand
xorl %eax, %eax
leaq _B(%rip), %r12
leaq _C(%rip), %r15
leaq _refC(%rip), %r13
xorl %edx, %edx
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
movq %rax, -64(%rbp) ## 8-byte Spill
movq %rdx, -80(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
callq _libmin_rand
movl %eax, %ecx
imulq $274877907, %rcx, %rcx ## imm = 0x10624DD3
shrq $38, %rcx
imull $1000, %ecx, %ecx ## imm = 0x3E8
subl %ecx, %eax
movq -64(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%r14), %rbx
leaq _A(%rip), %rcx
movl %eax, (%rcx,%rbx)
callq _libmin_rand
movl %eax, %ecx
imulq $274877907, %rcx, %rcx ## imm = 0x10624DD3
shrq $38, %rcx
imull $1000, %ecx, %ecx ## imm = 0x3E8
subl %ecx, %eax
movl %eax, (%r12,%rbx)
movl $0, (%r15,%rbx)
movl $0, (%r13,%rbx)
addq $4, %r14
cmpq $256, %r14 ## imm = 0x100
jne LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %rdx ## 8-byte Reload
incq %rdx
movq -64(%rbp), %rax ## 8-byte Reload
addq $256, %rax ## imm = 0x100
cmpq $64, %rdx
jne LBB0_1
## %bb.4:
leaq _A+16(%rip), %rax
xorl %ecx, %ecx
leaq _B+1792(%rip), %rdx
.p2align 4, 0x90
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
## Child Loop BB0_7 Depth 3
movq %rdx, %rsi
xorl %edi, %edi
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_7 Depth 3
movq %rcx, %r9
shlq $8, %r9
addq %r15, %r9
leaq (%r9,%rdi,4), %r8
movd (%r9,%rdi,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero
pxor %xmm0, %xmm0
movq %rsi, %r9
xorl %r10d, %r10d
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_6 Depth=2
## => This Inner Loop Header: Depth=3
movd -1792(%r9), %xmm2 ## xmm2 = mem[0],zero,zero,zero
pinsrd $1, -1536(%r9), %xmm2
pinsrd $2, -1280(%r9), %xmm2
pinsrd $3, -1024(%r9), %xmm2
movd -768(%r9), %xmm3 ## xmm3 = mem[0],zero,zero,zero
pinsrd $1, -512(%r9), %xmm3
pinsrd $2, -256(%r9), %xmm3
pinsrd $3, (%r9), %xmm3
pmulld -16(%rax,%r10,4), %xmm2
paddd %xmm2, %xmm1
pmulld (%rax,%r10,4), %xmm3
paddd %xmm3, %xmm0
addq $8, %r10
addq $2048, %r9 ## imm = 0x800
cmpq $64, %r10
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_6 Depth=2
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, (%r8)
incq %rdi
addq $4, %rsi
cmpq $64, %rdi
jne LBB0_6
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
incq %rcx
addq $256, %rax ## imm = 0x100
cmpq $64, %rcx
jne LBB0_5
## %bb.10:
xorl %eax, %eax
leaq _B+240(%rip), %rcx
leaq _A(%rip), %r9
.p2align 4, 0x90
LBB0_11: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
movq %rax, %rdi
shlq $8, %rdi
leaq (%rdi,%r13), %rsi
leaq (%rdi,%r13), %rdx
addq $16, %rdx
movdqa (%rdi,%r13), %xmm15
movdqa 16(%rdi,%r13), %xmm14
movdqa 32(%rdi,%r13), %xmm13
movdqa 48(%rdi,%r13), %xmm12
movdqa 64(%rdi,%r13), %xmm11
movdqa 80(%rdi,%r13), %xmm10
movdqa 96(%rdi,%r13), %xmm9
movdqa 112(%rdi,%r13), %xmm8
movdqa 128(%rdi,%r13), %xmm7
movdqa 144(%rdi,%r13), %xmm6
movdqa 160(%rdi,%r13), %xmm5
movdqa 176(%rdi,%r13), %xmm4
movdqa 192(%rdi,%r13), %xmm3
movdqa 208(%rdi,%r13), %xmm2
movaps 224(%rdi,%r13), %xmm0
movaps %xmm0, -80(%rbp) ## 16-byte Spill
movaps 240(%rdi,%r13), %xmm0
movq %rcx, %rdi
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_11 Depth=1
## => This Inner Loop Header: Depth=2
movaps %xmm0, -64(%rbp) ## 16-byte Spill
movd (%r9,%r8,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
movdqa -240(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm15
movdqa %xmm15, -96(%rbp) ## 16-byte Spill
movdqa -224(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm14
movdqa -208(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm13
movdqa -192(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm12
movdqa -176(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm11
movdqa -160(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm10
movdqa -144(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm9
movdqa -128(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm8
movdqa -112(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm7
movdqa -96(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm6
movdqa -80(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm5
movdqa -64(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm4
movdqa -48(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm3
movdqa -32(%rdi), %xmm1
pmulld %xmm0, %xmm1
paddd %xmm1, %xmm2
movdqa -16(%rdi), %xmm1
pmulld %xmm0, %xmm1
movdqa %xmm14, %xmm15
movdqa %xmm13, %xmm14
movdqa %xmm12, %xmm13
movdqa %xmm11, %xmm12
movdqa %xmm10, %xmm11
movdqa %xmm9, %xmm10
movdqa %xmm8, %xmm9
movdqa %xmm7, %xmm8
movdqa %xmm6, %xmm7
movdqa %xmm5, %xmm6
movdqa %xmm4, %xmm5
movdqa %xmm3, %xmm4
movdqa %xmm2, %xmm3
movdqa -80(%rbp), %xmm2 ## 16-byte Reload
paddd %xmm1, %xmm2
movdqa %xmm2, -80(%rbp) ## 16-byte Spill
movdqa %xmm3, %xmm2
movdqa %xmm4, %xmm3
movdqa %xmm5, %xmm4
movdqa %xmm6, %xmm5
movdqa %xmm7, %xmm6
movdqa %xmm8, %xmm7
movdqa %xmm9, %xmm8
movdqa %xmm10, %xmm9
movdqa %xmm11, %xmm10
movdqa %xmm12, %xmm11
movdqa %xmm13, %xmm12
movdqa %xmm14, %xmm13
movdqa %xmm15, %xmm14
movaps -96(%rbp), %xmm15 ## 16-byte Reload
pmulld (%rdi), %xmm0
movdqa -64(%rbp), %xmm1 ## 16-byte Reload
paddd %xmm0, %xmm1
movdqa %xmm1, -64(%rbp) ## 16-byte Spill
movdqa -64(%rbp), %xmm0 ## 16-byte Reload
incq %r8
addq $256, %rdi ## imm = 0x100
cmpq $64, %r8
jne LBB0_12
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
movaps %xmm15, (%rsi)
movdqa %xmm14, (%rdx)
movdqa %xmm13, 16(%rdx)
movdqa %xmm12, 32(%rdx)
movdqa %xmm11, 48(%rdx)
movdqa %xmm10, 64(%rdx)
movdqa %xmm9, 80(%rdx)
movdqa %xmm8, 96(%rdx)
movdqa %xmm7, 112(%rdx)
movdqa %xmm6, 128(%rdx)
movdqa %xmm5, 144(%rdx)
movdqa %xmm4, 160(%rdx)
movdqa %xmm3, 176(%rdx)
movdqa %xmm2, 192(%rdx)
movdqa -80(%rbp), %xmm1 ## 16-byte Reload
movdqa %xmm1, 208(%rdx)
movdqa %xmm0, 224(%rdx)
incq %rax
addq $256, %r9 ## imm = 0x100
cmpq $64, %rax
jne LBB0_11
## %bb.14:
xorl %esi, %esi
LBB0_15: ## =>This Loop Header: Depth=1
## Child Loop BB0_16 Depth 2
movl $1, %edx
.p2align 4, 0x90
LBB0_16: ## Parent Loop BB0_15 Depth=1
## => This Inner Loop Header: Depth=2
movl -4(%r15,%rdx,4), %ecx
movl -4(%r13,%rdx,4), %r8d
cmpl %r8d, %ecx
jne LBB0_29
## %bb.17: ## in Loop: Header=BB0_16 Depth=2
movl (%r15,%rdx,4), %ecx
movl (%r13,%rdx,4), %r8d
cmpl %r8d, %ecx
jne LBB0_30
## %bb.18: ## in Loop: Header=BB0_16 Depth=2
leaq 2(%rdx), %rax
cmpq $63, %rdx
movq %rax, %rdx
jb LBB0_16
## %bb.19: ## in Loop: Header=BB0_15 Depth=1
leaq 1(%rsi), %rax
addq $256, %r15 ## imm = 0x100
addq $256, %r13 ## imm = 0x100
cmpq $63, %rsi
movq %rax, %rsi
jb LBB0_15
## %bb.20:
xorl %eax, %eax
leaq _C+4(%rip), %rcx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_21: ## =>This Loop Header: Depth=1
## Child Loop BB0_22 Depth 2
xorl %edx, %edx
.p2align 4, 0x90
LBB0_22: ## Parent Loop BB0_21 Depth=1
## => This Inner Loop Header: Depth=2
addl -4(%rcx,%rdx,4), %esi
movslq %esi, %rsi
imulq $351843721, %rsi, %rdi ## imm = 0x14F8B589
movq %rdi, %r8
shrq $63, %r8
sarq $45, %rdi
addl %r8d, %edi
imull $100000, %edi, %edi ## imm = 0x186A0
subl %edi, %esi
addl (%rcx,%rdx,4), %esi
movslq %esi, %rsi
imulq $351843721, %rsi, %rdi ## imm = 0x14F8B589
movq %rdi, %r8
shrq $63, %r8
sarq $45, %rdi
addl %r8d, %edi
imull $100000, %edi, %edi ## imm = 0x186A0
subl %edi, %esi
addq $2, %rdx
cmpq $64, %rdx
jne LBB0_22
## %bb.23: ## in Loop: Header=BB0_21 Depth=1
incq %rax
addq $256, %rcx ## imm = 0x100
cmpq $64, %rax
jne LBB0_21
## %bb.24:
leaq L_.str.1(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq _C(%rip), %r15
leaq L_.str.3(%rip), %rbx
leaq L_.str.4(%rip), %r14
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_25: ## =>This Loop Header: Depth=1
## Child Loop BB0_26 Depth 2
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_26: ## Parent Loop BB0_25 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r15,%r13,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r13
cmpq $64, %r13
jne LBB0_26
## %bb.27: ## in Loop: Header=BB0_25 Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r12
addq $256, %r15 ## imm = 0x100
cmpq $64, %r12
jne LBB0_25
## %bb.28:
callq _libtarg_success
jmp LBB0_31
LBB0_29:
decq %rdx
LBB0_30:
leaq L_.str(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libtarg_fail
LBB0_31:
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_A,16384,4 ## @A
.zerofill __DATA,__bss,_B,16384,4 ## @B
.zerofill __DATA,__bss,_C,16384,4 ## @C
.zerofill __DATA,__bss,_refC,16384,4 ## @refC
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Mismatch at (%d, %d): computed %d, expected %d\n"
L_.str.1: ## @.str.1
.asciz "Matrix multiplication successful. Checksum: %d\n"
L_.str.2: ## @.str.2
.asciz "Result Matrix C:\n"
L_.str.3: ## @.str.3
.asciz "%d "
L_.str.4: ## @.str.4
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 w0, #12345 ; =0x3039
bl _libmin_srand
mov x21, #0 ; =0x0
Lloh0:
adrp x22, _A@PAGE
Lloh1:
add x22, x22, _A@PAGEOFF
Lloh2:
adrp x20, _C@PAGE
Lloh3:
add x20, x20, _C@PAGEOFF
Lloh4:
adrp x19, _refC@PAGE
Lloh5:
add x19, x19, _refC@PAGEOFF
mov w23, #19923 ; =0x4dd3
movk w23, #4194, lsl #16
mov w24, #1000 ; =0x3e8
mov x25, x19
mov x26, x20
Lloh6:
adrp x27, _B@PAGE
Lloh7:
add x27, x27, _B@PAGEOFF
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
mov x28, #0 ; =0x0
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
bl _libmin_rand
umull x8, w0, w23
lsr x8, x8, #38
msub w8, w8, w24, w0
str w8, [x22, x28]
bl _libmin_rand
umull x8, w0, w23
lsr x8, x8, #38
msub w8, w8, w24, w0
str w8, [x27, x28]
str wzr, [x26, x28]
str wzr, [x25, x28]
add x28, x28, #4
cmp x28, #256
b.ne LBB0_2
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
add x21, x21, #1
add x22, x22, #256
add x27, x27, #256
add x26, x26, #256
add x25, x25, #256
cmp x21, #64
b.ne LBB0_1
; %bb.4:
mov x8, #0 ; =0x0
Lloh8:
adrp x9, _A@PAGE
Lloh9:
add x9, x9, _A@PAGEOFF
Lloh10:
adrp x10, _B@PAGE+256
Lloh11:
add x10, x10, _B@PAGEOFF+256
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
; Child Loop BB0_7 Depth 3
mov x11, #0 ; =0x0
mov x12, x10
LBB0_6: ; Parent Loop BB0_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_7 Depth 3
mov x14, #0 ; =0x0
mov w13, #0 ; =0x0
add x15, x20, x8, lsl #8
add x15, x15, x11, lsl #2
ldr w16, [x15]
mov x17, x12
LBB0_7: ; Parent Loop BB0_5 Depth=1
; Parent Loop BB0_6 Depth=2
; => This Inner Loop Header: Depth=3
add x0, x9, x14
ldp w1, w0, [x0]
ldur w2, [x17, #-256]
ldr w3, [x17]
madd w16, w2, w1, w16
madd w13, w3, w0, w13
add x14, x14, #8
add x17, x17, #512
cmp x14, #256
b.ne LBB0_7
; %bb.8: ; in Loop: Header=BB0_6 Depth=2
add w13, w13, w16
str w13, [x15]
add x11, x11, #1
add x12, x12, #4
cmp x11, #64
b.ne LBB0_6
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
add x8, x8, #1
add x9, x9, #256
cmp x8, #64
b.ne LBB0_5
; %bb.10:
mov x8, #0 ; =0x0
Lloh12:
adrp x9, _A@PAGE
Lloh13:
add x9, x9, _A@PAGEOFF
Lloh14:
adrp x10, _B@PAGE+128
Lloh15:
add x10, x10, _B@PAGEOFF+128
LBB0_11: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
mov x11, #0 ; =0x0
add x12, x19, x8, lsl #8
mov x13, x12
ldr q0, [x13, #16]!
mov x14, x12
ldr q1, [x14, #32]!
mov x15, x12
ldr q2, [x15, #48]!
mov x16, x12
ldr q3, [x16, #64]!
mov x17, x12
ldr q4, [x17, #80]!
mov x0, x12
ldr q5, [x0, #96]!
mov x1, x12
ldr q6, [x1, #112]!
mov x2, x12
ldr q7, [x2, #128]!
mov x3, x12
ldr q16, [x3, #144]!
mov x4, x12
ldr q17, [x4, #160]!
mov x5, x12
ldr q18, [x5, #176]!
mov x6, x12
ldr q19, [x6, #192]!
mov x7, x12
ldr q20, [x7, #208]!
mov x21, x12
ldr q22, [x21, #224]!
mov x20, x12
ldr q21, [x20, #240]!
ldr q23, [x12]
mov x22, x10
LBB0_12: ; Parent Loop BB0_11 Depth=1
; => This Inner Loop Header: Depth=2
add x23, x9, x11
ld1r.4s { v24 }, [x23]
ldp q25, q26, [x22, #-128]
ldp q27, q28, [x22, #-96]
mla.4s v23, v25, v24
mla.4s v0, v26, v24
mla.4s v1, v27, v24
mla.4s v2, v28, v24
ldp q25, q26, [x22, #-64]
ldp q27, q28, [x22, #-32]
mla.4s v3, v25, v24
mla.4s v4, v26, v24
mla.4s v5, v27, v24
mla.4s v6, v28, v24
ldp q25, q26, [x22]
ldp q27, q28, [x22, #32]
mla.4s v7, v25, v24
mla.4s v16, v26, v24
mla.4s v17, v27, v24
mla.4s v18, v28, v24
ldp q25, q26, [x22, #64]
ldp q27, q28, [x22, #96]
mla.4s v19, v25, v24
mla.4s v20, v26, v24
mla.4s v22, v27, v24
mla.4s v21, v28, v24
add x11, x11, #4
add x22, x22, #256
cmp x11, #256
b.ne LBB0_12
; %bb.13: ; in Loop: Header=BB0_11 Depth=1
str q23, [x12]
str q0, [x13]
str q1, [x14]
str q2, [x15]
str q3, [x16]
str q4, [x17]
str q5, [x0]
str q6, [x1]
str q7, [x2]
str q16, [x3]
str q17, [x4]
str q18, [x5]
str q19, [x6]
str q20, [x7]
str q22, [x21]
add x8, x8, #1
add x9, x9, #256
str q21, [x20]
cmp x8, #64
b.ne LBB0_11
; %bb.14:
mov x8, #0 ; =0x0
Lloh16:
adrp x9, _C@PAGE
Lloh17:
add x9, x9, _C@PAGEOFF
Lloh18:
adrp x10, _refC@PAGE
Lloh19:
add x10, x10, _refC@PAGEOFF
LBB0_15: ; =>This Loop Header: Depth=1
; Child Loop BB0_16 Depth 2
mov x11, #0 ; =0x0
LBB0_16: ; Parent Loop BB0_15 Depth=1
; => This Inner Loop Header: Depth=2
lsl x13, x11, #2
ldr w12, [x9, x13]
ldr w13, [x10, x13]
cmp w12, w13
b.ne LBB0_28
; %bb.17: ; in Loop: Header=BB0_16 Depth=2
add x12, x11, #1
cmp x11, #63
mov x11, x12
b.lo LBB0_16
; %bb.18: ; in Loop: Header=BB0_15 Depth=1
add x11, x8, #1
add x9, x9, #256
add x10, x10, #256
cmp x8, #63
mov x8, x11
b.lo LBB0_15
; %bb.19:
mov x8, #0 ; =0x0
mov w9, #0 ; =0x0
mov w10, #46473 ; =0xb589
movk w10, #5368, lsl #16
mov w11, #34464 ; =0x86a0
movk w11, #1, lsl #16
Lloh20:
adrp x12, _C@PAGE
Lloh21:
add x12, x12, _C@PAGEOFF
LBB0_20: ; =>This Loop Header: Depth=1
; Child Loop BB0_21 Depth 2
mov x13, #0 ; =0x0
LBB0_21: ; Parent Loop BB0_20 Depth=1
; => This Inner Loop Header: Depth=2
ldr w14, [x12, x13]
add w9, w14, w9
smull x14, w9, w10
lsr x15, x14, #63
asr x14, x14, #45
add w14, w14, w15
msub w9, w14, w11, w9
add x13, x13, #4
cmp x13, #256
b.ne LBB0_21
; %bb.22: ; in Loop: Header=BB0_20 Depth=1
add x8, x8, #1
add x12, x12, #256
cmp x8, #64
b.ne LBB0_20
; %bb.23:
str x9, [sp]
Lloh22:
adrp x0, l_.str.1@PAGE
Lloh23:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
Lloh24:
adrp x0, l_.str.2@PAGE
Lloh25:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov x21, #0 ; =0x0
Lloh26:
adrp x22, _C@PAGE
Lloh27:
add x22, x22, _C@PAGEOFF
Lloh28:
adrp x19, l_.str.3@PAGE
Lloh29:
add x19, x19, l_.str.3@PAGEOFF
Lloh30:
adrp x20, l_.str.4@PAGE
Lloh31:
add x20, x20, l_.str.4@PAGEOFF
LBB0_24: ; =>This Loop Header: Depth=1
; Child Loop BB0_25 Depth 2
mov x23, #0 ; =0x0
LBB0_25: ; Parent Loop BB0_24 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x22, x23]
str x8, [sp]
mov x0, x19
bl _libmin_printf
add x23, x23, #4
cmp x23, #256
b.ne LBB0_25
; %bb.26: ; in Loop: Header=BB0_24 Depth=1
mov x0, x20
bl _libmin_printf
add x21, x21, #1
add x22, x22, #256
cmp x21, #64
b.ne LBB0_24
; %bb.27:
bl _libtarg_success
b LBB0_29
LBB0_28:
stp x12, x13, [sp, #16]
stp x8, x11, [sp]
Lloh32:
adrp x0, l_.str@PAGE
Lloh33:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libtarg_fail
LBB0_29:
mov w0, #0 ; =0x0
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 Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh32, Lloh33
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_A,16384,2 ; @A
.zerofill __DATA,__bss,_B,16384,2 ; @B
.zerofill __DATA,__bss,_C,16384,2 ; @C
.zerofill __DATA,__bss,_refC,16384,2 ; @refC
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Mismatch at (%d, %d): computed %d, expected %d\n"
l_.str.1: ; @.str.1
.asciz "Matrix multiplication successful. Checksum: %d\n"
l_.str.2: ; @.str.2
.asciz "Result Matrix C:\n"
l_.str.3: ; @.str.3
.asciz "%d "
l_.str.4: ; @.str.4
.asciz "\n"
.subsections_via_symbols
|
k-means.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function calculateNearst
LCPI0_0:
.quad 0x7fefffffffffffff ## double 1.7976931348623157E+308
.section __TEXT,__text,regular,pure_instructions
.globl _calculateNearst
.p2align 4, 0x90
_calculateNearst: ## @calculateNearst
.cfi_startproc
## %bb.0:
testl %edx, %edx
jle LBB0_1
## %bb.3:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movsd (%rdi), %xmm1 ## xmm1 = mem[0],zero
movsd 8(%rdi), %xmm0 ## xmm0 = mem[0],zero
movl %edx, %edi
cmpl $1, %edx
jne LBB0_5
## %bb.4:
movsd LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero
movl $-1, %eax
xorl %ecx, %ecx
jmp LBB0_7
LBB0_1:
movl $-1, %eax
retq
LBB0_5:
movl %edi, %edx
andl $-2, %edx
leaq 32(%rsi), %r8
movsd LCPI0_0(%rip), %xmm2 ## xmm2 = mem[0],zero
movl $-1, %eax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movsd -32(%r8), %xmm3 ## xmm3 = mem[0],zero
movsd -24(%r8), %xmm4 ## xmm4 = mem[0],zero
subsd %xmm1, %xmm3
subsd %xmm0, %xmm4
mulsd %xmm4, %xmm4
mulsd %xmm3, %xmm3
addsd %xmm4, %xmm3
ucomisd %xmm3, %xmm2
minsd %xmm2, %xmm3
movl %eax, %r9d
cmoval %ecx, %r9d
movsd -8(%r8), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
movsd (%r8), %xmm4 ## xmm4 = mem[0],zero
subsd %xmm0, %xmm4
mulsd %xmm4, %xmm4
mulsd %xmm2, %xmm2
addsd %xmm4, %xmm2
ucomisd %xmm2, %xmm3
leal 1(%rcx), %eax
cmovbel %r9d, %eax
minsd %xmm3, %xmm2
addq $2, %rcx
addq $48, %r8
cmpq %rdx, %rcx
jne LBB0_6
LBB0_7:
testb $1, %dil
je LBB0_9
## %bb.8:
leaq (%rcx,%rcx,2), %rdx
movsd (%rsi,%rdx,8), %xmm3 ## xmm3 = mem[0],zero
movsd 8(%rsi,%rdx,8), %xmm4 ## xmm4 = mem[0],zero
subsd %xmm1, %xmm3
subsd %xmm0, %xmm4
mulsd %xmm4, %xmm4
mulsd %xmm3, %xmm3
addsd %xmm4, %xmm3
ucomisd %xmm3, %xmm2
cmoval %ecx, %eax
LBB0_9:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function calculateCentroid
LCPI1_0:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI1_1:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.section __TEXT,__text,regular,pure_instructions
.globl _calculateCentroid
.p2align 4, 0x90
_calculateCentroid: ## @calculateCentroid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorpd %xmm0, %xmm0
movupd %xmm0, (%rdx)
movq %rsi, 16(%rdx)
testq %rsi, %rsi
je LBB1_7
## %bb.1:
cmpq $1, %rsi
jne LBB1_3
## %bb.2:
xorl %eax, %eax
jmp LBB1_5
LBB1_3:
movq %rsi, %rcx
andq $-2, %rcx
leaq 40(%rdi), %r8
xorl %eax, %eax
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
movupd -40(%r8), %xmm1
addpd %xmm0, %xmm1
movupd -16(%r8), %xmm0
addpd %xmm1, %xmm0
movl $0, -24(%r8)
movl $0, (%r8)
addq $2, %rax
addq $48, %r8
cmpq %rax, %rcx
jne LBB1_4
LBB1_5:
testb $1, %sil
je LBB1_7
## %bb.6:
leaq (%rax,%rax,2), %rax
movupd (%rdi,%rax,8), %xmm1
addpd %xmm1, %xmm0
movl $0, 16(%rdi,%rax,8)
LBB1_7:
movq %rsi, %xmm1
punpckldq LCPI1_0(%rip), %xmm1 ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd LCPI1_1(%rip), %xmm1
haddpd %xmm1, %xmm1
divpd %xmm1, %xmm0
movupd %xmm0, (%rdx)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function kMeans
LCPI2_0:
.quad 4841369599423283200 ## 0x4330000000000000
.quad 4841369599423283200 ## 0x4330000000000000
LCPI2_1:
.quad 4985484787499139072 ## 0x4530000000000000
.quad 4985484787499139072 ## 0x4530000000000000
LCPI2_2:
.quad 0x4530000000100000 ## double 1.9342813118337666E+25
.quad 0x4530000000100000 ## double 1.9342813118337666E+25
LCPI2_3:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI2_4:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0
LCPI2_5:
.quad 0x7fefffffffffffff ## double 1.7976931348623157E+308
.section __TEXT,__text,regular,pure_instructions
.globl _kMeans
.p2align 4, 0x90
_kMeans: ## @kMeans
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %r14
cmpl $1, %edx
jg LBB2_9
## %bb.1:
movl $24, %edi
callq _libmin_malloc
movq %rax, %rbx
movl $24, %edx
movq %rax, %rdi
xorl %esi, %esi
callq _libmin_memset
xorpd %xmm0, %xmm0
movupd %xmm0, (%rbx)
movq %r15, 16(%rbx)
testq %r15, %r15
je LBB2_8
## %bb.2:
cmpq $1, %r15
jne LBB2_4
## %bb.3:
xorl %eax, %eax
jmp LBB2_6
LBB2_9:
movl %edx, %r12d
movq %r15, -56(%rbp) ## 8-byte Spill
movl %edx, %r13d
leaq (,%r13,8), %rax
leaq (%rax,%rax,2), %r15
movq %r15, %rdi
callq _libmin_malloc
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq _libmin_memset
movq -56(%rbp), %rdi ## 8-byte Reload
cmpq %rdi, %r13
jae LBB2_33
## %bb.10:
movq %r13, %rax
movq %r15, -64(%rbp) ## 8-byte Spill
movq %r13, -48(%rbp) ## 8-byte Spill
movq %rdi, %r15
leaq 16(%r14), %r13
.p2align 4, 0x90
LBB2_11: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
xorl %edx, %edx
divl %r12d
movl %edx, (%r13)
addq $24, %r13
decq %r15
jne LBB2_11
## %bb.12:
movabsq $3777893186295716171, %rcx ## imm = 0x346DC5D63886594B
movq -56(%rbp), %r15 ## 8-byte Reload
movq %r15, %rax
mulq %rcx
shrq $11, %rdx
movq %rdx, -96(%rbp) ## 8-byte Spill
movq -48(%rbp), %rax ## 8-byte Reload
movl %eax, %r13d
andl $-2, %r13d
leaq 16(%r14), %rcx
movq %rcx, -88(%rbp) ## 8-byte Spill
## kill: def $eax killed $eax killed $rax def $rax
shrl %eax
shlq $4, %rax
leaq (%rax,%rax,2), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
leaq 32(%rbx), %r11
movq -64(%rbp), %rsi ## 8-byte Reload
movq %r11, -80(%rbp) ## 8-byte Spill
jmp LBB2_13
.p2align 4, 0x90
LBB2_32: ## in Loop: Header=BB2_13 Depth=1
cmpq -96(%rbp), %rax ## 8-byte Folded Reload
movq -64(%rbp), %rsi ## 8-byte Reload
jbe LBB2_40
LBB2_13: ## =>This Loop Header: Depth=1
## Child Loop BB2_14 Depth 2
## Child Loop BB2_18 Depth 2
## Child Loop BB2_21 Depth 2
## Child Loop BB2_23 Depth 2
## Child Loop BB2_26 Depth 3
movq %rbx, %rdi
callq ___bzero
movq -88(%rbp), %rax ## 8-byte Reload
movq %r15, %rcx
.p2align 4, 0x90
LBB2_14: ## Parent Loop BB2_13 Depth=1
## => This Inner Loop Header: Depth=2
movslq (%rax), %rdx
leaq (%rdx,%rdx,2), %rdx
movupd -16(%rax), %xmm0
movupd (%rbx,%rdx,8), %xmm1
addpd %xmm0, %xmm1
movupd %xmm1, (%rbx,%rdx,8)
incq 16(%rbx,%rdx,8)
addq $24, %rax
decq %rcx
jne LBB2_14
## %bb.15: ## in Loop: Header=BB2_13 Depth=1
cmpl $2, %r12d
movq -80(%rbp), %r11 ## 8-byte Reload
movapd LCPI2_3(%rip), %xmm3 ## xmm3 = [1127219200,1160773632,0,0]
movapd LCPI2_4(%rip), %xmm4 ## xmm4 = [4.503599627370496E+15,1.9342813113834067E+25]
movsd LCPI2_5(%rip), %xmm5 ## xmm5 = mem[0],zero
pxor %xmm6, %xmm6
movdqa LCPI2_0(%rip), %xmm7 ## xmm7 = [4841369599423283200,4841369599423283200]
movdqa LCPI2_1(%rip), %xmm8 ## xmm8 = [4985484787499139072,4985484787499139072]
movapd LCPI2_2(%rip), %xmm9 ## xmm9 = [1.9342813118337666E+25,1.9342813118337666E+25]
jae LBB2_17
## %bb.16: ## in Loop: Header=BB2_13 Depth=1
xorl %edx, %edx
movq -48(%rbp), %r10 ## 8-byte Reload
jmp LBB2_20
.p2align 4, 0x90
LBB2_17: ## in Loop: Header=BB2_13 Depth=1
xorl %eax, %eax
movq -72(%rbp), %rcx ## 8-byte Reload
.p2align 4, 0x90
LBB2_18: ## Parent Loop BB2_13 Depth=1
## => This Inner Loop Header: Depth=2
movq 40(%rbx,%rax), %xmm0 ## xmm0 = mem[0],zero
movq 16(%rbx,%rax), %xmm1 ## xmm1 = mem[0],zero
punpcklqdq %xmm0, %xmm1 ## xmm1 = xmm1[0],xmm0[0]
movdqa %xmm1, %xmm0
pblendw $204, %xmm6, %xmm0 ## xmm0 = xmm0[0,1],xmm6[2,3],xmm0[4,5],xmm6[6,7]
por %xmm7, %xmm0
psrlq $32, %xmm1
por %xmm8, %xmm1
subpd %xmm9, %xmm1
addpd %xmm0, %xmm1
movsd (%rbx,%rax), %xmm0 ## xmm0 = mem[0],zero
movhpd 24(%rbx,%rax), %xmm0 ## xmm0 = xmm0[0],mem[0]
movsd 8(%rbx,%rax), %xmm2 ## xmm2 = mem[0],zero
divpd %xmm1, %xmm0
movhpd 32(%rbx,%rax), %xmm2 ## xmm2 = xmm2[0],mem[0]
divpd %xmm1, %xmm2
movapd %xmm0, %xmm1
unpcklpd %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0]
movupd %xmm1, (%rbx,%rax)
movhlps %xmm0, %xmm2 ## xmm2 = xmm0[1],xmm2[1]
movups %xmm2, 24(%rbx,%rax)
addq $48, %rax
cmpq %rax, %rcx
jne LBB2_18
## %bb.19: ## in Loop: Header=BB2_13 Depth=1
movq %r13, %rdx
movq -48(%rbp), %r10 ## 8-byte Reload
cmpq %r10, %r13
je LBB2_22
LBB2_20: ## in Loop: Header=BB2_13 Depth=1
leaq (%rdx,%rdx,2), %rax
leaq (%rbx,%rax,8), %rax
movq %r10, %rcx
subq %rdx, %rcx
.p2align 4, 0x90
LBB2_21: ## Parent Loop BB2_13 Depth=1
## => This Inner Loop Header: Depth=2
movsd 16(%rax), %xmm0 ## xmm0 = mem[0],zero
unpcklps %xmm3, %xmm0 ## xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
subpd %xmm4, %xmm0
movupd (%rax), %xmm1
haddpd %xmm0, %xmm0
divpd %xmm0, %xmm1
movupd %xmm1, (%rax)
addq $24, %rax
decq %rcx
jne LBB2_21
LBB2_22: ## in Loop: Header=BB2_13 Depth=1
xorl %ecx, %ecx
xorl %eax, %eax
jmp LBB2_23
.p2align 4, 0x90
LBB2_31: ## in Loop: Header=BB2_23 Depth=2
incq %rcx
cmpq %r15, %rcx
je LBB2_32
LBB2_23: ## Parent Loop BB2_13 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_26 Depth 3
leaq (%rcx,%rcx,2), %rdx
movsd (%r14,%rdx,8), %xmm1 ## xmm1 = mem[0],zero
movsd 8(%r14,%rdx,8), %xmm0 ## xmm0 = mem[0],zero
movl $-1, %edi
cmpl $1, %r12d
jne LBB2_25
## %bb.24: ## in Loop: Header=BB2_23 Depth=2
xorl %esi, %esi
movapd %xmm5, %xmm2
jmp LBB2_27
.p2align 4, 0x90
LBB2_25: ## in Loop: Header=BB2_23 Depth=2
movq %r11, %r8
xorl %esi, %esi
movapd %xmm5, %xmm2
.p2align 4, 0x90
LBB2_26: ## Parent Loop BB2_13 Depth=1
## Parent Loop BB2_23 Depth=2
## => This Inner Loop Header: Depth=3
movsd -32(%r8), %xmm3 ## xmm3 = mem[0],zero
movsd -24(%r8), %xmm4 ## xmm4 = mem[0],zero
subsd %xmm1, %xmm3
subsd %xmm0, %xmm4
mulsd %xmm4, %xmm4
mulsd %xmm3, %xmm3
addsd %xmm4, %xmm3
ucomisd %xmm3, %xmm2
minsd %xmm2, %xmm3
movl %edi, %r9d
cmoval %esi, %r9d
movsd -8(%r8), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
movsd (%r8), %xmm4 ## xmm4 = mem[0],zero
subsd %xmm0, %xmm4
mulsd %xmm4, %xmm4
mulsd %xmm2, %xmm2
addsd %xmm4, %xmm2
ucomisd %xmm2, %xmm3
leal 1(%rsi), %edi
cmovbel %r9d, %edi
minsd %xmm3, %xmm2
addq $2, %rsi
addq $48, %r8
cmpq %r13, %rsi
jne LBB2_26
LBB2_27: ## in Loop: Header=BB2_23 Depth=2
testb $1, %r10b
je LBB2_29
## %bb.28: ## in Loop: Header=BB2_23 Depth=2
leaq (%rsi,%rsi,2), %r8
movsd (%rbx,%r8,8), %xmm3 ## xmm3 = mem[0],zero
movsd 8(%rbx,%r8,8), %xmm4 ## xmm4 = mem[0],zero
subsd %xmm1, %xmm3
subsd %xmm0, %xmm4
mulsd %xmm4, %xmm4
mulsd %xmm3, %xmm3
addsd %xmm4, %xmm3
ucomisd %xmm3, %xmm2
cmoval %esi, %edi
LBB2_29: ## in Loop: Header=BB2_23 Depth=2
cmpl 16(%r14,%rdx,8), %edi
je LBB2_31
## %bb.30: ## in Loop: Header=BB2_23 Depth=2
leaq (%r14,%rdx,8), %rdx
addq $16, %rdx
incq %rax
movl %edi, (%rdx)
jmp LBB2_31
LBB2_33:
testq %rdi, %rdi
je LBB2_40
## %bb.34:
cmpq $1, %rdi
jne LBB2_36
## %bb.35:
xorl %eax, %eax
jmp LBB2_38
LBB2_4:
movq %r15, %rcx
andq $-2, %rcx
leaq 40(%r14), %rdx
xorl %eax, %eax
.p2align 4, 0x90
LBB2_5: ## =>This Inner Loop Header: Depth=1
movupd -40(%rdx), %xmm1
addpd %xmm0, %xmm1
movupd -16(%rdx), %xmm0
addpd %xmm1, %xmm0
movl $0, -24(%rdx)
movl $0, (%rdx)
addq $2, %rax
addq $48, %rdx
cmpq %rax, %rcx
jne LBB2_5
LBB2_6:
testb $1, %r15b
je LBB2_8
## %bb.7:
leaq (%rax,%rax,2), %rax
movupd (%r14,%rax,8), %xmm1
addpd %xmm1, %xmm0
movl $0, 16(%r14,%rax,8)
LBB2_8:
movq %r15, %xmm1
punpckldq LCPI2_3(%rip), %xmm1 ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd LCPI2_4(%rip), %xmm1
haddpd %xmm1, %xmm1
divpd %xmm1, %xmm0
movupd %xmm0, (%rbx)
LBB2_40:
movq %rbx, %rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_36:
movq %rdi, %rcx
andq $-2, %rcx
movl $40, %edx
xorl %eax, %eax
.p2align 4, 0x90
LBB2_37: ## =>This Inner Loop Header: Depth=1
movups -40(%r14,%rdx), %xmm0
movups %xmm0, -40(%rbx,%rdx)
movq $1, -24(%rbx,%rdx)
movl %eax, -24(%r14,%rdx)
movupd -16(%r14,%rdx), %xmm0
movupd %xmm0, -16(%rbx,%rdx)
movq $1, (%rbx,%rdx)
leal 1(%rax), %esi
movl %esi, (%r14,%rdx)
addq $2, %rax
addq $48, %rdx
cmpq %rcx, %rax
jne LBB2_37
LBB2_38:
testb $1, %dil
je LBB2_40
## %bb.39:
leaq (,%rax,8), %rcx
leaq (%rcx,%rcx,2), %rcx
movupd (%r14,%rcx), %xmm0
movupd %xmm0, (%rbx,%rcx)
movq $1, 16(%rbx,%rcx)
movl %eax, 16(%r14,%rcx)
jmp LBB2_40
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function printEPS
LCPI3_0:
.quad 0x7fefffffffffffff ## double 1.7976931348623157E+308
.quad 0x7fefffffffffffff ## double 1.7976931348623157E+308
LCPI3_1:
.quad 0x0010000000000000 ## double 2.2250738585072014E-308
.quad 0x0010000000000000 ## double 2.2250738585072014E-308
LCPI3_2:
.quad 0x4079000000000000 ## double 400
.quad 0x4079000000000000 ## double 400
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0
LCPI3_3:
.quad 0x3fe0000000000000 ## double 0.5
LCPI3_4:
.quad 0x4069000000000000 ## double 200
.section __TEXT,__text,regular,pure_instructions
.globl _printEPS
.p2align 4, 0x90
_printEPS: ## @printEPS
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r13d
movq %rdx, -112(%rbp) ## 8-byte Spill
movq %rsi, %rbx
movq %rdi, -48(%rbp) ## 8-byte Spill
leal (%r13,%r13,2), %eax
movslq %eax, %rdi
shlq $3, %rdi
callq _libmin_malloc
movq %rax, %r12
movl %r13d, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
testl %r13d, %r13d
jle LBB3_3
## %bb.1:
cvtsi2sd %r13d, %xmm0
movq -56(%rbp), %rax ## 8-byte Reload
leaq (,%rax,8), %rdi
subq %rax, %rdi
xorl %ecx, %ecx
movl $2, %r8d
xorl %esi, %esi
.p2align 4, 0x90
LBB3_2: ## =>This Inner Loop Header: Depth=1
leal 1(%r8), %eax
cltd
idivl %r13d
xorps %xmm1, %xmm1
cvtsi2sd %edx, %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, -16(%r12,%r8,8)
movl %ecx, %eax
cltd
idivl %r13d
xorps %xmm1, %xmm1
cvtsi2sd %edx, %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, -8(%r12,%r8,8)
movl %esi, %eax
cltd
idivl %r13d
xorps %xmm1, %xmm1
cvtsi2sd %edx, %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%r12,%r8,8)
addl $9, %esi
addq $7, %rcx
addq $3, %r8
cmpq %rcx, %rdi
jne LBB3_2
LBB3_3:
testq %rbx, %rbx
je LBB3_4
## %bb.5:
cmpq $1, %rbx
jne LBB3_7
## %bb.6:
movapd LCPI3_0(%rip), %xmm4 ## xmm4 = [1.7976931348623157E+308,1.7976931348623157E+308]
movapd LCPI3_1(%rip), %xmm3 ## xmm3 = [2.2250738585072014E-308,2.2250738585072014E-308]
xorl %eax, %eax
jmp LBB3_9
LBB3_4:
movapd LCPI3_0(%rip), %xmm4 ## xmm4 = [1.7976931348623157E+308,1.7976931348623157E+308]
movapd LCPI3_1(%rip), %xmm3 ## xmm3 = [2.2250738585072014E-308,2.2250738585072014E-308]
jmp LBB3_11
LBB3_7:
movq %rbx, %rcx
andq $-2, %rcx
movapd LCPI3_0(%rip), %xmm0 ## xmm0 = [1.7976931348623157E+308,1.7976931348623157E+308]
movapd LCPI3_1(%rip), %xmm3 ## xmm3 = [2.2250738585072014E-308,2.2250738585072014E-308]
xorl %eax, %eax
movq -48(%rbp), %rdx ## 8-byte Reload
.p2align 4, 0x90
LBB3_8: ## =>This Inner Loop Header: Depth=1
movupd (%rdx), %xmm1
movupd 24(%rdx), %xmm4
movapd %xmm1, %xmm2
maxpd %xmm3, %xmm2
minpd %xmm0, %xmm1
movapd %xmm4, %xmm3
maxpd %xmm2, %xmm3
minpd %xmm1, %xmm4
addq $2, %rax
addq $48, %rdx
movapd %xmm4, %xmm0
cmpq %rax, %rcx
jne LBB3_8
LBB3_9:
testb $1, %bl
je LBB3_11
## %bb.10:
leaq (%rax,%rax,2), %rax
movq -48(%rbp), %rcx ## 8-byte Reload
movupd (%rcx,%rax,8), %xmm0
movapd %xmm0, %xmm1
maxpd %xmm3, %xmm1
minpd %xmm4, %xmm0
movapd %xmm1, %xmm3
movapd %xmm0, %xmm4
LBB3_11:
movapd %xmm4, -80(%rbp) ## 16-byte Spill
movapd %xmm3, -96(%rbp) ## 16-byte Spill
leaq L_.str(%rip), %rdi
movl $410, %esi ## imm = 0x19A
movl $410, %edx ## imm = 0x19A
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testl %r13d, %r13d
jle LBB3_19
## %bb.12:
movapd -96(%rbp), %xmm2 ## 16-byte Reload
movapd %xmm2, %xmm0
movapd -80(%rbp), %xmm3 ## 16-byte Reload
subpd %xmm3, %xmm0
movapd LCPI3_2(%rip), %xmm1 ## xmm1 = [4.0E+2,4.0E+2]
divpd %xmm0, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0 ## xmm0 = xmm0[1],xmm1[1]
minsd %xmm1, %xmm0
movapd %xmm0, -128(%rbp) ## 16-byte Spill
addpd %xmm3, %xmm2
movsd LCPI3_3(%rip), %xmm0 ## xmm0 = mem[0],zero
movapd %xmm2, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm1, -80(%rbp) ## 16-byte Spill
unpckhpd %xmm2, %xmm2 ## xmm2 = xmm2[1,1]
mulsd %xmm0, %xmm2
movapd %xmm2, -96(%rbp) ## 16-byte Spill
addq $16, -48(%rbp) ## 8-byte Folded Spill
xorl %r15d, %r15d
leaq L_.str.3(%rip), %r13
movq %rbx, -64(%rbp) ## 8-byte Spill
movq %r12, -104(%rbp) ## 8-byte Spill
jmp LBB3_13
.p2align 4, 0x90
LBB3_18: ## in Loop: Header=BB3_13 Depth=1
movq -112(%rbp), %rax ## 8-byte Reload
movsd (%rax,%r14,8), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%rax,%r14,8), %xmm1 ## xmm1 = mem[0],zero
subsd -80(%rbp), %xmm0 ## 16-byte Folded Reload
movapd -128(%rbp), %xmm2 ## 16-byte Reload
mulsd %xmm2, %xmm0
movsd LCPI3_4(%rip), %xmm3 ## xmm3 = mem[0],zero
addsd %xmm3, %xmm0
subsd -96(%rbp), %xmm1 ## 16-byte Folded Reload
mulsd %xmm2, %xmm1
addsd %xmm3, %xmm1
leaq L_.str.4(%rip), %rdi
movb $2, %al
callq _libmin_printf
incq %r15
cmpq -56(%rbp), %r15 ## 8-byte Folded Reload
movq -64(%rbp), %rbx ## 8-byte Reload
movq -104(%rbp), %r12 ## 8-byte Reload
je LBB3_19
LBB3_13: ## =>This Loop Header: Depth=1
## Child Loop BB3_15 Depth 2
leaq (%r15,%r15,2), %r14
movsd (%r12,%r14,8), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%r12,%r14,8), %xmm1 ## xmm1 = mem[0],zero
movsd 16(%r12,%r14,8), %xmm2 ## xmm2 = mem[0],zero
leaq L_.str.2(%rip), %rdi
movb $3, %al
callq _libmin_printf
testq %rbx, %rbx
je LBB3_18
## %bb.14: ## in Loop: Header=BB3_13 Depth=1
movq -48(%rbp), %rbx ## 8-byte Reload
movq -64(%rbp), %r12 ## 8-byte Reload
jmp LBB3_15
.p2align 4, 0x90
LBB3_17: ## in Loop: Header=BB3_15 Depth=2
addq $24, %rbx
decq %r12
je LBB3_18
LBB3_15: ## Parent Loop BB3_13 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rbx), %eax
cmpq %rax, %r15
jne LBB3_17
## %bb.16: ## in Loop: Header=BB3_15 Depth=2
movsd -16(%rbx), %xmm0 ## xmm0 = mem[0],zero
movsd -8(%rbx), %xmm1 ## xmm1 = mem[0],zero
subsd -80(%rbp), %xmm0 ## 16-byte Folded Reload
movapd -128(%rbp), %xmm2 ## 16-byte Reload
mulsd %xmm2, %xmm0
movsd LCPI3_4(%rip), %xmm3 ## xmm3 = mem[0],zero
addsd %xmm3, %xmm0
subsd -96(%rbp), %xmm1 ## 16-byte Folded Reload
mulsd %xmm2, %xmm1
addsd %xmm3, %xmm1
movq %r13, %rdi
movb $2, %al
callq _libmin_printf
jmp LBB3_17
LBB3_19:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r12, %rdi
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _libmin_free ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function test2
LCPI4_0:
.quad 0x41dfffffffc00000 ## double 2147483647
LCPI4_1:
.quad 0x4034000000000000 ## double 20
LCPI4_2:
.quad 0x401921fb54442d18 ## double 6.2831853071795862
.section __TEXT,__text,regular,pure_instructions
.globl _test2
.p2align 4, 0x90
_test2: ## @test2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $24000000, %edi ## imm = 0x16E3600
callq _libmin_malloc
movq %rax, %rbx
movl $8, %r14d
.p2align 4, 0x90
LBB4_1: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
movl %eax, %eax
xorps %xmm1, %xmm1
cvtsi2sd %rax, %xmm1
movsd LCPI4_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm0, %xmm1
mulsd LCPI4_1(%rip), %xmm1
movsd %xmm1, -24(%rbp) ## 8-byte Spill
callq _libmin_rand
movl %eax, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd LCPI4_0(%rip), %xmm0
mulsd LCPI4_2(%rip), %xmm0
movsd %xmm0, -32(%rbp) ## 8-byte Spill
callq _libmin_cos
mulsd -24(%rbp), %xmm0 ## 8-byte Folded Reload
movsd %xmm0, -8(%rbx,%r14)
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_sin
mulsd -24(%rbp), %xmm0 ## 8-byte Folded Reload
movsd %xmm0, (%rbx,%r14)
addq $24, %r14
cmpq $24000008, %r14 ## imm = 0x16E3608
jne LBB4_1
## %bb.2:
movl $1000000, %esi ## imm = 0xF4240
movq %rbx, %rdi
movl $11, %edx
callq _kMeans
movq %rax, %r14
movl $1000000, %esi ## imm = 0xF4240
movq %rbx, %rdi
movq %rax, %rdx
movl $11, %ecx
callq _printEPS
movq %rbx, %rdi
callq _libmin_free
movq %r14, %rdi
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
jmp _libmin_free ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function main
LCPI5_0:
.quad 0x41dfffffffc00000 ## double 2147483647
LCPI5_1:
.quad 0x4034000000000000 ## double 20
LCPI5_2:
.quad 0x401921fb54442d18 ## double 6.2831853071795862
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $42, %edi
callq _libmin_srand
movl $4800, %edi ## imm = 0x12C0
callq _libmin_malloc
movq %rax, %rbx
movl $8, %r14d
.p2align 4, 0x90
LBB5_1: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
movl %eax, %eax
xorps %xmm1, %xmm1
cvtsi2sd %rax, %xmm1
movsd LCPI5_0(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm0, %xmm1
mulsd LCPI5_1(%rip), %xmm1
movsd %xmm1, -24(%rbp) ## 8-byte Spill
callq _libmin_rand
movl %eax, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd LCPI5_0(%rip), %xmm0
mulsd LCPI5_2(%rip), %xmm0
movsd %xmm0, -32(%rbp) ## 8-byte Spill
callq _libmin_cos
mulsd -24(%rbp), %xmm0 ## 8-byte Folded Reload
movsd %xmm0, -8(%rbx,%r14)
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_sin
mulsd -24(%rbp), %xmm0 ## 8-byte Folded Reload
movsd %xmm0, (%rbx,%r14)
addq $24, %r14
cmpq $4808, %r14 ## imm = 0x12C8
jne LBB5_1
## %bb.2:
movl $200, %esi
movq %rbx, %rdi
movl $5, %edx
callq _kMeans
movq %rax, %r14
movl $200, %esi
movq %rbx, %rdi
movq %rax, %rdx
movl $5, %ecx
callq _printEPS
movq %rbx, %rdi
callq _libmin_free
movq %r14, %rdi
callq _libmin_free
callq _libmin_success
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%%!PS-Adobe-3.0 EPSF-3.0\n%%%%BoundingBox: -5 -5 %d %d\n"
L_.str.1: ## @.str.1
.asciz "/l {rlineto} def /m {rmoveto} def\n/c { .25 sub exch .25 sub exch .5 0 360 arc fill } def\n/s { moveto -2 0 m 2 2 l 2 -2 l -2 -2 l closepath \tgsave 1 setgray fill grestore gsave 3 setlinewidth 1 setgray stroke grestore 0 setgray stroke }def\n"
L_.str.2: ## @.str.2
.asciz "%g %g %g setrgbcolor\n"
L_.str.3: ## @.str.3
.asciz "%.3f %.3f c\n"
L_.str.4: ## @.str.4
.asciz "\n0 setgray %g %g s\n"
L_.str.5: ## @.str.5
.asciz "\n%%%%EOF\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _calculateNearst ; -- Begin function calculateNearst
.p2align 2
_calculateNearst: ; @calculateNearst
.cfi_startproc
; %bb.0:
cmp w2, #1
b.lt LBB0_4
; %bb.1:
mov x8, #0 ; =0x0
ldp d0, d1, [x0]
mov w9, w2
add x10, x1, #8
mov w0, #-1 ; =0xffffffff
mov x11, #9218868437227405311 ; =0x7fefffffffffffff
fmov d2, x11
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldp d3, d4, [x10, #-8]
fsub d3, d3, d0
fsub d4, d4, d1
fmul d4, d4, d4
fmadd d3, d3, d3, d4
fcmp d3, d2
fcsel d2, d3, d2, mi
csel w0, w8, w0, mi
add x8, x8, #1
add x10, x10, #24
cmp x9, x8
b.ne LBB0_2
; %bb.3:
ret
LBB0_4:
mov w0, #-1 ; =0xffffffff
ret
.cfi_endproc
; -- End function
.globl _calculateCentroid ; -- Begin function calculateCentroid
.p2align 2
_calculateCentroid: ; @calculateCentroid
.cfi_startproc
; %bb.0:
stp xzr, xzr, [x2]
str x1, [x2, #16]
cbz x1, LBB1_3
; %bb.1:
cmp x1, #4
b.hs LBB1_4
; %bb.2:
mov x8, #0 ; =0x0
movi.2d v0, #0000000000000000
b LBB1_7
LBB1_3:
movi.2d v0, #0000000000000000
b LBB1_9
LBB1_4:
and x8, x1, #0xfffffffffffffffc
add x9, x0, #48
movi.2d v0, #0000000000000000
mov x10, x8
LBB1_5: ; =>This Inner Loop Header: Depth=1
stur wzr, [x9, #-32]
stur wzr, [x9, #-8]
str wzr, [x9, #16]
str wzr, [x9, #40]
ldur q1, [x9, #-48]
ldur q2, [x9, #-24]
ldr q3, [x9]
ldur q4, [x9, #24]
fadd.2d v0, v0, v1
fadd.2d v0, v0, v2
fadd.2d v0, v0, v3
fadd.2d v0, v0, v4
add x9, x9, #96
subs x10, x10, #4
b.ne LBB1_5
; %bb.6:
cmp x8, x1
b.eq LBB1_9
LBB1_7:
sub x9, x1, x8
mov w10, #24 ; =0x18
madd x8, x8, x10, x0
add x8, x8, #16
LBB1_8: ; =>This Inner Loop Header: Depth=1
ldur q1, [x8, #-16]
fadd.2d v0, v1, v0
str wzr, [x8], #24
subs x9, x9, #1
b.ne LBB1_8
LBB1_9:
ucvtf d1, x1
dup.2d v1, v1[0]
fdiv.2d v0, v0, v1
str q0, [x2]
ret
.cfi_endproc
; -- End function
.globl _kMeans ; -- Begin function kMeans
.p2align 2
_kMeans: ; @kMeans
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x21, x0
cmp w2, #1
b.gt LBB2_4
; %bb.1:
mov w0, #24 ; =0x18
bl _libmin_malloc
mov x20, x0
mov w1, #0 ; =0x0
mov w2, #24 ; =0x18
bl _libmin_memset
stp xzr, xzr, [x20]
str x19, [x20, #16]
cbz x19, LBB2_27
; %bb.2:
cmp x19, #4
b.hs LBB2_28
; %bb.3:
mov x8, #0 ; =0x0
movi.2d v0, #0000000000000000
b LBB2_31
LBB2_4:
mov x22, x2
mov w24, w2
add x8, x24, w2, uxtw #1
lsl x23, x8, #3
mov x0, x23
bl _libmin_malloc
mov x20, x0
mov w1, #0 ; =0x0
mov x2, x23
bl _libmin_memset
cmp x24, x19
b.hs LBB2_24
; %bb.5:
str x23, [sp, #8] ; 8-byte Folded Spill
add x23, x21, #16
mov x25, x19
LBB2_6: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
udiv w8, w0, w22
msub w8, w8, w22, w0
str w8, [x23], #24
subs x25, x25, #1
b.ne LBB2_6
; %bb.7:
mov x8, #22859 ; =0x594b
movk x8, #14470, lsl #16
movk x8, #50646, lsl #32
movk x8, #13421, lsl #48
umulh x8, x19, x8
lsr x25, x8, #11
and x26, x24, #0xfffffffe
add x27, x21, #16
add x28, x20, #8
mov w23, #24 ; =0x18
b LBB2_9
LBB2_8: ; in Loop: Header=BB2_9 Depth=1
cmp x8, x25
b.ls LBB2_38
LBB2_9: ; =>This Loop Header: Depth=1
; Child Loop BB2_10 Depth 2
; Child Loop BB2_14 Depth 2
; Child Loop BB2_17 Depth 2
; Child Loop BB2_20 Depth 2
; Child Loop BB2_21 Depth 3
mov x0, x20
ldr x1, [sp, #8] ; 8-byte Folded Reload
bl _bzero
mov x8, x27
mov x9, x19
LBB2_10: ; Parent Loop BB2_9 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x10, [x8]
smaddl x10, w10, w23, x20
ldur q0, [x8, #-16]
ldr q1, [x10]
fadd.2d v0, v0, v1
str q0, [x10]
ldr x11, [x10, #16]
add x11, x11, #1
str x11, [x10, #16]
add x8, x8, #24
subs x9, x9, #1
b.ne LBB2_10
; %bb.11: ; in Loop: Header=BB2_9 Depth=1
cmp w22, #2
b.hs LBB2_13
; %bb.12: ; in Loop: Header=BB2_9 Depth=1
mov x9, #0 ; =0x0
b LBB2_16
LBB2_13: ; in Loop: Header=BB2_9 Depth=1
mov x8, x26
mov x10, x20
mov x9, x20
LBB2_14: ; Parent Loop BB2_9 Depth=1
; => This Inner Loop Header: Depth=2
ld3.2d { v0, v1, v2 }, [x9], #48
ucvtf.2d v3, v2
fdiv.2d v4, v0, v3
fdiv.2d v0, v1, v3
zip1.2d v1, v4, v0
str q1, [x10]
zip2.2d v0, v4, v0
stur q0, [x10, #24]
mov x10, x9
subs x8, x8, #2
b.ne LBB2_14
; %bb.15: ; in Loop: Header=BB2_9 Depth=1
mov x9, x26
cmp x26, x24
b.eq LBB2_18
LBB2_16: ; in Loop: Header=BB2_9 Depth=1
umaddl x8, w9, w23, x20
sub x9, x24, x9
LBB2_17: ; Parent Loop BB2_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr d0, [x8, #16]
ucvtf d0, d0
ldr q1, [x8]
dup.2d v0, v0[0]
fdiv.2d v0, v1, v0
str q0, [x8], #24
subs x9, x9, #1
b.ne LBB2_17
LBB2_18: ; in Loop: Header=BB2_9 Depth=1
mov x9, #0 ; =0x0
mov x8, #0 ; =0x0
b LBB2_20
LBB2_19: ; in Loop: Header=BB2_20 Depth=2
add x9, x9, #1
cmp x9, x19
b.eq LBB2_8
LBB2_20: ; Parent Loop BB2_9 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_21 Depth 3
mov x11, #0 ; =0x0
madd x10, x9, x23, x21
ldp d0, d1, [x10]
mov w10, #-1 ; =0xffffffff
mov x12, #9218868437227405311 ; =0x7fefffffffffffff
fmov d2, x12
mov x12, x28
LBB2_21: ; Parent Loop BB2_9 Depth=1
; Parent Loop BB2_20 Depth=2
; => This Inner Loop Header: Depth=3
ldp d3, d4, [x12, #-8]
fsub d3, d3, d0
fsub d4, d4, d1
fmul d4, d4, d4
fmadd d3, d3, d3, d4
fcmp d3, d2
fcsel d2, d3, d2, mi
csel w10, w11, w10, mi
add x11, x11, #1
add x12, x12, #24
cmp x24, x11
b.ne LBB2_21
; %bb.22: ; in Loop: Header=BB2_20 Depth=2
madd x11, x9, x23, x21
ldr w12, [x11, #16]!
cmp w10, w12
b.eq LBB2_19
; %bb.23: ; in Loop: Header=BB2_20 Depth=2
add x8, x8, #1
str w10, [x11]
b LBB2_19
LBB2_24:
cbz x19, LBB2_38
; %bb.25:
cmp x19, #5
b.hs LBB2_34
; %bb.26:
mov x8, #0 ; =0x0
b LBB2_36
LBB2_27:
movi.2d v0, #0000000000000000
b LBB2_33
LBB2_28:
and x8, x19, #0xfffffffffffffffc
add x9, x21, #48
movi.2d v0, #0000000000000000
mov x10, x8
LBB2_29: ; =>This Inner Loop Header: Depth=1
stur wzr, [x9, #-32]
stur wzr, [x9, #-8]
str wzr, [x9, #16]
str wzr, [x9, #40]
ldur q1, [x9, #-48]
ldur q2, [x9, #-24]
ldr q3, [x9]
ldur q4, [x9, #24]
fadd.2d v0, v0, v1
fadd.2d v0, v0, v2
fadd.2d v0, v0, v3
fadd.2d v0, v0, v4
add x9, x9, #96
subs x10, x10, #4
b.ne LBB2_29
; %bb.30:
cmp x8, x19
b.eq LBB2_33
LBB2_31:
sub x9, x19, x8
mov w10, #24 ; =0x18
madd x8, x8, x10, x21
add x8, x8, #16
LBB2_32: ; =>This Inner Loop Header: Depth=1
ldur q1, [x8, #-16]
fadd.2d v0, v0, v1
str wzr, [x8], #24
subs x9, x9, #1
b.ne LBB2_32
LBB2_33:
ucvtf d1, x19
dup.2d v1, v1[0]
fdiv.2d v0, v0, v1
str q0, [x20]
b LBB2_38
LBB2_34:
mov x9, #0 ; =0x0
ands x8, x19, #0x3
mov w10, #4 ; =0x4
csel x8, x10, x8, eq
sub x8, x19, x8
add x10, x21, #48
mov w11, #1 ; =0x1
dup.2d v0, x11
mov x11, x20
LBB2_35: ; =>This Inner Loop Header: Depth=1
sub x12, x10, #48
ld3.2d { v1, v2, v3 }, [x12]
ld3.2d { v4, v5, v6 }, [x10]
mov.16b v3, v0
mov.16b v6, v0
add x12, x11, #96
st3.2d { v1, v2, v3 }, [x11], #48
st3.2d { v4, v5, v6 }, [x11]
add w11, w9, #1
add w13, w9, #2
add w14, w9, #3
stur w9, [x10, #-32]
stur w11, [x10, #-8]
add x9, x9, #4
str w13, [x10, #16]
str w14, [x10, #40]
add x10, x10, #96
mov x11, x12
cmp x8, x9
b.ne LBB2_35
LBB2_36:
add x9, x8, x8, lsl #1
lsl x9, x9, #3
mov w10, #1 ; =0x1
LBB2_37: ; =>This Inner Loop Header: Depth=1
add x11, x21, x9
add x12, x20, x9
ldr q0, [x11]
str q0, [x12]
str x10, [x12, #16]
str w8, [x11, #16]
add x8, x8, #1
add x9, x9, #24
cmp x19, x8
b.ne LBB2_37
LBB2_38:
mov x0, x20
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _printEPS ; -- Begin function printEPS
.p2align 2
_printEPS: ; @printEPS
.cfi_startproc
; %bb.0:
sub sp, sp, #192
stp d13, d12, [sp, #48] ; 16-byte Folded Spill
stp d11, d10, [sp, #64] ; 16-byte Folded Spill
stp d9, d8, [sp, #80] ; 16-byte Folded Spill
stp x28, x27, [sp, #96] ; 16-byte Folded Spill
stp x26, x25, [sp, #112] ; 16-byte Folded Spill
stp x24, x23, [sp, #128] ; 16-byte Folded Spill
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
.cfi_offset b10, -120
.cfi_offset b11, -128
.cfi_offset b12, -136
.cfi_offset b13, -144
mov x23, x3
str x2, [sp, #24] ; 8-byte Folded Spill
mov x21, x1
mov x22, x0
add w8, w3, w3, lsl #1
sbfiz x0, x8, #3, #32
bl _libmin_malloc
mov w8, w23
stp x8, x0, [sp, #32] ; 16-byte Folded Spill
cmp w23, #1
b.lt LBB3_3
; %bb.1:
mov x8, #0 ; =0x0
mov w9, #0 ; =0x0
scvtf d0, w23
ldp x12, x10, [sp, #32] ; 16-byte Folded Reload
add x10, x10, #8
ubfiz x11, x23, #3, #32
sub x11, x11, x12
mov w12, #3 ; =0x3
LBB3_2: ; =>This Inner Loop Header: Depth=1
sdiv w13, w12, w23
msub w13, w13, w23, w12
scvtf d1, w13
fdiv d3, d1, d0
sdiv w13, w8, w23
msub w13, w13, w23, w8
scvtf d1, w13
fdiv d1, d1, d0
sdiv w13, w9, w23
msub w13, w13, w23, w9
scvtf d2, w13
fdiv d2, d2, d0
stp d3, d1, [x10, #-8]
str d2, [x10, #8]
add w9, w9, #9
add x8, x8, #7
add w12, w12, #3
add x10, x10, #24
cmp x11, x8
b.ne LBB3_2
LBB3_3:
cbz x21, LBB3_6
; %bb.4:
add x8, x22, #8
mov x9, #4503599627370496 ; =0x10000000000000
fmov d9, x9
mov x9, #9218868437227405311 ; =0x7fefffffffffffff
fmov d12, x9
mov x9, x21
fmov d10, d9
fmov d11, d12
LBB3_5: ; =>This Inner Loop Header: Depth=1
ldur d0, [x8, #-8]
fcmp d9, d0
fcsel d9, d0, d9, mi
fcmp d12, d0
fcsel d12, d0, d12, gt
ldr d0, [x8], #24
fcmp d10, d0
fcsel d10, d0, d10, mi
fcmp d11, d0
fcsel d11, d0, d11, gt
subs x9, x9, #1
b.ne LBB3_5
b LBB3_7
LBB3_6:
mov x8, #4503599627370496 ; =0x10000000000000
fmov d10, x8
mov x8, #9218868437227405311 ; =0x7fefffffffffffff
fmov d11, x8
fmov d9, d10
fmov d12, d11
LBB3_7:
fsub d0, d9, d12
mov x8, #4645744490609377280 ; =0x4079000000000000
fmov d1, x8
fdiv d0, d1, d0
fsub d2, d10, d11
fdiv d1, d1, d2
fcmp d0, d1
fcsel d8, d1, d0, gt
mov w8, #410 ; =0x19a
stp x8, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
cmp w23, #1
b.lt LBB3_15
; %bb.8:
mov x26, #0 ; =0x0
fadd d0, d9, d12
fmov d1, #0.50000000
fmul d9, d0, d1
fadd d0, d11, d10
add x25, x22, #16
fmul d10, d0, d1
Lloh4:
adrp x22, l_.str.2@PAGE
Lloh5:
add x22, x22, l_.str.2@PAGEOFF
mov w28, #24 ; =0x18
mov x19, #4641240890982006784 ; =0x4069000000000000
Lloh6:
adrp x23, l_.str.4@PAGE
Lloh7:
add x23, x23, l_.str.4@PAGEOFF
Lloh8:
adrp x24, l_.str.3@PAGE
Lloh9:
add x24, x24, l_.str.3@PAGEOFF
b LBB3_10
LBB3_9: ; in Loop: Header=BB3_10 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
madd x8, x26, x28, x8
ldp d0, d1, [x8]
fsub d0, d0, d9
fmov d2, x19
fmadd d0, d0, d8, d2
fsub d1, d1, d10
fmadd d1, d1, d8, d2
stp d0, d1, [sp]
mov x0, x23
bl _libmin_printf
add x26, x26, #1
ldr x8, [sp, #32] ; 8-byte Folded Reload
cmp x26, x8
b.eq LBB3_15
LBB3_10: ; =>This Loop Header: Depth=1
; Child Loop BB3_13 Depth 2
ldr x8, [sp, #40] ; 8-byte Folded Reload
madd x8, x26, x28, x8
ldr q0, [x8]
ldr d1, [x8, #16]
str d1, [sp, #16]
str q0, [sp]
mov x0, x22
bl _libmin_printf
cbz x21, LBB3_9
; %bb.11: ; in Loop: Header=BB3_10 Depth=1
mov x27, x25
mov x20, x21
b LBB3_13
LBB3_12: ; in Loop: Header=BB3_13 Depth=2
add x27, x27, #24
subs x20, x20, #1
b.eq LBB3_9
LBB3_13: ; Parent Loop BB3_10 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x27]
cmp x26, x8
b.ne LBB3_12
; %bb.14: ; in Loop: Header=BB3_13 Depth=2
ldp d0, d1, [x27, #-16]
fsub d0, d0, d9
fmov d2, x19
fmadd d0, d0, d8, d2
fsub d1, d1, d10
fmadd d1, d1, d8, d2
stp d0, d1, [sp]
mov x0, x24
bl _libmin_printf
b LBB3_12
LBB3_15:
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
ldr x0, [sp, #40] ; 8-byte Folded Reload
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
ldp x24, x23, [sp, #128] ; 16-byte Folded Reload
ldp x26, x25, [sp, #112] ; 16-byte Folded Reload
ldp x28, x27, [sp, #96] ; 16-byte Folded Reload
ldp d9, d8, [sp, #80] ; 16-byte Folded Reload
ldp d11, d10, [sp, #64] ; 16-byte Folded Reload
ldp d13, d12, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #192
b _libmin_free
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.globl _test2 ; -- Begin function test2
.p2align 2
_test2: ; @test2
.cfi_startproc
; %bb.0:
stp d11, d10, [sp, #-96]! ; 16-byte Folded Spill
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 w20, #13824 ; =0x3600
movk w20, #366, lsl #16
mov w0, #13824 ; =0x3600
movk w0, #366, lsl #16
bl _libmin_malloc
mov x19, x0
mov x21, #0 ; =0x0
mov x22, #281474972516352 ; =0xffffffc00000
movk x22, #16863, lsl #48
fmov d9, #20.00000000
mov x23, #11544 ; =0x2d18
movk x23, #21572, lsl #16
movk x23, #8699, lsl #32
movk x23, #16409, lsl #48
LBB4_1: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
ucvtf d0, w0
fmov d8, x22
fdiv d0, d0, d8
fmul d10, d0, d9
bl _libmin_rand
ucvtf d0, w0
fdiv d0, d0, d8
fmov d1, x23
fmul d8, d0, d1
fmov d0, d8
bl _libmin_cos
fmul d0, d0, d10
add x24, x19, x21
str d0, [x24]
fmov d0, d8
bl _libmin_sin
fmul d0, d10, d0
str d0, [x24, #8]
add x21, x21, #24
cmp x20, x21
b.ne LBB4_1
; %bb.2:
mov x0, x19
mov w1, #16960 ; =0x4240
movk w1, #15, lsl #16
mov w2, #11 ; =0xb
bl _kMeans
mov x20, x0
mov x0, x19
mov w1, #16960 ; =0x4240
movk w1, #15, lsl #16
mov x2, x20
mov w3, #11 ; =0xb
bl _printEPS
mov x0, x19
bl _libmin_free
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #96 ; 16-byte Folded Reload
b _libmin_free
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp d11, d10, [sp, #-96]! ; 16-byte Folded Spill
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 w0, #42 ; =0x2a
bl _libmin_srand
mov w0, #4800 ; =0x12c0
bl _libmin_malloc
mov x19, x0
mov x20, #-4800 ; =0xffffffffffffed40
mov x21, #281474972516352 ; =0xffffffc00000
movk x21, #16863, lsl #48
fmov d9, #20.00000000
mov x22, #11544 ; =0x2d18
movk x22, #21572, lsl #16
movk x22, #8699, lsl #32
movk x22, #16409, lsl #48
LBB5_1: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
ucvtf d0, w0
fmov d8, x21
fdiv d0, d0, d8
fmul d10, d0, d9
bl _libmin_rand
ucvtf d0, w0
fdiv d0, d0, d8
fmov d1, x22
fmul d8, d0, d1
fmov d0, d8
bl _libmin_cos
fmul d0, d0, d10
add x23, x19, x20
str d0, [x23, #4800]
fmov d0, d8
bl _libmin_sin
fmul d0, d10, d0
str d0, [x23, #4808]
adds x20, x20, #24
b.ne LBB5_1
; %bb.2:
mov x0, x19
mov w1, #200 ; =0xc8
mov w2, #5 ; =0x5
bl _kMeans
mov x20, x0
mov x0, x19
mov w1, #200 ; =0xc8
mov x2, x20
mov w3, #5 ; =0x5
bl _printEPS
mov x0, x19
bl _libmin_free
mov x0, x20
bl _libmin_free
bl _libmin_success
mov w0, #0 ; =0x0
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
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%%!PS-Adobe-3.0 EPSF-3.0\n%%%%BoundingBox: -5 -5 %d %d\n"
l_.str.1: ; @.str.1
.asciz "/l {rlineto} def /m {rmoveto} def\n/c { .25 sub exch .25 sub exch .5 0 360 arc fill } def\n/s { moveto -2 0 m 2 2 l 2 -2 l -2 -2 l closepath \tgsave 1 setgray fill grestore gsave 3 setlinewidth 1 setgray stroke grestore 0 setgray stroke }def\n"
l_.str.2: ; @.str.2
.asciz "%g %g %g setrgbcolor\n"
l_.str.3: ; @.str.3
.asciz "%.3f %.3f c\n"
l_.str.4: ; @.str.4
.asciz "\n0 setgray %g %g s\n"
l_.str.5: ; @.str.5
.asciz "\n%%%%EOF\n"
.subsections_via_symbols
|
rsa-cipher.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _mod_pow ## -- Begin function mod_pow
.p2align 4, 0x90
_mod_pow: ## @mod_pow
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r15
movq %rdx, %r12
cmpq $1, %rdx
sbbq $0, %rcx
jl LBB0_1
## %bb.2:
movq %rsi, %rdx
movq %rdi, %rax
xorl %ecx, %ecx
movq %rcx, -48(%rbp) ## 8-byte Spill
movl $1, %r13d
movq %r9, -64(%rbp) ## 8-byte Spill
movq %r8, -56(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rcx
shldq $63, %r12, %rcx
movq %r15, %rsi
imulq %rbx, %r14
movq %rbx, %rax
mulq %rbx
shrq %rsi
addq %r14, %rdx
addq %r14, %rdx
movl $1, %edi
cmpq %r12, %rdi
movl $0, %edi
sbbq %r15, %rdi
movq %rcx, %r12
movq %rsi, %r15
movq -64(%rbp), %r9 ## 8-byte Reload
movq -56(%rbp), %r8 ## 8-byte Reload
jae LBB0_6
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rax, %rdi
movq %rdx, %rsi
movq %r8, %rdx
movq %r9, %rcx
callq ___modti3
movq %rax, %rbx
movq %rdx, %r14
testb $1, %r12b
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rax
mulq %r13
movq -48(%rbp), %rcx ## 8-byte Reload
imulq %rbx, %rcx
addq %rdx, %rcx
imulq %r14, %r13
addq %rcx, %r13
movq %rax, %rdi
movq %r13, %rsi
movq -56(%rbp), %rdx ## 8-byte Reload
movq -64(%rbp), %rcx ## 8-byte Reload
callq ___modti3
movq %rax, %r13
movq %rdx, -48(%rbp) ## 8-byte Spill
jmp LBB0_5
LBB0_6:
movq -48(%rbp), %rdx ## 8-byte Reload
jmp LBB0_7
LBB0_1:
movl $1, %r13d
xorl %edx, %edx
LBB0_7:
movq %r13, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mod_inverse ## -- Begin function mod_inverse
.p2align 4, 0x90
_mod_inverse: ## @mod_inverse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rax
xorq $1, %rax
orq %rcx, %rax
jne LBB1_2
## %bb.1:
xorl %r15d, %r15d
jmp LBB1_7
LBB1_2:
movq %rsi, %rbx
movq %rdi, %r14
cmpq $2, %rdi
movq %rsi, %rax
sbbq $0, %rax
jl LBB1_6
## %bb.3:
xorl %r8d, %r8d
movl $1, %r9d
xorl %esi, %esi
xorl %eax, %eax
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rdx, %r13
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rcx, %r12
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
movq %r9, -64(%rbp) ## 8-byte Spill
movq %r8, -80(%rbp) ## 8-byte Spill
movq %rax, -72(%rbp) ## 8-byte Spill
movq %rsi, %r15
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r12, %rcx
callq ___divti3
movq %rax, %rsi
movq %rdx, %rcx
movq %rax, %rdi
imulq %r12, %rdi
mulq %r13
addq %rdi, %rdx
movq %rcx, %r8
imulq %r13, %r8
addq %rdx, %r8
movq %r14, %rdi
subq %rax, %rdi
movq %rsi, %r9
movq %rbx, %r10
sbbq %r8, %r10
movq -72(%rbp), %r8 ## 8-byte Reload
imulq %r8, %r9
movq %rsi, %rax
mulq %r15
addq %r9, %rdx
imulq %r15, %rcx
addq %rdx, %rcx
movq -64(%rbp), %rsi ## 8-byte Reload
subq %rax, %rsi
movq -80(%rbp), %rax ## 8-byte Reload
sbbq %rcx, %rax
movl $1, %ecx
cmpq %r13, %rcx
movl $0, %ecx
sbbq %r12, %rcx
movq %r15, %r9
movq %r13, %r14
movq %r12, %rbx
movq %rdi, %r13
movq %r10, %r12
jl LBB1_4
## %bb.5:
movq %r8, %rcx
movq %r8, %rax
sarq $63, %rax
movq -56(%rbp), %rdx ## 8-byte Reload
andq %rax, %rdx
andq -48(%rbp), %rax ## 8-byte Folded Reload
addq %rax, %r15
adcq %r8, %rdx
jmp LBB1_8
LBB1_6:
movl $1, %r15d
LBB1_7:
xorl %edx, %edx
LBB1_8:
movq %r15, %rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_hex_int128 ## -- Begin function print_hex_int128
.p2align 4, 0x90
_print_hex_int128: ## @print_hex_int128
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq %rdi, %rax
orq %rsi, %rax
je LBB2_1
## %bb.3:
movq %rsi, %r14
movq %rdi, %rbx
testq %rsi, %rsi
jns LBB2_5
## %bb.4:
leaq L_.str.1(%rip), %rdi
xorl %r15d, %r15d
xorl %eax, %eax
callq _libmin_printf
negq %rbx
sbbq %r14, %r15
movq %r15, %r14
LBB2_5:
movb $0, -48(%rbp)
movl $32, %eax
leaq L_.str.2(%rip), %rcx
.p2align 4, 0x90
LBB2_6: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edx
andl $15, %edx
movzbl (%rdx,%rcx), %edx
movb %dl, -81(%rbp,%rax)
movl %ebx, %edx
shrl $4, %edx
andl $15, %edx
movzbl (%rdx,%rcx), %edx
movb %dl, -82(%rbp,%rax)
movl %ebx, %edx
shrl $8, %edx
andl $15, %edx
movzbl (%rdx,%rcx), %edx
movb %dl, -83(%rbp,%rax)
movl %ebx, %edx
shrl $12, %edx
andl $15, %edx
movzbl (%rdx,%rcx), %edx
movb %dl, -84(%rbp,%rax)
shrdq $16, %r14, %rbx
sarq $16, %r14
addq $-4, %rax
jne LBB2_6
## %bb.7:
leaq -80(%rbp), %rax
movzbl -80(%rbp), %ecx
.p2align 4, 0x90
LBB2_8: ## =>This Inner Loop Header: Depth=1
movq %rax, %rsi
cmpb $48, %cl
jne LBB2_10
## %bb.9: ## in Loop: Header=BB2_8 Depth=1
leaq 1(%rsi), %rax
movzbl 1(%rsi), %ecx
testb %cl, %cl
jne LBB2_8
LBB2_10:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB2_12
## %bb.11:
addq $56, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB2_1:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB2_12
## %bb.2:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
LBB2_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $65537, %r15d ## imm = 0x10001
movl $3735928559, %eax ## imm = 0xDEADBEEF
xorl %edx, %edx
movabsq $1000036000099, %rbx ## imm = 0xE8D6CA6163
movl $1, %ecx
movq %rcx, -112(%rbp) ## 8-byte Spill
xorl %ecx, %ecx
movq %rcx, -104(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
jmp LBB3_1
.p2align 4, 0x90
LBB3_3: ## in Loop: Header=BB3_1 Depth=1
movq %r14, %rcx
shldq $63, %r15, %rcx
movq %r14, %rsi
imulq %r13, %r12
movq %r13, %rax
mulq %r13
shrq %rsi
addq %r12, %rdx
addq %r12, %rdx
movl $1, %edi
cmpq %r15, %rdi
movl $0, %edi
sbbq %r14, %rdi
movq %rcx, %r15
movq %rsi, %r14
jae LBB3_4
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq %rax, %rdi
movq %rdx, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq ___umodti3
movq %rax, %r13
movq %rdx, %r12
testb $1, %r15b
je LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq %r13, %rax
movq -112(%rbp), %rsi ## 8-byte Reload
mulq %rsi
movq -104(%rbp), %rcx ## 8-byte Reload
imulq %r13, %rcx
addq %rdx, %rcx
imulq %r12, %rsi
addq %rcx, %rsi
movq %rax, %rdi
movq %rbx, %rdx
xorl %ecx, %ecx
callq ___umodti3
movq %rax, -112(%rbp) ## 8-byte Spill
movq %rdx, -104(%rbp) ## 8-byte Spill
jmp LBB3_3
LBB3_4:
movabsq $983264276609, %rbx ## imm = 0xE4EF1E3081
movabsq $1000036000099, %r8 ## imm = 0xE8D6CA6163
movq -112(%rbp), %rax ## 8-byte Reload
movq -104(%rbp), %rdx ## 8-byte Reload
movl $1, %ecx
movq %rcx, -120(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
xorl %r14d, %r14d
jmp LBB3_5
.p2align 4, 0x90
LBB3_7: ## in Loop: Header=BB3_5 Depth=1
movq %r14, %rcx
shldq $63, %rbx, %rcx
movq %r14, %rsi
imulq %r15, %r12
movq %r15, %rax
mulq %r15
shrq %rsi
addq %r12, %rdx
addq %r12, %rdx
movl $1, %edi
cmpq %rbx, %rdi
movl $0, %edi
sbbq %r14, %rdi
movq %rcx, %rbx
movq %rsi, %r14
movabsq $1000036000099, %r8 ## imm = 0xE8D6CA6163
jae LBB3_8
LBB3_5: ## =>This Inner Loop Header: Depth=1
movq %rax, %rdi
movq %rdx, %rsi
movq %r8, %rdx
xorl %ecx, %ecx
callq ___umodti3
movq %rax, %r15
movq %rdx, %r12
testb $1, %bl
je LBB3_7
## %bb.6: ## in Loop: Header=BB3_5 Depth=1
movq %r15, %rax
movq -120(%rbp), %rsi ## 8-byte Reload
mulq %rsi
imulq %r15, %r13
addq %rdx, %r13
imulq %r12, %rsi
addq %r13, %rsi
movq %rax, %rdi
movabsq $1000036000099, %rdx ## imm = 0xE8D6CA6163
xorl %ecx, %ecx
callq ___umodti3
movq %rax, -120(%rbp) ## 8-byte Spill
movq %rdx, %r13
jmp LBB3_7
LBB3_8:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movb $0, -64(%rbp)
movl $1000003, %eax ## imm = 0xF4243
movl $32, %ecx
leaq L_.str.2(%rip), %r15
.p2align 4, 0x90
LBB3_9: ## =>This Inner Loop Header: Depth=1
movl %eax, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -97(%rbp,%rcx)
movl %eax, %edx
shrl $4, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -98(%rbp,%rcx)
movl %eax, %edx
shrl $8, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -99(%rbp,%rcx)
movl %eax, %edx
shrl $12, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -100(%rbp,%rcx)
shrq $16, %rax
addq $-4, %rcx
jne LBB3_9
## %bb.10:
leaq -96(%rbp), %rax
movzbl -96(%rbp), %ecx
movabsq $983264276609, %rbx ## imm = 0xE4EF1E3081
.p2align 4, 0x90
LBB3_11: ## =>This Inner Loop Header: Depth=1
movq %rax, %rsi
cmpb $48, %cl
jne LBB3_13
## %bb.12: ## in Loop: Header=BB3_11 Depth=1
leaq 1(%rsi), %rax
movzbl 1(%rsi), %ecx
testb %cl, %cl
jne LBB3_11
LBB3_13:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movb $0, -64(%rbp)
movl $1000033, %eax ## imm = 0xF4261
movl $32, %ecx
.p2align 4, 0x90
LBB3_14: ## =>This Inner Loop Header: Depth=1
movl %eax, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -97(%rbp,%rcx)
movl %eax, %edx
shrl $4, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -98(%rbp,%rcx)
movl %eax, %edx
shrl $8, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -99(%rbp,%rcx)
movl %eax, %edx
shrl $12, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -100(%rbp,%rcx)
shrq $16, %rax
addq $-4, %rcx
jne LBB3_14
## %bb.15:
leaq -96(%rbp), %rax
movzbl -96(%rbp), %ecx
.p2align 4, 0x90
LBB3_16: ## =>This Inner Loop Header: Depth=1
movq %rax, %rsi
cmpb $48, %cl
jne LBB3_18
## %bb.17: ## in Loop: Header=BB3_16 Depth=1
leaq 1(%rsi), %rax
movzbl 1(%rsi), %ecx
testb %cl, %cl
jne LBB3_16
LBB3_18:
movabsq $1000034000064, %r12 ## imm = 0xE8D6ABDCC0
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movb $0, -64(%rbp)
leaq 2000035(%r12), %rax
movl $32, %ecx
.p2align 4, 0x90
LBB3_19: ## =>This Inner Loop Header: Depth=1
movl %eax, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -97(%rbp,%rcx)
movl %eax, %edx
shrl $4, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -98(%rbp,%rcx)
movl %eax, %edx
shrl $8, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -99(%rbp,%rcx)
movl %eax, %edx
shrl $12, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -100(%rbp,%rcx)
shrq $16, %rax
addq $-4, %rcx
jne LBB3_19
## %bb.20:
leaq -96(%rbp), %rax
movzbl -96(%rbp), %ecx
.p2align 4, 0x90
LBB3_21: ## =>This Inner Loop Header: Depth=1
movq %rax, %rsi
cmpb $48, %cl
jne LBB3_23
## %bb.22: ## in Loop: Header=BB3_21 Depth=1
leaq 1(%rsi), %rax
movzbl 1(%rsi), %ecx
testb %cl, %cl
jne LBB3_21
LBB3_23:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movb $0, -64(%rbp)
movl $32, %eax
.p2align 4, 0x90
LBB3_24: ## =>This Inner Loop Header: Depth=1
movl %r12d, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -97(%rbp,%rax)
movl %r12d, %ecx
shrl $4, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -98(%rbp,%rax)
movl %r12d, %ecx
shrl $8, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -99(%rbp,%rax)
movl %r12d, %ecx
shrl $12, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -100(%rbp,%rax)
shrq $16, %r12
addq $-4, %rax
jne LBB3_24
## %bb.25:
leaq -96(%rbp), %rax
movzbl -96(%rbp), %ecx
.p2align 4, 0x90
LBB3_26: ## =>This Inner Loop Header: Depth=1
movq %rax, %rsi
cmpb $48, %cl
jne LBB3_28
## %bb.27: ## in Loop: Header=BB3_26 Depth=1
leaq 1(%rsi), %rax
movzbl 1(%rsi), %ecx
testb %cl, %cl
jne LBB3_26
LBB3_28:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movb $0, -64(%rbp)
movl $65537, %eax ## imm = 0x10001
movl $32, %ecx
.p2align 4, 0x90
LBB3_29: ## =>This Inner Loop Header: Depth=1
movl %eax, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -97(%rbp,%rcx)
movl %eax, %edx
shrl $4, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -98(%rbp,%rcx)
movl %eax, %edx
shrl $8, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -99(%rbp,%rcx)
movl %eax, %edx
shrl $12, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -100(%rbp,%rcx)
shrq $16, %rax
addq $-4, %rcx
jne LBB3_29
## %bb.30:
leaq -96(%rbp), %rax
movzbl -96(%rbp), %ecx
.p2align 4, 0x90
LBB3_31: ## =>This Inner Loop Header: Depth=1
movq %rax, %rsi
cmpb $48, %cl
jne LBB3_33
## %bb.32: ## in Loop: Header=BB3_31 Depth=1
leaq 1(%rsi), %rax
movzbl 1(%rsi), %ecx
testb %cl, %cl
jne LBB3_31
LBB3_33:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movb $0, -64(%rbp)
movl $32, %eax
xorl %edx, %edx
.p2align 4, 0x90
LBB3_34: ## =>This Inner Loop Header: Depth=1
movl %ebx, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -97(%rbp,%rax)
movl %ebx, %ecx
shrl $4, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -98(%rbp,%rax)
movl %ebx, %ecx
shrl $8, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -99(%rbp,%rax)
movl %ebx, %ecx
shrl $12, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -100(%rbp,%rax)
shrdq $16, %rdx, %rbx
shrq $16, %rdx
addq $-4, %rax
jne LBB3_34
## %bb.35:
leaq -96(%rbp), %rax
movzbl -96(%rbp), %ecx
.p2align 4, 0x90
LBB3_36: ## =>This Inner Loop Header: Depth=1
movq %rax, %rsi
cmpb $48, %cl
jne LBB3_38
## %bb.37: ## in Loop: Header=BB3_36 Depth=1
leaq 1(%rsi), %rax
movzbl 1(%rsi), %ecx
testb %cl, %cl
jne LBB3_36
LBB3_38:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movb $0, -64(%rbp)
movl $3735928559, %eax ## imm = 0xDEADBEEF
movl $32, %ecx
.p2align 4, 0x90
LBB3_39: ## =>This Inner Loop Header: Depth=1
movl %eax, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -97(%rbp,%rcx)
movl %eax, %edx
shrl $4, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -98(%rbp,%rcx)
movl %eax, %edx
shrl $8, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -99(%rbp,%rcx)
movl %eax, %edx
shrl $12, %edx
andl $15, %edx
movzbl (%rdx,%r15), %edx
movb %dl, -100(%rbp,%rcx)
shrq $16, %rax
addq $-4, %rcx
jne LBB3_39
## %bb.40:
leaq -96(%rbp), %rax
movzbl -96(%rbp), %ecx
.p2align 4, 0x90
LBB3_41: ## =>This Inner Loop Header: Depth=1
movq %rax, %rsi
cmpb $48, %cl
jne LBB3_43
## %bb.42: ## in Loop: Header=BB3_41 Depth=1
leaq 1(%rsi), %rax
movzbl 1(%rsi), %ecx
testb %cl, %cl
jne LBB3_41
LBB3_43:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq -112(%rbp), %rdx ## 8-byte Reload
movq %rdx, %rax
movq -104(%rbp), %rsi ## 8-byte Reload
orq %rsi, %rax
je LBB3_44
## %bb.45:
movb $0, -64(%rbp)
movl $32, %eax
.p2align 4, 0x90
LBB3_46: ## =>This Inner Loop Header: Depth=1
movl %edx, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -97(%rbp,%rax)
movl %edx, %ecx
shrl $4, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -98(%rbp,%rax)
movl %edx, %ecx
shrl $8, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -99(%rbp,%rax)
movl %edx, %ecx
shrl $12, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -100(%rbp,%rax)
shrdq $16, %rsi, %rdx
shrq $16, %rsi
addq $-4, %rax
jne LBB3_46
## %bb.47:
leaq -96(%rbp), %rax
movzbl -96(%rbp), %ecx
.p2align 4, 0x90
LBB3_48: ## =>This Inner Loop Header: Depth=1
movq %rax, %rsi
cmpb $48, %cl
jne LBB3_50
## %bb.49: ## in Loop: Header=BB3_48 Depth=1
leaq 1(%rsi), %rax
movzbl 1(%rsi), %ecx
testb %cl, %cl
jne LBB3_48
LBB3_50:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB3_51
LBB3_44:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB3_51:
leaq L_.str.13(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _libmin_printf
movq -120(%rbp), %rdx ## 8-byte Reload
testq %rdx, %rdx
je LBB3_52
## %bb.53:
movb $0, -64(%rbp)
movl $32, %eax
.p2align 4, 0x90
LBB3_54: ## =>This Inner Loop Header: Depth=1
movl %edx, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -97(%rbp,%rax)
movl %edx, %ecx
shrl $4, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -98(%rbp,%rax)
movl %edx, %ecx
shrl $8, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -99(%rbp,%rax)
movl %edx, %ecx
shrl $12, %ecx
andl $15, %ecx
movzbl (%rcx,%r15), %ecx
movb %cl, -100(%rbp,%rax)
shrdq $16, %rbx, %rdx
shrq $16, %rbx
addq $-4, %rax
jne LBB3_54
## %bb.55:
leaq -96(%rbp), %rax
movzbl -96(%rbp), %ecx
.p2align 4, 0x90
LBB3_56: ## =>This Inner Loop Header: Depth=1
movq %rax, %rsi
cmpb $48, %cl
jne LBB3_58
## %bb.57: ## in Loop: Header=BB3_56 Depth=1
leaq 1(%rsi), %rax
movzbl 1(%rsi), %ecx
testb %cl, %cl
jne LBB3_56
LBB3_58:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB3_59
LBB3_52:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB3_59:
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB3_61
## %bb.60:
xorl %eax, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB3_61:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "0x0"
L_.str.1: ## @.str.1
.asciz "-"
L_.str.2: ## @.str.2
.asciz "0123456789abcdef"
L_.str.3: ## @.str.3
.asciz "0x%s"
L_.str.4: ## @.str.4
.asciz "RSA Key Pair Example (Hexadecimal Output):\n\n"
L_.str.5: ## @.str.5
.asciz "p: "
L_.str.6: ## @.str.6
.asciz "\nq: "
L_.str.7: ## @.str.7
.asciz "\nn (modulus): "
L_.str.8: ## @.str.8
.asciz "\nphi(n): "
L_.str.9: ## @.str.9
.asciz "\n\nPublic exponent (e): "
L_.str.10: ## @.str.10
.asciz "\nPrivate exponent (d): "
L_.str.11: ## @.str.11
.asciz "\n\nOriginal message: "
L_.str.12: ## @.str.12
.asciz "\nEncrypted message: "
L_.str.13: ## @.str.13
.asciz "\nDecrypted message: "
L_.str.14: ## @.str.14
.asciz "\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _mod_pow ; -- Begin function mod_pow
.p2align 2
_mod_pow: ; @mod_pow
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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
cmp x2, #1
sbcs xzr, x3, xzr
b.lt LBB0_5
; %bb.1:
mov x19, x5
mov x20, x4
mov x21, x3
mov x22, x2
mov x23, #0 ; =0x0
mov w27, #1 ; =0x1
mov w24, #1 ; =0x1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
cmp x27, x22
extr x22, x21, x22, #1
ngcs xzr, x21
lsr x21, x21, #1
mul x8, x25, x26
umulh x9, x25, x25
add x9, x9, x8
add x1, x9, x8
mul x0, x25, x25
b.hs LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x2, x20
mov x3, x19
bl ___modti3
mov x25, x0
mov x26, x1
tbz w22, #0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
umulh x8, x25, x24
madd x8, x25, x23, x8
madd x1, x26, x24, x8
mul x0, x25, x24
mov x2, x20
mov x3, x19
bl ___modti3
mov x24, x0
mov x23, x1
b LBB0_2
LBB0_5:
mov x23, #0 ; =0x0
mov w24, #1 ; =0x1
LBB0_6:
mov x0, x24
mov x1, x23
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _mod_inverse ; -- Begin function mod_inverse
.p2align 2
_mod_inverse: ; @mod_inverse
.cfi_startproc
; %bb.0:
eor x8, x2, #0x1
orr x8, x8, x3
cbnz x8, LBB1_2
; %bb.1:
mov x0, #0 ; =0x0
mov x1, #0 ; =0x0
ret
LBB1_2:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x1
mov x22, x0
cmp x0, #2
sbcs xzr, x1, xzr
b.lt LBB1_6
; %bb.3:
mov x20, x3
mov x26, #0 ; =0x0
mov x8, #0 ; =0x0
mov x9, #0 ; =0x0
mov w25, #1 ; =0x1
mov w19, #1 ; =0x1
str x2, [sp, #8] ; 8-byte Folded Spill
mov x23, x2
mov x24, x3
LBB1_4: ; =>This Inner Loop Header: Depth=1
mov x27, x9
mov x28, x8
mov x0, x22
mov x1, x21
mov x2, x23
mov x3, x24
bl ___divti3
umulh x8, x0, x23
madd x8, x0, x24, x8
madd x8, x1, x23, x8
mul x9, x0, x23
subs x10, x22, x9
sbc x11, x21, x8
umulh x8, x0, x28
madd x8, x0, x27, x8
madd x9, x1, x28, x8
mul x8, x0, x28
subs x8, x19, x8
sbc x9, x26, x9
cmp x25, x23
ngcs xzr, x24
mov x19, x28
mov x26, x27
mov x22, x23
mov x21, x24
mov x23, x10
mov x24, x11
b.lt LBB1_4
; %bb.5:
asr x8, x27, #63
and x9, x8, x20
ldr x10, [sp, #8] ; 8-byte Folded Reload
and x8, x8, x10
adds x0, x8, x28
adc x1, x9, x27
b LBB1_7
LBB1_6:
mov x1, #0 ; =0x0
mov w0, #1 ; =0x1
LBB1_7:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _print_hex_int128 ; -- Begin function print_hex_int128
.p2align 2
_print_hex_int128: ; @print_hex_int128
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
orr x8, x0, x1
cbz x8, LBB2_10
; %bb.1:
mov x19, x1
mov x20, x0
tbz x1, #63, LBB2_3
; %bb.2:
Lloh3:
adrp x0, l_.str.1@PAGE
Lloh4:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
negs x20, x20
ngc x19, x19
LBB2_3:
strb wzr, [sp, #55]
mov w8, #31 ; =0x1f
Lloh5:
adrp x9, l_.str.2@PAGE
Lloh6:
add x9, x9, l_.str.2@PAGEOFF
add x10, sp, #23
LBB2_4: ; =>This Inner Loop Header: Depth=1
and x11, x20, #0xf
ldrb w11, [x9, x11]
strb w11, [x10, x8]
extr x20, x19, x20, #4
asr x19, x19, #4
sub x8, x8, #1
cmn x8, #1
b.ne LBB2_4
; %bb.5:
ldrb w9, [sp, #23]
add x10, sp, #23
LBB2_6: ; =>This Inner Loop Header: Depth=1
mov x8, x10
cmp w9, #48
b.ne LBB2_8
; %bb.7: ; in Loop: Header=BB2_6 Depth=1
mov x10, x8
ldrb w9, [x10, #1]!
cbnz w9, LBB2_6
LBB2_8:
str x8, [sp]
Lloh7:
adrp x0, l_.str.3@PAGE
Lloh8:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
ldur x8, [x29, #-24]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_12
; %bb.9:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB2_10:
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 LBB2_12
; %bb.11:
Lloh15:
adrp x0, l_.str@PAGE
Lloh16:
add x0, x0, l_.str@PAGEOFF
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #96
b _libmin_printf
LBB2_12:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x1, #0 ; =0x0
mov x19, #0 ; =0x0
mov x23, #0 ; =0x0
Lloh17:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh18:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
ldr x8, [x8]
str x8, [sp, #56]
mov w25, #65537 ; =0x10001
mov w24, #1 ; =0x1
mov w0, #48879 ; =0xbeef
movk w0, #57005, lsl #16
mov w20, #1 ; =0x1
b LBB3_2
LBB3_1: ; in Loop: Header=BB3_2 Depth=1
cmp x24, x25
extr x25, x23, x25, #1
ngcs xzr, x23
lsr x23, x23, #1
mul x8, x21, x22
umulh x9, x21, x21
add x9, x9, x8
add x1, x9, x8
mul x0, x21, x21
b.hs LBB3_4
LBB3_2: ; =>This Inner Loop Header: Depth=1
mov x2, #24931 ; =0x6163
movk x2, #54986, lsl #16
movk x2, #232, lsl #32
mov x3, #0 ; =0x0
bl ___umodti3
mov x21, x0
mov x22, x1
tbz w25, #0, LBB3_1
; %bb.3: ; in Loop: Header=BB3_2 Depth=1
umulh x8, x21, x20
madd x8, x21, x19, x8
madd x1, x22, x20, x8
mul x0, x21, x20
mov x2, #24931 ; =0x6163
movk x2, #54986, lsl #16
movk x2, #232, lsl #32
mov x3, #0 ; =0x0
bl ___umodti3
mov x20, x0
mov x19, x1
b LBB3_1
LBB3_4:
mov x22, #0 ; =0x0
mov x26, #12417 ; =0x3081
movk x26, #61214, lsl #16
movk x26, #228, lsl #32
mov x0, x20
mov x1, x19
mov w21, #1 ; =0x1
mov x27, #0 ; =0x0
mov x28, #12417 ; =0x3081
movk x28, #61214, lsl #16
movk x28, #228, lsl #32
mov x25, #0 ; =0x0
b LBB3_6
LBB3_5: ; in Loop: Header=BB3_6 Depth=1
mov w8, #1 ; =0x1
cmp x8, x28
extr x28, x25, x28, #1
ngcs xzr, x25
lsr x25, x25, #1
mul x8, x23, x24
umulh x9, x23, x23
add x9, x9, x8
add x1, x9, x8
mul x0, x23, x23
b.hs LBB3_8
LBB3_6: ; =>This Inner Loop Header: Depth=1
mov x2, #24931 ; =0x6163
movk x2, #54986, lsl #16
movk x2, #232, lsl #32
mov x3, #0 ; =0x0
bl ___umodti3
mov x23, x0
mov x24, x1
tbz w28, #0, LBB3_5
; %bb.7: ; in Loop: Header=BB3_6 Depth=1
umulh x8, x23, x21
madd x8, x23, x27, x8
madd x1, x24, x21, x8
mul x0, x23, x21
mov x2, #24931 ; =0x6163
movk x2, #54986, lsl #16
movk x2, #232, lsl #32
mov x3, #0 ; =0x0
bl ___umodti3
mov x21, x0
mov x27, x1
b LBB3_5
LBB3_8:
mov w24, #16963 ; =0x4243
movk w24, #15, lsl #16
Lloh20:
adrp x0, l_.str.4@PAGE
Lloh21:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
Lloh22:
adrp x0, l_.str.5@PAGE
Lloh23:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
strb wzr, [sp, #55]
mov w8, #31 ; =0x1f
add x9, sp, #23
mov w10, #16963 ; =0x4243
movk w10, #15, lsl #16
Lloh24:
adrp x23, l_.str.2@PAGE
Lloh25:
add x23, x23, l_.str.2@PAGEOFF
LBB3_9: ; =>This Inner Loop Header: Depth=1
and x11, x10, #0xf
ldrb w11, [x23, x11]
strb w11, [x9, x8]
lsr x10, x10, #4
sub x8, x8, #1
cmn x8, #1
b.ne LBB3_9
; %bb.10:
ldrb w9, [sp, #23]
add x10, sp, #23
LBB3_11: ; =>This Inner Loop Header: Depth=1
mov x8, x10
cmp w9, #48
b.ne LBB3_13
; %bb.12: ; in Loop: Header=BB3_11 Depth=1
mov x10, x8
ldrb w9, [x10, #1]!
cbnz w9, LBB3_11
LBB3_13:
str x8, [sp]
Lloh26:
adrp x0, l_.str.3@PAGE
Lloh27:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
Lloh28:
adrp x0, l_.str.6@PAGE
Lloh29:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
strb wzr, [sp, #55]
add x8, x24, #30
mov w9, #31 ; =0x1f
add x10, sp, #23
LBB3_14: ; =>This Inner Loop Header: Depth=1
and x11, x8, #0xf
ldrb w11, [x23, x11]
strb w11, [x10, x9]
lsr x8, x8, #4
sub x9, x9, #1
cmn x9, #1
b.ne LBB3_14
; %bb.15:
ldrb w9, [sp, #23]
add x10, sp, #23
LBB3_16: ; =>This Inner Loop Header: Depth=1
mov x8, x10
cmp w9, #48
b.ne LBB3_18
; %bb.17: ; in Loop: Header=BB3_16 Depth=1
mov x10, x8
ldrb w9, [x10, #1]!
cbnz w9, LBB3_16
LBB3_18:
str x8, [sp]
Lloh30:
adrp x0, l_.str.3@PAGE
Lloh31:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
Lloh32:
adrp x0, l_.str.7@PAGE
Lloh33:
add x0, x0, l_.str.7@PAGEOFF
bl _libmin_printf
strb wzr, [sp, #55]
mov x8, #24931 ; =0x6163
movk x8, #54986, lsl #16
movk x8, #232, lsl #32
mov w9, #31 ; =0x1f
add x10, sp, #23
LBB3_19: ; =>This Inner Loop Header: Depth=1
and x11, x8, #0xf
ldrb w11, [x23, x11]
strb w11, [x10, x9]
lsr x8, x8, #4
sub x9, x9, #1
cmn x9, #1
b.ne LBB3_19
; %bb.20:
ldrb w9, [sp, #23]
add x10, sp, #23
LBB3_21: ; =>This Inner Loop Header: Depth=1
mov x8, x10
cmp w9, #48
b.ne LBB3_23
; %bb.22: ; in Loop: Header=BB3_21 Depth=1
mov x10, x8
ldrb w9, [x10, #1]!
cbnz w9, LBB3_21
LBB3_23:
str x8, [sp]
Lloh34:
adrp x0, l_.str.3@PAGE
Lloh35:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
Lloh36:
adrp x0, l_.str.8@PAGE
Lloh37:
add x0, x0, l_.str.8@PAGEOFF
bl _libmin_printf
strb wzr, [sp, #55]
mov x8, #56512 ; =0xdcc0
movk x8, #54955, lsl #16
movk x8, #232, lsl #32
mov w9, #31 ; =0x1f
add x10, sp, #23
LBB3_24: ; =>This Inner Loop Header: Depth=1
and x11, x8, #0xf
ldrb w11, [x23, x11]
strb w11, [x10, x9]
lsr x8, x8, #4
sub x9, x9, #1
cmn x9, #1
b.ne LBB3_24
; %bb.25:
ldrb w9, [sp, #23]
add x10, sp, #23
LBB3_26: ; =>This Inner Loop Header: Depth=1
mov x8, x10
cmp w9, #48
b.ne LBB3_28
; %bb.27: ; in Loop: Header=BB3_26 Depth=1
mov x10, x8
ldrb w9, [x10, #1]!
cbnz w9, LBB3_26
LBB3_28:
str x8, [sp]
Lloh38:
adrp x0, l_.str.3@PAGE
Lloh39:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
Lloh40:
adrp x0, l_.str.9@PAGE
Lloh41:
add x0, x0, l_.str.9@PAGEOFF
bl _libmin_printf
strb wzr, [sp, #55]
mov w8, #65537 ; =0x10001
mov w9, #31 ; =0x1f
add x10, sp, #23
LBB3_29: ; =>This Inner Loop Header: Depth=1
and x11, x8, #0xf
ldrb w11, [x23, x11]
strb w11, [x10, x9]
lsr x8, x8, #4
sub x9, x9, #1
cmn x9, #1
b.ne LBB3_29
; %bb.30:
ldrb w9, [sp, #23]
add x10, sp, #23
LBB3_31: ; =>This Inner Loop Header: Depth=1
mov x8, x10
cmp w9, #48
b.ne LBB3_33
; %bb.32: ; in Loop: Header=BB3_31 Depth=1
mov x10, x8
ldrb w9, [x10, #1]!
cbnz w9, LBB3_31
LBB3_33:
str x8, [sp]
Lloh42:
adrp x0, l_.str.3@PAGE
Lloh43:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
Lloh44:
adrp x0, l_.str.10@PAGE
Lloh45:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
strb wzr, [sp, #55]
mov w8, #31 ; =0x1f
add x9, sp, #23
LBB3_34: ; =>This Inner Loop Header: Depth=1
and x10, x26, #0xf
ldrb w10, [x23, x10]
strb w10, [x9, x8]
extr x26, x22, x26, #4
lsr x22, x22, #4
sub x8, x8, #1
cmn x8, #1
b.ne LBB3_34
; %bb.35:
ldrb w9, [sp, #23]
add x10, sp, #23
LBB3_36: ; =>This Inner Loop Header: Depth=1
mov x8, x10
cmp w9, #48
b.ne LBB3_38
; %bb.37: ; in Loop: Header=BB3_36 Depth=1
mov x10, x8
ldrb w9, [x10, #1]!
cbnz w9, LBB3_36
LBB3_38:
str x8, [sp]
Lloh46:
adrp x0, l_.str.3@PAGE
Lloh47:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
Lloh48:
adrp x0, l_.str.11@PAGE
Lloh49:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_printf
strb wzr, [sp, #55]
mov w8, #48879 ; =0xbeef
movk w8, #57005, lsl #16
mov w9, #31 ; =0x1f
add x10, sp, #23
LBB3_39: ; =>This Inner Loop Header: Depth=1
and x11, x8, #0xf
ldrb w11, [x23, x11]
strb w11, [x10, x9]
lsr x8, x8, #4
sub x9, x9, #1
cmn x9, #1
b.ne LBB3_39
; %bb.40:
ldrb w9, [sp, #23]
add x10, sp, #23
LBB3_41: ; =>This Inner Loop Header: Depth=1
mov x8, x10
cmp w9, #48
b.ne LBB3_43
; %bb.42: ; in Loop: Header=BB3_41 Depth=1
mov x10, x8
ldrb w9, [x10, #1]!
cbnz w9, LBB3_41
LBB3_43:
str x8, [sp]
Lloh50:
adrp x0, l_.str.3@PAGE
Lloh51:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
Lloh52:
adrp x0, l_.str.12@PAGE
Lloh53:
add x0, x0, l_.str.12@PAGEOFF
bl _libmin_printf
orr x8, x20, x19
cbz x8, LBB3_50
; %bb.44:
strb wzr, [sp, #55]
mov w8, #31 ; =0x1f
add x9, sp, #23
LBB3_45: ; =>This Inner Loop Header: Depth=1
and x10, x20, #0xf
ldrb w10, [x23, x10]
strb w10, [x9, x8]
extr x20, x19, x20, #4
lsr x19, x19, #4
sub x8, x8, #1
cmn x8, #1
b.ne LBB3_45
; %bb.46:
ldrb w9, [sp, #23]
add x10, sp, #23
LBB3_47: ; =>This Inner Loop Header: Depth=1
mov x8, x10
cmp w9, #48
b.ne LBB3_49
; %bb.48: ; in Loop: Header=BB3_47 Depth=1
mov x10, x8
ldrb w9, [x10, #1]!
cbnz w9, LBB3_47
LBB3_49:
str x8, [sp]
Lloh54:
adrp x0, l_.str.3@PAGE
Lloh55:
add x0, x0, l_.str.3@PAGEOFF
b LBB3_51
LBB3_50:
Lloh56:
adrp x0, l_.str@PAGE
Lloh57:
add x0, x0, l_.str@PAGEOFF
LBB3_51:
bl _libmin_printf
Lloh58:
adrp x0, l_.str.13@PAGE
Lloh59:
add x0, x0, l_.str.13@PAGEOFF
bl _libmin_printf
orr x8, x21, x27
cbz x8, LBB3_58
; %bb.52:
strb wzr, [sp, #55]
mov w8, #31 ; =0x1f
add x9, sp, #23
LBB3_53: ; =>This Inner Loop Header: Depth=1
and x10, x21, #0xf
ldrb w10, [x23, x10]
strb w10, [x9, x8]
extr x21, x27, x21, #4
lsr x27, x27, #4
sub x8, x8, #1
cmn x8, #1
b.ne LBB3_53
; %bb.54:
ldrb w9, [sp, #23]
add x10, sp, #23
LBB3_55: ; =>This Inner Loop Header: Depth=1
mov x8, x10
cmp w9, #48
b.ne LBB3_57
; %bb.56: ; in Loop: Header=BB3_55 Depth=1
mov x10, x8
ldrb w9, [x10, #1]!
cbnz w9, LBB3_55
LBB3_57:
str x8, [sp]
Lloh60:
adrp x0, l_.str.3@PAGE
Lloh61:
add x0, x0, l_.str.3@PAGEOFF
b LBB3_59
LBB3_58:
Lloh62:
adrp x0, l_.str@PAGE
Lloh63:
add x0, x0, l_.str@PAGEOFF
LBB3_59:
bl _libmin_printf
Lloh64:
adrp x0, l_.str.14@PAGE
Lloh65:
add x0, x0, l_.str.14@PAGEOFF
bl _libmin_printf
bl _libmin_success
ldr x8, [sp, #56]
Lloh66:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh67:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh68:
ldr x9, [x9]
cmp x9, x8
b.ne LBB3_61
; %bb.60:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB3_61:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68
.loh AdrpAdd Lloh64, Lloh65
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "0x0"
l_.str.1: ; @.str.1
.asciz "-"
l_.str.2: ; @.str.2
.asciz "0123456789abcdef"
l_.str.3: ; @.str.3
.asciz "0x%s"
l_.str.4: ; @.str.4
.asciz "RSA Key Pair Example (Hexadecimal Output):\n\n"
l_.str.5: ; @.str.5
.asciz "p: "
l_.str.6: ; @.str.6
.asciz "\nq: "
l_.str.7: ; @.str.7
.asciz "\nn (modulus): "
l_.str.8: ; @.str.8
.asciz "\nphi(n): "
l_.str.9: ; @.str.9
.asciz "\n\nPublic exponent (e): "
l_.str.10: ; @.str.10
.asciz "\nPrivate exponent (d): "
l_.str.11: ; @.str.11
.asciz "\n\nOriginal message: "
l_.str.12: ; @.str.12
.asciz "\nEncrypted message: "
l_.str.13: ; @.str.13
.asciz "\nDecrypted message: "
l_.str.14: ; @.str.14
.asciz "\n"
.subsections_via_symbols
|
connect4-minimax.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _init_board ## -- Begin function init_board
.p2align 4, 0x90
_init_board: ## @init_board
.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, 144(%rdi)
movups %xmm0, 128(%rdi)
movups %xmm0, 112(%rdi)
movups %xmm0, 96(%rdi)
movups %xmm0, 80(%rdi)
movups %xmm0, 64(%rdi)
movups %xmm0, 48(%rdi)
movups %xmm0, 32(%rdi)
movups %xmm0, 16(%rdi)
movups %xmm0, (%rdi)
movq $0, 160(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_board ## -- Begin function print_board
.p2align 4, 0x90
_print_board: ## @print_board
.cfi_startproc
## %bb.0:
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
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $24, %r12d
movl $79, %r13d
movl $88, %r14d
leaq L_.str.1(%rip), %r15
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbx,%r12), %eax
cmpl $2, %eax
movl $46, %esi
cmovel %r13d, %esi
cmpl $1, %eax
cmovel %r14d, %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -20(%rbx,%r12), %eax
cmpl $2, %eax
movl $46, %esi
cmovel %r13d, %esi
cmpl $1, %eax
cmovel %r14d, %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -16(%rbx,%r12), %eax
cmpl $2, %eax
movl $46, %esi
cmovel %r13d, %esi
cmpl $1, %eax
cmovel %r14d, %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -12(%rbx,%r12), %eax
cmpl $2, %eax
movl $46, %esi
cmovel %r13d, %esi
cmpl $1, %eax
cmovel %r14d, %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -8(%rbx,%r12), %eax
cmpl $2, %eax
movl $46, %esi
cmovel %r13d, %esi
cmpl $1, %eax
cmovel %r14d, %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl -4(%rbx,%r12), %eax
cmpl $2, %eax
movl $46, %esi
cmovel %r13d, %esi
cmpl $1, %eax
cmovel %r14d, %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl (%rbx,%r12), %eax
cmpl $2, %eax
movl $46, %esi
cmovel %r13d, %esi
cmpl $1, %eax
cmovel %r14d, %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
addq $28, %r12
cmpq $192, %r12
jne LBB1_1
## %bb.2:
leaq L_.str.2(%rip), %rbx
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $5, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $6, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _valid_move ## -- Begin function valid_move
.p2align 4, 0x90
_valid_move: ## @valid_move
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %esi, %rcx
xorl %eax, %eax
cmpl $0, (%rdi,%rcx,4)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _get_next_open_row ## -- Begin function get_next_open_row
.p2align 4, 0x90
_get_next_open_row: ## @get_next_open_row
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %esi, %rcx
cmpl $0, 140(%rdi,%rcx,4)
je LBB3_1
## %bb.2:
cmpl $0, 112(%rdi,%rcx,4)
je LBB3_3
## %bb.4:
cmpl $0, 84(%rdi,%rcx,4)
je LBB3_5
## %bb.6:
cmpl $0, 56(%rdi,%rcx,4)
je LBB3_7
## %bb.8:
cmpl $0, 28(%rdi,%rcx,4)
je LBB3_9
## %bb.10:
xorl %eax, %eax
cmpl (%rdi,%rcx,4), %eax
sbbl %eax, %eax
popq %rbp
retq
LBB3_1:
movl $5, %eax
popq %rbp
retq
LBB3_3:
movl $4, %eax
popq %rbp
retq
LBB3_5:
movl $3, %eax
popq %rbp
retq
LBB3_7:
movl $2, %eax
popq %rbp
retq
LBB3_9:
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _make_move ## -- Begin function make_move
.p2align 4, 0x90
_make_move: ## @make_move
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %esi, %rcx
movl $-1, %eax
cmpl $0, (%rdi,%rcx,4)
je LBB4_1
## %bb.11:
popq %rbp
retq
LBB4_1:
cmpl $0, 140(%rdi,%rcx,4)
je LBB4_2
## %bb.3:
cmpl $0, 112(%rdi,%rcx,4)
je LBB4_4
## %bb.5:
cmpl $0, 84(%rdi,%rcx,4)
je LBB4_6
## %bb.7:
cmpl $0, 56(%rdi,%rcx,4)
je LBB4_8
## %bb.9:
xorl %eax, %eax
cmpl $0, 28(%rdi,%rcx,4)
sete %al
jmp LBB4_10
LBB4_2:
movl $5, %eax
jmp LBB4_10
LBB4_4:
movl $4, %eax
jmp LBB4_10
LBB4_6:
movl $3, %eax
jmp LBB4_10
LBB4_8:
movl $2, %eax
LBB4_10:
movl %eax, %esi
leaq (%rsi,%rsi,8), %r8
leaq (%r8,%r8,2), %r8
addq %rsi, %rdi
addq %r8, %rdi
movl %edx, (%rdi,%rcx,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _undo_move ## -- Begin function undo_move
.p2align 4, 0x90
_undo_move: ## @undo_move
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %esi, %rax
cmpl $0, (%rdi,%rax,4)
je LBB5_2
## %bb.1:
leaq (%rdi,%rax,4), %rax
jmp LBB5_12
LBB5_2:
cmpl $0, 28(%rdi,%rax,4)
je LBB5_4
## %bb.3:
leaq (%rdi,%rax,4), %rax
addq $28, %rax
jmp LBB5_12
LBB5_4:
cmpl $0, 56(%rdi,%rax,4)
je LBB5_6
## %bb.5:
leaq (%rdi,%rax,4), %rax
addq $56, %rax
jmp LBB5_12
LBB5_6:
cmpl $0, 84(%rdi,%rax,4)
je LBB5_8
## %bb.7:
leaq (%rdi,%rax,4), %rax
addq $84, %rax
jmp LBB5_12
LBB5_8:
cmpl $0, 112(%rdi,%rax,4)
je LBB5_10
## %bb.9:
leaq (%rdi,%rax,4), %rax
addq $112, %rax
jmp LBB5_12
LBB5_10:
cmpl $0, 140(%rdi,%rax,4)
je LBB5_13
## %bb.11:
leaq (%rdi,%rax,4), %rax
addq $140, %rax
LBB5_12:
movl $0, (%rax)
LBB5_13:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _board_full ## -- Begin function board_full
.p2align 4, 0x90
_board_full: ## @board_full
.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
cmpl $0, (%rdi)
je LBB6_7
## %bb.1:
cmpl $0, 4(%rdi)
je LBB6_7
## %bb.2:
cmpl $0, 8(%rdi)
je LBB6_7
## %bb.3:
cmpl $0, 12(%rdi)
je LBB6_7
## %bb.4:
cmpl $0, 16(%rdi)
je LBB6_7
## %bb.5:
cmpl $0, 20(%rdi)
je LBB6_7
## %bb.6:
xorl %eax, %eax
cmpl $0, 24(%rdi)
setne %al
LBB6_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _check_win ## -- Begin function check_win
.p2align 4, 0x90
_check_win: ## @check_win
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $24, %eax
jmp LBB7_2
.p2align 4, 0x90
LBB7_1: ## in Loop: Header=BB7_2 Depth=1
addq $28, %rax
cmpq $192, %rax
je LBB7_21
LBB7_2: ## =>This Inner Loop Header: Depth=1
movl -20(%rdi,%rax), %ecx
cmpl %esi, -24(%rdi,%rax)
jne LBB7_6
## %bb.3: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, %ecx
jne LBB7_6
## %bb.4: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, -16(%rdi,%rax)
jne LBB7_7
## %bb.5: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, -12(%rdi,%rax)
jne LBB7_7
jmp LBB7_76
.p2align 4, 0x90
LBB7_6: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, %ecx
jne LBB7_10
LBB7_7: ## in Loop: Header=BB7_2 Depth=1
movl -16(%rdi,%rax), %ecx
cmpl %esi, %ecx
jne LBB7_11
## %bb.8: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, -12(%rdi,%rax)
jne LBB7_12
## %bb.9: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, -8(%rdi,%rax)
jne LBB7_12
jmp LBB7_76
.p2align 4, 0x90
LBB7_10: ## in Loop: Header=BB7_2 Depth=1
movl -16(%rdi,%rax), %ecx
LBB7_11: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, %ecx
jne LBB7_15
LBB7_12: ## in Loop: Header=BB7_2 Depth=1
movl -12(%rdi,%rax), %ecx
cmpl %esi, %ecx
jne LBB7_16
## %bb.13: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, -8(%rdi,%rax)
jne LBB7_17
## %bb.14: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, -4(%rdi,%rax)
jne LBB7_17
jmp LBB7_76
.p2align 4, 0x90
LBB7_15: ## in Loop: Header=BB7_2 Depth=1
movl -12(%rdi,%rax), %ecx
LBB7_16: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, %ecx
jne LBB7_1
LBB7_17: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, -8(%rdi,%rax)
jne LBB7_1
## %bb.18: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, -4(%rdi,%rax)
jne LBB7_1
## %bb.19: ## in Loop: Header=BB7_2 Depth=1
cmpl %esi, (%rdi,%rax)
jne LBB7_1
jmp LBB7_76
LBB7_21:
movq $-7, %rax
jmp LBB7_23
.p2align 4, 0x90
LBB7_22: ## in Loop: Header=BB7_23 Depth=1
incq %rax
je LBB7_37
LBB7_23: ## =>This Inner Loop Header: Depth=1
movl 56(%rdi,%rax,4), %ecx
cmpl %esi, 28(%rdi,%rax,4)
jne LBB7_27
## %bb.24: ## in Loop: Header=BB7_23 Depth=1
cmpl %esi, %ecx
jne LBB7_27
## %bb.25: ## in Loop: Header=BB7_23 Depth=1
cmpl %esi, 84(%rdi,%rax,4)
jne LBB7_28
## %bb.26: ## in Loop: Header=BB7_23 Depth=1
cmpl %esi, 112(%rdi,%rax,4)
jne LBB7_28
jmp LBB7_76
.p2align 4, 0x90
LBB7_27: ## in Loop: Header=BB7_23 Depth=1
cmpl %esi, %ecx
jne LBB7_31
LBB7_28: ## in Loop: Header=BB7_23 Depth=1
movl 84(%rdi,%rax,4), %ecx
cmpl %esi, %ecx
jne LBB7_32
## %bb.29: ## in Loop: Header=BB7_23 Depth=1
cmpl %esi, 112(%rdi,%rax,4)
jne LBB7_33
## %bb.30: ## in Loop: Header=BB7_23 Depth=1
cmpl %esi, 140(%rdi,%rax,4)
jne LBB7_33
jmp LBB7_76
.p2align 4, 0x90
LBB7_31: ## in Loop: Header=BB7_23 Depth=1
movl 84(%rdi,%rax,4), %ecx
LBB7_32: ## in Loop: Header=BB7_23 Depth=1
cmpl %esi, %ecx
jne LBB7_22
LBB7_33: ## in Loop: Header=BB7_23 Depth=1
cmpl %esi, 112(%rdi,%rax,4)
jne LBB7_22
## %bb.34: ## in Loop: Header=BB7_23 Depth=1
cmpl %esi, 140(%rdi,%rax,4)
jne LBB7_22
## %bb.35: ## in Loop: Header=BB7_23 Depth=1
cmpl %esi, 168(%rdi,%rax,4)
jne LBB7_22
jmp LBB7_76
LBB7_37:
movq $-84, %rax
jmp LBB7_39
.p2align 4, 0x90
LBB7_38: ## in Loop: Header=BB7_39 Depth=1
addq $28, %rax
je LBB7_56
LBB7_39: ## =>This Inner Loop Header: Depth=1
cmpl %esi, 168(%rdi,%rax)
jne LBB7_43
## %bb.40: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 144(%rdi,%rax)
jne LBB7_43
## %bb.41: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 120(%rdi,%rax)
jne LBB7_43
## %bb.42: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 96(%rdi,%rax)
je LBB7_76
.p2align 4, 0x90
LBB7_43: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 172(%rdi,%rax)
jne LBB7_47
## %bb.44: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 148(%rdi,%rax)
jne LBB7_47
## %bb.45: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 124(%rdi,%rax)
jne LBB7_47
## %bb.46: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 100(%rdi,%rax)
je LBB7_76
.p2align 4, 0x90
LBB7_47: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 176(%rdi,%rax)
jne LBB7_51
## %bb.48: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 152(%rdi,%rax)
jne LBB7_51
## %bb.49: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 128(%rdi,%rax)
jne LBB7_51
## %bb.50: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 104(%rdi,%rax)
je LBB7_76
.p2align 4, 0x90
LBB7_51: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 180(%rdi,%rax)
jne LBB7_38
## %bb.52: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 156(%rdi,%rax)
jne LBB7_38
## %bb.53: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 132(%rdi,%rax)
jne LBB7_38
## %bb.54: ## in Loop: Header=BB7_39 Depth=1
cmpl %esi, 108(%rdi,%rax)
jne LBB7_38
LBB7_76:
movl $1, %eax
popq %rbp
retq
LBB7_56:
addq $108, %rdi
movb $1, %al
xorl %ecx, %ecx
jmp LBB7_58
.p2align 4, 0x90
LBB7_57: ## in Loop: Header=BB7_58 Depth=1
cmpq $2, %rcx
leaq 1(%rcx), %rdx
setb %al
addq $28, %rdi
movq %rdx, %rcx
cmpq $3, %rdx
je LBB7_74
LBB7_58: ## =>This Inner Loop Header: Depth=1
cmpl %esi, -108(%rdi)
jne LBB7_62
## %bb.59: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -76(%rdi)
jne LBB7_62
## %bb.60: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -44(%rdi)
jne LBB7_62
## %bb.61: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -12(%rdi)
je LBB7_75
.p2align 4, 0x90
LBB7_62: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -104(%rdi)
jne LBB7_66
## %bb.63: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -72(%rdi)
jne LBB7_66
## %bb.64: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -40(%rdi)
jne LBB7_66
## %bb.65: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -8(%rdi)
je LBB7_75
.p2align 4, 0x90
LBB7_66: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -100(%rdi)
jne LBB7_70
## %bb.67: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -68(%rdi)
jne LBB7_70
## %bb.68: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -36(%rdi)
jne LBB7_70
## %bb.69: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -4(%rdi)
je LBB7_75
.p2align 4, 0x90
LBB7_70: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -96(%rdi)
jne LBB7_57
## %bb.71: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -64(%rdi)
jne LBB7_57
## %bb.72: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, -32(%rdi)
jne LBB7_57
## %bb.73: ## in Loop: Header=BB7_58 Depth=1
cmpl %esi, (%rdi)
jne LBB7_57
jmp LBB7_75
LBB7_74:
xorl %eax, %eax
LBB7_75:
movzbl %al, %eax
andl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _evaluate_window ## -- Begin function evaluate_window
.p2align 4, 0x90
_evaluate_window: ## @evaluate_window
.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
xorl %r8d, %r8d
cmpl $1, %esi
sete %r8b
incl %r8d
movl (%rdi), %r9d
movl 4(%rdi), %r10d
xorl %eax, %eax
cmpl %esi, %r9d
setne %cl
sete %bl
cmpl %r8d, %r9d
sete %r11b
andb %r11b, %cl
movzbl %cl, %ecx
orb %bl, %r11b
movl %r11d, %edx
xorb $1, %dl
movzbl %dl, %edx
cmpl %esi, %r10d
jne LBB8_1
## %bb.4:
xorl %eax, %eax
cmpl %esi, %r9d
sete %al
incl %eax
jmp LBB8_5
LBB8_1:
movb %bl, %al
cmpl %r8d, %r10d
jne LBB8_2
## %bb.3:
incl %ecx
jmp LBB8_5
LBB8_2:
movzbl %r11b, %r9d
movl $2, %edx
subl %r9d, %edx
LBB8_5:
movl 8(%rdi), %r9d
cmpl %esi, %r9d
jne LBB8_6
## %bb.9:
incl %eax
jmp LBB8_10
LBB8_6:
cmpl %r8d, %r9d
jne LBB8_7
## %bb.8:
incl %ecx
jmp LBB8_10
LBB8_7:
incl %edx
LBB8_10:
movl 12(%rdi), %edi
cmpl %esi, %edi
jne LBB8_11
## %bb.14:
incl %eax
movl $100, %esi
cmpl $4, %eax
jne LBB8_15
jmp LBB8_19
LBB8_11:
cmpl %r8d, %edi
jne LBB8_12
## %bb.13:
incl %ecx
LBB8_15:
cmpl $3, %eax
je LBB8_16
jmp LBB8_18
LBB8_12:
incl %edx
cmpl $3, %eax
jne LBB8_18
LBB8_16:
cmpl $1, %edx
jne LBB8_18
## %bb.17:
movl $5, %esi
movl $1, %edx
jmp LBB8_19
LBB8_18:
xorl $2, %eax
movl %edx, %edi
xorl $2, %edi
xorl %esi, %esi
orl %eax, %edi
sete %sil
addl %esi, %esi
LBB8_19:
xorl $3, %ecx
xorl $1, %edx
leal -4(%rsi), %eax
orl %ecx, %edx
cmovnel %esi, %eax
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function score_position
LCPI9_0:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
LCPI9_1:
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
LCPI9_2:
.long 4 ## 0x4
.long 4 ## 0x4
.long 4 ## 0x4
.long 4 ## 0x4
LCPI9_3:
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
.long 3 ## 0x3
LCPI9_4:
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
.long 5 ## 0x5
LCPI9_5:
.long 100 ## 0x64
.long 100 ## 0x64
.long 100 ## 0x64
.long 100 ## 0x64
LCPI9_6:
.long 4294967292 ## 0xfffffffc
.long 4294967292 ## 0xfffffffc
.long 4294967292 ## 0xfffffffc
.long 4294967292 ## 0xfffffffc
LCPI9_7:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _score_position
.p2align 4, 0x90
_score_position: ## @score_position
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %eax, %eax
cmpl %esi, 12(%rdi)
sete %al
xorl %ecx, %ecx
cmpl %esi, 40(%rdi)
sete %cl
addl %eax, %ecx
xorl %eax, %eax
cmpl %esi, 68(%rdi)
sete %al
xorl %edx, %edx
cmpl %esi, 96(%rdi)
sete %dl
addl %eax, %edx
addl %ecx, %edx
xorl %eax, %eax
cmpl %esi, 124(%rdi)
sete %al
xorl %ecx, %ecx
cmpl %esi, 152(%rdi)
sete %cl
addl %eax, %ecx
addl %edx, %ecx
leal (%rcx,%rcx,2), %eax
xorl %ecx, %ecx
cmpl $1, %esi
sete %cl
incl %ecx
movd %esi, %xmm0
pshufd $0, %xmm0, %xmm6 ## xmm6 = xmm0[0,0,0,0]
movd %ecx, %xmm0
pshufd $0, %xmm0, %xmm7 ## xmm7 = xmm0[0,0,0,0]
movl $12, %edx
movaps LCPI9_0(%rip), %xmm8 ## xmm8 = [1,1,1,1]
movdqa LCPI9_2(%rip), %xmm15 ## xmm15 = [4,4,4,4]
.p2align 4, 0x90
LBB9_1: ## =>This Inner Loop Header: Depth=1
movdqu -12(%rdi,%rdx), %xmm2
movdqu -8(%rdi,%rdx), %xmm10
movdqu -4(%rdi,%rdx), %xmm1
movdqa %xmm2, %xmm3
pcmpeqd %xmm6, %xmm3
pcmpeqd %xmm7, %xmm2
movdqa %xmm3, %xmm4
pandn %xmm2, %xmm4
por %xmm3, %xmm2
movdqa %xmm3, %xmm14
movdqa %xmm10, %xmm5
pcmpeqd %xmm6, %xmm5
movaps LCPI9_1(%rip), %xmm9 ## xmm9 = [2,2,2,2]
movaps %xmm9, %xmm13
movdqa %xmm2, %xmm0
blendvps %xmm0, %xmm8, %xmm13
movaps %xmm8, %xmm11
movdqa %xmm4, %xmm0
blendvps %xmm0, %xmm9, %xmm11
movaps %xmm8, %xmm12
psrld $31, %xmm14
movdqa %xmm3, %xmm0
blendvps %xmm0, %xmm9, %xmm12
movdqa %xmm5, %xmm0
blendvps %xmm0, %xmm12, %xmm14
movdqu (%rdi,%rdx), %xmm3
movdqa %xmm15, %xmm9
movdqa %xmm2, %xmm15
pcmpeqd %xmm7, %xmm10
movdqa %xmm5, %xmm2
por %xmm10, %xmm2
movdqa %xmm4, %xmm12
pxor %xmm2, %xmm5
pand %xmm10, %xmm5
movdqa %xmm1, %xmm4
psrld $31, %xmm12
pcmpeqd %xmm6, %xmm4
movdqa %xmm5, %xmm0
blendvps %xmm0, %xmm11, %xmm12
pcmpeqd %xmm7, %xmm1
movdqa %xmm4, %xmm10
pandn %xmm1, %xmm10
pandn %xmm8, %xmm15
por %xmm4, %xmm1
movdqa %xmm2, %xmm0
blendvps %xmm0, %xmm15, %xmm13
movdqa %xmm9, %xmm15
movdqa %xmm1, %xmm5
pand %xmm10, %xmm5
pandn %xmm1, %xmm10
psubd %xmm10, %xmm14
movdqa %xmm3, %xmm2
pcmpeqd %xmm6, %xmm2
pcmpeqd %xmm7, %xmm3
paddd %xmm13, %xmm1
movdqa %xmm14, %xmm13
movdqa %xmm2, %xmm0
por %xmm3, %xmm0
pcmpeqd %xmm9, %xmm9
psubd %xmm9, %xmm13
movdqa %xmm14, %xmm10
blendvps %xmm0, %xmm13, %xmm10
movdqa %xmm2, %xmm4
pxor %xmm9, %xmm4
psubd %xmm9, %xmm1
pcmpeqd %xmm15, %xmm13
pandn %xmm2, %xmm13
pandn %xmm3, %xmm2
por %xmm4, %xmm13
movdqa %xmm2, %xmm3
por %xmm0, %xmm3
paddd %xmm1, %xmm3
movdqa %xmm2, %xmm0
blendvps %xmm0, %xmm14, %xmm10
movdqa LCPI9_3(%rip), %xmm14 ## xmm14 = [3,3,3,3]
movaps %xmm10, %xmm0
movdqa %xmm3, %xmm11
pcmpeqd %xmm14, %xmm0
pcmpeqd LCPI9_7(%rip), %xmm3
movdqa %xmm13, %xmm4
pand %xmm0, %xmm3
pand %xmm3, %xmm4
pslld $31, %xmm4
pandn %xmm13, %xmm3
pslld $31, %xmm3
movdqa %xmm4, %xmm0
blendvps %xmm0, %xmm8, %xmm1
psubd %xmm9, %xmm11
movdqa %xmm3, %xmm0
blendvps %xmm0, %xmm11, %xmm1
movdqa LCPI9_1(%rip), %xmm0 ## xmm0 = [2,2,2,2]
pcmpeqd %xmm0, %xmm10
pcmpeqd %xmm0, %xmm11
pand %xmm10, %xmm11
movaps LCPI9_5(%rip), %xmm10 ## xmm10 = [100,100,100,100]
movdqa %xmm4, %xmm0
movaps LCPI9_4(%rip), %xmm4 ## xmm4 = [5,5,5,5]
blendvps %xmm0, %xmm4, %xmm10
pand %xmm8, %xmm11
paddd %xmm11, %xmm11
movdqa %xmm3, %xmm0
movdqa LCPI9_6(%rip), %xmm3 ## xmm3 = [4294967292,4294967292,4294967292,4294967292]
blendvps %xmm0, %xmm11, %xmm10
psubd %xmm5, %xmm12
pand %xmm13, %xmm2
psubd %xmm2, %xmm12
pcmpeqd %xmm14, %xmm12
pcmpeqd %xmm8, %xmm1
pand %xmm12, %xmm1
movaps %xmm10, %xmm2
paddd %xmm3, %xmm2
movdqa %xmm1, %xmm0
blendvps %xmm0, %xmm2, %xmm10
movd %eax, %xmm0
paddd %xmm0, %xmm10
pshufd $238, %xmm10, %xmm0 ## xmm0 = xmm10[2,3,2,3]
paddd %xmm10, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
paddd %xmm0, %xmm1
movd %xmm1, %eax
addq $28, %rdx
cmpq $180, %rdx
jne LBB9_1
## %bb.2:
leaq 84(%rdi), %rdx
xorl %r8d, %r8d
jmp LBB9_3
.p2align 4, 0x90
LBB9_7: ## in Loop: Header=BB9_3 Depth=1
incq %r8
addq $4, %rdx
cmpq $7, %r8
je LBB9_8
LBB9_3: ## =>This Loop Header: Depth=1
## Child Loop BB9_4 Depth 2
movl (%rdi,%r8,4), %r10d
xorl %r9d, %r9d
jmp LBB9_4
.p2align 4, 0x90
LBB9_28: ## in Loop: Header=BB9_4 Depth=2
xorl $2, %r14d
movl %ebx, %r12d
xorl $2, %r12d
xorl %r15d, %r15d
orl %r14d, %r12d
sete %r15b
addl %r15d, %r15d
LBB9_29: ## in Loop: Header=BB9_4 Depth=2
xorl $3, %r11d
xorl $1, %ebx
leal -4(%r15), %r14d
orl %r11d, %ebx
cmovnel %r15d, %r14d
addl %r14d, %eax
addq $28, %r9
cmpq $84, %r9
je LBB9_7
LBB9_4: ## Parent Loop BB9_3 Depth=1
## => This Inner Loop Header: Depth=2
movl %r10d, %r15d
movl -56(%rdx,%r9), %r10d
xorl %r14d, %r14d
cmpl %esi, %r15d
setne %r11b
sete %r13b
cmpl %ecx, %r15d
sete %r12b
andb %r12b, %r11b
movzbl %r11b, %r11d
orb %r13b, %r12b
movl %r12d, %ebx
xorb $1, %bl
movzbl %bl, %ebx
cmpl %esi, %r10d
jne LBB9_5
## %bb.14: ## in Loop: Header=BB9_4 Depth=2
xorl %r14d, %r14d
cmpl %esi, %r15d
sete %r14b
incl %r14d
jmp LBB9_15
.p2align 4, 0x90
LBB9_5: ## in Loop: Header=BB9_4 Depth=2
movb %r13b, %r14b
cmpl %ecx, %r10d
jne LBB9_6
## %bb.13: ## in Loop: Header=BB9_4 Depth=2
incl %r11d
jmp LBB9_15
.p2align 4, 0x90
LBB9_6: ## in Loop: Header=BB9_4 Depth=2
movzbl %r12b, %r15d
movl $2, %ebx
subl %r15d, %ebx
LBB9_15: ## in Loop: Header=BB9_4 Depth=2
movl -28(%rdx,%r9), %r15d
cmpl %esi, %r15d
jne LBB9_16
## %bb.19: ## in Loop: Header=BB9_4 Depth=2
incl %r14d
jmp LBB9_20
.p2align 4, 0x90
LBB9_16: ## in Loop: Header=BB9_4 Depth=2
cmpl %ecx, %r15d
jne LBB9_17
## %bb.18: ## in Loop: Header=BB9_4 Depth=2
incl %r11d
jmp LBB9_20
.p2align 4, 0x90
LBB9_17: ## in Loop: Header=BB9_4 Depth=2
incl %ebx
LBB9_20: ## in Loop: Header=BB9_4 Depth=2
movl (%rdx,%r9), %r15d
cmpl %esi, %r15d
jne LBB9_21
## %bb.24: ## in Loop: Header=BB9_4 Depth=2
incl %r14d
movl $100, %r15d
cmpl $4, %r14d
je LBB9_29
jmp LBB9_25
.p2align 4, 0x90
LBB9_21: ## in Loop: Header=BB9_4 Depth=2
cmpl %ecx, %r15d
jne LBB9_22
## %bb.23: ## in Loop: Header=BB9_4 Depth=2
incl %r11d
LBB9_25: ## in Loop: Header=BB9_4 Depth=2
cmpl $3, %r14d
je LBB9_26
jmp LBB9_28
.p2align 4, 0x90
LBB9_22: ## in Loop: Header=BB9_4 Depth=2
incl %ebx
cmpl $3, %r14d
jne LBB9_28
LBB9_26: ## in Loop: Header=BB9_4 Depth=2
cmpl $1, %ebx
jne LBB9_28
## %bb.27: ## in Loop: Header=BB9_4 Depth=2
movl $5, %r15d
movl $1, %ebx
jmp LBB9_29
LBB9_8:
movq $-84, %rcx
pcmpeqd %xmm5, %xmm5
movaps LCPI9_1(%rip), %xmm9 ## xmm9 = [2,2,2,2]
.p2align 4, 0x90
LBB9_9: ## =>This Inner Loop Header: Depth=1
movdqu 96(%rdi,%rcx), %xmm12
movdqu 144(%rdi,%rcx), %xmm13
movdqu 168(%rdi,%rcx), %xmm2
movdqa %xmm2, %xmm1
pcmpeqd %xmm6, %xmm1
pcmpeqd %xmm7, %xmm2
movdqa %xmm1, %xmm3
pandn %xmm2, %xmm3
por %xmm1, %xmm2
movdqa %xmm1, %xmm11
psrld $31, %xmm11
movdqa %xmm13, %xmm4
pcmpeqd %xmm6, %xmm4
movaps %xmm9, %xmm10
movdqa %xmm2, %xmm0
blendvps %xmm0, %xmm8, %xmm10
movaps %xmm8, %xmm14
movdqa %xmm3, %xmm0
blendvps %xmm0, %xmm9, %xmm14
movaps %xmm8, %xmm15
movdqa %xmm1, %xmm0
blendvps %xmm0, %xmm9, %xmm15
movdqa %xmm4, %xmm0
blendvps %xmm0, %xmm15, %xmm11
movdqu 120(%rdi,%rcx), %xmm1
movdqa %xmm3, %xmm15
psrld $31, %xmm15
movdqa %xmm2, %xmm3
pandn %xmm8, %xmm3
pcmpeqd %xmm7, %xmm13
movdqa %xmm4, %xmm2
por %xmm13, %xmm2
pxor %xmm2, %xmm4
pand %xmm13, %xmm4
movdqa %xmm4, %xmm0
blendvps %xmm0, %xmm14, %xmm15
movdqa %xmm2, %xmm0
blendvps %xmm0, %xmm3, %xmm10
movdqa %xmm1, %xmm0
pcmpeqd %xmm6, %xmm0
pcmpeqd %xmm7, %xmm1
movdqa %xmm0, %xmm2
pandn %xmm1, %xmm2
por %xmm0, %xmm1
movdqa %xmm1, %xmm13
pand %xmm2, %xmm13
pandn %xmm1, %xmm2
psubd %xmm2, %xmm11
paddd %xmm10, %xmm1
movdqa %xmm12, %xmm2
pcmpeqd %xmm6, %xmm2
pcmpeqd %xmm7, %xmm12
movdqa %xmm11, %xmm10
psubd %xmm5, %xmm10
movdqa %xmm2, %xmm0
por %xmm12, %xmm0
movdqa %xmm11, %xmm14
blendvps %xmm0, %xmm10, %xmm14
psubd %xmm5, %xmm1
movdqa %xmm2, %xmm3
pxor %xmm5, %xmm3
pcmpeqd LCPI9_2(%rip), %xmm10
pandn %xmm2, %xmm10
por %xmm3, %xmm10
pandn %xmm12, %xmm2
movdqa %xmm2, %xmm3
por %xmm0, %xmm3
paddd %xmm1, %xmm3
movdqa %xmm3, %xmm12
psubd %xmm5, %xmm12
movdqa %xmm2, %xmm0
blendvps %xmm0, %xmm11, %xmm14
movaps %xmm14, %xmm0
pcmpeqd LCPI9_3(%rip), %xmm0
pcmpeqd LCPI9_7(%rip), %xmm3
pand %xmm0, %xmm3
movdqa %xmm10, %xmm4
pand %xmm3, %xmm4
pslld $31, %xmm4
pandn %xmm10, %xmm3
pslld $31, %xmm3
movdqa %xmm4, %xmm0
blendvps %xmm0, %xmm8, %xmm1
movdqa %xmm3, %xmm0
blendvps %xmm0, %xmm12, %xmm1
pcmpeqd %xmm9, %xmm14
pcmpeqd %xmm9, %xmm12
pand %xmm14, %xmm12
movaps LCPI9_5(%rip), %xmm11 ## xmm11 = [100,100,100,100]
movdqa %xmm4, %xmm0
blendvps %xmm0, LCPI9_4(%rip), %xmm11
pand %xmm8, %xmm12
paddd %xmm12, %xmm12
movdqa %xmm3, %xmm0
blendvps %xmm0, %xmm12, %xmm11
psubd %xmm13, %xmm15
pand %xmm10, %xmm2
psubd %xmm2, %xmm15
pcmpeqd LCPI9_3(%rip), %xmm15
pcmpeqd %xmm8, %xmm1
pand %xmm15, %xmm1
movaps %xmm11, %xmm2
paddd LCPI9_6(%rip), %xmm2
movdqa %xmm1, %xmm0
blendvps %xmm0, %xmm2, %xmm11
movd %eax, %xmm0
paddd %xmm0, %xmm11
pshufd $238, %xmm11, %xmm0 ## xmm0 = xmm11[2,3,2,3]
paddd %xmm11, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
paddd %xmm0, %xmm1
movd %xmm1, %eax
addq $28, %rcx
jne LBB9_9
## %bb.10:
movq $-84, %rcx
pcmpeqd %xmm10, %xmm10
movaps LCPI9_1(%rip), %xmm9 ## xmm9 = [2,2,2,2]
.p2align 4, 0x90
LBB9_11: ## =>This Inner Loop Header: Depth=1
movdqu 84(%rdi,%rcx), %xmm2
movdqu 116(%rdi,%rcx), %xmm15
movdqu 148(%rdi,%rcx), %xmm1
movdqa %xmm2, %xmm3
pcmpeqd %xmm6, %xmm3
pcmpeqd %xmm7, %xmm2
movdqa %xmm3, %xmm4
pandn %xmm2, %xmm4
por %xmm3, %xmm2
movdqa %xmm3, %xmm14
psrld $31, %xmm14
movdqa %xmm15, %xmm5
pcmpeqd %xmm6, %xmm5
movaps %xmm9, %xmm13
movdqa %xmm2, %xmm0
blendvps %xmm0, %xmm8, %xmm13
movaps %xmm8, %xmm11
movdqa %xmm4, %xmm0
blendvps %xmm0, %xmm9, %xmm11
movaps %xmm8, %xmm12
movdqa %xmm3, %xmm0
blendvps %xmm0, %xmm9, %xmm12
movdqa %xmm5, %xmm0
blendvps %xmm0, %xmm12, %xmm14
movdqu 180(%rdi,%rcx), %xmm3
movdqa %xmm4, %xmm12
psrld $31, %xmm12
movdqa %xmm2, %xmm4
pandn %xmm8, %xmm4
pcmpeqd %xmm7, %xmm15
movdqa %xmm5, %xmm2
por %xmm15, %xmm2
pxor %xmm2, %xmm5
pand %xmm15, %xmm5
movdqa %xmm5, %xmm0
blendvps %xmm0, %xmm11, %xmm12
movdqa %xmm2, %xmm0
blendvps %xmm0, %xmm4, %xmm13
movdqa %xmm1, %xmm0
pcmpeqd %xmm6, %xmm0
pcmpeqd %xmm7, %xmm1
movdqa %xmm0, %xmm2
pandn %xmm1, %xmm2
por %xmm0, %xmm1
movdqa %xmm1, %xmm5
pand %xmm2, %xmm5
pandn %xmm1, %xmm2
psubd %xmm2, %xmm14
paddd %xmm13, %xmm1
movdqa %xmm3, %xmm2
pcmpeqd %xmm6, %xmm2
pcmpeqd %xmm7, %xmm3
movdqa %xmm14, %xmm13
psubd %xmm10, %xmm13
movdqa %xmm2, %xmm0
por %xmm3, %xmm0
movdqa %xmm14, %xmm11
blendvps %xmm0, %xmm13, %xmm11
psubd %xmm10, %xmm1
movdqa %xmm2, %xmm4
pxor %xmm10, %xmm4
pcmpeqd LCPI9_2(%rip), %xmm13
pandn %xmm2, %xmm13
por %xmm4, %xmm13
pandn %xmm3, %xmm2
movdqa %xmm2, %xmm3
por %xmm0, %xmm3
paddd %xmm1, %xmm3
movdqa %xmm3, %xmm15
psubd %xmm10, %xmm15
movdqa %xmm2, %xmm0
blendvps %xmm0, %xmm14, %xmm11
movdqa LCPI9_3(%rip), %xmm14 ## xmm14 = [3,3,3,3]
movaps %xmm11, %xmm0
pcmpeqd %xmm14, %xmm0
pcmpeqd LCPI9_7(%rip), %xmm3
pand %xmm0, %xmm3
movdqa %xmm13, %xmm4
pand %xmm3, %xmm4
pslld $31, %xmm4
pandn %xmm13, %xmm3
pslld $31, %xmm3
movdqa %xmm4, %xmm0
blendvps %xmm0, %xmm8, %xmm1
movdqa %xmm3, %xmm0
blendvps %xmm0, %xmm15, %xmm1
pcmpeqd %xmm9, %xmm11
pcmpeqd %xmm9, %xmm15
pand %xmm11, %xmm15
movaps LCPI9_5(%rip), %xmm11 ## xmm11 = [100,100,100,100]
movdqa %xmm4, %xmm0
blendvps %xmm0, LCPI9_4(%rip), %xmm11
pand %xmm8, %xmm15
paddd %xmm15, %xmm15
movdqa %xmm3, %xmm0
blendvps %xmm0, %xmm15, %xmm11
psubd %xmm5, %xmm12
pand %xmm13, %xmm2
psubd %xmm2, %xmm12
pcmpeqd %xmm14, %xmm12
pcmpeqd %xmm8, %xmm1
pand %xmm12, %xmm1
movaps %xmm11, %xmm2
paddd LCPI9_6(%rip), %xmm2
movdqa %xmm1, %xmm0
blendvps %xmm0, %xmm2, %xmm11
movd %eax, %xmm0
paddd %xmm0, %xmm11
pshufd $238, %xmm11, %xmm0 ## xmm0 = xmm11[2,3,2,3]
paddd %xmm11, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
paddd %xmm0, %xmm1
movd %xmm1, %eax
addq $28, %rcx
jne LBB9_11
## %bb.12:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _terminal_score ## -- Begin function terminal_score
.p2align 4, 0x90
_terminal_score: ## @terminal_score
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
callq _check_win
movl %eax, %ecx
movl $100000, %eax ## imm = 0x186A0
testl %ecx, %ecx
jne LBB10_2
## %bb.1:
xorl %esi, %esi
cmpl $1, %r14d
sete %sil
incl %esi
movq %rbx, %rdi
callq _check_win
movl %eax, %ecx
testl %eax, %eax
movl $-100000, %eax ## imm = 0xFFFE7960
cmovel %ecx, %eax
LBB10_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _minimax ## -- Begin function minimax
.p2align 4, 0x90
_minimax: ## @minimax
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $152, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -124(%rbp) ## 4-byte Spill
## kill: def $esi killed $esi def $rsi
movq %rdi, %r14
movq 16(%rbp), %rax
movq %rax, -176(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorl %r12d, %r12d
movl %r9d, -120(%rbp) ## 4-byte Spill
cmpl $1, %r9d
sete %r12b
incl %r12d
movq %rsi, -160(%rbp) ## 8-byte Spill
testl %esi, %esi
je LBB11_10
## %bb.1:
movl %r8d, %r15d
movl %edx, %r13d
movl (%r14), %ebx
testl %ebx, %ebx
je LBB11_8
## %bb.2:
cmpl $0, 4(%r14)
je LBB11_8
## %bb.3:
cmpl $0, 8(%r14)
je LBB11_8
## %bb.4:
cmpl $0, 12(%r14)
je LBB11_8
## %bb.5:
cmpl $0, 16(%r14)
je LBB11_8
## %bb.6:
cmpl $0, 20(%r14)
je LBB11_8
## %bb.7:
cmpl $0, 24(%r14)
jne LBB11_10
LBB11_8:
movq %r14, %rdi
movl -120(%rbp), %esi ## 4-byte Reload
callq _check_win
testl %eax, %eax
jne LBB11_10
## %bb.9:
movq %r14, %rdi
movl %r12d, %esi
callq _check_win
testl %eax, %eax
je LBB11_18
LBB11_10:
movq %r14, %rdi
movl -120(%rbp), %esi ## 4-byte Reload
callq _check_win
movl $100000, %r15d ## imm = 0x186A0
testl %eax, %eax
jne LBB11_97
## %bb.11:
movq %r14, %rdi
movl %r12d, %esi
callq _check_win
movl $-100000, %r15d ## imm = 0xFFFE7960
testl %eax, %eax
je LBB11_12
LBB11_97:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB11_99
## %bb.98:
movl %r15d, %eax
addq $152, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB11_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB11_99
## %bb.13:
movq %r14, %rdi
movl -120(%rbp), %esi ## 4-byte Reload
addq $152, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _score_position ## TAILCALL
LBB11_18:
xorl %eax, %eax
testl %ebx, %ebx
jne LBB11_20
## %bb.19:
movl $0, -80(%rbp)
movl $1, %eax
LBB11_20:
cmpl $0, 4(%r14)
jne LBB11_22
## %bb.21:
movl %eax, %ecx
incl %eax
movl $1, -80(%rbp,%rcx,4)
LBB11_22:
cmpl $0, 8(%r14)
movl -124(%rbp), %r8d ## 4-byte Reload
je LBB11_23
## %bb.24:
cmpl $0, 12(%r14)
je LBB11_25
LBB11_26:
cmpl $0, 16(%r14)
je LBB11_27
LBB11_28:
cmpl $0, 20(%r14)
je LBB11_29
LBB11_30:
cmpl $0, 24(%r14)
je LBB11_31
LBB11_32:
testl %r15d, %r15d
je LBB11_16
## %bb.14:
testl %eax, %eax
je LBB11_15
## %bb.33:
movq -160(%rbp), %rcx ## 8-byte Reload
decl %ecx
movl %ecx, -128(%rbp) ## 4-byte Spill
movl %eax, %eax
decq %rax
movq %rax, -152(%rbp) ## 8-byte Spill
movl $-2147483648, %r15d ## imm = 0x80000000
xorl %ebx, %ebx
movl $0, -116(%rbp) ## 4-byte Folded Spill
.p2align 4, 0x90
LBB11_34: ## =>This Inner Loop Header: Depth=1
movl %r15d, -132(%rbp) ## 4-byte Spill
movl -80(%rbp,%rbx,4), %eax
movl %eax, -144(%rbp) ## 4-byte Spill
movslq %eax, %r15
cmpl $0, (%r14,%r15,4)
jne LBB11_45
## %bb.35: ## in Loop: Header=BB11_34 Depth=1
cmpl $0, 140(%r14,%r15,4)
je LBB11_36
## %bb.37: ## in Loop: Header=BB11_34 Depth=1
cmpl $0, 112(%r14,%r15,4)
je LBB11_38
## %bb.39: ## in Loop: Header=BB11_34 Depth=1
cmpl $0, 84(%r14,%r15,4)
je LBB11_40
## %bb.41: ## in Loop: Header=BB11_34 Depth=1
cmpl $0, 56(%r14,%r15,4)
je LBB11_42
## %bb.43: ## in Loop: Header=BB11_34 Depth=1
xorl %eax, %eax
cmpl $0, 28(%r14,%r15,4)
sete %al
jmp LBB11_44
LBB11_36: ## in Loop: Header=BB11_34 Depth=1
movl $5, %eax
jmp LBB11_44
LBB11_38: ## in Loop: Header=BB11_34 Depth=1
movl $4, %eax
jmp LBB11_44
LBB11_40: ## in Loop: Header=BB11_34 Depth=1
movl $3, %eax
jmp LBB11_44
LBB11_42: ## in Loop: Header=BB11_34 Depth=1
movl $2, %eax
.p2align 4, 0x90
LBB11_44: ## in Loop: Header=BB11_34 Depth=1
leaq (%rax,%rax,8), %rcx
leaq (%rcx,%rcx,2), %rcx
addq %r14, %rax
addq %rcx, %rax
movl -120(%rbp), %ecx ## 4-byte Reload
movl %ecx, (%rax,%r15,4)
LBB11_45: ## in Loop: Header=BB11_34 Depth=1
leaq (%r14,%r15,4), %r12
movq $0, (%rsp)
movq %r14, %rdi
movl -128(%rbp), %esi ## 4-byte Reload
movl %r13d, %edx
movl %r8d, %ecx
xorl %r8d, %r8d
movl -120(%rbp), %r9d ## 4-byte Reload
callq _minimax
movl -124(%rbp), %r8d ## 4-byte Reload
cmpl $0, (%r12)
jne LBB11_56
## %bb.46: ## in Loop: Header=BB11_34 Depth=1
cmpl $0, 28(%r14,%r15,4)
je LBB11_48
## %bb.47: ## in Loop: Header=BB11_34 Depth=1
leaq (%r14,%r15,4), %r12
addq $28, %r12
jmp LBB11_56
LBB11_48: ## in Loop: Header=BB11_34 Depth=1
cmpl $0, 56(%r14,%r15,4)
je LBB11_50
## %bb.49: ## in Loop: Header=BB11_34 Depth=1
leaq (%r14,%r15,4), %r12
addq $56, %r12
jmp LBB11_56
LBB11_50: ## in Loop: Header=BB11_34 Depth=1
cmpl $0, 84(%r14,%r15,4)
je LBB11_52
## %bb.51: ## in Loop: Header=BB11_34 Depth=1
leaq (%r14,%r15,4), %r12
addq $84, %r12
jmp LBB11_56
LBB11_52: ## in Loop: Header=BB11_34 Depth=1
cmpl $0, 112(%r14,%r15,4)
je LBB11_54
## %bb.53: ## in Loop: Header=BB11_34 Depth=1
leaq (%r14,%r15,4), %r12
addq $112, %r12
jmp LBB11_56
LBB11_54: ## in Loop: Header=BB11_34 Depth=1
cmpl $0, 140(%r14,%r15,4)
je LBB11_57
## %bb.55: ## in Loop: Header=BB11_34 Depth=1
leaq (%r14,%r15,4), %r12
addq $140, %r12
.p2align 4, 0x90
LBB11_56: ## in Loop: Header=BB11_34 Depth=1
movl $0, (%r12)
LBB11_57: ## in Loop: Header=BB11_34 Depth=1
movl -132(%rbp), %r15d ## 4-byte Reload
cmpl %r15d, %eax
jle LBB11_59
## %bb.58: ## in Loop: Header=BB11_34 Depth=1
movl -144(%rbp), %ecx ## 4-byte Reload
movl %ecx, -112(%rbp)
movl $1, -116(%rbp) ## 4-byte Folded Spill
movl %eax, %r15d
jmp LBB11_61
.p2align 4, 0x90
LBB11_59: ## in Loop: Header=BB11_34 Depth=1
jne LBB11_61
## %bb.60: ## in Loop: Header=BB11_34 Depth=1
movl -116(%rbp), %ecx ## 4-byte Reload
movslq %ecx, %rax
incl %ecx
movl %ecx, -116(%rbp) ## 4-byte Spill
movl -144(%rbp), %ecx ## 4-byte Reload
movl %ecx, -112(%rbp,%rax,4)
LBB11_61: ## in Loop: Header=BB11_34 Depth=1
cmpl %r13d, %r15d
cmovgl %r15d, %r13d
cmpl %r8d, %r13d
jge LBB11_93
## %bb.62: ## in Loop: Header=BB11_34 Depth=1
leaq 1(%rbx), %rax
cmpq %rbx, -152(%rbp) ## 8-byte Folded Reload
movq %rax, %rbx
jne LBB11_34
jmp LBB11_93
LBB11_23:
movl %eax, %ecx
incl %eax
movl $2, -80(%rbp,%rcx,4)
cmpl $0, 12(%r14)
jne LBB11_26
LBB11_25:
movl %eax, %ecx
incl %eax
movl $3, -80(%rbp,%rcx,4)
cmpl $0, 16(%r14)
jne LBB11_28
LBB11_27:
movl %eax, %ecx
incl %eax
movl $4, -80(%rbp,%rcx,4)
cmpl $0, 20(%r14)
jne LBB11_30
LBB11_29:
movl %eax, %ecx
incl %eax
movl $5, -80(%rbp,%rcx,4)
cmpl $0, 24(%r14)
jne LBB11_32
LBB11_31:
movl %eax, %ecx
incl %eax
movl $6, -80(%rbp,%rcx,4)
jmp LBB11_32
LBB11_16:
testl %eax, %eax
je LBB11_17
## %bb.63:
movq -160(%rbp), %rcx ## 8-byte Reload
decl %ecx
movl %ecx, -152(%rbp) ## 4-byte Spill
movl %eax, %eax
decq %rax
movq %rax, -168(%rbp) ## 8-byte Spill
movl $2147483647, %r15d ## imm = 0x7FFFFFFF
xorl %edx, %edx
movl $0, -116(%rbp) ## 4-byte Folded Spill
movl %r12d, -128(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB11_64: ## =>This Inner Loop Header: Depth=1
movl %r15d, -132(%rbp) ## 4-byte Spill
movl -80(%rbp,%rdx,4), %eax
movl %eax, -124(%rbp) ## 4-byte Spill
movslq %eax, %rsi
cmpl $0, (%r14,%rsi,4)
jne LBB11_75
## %bb.65: ## in Loop: Header=BB11_64 Depth=1
cmpl $0, 140(%r14,%rsi,4)
je LBB11_66
## %bb.67: ## in Loop: Header=BB11_64 Depth=1
cmpl $0, 112(%r14,%rsi,4)
je LBB11_68
## %bb.69: ## in Loop: Header=BB11_64 Depth=1
cmpl $0, 84(%r14,%rsi,4)
je LBB11_70
## %bb.71: ## in Loop: Header=BB11_64 Depth=1
cmpl $0, 56(%r14,%rsi,4)
je LBB11_72
## %bb.73: ## in Loop: Header=BB11_64 Depth=1
xorl %eax, %eax
cmpl $0, 28(%r14,%rsi,4)
sete %al
jmp LBB11_74
LBB11_66: ## in Loop: Header=BB11_64 Depth=1
movl $5, %eax
jmp LBB11_74
LBB11_68: ## in Loop: Header=BB11_64 Depth=1
movl $4, %eax
jmp LBB11_74
LBB11_70: ## in Loop: Header=BB11_64 Depth=1
movl $3, %eax
jmp LBB11_74
LBB11_72: ## in Loop: Header=BB11_64 Depth=1
movl $2, %eax
.p2align 4, 0x90
LBB11_74: ## in Loop: Header=BB11_64 Depth=1
leaq (%rax,%rax,8), %rcx
leaq (%rcx,%rcx,2), %rcx
addq %r14, %rax
addq %rcx, %rax
movl %r12d, (%rax,%rsi,4)
LBB11_75: ## in Loop: Header=BB11_64 Depth=1
leaq (%r14,%rsi,4), %r12
movq $0, (%rsp)
movq %r14, %rdi
movq %rsi, -144(%rbp) ## 8-byte Spill
movl -152(%rbp), %esi ## 4-byte Reload
movq %r14, %r15
movq %rdx, %r14
movl %r13d, %edx
movl %r8d, %ecx
movl %r8d, %ebx
movl $1, %r8d
movl -120(%rbp), %r9d ## 4-byte Reload
callq _minimax
movq %r14, %rdx
movq %r15, %r14
movl %ebx, %r8d
cmpl $0, (%r12)
jne LBB11_86
## %bb.76: ## in Loop: Header=BB11_64 Depth=1
movq -144(%rbp), %rcx ## 8-byte Reload
cmpl $0, 28(%r14,%rcx,4)
je LBB11_78
## %bb.77: ## in Loop: Header=BB11_64 Depth=1
leaq (%r14,%rcx,4), %r12
addq $28, %r12
jmp LBB11_86
LBB11_78: ## in Loop: Header=BB11_64 Depth=1
cmpl $0, 56(%r14,%rcx,4)
je LBB11_80
## %bb.79: ## in Loop: Header=BB11_64 Depth=1
leaq (%r14,%rcx,4), %r12
addq $56, %r12
jmp LBB11_86
LBB11_80: ## in Loop: Header=BB11_64 Depth=1
cmpl $0, 84(%r14,%rcx,4)
je LBB11_82
## %bb.81: ## in Loop: Header=BB11_64 Depth=1
leaq (%r14,%rcx,4), %r12
addq $84, %r12
jmp LBB11_86
LBB11_82: ## in Loop: Header=BB11_64 Depth=1
cmpl $0, 112(%r14,%rcx,4)
je LBB11_84
## %bb.83: ## in Loop: Header=BB11_64 Depth=1
leaq (%r14,%rcx,4), %r12
addq $112, %r12
jmp LBB11_86
LBB11_84: ## in Loop: Header=BB11_64 Depth=1
cmpl $0, 140(%r14,%rcx,4)
je LBB11_87
## %bb.85: ## in Loop: Header=BB11_64 Depth=1
leaq (%r14,%rcx,4), %r12
addq $140, %r12
.p2align 4, 0x90
LBB11_86: ## in Loop: Header=BB11_64 Depth=1
movl $0, (%r12)
LBB11_87: ## in Loop: Header=BB11_64 Depth=1
movl -132(%rbp), %r15d ## 4-byte Reload
cmpl %r15d, %eax
jge LBB11_89
## %bb.88: ## in Loop: Header=BB11_64 Depth=1
movl -124(%rbp), %ecx ## 4-byte Reload
movl %ecx, -112(%rbp)
movl $1, -116(%rbp) ## 4-byte Folded Spill
movl %eax, %r15d
movl -128(%rbp), %r12d ## 4-byte Reload
jmp LBB11_91
.p2align 4, 0x90
LBB11_89: ## in Loop: Header=BB11_64 Depth=1
movl -128(%rbp), %r12d ## 4-byte Reload
jne LBB11_91
## %bb.90: ## in Loop: Header=BB11_64 Depth=1
movl -116(%rbp), %ecx ## 4-byte Reload
movslq %ecx, %rax
incl %ecx
movl %ecx, -116(%rbp) ## 4-byte Spill
movl -124(%rbp), %ecx ## 4-byte Reload
movl %ecx, -112(%rbp,%rax,4)
LBB11_91: ## in Loop: Header=BB11_64 Depth=1
cmpl %r8d, %r15d
cmovll %r15d, %r8d
cmpl %r13d, %r8d
jle LBB11_93
## %bb.92: ## in Loop: Header=BB11_64 Depth=1
leaq 1(%rdx), %rax
cmpq %rdx, -168(%rbp) ## 8-byte Folded Reload
movq %rax, %rdx
jne LBB11_64
LBB11_93:
movq -176(%rbp), %rbx ## 8-byte Reload
testq %rbx, %rbx
je LBB11_97
## %bb.94:
cmpl $4, -160(%rbp) ## 4-byte Folded Reload
jne LBB11_97
## %bb.95:
movl -116(%rbp), %r14d ## 4-byte Reload
testl %r14d, %r14d
jle LBB11_97
## %bb.96:
callq _libmin_rand
xorl %edx, %edx
divl %r14d
## kill: def $edx killed $edx def $rdx
movl -112(%rbp,%rdx,4), %eax
movl %eax, (%rbx)
jmp LBB11_97
LBB11_15:
movl $-2147483648, %r15d ## imm = 0x80000000
jmp LBB11_97
LBB11_17:
movl $2147483647, %r15d ## imm = 0x7FFFFFFF
jmp LBB11_97
LBB11_99:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function play_game
LCPI12_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _play_game
.p2align 4, 0x90
_play_game: ## @play_game
.cfi_startproc
## %bb.0:
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 $200, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -80(%rbp)
movaps %xmm0, -96(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm0, -128(%rbp)
movaps %xmm0, -144(%rbp)
movaps %xmm0, -160(%rbp)
movaps %xmm0, -176(%rbp)
movaps %xmm0, -192(%rbp)
movaps %xmm0, -208(%rbp)
movaps %xmm0, -224(%rbp)
movq $0, -64(%rbp)
leaq -224(%rbp), %r14
movq %r14, %rdi
callq _print_board
movl $-1, -228(%rbp)
leaq -228(%rbp), %rax
movq %rax, (%rsp)
movl $1, %ebx
movq %r14, %rdi
movl $4, %esi
movl $-2147483648, %edx ## imm = 0x80000000
movl $2147483647, %ecx ## imm = 0x7FFFFFFF
movl $1, %r8d
movl $1, %r9d
callq _minimax
movl -228(%rbp), %ecx
cmpl $-1, %ecx
je LBB12_20
## %bb.1:
leaq L_.str.4(%rip), %r14
leaq -224(%rbp), %r15
movl $1, %r12d
jmp LBB12_2
.p2align 4, 0x90
LBB12_19: ## in Loop: Header=BB12_2 Depth=1
xorl %r13d, %r13d
cmpl $1, %r12d
sete %r13b
incl %r13d
incl %ebx
movl $-1, -228(%rbp)
leaq -228(%rbp), %rax
movq %rax, (%rsp)
movq %r15, %rdi
movl $4, %esi
movl $-2147483648, %edx ## imm = 0x80000000
movl $2147483647, %ecx ## imm = 0x7FFFFFFF
movl $1, %r8d
movl %r13d, %r9d
callq _minimax
movl -228(%rbp), %ecx
movl %r13d, %r12d
cmpl $-1, %ecx
je LBB12_20
LBB12_2: ## =>This Inner Loop Header: Depth=1
movslq %ecx, %rcx
cmpl $0, -224(%rbp,%rcx,4)
jne LBB12_20
## %bb.3: ## in Loop: Header=BB12_2 Depth=1
cmpl $0, -84(%rbp,%rcx,4)
je LBB12_4
## %bb.5: ## in Loop: Header=BB12_2 Depth=1
cmpl $0, -112(%rbp,%rcx,4)
je LBB12_6
## %bb.7: ## in Loop: Header=BB12_2 Depth=1
cmpl $0, -140(%rbp,%rcx,4)
je LBB12_8
## %bb.9: ## in Loop: Header=BB12_2 Depth=1
cmpl $0, -168(%rbp,%rcx,4)
je LBB12_10
## %bb.11: ## in Loop: Header=BB12_2 Depth=1
xorl %edx, %edx
cmpl $0, -196(%rbp,%rcx,4)
sete %dl
jmp LBB12_12
.p2align 4, 0x90
LBB12_4: ## in Loop: Header=BB12_2 Depth=1
movl $5, %edx
jmp LBB12_12
.p2align 4, 0x90
LBB12_6: ## in Loop: Header=BB12_2 Depth=1
movl $4, %edx
jmp LBB12_12
LBB12_8: ## in Loop: Header=BB12_2 Depth=1
movl $3, %edx
jmp LBB12_12
LBB12_10: ## in Loop: Header=BB12_2 Depth=1
movl $2, %edx
.p2align 4, 0x90
LBB12_12: ## in Loop: Header=BB12_2 Depth=1
leaq (%rdx,%rdx,8), %rsi
leaq (%rsi,%rsi,2), %rsi
addq %rdx, %rsi
leaq (%rsi,%rbp), %rdx
addq $-224, %rdx
movl %r12d, (%rdx,%rcx,4)
movq %r14, %rdi
movl %ebx, %esi
movl %r12d, %edx
## kill: def $ecx killed $ecx killed $rcx
movl %eax, %r8d
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
callq _print_board
movq %r15, %rdi
movl %r12d, %esi
callq _check_win
testl %eax, %eax
jne LBB12_13
## %bb.14: ## in Loop: Header=BB12_2 Depth=1
movdqa -224(%rbp), %xmm0
pcmpeqd LCPI12_0(%rip), %xmm0
movmskps %xmm0, %eax
testl %eax, %eax
jne LBB12_19
## %bb.15: ## in Loop: Header=BB12_2 Depth=1
cmpl $0, -208(%rbp)
je LBB12_19
## %bb.16: ## in Loop: Header=BB12_2 Depth=1
cmpl $0, -204(%rbp)
je LBB12_19
## %bb.17: ## in Loop: Header=BB12_2 Depth=1
cmpl $0, -200(%rbp)
je LBB12_19
## %bb.18:
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB12_20
LBB12_13:
leaq L_.str.5(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _libmin_printf
LBB12_20:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB12_22
## %bb.21:
addq $200, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB12_22:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $42, %edi
callq _libmin_srand
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _play_game
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
L_.str.1: ## @.str.1
.asciz "%c "
L_.str.2: ## @.str.2
.asciz "%d "
L_.str.3: ## @.str.3
.asciz "\n\n"
L_.str.4: ## @.str.4
.asciz "Move %d: Player %d drops in column %d (score=%d)\n"
L_.str.5: ## @.str.5
.asciz "Player %d wins!\n"
L_.str.6: ## @.str.6
.asciz "Game is a draw.\n"
L_.str.7: ## @.str.7
.asciz "Connect Four: Minimax AI Self-Play\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _init_board ; -- Begin function init_board
.p2align 2
_init_board: ; @init_board
.cfi_startproc
; %bb.0:
str xzr, [x0, #160]
movi.2d v0, #0000000000000000
stp q0, q0, [x0, #128]
stp q0, q0, [x0, #96]
stp q0, q0, [x0, #64]
stp q0, q0, [x0, #32]
stp q0, q0, [x0]
ret
.cfi_endproc
; -- End function
.globl _print_board ; -- Begin function print_board
.p2align 2
_print_board: ; @print_board
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x0
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _libmin_printf
mov x21, #0 ; =0x0
add x22, x20, #12
mov w23, #46 ; =0x2e
mov w24, #79 ; =0x4f
mov w25, #88 ; =0x58
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
LBB1_1: ; =>This Inner Loop Header: Depth=1
add x26, x22, x21
ldur w8, [x26, #-12]
cmp w8, #2
csel w9, w24, w23, eq
cmp w8, #1
csel w8, w25, w9, eq
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldur w8, [x26, #-8]
cmp w8, #2
csel w9, w24, w23, eq
cmp w8, #1
csel w8, w25, w9, eq
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldur w8, [x26, #-4]
cmp w8, #2
csel w9, w24, w23, eq
cmp w8, #1
csel w8, w25, w9, eq
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x26]
cmp w8, #2
csel w9, w24, w23, eq
cmp w8, #1
csel w8, w25, w9, eq
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x26, #4]
cmp w8, #2
csel w9, w24, w23, eq
cmp w8, #1
csel w8, w25, w9, eq
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x26, #8]
cmp w8, #2
csel w9, w24, w23, eq
cmp w8, #1
csel w8, w25, w9, eq
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x26, #12]
cmp w8, #2
csel w9, w24, w23, eq
cmp w8, #1
csel w8, w25, w9, eq
str x8, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x19
bl _libmin_printf
add x21, x21, #28
cmp x21, #168
b.ne LBB1_1
; %bb.2:
str xzr, [sp]
Lloh4:
adrp x19, l_.str.2@PAGE
Lloh5:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x19
bl _libmin_printf
mov w8, #1 ; =0x1
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #2 ; =0x2
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #3 ; =0x3
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #4 ; =0x4
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #5 ; =0x5
str x8, [sp]
mov x0, x19
bl _libmin_printf
mov w8, #6 ; =0x6
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
b _libmin_printf
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _valid_move ; -- Begin function valid_move
.p2align 2
_valid_move: ; @valid_move
.cfi_startproc
; %bb.0:
ldr w8, [x0, w1, sxtw #2]
cmp w8, #0
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _get_next_open_row ; -- Begin function get_next_open_row
.p2align 2
_get_next_open_row: ; @get_next_open_row
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
add x8, x0, w1, sxtw #2
ldr w8, [x8, #140]
cbz w8, LBB3_6
; %bb.1:
sxtw x8, w1
add x9, x0, x8, lsl #2
ldr w10, [x9, #112]
cbz w10, LBB3_7
; %bb.2:
ldr w9, [x9, #84]
cbz w9, LBB3_8
; %bb.3:
add x9, x0, x8, lsl #2
ldr w10, [x9, #56]
cbz w10, LBB3_9
; %bb.4:
ldr w9, [x9, #28]
cbz w9, LBB3_10
; %bb.5:
ldr w8, [x0, x8, lsl #2]
cmp w8, #0
csetm w0, ne
ret
LBB3_6:
mov w0, #5 ; =0x5
ret
LBB3_7:
mov w0, #4 ; =0x4
ret
LBB3_8:
mov w0, #3 ; =0x3
ret
LBB3_9:
mov w0, #2 ; =0x2
ret
LBB3_10:
mov w0, #1 ; =0x1
ret
.cfi_endproc
; -- End function
.globl _make_move ; -- Begin function make_move
.p2align 2
_make_move: ; @make_move
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
ldr w8, [x0, w1, sxtw #2]
cbz w8, LBB4_2
; %bb.1:
mov w0, #-1 ; =0xffffffff
ret
LBB4_2:
sxtw x9, w1
add x8, x0, x9, lsl #2
ldr w10, [x8, #140]
cbz w10, LBB4_7
; %bb.3:
ldr w8, [x8, #112]
cbz w8, LBB4_8
; %bb.4:
add x8, x0, x9, lsl #2
ldr w10, [x8, #84]
cbz w10, LBB4_9
; %bb.5:
ldr w8, [x8, #56]
cbz w8, LBB4_10
; %bb.6:
add x8, x0, x9, lsl #2
ldr w8, [x8, #28]
cmp w8, #0
cset w8, eq
b LBB4_11
LBB4_7:
mov w8, #5 ; =0x5
b LBB4_11
LBB4_8:
mov w8, #4 ; =0x4
b LBB4_11
LBB4_9:
mov w8, #3 ; =0x3
b LBB4_11
LBB4_10:
mov w8, #2 ; =0x2
LBB4_11:
mov w10, #28 ; =0x1c
umaddl x10, w8, w10, x0
str w2, [x10, x9, lsl #2]
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _undo_move ; -- Begin function undo_move
.p2align 2
_undo_move: ; @undo_move
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
add x8, x0, w1, sxtw #2
ldr w9, [x8]
cbnz w9, LBB5_5
; %bb.1:
sxtw x9, w1
add x10, x0, x9, lsl #2
mov x8, x10
ldr w11, [x8, #28]!
cbnz w11, LBB5_5
; %bb.2:
ldr w8, [x10, #56]!
cbz w8, LBB5_4
LBB5_3:
mov x8, x10
b LBB5_5
LBB5_4:
add x10, x0, x9, lsl #2
mov x8, x10
ldr w11, [x8, #84]!
cbz w11, LBB5_7
LBB5_5:
str wzr, [x8]
LBB5_6:
ret
LBB5_7:
ldr w8, [x10, #112]!
cbnz w8, LBB5_3
; %bb.8:
add x8, x0, x9, lsl #2
ldr w9, [x8, #140]!
cbnz w9, LBB5_5
b LBB5_6
.cfi_endproc
; -- End function
.globl _board_full ; -- Begin function board_full
.p2align 2
_board_full: ; @board_full
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cbz w8, LBB6_7
; %bb.1:
ldr w8, [x0, #4]
cbz w8, LBB6_7
; %bb.2:
ldr w8, [x0, #8]
cbz w8, LBB6_7
; %bb.3:
ldr w8, [x0, #12]
cbz w8, LBB6_7
; %bb.4:
ldr w8, [x0, #16]
cbz w8, LBB6_7
; %bb.5:
ldr w8, [x0, #20]
cbz w8, LBB6_7
; %bb.6:
ldr w8, [x0, #24]
cmp w8, #0
cset w0, ne
ret
LBB6_7:
mov w0, #0 ; =0x0
ret
.cfi_endproc
; -- End function
.globl _check_win ; -- Begin function check_win
.p2align 2
_check_win: ; @check_win
.cfi_startproc
; %bb.0:
mov x8, #0 ; =0x0
b LBB7_2
LBB7_1: ; in Loop: Header=BB7_2 Depth=1
add x8, x8, #28
cmp x8, #168
b.eq LBB7_19
LBB7_2: ; =>This Inner Loop Header: Depth=1
add x9, x0, x8
ldp w11, w10, [x9]
cmp w11, w1
ccmp w10, w1, #0, eq
b.eq LBB7_5
; %bb.3: ; in Loop: Header=BB7_2 Depth=1
cmp w10, w1
b.eq LBB7_7
; %bb.4: ; in Loop: Header=BB7_2 Depth=1
add x9, x0, x8
ldr w9, [x9, #8]
b LBB7_10
LBB7_5: ; in Loop: Header=BB7_2 Depth=1
ldr w9, [x9, #8]
cmp w9, w1
b.ne LBB7_7
; %bb.6: ; in Loop: Header=BB7_2 Depth=1
add x9, x0, x8
ldr w9, [x9, #12]
cmp w9, w1
b.eq LBB7_51
LBB7_7: ; in Loop: Header=BB7_2 Depth=1
add x10, x0, x8
ldr w9, [x10, #8]
cmp w9, w1
b.ne LBB7_10
; %bb.8: ; in Loop: Header=BB7_2 Depth=1
ldr w9, [x10, #12]
cmp w9, w1
b.ne LBB7_11
; %bb.9: ; in Loop: Header=BB7_2 Depth=1
add x9, x0, x8
ldr w9, [x9, #16]
cmp w9, w1
b.ne LBB7_11
b LBB7_51
LBB7_10: ; in Loop: Header=BB7_2 Depth=1
cmp w9, w1
b.ne LBB7_14
LBB7_11: ; in Loop: Header=BB7_2 Depth=1
add x10, x0, x8
ldr w9, [x10, #12]
cmp w9, w1
b.ne LBB7_15
; %bb.12: ; in Loop: Header=BB7_2 Depth=1
ldr w9, [x10, #16]
cmp w9, w1
b.ne LBB7_16
; %bb.13: ; in Loop: Header=BB7_2 Depth=1
add x9, x0, x8
ldr w9, [x9, #20]
cmp w9, w1
b.ne LBB7_16
b LBB7_51
LBB7_14: ; in Loop: Header=BB7_2 Depth=1
add x9, x0, x8
ldr w9, [x9, #12]
LBB7_15: ; in Loop: Header=BB7_2 Depth=1
cmp w9, w1
b.ne LBB7_1
LBB7_16: ; in Loop: Header=BB7_2 Depth=1
add x9, x0, x8
ldr w10, [x9, #16]
cmp w10, w1
b.ne LBB7_1
; %bb.17: ; in Loop: Header=BB7_2 Depth=1
ldr w9, [x9, #20]
cmp w9, w1
b.ne LBB7_1
; %bb.18: ; in Loop: Header=BB7_2 Depth=1
add x9, x0, x8
ldr w9, [x9, #24]
cmp w9, w1
b.ne LBB7_1
b LBB7_51
LBB7_19:
mov w8, #56 ; =0x38
b LBB7_21
LBB7_20: ; in Loop: Header=BB7_21 Depth=1
add x8, x8, #4
cmp x8, #84
b.eq LBB7_33
LBB7_21: ; =>This Inner Loop Header: Depth=1
add x9, x0, x8
ldur w10, [x9, #-56]
ldur w9, [x9, #-28]
cmp w10, w1
ccmp w9, w1, #0, eq
b.eq LBB7_24
; %bb.22: ; in Loop: Header=BB7_21 Depth=1
cmp w9, w1
b.eq LBB7_26
; %bb.23: ; in Loop: Header=BB7_21 Depth=1
ldr w9, [x0, x8]
b LBB7_29
LBB7_24: ; in Loop: Header=BB7_21 Depth=1
ldr w9, [x0, x8]
cmp w9, w1
b.ne LBB7_26
; %bb.25: ; in Loop: Header=BB7_21 Depth=1
add x9, x0, x8
ldr w9, [x9, #28]
cmp w9, w1
b.eq LBB7_51
LBB7_26: ; in Loop: Header=BB7_21 Depth=1
ldr w9, [x0, x8]
cmp w9, w1
b.ne LBB7_29
; %bb.27: ; in Loop: Header=BB7_21 Depth=1
add x9, x0, x8
ldr w10, [x9, #28]
cmp w10, w1
b.ne LBB7_30
; %bb.28: ; in Loop: Header=BB7_21 Depth=1
ldr w9, [x9, #56]
cmp w9, w1
b.ne LBB7_30
b LBB7_51
LBB7_29: ; in Loop: Header=BB7_21 Depth=1
cmp w9, w1
b.ne LBB7_20
LBB7_30: ; in Loop: Header=BB7_21 Depth=1
add x9, x0, x8
ldr w10, [x9, #28]
cmp w10, w1
b.ne LBB7_20
; %bb.31: ; in Loop: Header=BB7_21 Depth=1
ldr w9, [x9, #56]
cmp w9, w1
b.ne LBB7_20
; %bb.32: ; in Loop: Header=BB7_21 Depth=1
add x9, x0, x8
ldr w9, [x9, #84]
cmp w9, w1
b.ne LBB7_20
b LBB7_51
LBB7_33:
add x8, x0, #96
mov x9, #-84 ; =0xffffffffffffffac
b LBB7_35
LBB7_34: ; in Loop: Header=BB7_35 Depth=1
adds x9, x9, #28
b.eq LBB7_52
LBB7_35: ; =>This Inner Loop Header: Depth=1
add x10, x8, x9
ldr w11, [x10, #72]
cmp w11, w1
b.ne LBB7_39
; %bb.36: ; in Loop: Header=BB7_35 Depth=1
ldr w11, [x10, #48]
cmp w11, w1
b.ne LBB7_39
; %bb.37: ; in Loop: Header=BB7_35 Depth=1
add x11, x8, x9
ldr w11, [x11, #24]
cmp w11, w1
b.ne LBB7_39
; %bb.38: ; in Loop: Header=BB7_35 Depth=1
ldr w11, [x8, x9]
cmp w11, w1
b.eq LBB7_51
LBB7_39: ; in Loop: Header=BB7_35 Depth=1
ldr w10, [x10, #76]
cmp w10, w1
b.ne LBB7_43
; %bb.40: ; in Loop: Header=BB7_35 Depth=1
add x10, x8, x9
ldr w11, [x10, #52]
cmp w11, w1
b.ne LBB7_43
; %bb.41: ; in Loop: Header=BB7_35 Depth=1
ldr w10, [x10, #28]
cmp w10, w1
b.ne LBB7_43
; %bb.42: ; in Loop: Header=BB7_35 Depth=1
add x10, x8, x9
ldr w10, [x10, #4]
cmp w10, w1
b.eq LBB7_51
LBB7_43: ; in Loop: Header=BB7_35 Depth=1
add x10, x8, x9
ldr w11, [x10, #80]
cmp w11, w1
b.ne LBB7_47
; %bb.44: ; in Loop: Header=BB7_35 Depth=1
ldr w11, [x10, #56]
cmp w11, w1
b.ne LBB7_47
; %bb.45: ; in Loop: Header=BB7_35 Depth=1
add x11, x8, x9
ldr w12, [x11, #32]
cmp w12, w1
b.ne LBB7_47
; %bb.46: ; in Loop: Header=BB7_35 Depth=1
ldr w11, [x11, #8]
cmp w11, w1
b.eq LBB7_51
LBB7_47: ; in Loop: Header=BB7_35 Depth=1
ldr w10, [x10, #84]
cmp w10, w1
b.ne LBB7_34
; %bb.48: ; in Loop: Header=BB7_35 Depth=1
add x10, x8, x9
ldr w11, [x10, #60]
cmp w11, w1
b.ne LBB7_34
; %bb.49: ; in Loop: Header=BB7_35 Depth=1
ldr w10, [x10, #36]
cmp w10, w1
b.ne LBB7_34
; %bb.50: ; in Loop: Header=BB7_35 Depth=1
add x10, x8, x9
ldr w10, [x10, #12]
cmp w10, w1
b.ne LBB7_34
LBB7_51:
mov w0, #1 ; =0x1
ret
LBB7_52:
mov x10, #0 ; =0x0
add x9, x0, #64
mov w8, #1 ; =0x1
b LBB7_54
LBB7_53: ; in Loop: Header=BB7_54 Depth=1
cmp x10, #2
add x11, x10, #1
cset w8, lo
add x9, x9, #28
mov x10, x11
cmp x11, #3
b.eq LBB7_70
LBB7_54: ; =>This Inner Loop Header: Depth=1
ldur w11, [x9, #-64]
cmp w11, w1
b.ne LBB7_58
; %bb.55: ; in Loop: Header=BB7_54 Depth=1
ldur w11, [x9, #-32]
cmp w11, w1
b.ne LBB7_58
; %bb.56: ; in Loop: Header=BB7_54 Depth=1
ldr w11, [x9]
cmp w11, w1
b.ne LBB7_58
; %bb.57: ; in Loop: Header=BB7_54 Depth=1
ldr w11, [x9, #32]
cmp w11, w1
b.eq LBB7_71
LBB7_58: ; in Loop: Header=BB7_54 Depth=1
ldur w11, [x9, #-60]
cmp w11, w1
b.ne LBB7_62
; %bb.59: ; in Loop: Header=BB7_54 Depth=1
ldur w11, [x9, #-28]
cmp w11, w1
b.ne LBB7_62
; %bb.60: ; in Loop: Header=BB7_54 Depth=1
ldr w11, [x9, #4]
cmp w11, w1
b.ne LBB7_62
; %bb.61: ; in Loop: Header=BB7_54 Depth=1
ldr w11, [x9, #36]
cmp w11, w1
b.eq LBB7_71
LBB7_62: ; in Loop: Header=BB7_54 Depth=1
ldur w11, [x9, #-56]
cmp w11, w1
b.ne LBB7_66
; %bb.63: ; in Loop: Header=BB7_54 Depth=1
ldur w11, [x9, #-24]
cmp w11, w1
b.ne LBB7_66
; %bb.64: ; in Loop: Header=BB7_54 Depth=1
ldr w11, [x9, #8]
cmp w11, w1
b.ne LBB7_66
; %bb.65: ; in Loop: Header=BB7_54 Depth=1
ldr w11, [x9, #40]
cmp w11, w1
b.eq LBB7_71
LBB7_66: ; in Loop: Header=BB7_54 Depth=1
ldur w11, [x9, #-52]
cmp w11, w1
b.ne LBB7_53
; %bb.67: ; in Loop: Header=BB7_54 Depth=1
ldur w11, [x9, #-20]
cmp w11, w1
b.ne LBB7_53
; %bb.68: ; in Loop: Header=BB7_54 Depth=1
ldr w11, [x9, #12]
cmp w11, w1
b.ne LBB7_53
; %bb.69: ; in Loop: Header=BB7_54 Depth=1
ldr w11, [x9, #44]
cmp w11, w1
b.ne LBB7_53
b LBB7_71
LBB7_70:
mov w8, #0 ; =0x0
LBB7_71:
and w0, w8, #0x1
ret
.cfi_endproc
; -- End function
.globl _evaluate_window ; -- Begin function evaluate_window
.p2align 2
_evaluate_window: ; @evaluate_window
.cfi_startproc
; %bb.0:
cmp w1, #1
mov w8, #1 ; =0x1
cinc w10, w8, eq
ldp w9, w11, [x0]
cmp w9, w10
cset w12, eq
cmp w9, w1
csel w12, wzr, w12, eq
cset w13, eq
cmp w9, w10
csinc w14, w13, wzr, ne
eor w15, w14, #0x1
cmp w9, w1
cinc w9, w8, eq
cmp w12, #0
cinc w16, w8, ne
cmp w14, #0
cinc w8, w8, eq
cmp w11, w10
csel w14, w16, w12, eq
csel w8, w15, w8, eq
cmp w11, w1
csel w9, w9, w13, eq
csel w11, w12, w14, eq
csel w13, w15, w8, eq
ldp w8, w12, [x0, #8]
cmp w8, w10
cinc w14, w11, eq
cinc w15, w13, ne
cmp w8, w1
csel w8, w11, w14, eq
cinc w11, w9, eq
csel w9, w13, w15, eq
cmp w12, w1
b.ne LBB8_3
; %bb.1:
add w11, w11, #1
cmp w11, #4
b.ne LBB8_4
; %bb.2:
mov w10, #100 ; =0x64
b LBB8_8
LBB8_3:
cmp w12, w10
cinc w9, w9, ne
cinc w8, w8, eq
LBB8_4:
cmp w11, #3
b.ne LBB8_7
; %bb.5:
cmp w9, #1
b.ne LBB8_7
; %bb.6:
mov w10, #5 ; =0x5
b LBB8_8
LBB8_7:
cmp w9, #2
ccmp w11, #2, #0, eq
mov w10, #2 ; =0x2
csel w10, w10, wzr, eq
LBB8_8:
sub w11, w10, #4
cmp w9, #1
ccmp w8, #3, #0, eq
csel w0, w11, w10, eq
ret
.cfi_endproc
; -- End function
.globl _score_position ; -- Begin function score_position
.p2align 2
_score_position: ; @score_position
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
.cfi_offset w19, -8
.cfi_offset w20, -16
mov x8, x0
mov x10, #0 ; =0x0
ldr w9, [x0, #12]
ldr w11, [x0, #40]
cmp w11, w1
cset w11, eq
cmp w9, w1
cinc w9, w11, eq
ldr w11, [x0, #68]
cmp w11, w1
cinc w9, w9, eq
ldr w11, [x0, #96]
cmp w11, w1
cinc w9, w9, eq
ldr w11, [x0, #124]
cmp w11, w1
cinc w9, w9, eq
ldr w11, [x0, #152]
cmp w11, w1
cinc w9, w9, eq
add w0, w9, w9, lsl #1
cmp w1, #1
mov w11, #1 ; =0x1
cinc w9, w11, eq
mov w12, #5 ; =0x5
mov w13, #2 ; =0x2
mov x14, x8
b LBB9_2
LBB9_1: ; in Loop: Header=BB9_2 Depth=1
add x10, x10, #1
add x14, x14, #28
cmp x10, #6
b.eq LBB9_9
LBB9_2: ; =>This Loop Header: Depth=1
; Child Loop BB9_6 Depth 2
mov x15, #0 ; =0x0
b LBB9_6
LBB9_3: ; in Loop: Header=BB9_6 Depth=2
cmp w3, w9
cinc w17, w17, ne
cinc w16, w16, eq
LBB9_4: ; in Loop: Header=BB9_6 Depth=2
cmp w17, #2
ccmp w2, #2, #0, eq
csel w3, w13, wzr, eq
cmp w2, #3
ccmp w17, #1, #0, eq
csel w17, w11, w17, eq
csel w2, w12, w3, eq
LBB9_5: ; in Loop: Header=BB9_6 Depth=2
sub w3, w2, #4
cmp w17, #1
ccmp w16, #3, #0, eq
csel w16, w3, w2, eq
add w0, w16, w0
add x15, x15, #4
cmp x15, #16
b.eq LBB9_1
LBB9_6: ; Parent Loop BB9_2 Depth=1
; => This Inner Loop Header: Depth=2
add x17, x14, x15
ldp w2, w4, [x17]
cmp w2, w9
cset w16, eq
cmp w2, w1
csel w5, wzr, w16, eq
cset w6, eq
cmp w2, w9
ldp w16, w3, [x17, #8]
csinc w17, w6, wzr, ne
eor w7, w17, #0x1
cmp w2, w1
cinc w2, w11, eq
cmp w5, #0
cinc w19, w11, ne
cmp w17, #0
cinc w17, w11, eq
cmp w4, w9
csel w19, w19, w5, eq
csel w20, w7, w17, eq
cmp w4, w1
csel w17, w2, w6, eq
csel w2, w5, w19, eq
csel w4, w7, w20, eq
cmp w16, w9
cinc w5, w2, eq
cinc w6, w4, ne
cmp w16, w1
csel w16, w2, w5, eq
cinc w2, w17, eq
csel w17, w4, w6, eq
cmp w3, w1
b.ne LBB9_3
; %bb.7: ; in Loop: Header=BB9_6 Depth=2
add w2, w2, #1
cmp w2, #4
b.ne LBB9_4
; %bb.8: ; in Loop: Header=BB9_6 Depth=2
mov w2, #100 ; =0x64
b LBB9_5
LBB9_9:
mov x10, #0 ; =0x0
mov w11, #1 ; =0x1
mov w12, #2 ; =0x2
mov x13, x8
b LBB9_11
LBB9_10: ; in Loop: Header=BB9_11 Depth=1
add x10, x10, #1
add x13, x13, #4
cmp x10, #7
b.eq LBB9_21
LBB9_11: ; =>This Loop Header: Depth=1
; Child Loop BB9_14 Depth 2
mov x14, #0 ; =0x0
ldr w15, [x8, x10, lsl #2]
b LBB9_14
LBB9_12: ; in Loop: Header=BB9_14 Depth=2
cmp w17, #2
ccmp w2, #2, #0, eq
csel w2, w12, wzr, eq
LBB9_13: ; in Loop: Header=BB9_14 Depth=2
sub w3, w2, #4
cmp w17, #1
ccmp w16, #3, #0, eq
csel w16, w3, w2, eq
add w0, w16, w0
add x14, x14, #28
cmp x14, #84
b.eq LBB9_10
LBB9_14: ; Parent Loop BB9_11 Depth=1
; => This Inner Loop Header: Depth=2
cmp w15, w9
cset w16, eq
cmp w15, w1
csel w2, wzr, w16, eq
cset w17, eq
cmp w15, w9
add x3, x13, x14
csinc w4, w17, wzr, ne
cmp w15, w1
ldr w15, [x3, #28]
ldr w16, [x3, #56]
ldr w3, [x3, #84]
eor w5, w4, #0x1
cinc w6, w11, eq
cmp w2, #0
cinc w7, w11, ne
cmp w4, #0
cinc w4, w11, eq
cmp w15, w9
csel w7, w7, w2, eq
csel w4, w5, w4, eq
cmp w15, w1
csel w17, w6, w17, eq
csel w2, w2, w7, eq
csel w4, w5, w4, eq
cmp w16, w9
cinc w5, w2, eq
cinc w6, w4, ne
cmp w16, w1
csel w16, w2, w5, eq
cinc w2, w17, eq
csel w17, w4, w6, eq
cmp w3, w1
b.ne LBB9_17
; %bb.15: ; in Loop: Header=BB9_14 Depth=2
add w2, w2, #1
cmp w2, #4
b.ne LBB9_18
; %bb.16: ; in Loop: Header=BB9_14 Depth=2
mov w2, #100 ; =0x64
b LBB9_13
LBB9_17: ; in Loop: Header=BB9_14 Depth=2
cmp w3, w9
cinc w17, w17, ne
cinc w16, w16, eq
LBB9_18: ; in Loop: Header=BB9_14 Depth=2
cmp w2, #3
b.ne LBB9_12
; %bb.19: ; in Loop: Header=BB9_14 Depth=2
cmp w17, #1
b.ne LBB9_12
; %bb.20: ; in Loop: Header=BB9_14 Depth=2
mov w2, #5 ; =0x5
b LBB9_13
LBB9_21:
add x10, x8, #84
mov w11, #3 ; =0x3
mov w12, #1 ; =0x1
mov w13, #5 ; =0x5
mov w14, #2 ; =0x2
b LBB9_23
LBB9_22: ; in Loop: Header=BB9_23 Depth=1
add x11, x11, #1
add x10, x10, #28
cmp x11, #6
b.eq LBB9_30
LBB9_23: ; =>This Loop Header: Depth=1
; Child Loop BB9_27 Depth 2
mov x15, #0 ; =0x0
b LBB9_27
LBB9_24: ; in Loop: Header=BB9_27 Depth=2
cmp w3, w9
cinc w17, w17, ne
cinc w16, w16, eq
LBB9_25: ; in Loop: Header=BB9_27 Depth=2
cmp w17, #2
ccmp w2, #2, #0, eq
csel w3, w14, wzr, eq
cmp w2, #3
ccmp w17, #1, #0, eq
csel w17, w12, w17, eq
csel w2, w13, w3, eq
LBB9_26: ; in Loop: Header=BB9_27 Depth=2
sub w3, w2, #4
cmp w17, #1
ccmp w16, #3, #0, eq
csel w16, w3, w2, eq
add w0, w16, w0
add x15, x15, #4
cmp x15, #16
b.eq LBB9_22
LBB9_27: ; Parent Loop BB9_23 Depth=1
; => This Inner Loop Header: Depth=2
add x17, x10, x15
ldr w2, [x17]
cmp w2, w9
cset w16, eq
cmp w2, w1
csel w4, wzr, w16, eq
cset w5, eq
cmp w2, w9
ldur w6, [x17, #-24]
ldur w16, [x17, #-48]
ldur w3, [x17, #-72]
csinc w17, w5, wzr, ne
eor w7, w17, #0x1
cmp w2, w1
cinc w2, w12, eq
cmp w4, #0
cinc w19, w12, ne
cmp w17, #0
cinc w17, w12, eq
cmp w6, w9
csel w19, w19, w4, eq
csel w20, w7, w17, eq
cmp w6, w1
csel w17, w2, w5, eq
csel w2, w4, w19, eq
csel w4, w7, w20, eq
cmp w16, w9
cinc w5, w2, eq
cinc w6, w4, ne
cmp w16, w1
csel w16, w2, w5, eq
cinc w2, w17, eq
csel w17, w4, w6, eq
cmp w3, w1
b.ne LBB9_24
; %bb.28: ; in Loop: Header=BB9_27 Depth=2
add w2, w2, #1
cmp w2, #4
b.ne LBB9_25
; %bb.29: ; in Loop: Header=BB9_27 Depth=2
mov w2, #100 ; =0x64
b LBB9_26
LBB9_30:
mov x10, #0 ; =0x0
add x8, x8, #64
mov w11, #1 ; =0x1
mov w12, #5 ; =0x5
mov w13, #2 ; =0x2
b LBB9_32
LBB9_31: ; in Loop: Header=BB9_32 Depth=1
add x8, x8, #28
cmp x10, #3
b.eq LBB9_39
LBB9_32: ; =>This Loop Header: Depth=1
; Child Loop BB9_36 Depth 2
mov x14, #0 ; =0x0
add x10, x10, #1
b LBB9_36
LBB9_33: ; in Loop: Header=BB9_36 Depth=2
cmp w2, w9
cinc w16, w16, ne
cinc w15, w15, eq
LBB9_34: ; in Loop: Header=BB9_36 Depth=2
cmp w16, #2
ccmp w17, #2, #0, eq
csel w2, w13, wzr, eq
cmp w17, #3
ccmp w16, #1, #0, eq
csel w16, w11, w16, eq
csel w17, w12, w2, eq
LBB9_35: ; in Loop: Header=BB9_36 Depth=2
sub w2, w17, #4
cmp w16, #1
ccmp w15, #3, #0, eq
csel w15, w2, w17, eq
add w0, w15, w0
add x14, x14, #4
cmp x14, #16
b.eq LBB9_31
LBB9_36: ; Parent Loop BB9_32 Depth=1
; => This Inner Loop Header: Depth=2
add x16, x8, x14
ldur w17, [x16, #-64]
cmp w17, w9
cset w15, eq
cmp w17, w1
csel w3, wzr, w15, eq
cset w4, eq
cmp w17, w9
ldur w5, [x16, #-32]
ldr w15, [x16]
ldr w2, [x16, #32]
csinc w16, w4, wzr, ne
eor w6, w16, #0x1
cmp w17, w1
cinc w17, w11, eq
cmp w3, #0
cinc w7, w11, ne
cmp w16, #0
cinc w16, w11, eq
cmp w5, w9
csel w7, w7, w3, eq
csel w19, w6, w16, eq
cmp w5, w1
csel w16, w17, w4, eq
csel w17, w3, w7, eq
csel w3, w6, w19, eq
cmp w15, w9
cinc w4, w17, eq
cinc w5, w3, ne
cmp w15, w1
csel w15, w17, w4, eq
cinc w17, w16, eq
csel w16, w3, w5, eq
cmp w2, w1
b.ne LBB9_33
; %bb.37: ; in Loop: Header=BB9_36 Depth=2
add w17, w17, #1
cmp w17, #4
b.ne LBB9_34
; %bb.38: ; in Loop: Header=BB9_36 Depth=2
mov w17, #100 ; =0x64
b LBB9_35
LBB9_39:
ldp x20, x19, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _terminal_score ; -- Begin function terminal_score
.p2align 2
_terminal_score: ; @terminal_score
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
bl _check_win
cbz w0, LBB10_2
; %bb.1:
mov w0, #34464 ; =0x86a0
movk w0, #1, lsl #16
b LBB10_3
LBB10_2:
cmp w20, #1
mov w8, #1 ; =0x1
cinc w1, w8, eq
mov x0, x19
bl _check_win
mov w8, #31072 ; =0x7960
movk w8, #65534, lsl #16
cmp w0, #0
csel w0, wzr, w8, eq
LBB10_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _minimax ; -- Begin function minimax
.p2align 2
_minimax: ; @minimax
.cfi_startproc
; %bb.0:
sub sp, sp, #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 x20, x5
mov x21, x0
Lloh8:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
str x8, [sp, #88]
cmp w5, #1
mov w8, #1 ; =0x1
cinc w27, w8, eq
cbz w1, LBB11_10
; %bb.1:
mov x22, x6
mov x25, x4
mov x23, x3
mov x24, x2
mov x26, x1
ldr w19, [x21]
cbz w19, LBB11_8
; %bb.2:
ldr w8, [x21, #4]
cbz w8, LBB11_8
; %bb.3:
ldr w8, [x21, #8]
cbz w8, LBB11_8
; %bb.4:
ldr w8, [x21, #12]
cbz w8, LBB11_8
; %bb.5:
ldr w8, [x21, #16]
cbz w8, LBB11_8
; %bb.6:
ldr w8, [x21, #20]
cbz w8, LBB11_8
; %bb.7:
ldr w8, [x21, #24]
cbnz w8, LBB11_10
LBB11_8:
mov x0, x21
mov x1, x20
bl _check_win
cbnz w0, LBB11_10
; %bb.9:
mov x0, x21
mov x1, x27
bl _check_win
cbz w0, LBB11_18
LBB11_10:
mov x0, x21
mov x1, x20
bl _check_win
cbz w0, LBB11_12
; %bb.11:
mov w25, #34464 ; =0x86a0
movk w25, #1, lsl #16
b LBB11_14
LBB11_12:
mov x0, x21
mov x1, x27
bl _check_win
cbz w0, LBB11_16
; %bb.13:
mov w25, #31072 ; =0x7960
movk w25, #65534, lsl #16
LBB11_14:
ldr x8, [sp, #88]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB11_93
; %bb.15:
mov x0, x25
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
LBB11_16:
ldr x8, [sp, #88]
Lloh14:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh15:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
ldr x9, [x9]
cmp x9, x8
b.ne LBB11_93
; %bb.17:
mov x0, x21
mov x1, 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
b _score_position
LBB11_18:
cbz w19, LBB11_54
; %bb.19:
mov w8, #0 ; =0x0
ldr w9, [x21, #4]
cbnz w9, LBB11_21
LBB11_20:
add x9, sp, #60
mov w10, #1 ; =0x1
str w10, [x9, w8, uxtw #2]
add w8, w8, #1
LBB11_21:
ldr w9, [x21, #8]
cbz w9, LBB11_55
; %bb.22:
ldr w9, [x21, #12]
cbz w9, LBB11_56
LBB11_23:
ldr w9, [x21, #16]
cbz w9, LBB11_57
LBB11_24:
ldr w9, [x21, #20]
cbz w9, LBB11_58
LBB11_25:
ldr w9, [x21, #24]
cbz w9, LBB11_59
LBB11_26:
cbz w25, LBB11_60
LBB11_27:
cbz w8, LBB11_91
; %bb.28:
str x22, [sp, #8] ; 8-byte Folded Spill
str w26, [sp, #4] ; 4-byte Folded Spill
sub w9, w26, #1
stp w9, wzr, [sp, #24] ; 8-byte Folded Spill
mov w8, w8
sub x8, x8, #1
mov w25, #-2147483648 ; =0x80000000
add x27, sp, #60
LBB11_29: ; =>This Inner Loop Header: Depth=1
mov x19, x8
ldr w22, [x27], #4
sxtw x28, w22
add x26, x21, w22, sxtw #2
ldr w8, [x26]
cbnz w8, LBB11_40
; %bb.30: ; in Loop: Header=BB11_29 Depth=1
add x8, x21, x28, lsl #2
ldr w9, [x8, #140]
cbz w9, LBB11_35
; %bb.31: ; in Loop: Header=BB11_29 Depth=1
ldr w8, [x8, #112]
cbz w8, LBB11_36
; %bb.32: ; in Loop: Header=BB11_29 Depth=1
add x8, x21, x28, lsl #2
ldr w9, [x8, #84]
cbz w9, LBB11_37
; %bb.33: ; in Loop: Header=BB11_29 Depth=1
ldr w8, [x8, #56]
cbz w8, LBB11_38
; %bb.34: ; in Loop: Header=BB11_29 Depth=1
add x8, x21, x28, lsl #2
ldr w8, [x8, #28]
cmp w8, #0
cset w8, eq
b LBB11_39
LBB11_35: ; in Loop: Header=BB11_29 Depth=1
mov w8, #5 ; =0x5
b LBB11_39
LBB11_36: ; in Loop: Header=BB11_29 Depth=1
mov w8, #4 ; =0x4
b LBB11_39
LBB11_37: ; in Loop: Header=BB11_29 Depth=1
mov w8, #3 ; =0x3
b LBB11_39
LBB11_38: ; in Loop: Header=BB11_29 Depth=1
mov w8, #2 ; =0x2
LBB11_39: ; in Loop: Header=BB11_29 Depth=1
mov w9, #28 ; =0x1c
umaddl x8, w8, w9, x21
str w20, [x8, x28, lsl #2]
LBB11_40: ; in Loop: Header=BB11_29 Depth=1
mov x0, x21
ldr w1, [sp, #24] ; 4-byte Folded Reload
mov x2, x24
mov x3, x23
mov w4, #0 ; =0x0
mov x5, x20
mov x6, #0 ; =0x0
bl _minimax
ldr w8, [x26]
cbnz w8, LBB11_45
; %bb.41: ; in Loop: Header=BB11_29 Depth=1
add x8, x21, x28, lsl #2
mov x26, x8
ldr w9, [x26, #28]!
cbnz w9, LBB11_45
; %bb.42: ; in Loop: Header=BB11_29 Depth=1
ldr w9, [x8, #56]!
cbz w9, LBB11_44
LBB11_43: ; in Loop: Header=BB11_29 Depth=1
mov x26, x8
b LBB11_45
LBB11_44: ; in Loop: Header=BB11_29 Depth=1
add x8, x21, x28, lsl #2
mov x26, x8
ldr w9, [x26, #84]!
cbz w9, LBB11_52
LBB11_45: ; in Loop: Header=BB11_29 Depth=1
str wzr, [x26]
LBB11_46: ; in Loop: Header=BB11_29 Depth=1
cmp w0, w25
b.le LBB11_48
; %bb.47: ; in Loop: Header=BB11_29 Depth=1
mov w8, #1 ; =0x1
stp w8, w22, [sp, #28] ; 4-byte Folded Spill
mov x25, x0
b LBB11_50
LBB11_48: ; in Loop: Header=BB11_29 Depth=1
b.ne LBB11_50
; %bb.49: ; in Loop: Header=BB11_29 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
add x9, sp, #32
str w22, [x9, w8, sxtw #2]
add w8, w8, #1
str w8, [sp, #28] ; 4-byte Folded Spill
LBB11_50: ; in Loop: Header=BB11_29 Depth=1
cmp w25, w24
csel w24, w25, w24, gt
cmp w24, w23
b.ge LBB11_87
; %bb.51: ; in Loop: Header=BB11_29 Depth=1
sub x8, x19, #1
cbnz x19, LBB11_29
b LBB11_87
LBB11_52: ; in Loop: Header=BB11_29 Depth=1
ldr w9, [x8, #112]!
cbnz w9, LBB11_43
; %bb.53: ; in Loop: Header=BB11_29 Depth=1
add x26, x21, x28, lsl #2
ldr w8, [x26, #140]!
cbnz w8, LBB11_45
b LBB11_46
LBB11_54:
str wzr, [sp, #60]
mov w8, #1 ; =0x1
ldr w9, [x21, #4]
cbnz w9, LBB11_21
b LBB11_20
LBB11_55:
add x9, sp, #60
mov w10, #2 ; =0x2
str w10, [x9, w8, uxtw #2]
add w8, w8, #1
ldr w9, [x21, #12]
cbnz w9, LBB11_23
LBB11_56:
add x9, sp, #60
mov w10, #3 ; =0x3
str w10, [x9, w8, uxtw #2]
add w8, w8, #1
ldr w9, [x21, #16]
cbnz w9, LBB11_24
LBB11_57:
add x9, sp, #60
mov w10, #4 ; =0x4
str w10, [x9, w8, uxtw #2]
add w8, w8, #1
ldr w9, [x21, #20]
cbnz w9, LBB11_25
LBB11_58:
add x9, sp, #60
mov w10, #5 ; =0x5
str w10, [x9, w8, uxtw #2]
add w8, w8, #1
ldr w9, [x21, #24]
cbnz w9, LBB11_26
LBB11_59:
add x9, sp, #60
mov w10, #6 ; =0x6
str w10, [x9, w8, uxtw #2]
add w8, w8, #1
cbnz w25, LBB11_27
LBB11_60:
cbz w8, LBB11_92
; %bb.61:
str x22, [sp, #8] ; 8-byte Folded Spill
str wzr, [sp, #28] ; 4-byte Folded Spill
str w26, [sp, #4] ; 4-byte Folded Spill
sub w9, w26, #1
stp w27, w9, [sp, #20] ; 8-byte Folded Spill
mov w8, w8
sub x8, x8, #1
mov w25, #2147483647 ; =0x7fffffff
add x19, sp, #60
LBB11_62: ; =>This Inner Loop Header: Depth=1
mov x27, x8
ldr w22, [x19], #4
sxtw x28, w22
add x26, x21, w22, sxtw #2
ldr w8, [x26]
cbnz w8, LBB11_73
; %bb.63: ; in Loop: Header=BB11_62 Depth=1
add x8, x21, x28, lsl #2
ldr w9, [x8, #140]
cbz w9, LBB11_68
; %bb.64: ; in Loop: Header=BB11_62 Depth=1
ldr w8, [x8, #112]
cbz w8, LBB11_69
; %bb.65: ; in Loop: Header=BB11_62 Depth=1
add x8, x21, x28, lsl #2
ldr w9, [x8, #84]
cbz w9, LBB11_70
; %bb.66: ; in Loop: Header=BB11_62 Depth=1
ldr w8, [x8, #56]
cbz w8, LBB11_71
; %bb.67: ; in Loop: Header=BB11_62 Depth=1
add x8, x21, x28, lsl #2
ldr w8, [x8, #28]
cmp w8, #0
cset w8, eq
b LBB11_72
LBB11_68: ; in Loop: Header=BB11_62 Depth=1
mov w8, #5 ; =0x5
b LBB11_72
LBB11_69: ; in Loop: Header=BB11_62 Depth=1
mov w8, #4 ; =0x4
b LBB11_72
LBB11_70: ; in Loop: Header=BB11_62 Depth=1
mov w8, #3 ; =0x3
b LBB11_72
LBB11_71: ; in Loop: Header=BB11_62 Depth=1
mov w8, #2 ; =0x2
LBB11_72: ; in Loop: Header=BB11_62 Depth=1
mov w9, #28 ; =0x1c
umaddl x8, w8, w9, x21
ldr w9, [sp, #20] ; 4-byte Folded Reload
str w9, [x8, x28, lsl #2]
LBB11_73: ; in Loop: Header=BB11_62 Depth=1
mov x0, x21
ldr w1, [sp, #24] ; 4-byte Folded Reload
mov x2, x24
mov x3, x23
mov w4, #1 ; =0x1
mov x5, x20
mov x6, #0 ; =0x0
bl _minimax
ldr w8, [x26]
cbnz w8, LBB11_78
; %bb.74: ; in Loop: Header=BB11_62 Depth=1
add x8, x21, x28, lsl #2
mov x26, x8
ldr w9, [x26, #28]!
cbnz w9, LBB11_78
; %bb.75: ; in Loop: Header=BB11_62 Depth=1
ldr w9, [x8, #56]!
cbz w9, LBB11_77
LBB11_76: ; in Loop: Header=BB11_62 Depth=1
mov x26, x8
b LBB11_78
LBB11_77: ; in Loop: Header=BB11_62 Depth=1
add x8, x21, x28, lsl #2
mov x26, x8
ldr w9, [x26, #84]!
cbz w9, LBB11_85
LBB11_78: ; in Loop: Header=BB11_62 Depth=1
str wzr, [x26]
LBB11_79: ; in Loop: Header=BB11_62 Depth=1
cmp w0, w25
b.ge LBB11_81
; %bb.80: ; in Loop: Header=BB11_62 Depth=1
mov w8, #1 ; =0x1
stp w8, w22, [sp, #28] ; 4-byte Folded Spill
mov x25, x0
b LBB11_83
LBB11_81: ; in Loop: Header=BB11_62 Depth=1
b.ne LBB11_83
; %bb.82: ; in Loop: Header=BB11_62 Depth=1
ldr w8, [sp, #28] ; 4-byte Folded Reload
add x9, sp, #32
str w22, [x9, w8, sxtw #2]
add w8, w8, #1
str w8, [sp, #28] ; 4-byte Folded Spill
LBB11_83: ; in Loop: Header=BB11_62 Depth=1
cmp w25, w23
csel w23, w25, w23, lt
cmp w23, w24
b.le LBB11_87
; %bb.84: ; in Loop: Header=BB11_62 Depth=1
sub x8, x27, #1
cbnz x27, LBB11_62
b LBB11_87
LBB11_85: ; in Loop: Header=BB11_62 Depth=1
ldr w9, [x8, #112]!
cbnz w9, LBB11_76
; %bb.86: ; in Loop: Header=BB11_62 Depth=1
add x26, x21, x28, lsl #2
ldr w8, [x26, #140]!
cbnz w8, LBB11_78
b LBB11_79
LBB11_87:
ldr x19, [sp, #8] ; 8-byte Folded Reload
cbz x19, LBB11_14
; %bb.88:
ldr w8, [sp, #4] ; 4-byte Folded Reload
cmp w8, #4
b.ne LBB11_14
; %bb.89:
ldr w20, [sp, #28] ; 4-byte Folded Reload
cmp w20, #1
b.lt LBB11_14
; %bb.90:
bl _libmin_rand
udiv w8, w0, w20
msub w8, w8, w20, w0
add x9, sp, #32
ldr w8, [x9, w8, uxtw #2]
str w8, [x19]
b LBB11_14
LBB11_91:
mov w25, #-2147483648 ; =0x80000000
b LBB11_14
LBB11_92:
mov w25, #2147483647 ; =0x7fffffff
b LBB11_14
LBB11_93:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.globl _play_game ; -- Begin function play_game
.p2align 2
_play_game: ; @play_game
.cfi_startproc
; %bb.0:
sub sp, sp, #304
stp x26, x25, [sp, #224] ; 16-byte Folded Spill
stp x24, x23, [sp, #240] ; 16-byte Folded Spill
stp x22, x21, [sp, #256] ; 16-byte Folded Spill
stp x20, x19, [sp, #272] ; 16-byte Folded Spill
stp x29, x30, [sp, #288] ; 16-byte Folded Spill
add x29, sp, #288
.cfi_def_cfa w29, 16
.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
Lloh17:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh18:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
ldr x8, [x8]
stur x8, [x29, #-72]
add x8, sp, #48
str xzr, [x8, #160]
movi.2d v0, #0000000000000000
stp q0, q0, [x8, #128]
stp q0, q0, [sp, #144]
stp q0, q0, [sp, #112]
stp q0, q0, [sp, #80]
stp q0, q0, [sp, #48]
add x21, sp, #48
add x0, sp, #48
bl _print_board
mov w22, #-1 ; =0xffffffff
str w22, [sp, #44]
mov w23, #1 ; =0x1
add x0, sp, #48
add x6, sp, #44
mov w1, #4 ; =0x4
mov w2, #-2147483648 ; =0x80000000
mov w3, #2147483647 ; =0x7fffffff
mov w4, #1 ; =0x1
mov w5, #1 ; =0x1
bl _minimax
; kill: def $w0 killed $w0 def $x0
ldr w8, [sp, #44]
cmn w8, #1
b.eq LBB12_21
; %bb.1:
mov w24, #28 ; =0x1c
mov w25, #1 ; =0x1
mov w19, #1 ; =0x1
Lloh20:
adrp x20, l_.str.4@PAGE
Lloh21:
add x20, x20, l_.str.4@PAGEOFF
b LBB12_3
LBB12_2: ; in Loop: Header=BB12_3 Depth=1
cmp w19, #1
cinc w19, w23, eq
add w25, w25, #1
str w22, [sp, #44]
add x0, sp, #48
add x6, sp, #44
mov w1, #4 ; =0x4
mov w2, #-2147483648 ; =0x80000000
mov w3, #2147483647 ; =0x7fffffff
mov x5, x19
mov w4, #1 ; =0x1
bl _minimax
; kill: def $w0 killed $w0 def $x0
ldr w8, [sp, #44]
cmn w8, #1
b.eq LBB12_21
LBB12_3: ; =>This Inner Loop Header: Depth=1
ldr w9, [x21, w8, sxtw #2]
cbnz w9, LBB12_21
; %bb.4: ; in Loop: Header=BB12_3 Depth=1
sxtw x8, w8
add x9, x21, x8, lsl #2
ldr w10, [x9, #140]
cbz w10, LBB12_9
; %bb.5: ; in Loop: Header=BB12_3 Depth=1
ldr w9, [x9, #112]
cbz w9, LBB12_10
; %bb.6: ; in Loop: Header=BB12_3 Depth=1
add x9, x21, x8, lsl #2
ldr w10, [x9, #84]
cbz w10, LBB12_11
; %bb.7: ; in Loop: Header=BB12_3 Depth=1
ldr w9, [x9, #56]
cbz w9, LBB12_12
; %bb.8: ; in Loop: Header=BB12_3 Depth=1
add x9, x21, x8, lsl #2
ldr w9, [x9, #28]
cmp w9, #0
cset w9, eq
b LBB12_13
LBB12_9: ; in Loop: Header=BB12_3 Depth=1
mov w9, #5 ; =0x5
b LBB12_13
LBB12_10: ; in Loop: Header=BB12_3 Depth=1
mov w9, #4 ; =0x4
b LBB12_13
LBB12_11: ; in Loop: Header=BB12_3 Depth=1
mov w9, #3 ; =0x3
b LBB12_13
LBB12_12: ; in Loop: Header=BB12_3 Depth=1
mov w9, #2 ; =0x2
LBB12_13: ; in Loop: Header=BB12_3 Depth=1
umaddl x9, w9, w24, x21
str w19, [x9, x8, lsl #2]
stp x8, x0, [sp, #16]
stp x25, x19, [sp]
mov x0, x20
bl _libmin_printf
add x0, sp, #48
bl _print_board
add x0, sp, #48
mov x1, x19
bl _check_win
cbnz w0, LBB12_19
; %bb.14: ; in Loop: Header=BB12_3 Depth=1
ldr q0, [sp, #48]
cmeq.4s v0, v0, #0
xtn.4h v0, v0
umaxv.4h h0, v0
fmov w8, s0
tbnz w8, #0, LBB12_2
; %bb.15: ; in Loop: Header=BB12_3 Depth=1
ldr w8, [sp, #64]
cbz w8, LBB12_2
; %bb.16: ; in Loop: Header=BB12_3 Depth=1
ldr w8, [sp, #68]
cbz w8, LBB12_2
; %bb.17: ; in Loop: Header=BB12_3 Depth=1
ldr w8, [sp, #72]
cbz w8, LBB12_2
; %bb.18:
Lloh22:
adrp x0, l_.str.6@PAGE
Lloh23:
add x0, x0, l_.str.6@PAGEOFF
b LBB12_20
LBB12_19:
; kill: def $w19 killed $w19 killed $x19 def $x19
str x19, [sp]
Lloh24:
adrp x0, l_.str.5@PAGE
Lloh25:
add x0, x0, l_.str.5@PAGEOFF
LBB12_20:
bl _libmin_printf
LBB12_21:
ldur x8, [x29, #-72]
Lloh26:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh27:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
ldr x9, [x9]
cmp x9, x8
b.ne LBB12_23
; %bb.22:
ldp x29, x30, [sp, #288] ; 16-byte Folded Reload
ldp x20, x19, [sp, #272] ; 16-byte Folded Reload
ldp x22, x21, [sp, #256] ; 16-byte Folded Reload
ldp x24, x23, [sp, #240] ; 16-byte Folded Reload
ldp x26, x25, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #304
ret
LBB12_23:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #42 ; =0x2a
bl _libmin_srand
Lloh29:
adrp x0, l_.str.7@PAGE
Lloh30:
add x0, x0, l_.str.7@PAGEOFF
bl _libmin_printf
bl _play_game
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh29, Lloh30
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
l_.str.1: ; @.str.1
.asciz "%c "
l_.str.2: ; @.str.2
.asciz "%d "
l_.str.3: ; @.str.3
.asciz "\n\n"
l_.str.4: ; @.str.4
.asciz "Move %d: Player %d drops in column %d (score=%d)\n"
l_.str.5: ; @.str.5
.asciz "Player %d wins!\n"
l_.str.6: ; @.str.6
.asciz "Game is a draw.\n"
l_.str.7: ; @.str.7
.asciz "Connect Four: Minimax AI Self-Play\n"
.subsections_via_symbols
|
huff-encode.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _createNode ## -- Begin function createNode
.p2align 4, 0x90
_createNode: ## @createNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movl %edi, %r14d
movl $24, %edi
callq _libmin_malloc
movb %r14b, (%rax)
movl %ebx, 4(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _createMinHeap ## -- Begin function createMinHeap
.p2align 4, 0x90
_createMinHeap: ## @createMinHeap
.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
movl $16, %edi
callq _libmin_malloc
movq %rax, %r14
movl $0, (%rax)
movl %ebx, 4(%rax)
movslq %ebx, %rdi
shlq $3, %rdi
callq _libmin_malloc
movq %rax, 8(%r14)
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swapNodes ## -- Begin function swapNodes
.p2align 4, 0x90
_swapNodes: ## @swapNodes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq (%rsi), %rcx
movq %rcx, (%rdi)
movq %rax, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _minHeapify ## -- Begin function minHeapify
.p2align 4, 0x90
_minHeapify: ## @minHeapify
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
movl (%rdi), %eax
.p2align 4, 0x90
LBB3_1: ## =>This Inner Loop Header: Depth=1
leal 1(,%rsi,2), %r8d
movslq %esi, %rcx
movl %esi, %edx
cmpl %eax, %r8d
jge LBB3_5
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq 8(%rdi), %rdx
movslq %r8d, %r9
movq (%rdx,%r9,8), %r9
movl 4(%r9), %r9d
movq (%rdx,%rcx,8), %rdx
cmpl 4(%rdx), %r9d
jl LBB3_4
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl %esi, %r8d
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
movl %r8d, %edx
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
leal 2(,%rsi,2), %r8d
cmpl %eax, %r8d
jge LBB3_9
## %bb.6: ## in Loop: Header=BB3_1 Depth=1
movq 8(%rdi), %r9
movslq %r8d, %r10
movq (%r9,%r10,8), %r10
movl 4(%r10), %r10d
movslq %edx, %r11
movq (%r9,%r11,8), %r9
cmpl 4(%r9), %r10d
jl LBB3_8
## %bb.7: ## in Loop: Header=BB3_1 Depth=1
movl %edx, %r8d
LBB3_8: ## in Loop: Header=BB3_1 Depth=1
movl %r8d, %edx
LBB3_9: ## in Loop: Header=BB3_1 Depth=1
cmpl %esi, %edx
je LBB3_11
## %bb.10: ## in Loop: Header=BB3_1 Depth=1
movq 8(%rdi), %rsi
movslq %edx, %r8
movq (%rsi,%r8,8), %r9
movq (%rsi,%rcx,8), %r10
movq %r10, (%rsi,%r8,8)
movq %r9, (%rsi,%rcx,8)
movl %edx, %esi
jmp LBB3_1
LBB3_11:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _isSizeOne ## -- Begin function isSizeOne
.p2align 4, 0x90
_isSizeOne: ## @isSizeOne
.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
cmpl $1, (%rdi)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _extractMin ## -- Begin function extractMin
.p2align 4, 0x90
_extractMin: ## @extractMin
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
.cfi_offset %rbx, -24
movq 8(%rdi), %rdx
movq (%rdx), %rax
movslq (%rdi), %rcx
movq -8(%rdx,%rcx,8), %rsi
decq %rcx
movq %rsi, (%rdx)
movl %ecx, (%rdi)
xorl %esi, %esi
.p2align 4, 0x90
LBB5_1: ## =>This Inner Loop Header: Depth=1
leal 1(,%rsi,2), %r9d
movslq %esi, %rdx
movl %esi, %r8d
cmpl %ecx, %r9d
jge LBB5_5
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq 8(%rdi), %r8
movslq %r9d, %r10
movq (%r8,%r10,8), %r10
movl 4(%r10), %r10d
movq (%r8,%rdx,8), %r8
cmpl 4(%r8), %r10d
jl LBB5_4
## %bb.3: ## in Loop: Header=BB5_1 Depth=1
movl %esi, %r9d
LBB5_4: ## in Loop: Header=BB5_1 Depth=1
movl %r9d, %r8d
LBB5_5: ## in Loop: Header=BB5_1 Depth=1
leal 2(,%rsi,2), %r9d
cmpl %ecx, %r9d
jge LBB5_9
## %bb.6: ## in Loop: Header=BB5_1 Depth=1
movq 8(%rdi), %r10
movslq %r9d, %r11
movq (%r10,%r11,8), %r11
movl 4(%r11), %r11d
movslq %r8d, %rbx
movq (%r10,%rbx,8), %r10
cmpl 4(%r10), %r11d
jl LBB5_8
## %bb.7: ## in Loop: Header=BB5_1 Depth=1
movl %r8d, %r9d
LBB5_8: ## in Loop: Header=BB5_1 Depth=1
movl %r9d, %r8d
LBB5_9: ## in Loop: Header=BB5_1 Depth=1
cmpl %esi, %r8d
je LBB5_11
## %bb.10: ## in Loop: Header=BB5_1 Depth=1
movq 8(%rdi), %rsi
movslq %r8d, %r9
movq (%rsi,%r9,8), %r10
movq (%rsi,%rdx,8), %r11
movq %r11, (%rsi,%r9,8)
movq %r10, (%rsi,%rdx,8)
movl %r8d, %esi
jmp LBB5_1
LBB5_11:
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insertMinHeap ## -- Begin function insertMinHeap
.p2align 4, 0x90
_insertMinHeap: ## @insertMinHeap
.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
leal 1(%rax), %ecx
movl %ecx, (%rdi)
testl %eax, %eax
je LBB6_1
## %bb.2:
movl 4(%rsi), %ecx
.p2align 4, 0x90
LBB6_3: ## =>This Inner Loop Header: Depth=1
movq 8(%rdi), %r8
leal -1(%rax), %edx
shrl $31, %edx
addl %eax, %edx
decl %edx
sarl %edx
movslq %edx, %r9
movq (%r8,%r9,8), %r9
cmpl 4(%r9), %ecx
jge LBB6_4
## %bb.5: ## in Loop: Header=BB6_3 Depth=1
movslq %eax, %r10
movq %r9, (%r8,%r10,8)
cmpl $2, %eax
movl %edx, %eax
ja LBB6_3
jmp LBB6_6
LBB6_1:
xorl %edx, %edx
jmp LBB6_6
LBB6_4:
movl %eax, %edx
LBB6_6:
movq 8(%rdi), %rax
movslq %edx, %rcx
movq %rsi, (%rax,%rcx,8)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _buildMinHeap ## -- Begin function buildMinHeap
.p2align 4, 0x90
_buildMinHeap: ## @buildMinHeap
.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 (%rdi), %eax
testl %eax, %eax
js LBB7_14
## %bb.1:
leal -1(%rax), %ecx
shrl $31, %ecx
addl %eax, %ecx
decl %ecx
sarl %ecx
jmp LBB7_2
.p2align 4, 0x90
LBB7_13: ## in Loop: Header=BB7_2 Depth=1
leal -1(%rcx), %edx
testl %ecx, %ecx
movl %edx, %ecx
jle LBB7_14
LBB7_2: ## =>This Loop Header: Depth=1
## Child Loop BB7_3 Depth 2
movl %ecx, %esi
.p2align 4, 0x90
LBB7_3: ## Parent Loop BB7_2 Depth=1
## => This Inner Loop Header: Depth=2
leal 1(,%rsi,2), %r9d
movslq %esi, %rdx
movl %esi, %r8d
cmpl %eax, %r9d
jge LBB7_7
## %bb.4: ## in Loop: Header=BB7_3 Depth=2
movq 8(%rdi), %r8
movslq %r9d, %r10
movq (%r8,%r10,8), %r10
movl 4(%r10), %r10d
movq (%r8,%rdx,8), %r8
cmpl 4(%r8), %r10d
jl LBB7_6
## %bb.5: ## in Loop: Header=BB7_3 Depth=2
movl %esi, %r9d
LBB7_6: ## in Loop: Header=BB7_3 Depth=2
movl %r9d, %r8d
LBB7_7: ## in Loop: Header=BB7_3 Depth=2
leal 2(,%rsi,2), %r9d
cmpl %eax, %r9d
jge LBB7_11
## %bb.8: ## in Loop: Header=BB7_3 Depth=2
movq 8(%rdi), %r10
movslq %r9d, %r11
movq (%r10,%r11,8), %r11
movl 4(%r11), %r11d
movslq %r8d, %rbx
movq (%r10,%rbx,8), %r10
cmpl 4(%r10), %r11d
jl LBB7_10
## %bb.9: ## in Loop: Header=BB7_3 Depth=2
movl %r8d, %r9d
LBB7_10: ## in Loop: Header=BB7_3 Depth=2
movl %r9d, %r8d
LBB7_11: ## in Loop: Header=BB7_3 Depth=2
cmpl %esi, %r8d
je LBB7_13
## %bb.12: ## in Loop: Header=BB7_3 Depth=2
movq 8(%rdi), %rsi
movslq %r8d, %r9
movq (%rsi,%r9,8), %r10
movq (%rsi,%rdx,8), %r11
movq %r11, (%rsi,%r9,8)
movq %r10, (%rsi,%rdx,8)
movl %r8d, %esi
jmp LBB7_3
LBB7_14:
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function createAndBuildMinHeap
LCPI8_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _createAndBuildMinHeap
.p2align 4, 0x90
_createAndBuildMinHeap: ## @createAndBuildMinHeap
.cfi_startproc
## %bb.0:
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 %edx, %ebx
movq %rsi, %r13
movq %rdi, %r12
movl $16, %edi
callq _libmin_malloc
movq %rax, %r14
movl $0, (%rax)
movl %ebx, 4(%rax)
movslq %ebx, %r15
leaq (,%r15,8), %rdi
callq _libmin_malloc
movq %rax, 8(%r14)
testl %r15d, %r15d
jle LBB8_3
## %bb.1:
movl %ebx, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
.p2align 4, 0x90
LBB8_2: ## =>This Inner Loop Header: Depth=1
movzbl (%r12,%r15), %eax
movb %al, -41(%rbp) ## 1-byte Spill
movl (%r13,%r15,4), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl $24, %edi
callq _libmin_malloc
movzbl -41(%rbp), %ecx ## 1-byte Folded Reload
movb %cl, (%rax)
movl -48(%rbp), %ecx ## 4-byte Reload
movl %ecx, 4(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 8(%rax)
movq 8(%r14), %rcx
movq %rax, (%rcx,%r15,8)
incq %r15
cmpq %r15, -56(%rbp) ## 8-byte Folded Reload
jne LBB8_2
LBB8_3:
movl %ebx, (%r14)
testl %ebx, %ebx
js LBB8_17
## %bb.4:
leal -1(%rbx), %eax
shrl $31, %eax
addl %ebx, %eax
decl %eax
sarl %eax
jmp LBB8_5
.p2align 4, 0x90
LBB8_16: ## in Loop: Header=BB8_5 Depth=1
leal -1(%rax), %ecx
testl %eax, %eax
movl %ecx, %eax
jle LBB8_17
LBB8_5: ## =>This Loop Header: Depth=1
## Child Loop BB8_6 Depth 2
movl %eax, %edx
.p2align 4, 0x90
LBB8_6: ## Parent Loop BB8_5 Depth=1
## => This Inner Loop Header: Depth=2
leal 1(,%rdx,2), %edi
movslq %edx, %rcx
movl %edx, %esi
cmpl %ebx, %edi
jge LBB8_10
## %bb.7: ## in Loop: Header=BB8_6 Depth=2
movq 8(%r14), %rsi
movslq %edi, %r8
movq (%rsi,%r8,8), %r8
movl 4(%r8), %r8d
movq (%rsi,%rcx,8), %rsi
cmpl 4(%rsi), %r8d
jl LBB8_9
## %bb.8: ## in Loop: Header=BB8_6 Depth=2
movl %edx, %edi
LBB8_9: ## in Loop: Header=BB8_6 Depth=2
movl %edi, %esi
LBB8_10: ## in Loop: Header=BB8_6 Depth=2
leal 2(,%rdx,2), %edi
cmpl %ebx, %edi
jge LBB8_14
## %bb.11: ## in Loop: Header=BB8_6 Depth=2
movq 8(%r14), %r8
movslq %edi, %r9
movq (%r8,%r9,8), %r9
movl 4(%r9), %r9d
movslq %esi, %r10
movq (%r8,%r10,8), %r8
cmpl 4(%r8), %r9d
jl LBB8_13
## %bb.12: ## in Loop: Header=BB8_6 Depth=2
movl %esi, %edi
LBB8_13: ## in Loop: Header=BB8_6 Depth=2
movl %edi, %esi
LBB8_14: ## in Loop: Header=BB8_6 Depth=2
cmpl %edx, %esi
je LBB8_16
## %bb.15: ## in Loop: Header=BB8_6 Depth=2
movq 8(%r14), %rdx
movslq %esi, %rdi
movq (%rdx,%rdi,8), %r8
movq (%rdx,%rcx,8), %r9
movq %r9, (%rdx,%rdi,8)
movq %r8, (%rdx,%rcx,8)
movl %esi, %edx
jmp LBB8_6
LBB8_17:
movq %r14, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _buildHuffmanTree ## -- Begin function buildHuffmanTree
.p2align 4, 0x90
_buildHuffmanTree: ## @buildHuffmanTree
.cfi_startproc
## %bb.0:
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
callq _createAndBuildMinHeap
movq %rax, %rbx
movl (%rax), %ecx
cmpl $1, %ecx
jne LBB9_1
jmp LBB9_25
.p2align 4, 0x90
LBB9_27: ## in Loop: Header=BB9_1 Depth=1
movl %edx, %esi
LBB9_29: ## in Loop: Header=BB9_1 Depth=1
movq 8(%rbx), %rdx
movslq %esi, %rsi
movq %rax, (%rdx,%rsi,8)
LBB9_1: ## =>This Loop Header: Depth=1
## Child Loop BB9_2 Depth 2
## Child Loop BB9_13 Depth 2
## Child Loop BB9_26 Depth 2
movq 8(%rbx), %rdx
movq (%rdx), %r14
movslq %ecx, %rax
decl %ecx
movq -8(%rdx,%rax,8), %rsi
movq %rsi, (%rdx)
xorl %edx, %edx
.p2align 4, 0x90
LBB9_2: ## Parent Loop BB9_1 Depth=1
## => This Inner Loop Header: Depth=2
leal 1(,%rdx,2), %r8d
movslq %edx, %rsi
movl %edx, %edi
cmpl %ecx, %r8d
jge LBB9_6
## %bb.3: ## in Loop: Header=BB9_2 Depth=2
movq 8(%rbx), %rdi
movslq %r8d, %r9
movq (%rdi,%r9,8), %r9
movl 4(%r9), %r9d
movq (%rdi,%rsi,8), %rdi
cmpl 4(%rdi), %r9d
jl LBB9_5
## %bb.4: ## in Loop: Header=BB9_2 Depth=2
movl %edx, %r8d
LBB9_5: ## in Loop: Header=BB9_2 Depth=2
movl %r8d, %edi
LBB9_6: ## in Loop: Header=BB9_2 Depth=2
leal 2(,%rdx,2), %r8d
cmpl %ecx, %r8d
jge LBB9_10
## %bb.7: ## in Loop: Header=BB9_2 Depth=2
movq 8(%rbx), %r9
movslq %r8d, %r10
movq (%r9,%r10,8), %r10
movl 4(%r10), %r10d
movslq %edi, %r11
movq (%r9,%r11,8), %r9
cmpl 4(%r9), %r10d
jl LBB9_9
## %bb.8: ## in Loop: Header=BB9_2 Depth=2
movl %edi, %r8d
LBB9_9: ## in Loop: Header=BB9_2 Depth=2
movl %r8d, %edi
LBB9_10: ## in Loop: Header=BB9_2 Depth=2
movq 8(%rbx), %r8
cmpl %edx, %edi
je LBB9_12
## %bb.11: ## in Loop: Header=BB9_2 Depth=2
movslq %edi, %rdx
movq (%r8,%rdx,8), %r9
movq (%r8,%rsi,8), %r10
movq %r10, (%r8,%rdx,8)
movq %r9, (%r8,%rsi,8)
movl %edi, %edx
jmp LBB9_2
.p2align 4, 0x90
LBB9_12: ## in Loop: Header=BB9_1 Depth=1
movq (%r8), %r15
leal -2(%rax), %ecx
movq -16(%r8,%rax,8), %rax
movq %rax, (%r8)
movl %ecx, (%rbx)
xorl %edx, %edx
.p2align 4, 0x90
LBB9_13: ## Parent Loop BB9_1 Depth=1
## => This Inner Loop Header: Depth=2
leal 1(,%rdx,2), %edi
movslq %edx, %rax
movl %edx, %esi
cmpl %ecx, %edi
jge LBB9_17
## %bb.14: ## in Loop: Header=BB9_13 Depth=2
movq 8(%rbx), %rsi
movslq %edi, %r8
movq (%rsi,%r8,8), %r8
movl 4(%r8), %r8d
movq (%rsi,%rax,8), %rsi
cmpl 4(%rsi), %r8d
jl LBB9_16
## %bb.15: ## in Loop: Header=BB9_13 Depth=2
movl %edx, %edi
LBB9_16: ## in Loop: Header=BB9_13 Depth=2
movl %edi, %esi
LBB9_17: ## in Loop: Header=BB9_13 Depth=2
leal 2(,%rdx,2), %edi
cmpl %ecx, %edi
jge LBB9_21
## %bb.18: ## in Loop: Header=BB9_13 Depth=2
movq 8(%rbx), %r8
movslq %edi, %r9
movq (%r8,%r9,8), %r9
movl 4(%r9), %r9d
movslq %esi, %r10
movq (%r8,%r10,8), %r8
cmpl 4(%r8), %r9d
jl LBB9_20
## %bb.19: ## in Loop: Header=BB9_13 Depth=2
movl %esi, %edi
LBB9_20: ## in Loop: Header=BB9_13 Depth=2
movl %edi, %esi
LBB9_21: ## in Loop: Header=BB9_13 Depth=2
cmpl %edx, %esi
je LBB9_23
## %bb.22: ## in Loop: Header=BB9_13 Depth=2
movq 8(%rbx), %rdx
movslq %esi, %rdi
movq (%rdx,%rdi,8), %r8
movq (%rdx,%rax,8), %r9
movq %r9, (%rdx,%rdi,8)
movq %r8, (%rdx,%rax,8)
movl %esi, %edx
jmp LBB9_13
.p2align 4, 0x90
LBB9_23: ## in Loop: Header=BB9_1 Depth=1
movl 4(%r15), %r12d
addl 4(%r14), %r12d
movl $24, %edi
callq _libmin_malloc
movb $36, (%rax)
movl %r12d, 4(%rax)
movq %r14, 8(%rax)
movq %r15, 16(%rax)
movl (%rbx), %edx
leal 1(%rdx), %ecx
movl %ecx, (%rbx)
testl %edx, %edx
je LBB9_24
.p2align 4, 0x90
LBB9_26: ## Parent Loop BB9_1 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%rbx), %rdi
leal -1(%rdx), %esi
shrl $31, %esi
addl %edx, %esi
decl %esi
sarl %esi
movslq %esi, %r8
movq (%rdi,%r8,8), %r8
cmpl 4(%r8), %r12d
jge LBB9_27
## %bb.28: ## in Loop: Header=BB9_26 Depth=2
movslq %edx, %r9
movq %r8, (%rdi,%r9,8)
cmpl $2, %edx
movl %esi, %edx
ja LBB9_26
jmp LBB9_29
LBB9_24:
movq 8(%rbx), %rcx
movq %rax, (%rcx)
LBB9_25:
movq 8(%rbx), %rax
movq (%rax), %rax
movl $0, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _generateCodes ## -- Begin function generateCodes
.p2align 4, 0x90
_generateCodes: ## @generateCodes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
cmpq $0, 8(%rdi)
movslq %edx, %r12
je LBB10_2
## %bb.1:
movb $48, (%r14,%r12)
movq 8(%r15), %rdi
leal 1(%r12), %edx
movq %r14, %rsi
movq %rbx, %rcx
callq _generateCodes
LBB10_2:
cmpq $0, 16(%r15)
je LBB10_4
## %bb.3:
movb $49, (%r14,%r12)
movq 16(%r15), %rdi
leal 1(%r12), %edx
movq %r14, %rsi
movq %rbx, %rcx
callq _generateCodes
LBB10_4:
cmpq $0, 8(%r15)
jne LBB10_6
## %bb.5:
cmpq $0, 16(%r15)
je LBB10_7
LBB10_6:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB10_7:
movb $0, (%r14,%r12)
movzbl (%r15), %eax
shlq $8, %rax
addq %rax, %rbx
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _libmin_strcpy ## TAILCALL
.cfi_endproc
## -- End function
.globl _encodeString ## -- Begin function encodeString
.p2align 4, 0x90
_encodeString: ## @encodeString
.cfi_startproc
## %bb.0:
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
movb $0, (%rdx)
movzbl (%rdi), %eax
testb %al, %al
je LBB11_3
## %bb.1:
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
incq %r15
.p2align 4, 0x90
LBB11_2: ## =>This Inner Loop Header: Depth=1
movzbl %al, %esi
shlq $8, %rsi
addq %r14, %rsi
movq %rbx, %rdi
callq _libmin_strcat
movzbl (%r15), %eax
incq %r15
testb %al, %al
jne LBB11_2
LBB11_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _decodeString ## -- Begin function decodeString
.p2align 4, 0x90
_decodeString: ## @decodeString
.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
movq %rdi, %rcx
jmp LBB12_1
.p2align 4, 0x90
LBB12_7: ## in Loop: Header=BB12_1 Depth=1
incq %rsi
LBB12_1: ## =>This Inner Loop Header: Depth=1
movzbl (%rsi), %r8d
cmpl $48, %r8d
je LBB12_9
## %bb.2: ## in Loop: Header=BB12_1 Depth=1
testl %r8d, %r8d
je LBB12_8
## %bb.3: ## in Loop: Header=BB12_1 Depth=1
addq $16, %rcx
jmp LBB12_4
.p2align 4, 0x90
LBB12_9: ## in Loop: Header=BB12_1 Depth=1
addq $8, %rcx
LBB12_4: ## in Loop: Header=BB12_1 Depth=1
movq (%rcx), %rcx
cmpq $0, 8(%rcx)
jne LBB12_7
## %bb.5: ## in Loop: Header=BB12_1 Depth=1
cmpq $0, 16(%rcx)
jne LBB12_7
## %bb.6: ## in Loop: Header=BB12_1 Depth=1
movzbl (%rcx), %ecx
movslq %eax, %r8
incl %eax
movb %cl, (%rdx,%r8)
movq %rdi, %rcx
jmp LBB12_7
LBB12_8:
cltq
movb $0, (%rdx,%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function main
LCPI13_0:
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.long 2 ## 0x2
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0
LCPI13_1:
.quad 0x4059000000000000 ## double 100
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $68952, %eax ## imm = 0x10D58
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movaps L___const.main.input+16(%rip), %xmm0
movaps %xmm0, -80(%rbp)
movdqa L___const.main.input(%rip), %xmm0
movdqa %xmm0, -96(%rbp)
movabsq $29113321536840558, %rax ## imm = 0x676E69646F636E
movq %rax, -64(%rbp)
leaq -1120(%rbp), %rdi
movl $1024, %esi ## imm = 0x400
callq ___bzero
movb $116, %cl
leaq -95(%rbp), %rax
.p2align 4, 0x90
LBB13_1: ## =>This Inner Loop Header: Depth=1
movzbl %cl, %ecx
incl -1120(%rbp,%rcx,4)
movzbl (%rax), %ecx
incq %rax
testb %cl, %cl
jne LBB13_1
## %bb.2:
pxor %xmm0, %xmm0
movl $12, %eax
movdqa LCPI13_0(%rip), %xmm1 ## xmm1 = [2,2,2,2]
pxor %xmm3, %xmm3
pxor %xmm2, %xmm2
.p2align 4, 0x90
LBB13_3: ## =>This Inner Loop Header: Depth=1
movdqa -1168(%rbp,%rax,4), %xmm4
pcmpeqd %xmm0, %xmm4
paddd %xmm3, %xmm4
movdqa -1152(%rbp,%rax,4), %xmm5
pcmpeqd %xmm0, %xmm5
paddd %xmm2, %xmm5
movdqa -1136(%rbp,%rax,4), %xmm3
pcmpeqd %xmm0, %xmm3
movdqa -1120(%rbp,%rax,4), %xmm2
pcmpeqd %xmm0, %xmm2
paddd %xmm1, %xmm3
paddd %xmm4, %xmm3
paddd %xmm1, %xmm2
paddd %xmm5, %xmm2
addq $16, %rax
cmpq $268, %rax ## imm = 0x10C
jne LBB13_3
## %bb.4:
paddd %xmm3, %xmm2
pshufd $238, %xmm2, %xmm0 ## xmm0 = xmm2[2,3,2,3]
paddd %xmm2, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
paddd %xmm0, %xmm1
movd %xmm1, %r15d
movq %r15, %rdi
callq _libmin_malloc
movq %rax, %rbx
leaq (,%r15,4), %rdi
callq _libmin_malloc
movq %rax, %r14
xorl %eax, %eax
xorl %ecx, %ecx
jmp LBB13_5
.p2align 4, 0x90
LBB13_9: ## in Loop: Header=BB13_5 Depth=1
addq $2, %rax
cmpq $256, %rax ## imm = 0x100
je LBB13_10
LBB13_5: ## =>This Inner Loop Header: Depth=1
movl -1120(%rbp,%rax,4), %edx
testl %edx, %edx
je LBB13_7
## %bb.6: ## in Loop: Header=BB13_5 Depth=1
movslq %ecx, %rcx
movb %al, (%rbx,%rcx)
movl %edx, (%r14,%rcx,4)
incl %ecx
LBB13_7: ## in Loop: Header=BB13_5 Depth=1
movl -1116(%rbp,%rax,4), %edx
testl %edx, %edx
je LBB13_9
## %bb.8: ## in Loop: Header=BB13_5 Depth=1
movslq %ecx, %rcx
leal 1(%rax), %esi
movb %sil, (%rbx,%rcx)
movl %edx, (%r14,%rcx,4)
incl %ecx
jmp LBB13_9
LBB13_10:
movq %rbx, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq _buildHuffmanTree
movq %rax, %r15
leaq -66656(%rbp), %r12
movl $65536, %esi ## imm = 0x10000
movq %r12, %rdi
callq ___bzero
leaq -66912(%rbp), %rsi
movq %r15, -68984(%rbp) ## 8-byte Spill
movq %r15, %rdi
xorl %edx, %edx
movq %r12, %rcx
callq _generateCodes
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %r13
xorl %r15d, %r15d
jmp LBB13_11
.p2align 4, 0x90
LBB13_13: ## in Loop: Header=BB13_11 Depth=1
incq %r15
addq $256, %r12 ## imm = 0x100
cmpq $256, %r15 ## imm = 0x100
je LBB13_14
LBB13_11: ## =>This Inner Loop Header: Depth=1
cmpl $0, -1120(%rbp,%r15,4)
je LBB13_13
## %bb.12: ## in Loop: Header=BB13_11 Depth=1
movq %r13, %rdi
movl %r15d, %esi
movq %r12, %rdx
xorl %eax, %eax
callq _libmin_printf
jmp LBB13_13
LBB13_14:
leaq -67936(%rbp), %r12
movl $1024, %esi ## imm = 0x400
movq %r12, %rdi
callq ___bzero
movb $116, %al
leaq -95(%rbp), %r15
.p2align 4, 0x90
LBB13_15: ## =>This Inner Loop Header: Depth=1
movzbl %al, %eax
shlq $8, %rax
leaq (%rax,%rbp), %rsi
addq $-66656, %rsi ## imm = 0xFFFEFBA0
movq %r12, %rdi
callq _libmin_strcat
movzbl (%r15), %eax
incq %r15
testb %al, %al
jne LBB13_15
## %bb.16:
leaq L_.str.2(%rip), %rdi
xorl %r15d, %r15d
movq %r12, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq -96(%rbp), %rdi
callq _libmin_strlen
movq %rax, %r13
shll $3, %r13d
movq %r13, -68968(%rbp) ## 8-byte Spill
movq %r12, %rdi
callq _libmin_strlen
movq %rax, -68976(%rbp) ## 8-byte Spill
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.4(%rip), %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.5(%rip), %rdi
movq -68976(%rbp), %r13 ## 8-byte Reload
movl %r13d, %esi
xorl %eax, %eax
callq _libmin_printf
cvtsi2sd %r13d, %xmm0
cvtsi2sdl -68968(%rbp), %xmm1 ## 4-byte Folded Reload
divsd %xmm1, %xmm0
mulsd LCPI13_1(%rip), %xmm0
leaq L_.str.6(%rip), %rdi
movb $1, %al
callq _libmin_printf
leaq -68960(%rbp), %rdi
movl $1024, %esi ## imm = 0x400
callq ___bzero
movq -68984(%rbp), %rdx ## 8-byte Reload
movq %rdx, %rax
jmp LBB13_17
.p2align 4, 0x90
LBB13_23: ## in Loop: Header=BB13_17 Depth=1
incq %r12
LBB13_17: ## =>This Inner Loop Header: Depth=1
movzbl (%r12), %ecx
cmpl $48, %ecx
je LBB13_26
## %bb.18: ## in Loop: Header=BB13_17 Depth=1
testl %ecx, %ecx
je LBB13_24
## %bb.19: ## in Loop: Header=BB13_17 Depth=1
addq $16, %rax
jmp LBB13_20
.p2align 4, 0x90
LBB13_26: ## in Loop: Header=BB13_17 Depth=1
addq $8, %rax
LBB13_20: ## in Loop: Header=BB13_17 Depth=1
movq (%rax), %rax
cmpq $0, 8(%rax)
jne LBB13_23
## %bb.21: ## in Loop: Header=BB13_17 Depth=1
cmpq $0, 16(%rax)
jne LBB13_23
## %bb.22: ## in Loop: Header=BB13_17 Depth=1
movzbl (%rax), %eax
movslq %r15d, %rcx
incl %r15d
movb %al, -68960(%rbp,%rcx)
movq %rdx, %rax
jmp LBB13_23
LBB13_24:
movslq %r15d, %rax
movb $0, -68960(%rbp,%rax)
leaq L_.str.7(%rip), %rdi
leaq -68960(%rbp), %r15
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq -96(%rbp), %rdi
movq %r15, %rsi
callq _libmin_strcmp
testl %eax, %eax
leaq L_.str.8(%rip), %rax
leaq L_.str.9(%rip), %rdi
cmoveq %rax, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
callq _libmin_free
movq %r14, %rdi
callq _libmin_free
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB13_27
## %bb.25:
xorl %eax, %eax
addq $68952, %rsp ## imm = 0x10D58
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB13_27:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
.p2align 4, 0x0 ## @__const.main.input
L___const.main.input:
.asciz "this is an example for huffman encoding"
L_.str: ## @.str
.asciz "Huffman Codes:\n"
L_.str.1: ## @.str.1
.asciz "'%c': %s\n"
L_.str.2: ## @.str.2
.asciz "\nEncoded string:\n%s\n"
L_.str.3: ## @.str.3
.asciz "\nCompression Metrics:\n"
L_.str.4: ## @.str.4
.asciz "Original size: %d bits\n"
L_.str.5: ## @.str.5
.asciz "Encoded size: %d bits\n"
L_.str.6: ## @.str.6
.asciz "Compression ratio: %.2f%%\n"
L_.str.7: ## @.str.7
.asciz "\nDecoded string:\n%s\n"
L_.str.8: ## @.str.8
.asciz "\nDecompression verified: decoded string matches the original input.\n"
L_.str.9: ## @.str.9
.asciz "\nError: decoded string does not match the original input.\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _createNode ; -- Begin function createNode
.p2align 2
_createNode: ; @createNode
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov w0, #24 ; =0x18
bl _libmin_malloc
strb w20, [x0]
str w19, [x0, #4]
stp xzr, xzr, [x0, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _createMinHeap ; -- Begin function createMinHeap
.p2align 2
_createMinHeap: ; @createMinHeap
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #16 ; =0x10
bl _libmin_malloc
mov x20, x0
stp wzr, w19, [x0]
sbfiz x0, x19, #3, #32
bl _libmin_malloc
str x0, [x20, #8]
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _swapNodes ; -- Begin function swapNodes
.p2align 2
_swapNodes: ; @swapNodes
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x9, [x1]
str x9, [x0]
str x8, [x1]
ret
.cfi_endproc
; -- End function
.globl _minHeapify ; -- Begin function minHeapify
.p2align 2
_minHeapify: ; @minHeapify
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
ldr w8, [x0]
LBB3_1: ; =>This Inner Loop Header: Depth=1
sxtw x9, w1
mov w11, #1 ; =0x1
bfi x11, x9, #1, #63
mov x10, x1
cmp w11, w8
b.ge LBB3_3
; %bb.2: ; in Loop: Header=BB3_1 Depth=1
ldr x10, [x0, #8]
ldr x12, [x10, x11, lsl #3]
ldr w12, [x12, #4]
ldr x10, [x10, x9, lsl #3]
ldr w10, [x10, #4]
cmp w12, w10
csel w10, w11, w1, lt
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
sbfiz x11, x1, #1, #32
add w11, w11, #2
cmp w11, w8
b.ge LBB3_5
; %bb.4: ; in Loop: Header=BB3_1 Depth=1
ldr x12, [x0, #8]
ldr x13, [x12, w11, sxtw #3]
ldr w13, [x13, #4]
ldr x12, [x12, w10, sxtw #3]
ldr w12, [x12, #4]
cmp w13, w12
csel w10, w11, w10, lt
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
cmp w10, w1
b.eq LBB3_7
; %bb.6: ; in Loop: Header=BB3_1 Depth=1
ldr x11, [x0, #8]
sbfiz x12, x10, #3, #32
lsl x9, x9, #3
ldr x13, [x11, x12]
ldr x14, [x11, x9]
str x14, [x11, x12]
str x13, [x11, x9]
mov x1, x10
b LBB3_1
LBB3_7:
ret
.cfi_endproc
; -- End function
.globl _isSizeOne ; -- Begin function isSizeOne
.p2align 2
_isSizeOne: ; @isSizeOne
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cmp w8, #1
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _extractMin ; -- Begin function extractMin
.p2align 2
_extractMin: ; @extractMin
.cfi_startproc
; %bb.0:
mov w10, #0 ; =0x0
ldr x11, [x0, #8]
ldr x8, [x11]
ldrsw x9, [x0]
sub x9, x9, #1
ldr x12, [x11, x9, lsl #3]
str x12, [x11]
str w9, [x0]
LBB5_1: ; =>This Inner Loop Header: Depth=1
sxtw x11, w10
mov w13, #1 ; =0x1
bfi x13, x11, #1, #63
mov x12, x10
cmp w13, w9
b.ge LBB5_3
; %bb.2: ; in Loop: Header=BB5_1 Depth=1
ldr x12, [x0, #8]
ldr x14, [x12, x13, lsl #3]
ldr w14, [x14, #4]
ldr x12, [x12, x11, lsl #3]
ldr w12, [x12, #4]
cmp w14, w12
csel w12, w13, w10, lt
LBB5_3: ; in Loop: Header=BB5_1 Depth=1
sbfiz x13, x10, #1, #32
add w13, w13, #2
cmp w13, w9
b.ge LBB5_5
; %bb.4: ; in Loop: Header=BB5_1 Depth=1
ldr x14, [x0, #8]
ldr x15, [x14, w13, sxtw #3]
ldr w15, [x15, #4]
ldr x14, [x14, w12, sxtw #3]
ldr w14, [x14, #4]
cmp w15, w14
csel w12, w13, w12, lt
LBB5_5: ; in Loop: Header=BB5_1 Depth=1
cmp w12, w10
b.eq LBB5_7
; %bb.6: ; in Loop: Header=BB5_1 Depth=1
ldr x10, [x0, #8]
sbfiz x13, x12, #3, #32
lsl x11, x11, #3
ldr x14, [x10, x13]
ldr x15, [x10, x11]
str x15, [x10, x13]
str x14, [x10, x11]
mov x10, x12
b LBB5_1
LBB5_7:
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _insertMinHeap ; -- Begin function insertMinHeap
.p2align 2
_insertMinHeap: ; @insertMinHeap
.cfi_startproc
; %bb.0:
ldr w8, [x0]
add w9, w8, #1
str w9, [x0]
cbz w8, LBB6_4
; %bb.1:
ldr w9, [x1, #4]
LBB6_2: ; =>This Inner Loop Header: Depth=1
ldr x11, [x0, #8]
subs w10, w8, #1
csel w10, w8, w10, lt
asr w10, w10, #1
ldr x12, [x11, w10, sxtw #3]
ldr w13, [x12, #4]
cmp w9, w13
b.ge LBB6_5
; %bb.3: ; in Loop: Header=BB6_2 Depth=1
str x12, [x11, w8, sxtw #3]
cmp w8, #2
mov x8, x10
b.hi LBB6_2
b LBB6_6
LBB6_4:
mov w10, #0 ; =0x0
b LBB6_6
LBB6_5:
mov x10, x8
LBB6_6:
ldr x8, [x0, #8]
str x1, [x8, w10, sxtw #3]
ret
.cfi_endproc
; -- End function
.globl _buildMinHeap ; -- Begin function buildMinHeap
.p2align 2
_buildMinHeap: ; @buildMinHeap
.cfi_startproc
; %bb.0:
ldr w8, [x0]
tbnz w8, #31, LBB7_10
; %bb.1:
subs w9, w8, #1
csel w9, w8, w9, lt
asr w9, w9, #1
b LBB7_3
LBB7_2: ; in Loop: Header=BB7_3 Depth=1
sub w10, w9, #1
cmp w9, #0
mov x9, x10
b.le LBB7_10
LBB7_3: ; =>This Loop Header: Depth=1
; Child Loop BB7_4 Depth 2
mov x11, x9
LBB7_4: ; Parent Loop BB7_3 Depth=1
; => This Inner Loop Header: Depth=2
sxtw x10, w11
mov w13, #1 ; =0x1
bfi x13, x10, #1, #63
mov x12, x11
cmp w13, w8
b.ge LBB7_6
; %bb.5: ; in Loop: Header=BB7_4 Depth=2
ldr x12, [x0, #8]
ldr x14, [x12, x13, lsl #3]
ldr w14, [x14, #4]
ldr x12, [x12, x10, lsl #3]
ldr w12, [x12, #4]
cmp w14, w12
csel w12, w13, w11, lt
LBB7_6: ; in Loop: Header=BB7_4 Depth=2
sbfiz x13, x11, #1, #32
add w13, w13, #2
cmp w13, w8
b.ge LBB7_8
; %bb.7: ; in Loop: Header=BB7_4 Depth=2
ldr x14, [x0, #8]
ldr x15, [x14, w13, sxtw #3]
ldr w15, [x15, #4]
ldr x14, [x14, w12, sxtw #3]
ldr w14, [x14, #4]
cmp w15, w14
csel w12, w13, w12, lt
LBB7_8: ; in Loop: Header=BB7_4 Depth=2
cmp w12, w11
b.eq LBB7_2
; %bb.9: ; in Loop: Header=BB7_4 Depth=2
ldr x11, [x0, #8]
sbfiz x13, x12, #3, #32
lsl x10, x10, #3
ldr x14, [x11, x13]
ldr x15, [x11, x10]
str x15, [x11, x13]
str x14, [x11, x10]
mov x11, x12
b LBB7_4
LBB7_10:
ret
.cfi_endproc
; -- End function
.globl _createAndBuildMinHeap ; -- Begin function createAndBuildMinHeap
.p2align 2
_createAndBuildMinHeap: ; @createAndBuildMinHeap
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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, x2
mov x21, x1
mov x22, x0
mov w0, #16 ; =0x10
bl _libmin_malloc
mov x20, x0
stp wzr, w19, [x0]
sbfiz x0, x19, #3, #32
bl _libmin_malloc
str x0, [x20, #8]
subs w23, w19, #1
b.lt LBB8_3
; %bb.1:
mov x24, #0 ; =0x0
mov w25, w19
LBB8_2: ; =>This Inner Loop Header: Depth=1
ldrb w26, [x22, x24]
ldr w27, [x21, x24, lsl #2]
mov w0, #24 ; =0x18
bl _libmin_malloc
strb w26, [x0]
str w27, [x0, #4]
stp xzr, xzr, [x0, #8]
ldr x8, [x20, #8]
str x0, [x8, x24, lsl #3]
add x24, x24, #1
cmp x25, x24
b.ne LBB8_2
LBB8_3:
str w19, [x20]
tbnz w19, #31, LBB8_13
; %bb.4:
cmp w23, #0
csel w8, w19, w23, lt
asr w8, w8, #1
b LBB8_6
LBB8_5: ; in Loop: Header=BB8_6 Depth=1
sub w9, w8, #1
cmp w8, #0
mov x8, x9
b.le LBB8_13
LBB8_6: ; =>This Loop Header: Depth=1
; Child Loop BB8_7 Depth 2
mov x10, x8
LBB8_7: ; Parent Loop BB8_6 Depth=1
; => This Inner Loop Header: Depth=2
sxtw x9, w10
mov w12, #1 ; =0x1
bfi x12, x9, #1, #63
mov x11, x10
cmp w12, w19
b.ge LBB8_9
; %bb.8: ; in Loop: Header=BB8_7 Depth=2
ldr x11, [x20, #8]
ldr x13, [x11, x12, lsl #3]
ldr w13, [x13, #4]
ldr x11, [x11, x9, lsl #3]
ldr w11, [x11, #4]
cmp w13, w11
csel w11, w12, w10, lt
LBB8_9: ; in Loop: Header=BB8_7 Depth=2
sbfiz x12, x10, #1, #32
add w12, w12, #2
cmp w12, w19
b.ge LBB8_11
; %bb.10: ; in Loop: Header=BB8_7 Depth=2
ldr x13, [x20, #8]
ldr x14, [x13, w12, sxtw #3]
ldr w14, [x14, #4]
ldr x13, [x13, w11, sxtw #3]
ldr w13, [x13, #4]
cmp w14, w13
csel w11, w12, w11, lt
LBB8_11: ; in Loop: Header=BB8_7 Depth=2
cmp w11, w10
b.eq LBB8_5
; %bb.12: ; in Loop: Header=BB8_7 Depth=2
ldr x10, [x20, #8]
sbfiz x12, x11, #3, #32
lsl x9, x9, #3
ldr x13, [x10, x12]
ldr x14, [x10, x9]
str x14, [x10, x12]
str x13, [x10, x9]
mov x10, x11
b LBB8_7
LBB8_13:
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _buildHuffmanTree ; -- Begin function buildHuffmanTree
.p2align 2
_buildHuffmanTree: ; @buildHuffmanTree
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
bl _createAndBuildMinHeap
mov x19, x0
ldr w8, [x0]
cmp w8, #1
b.eq LBB9_22
; %bb.1:
mov w20, #36 ; =0x24
b LBB9_4
LBB9_2: ; in Loop: Header=BB9_4 Depth=1
mov x10, x9
LBB9_3: ; in Loop: Header=BB9_4 Depth=1
ldr x9, [x19, #8]
str x0, [x9, w10, sxtw #3]
LBB9_4: ; =>This Loop Header: Depth=1
; Child Loop BB9_5 Depth 2
; Child Loop BB9_12 Depth 2
; Child Loop BB9_19 Depth 2
mov w10, #0 ; =0x0
ldr x11, [x19, #8]
ldr x21, [x11]
sxtw x8, w8
sub x9, x8, #1
ldr x12, [x11, x9, lsl #3]
str x12, [x11]
LBB9_5: ; Parent Loop BB9_4 Depth=1
; => This Inner Loop Header: Depth=2
sxtw x11, w10
mov w13, #1 ; =0x1
bfi x13, x11, #1, #63
mov x12, x10
cmp w13, w9
b.ge LBB9_7
; %bb.6: ; in Loop: Header=BB9_5 Depth=2
ldr x12, [x19, #8]
ldr x14, [x12, x13, lsl #3]
ldr w14, [x14, #4]
ldr x12, [x12, x11, lsl #3]
ldr w12, [x12, #4]
cmp w14, w12
csel w12, w13, w10, lt
LBB9_7: ; in Loop: Header=BB9_5 Depth=2
sbfiz x13, x10, #1, #32
add w13, w13, #2
cmp w13, w9
b.ge LBB9_9
; %bb.8: ; in Loop: Header=BB9_5 Depth=2
ldr x14, [x19, #8]
ldr x15, [x14, w13, sxtw #3]
ldr w15, [x15, #4]
ldr x14, [x14, w12, sxtw #3]
ldr w14, [x14, #4]
cmp w15, w14
csel w12, w13, w12, lt
LBB9_9: ; in Loop: Header=BB9_5 Depth=2
ldr x13, [x19, #8]
cmp w12, w10
b.eq LBB9_11
; %bb.10: ; in Loop: Header=BB9_5 Depth=2
sbfiz x10, x12, #3, #32
lsl x11, x11, #3
ldr x14, [x13, x10]
ldr x15, [x13, x11]
str x15, [x13, x10]
str x14, [x13, x11]
mov x10, x12
b LBB9_5
LBB9_11: ; in Loop: Header=BB9_4 Depth=1
mov w9, #0 ; =0x0
ldr x22, [x13]
sub x8, x8, #2
ldr x10, [x13, x8, lsl #3]
str x10, [x13]
str w8, [x19]
LBB9_12: ; Parent Loop BB9_4 Depth=1
; => This Inner Loop Header: Depth=2
sxtw x10, w9
mov w12, #1 ; =0x1
bfi x12, x10, #1, #63
mov x11, x9
cmp w12, w8
b.ge LBB9_14
; %bb.13: ; in Loop: Header=BB9_12 Depth=2
ldr x11, [x19, #8]
ldr x13, [x11, x12, lsl #3]
ldr w13, [x13, #4]
ldr x11, [x11, x10, lsl #3]
ldr w11, [x11, #4]
cmp w13, w11
csel w11, w12, w9, lt
LBB9_14: ; in Loop: Header=BB9_12 Depth=2
sbfiz x12, x9, #1, #32
add w12, w12, #2
cmp w12, w8
b.ge LBB9_16
; %bb.15: ; in Loop: Header=BB9_12 Depth=2
ldr x13, [x19, #8]
ldr x14, [x13, w12, sxtw #3]
ldr w14, [x14, #4]
ldr x13, [x13, w11, sxtw #3]
ldr w13, [x13, #4]
cmp w14, w13
csel w11, w12, w11, lt
LBB9_16: ; in Loop: Header=BB9_12 Depth=2
cmp w11, w9
b.eq LBB9_18
; %bb.17: ; in Loop: Header=BB9_12 Depth=2
ldr x9, [x19, #8]
sbfiz x12, x11, #3, #32
lsl x10, x10, #3
ldr x13, [x9, x12]
ldr x14, [x9, x10]
str x14, [x9, x12]
str x13, [x9, x10]
mov x9, x11
b LBB9_12
LBB9_18: ; in Loop: Header=BB9_4 Depth=1
ldr w8, [x21, #4]
ldr w9, [x22, #4]
add w23, w9, w8
mov w0, #24 ; =0x18
bl _libmin_malloc
strb w20, [x0]
str w23, [x0, #4]
stp x21, x22, [x0, #8]
ldr w9, [x19]
add w8, w9, #1
str w8, [x19]
cbz w9, LBB9_21
LBB9_19: ; Parent Loop BB9_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x11, [x19, #8]
subs w10, w9, #1
csel w10, w9, w10, lt
asr w10, w10, #1
ldr x12, [x11, w10, sxtw #3]
ldr w13, [x12, #4]
cmp w23, w13
b.ge LBB9_2
; %bb.20: ; in Loop: Header=BB9_19 Depth=2
str x12, [x11, w9, sxtw #3]
cmp w9, #2
mov x9, x10
b.hi LBB9_19
b LBB9_3
LBB9_21:
ldr x8, [x19, #8]
str x0, [x8]
LBB9_22:
ldr x8, [x19, #8]
ldr x0, [x8]
str wzr, [x19]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _generateCodes ; -- Begin function generateCodes
.p2align 2
_generateCodes: ; @generateCodes
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x3
mov x21, x2
mov x19, x1
mov x22, x0
ldr x8, [x0, #8]
cbz x8, LBB10_2
; %bb.1:
mov w8, #48 ; =0x30
strb w8, [x19, w21, sxtw]
ldr x0, [x22, #8]
add w2, w21, #1
mov x1, x19
mov x3, x20
bl _generateCodes
LBB10_2:
ldr x8, [x22, #16]
cbz x8, LBB10_4
; %bb.3:
mov w8, #49 ; =0x31
strb w8, [x19, w21, sxtw]
ldr x0, [x22, #16]
add w2, w21, #1
mov x1, x19
mov x3, x20
bl _generateCodes
LBB10_4:
ldr x8, [x22, #8]
cbnz x8, LBB10_6
; %bb.5:
ldr x8, [x22, #16]
cbz x8, LBB10_7
LBB10_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
LBB10_7:
strb wzr, [x19, w21, sxtw]
ldrb w8, [x22]
add x0, x20, x8, lsl #8
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _libmin_strcpy
.cfi_endproc
; -- End function
.globl _encodeString ; -- Begin function encodeString
.p2align 2
_encodeString: ; @encodeString
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
strb wzr, [x2]
ldrb w8, [x0]
cbz w8, LBB11_3
; %bb.1:
mov x19, x2
mov x20, x1
add x21, x0, #1
LBB11_2: ; =>This Inner Loop Header: Depth=1
mov w8, w8
add x1, x20, x8, lsl #8
mov x0, x19
bl _libmin_strcat
ldrb w8, [x21], #1
cbnz w8, LBB11_2
LBB11_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
.globl _decodeString ; -- Begin function decodeString
.p2align 2
_decodeString: ; @decodeString
.cfi_startproc
; %bb.0:
mov w8, #0 ; =0x0
LBB12_1: ; =>This Loop Header: Depth=1
; Child Loop BB12_2 Depth 2
mov x9, x0
LBB12_2: ; Parent Loop BB12_1 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w10, [x1], #1
cmp w10, #48
b.eq LBB12_5
; %bb.3: ; in Loop: Header=BB12_2 Depth=2
cbz w10, LBB12_9
; %bb.4: ; in Loop: Header=BB12_2 Depth=2
add x9, x9, #16
b LBB12_6
LBB12_5: ; in Loop: Header=BB12_2 Depth=2
add x9, x9, #8
LBB12_6: ; in Loop: Header=BB12_2 Depth=2
ldr x9, [x9]
ldr x10, [x9, #8]
cbnz x10, LBB12_2
; %bb.7: ; in Loop: Header=BB12_2 Depth=2
ldr x10, [x9, #16]
cbnz x10, LBB12_2
; %bb.8: ; in Loop: Header=BB12_1 Depth=1
ldrb w9, [x9]
strb w9, [x2, w8, sxtw]
add w8, w8, #1
b LBB12_1
LBB12_9:
strb wzr, [x2, w8, sxtw]
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
mov w9, #3392 ; =0xd40
movk w9, #1, lsl #16
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #16, lsl #12 ; =65536
sub sp, sp, #3392
.cfi_def_cfa w29, 16
.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 x19, x29, #112
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh5:
adrp x8, l___const.main.input@PAGE
Lloh6:
add x8, x8, l___const.main.input@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [x19]
ldr x8, [x8, #32]
str x8, [x19, #32]
add x20, sp, #16, lsl #12 ; =65536
add x20, x20, #2320
add x0, sp, #16, lsl #12 ; =65536
add x0, x0, #2320
mov w1, #1024 ; =0x400
bl _bzero
mov w9, #116 ; =0x74
mov w8, #1 ; =0x1
LBB13_1: ; =>This Inner Loop Header: Depth=1
lsl x9, x9, #2
ldr w10, [x20, x9]
add w10, w10, #1
str w10, [x20, x9]
ldrb w9, [x19, x8]
add x8, x8, #1
cbnz w9, LBB13_1
; %bb.2:
mov x8, #0 ; =0x0
movi.2d v0, #0000000000000000
add x9, sp, #16, lsl #12 ; =65536
add x9, x9, #2320
movi.2d v1, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB13_3: ; =>This Inner Loop Header: Depth=1
add x10, x9, x8
ldp q4, q5, [x10]
ldp q6, q7, [x10, #32]
cmtst.4s v4, v4, v4
cmtst.4s v5, v5, v5
cmtst.4s v6, v6, v6
cmtst.4s v7, v7, v7
sub.4s v0, v0, v4
sub.4s v1, v1, v5
sub.4s v2, v2, v6
sub.4s v3, v3, v7
add x8, x8, #64
cmp x8, #1024
b.ne LBB13_3
; %bb.4:
add.4s v0, v1, v0
add.4s v1, v3, v2
add.4s v0, v1, v0
addv.4s s0, v0
fmov w21, s0
mov x0, x21
bl _libmin_malloc
mov x19, x0
ubfiz x0, x21, #2, #32
bl _libmin_malloc
mov x20, x0
mov x8, #0 ; =0x0
mov w9, #0 ; =0x0
add x10, sp, #16, lsl #12 ; =65536
add x10, x10, #2320
b LBB13_6
LBB13_5: ; in Loop: Header=BB13_6 Depth=1
add x8, x8, #1
cmp x8, #256
b.eq LBB13_8
LBB13_6: ; =>This Inner Loop Header: Depth=1
ldr w11, [x10, x8, lsl #2]
cbz w11, LBB13_5
; %bb.7: ; in Loop: Header=BB13_6 Depth=1
strb w8, [x19, w9, sxtw]
str w11, [x20, w9, sxtw #2]
add w9, w9, #1
b LBB13_5
LBB13_8:
mov x0, x19
mov x1, x20
mov x2, x21
bl _buildHuffmanTree
mov x21, x0
add x23, sp, #2320
add x0, sp, #2320
mov w1, #65536 ; =0x10000
bl _bzero
add x1, sp, #2064
add x3, sp, #2320
mov x0, x21
mov w2, #0 ; =0x0
bl _generateCodes
Lloh7:
adrp x0, l_.str@PAGE
Lloh8:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov x24, #0 ; =0x0
add x25, sp, #16, lsl #12 ; =65536
add x25, x25, #2320
Lloh9:
adrp x22, l_.str.1@PAGE
Lloh10:
add x22, x22, l_.str.1@PAGEOFF
b LBB13_10
LBB13_9: ; in Loop: Header=BB13_10 Depth=1
add x24, x24, #1
add x23, x23, #256
cmp x24, #256
b.eq LBB13_12
LBB13_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [x25, x24, lsl #2]
cbz w8, LBB13_9
; %bb.11: ; in Loop: Header=BB13_10 Depth=1
stp x24, x23, [sp]
mov x0, x22
bl _libmin_printf
b LBB13_9
LBB13_12:
add x0, sp, #1040
mov w1, #1024 ; =0x400
bl _bzero
mov w8, #116 ; =0x74
mov w22, #1 ; =0x1
add x23, sp, #2320
sub x24, x29, #112
LBB13_13: ; =>This Inner Loop Header: Depth=1
add x1, x23, x8, lsl #8
add x0, sp, #1040
bl _libmin_strcat
ldrb w8, [x24, x22]
add x22, x22, #1
cbnz w8, LBB13_13
; %bb.14:
add x23, sp, #1040
str x23, [sp]
Lloh11:
adrp x0, l_.str.2@PAGE
Lloh12:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
sub x0, x29, #112
bl _libmin_strlen
lsl w24, w0, #3
add x0, sp, #1040
bl _libmin_strlen
mov x22, x0
Lloh13:
adrp x0, l_.str.3@PAGE
Lloh14:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
str x24, [sp]
Lloh15:
adrp x0, l_.str.4@PAGE
Lloh16:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
str x22, [sp]
Lloh17:
adrp x0, l_.str.5@PAGE
Lloh18:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
scvtf d0, w22
scvtf d1, w24
fdiv d0, d0, d1
mov x8, #4636737291354636288 ; =0x4059000000000000
fmov d1, x8
fmul d0, d0, d1
str d0, [sp]
Lloh19:
adrp x0, l_.str.6@PAGE
Lloh20:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
add x22, sp, #16
add x0, sp, #16
mov w1, #1024 ; =0x400
bl _bzero
mov w8, #0 ; =0x0
LBB13_15: ; =>This Loop Header: Depth=1
; Child Loop BB13_16 Depth 2
mov x9, x21
LBB13_16: ; Parent Loop BB13_15 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w10, [x23], #1
cmp w10, #48
b.eq LBB13_19
; %bb.17: ; in Loop: Header=BB13_16 Depth=2
cbz w10, LBB13_23
; %bb.18: ; in Loop: Header=BB13_16 Depth=2
add x9, x9, #16
b LBB13_20
LBB13_19: ; in Loop: Header=BB13_16 Depth=2
add x9, x9, #8
LBB13_20: ; in Loop: Header=BB13_16 Depth=2
ldr x9, [x9]
ldr x10, [x9, #8]
cbnz x10, LBB13_16
; %bb.21: ; in Loop: Header=BB13_16 Depth=2
ldr x10, [x9, #16]
cbnz x10, LBB13_16
; %bb.22: ; in Loop: Header=BB13_15 Depth=1
ldrb w9, [x9]
strb w9, [x22, w8, sxtw]
add w8, w8, #1
b LBB13_15
LBB13_23:
add x9, sp, #16
strb wzr, [x9, w8, sxtw]
str x9, [sp]
Lloh21:
adrp x0, l_.str.7@PAGE
Lloh22:
add x0, x0, l_.str.7@PAGEOFF
bl _libmin_printf
sub x0, x29, #112
add x1, sp, #16
bl _libmin_strcmp
Lloh23:
adrp x8, l_.str.9@PAGE
Lloh24:
add x8, x8, l_.str.9@PAGEOFF
Lloh25:
adrp x9, l_.str.8@PAGE
Lloh26:
add x9, x9, l_.str.8@PAGEOFF
cmp w0, #0
csel x0, x9, x8, eq
bl _libmin_printf
mov x0, x19
bl _libmin_free
mov x0, x20
bl _libmin_free
bl _libmin_success
ldur x8, [x29, #-72]
Lloh27:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh28:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
cmp x9, x8
b.ne LBB13_25
; %bb.24:
mov w0, #0 ; =0x0
add sp, sp, #16, lsl #12 ; =65536
add sp, sp, #3392
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
LBB13_25:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___const.main.input: ; @__const.main.input
.asciz "this is an example for huffman encoding"
l_.str: ; @.str
.asciz "Huffman Codes:\n"
l_.str.1: ; @.str.1
.asciz "'%c': %s\n"
l_.str.2: ; @.str.2
.asciz "\nEncoded string:\n%s\n"
l_.str.3: ; @.str.3
.asciz "\nCompression Metrics:\n"
l_.str.4: ; @.str.4
.asciz "Original size: %d bits\n"
l_.str.5: ; @.str.5
.asciz "Encoded size: %d bits\n"
l_.str.6: ; @.str.6
.asciz "Compression ratio: %.2f%%\n"
l_.str.7: ; @.str.7
.asciz "\nDecoded string:\n%s\n"
l_.str.8: ; @.str.8
.asciz "\nDecompression verified: decoded string matches the original input.\n"
l_.str.9: ; @.str.9
.asciz "\nError: decoded string does not match the original input.\n"
.subsections_via_symbols
|
dhrystone.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.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 $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq _rec1(%rip), %rax
movq %rax, _rec2(%rip)
movabsq $8589934592, %rax ## imm = 0x200000000
movq %rax, _rec2+8(%rip)
movl $40, _rec2+16(%rip)
leaq _rec2+20(%rip), %rdi
leaq L_.str(%rip), %rsi
callq _libmin_strcpy
leaq L_.str.1(%rip), %rsi
leaq -80(%rbp), %rdi
callq _libmin_strcpy
movl $10, _Arr_2_Glob.0(%rip)
leaq L_.str.2(%rip), %r14
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.4(%rip), %rdi
movl $10, %r12d
movl $10, %esi
xorl %eax, %eax
callq _libmin_printf
movq _Ch_1_Glob@GOTPCREL(%rip), %rbx
leaq L_.str.5(%rip), %r14
leaq -112(%rbp), %r15
movq _Int_Glob@GOTPCREL(%rip), %r13
jmp LBB0_1
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movq _rec2(%rip), %rax
movups (%rax), %xmm0
movups 16(%rax), %xmm1
movups 32(%rax), %xmm2
movups %xmm1, _rec2+16(%rip)
movups %xmm2, _rec2+32(%rip)
movq 48(%rax), %rax
movq %rax, _rec2+48(%rip)
movups %xmm0, _rec2(%rip)
decl %r12d
je LBB0_14
LBB0_1: ## =>This Inner Loop Header: Depth=1
movb $65, (%rbx)
movl $1, _Bool_Glob(%rip)
movq %r15, %rdi
movq %r14, %rsi
callq _libmin_strcpy
movzbl -78(%rbp), %eax
cmpb -109(%rbp), %al
je LBB0_2
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
leaq -80(%rbp), %rdi
movq %r15, %rsi
callq _libmin_strcmp
xorl %ecx, %ecx
testl %eax, %eax
setle %cl
movl %ecx, _Bool_Glob(%rip)
incl _Arr_2_Glob.0(%rip)
movl $5, (%r13)
movq _rec2(%rip), %rax
movq _rec2+48(%rip), %rcx
movq %rcx, 48(%rax)
movups _rec2+32(%rip), %xmm0
movups %xmm0, 32(%rax)
movups _rec2+16(%rip), %xmm0
movups %xmm0, 16(%rax)
movups _rec2(%rip), %xmm0
movups %xmm0, (%rax)
movl $5, _rec2+16(%rip)
movl $5, 16(%rax)
movq _rec2(%rip), %rcx
movq %rcx, (%rax)
movq _rec2(%rip), %rcx
movq %rcx, (%rax)
movl (%r13), %edx
leal 12(%rdx), %ecx
movl %ecx, _rec2+16(%rip)
cmpl $0, 8(%rax)
jne LBB0_12
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl _rec2+12(%rip), %ecx
xorl %esi, %esi
cmpq $2, %rcx
sete %sil
xorl $3, %esi
movl %esi, 12(%rax)
cmpq $4, %rcx
ja LBB0_11
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
leaq LJTI0_0(%rip), %rdi
movslq (%rdi,%rcx,4), %rsi
addq %rdi, %rsi
jmpq *%rsi
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
xorl %ecx, %ecx
cmpl $101, %edx
setl %cl
leal (%rcx,%rcx,2), %ecx
jmp LBB0_10
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl $1, %ecx
jmp LBB0_10
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl $2, %ecx
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl %ecx, 12(%rax)
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movq _rec2(%rip), %rcx
movq %rcx, (%rax)
movl $18, 16(%rax)
decl %r12d
jne LBB0_1
LBB0_14:
movl $10, %r15d
subl (%r13), %r15d
movq %rbx, %r12
cmpb $65, (%rbx)
movl $1, %eax
cmovnel %eax, %r15d
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl (%r13), %esi
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.10(%rip), %r14
movq %r14, %rdi
movl $5, %esi
xorl %eax, %eax
callq _libmin_printf
movl _Bool_Glob(%rip), %esi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
movl $1, %esi
xorl %eax, %eax
callq _libmin_printf
movsbl (%r12), %esi
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.13(%rip), %rbx
movq %rbx, %rdi
movl $65, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.14(%rip), %rdi
movl $66, %esi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
movl $66, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.15(%rip), %rdi
movl $7, %esi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
movl $7, %esi
xorl %eax, %eax
callq _libmin_printf
movl _Arr_2_Glob.0(%rip), %esi
leaq L_.str.16(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.18(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl _rec2+8(%rip), %esi
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _libmin_printf
movl _rec2+12(%rip), %esi
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
movl $2, %esi
xorl %eax, %eax
callq _libmin_printf
movl _rec2+16(%rip), %esi
leaq L_.str.23(%rip), %r12
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
movl $17, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.24(%rip), %r13
leaq _rec2+20(%rip), %rsi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.25(%rip), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.26(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.27(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl _rec1+8(%rip), %esi
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _libmin_printf
movl _rec1+12(%rip), %esi
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
movl $1, %esi
xorl %eax, %eax
callq _libmin_printf
movl _rec1+16(%rip), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
movl $18, %esi
xorl %eax, %eax
callq _libmin_printf
leaq _rec1+20(%rip), %rsi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.28(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
movl $5, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.29(%rip), %rdi
movl $13, %esi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
movl $13, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.30(%rip), %rdi
movl $7, %esi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
movl $7, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.31(%rip), %rdi
movl $1, %esi
xorl %eax, %eax
callq _libmin_printf
movq %r14, %rdi
movl $1, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.32(%rip), %rdi
leaq -80(%rbp), %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.33(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.34(%rip), %rdi
leaq -112(%rbp), %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.35(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_16
## %bb.15:
xorl %eax, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movb %al, (%rbx)
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
jmp LBB0_3
LBB0_16:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
.long L0_0_set_10
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_11
.long L0_0_set_9
.end_data_region
## -- End function
.globl _PFunc_2 ## -- Begin function PFunc_2
.p2align 4, 0x90
_PFunc_2: ## @PFunc_2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzbl 2(%rdi), %eax
cmpb 3(%rsi), %al
jne LBB1_3
## %bb.1:
movq _Ch_1_Glob@GOTPCREL(%rip), %rcx
movb %al, (%rcx)
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
jmp LBB1_2
LBB1_3:
callq _libmin_strcmp
testl %eax, %eax
jle LBB1_4
## %bb.5:
movq _Int_Glob@GOTPCREL(%rip), %rax
movl $10, (%rax)
movl $1, %eax
popq %rbp
retq
LBB1_4:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _PProc_7 ## -- Begin function PProc_7
.p2align 4, 0x90
_PProc_7: ## @PProc_7
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
## kill: def $edi killed $edi def $rdi
leal (%rdi,%rsi), %eax
addl $2, %eax
movl %eax, (%rdx)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _PProc_8 ## -- Begin function PProc_8
.p2align 4, 0x90
_PProc_8: ## @PProc_8
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %edx, %rax
leaq 5(%rax), %rdx
leal 5(%rax), %r8d
movl %ecx, 20(%rdi,%rax,4)
movl %ecx, 24(%rdi,%rax,4)
movl %r8d, 140(%rdi,%rax,4)
imulq $200, %rdx, %rcx
addq %rsi, %rcx
movl %r8d, 20(%rcx,%rax,4)
movl %r8d, 24(%rcx,%rax,4)
incl 16(%rcx,%rax,4)
movl 20(%rdi,%rax,4), %ecx
leal 25(%rax), %edx
movslq %edx, %rdx
imulq $200, %rdx, %rdx
addq %rsi, %rdx
movl %ecx, 20(%rdx,%rax,4)
movq _Int_Glob@GOTPCREL(%rip), %rax
movl $5, (%rax)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _PFunc_1 ## -- Begin function PFunc_1
.p2align 4, 0x90
_PFunc_1: ## @PFunc_1
.cfi_startproc
## %bb.0:
xorl %eax, %eax
cmpb %sil, %dil
jne LBB4_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Ch_1_Glob@GOTPCREL(%rip), %rax
movb %dil, (%rax)
movl $1, %eax
popq %rbp
LBB4_2:
retq
.cfi_endproc
## -- End function
.globl _PProc_6 ## -- Begin function PProc_6
.p2align 4, 0x90
_PProc_6: ## @PProc_6
.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
cmpl $2, %edi
sete %al
xorl $3, %eax
movl %eax, (%rsi)
cmpl $4, %edi
ja LBB5_6
## %bb.1:
movl %edi, %eax
leaq LJTI5_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB5_2:
movq _Int_Glob@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
cmpl $101, (%rax)
setl %cl
leal (%rcx,%rcx,2), %edi
jmp LBB5_5
LBB5_3:
movl $1, %edi
jmp LBB5_5
LBB5_4:
movl $2, %edi
LBB5_5:
movl %edi, (%rsi)
LBB5_6:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L5_0_set_5, LBB5_5-LJTI5_0
.set L5_0_set_2, LBB5_2-LJTI5_0
.set L5_0_set_3, LBB5_3-LJTI5_0
.set L5_0_set_6, LBB5_6-LJTI5_0
.set L5_0_set_4, LBB5_4-LJTI5_0
LJTI5_0:
.long L5_0_set_5
.long L5_0_set_2
.long L5_0_set_3
.long L5_0_set_6
.long L5_0_set_4
.end_data_region
## -- End function
.globl _PFunc_3 ## -- Begin function PFunc_3
.p2align 4, 0x90
_PFunc_3: ## @PFunc_3
.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
cmpl $2, %edi
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_rec1,56,3 ## @rec1
.zerofill __DATA,__bss,_rec2,56,3 ## @rec2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "DHRYSTONE PROGRAM, SOME STRING"
L_.str.1: ## @.str.1
.asciz "DHRYSTONE PROGRAM, 1'ST STRING"
.zerofill __DATA,__bss,_Arr_2_Glob.0,4,4 ## @Arr_2_Glob.0
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "Dhrystone Benchmark, Version 2.1 (Language: C)\n"
L_.str.4: ## @.str.4
.asciz "Execution starts, %d runs through Dhrystone\n"
L_.str.5: ## @.str.5
.asciz "DHRYSTONE PROGRAM, 2'ND STRING"
.zerofill __DATA,__bss,_Bool_Glob,4,2 ## @Bool_Glob
.comm _Int_Glob,4,2 ## @Int_Glob
L_.str.7: ## @.str.7
.asciz "Execution ends\n"
L_.str.8: ## @.str.8
.asciz "Final values of the variables used in the benchmark:\n"
L_.str.9: ## @.str.9
.asciz "Int_Glob: %d\n"
L_.str.10: ## @.str.10
.asciz " should be: %d\n"
L_.str.11: ## @.str.11
.asciz "Bool_Glob: %d\n"
L_.str.12: ## @.str.12
.asciz "Ch_1_Glob: %c\n"
.comm _Ch_1_Glob,1,0 ## @Ch_1_Glob
L_.str.13: ## @.str.13
.asciz " should be: %c\n"
L_.str.14: ## @.str.14
.asciz "Ch_2_Glob: %c\n"
L_.str.15: ## @.str.15
.asciz "Arr_1_Glob[8]: %d\n"
L_.str.16: ## @.str.16
.asciz "Arr_2_Glob[8][7]: %d\n"
L_.str.17: ## @.str.17
.asciz " should be: Pnumber_of_runs + 10\n"
L_.str.18: ## @.str.18
.asciz "Ptr_Glob->\n"
L_.str.19: ## @.str.19
.asciz " Ptr_Comp: (implementation-dependent)\n"
L_.str.20: ## @.str.20
.asciz " should be: (implementation-dependent)\n"
L_.str.21: ## @.str.21
.asciz " Discr: %d\n"
L_.str.22: ## @.str.22
.asciz " Enum_Comp: %d\n"
L_.str.23: ## @.str.23
.asciz " Int_Comp: %d\n"
L_.str.24: ## @.str.24
.asciz " Str_Comp: %s\n"
L_.str.25: ## @.str.25
.asciz " should be: DHRYSTONE PROGRAM, SOME STRING\n"
L_.str.26: ## @.str.26
.asciz "Next_Ptr_Glob->\n"
L_.str.27: ## @.str.27
.asciz " should be: (implementation-dependent), same as above\n"
L_.str.28: ## @.str.28
.asciz "Int_1_Loc: %d\n"
L_.str.29: ## @.str.29
.asciz "Int_2_Loc: %d\n"
L_.str.30: ## @.str.30
.asciz "Int_3_Loc: %d\n"
L_.str.31: ## @.str.31
.asciz "Enum_Loc: %d\n"
L_.str.32: ## @.str.32
.asciz "Str_1_Loc: %s\n"
L_.str.33: ## @.str.33
.asciz " should be: DHRYSTONE PROGRAM, 1'ST STRING\n"
L_.str.34: ## @.str.34
.asciz "Str_2_Loc: %s\n"
L_.str.35: ## @.str.35
.asciz " should be: DHRYSTONE PROGRAM, 2'ND STRING\n"
.comm _Pnumber_of_runs,4,2 ## @Pnumber_of_runs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ; -- Begin function main
lCPI0_0:
.long 0 ; 0x0
.long 2 ; 0x2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #176
stp x28, x27, [sp, #80] ; 16-byte Folded Spill
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #72]
Lloh3:
adrp x20, _rec2@PAGE
Lloh4:
add x20, x20, _rec2@PAGEOFF
Lloh5:
adrp x8, _rec1@PAGE
Lloh6:
add x8, x8, _rec1@PAGEOFF
str x8, [x20]
Lloh7:
adrp x8, lCPI0_0@PAGE
Lloh8:
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [x20, #8]
mov w8, #40 ; =0x28
str w8, [x20, #16]
add x0, x20, #20
Lloh9:
adrp x1, l_.str@PAGE
Lloh10:
add x1, x1, l_.str@PAGEOFF
bl _libmin_strcpy
Lloh11:
adrp x1, l_.str.1@PAGE
Lloh12:
add x1, x1, l_.str.1@PAGEOFF
add x0, sp, #41
bl _libmin_strcpy
mov w24, #10 ; =0xa
adrp x22, _Arr_2_Glob.0@PAGE
str w24, [x22, _Arr_2_Glob.0@PAGEOFF]
Lloh13:
adrp x19, l_.str.2@PAGE
Lloh14:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x19
bl _libmin_printf
Lloh15:
adrp x0, l_.str.3@PAGE
Lloh16:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
mov x0, x19
bl _libmin_printf
str x24, [sp]
Lloh17:
adrp x0, l_.str.4@PAGE
Lloh18:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
Lloh19:
adrp x21, _Ch_1_Glob@GOTPAGE
Lloh20:
ldr x21, [x21, _Ch_1_Glob@GOTPAGEOFF]
mov w26, #65 ; =0x41
adrp x23, _Bool_Glob@PAGE
mov w27, #1 ; =0x1
Lloh21:
adrp x19, l_.str.5@PAGE
Lloh22:
add x19, x19, l_.str.5@PAGEOFF
Lloh23:
adrp x25, _Int_Glob@GOTPAGE
Lloh24:
ldr x25, [x25, _Int_Glob@GOTPAGEOFF]
mov w28, #5 ; =0x5
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x20]
ldp q0, q1, [x8]
ldr q2, [x8, #32]
ldr x8, [x8, #48]
str x8, [x20, #48]
stp q1, q2, [x20, #16]
str q0, [x20]
subs w24, w24, #1
b.eq LBB0_11
LBB0_2: ; =>This Inner Loop Header: Depth=1
strb w26, [x21]
str w27, [x23, _Bool_Glob@PAGEOFF]
add x0, sp, #10
mov x1, x19
bl _libmin_strcpy
ldrb w8, [sp, #43]
ldrb w9, [sp, #13]
cmp w8, w9
b.eq LBB0_13
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x0, sp, #41
add x1, sp, #10
bl _libmin_strcmp
cmp w0, #1
cset w8, lt
str w8, [x23, _Bool_Glob@PAGEOFF]
ldr w8, [x22, _Arr_2_Glob.0@PAGEOFF]
add w8, w8, #1
str w8, [x22, _Arr_2_Glob.0@PAGEOFF]
str w28, [x25]
ldr x8, [x20]
ldp q0, q1, [x20]
ldr q2, [x20, #32]
ldr x9, [x20, #48]
str x9, [x8, #48]
stp q1, q2, [x8, #16]
str q0, [x8]
str w28, [x20, #16]
str w28, [x8, #16]
ldr x9, [x20]
str x9, [x8]
ldr x9, [x20]
str x9, [x8]
ldr w10, [x25]
add w9, w10, #12
str w9, [x20, #16]
ldr w9, [x8, #8]
cbnz w9, LBB0_1
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
Lloh25:
adrp x9, _rec2@PAGE+12
Lloh26:
ldr w9, [x9, _rec2@PAGEOFF+12]
cmp x9, #2
mov w11, #2 ; =0x2
cinc w11, w11, ne
str w11, [x8, #12]
cmp w9, #4
b.hi LBB0_10
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
Lloh27:
adrp x13, lJTI0_0@PAGE
Lloh28:
add x13, x13, lJTI0_0@PAGEOFF
adr x11, LBB0_6
ldrb w12, [x13, x9]
add x11, x11, x12, lsl #2
br x11
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
cmp w10, #100
mov w9, #3 ; =0x3
csel w9, wzr, w9, gt
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
mov w9, #1 ; =0x1
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
mov w9, #2 ; =0x2
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
str w9, [x8, #12]
LBB0_10: ; in Loop: Header=BB0_2 Depth=1
Lloh29:
adrp x9, _rec2@PAGE
Lloh30:
ldr x9, [x9, _rec2@PAGEOFF]
str x9, [x8]
mov w9, #18 ; =0x12
str w9, [x8, #16]
subs w24, w24, #1
b.ne LBB0_2
LBB0_11:
ldr w8, [x25]
ldrb w9, [x21]
mov w10, #10 ; =0xa
sub w8, w10, w8
cmp w9, #65
csinc w27, w8, wzr, eq
Lloh31:
adrp x0, l_.str.7@PAGE
Lloh32:
add x0, x0, l_.str.7@PAGEOFF
bl _libmin_printf
Lloh33:
adrp x19, l_.str.2@PAGE
Lloh34:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x19
bl _libmin_printf
Lloh35:
adrp x0, l_.str.8@PAGE
Lloh36:
add x0, x0, l_.str.8@PAGEOFF
bl _libmin_printf
mov x0, x19
bl _libmin_printf
ldr w8, [x25]
str x8, [sp]
Lloh37:
adrp x0, l_.str.9@PAGE
Lloh38:
add x0, x0, l_.str.9@PAGEOFF
bl _libmin_printf
mov w8, #5 ; =0x5
str x8, [sp]
Lloh39:
adrp x20, l_.str.10@PAGE
Lloh40:
add x20, x20, l_.str.10@PAGEOFF
mov x0, x20
bl _libmin_printf
ldr w8, [x23, _Bool_Glob@PAGEOFF]
str x8, [sp]
Lloh41:
adrp x0, l_.str.11@PAGE
Lloh42:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_printf
mov w28, #1 ; =0x1
str x28, [sp]
mov x0, x20
bl _libmin_printf
ldrsb x8, [x21]
str x8, [sp]
Lloh43:
adrp x0, l_.str.12@PAGE
Lloh44:
add x0, x0, l_.str.12@PAGEOFF
bl _libmin_printf
mov w8, #65 ; =0x41
str x8, [sp]
Lloh45:
adrp x21, l_.str.13@PAGE
Lloh46:
add x21, x21, l_.str.13@PAGEOFF
mov x0, x21
bl _libmin_printf
mov w19, #66 ; =0x42
str x19, [sp]
Lloh47:
adrp x0, l_.str.14@PAGE
Lloh48:
add x0, x0, l_.str.14@PAGEOFF
bl _libmin_printf
str x19, [sp]
mov x0, x21
bl _libmin_printf
mov w19, #7 ; =0x7
str x19, [sp]
Lloh49:
adrp x0, l_.str.15@PAGE
Lloh50:
add x0, x0, l_.str.15@PAGEOFF
bl _libmin_printf
str x19, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x22, _Arr_2_Glob.0@PAGEOFF]
str x8, [sp]
Lloh51:
adrp x0, l_.str.16@PAGE
Lloh52:
add x0, x0, l_.str.16@PAGEOFF
bl _libmin_printf
Lloh53:
adrp x0, l_.str.17@PAGE
Lloh54:
add x0, x0, l_.str.17@PAGEOFF
bl _libmin_printf
Lloh55:
adrp x0, l_.str.18@PAGE
Lloh56:
add x0, x0, l_.str.18@PAGEOFF
bl _libmin_printf
Lloh57:
adrp x21, l_.str.19@PAGE
Lloh58:
add x21, x21, l_.str.19@PAGEOFF
mov x0, x21
bl _libmin_printf
Lloh59:
adrp x0, l_.str.20@PAGE
Lloh60:
add x0, x0, l_.str.20@PAGEOFF
bl _libmin_printf
Lloh61:
adrp x25, _rec2@PAGE+8
Lloh62:
add x25, x25, _rec2@PAGEOFF+8
ldr w8, [x25]
str x8, [sp]
Lloh63:
adrp x22, l_.str.21@PAGE
Lloh64:
add x22, x22, l_.str.21@PAGEOFF
mov x0, x22
bl _libmin_printf
str xzr, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x25, #4]
str x8, [sp]
Lloh65:
adrp x23, l_.str.22@PAGE
Lloh66:
add x23, x23, l_.str.22@PAGEOFF
mov x0, x23
bl _libmin_printf
mov w8, #2 ; =0x2
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x25, #8]
str x8, [sp]
Lloh67:
adrp x24, l_.str.23@PAGE
Lloh68:
add x24, x24, l_.str.23@PAGEOFF
mov x0, x24
bl _libmin_printf
mov w8, #17 ; =0x11
str x8, [sp]
mov x0, x20
bl _libmin_printf
add x8, x25, #12
str x8, [sp]
Lloh69:
adrp x25, l_.str.24@PAGE
Lloh70:
add x25, x25, l_.str.24@PAGEOFF
mov x0, x25
bl _libmin_printf
Lloh71:
adrp x26, l_.str.25@PAGE
Lloh72:
add x26, x26, l_.str.25@PAGEOFF
mov x0, x26
bl _libmin_printf
Lloh73:
adrp x0, l_.str.26@PAGE
Lloh74:
add x0, x0, l_.str.26@PAGEOFF
bl _libmin_printf
mov x0, x21
bl _libmin_printf
Lloh75:
adrp x0, l_.str.27@PAGE
Lloh76:
add x0, x0, l_.str.27@PAGEOFF
bl _libmin_printf
Lloh77:
adrp x21, _rec1@PAGE+8
Lloh78:
add x21, x21, _rec1@PAGEOFF+8
ldr w8, [x21]
str x8, [sp]
mov x0, x22
bl _libmin_printf
str xzr, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x21, #4]
str x8, [sp]
mov x0, x23
bl _libmin_printf
str x28, [sp]
mov x0, x20
bl _libmin_printf
ldr w8, [x21, #8]
str x8, [sp]
mov x0, x24
bl _libmin_printf
mov w8, #18 ; =0x12
str x8, [sp]
mov x0, x20
bl _libmin_printf
add x8, x21, #12
str x8, [sp]
mov x0, x25
bl _libmin_printf
mov x0, x26
bl _libmin_printf
str x27, [sp]
Lloh79:
adrp x0, l_.str.28@PAGE
Lloh80:
add x0, x0, l_.str.28@PAGEOFF
bl _libmin_printf
mov w8, #5 ; =0x5
str x8, [sp]
mov x0, x20
bl _libmin_printf
mov w21, #13 ; =0xd
str x21, [sp]
Lloh81:
adrp x0, l_.str.29@PAGE
Lloh82:
add x0, x0, l_.str.29@PAGEOFF
bl _libmin_printf
str x21, [sp]
mov x0, x20
bl _libmin_printf
str x19, [sp]
Lloh83:
adrp x0, l_.str.30@PAGE
Lloh84:
add x0, x0, l_.str.30@PAGEOFF
bl _libmin_printf
str x19, [sp]
mov x0, x20
bl _libmin_printf
str x28, [sp]
Lloh85:
adrp x0, l_.str.31@PAGE
Lloh86:
add x0, x0, l_.str.31@PAGEOFF
bl _libmin_printf
str x28, [sp]
mov x0, x20
bl _libmin_printf
add x8, sp, #41
str x8, [sp]
Lloh87:
adrp x0, l_.str.32@PAGE
Lloh88:
add x0, x0, l_.str.32@PAGEOFF
bl _libmin_printf
Lloh89:
adrp x0, l_.str.33@PAGE
Lloh90:
add x0, x0, l_.str.33@PAGEOFF
bl _libmin_printf
add x8, sp, #10
str x8, [sp]
Lloh91:
adrp x0, l_.str.34@PAGE
Lloh92:
add x0, x0, l_.str.34@PAGEOFF
bl _libmin_printf
Lloh93:
adrp x0, l_.str.35@PAGE
Lloh94:
add x0, x0, l_.str.35@PAGEOFF
bl _libmin_printf
Lloh95:
adrp x0, l_.str.2@PAGE
Lloh96:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
bl _libmin_success
ldr x8, [sp, #72]
Lloh97:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh98:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh99:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_15
; %bb.12:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #176
ret
LBB0_13:
strb w8, [x21]
LBB0_14: ; =>This Inner Loop Header: Depth=1
b LBB0_14
LBB0_15:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdr Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdr Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh97, Lloh98, Lloh99
.loh AdrpAdd Lloh95, Lloh96
.loh AdrpAdd Lloh93, Lloh94
.loh AdrpAdd Lloh91, Lloh92
.loh AdrpAdd Lloh89, Lloh90
.loh AdrpAdd Lloh87, Lloh88
.loh AdrpAdd Lloh85, Lloh86
.loh AdrpAdd Lloh83, Lloh84
.loh AdrpAdd Lloh81, Lloh82
.loh AdrpAdd Lloh79, Lloh80
.loh AdrpAdd Lloh77, Lloh78
.loh AdrpAdd Lloh75, Lloh76
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpAdd Lloh69, Lloh70
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_9-LBB0_6)>>2
.byte (LBB0_6-LBB0_6)>>2
.byte (LBB0_7-LBB0_6)>>2
.byte (LBB0_10-LBB0_6)>>2
.byte (LBB0_8-LBB0_6)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _PFunc_2 ; -- Begin function PFunc_2
.p2align 2
_PFunc_2: ; @PFunc_2
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldrb w8, [x0, #2]
ldrb w9, [x1, #3]
cmp w8, w9
b.ne LBB1_3
; %bb.1:
Lloh100:
adrp x9, _Ch_1_Glob@GOTPAGE
Lloh101:
ldr x9, [x9, _Ch_1_Glob@GOTPAGEOFF]
Lloh102:
strb w8, [x9]
LBB1_2: ; =>This Inner Loop Header: Depth=1
b LBB1_2
LBB1_3:
bl _libmin_strcmp
cmp w0, #1
b.lt LBB1_5
; %bb.4:
Lloh103:
adrp x8, _Int_Glob@GOTPAGE
Lloh104:
ldr x8, [x8, _Int_Glob@GOTPAGEOFF]
mov w9, #10 ; =0xa
Lloh105:
str w9, [x8]
mov w0, #1 ; =0x1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB1_5:
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh100, Lloh101, Lloh102
.loh AdrpLdrGotStr Lloh103, Lloh104, Lloh105
.cfi_endproc
; -- End function
.globl _PProc_7 ; -- Begin function PProc_7
.p2align 2
_PProc_7: ; @PProc_7
.cfi_startproc
; %bb.0:
add w8, w0, w1
add w8, w8, #2
str w8, [x2]
mov w0, #0 ; =0x0
ret
.cfi_endproc
; -- End function
.globl _PProc_8 ; -- Begin function PProc_8
.p2align 2
_PProc_8: ; @PProc_8
.cfi_startproc
; %bb.0:
; kill: def $w2 killed $w2 def $x2
sxtw x8, w2
add x8, x8, #5
lsl x9, x8, #2
str w3, [x0, x9]
sbfiz x10, x2, #2, #32
add x11, x10, x0
str w3, [x11, #24]
str w8, [x11, #140]
mov w11, #200 ; =0xc8
smaddl x11, w2, w11, x1
add x12, x11, #1000
dup.2s v0, w8
str d0, [x12, x9]
add x8, x10, x12
ldr w10, [x8, #16]
add w10, w10, #1
str w10, [x8, #16]
ldr w8, [x0, x9]
add x9, x11, x9
str w8, [x9, #5000]
Lloh106:
adrp x8, _Int_Glob@GOTPAGE
Lloh107:
ldr x8, [x8, _Int_Glob@GOTPAGEOFF]
mov w9, #5 ; =0x5
Lloh108:
str w9, [x8]
mov w0, #0 ; =0x0
ret
.loh AdrpLdrGotStr Lloh106, Lloh107, Lloh108
.cfi_endproc
; -- End function
.globl _PFunc_1 ; -- Begin function PFunc_1
.p2align 2
_PFunc_1: ; @PFunc_1
.cfi_startproc
; %bb.0:
cmp w0, w1
b.ne LBB4_2
; %bb.1:
Lloh109:
adrp x8, _Ch_1_Glob@GOTPAGE
Lloh110:
ldr x8, [x8, _Ch_1_Glob@GOTPAGEOFF]
Lloh111:
strb w0, [x8]
mov w0, #1 ; =0x1
ret
LBB4_2:
mov w0, #0 ; =0x0
ret
.loh AdrpLdrGotStr Lloh109, Lloh110, Lloh111
.cfi_endproc
; -- End function
.globl _PProc_6 ; -- Begin function PProc_6
.p2align 2
_PProc_6: ; @PProc_6
.cfi_startproc
; %bb.0:
cmp w0, #2
mov w8, #2 ; =0x2
cinc w8, w8, ne
str w8, [x1]
cmp w0, #4
b.hi LBB5_6
; %bb.1:
mov w8, w0
Lloh112:
adrp x9, lJTI5_0@PAGE
Lloh113:
add x9, x9, lJTI5_0@PAGEOFF
adr x10, LBB5_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB5_2:
Lloh114:
adrp x8, _Int_Glob@GOTPAGE
Lloh115:
ldr x8, [x8, _Int_Glob@GOTPAGEOFF]
Lloh116:
ldr w8, [x8]
mov w9, #3 ; =0x3
cmp w8, #100
csel w0, wzr, w9, gt
b LBB5_5
LBB5_3:
mov w0, #1 ; =0x1
b LBB5_5
LBB5_4:
mov w0, #2 ; =0x2
LBB5_5:
str w0, [x1]
LBB5_6:
mov w0, #0 ; =0x0
ret
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpLdrGotLdr Lloh114, Lloh115, Lloh116
.cfi_endproc
.section __TEXT,__const
lJTI5_0:
.byte (LBB5_5-LBB5_2)>>2
.byte (LBB5_2-LBB5_2)>>2
.byte (LBB5_3-LBB5_2)>>2
.byte (LBB5_6-LBB5_2)>>2
.byte (LBB5_4-LBB5_2)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _PFunc_3 ; -- Begin function PFunc_3
.p2align 2
_PFunc_3: ; @PFunc_3
.cfi_startproc
; %bb.0:
cmp w0, #2
cset w0, eq
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_rec1,56,3 ; @rec1
.zerofill __DATA,__bss,_rec2,56,3 ; @rec2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "DHRYSTONE PROGRAM, SOME STRING"
l_.str.1: ; @.str.1
.asciz "DHRYSTONE PROGRAM, 1'ST STRING"
.zerofill __DATA,__bss,_Arr_2_Glob.0,4,2 ; @Arr_2_Glob.0
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "Dhrystone Benchmark, Version 2.1 (Language: C)\n"
l_.str.4: ; @.str.4
.asciz "Execution starts, %d runs through Dhrystone\n"
l_.str.5: ; @.str.5
.asciz "DHRYSTONE PROGRAM, 2'ND STRING"
.zerofill __DATA,__bss,_Bool_Glob,4,2 ; @Bool_Glob
.comm _Int_Glob,4,2 ; @Int_Glob
l_.str.7: ; @.str.7
.asciz "Execution ends\n"
l_.str.8: ; @.str.8
.asciz "Final values of the variables used in the benchmark:\n"
l_.str.9: ; @.str.9
.asciz "Int_Glob: %d\n"
l_.str.10: ; @.str.10
.asciz " should be: %d\n"
l_.str.11: ; @.str.11
.asciz "Bool_Glob: %d\n"
l_.str.12: ; @.str.12
.asciz "Ch_1_Glob: %c\n"
.comm _Ch_1_Glob,1,0 ; @Ch_1_Glob
l_.str.13: ; @.str.13
.asciz " should be: %c\n"
l_.str.14: ; @.str.14
.asciz "Ch_2_Glob: %c\n"
l_.str.15: ; @.str.15
.asciz "Arr_1_Glob[8]: %d\n"
l_.str.16: ; @.str.16
.asciz "Arr_2_Glob[8][7]: %d\n"
l_.str.17: ; @.str.17
.asciz " should be: Pnumber_of_runs + 10\n"
l_.str.18: ; @.str.18
.asciz "Ptr_Glob->\n"
l_.str.19: ; @.str.19
.asciz " Ptr_Comp: (implementation-dependent)\n"
l_.str.20: ; @.str.20
.asciz " should be: (implementation-dependent)\n"
l_.str.21: ; @.str.21
.asciz " Discr: %d\n"
l_.str.22: ; @.str.22
.asciz " Enum_Comp: %d\n"
l_.str.23: ; @.str.23
.asciz " Int_Comp: %d\n"
l_.str.24: ; @.str.24
.asciz " Str_Comp: %s\n"
l_.str.25: ; @.str.25
.asciz " should be: DHRYSTONE PROGRAM, SOME STRING\n"
l_.str.26: ; @.str.26
.asciz "Next_Ptr_Glob->\n"
l_.str.27: ; @.str.27
.asciz " should be: (implementation-dependent), same as above\n"
l_.str.28: ; @.str.28
.asciz "Int_1_Loc: %d\n"
l_.str.29: ; @.str.29
.asciz "Int_2_Loc: %d\n"
l_.str.30: ; @.str.30
.asciz "Int_3_Loc: %d\n"
l_.str.31: ; @.str.31
.asciz "Enum_Loc: %d\n"
l_.str.32: ; @.str.32
.asciz "Str_1_Loc: %s\n"
l_.str.33: ; @.str.33
.asciz " should be: DHRYSTONE PROGRAM, 1'ST STRING\n"
l_.str.34: ; @.str.34
.asciz "Str_2_Loc: %s\n"
l_.str.35: ; @.str.35
.asciz " should be: DHRYSTONE PROGRAM, 2'ND STRING\n"
.comm _Pnumber_of_runs,4,2 ; @Pnumber_of_runs
.subsections_via_symbols
|
minspan.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _minVal ## -- Begin function minVal
.p2align 4, 0x90
_minVal: ## @minVal
.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), %ecx
cmpl $2147483647, %ecx ## imm = 0x7FFFFFFF
jne LBB0_2
## %bb.1:
movl $2147483647, %ecx ## imm = 0x7FFFFFFF
movl $-1, %eax
jmp LBB0_3
LBB0_2:
xorl %eax, %eax
cmpl $0, (%rsi)
setne %al
movl $2147483647, %edx ## imm = 0x7FFFFFFF
cmovnel %edx, %ecx
negl %eax
LBB0_3:
movl 4(%rdi), %edx
cmpl %edx, %ecx
jle LBB0_5
## %bb.4:
cmpl $0, 4(%rsi)
movl $1, %r8d
cmovel %r8d, %eax
cmovel %edx, %ecx
LBB0_5:
movl 8(%rdi), %edx
cmpl %edx, %ecx
jle LBB0_7
## %bb.6:
cmpl $0, 8(%rsi)
movl $2, %r8d
cmovel %r8d, %eax
cmovel %edx, %ecx
LBB0_7:
movl 12(%rdi), %edx
cmpl %edx, %ecx
jle LBB0_9
## %bb.8:
cmpl $0, 12(%rsi)
movl $3, %r8d
cmovel %r8d, %eax
cmovel %edx, %ecx
LBB0_9:
movl 16(%rdi), %edx
cmpl %edx, %ecx
jle LBB0_11
## %bb.10:
cmpl $0, 16(%rsi)
movl $4, %r8d
cmovel %r8d, %eax
cmovel %edx, %ecx
LBB0_11:
movl 20(%rdi), %edx
cmpl %edx, %ecx
jle LBB0_13
## %bb.12:
cmpl $0, 20(%rsi)
movl $5, %r8d
cmovel %r8d, %eax
cmovel %edx, %ecx
LBB0_13:
movl 24(%rdi), %edx
cmpl %edx, %ecx
jle LBB0_15
## %bb.14:
cmpl $0, 24(%rsi)
movl $6, %r8d
cmovel %r8d, %eax
cmovel %edx, %ecx
LBB0_15:
movl 28(%rdi), %edx
cmpl %edx, %ecx
jle LBB0_17
## %bb.16:
cmpl $0, 28(%rsi)
movl $7, %r8d
cmovel %r8d, %eax
cmovel %edx, %ecx
LBB0_17:
movl 32(%rdi), %edx
cmpl %edx, %ecx
jg LBB0_18
## %bb.19:
cmpl 36(%rdi), %ecx
jg LBB0_20
jmp LBB0_23
LBB0_18:
cmpl $0, 32(%rsi)
movl $8, %r8d
cmovel %r8d, %eax
cmovel %edx, %ecx
cmpl 36(%rdi), %ecx
jle LBB0_23
LBB0_20:
cmpl $0, 36(%rsi)
je LBB0_21
LBB0_23:
cmpl $-1, %eax
jne LBB0_22
## %bb.24:
movl $-1, %eax
popq %rbp
retq
LBB0_21:
movl $9, %eax
LBB0_22:
movl %eax, %ecx
movl $1, (%rsi,%rcx,4)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function minSpanTree
LCPI1_0:
.long 2147483647 ## 0x7fffffff
.long 2147483647 ## 0x7fffffff
.long 2147483647 ## 0x7fffffff
.long 2147483647 ## 0x7fffffff
LCPI1_1:
.long 0 ## 0x0
.long 2147483647 ## 0x7fffffff
.long 2147483647 ## 0x7fffffff
.long 2147483647 ## 0x7fffffff
LCPI1_2:
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _minSpanTree
.p2align 4, 0x90
_minSpanTree: ## @minSpanTree
.cfi_startproc
## %bb.0:
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 $136, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movaps LCPI1_0(%rip), %xmm0 ## xmm0 = [2147483647,2147483647,2147483647,2147483647]
movaps %xmm0, -80(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -128(%rbp)
movabsq $9223372034707292159, %rax ## imm = 0x7FFFFFFF7FFFFFFF
movq %rax, -64(%rbp)
movq $0, -112(%rbp)
movaps LCPI1_1(%rip), %xmm0 ## xmm0 = [0,2147483647,2147483647,2147483647]
movaps %xmm0, -96(%rbp)
movaps LCPI1_2(%rip), %xmm0 ## xmm0 = [1,0,0,0]
movaps %xmm0, -144(%rbp)
movl $0, -176(%rbp) ## 4-byte Folded Spill
movl $2147483647, -172(%rbp) ## 4-byte Folded Spill
## imm = 0x7FFFFFFF
movl $10, %r13d
movl $2147483647, -168(%rbp) ## 4-byte Folded Spill
## imm = 0x7FFFFFFF
movl $2147483647, -164(%rbp) ## 4-byte Folded Spill
## imm = 0x7FFFFFFF
movl $2147483647, -160(%rbp) ## 4-byte Folded Spill
## imm = 0x7FFFFFFF
movl $2147483647, -156(%rbp) ## 4-byte Folded Spill
## imm = 0x7FFFFFFF
movl $2147483647, -152(%rbp) ## 4-byte Folded Spill
## imm = 0x7FFFFFFF
movl $2147483647, -148(%rbp) ## 4-byte Folded Spill
## imm = 0x7FFFFFFF
movl $2147483647, %r15d ## imm = 0x7FFFFFFF
movl $2147483647, %r12d ## imm = 0x7FFFFFFF
xorl %eax, %eax
jmp LBB1_1
.p2align 4, 0x90
LBB1_41: ## in Loop: Header=BB1_1 Depth=1
leaq -96(%rbp), %rdi
leaq -144(%rbp), %rsi
callq _minVal
decl %r13d
je LBB1_42
LBB1_1: ## =>This Inner Loop Header: Depth=1
movslq %eax, %rcx
cmpl $0, -144(%rbp)
jne LBB1_5
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq (%rcx,%rcx,4), %rdx
movl (%r14,%rdx,8), %edx
testl %edx, %edx
je LBB1_5
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
cmpl -176(%rbp), %edx ## 4-byte Folded Reload
jge LBB1_5
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
movl %edx, -96(%rbp)
movl %eax, (%rbx)
movl %edx, -176(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -140(%rbp)
jne LBB1_9
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
leaq (%rcx,%rcx,4), %rdx
movl 4(%r14,%rdx,8), %edx
testl %edx, %edx
je LBB1_9
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
cmpl %r12d, %edx
jge LBB1_9
## %bb.8: ## in Loop: Header=BB1_1 Depth=1
movl %edx, -92(%rbp)
movl %eax, 4(%rbx)
movl %edx, %r12d
.p2align 4, 0x90
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -136(%rbp)
jne LBB1_13
## %bb.10: ## in Loop: Header=BB1_1 Depth=1
leaq (%rcx,%rcx,4), %rdx
movl 8(%r14,%rdx,8), %edx
testl %edx, %edx
je LBB1_13
## %bb.11: ## in Loop: Header=BB1_1 Depth=1
cmpl %r15d, %edx
jge LBB1_13
## %bb.12: ## in Loop: Header=BB1_1 Depth=1
movl %edx, -88(%rbp)
movl %eax, 8(%rbx)
movl %edx, %r15d
.p2align 4, 0x90
LBB1_13: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -132(%rbp)
jne LBB1_17
## %bb.14: ## in Loop: Header=BB1_1 Depth=1
leaq (%rcx,%rcx,4), %rdx
movl 12(%r14,%rdx,8), %edx
testl %edx, %edx
je LBB1_17
## %bb.15: ## in Loop: Header=BB1_1 Depth=1
cmpl -148(%rbp), %edx ## 4-byte Folded Reload
jge LBB1_17
## %bb.16: ## in Loop: Header=BB1_1 Depth=1
movl %edx, -84(%rbp)
movl %eax, 12(%rbx)
movl %edx, -148(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB1_17: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -128(%rbp)
jne LBB1_21
## %bb.18: ## in Loop: Header=BB1_1 Depth=1
leaq (%rcx,%rcx,4), %rdx
movl 16(%r14,%rdx,8), %edx
testl %edx, %edx
je LBB1_21
## %bb.19: ## in Loop: Header=BB1_1 Depth=1
cmpl -152(%rbp), %edx ## 4-byte Folded Reload
jge LBB1_21
## %bb.20: ## in Loop: Header=BB1_1 Depth=1
movl %edx, -80(%rbp)
movl %eax, 16(%rbx)
movl %edx, -152(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB1_21: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -124(%rbp)
jne LBB1_25
## %bb.22: ## in Loop: Header=BB1_1 Depth=1
leaq (%rcx,%rcx,4), %rdx
movl 20(%r14,%rdx,8), %edx
testl %edx, %edx
je LBB1_25
## %bb.23: ## in Loop: Header=BB1_1 Depth=1
cmpl -156(%rbp), %edx ## 4-byte Folded Reload
jge LBB1_25
## %bb.24: ## in Loop: Header=BB1_1 Depth=1
movl %edx, -76(%rbp)
movl %eax, 20(%rbx)
movl %edx, -156(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB1_25: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -120(%rbp)
jne LBB1_29
## %bb.26: ## in Loop: Header=BB1_1 Depth=1
leaq (%rcx,%rcx,4), %rdx
movl 24(%r14,%rdx,8), %edx
testl %edx, %edx
je LBB1_29
## %bb.27: ## in Loop: Header=BB1_1 Depth=1
cmpl -160(%rbp), %edx ## 4-byte Folded Reload
jge LBB1_29
## %bb.28: ## in Loop: Header=BB1_1 Depth=1
movl %edx, -72(%rbp)
movl %eax, 24(%rbx)
movl %edx, -160(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB1_29: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -116(%rbp)
jne LBB1_33
## %bb.30: ## in Loop: Header=BB1_1 Depth=1
leaq (%rcx,%rcx,4), %rdx
movl 28(%r14,%rdx,8), %edx
testl %edx, %edx
je LBB1_33
## %bb.31: ## in Loop: Header=BB1_1 Depth=1
cmpl -164(%rbp), %edx ## 4-byte Folded Reload
jge LBB1_33
## %bb.32: ## in Loop: Header=BB1_1 Depth=1
movl %edx, -68(%rbp)
movl %eax, 28(%rbx)
movl %edx, -164(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB1_33: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -112(%rbp)
jne LBB1_37
## %bb.34: ## in Loop: Header=BB1_1 Depth=1
leaq (%rcx,%rcx,4), %rdx
movl 32(%r14,%rdx,8), %edx
testl %edx, %edx
je LBB1_37
## %bb.35: ## in Loop: Header=BB1_1 Depth=1
cmpl -168(%rbp), %edx ## 4-byte Folded Reload
jge LBB1_37
## %bb.36: ## in Loop: Header=BB1_1 Depth=1
movl %edx, -64(%rbp)
movl %eax, 32(%rbx)
movl %edx, -168(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB1_37: ## in Loop: Header=BB1_1 Depth=1
cmpl $0, -108(%rbp)
jne LBB1_41
## %bb.38: ## in Loop: Header=BB1_1 Depth=1
leaq (%rcx,%rcx,4), %rcx
movl 36(%r14,%rcx,8), %ecx
testl %ecx, %ecx
je LBB1_41
## %bb.39: ## in Loop: Header=BB1_1 Depth=1
cmpl -172(%rbp), %ecx ## 4-byte Folded Reload
jge LBB1_41
## %bb.40: ## in Loop: Header=BB1_1 Depth=1
movl %ecx, -60(%rbp)
movl %eax, 36(%rbx)
movl %ecx, -172(%rbp) ## 4-byte Spill
jmp LBB1_41
LBB1_42:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB1_44
## %bb.43:
addq $136, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_44:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _initializeData ## -- Begin function initializeData
.p2align 4, 0x90
_initializeData: ## @initializeData
.cfi_startproc
## %bb.0:
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 %rdi, %rbx
movl $10, %edi
callq _libmin_srand
xorl %r15d, %r15d
movq %rbx, %r12
movq %rbx, -56(%rbp) ## 8-byte Spill
jmp LBB2_1
.p2align 4, 0x90
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
incq %r15
addq $40, %rbx
movq -64(%rbp), %r12 ## 8-byte Reload
addq $4, %r12
cmpq $10, %r15
je LBB2_5
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_2 Depth 2
leaq (%r15,%r15,4), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,8), %rax
leaq (%rax,%r15,4), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %r12, -64(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
movq %rbx, -48(%rbp) ## 8-byte Spill
jmp LBB2_2
.p2align 4, 0x90
LBB2_7: ## in Loop: Header=BB2_2 Depth=2
movq -72(%rbp), %rax ## 8-byte Reload
movl $0, (%rax)
LBB2_12: ## in Loop: Header=BB2_2 Depth=2
incq %r13
addq $40, %r12
cmpq $10, %r13
je LBB2_4
LBB2_2: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %r13, %r15
jbe LBB2_6
## %bb.3: ## in Loop: Header=BB2_2 Depth=2
movl (%r12), %eax
LBB2_11: ## in Loop: Header=BB2_2 Depth=2
movl %eax, (%rbx,%r13,4)
jmp LBB2_12
.p2align 4, 0x90
LBB2_6: ## in Loop: Header=BB2_2 Depth=2
je LBB2_7
## %bb.8: ## in Loop: Header=BB2_2 Depth=2
movl $3435973837, %ebx ## imm = 0xCCCCCCCD
callq _libmin_rand
movl %eax, %r14d
movl %eax, %eax
imulq %rbx, %rax
shrq $34, %rax
leal (%rax,%rax,4), %eax
subl %eax, %r14d
callq _libmin_rand
movl $3435973837, %edx ## imm = 0xCCCCCCCD
movl %eax, %ecx
imulq %rdx, %rcx
shrq $34, %rcx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cmpl %eax, %r14d
jne LBB2_10
## %bb.9: ## in Loop: Header=BB2_2 Depth=2
movq -48(%rbp), %rbx ## 8-byte Reload
movl $0, (%rbx,%r13,4)
jmp LBB2_12
LBB2_10: ## in Loop: Header=BB2_2 Depth=2
callq _libmin_rand
movl $3435973837, %edx ## imm = 0xCCCCCCCD
movl %eax, %ecx
imulq %rdx, %rcx
shrq $35, %rcx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
movq -48(%rbp), %rbx ## 8-byte Reload
jmp LBB2_11
LBB2_5:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _displayGraph ## -- Begin function displayGraph
.p2align 4, 0x90
_displayGraph: ## @displayGraph
.cfi_startproc
## %bb.0:
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
leaq L_.str.11(%rip), %r15
leaq L_.str.12(%rip), %r13
xorl %r14d, %r14d
xorl %r12d, %r12d
jmp LBB3_1
.p2align 4, 0x90
LBB3_33: ## in Loop: Header=BB3_1 Depth=1
movq _vertName+72(%rip), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
LBB3_34: ## in Loop: Header=BB3_1 Depth=1
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
addq $40, %r14
cmpq $440, %r14 ## imm = 0x1B8
je LBB3_35
LBB3_1: ## =>This Inner Loop Header: Depth=1
testq %r14, %r14
je LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movslq %r12d, %r12
leaq _vertName(%rip), %rax
movq (%rax,%r12,8), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
incl %r12d
testq %r14, %r14
je LBB3_5
LBB3_6: ## in Loop: Header=BB3_1 Depth=1
movl -40(%rbx,%r14), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
je LBB3_9
LBB3_8: ## in Loop: Header=BB3_1 Depth=1
movl -36(%rbx,%r14), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
je LBB3_12
LBB3_11: ## in Loop: Header=BB3_1 Depth=1
movl -32(%rbx,%r14), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
je LBB3_15
LBB3_14: ## in Loop: Header=BB3_1 Depth=1
movl -28(%rbx,%r14), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
je LBB3_18
LBB3_17: ## in Loop: Header=BB3_1 Depth=1
movl -24(%rbx,%r14), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
je LBB3_21
LBB3_20: ## in Loop: Header=BB3_1 Depth=1
movl -20(%rbx,%r14), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
je LBB3_24
LBB3_23: ## in Loop: Header=BB3_1 Depth=1
movl -16(%rbx,%r14), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
je LBB3_27
LBB3_26: ## in Loop: Header=BB3_1 Depth=1
movl -12(%rbx,%r14), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
je LBB3_30
LBB3_29: ## in Loop: Header=BB3_1 Depth=1
movl -8(%rbx,%r14), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
jne LBB3_32
jmp LBB3_33
.p2align 4, 0x90
LBB3_3: ## in Loop: Header=BB3_1 Depth=1
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
jne LBB3_6
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movq _vertName(%rip), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
jne LBB3_8
LBB3_9: ## in Loop: Header=BB3_1 Depth=1
movq _vertName+8(%rip), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
jne LBB3_11
LBB3_12: ## in Loop: Header=BB3_1 Depth=1
movq _vertName+16(%rip), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
jne LBB3_14
LBB3_15: ## in Loop: Header=BB3_1 Depth=1
movq _vertName+24(%rip), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
jne LBB3_17
LBB3_18: ## in Loop: Header=BB3_1 Depth=1
movq _vertName+32(%rip), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
jne LBB3_20
LBB3_21: ## in Loop: Header=BB3_1 Depth=1
movq _vertName+40(%rip), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
jne LBB3_23
LBB3_24: ## in Loop: Header=BB3_1 Depth=1
movq _vertName+48(%rip), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
jne LBB3_26
LBB3_27: ## in Loop: Header=BB3_1 Depth=1
movq _vertName+56(%rip), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
jne LBB3_29
LBB3_30: ## in Loop: Header=BB3_1 Depth=1
movq _vertName+64(%rip), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
je LBB3_33
LBB3_32: ## in Loop: Header=BB3_1 Depth=1
movl -4(%rbx,%r14), %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB3_34
LBB3_35:
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _displayGraph1 ## -- Begin function displayGraph1
.p2align 4, 0x90
_displayGraph1: ## @displayGraph1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
addq $-4, %r14
leaq L_.str.15(%rip), %r15
xorl %r13d, %r13d
xorl %r12d, %r12d
jmp LBB4_1
.p2align 4, 0x90
LBB4_33: ## in Loop: Header=BB4_1 Depth=1
movq _vertName+72(%rip), %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB4_34: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
addq $40, %r14
incq %r13
cmpq $11, %r13
je LBB4_35
LBB4_1: ## =>This Inner Loop Header: Depth=1
testq %r13, %r13
je LBB4_3
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movslq %r12d, %r12
leaq _vertName(%rip), %rax
movq (%rax,%r12,8), %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
incl %r12d
testq %r13, %r13
je LBB4_5
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
movl -36(%r14), %esi
movl -4(%rbx,%r13,4), %edx
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
je LBB4_9
LBB4_8: ## in Loop: Header=BB4_1 Depth=1
movl -32(%r14), %esi
movl -4(%rbx,%r13,4), %edx
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
je LBB4_12
LBB4_11: ## in Loop: Header=BB4_1 Depth=1
movl -28(%r14), %esi
movl -4(%rbx,%r13,4), %edx
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
je LBB4_15
LBB4_14: ## in Loop: Header=BB4_1 Depth=1
movl -24(%r14), %esi
movl -4(%rbx,%r13,4), %edx
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
je LBB4_18
LBB4_17: ## in Loop: Header=BB4_1 Depth=1
movl -20(%r14), %esi
movl -4(%rbx,%r13,4), %edx
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
je LBB4_21
LBB4_20: ## in Loop: Header=BB4_1 Depth=1
movl -16(%r14), %esi
movl -4(%rbx,%r13,4), %edx
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
je LBB4_24
LBB4_23: ## in Loop: Header=BB4_1 Depth=1
movl -12(%r14), %esi
movl -4(%rbx,%r13,4), %edx
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
je LBB4_27
LBB4_26: ## in Loop: Header=BB4_1 Depth=1
movl -8(%r14), %esi
movl -4(%rbx,%r13,4), %edx
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
je LBB4_30
LBB4_29: ## in Loop: Header=BB4_1 Depth=1
movl -4(%r14), %esi
movl -4(%rbx,%r13,4), %edx
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
jne LBB4_32
jmp LBB4_33
.p2align 4, 0x90
LBB4_3: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
jne LBB4_6
LBB4_5: ## in Loop: Header=BB4_1 Depth=1
movq _vertName(%rip), %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
jne LBB4_8
LBB4_9: ## in Loop: Header=BB4_1 Depth=1
movq _vertName+8(%rip), %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
jne LBB4_11
LBB4_12: ## in Loop: Header=BB4_1 Depth=1
movq _vertName+16(%rip), %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
jne LBB4_14
LBB4_15: ## in Loop: Header=BB4_1 Depth=1
movq _vertName+24(%rip), %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
jne LBB4_17
LBB4_18: ## in Loop: Header=BB4_1 Depth=1
movq _vertName+32(%rip), %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
jne LBB4_20
LBB4_21: ## in Loop: Header=BB4_1 Depth=1
movq _vertName+40(%rip), %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
jne LBB4_23
LBB4_24: ## in Loop: Header=BB4_1 Depth=1
movq _vertName+48(%rip), %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
jne LBB4_26
LBB4_27: ## in Loop: Header=BB4_1 Depth=1
movq _vertName+56(%rip), %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
jne LBB4_29
LBB4_30: ## in Loop: Header=BB4_1 Depth=1
movq _vertName+64(%rip), %rsi
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testq %r13, %r13
je LBB4_33
LBB4_32: ## in Loop: Header=BB4_1 Depth=1
movl (%r14), %esi
movl -4(%rbx,%r13,4), %edx
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB4_34
LBB4_35:
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _displayPath ## -- Begin function displayPath
.p2align 4, 0x90
_displayPath: ## @displayPath
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movl %edi, %r14d
cmpl $0, _displayPath.count(%rip)
leaq _vertName(%rip), %r15
je LBB5_2
## %bb.1:
movslq %esi, %r12
jmp LBB5_3
LBB5_2:
movslq %r14d, %r13
movq (%r15,%r13,8), %rax
movslq %esi, %r12
movq (%r15,%r12,8), %rdx
leaq L_.str.16(%rip), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _libmin_printf
movq (%r15,%r13,8), %rsi
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
incl _displayPath.count(%rip)
LBB5_3:
movl (%rbx,%r12,4), %esi
cmpl %r14d, %esi
je LBB5_5
## %bb.4:
movl %r14d, %edi
movq %rbx, %rdx
callq _displayPath
LBB5_5:
movq (%r15,%r12,8), %rsi
leaq L_.str.18(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _displayTree ## -- Begin function displayTree
.p2align 4, 0x90
_displayTree: ## @displayTree
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq _vertName+8(%rip), %rsi
leaq _vertName(%rip), %r13
movslq 4(%r14), %rax
movl 40(%rbx,%rax,4), %edx
movq (%r13,%rax,8), %rcx
leaq L_.str.20(%rip), %r12
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 4(%r14), %rax
movl 40(%rbx,%rax,4), %r15d
movq _vertName+16(%rip), %rsi
movslq 8(%r14), %rax
movl 80(%rbx,%rax,4), %edx
movq (%r13,%rax,8), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 8(%r14), %rax
addl 80(%rbx,%rax,4), %r15d
movq _vertName+24(%rip), %rsi
movslq 12(%r14), %rax
movl 120(%rbx,%rax,4), %edx
movq (%r13,%rax,8), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 12(%r14), %rax
addl 120(%rbx,%rax,4), %r15d
movq _vertName+32(%rip), %rsi
movslq 16(%r14), %rax
movl 160(%rbx,%rax,4), %edx
movq (%r13,%rax,8), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 16(%r14), %rax
addl 160(%rbx,%rax,4), %r15d
movq _vertName+40(%rip), %rsi
movslq 20(%r14), %rax
movl 200(%rbx,%rax,4), %edx
movq (%r13,%rax,8), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 20(%r14), %rax
addl 200(%rbx,%rax,4), %r15d
movq _vertName+48(%rip), %rsi
movslq 24(%r14), %rax
movl 240(%rbx,%rax,4), %edx
movq (%r13,%rax,8), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 24(%r14), %rax
addl 240(%rbx,%rax,4), %r15d
movq _vertName+56(%rip), %rsi
movslq 28(%r14), %rax
movl 280(%rbx,%rax,4), %edx
movq (%r13,%rax,8), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 28(%r14), %rax
addl 280(%rbx,%rax,4), %r15d
movq _vertName+64(%rip), %rsi
movslq 32(%r14), %rax
movl 320(%rbx,%rax,4), %edx
movq (%r13,%rax,8), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 32(%r14), %rax
addl 320(%rbx,%rax,4), %r15d
movq _vertName+72(%rip), %rsi
movslq 36(%r14), %rax
movl 360(%rbx,%rax,4), %edx
movq (%r13,%rax,8), %rcx
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movslq 36(%r14), %rax
addl 360(%rbx,%rax,4), %r15d
leaq L_.str.21(%rip), %rdi
movl %r15d, %esi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $488, %rsp ## imm = 0x1E8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
pcmpeqd %xmm0, %xmm0
movdqa %xmm0, -480(%rbp)
movdqa %xmm0, -496(%rbp)
movq $-1, -464(%rbp)
movl $10, %edi
callq _libmin_srand
leaq -448(%rbp), %r12
xorl %r15d, %r15d
movq %r12, %rcx
movl $3435973837, %r13d ## imm = 0xCCCCCCCD
jmp LBB7_1
.p2align 4, 0x90
LBB7_11: ## in Loop: Header=BB7_1 Depth=1
incq %r15
addq $40, %rcx
movq -512(%rbp), %r12 ## 8-byte Reload
addq $4, %r12
cmpq $10, %r15
je LBB7_12
LBB7_1: ## =>This Loop Header: Depth=1
## Child Loop BB7_2 Depth 2
leaq (%r15,%r15,4), %rax
leaq -448(,%rax,8), %rax
addq %rbp, %rax
leaq (%rax,%r15,4), %rax
movq %rax, -520(%rbp) ## 8-byte Spill
movq %r12, -512(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
movq %rcx, -504(%rbp) ## 8-byte Spill
jmp LBB7_2
.p2align 4, 0x90
LBB7_5: ## in Loop: Header=BB7_2 Depth=2
movq -520(%rbp), %rax ## 8-byte Reload
movl $0, (%rax)
LBB7_10: ## in Loop: Header=BB7_2 Depth=2
incq %r14
addq $40, %r12
cmpq $10, %r14
je LBB7_11
LBB7_2: ## Parent Loop BB7_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %r14, %r15
jbe LBB7_4
## %bb.3: ## in Loop: Header=BB7_2 Depth=2
movl (%r12), %eax
LBB7_9: ## in Loop: Header=BB7_2 Depth=2
movl %eax, (%rcx,%r14,4)
jmp LBB7_10
.p2align 4, 0x90
LBB7_4: ## in Loop: Header=BB7_2 Depth=2
je LBB7_5
## %bb.6: ## in Loop: Header=BB7_2 Depth=2
callq _libmin_rand
movl %eax, %ebx
movl %eax, %eax
imulq %r13, %rax
shrq $34, %rax
leal (%rax,%rax,4), %eax
subl %eax, %ebx
callq _libmin_rand
movl $3435973837, %edx ## imm = 0xCCCCCCCD
movl %eax, %ecx
imulq %rdx, %rcx
shrq $34, %rcx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cmpl %eax, %ebx
jne LBB7_8
## %bb.7: ## in Loop: Header=BB7_2 Depth=2
movq -504(%rbp), %rcx ## 8-byte Reload
movl $0, (%rcx,%r14,4)
jmp LBB7_10
LBB7_8: ## in Loop: Header=BB7_2 Depth=2
callq _libmin_rand
movl $3435973837, %edx ## imm = 0xCCCCCCCD
movl %eax, %ecx
imulq %rdx, %rcx
shrq $35, %rcx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
movq -504(%rbp), %rcx ## 8-byte Reload
jmp LBB7_9
LBB7_12:
leaq -448(%rbp), %rbx
movq %rbx, %rdi
callq _displayGraph
leaq -496(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq _minSpanTree
movq %rbx, %rdi
movq %r14, %rsi
callq _displayTree
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB7_14
## %bb.13:
xorl %eax, %eax
addq $488, %rsp ## imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB7_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl _V ## @V
.p2align 2, 0x0
_V:
.long 10 ## 0xa
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Home"
L_.str.1: ## @.str.1
.asciz "z-mall"
L_.str.2: ## @.str.2
.asciz "st.pet"
L_.str.3: ## @.str.3
.asciz "office"
L_.str.4: ## @.str.4
.asciz "school"
L_.str.5: ## @.str.5
.asciz "motel"
L_.str.6: ## @.str.6
.asciz "restr."
L_.str.7: ## @.str.7
.asciz "library"
L_.str.8: ## @.str.8
.asciz "airport"
L_.str.9: ## @.str.9
.asciz "barber"
.section __DATA,__data
.globl _vertName ## @vertName
.p2align 4, 0x0
_vertName:
.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 L_.str.8
.quad L_.str.9
.section __TEXT,__cstring,cstring_literals
L_.str.10: ## @.str.10
.asciz " "
L_.str.11: ## @.str.11
.asciz "%8s"
L_.str.12: ## @.str.12
.asciz "%8d"
L_.str.13: ## @.str.13
.asciz "\n"
L_.str.14: ## @.str.14
.asciz "\n\n"
L_.str.15: ## @.str.15
.asciz "%8d / %d"
.zerofill __DATA,__bss,_displayPath.count,4,2 ## @displayPath.count
L_.str.16: ## @.str.16
.asciz "\nSource: %s\tDestination: %s\n\n"
L_.str.17: ## @.str.17
.asciz "Path: %s"
L_.str.18: ## @.str.18
.asciz "-> %s"
L_.str.19: ## @.str.19
.asciz "minimum spanning tree:\n"
L_.str.20: ## @.str.20
.asciz " %8s <-%d-> %8s\n"
L_.str.21: ## @.str.21
.asciz "total cost = %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _minVal ; -- Begin function minVal
.p2align 2
_minVal: ; @minVal
.cfi_startproc
; %bb.0:
mov x8, x0
ldr w10, [x0]
mov w9, #2147483647 ; =0x7fffffff
cmp w10, w9
b.ne LBB0_2
; %bb.1:
mov w0, #-1 ; =0xffffffff
b LBB0_3
LBB0_2:
ldr w11, [x1]
cmp w11, #0
csel w9, w9, w10, ne
csetm w0, ne
LBB0_3:
ldr w10, [x8, #4]
cmp w9, w10
b.le LBB0_5
; %bb.4:
ldr w11, [x1, #4]
cmp w11, #0
csel w9, w10, w9, eq
csinc w0, w0, wzr, ne
LBB0_5:
ldr w10, [x8, #8]
cmp w9, w10
b.le LBB0_7
; %bb.6:
ldr w11, [x1, #8]
mov w12, #2 ; =0x2
cmp w11, #0
csel w0, w12, w0, eq
csel w9, w10, w9, eq
LBB0_7:
ldr w10, [x8, #12]
cmp w9, w10
b.le LBB0_9
; %bb.8:
ldr w11, [x1, #12]
mov w12, #3 ; =0x3
cmp w11, #0
csel w0, w12, w0, eq
csel w9, w10, w9, eq
LBB0_9:
ldr w10, [x8, #16]
cmp w9, w10
b.le LBB0_11
; %bb.10:
ldr w11, [x1, #16]
mov w12, #4 ; =0x4
cmp w11, #0
csel w0, w12, w0, eq
csel w9, w10, w9, eq
LBB0_11:
ldr w10, [x8, #20]
cmp w9, w10
b.le LBB0_13
; %bb.12:
ldr w11, [x1, #20]
mov w12, #5 ; =0x5
cmp w11, #0
csel w0, w12, w0, eq
csel w9, w10, w9, eq
LBB0_13:
ldr w10, [x8, #24]
cmp w9, w10
b.le LBB0_15
; %bb.14:
ldr w11, [x1, #24]
mov w12, #6 ; =0x6
cmp w11, #0
csel w0, w12, w0, eq
csel w9, w10, w9, eq
LBB0_15:
ldr w10, [x8, #28]
cmp w9, w10
b.le LBB0_17
; %bb.16:
ldr w11, [x1, #28]
mov w12, #7 ; =0x7
cmp w11, #0
csel w0, w12, w0, eq
csel w9, w10, w9, eq
LBB0_17:
ldr w10, [x8, #32]
cmp w9, w10
b.le LBB0_19
; %bb.18:
ldr w11, [x1, #32]
mov w12, #8 ; =0x8
cmp w11, #0
csel w0, w12, w0, eq
csel w9, w10, w9, eq
LBB0_19:
ldr w8, [x8, #36]
cmp w9, w8
b.le LBB0_21
; %bb.20:
ldr w8, [x1, #36]
cbz w8, LBB0_23
LBB0_21:
cmn w0, #1
b.ne LBB0_24
; %bb.22:
ret
LBB0_23:
mov w0, #9 ; =0x9
LBB0_24:
mov w8, #1 ; =0x1
str w8, [x1, w0, uxtw #2]
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function minSpanTree
lCPI1_0:
.long 0 ; 0x0
.long 2147483647 ; 0x7fffffff
.long 2147483647 ; 0x7fffffff
.long 2147483647 ; 0x7fffffff
lCPI1_1:
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _minSpanTree
.p2align 2
_minSpanTree: ; @minSpanTree
.cfi_startproc
; %bb.0:
sub sp, sp, #208
stp x28, x27, [sp, #112] ; 16-byte Folded Spill
stp x26, x25, [sp, #128] ; 16-byte Folded Spill
stp x24, x23, [sp, #144] ; 16-byte Folded Spill
stp x22, x21, [sp, #160] ; 16-byte Folded Spill
stp x20, x19, [sp, #176] ; 16-byte Folded Spill
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
mov w21, #0 ; =0x0
mov w0, #0 ; =0x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
stp xzr, xzr, [sp, #32]
mvni.4s v0, #128, lsl #24
mvni.2s v1, #128, lsl #24
str d1, [sp, #96]
str xzr, [sp, #48]
Lloh3:
adrp x8, lCPI1_0@PAGE
Lloh4:
ldr q1, [x8, lCPI1_0@PAGEOFF]
mov w8, #2147483647 ; =0x7fffffff
stp w8, w8, [sp, #8] ; 8-byte Folded Spill
mov w22, #10 ; =0xa
mov w23, #40 ; =0x28
stp w8, w8, [sp] ; 8-byte Folded Spill
mov w28, #2147483647 ; =0x7fffffff
stp q1, q0, [sp, #64]
mov w24, #2147483647 ; =0x7fffffff
Lloh5:
adrp x8, lCPI1_1@PAGE
Lloh6:
ldr q0, [x8, lCPI1_1@PAGEOFF]
mov w25, #2147483647 ; =0x7fffffff
mov w26, #2147483647 ; =0x7fffffff
mov w27, #2147483647 ; =0x7fffffff
str q0, [sp, #16]
b LBB1_2
LBB1_1: ; in Loop: Header=BB1_2 Depth=1
add x0, sp, #64
add x1, sp, #16
bl _minVal
; kill: def $w0 killed $w0 def $x0
subs w22, w22, #1
b.eq LBB1_36
LBB1_2: ; =>This Inner Loop Header: Depth=1
sxtw x8, w0
ldr w9, [sp, #16]
cbnz w9, LBB1_5
; %bb.3: ; in Loop: Header=BB1_2 Depth=1
smull x9, w8, w23
ldr w9, [x20, x9]
cmp w9, #0
ccmp w9, w21, #0, ne
b.ge LBB1_5
; %bb.4: ; in Loop: Header=BB1_2 Depth=1
str w9, [sp, #64]
str w0, [x19]
mov x21, x9
LBB1_5: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [sp, #20]
cbnz w9, LBB1_8
; %bb.6: ; in Loop: Header=BB1_2 Depth=1
smaddl x9, w8, w23, x20
ldr w9, [x9, #4]
cmp w9, #0
ccmp w9, w27, #0, ne
b.ge LBB1_8
; %bb.7: ; in Loop: Header=BB1_2 Depth=1
str w9, [sp, #68]
str w0, [x19, #4]
mov x27, x9
LBB1_8: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [sp, #24]
cbnz w9, LBB1_11
; %bb.9: ; in Loop: Header=BB1_2 Depth=1
smaddl x9, w8, w23, x20
ldr w9, [x9, #8]
cmp w9, #0
ccmp w9, w26, #0, ne
b.ge LBB1_11
; %bb.10: ; in Loop: Header=BB1_2 Depth=1
str w9, [sp, #72]
str w0, [x19, #8]
mov x26, x9
LBB1_11: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [sp, #28]
cbnz w9, LBB1_14
; %bb.12: ; in Loop: Header=BB1_2 Depth=1
smaddl x9, w8, w23, x20
ldr w9, [x9, #12]
cmp w9, #0
ccmp w9, w25, #0, ne
b.ge LBB1_14
; %bb.13: ; in Loop: Header=BB1_2 Depth=1
str w9, [sp, #76]
str w0, [x19, #12]
mov x25, x9
LBB1_14: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [sp, #32]
cbnz w9, LBB1_17
; %bb.15: ; in Loop: Header=BB1_2 Depth=1
smaddl x9, w8, w23, x20
ldr w9, [x9, #16]
cmp w9, #0
ccmp w9, w24, #0, ne
b.ge LBB1_17
; %bb.16: ; in Loop: Header=BB1_2 Depth=1
str w9, [sp, #80]
str w0, [x19, #16]
mov x24, x9
LBB1_17: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [sp, #36]
cbnz w9, LBB1_20
; %bb.18: ; in Loop: Header=BB1_2 Depth=1
smaddl x9, w8, w23, x20
ldr w9, [x9, #20]
cmp w9, #0
ccmp w9, w28, #0, ne
b.ge LBB1_20
; %bb.19: ; in Loop: Header=BB1_2 Depth=1
str w9, [sp, #84]
str w0, [x19, #20]
mov x28, x9
LBB1_20: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [sp, #40]
cbnz w9, LBB1_24
; %bb.21: ; in Loop: Header=BB1_2 Depth=1
smaddl x9, w8, w23, x20
ldr w9, [x9, #24]
cbz w9, LBB1_24
; %bb.22: ; in Loop: Header=BB1_2 Depth=1
ldr w10, [sp] ; 4-byte Folded Reload
cmp w9, w10
b.ge LBB1_24
; %bb.23: ; in Loop: Header=BB1_2 Depth=1
str w9, [sp, #88]
str w0, [x19, #24]
str w9, [sp] ; 4-byte Folded Spill
LBB1_24: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [sp, #44]
cbnz w9, LBB1_28
; %bb.25: ; in Loop: Header=BB1_2 Depth=1
smaddl x9, w8, w23, x20
ldr w9, [x9, #28]
cbz w9, LBB1_28
; %bb.26: ; in Loop: Header=BB1_2 Depth=1
ldr w10, [sp, #4] ; 4-byte Folded Reload
cmp w9, w10
b.ge LBB1_28
; %bb.27: ; in Loop: Header=BB1_2 Depth=1
str w9, [sp, #92]
str w0, [x19, #28]
str w9, [sp, #4] ; 4-byte Folded Spill
LBB1_28: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [sp, #48]
cbnz w9, LBB1_32
; %bb.29: ; in Loop: Header=BB1_2 Depth=1
smaddl x9, w8, w23, x20
ldr w9, [x9, #32]
cbz w9, LBB1_32
; %bb.30: ; in Loop: Header=BB1_2 Depth=1
ldr w10, [sp, #8] ; 4-byte Folded Reload
cmp w9, w10
b.ge LBB1_32
; %bb.31: ; in Loop: Header=BB1_2 Depth=1
str w9, [sp, #96]
str w0, [x19, #32]
str w9, [sp, #8] ; 4-byte Folded Spill
LBB1_32: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [sp, #52]
cbnz w9, LBB1_1
; %bb.33: ; in Loop: Header=BB1_2 Depth=1
smaddl x8, w8, w23, x20
ldr w8, [x8, #36]
cbz w8, LBB1_1
; %bb.34: ; in Loop: Header=BB1_2 Depth=1
ldr w9, [sp, #12] ; 4-byte Folded Reload
cmp w8, w9
b.ge LBB1_1
; %bb.35: ; in Loop: Header=BB1_2 Depth=1
str w8, [sp, #100]
str w0, [x19, #36]
str w8, [sp, #12] ; 4-byte Folded Spill
b LBB1_1
LBB1_36:
ldur x8, [x29, #-88]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_38
; %bb.37:
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
ldp x20, x19, [sp, #176] ; 16-byte Folded Reload
ldp x22, x21, [sp, #160] ; 16-byte Folded Reload
ldp x24, x23, [sp, #144] ; 16-byte Folded Reload
ldp x26, x25, [sp, #128] ; 16-byte Folded Reload
ldp x28, x27, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #208
ret
LBB1_38:
bl ___stack_chk_fail
.loh AdrpLdr Lloh5, Lloh6
.loh AdrpLdr Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _initializeData ; -- Begin function initializeData
.p2align 2
_initializeData: ; @initializeData
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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
mov w20, #10 ; =0xa
mov w0, #10 ; =0xa
bl _libmin_srand
mov x21, #0 ; =0x0
mov w23, #52429 ; =0xcccd
movk w23, #52428, lsl #16
mov x24, x19
mov x25, x19
b LBB2_2
LBB2_1: ; in Loop: Header=BB2_2 Depth=1
add x21, x21, #1
add x25, x25, #40
add x24, x24, #4
cmp x21, #10
b.eq LBB2_12
LBB2_2: ; =>This Loop Header: Depth=1
; Child Loop BB2_5 Depth 2
mov x26, #0 ; =0x0
mov w8, #40 ; =0x28
madd x8, x21, x8, x19
add x27, x8, x21, lsl #2
mov x28, x24
b LBB2_5
LBB2_3: ; in Loop: Header=BB2_5 Depth=2
str wzr, [x27]
LBB2_4: ; in Loop: Header=BB2_5 Depth=2
add x26, x26, #1
add x28, x28, #40
cmp x26, #10
b.eq LBB2_1
LBB2_5: ; Parent Loop BB2_2 Depth=1
; => This Inner Loop Header: Depth=2
cmp x21, x26
b.ls LBB2_8
; %bb.6: ; in Loop: Header=BB2_5 Depth=2
ldr w8, [x28]
LBB2_7: ; in Loop: Header=BB2_5 Depth=2
str w8, [x25, x26, lsl #2]
b LBB2_4
LBB2_8: ; in Loop: Header=BB2_5 Depth=2
b.eq LBB2_3
; %bb.9: ; in Loop: Header=BB2_5 Depth=2
bl _libmin_rand
umull x8, w0, w23
lsr x8, x8, #34
add w8, w8, w8, lsl #2
sub w22, w0, w8
bl _libmin_rand
umull x8, w0, w23
lsr x8, x8, #34
add w8, w8, w8, lsl #2
sub w8, w0, w8
cmp w22, w8
b.ne LBB2_11
; %bb.10: ; in Loop: Header=BB2_5 Depth=2
str wzr, [x25, x26, lsl #2]
b LBB2_4
LBB2_11: ; in Loop: Header=BB2_5 Depth=2
bl _libmin_rand
umull x8, w0, w23
lsr x8, x8, #35
msub w8, w8, w20, w0
b LBB2_7
LBB2_12:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _displayGraph ; -- Begin function displayGraph
.p2align 2
_displayGraph: ; @displayGraph
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x23, #0 ; =0x0
mov w24, #0 ; =0x0
sub x25, x0, #20
Lloh10:
adrp x20, l_.str.11@PAGE
Lloh11:
add x20, x20, l_.str.11@PAGEOFF
adrp x26, _vertName@PAGE+56
adrp x19, _vertName@PAGE+64
adrp x27, _vertName@PAGE+72
Lloh12:
adrp x21, l_.str.13@PAGE
Lloh13:
add x21, x21, l_.str.13@PAGEOFF
Lloh14:
adrp x22, l_.str.12@PAGE
Lloh15:
add x22, x22, l_.str.12@PAGEOFF
Lloh16:
adrp x28, _vertName@PAGE
Lloh17:
add x28, x28, _vertName@PAGEOFF
b LBB3_3
LBB3_1: ; in Loop: Header=BB3_3 Depth=1
ldr x8, [x27, _vertName@PAGEOFF+72]
str x8, [sp]
mov x0, x20
LBB3_2: ; in Loop: Header=BB3_3 Depth=1
bl _libmin_printf
mov x0, x21
bl _libmin_printf
add x23, x23, #40
cmp x23, #440
b.eq LBB3_25
LBB3_3: ; =>This Inner Loop Header: Depth=1
cbz x23, LBB3_14
; %bb.4: ; in Loop: Header=BB3_3 Depth=1
ldr x8, [x28, w24, sxtw #3]
str x8, [sp]
mov x0, x20
bl _libmin_printf
add w24, w24, #1
cbz x23, LBB3_15
LBB3_5: ; in Loop: Header=BB3_3 Depth=1
add x8, x25, x23
ldur w8, [x8, #-20]
str x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB3_16
LBB3_6: ; in Loop: Header=BB3_3 Depth=1
add x8, x25, x23
ldur w8, [x8, #-16]
str x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB3_17
LBB3_7: ; in Loop: Header=BB3_3 Depth=1
add x8, x25, x23
ldur w8, [x8, #-12]
str x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB3_18
LBB3_8: ; in Loop: Header=BB3_3 Depth=1
add x8, x25, x23
ldur w8, [x8, #-8]
str x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB3_19
LBB3_9: ; in Loop: Header=BB3_3 Depth=1
add x8, x25, x23
ldur w8, [x8, #-4]
str x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB3_20
LBB3_10: ; in Loop: Header=BB3_3 Depth=1
ldr w8, [x25, x23]
str x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB3_21
LBB3_11: ; in Loop: Header=BB3_3 Depth=1
add x8, x25, x23
ldr w8, [x8, #4]
str x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB3_22
LBB3_12: ; in Loop: Header=BB3_3 Depth=1
add x8, x25, x23
ldr w8, [x8, #8]
str x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB3_23
LBB3_13: ; in Loop: Header=BB3_3 Depth=1
add x8, x25, x23
ldr w8, [x8, #12]
str x8, [sp]
mov x0, x22
bl _libmin_printf
cbnz x23, LBB3_24
b LBB3_1
LBB3_14: ; in Loop: Header=BB3_3 Depth=1
Lloh18:
adrp x0, l_.str.10@PAGE
Lloh19:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
cbnz x23, LBB3_5
LBB3_15: ; in Loop: Header=BB3_3 Depth=1
Lloh20:
adrp x8, _vertName@PAGE
Lloh21:
ldr x8, [x8, _vertName@PAGEOFF]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB3_6
LBB3_16: ; in Loop: Header=BB3_3 Depth=1
Lloh22:
adrp x8, _vertName@PAGE+8
Lloh23:
ldr x8, [x8, _vertName@PAGEOFF+8]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB3_7
LBB3_17: ; in Loop: Header=BB3_3 Depth=1
Lloh24:
adrp x8, _vertName@PAGE+16
Lloh25:
ldr x8, [x8, _vertName@PAGEOFF+16]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB3_8
LBB3_18: ; in Loop: Header=BB3_3 Depth=1
Lloh26:
adrp x8, _vertName@PAGE+24
Lloh27:
ldr x8, [x8, _vertName@PAGEOFF+24]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB3_9
LBB3_19: ; in Loop: Header=BB3_3 Depth=1
Lloh28:
adrp x8, _vertName@PAGE+32
Lloh29:
ldr x8, [x8, _vertName@PAGEOFF+32]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB3_10
LBB3_20: ; in Loop: Header=BB3_3 Depth=1
Lloh30:
adrp x8, _vertName@PAGE+40
Lloh31:
ldr x8, [x8, _vertName@PAGEOFF+40]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB3_11
LBB3_21: ; in Loop: Header=BB3_3 Depth=1
Lloh32:
adrp x8, _vertName@PAGE+48
Lloh33:
ldr x8, [x8, _vertName@PAGEOFF+48]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB3_12
LBB3_22: ; in Loop: Header=BB3_3 Depth=1
ldr x8, [x26, _vertName@PAGEOFF+56]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB3_13
LBB3_23: ; in Loop: Header=BB3_3 Depth=1
ldr x8, [x19, _vertName@PAGEOFF+64]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbz x23, LBB3_1
LBB3_24: ; in Loop: Header=BB3_3 Depth=1
add x8, x25, x23
ldr w8, [x8, #16]
str x8, [sp]
mov x0, x22
b LBB3_2
LBB3_25:
Lloh34:
adrp x0, l_.str.14@PAGE
Lloh35:
add x0, x0, l_.str.14@PAGEOFF
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
b _libmin_printf
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdr Lloh20, Lloh21
.loh AdrpLdr Lloh22, Lloh23
.loh AdrpLdr Lloh24, Lloh25
.loh AdrpLdr Lloh26, Lloh27
.loh AdrpLdr Lloh28, Lloh29
.loh AdrpLdr Lloh30, Lloh31
.loh AdrpLdr Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.globl _displayGraph1 ; -- Begin function displayGraph1
.p2align 2
_displayGraph1: ; @displayGraph1
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x23, #0 ; =0x0
mov w24, #0 ; =0x0
sub x25, x1, #4
sub x26, x0, #20
Lloh36:
adrp x20, l_.str.11@PAGE
Lloh37:
add x20, x20, l_.str.11@PAGEOFF
adrp x27, _vertName@PAGE+64
adrp x28, _vertName@PAGE+72
Lloh38:
adrp x21, l_.str.13@PAGE
Lloh39:
add x21, x21, l_.str.13@PAGEOFF
Lloh40:
adrp x22, l_.str.15@PAGE
Lloh41:
add x22, x22, l_.str.15@PAGEOFF
Lloh42:
adrp x19, _vertName@PAGE
Lloh43:
add x19, x19, _vertName@PAGEOFF
b LBB4_3
LBB4_1: ; in Loop: Header=BB4_3 Depth=1
ldr x8, [x28, _vertName@PAGEOFF+72]
str x8, [sp]
mov x0, x20
LBB4_2: ; in Loop: Header=BB4_3 Depth=1
bl _libmin_printf
mov x0, x21
bl _libmin_printf
add x23, x23, #4
add x26, x26, #40
cmp x23, #44
b.eq LBB4_25
LBB4_3: ; =>This Inner Loop Header: Depth=1
cbz x23, LBB4_14
; %bb.4: ; in Loop: Header=BB4_3 Depth=1
ldr x8, [x19, w24, sxtw #3]
str x8, [sp]
mov x0, x20
bl _libmin_printf
add w24, w24, #1
cbz x23, LBB4_15
LBB4_5: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [x25, x23]
ldur w9, [x26, #-20]
stp x9, x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB4_16
LBB4_6: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [x25, x23]
ldur w9, [x26, #-16]
stp x9, x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB4_17
LBB4_7: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [x25, x23]
ldur w9, [x26, #-12]
stp x9, x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB4_18
LBB4_8: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [x25, x23]
ldur w9, [x26, #-8]
stp x9, x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB4_19
LBB4_9: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [x25, x23]
ldur w9, [x26, #-4]
stp x9, x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB4_20
LBB4_10: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [x25, x23]
ldr w9, [x26]
stp x9, x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB4_21
LBB4_11: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [x25, x23]
ldr w9, [x26, #4]
stp x9, x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB4_22
LBB4_12: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [x25, x23]
ldr w9, [x26, #8]
stp x9, x8, [sp]
mov x0, x22
bl _libmin_printf
cbz x23, LBB4_23
LBB4_13: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [x25, x23]
ldr w9, [x26, #12]
stp x9, x8, [sp]
mov x0, x22
bl _libmin_printf
cbnz x23, LBB4_24
b LBB4_1
LBB4_14: ; in Loop: Header=BB4_3 Depth=1
Lloh44:
adrp x0, l_.str.10@PAGE
Lloh45:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
cbnz x23, LBB4_5
LBB4_15: ; in Loop: Header=BB4_3 Depth=1
Lloh46:
adrp x8, _vertName@PAGE
Lloh47:
ldr x8, [x8, _vertName@PAGEOFF]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB4_6
LBB4_16: ; in Loop: Header=BB4_3 Depth=1
Lloh48:
adrp x8, _vertName@PAGE+8
Lloh49:
ldr x8, [x8, _vertName@PAGEOFF+8]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB4_7
LBB4_17: ; in Loop: Header=BB4_3 Depth=1
Lloh50:
adrp x8, _vertName@PAGE+16
Lloh51:
ldr x8, [x8, _vertName@PAGEOFF+16]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB4_8
LBB4_18: ; in Loop: Header=BB4_3 Depth=1
Lloh52:
adrp x8, _vertName@PAGE+24
Lloh53:
ldr x8, [x8, _vertName@PAGEOFF+24]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB4_9
LBB4_19: ; in Loop: Header=BB4_3 Depth=1
Lloh54:
adrp x8, _vertName@PAGE+32
Lloh55:
ldr x8, [x8, _vertName@PAGEOFF+32]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB4_10
LBB4_20: ; in Loop: Header=BB4_3 Depth=1
Lloh56:
adrp x8, _vertName@PAGE+40
Lloh57:
ldr x8, [x8, _vertName@PAGEOFF+40]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB4_11
LBB4_21: ; in Loop: Header=BB4_3 Depth=1
Lloh58:
adrp x8, _vertName@PAGE+48
Lloh59:
ldr x8, [x8, _vertName@PAGEOFF+48]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB4_12
LBB4_22: ; in Loop: Header=BB4_3 Depth=1
Lloh60:
adrp x8, _vertName@PAGE+56
Lloh61:
ldr x8, [x8, _vertName@PAGEOFF+56]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbnz x23, LBB4_13
LBB4_23: ; in Loop: Header=BB4_3 Depth=1
ldr x8, [x27, _vertName@PAGEOFF+64]
str x8, [sp]
mov x0, x20
bl _libmin_printf
cbz x23, LBB4_1
LBB4_24: ; in Loop: Header=BB4_3 Depth=1
ldr w8, [x25, x23]
ldr w9, [x26, #16]
stp x9, x8, [sp]
mov x0, x22
b LBB4_2
LBB4_25:
Lloh62:
adrp x0, l_.str.14@PAGE
Lloh63:
add x0, x0, l_.str.14@PAGEOFF
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
b _libmin_printf
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpLdr Lloh46, Lloh47
.loh AdrpLdr Lloh48, Lloh49
.loh AdrpLdr Lloh50, Lloh51
.loh AdrpLdr Lloh52, Lloh53
.loh AdrpLdr Lloh54, Lloh55
.loh AdrpLdr Lloh56, Lloh57
.loh AdrpLdr Lloh58, Lloh59
.loh AdrpLdr Lloh60, Lloh61
.loh AdrpAdd Lloh62, Lloh63
.cfi_endproc
; -- End function
.globl _displayPath ; -- Begin function displayPath
.p2align 2
_displayPath: ; @displayPath
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
; kill: def $w1 killed $w1 def $x1
mov x20, x0
adrp x23, _displayPath.count@PAGE
ldr w8, [x23, _displayPath.count@PAGEOFF]
Lloh64:
adrp x21, _vertName@PAGE
Lloh65:
add x21, x21, _vertName@PAGEOFF
cbz w8, LBB5_2
; %bb.1:
sxtw x22, w1
b LBB5_3
LBB5_2:
sbfiz x24, x20, #3, #32
ldr x8, [x21, x24]
mov x9, x1
sxtw x22, w9
ldr x9, [x21, w1, sxtw #3]
stp x8, x9, [sp]
Lloh66:
adrp x0, l_.str.16@PAGE
Lloh67:
add x0, x0, l_.str.16@PAGEOFF
bl _libmin_printf
ldr x8, [x21, x24]
str x8, [sp]
Lloh68:
adrp x0, l_.str.17@PAGE
Lloh69:
add x0, x0, l_.str.17@PAGEOFF
bl _libmin_printf
ldr w8, [x23, _displayPath.count@PAGEOFF]
add w8, w8, #1
str w8, [x23, _displayPath.count@PAGEOFF]
LBB5_3:
ldr w1, [x19, x22, lsl #2]
cmp w1, w20
b.eq LBB5_5
; %bb.4:
mov x0, x20
mov x2, x19
bl _displayPath
LBB5_5:
ldr x8, [x21, x22, lsl #3]
str x8, [sp]
Lloh70:
adrp x0, l_.str.18@PAGE
Lloh71:
add x0, x0, l_.str.18@PAGEOFF
bl _libmin_printf
Lloh72:
adrp x0, l_.str.13@PAGE
Lloh73:
add x0, x0, l_.str.13@PAGEOFF
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _libmin_printf
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh70, Lloh71
.cfi_endproc
; -- End function
.globl _displayTree ; -- Begin function displayTree
.p2align 2
_displayTree: ; @displayTree
.cfi_startproc
; %bb.0:
sub sp, sp, #112
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
mov x19, x1
mov x20, x0
Lloh74:
adrp x0, l_.str.19@PAGE
Lloh75:
add x0, x0, l_.str.19@PAGEOFF
bl _libmin_printf
Lloh76:
adrp x22, _vertName@PAGE
Lloh77:
add x22, x22, _vertName@PAGEOFF
ldr x8, [x22, #8]
ldrsw x9, [x19, #4]
add x23, x20, #40
ldr x10, [x22, x9, lsl #3]
ldr w9, [x23, x9, lsl #2]
stp x9, x10, [sp, #8]
str x8, [sp]
Lloh78:
adrp x21, l_.str.20@PAGE
Lloh79:
add x21, x21, l_.str.20@PAGEOFF
mov x0, x21
bl _libmin_printf
ldpsw x8, x9, [x19, #4]
ldr w23, [x23, x8, lsl #2]
ldr x8, [x22, #16]
add x24, x20, #80
ldr x10, [x22, x9, lsl #3]
ldr w9, [x24, x9, lsl #2]
stp x9, x10, [sp, #8]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldpsw x8, x9, [x19, #8]
ldr w8, [x24, x8, lsl #2]
add w23, w8, w23
ldr x8, [x22, #24]
add x24, x20, #120
ldr x10, [x22, x9, lsl #3]
ldr w9, [x24, x9, lsl #2]
stp x9, x10, [sp, #8]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldpsw x8, x9, [x19, #12]
ldr w24, [x24, x8, lsl #2]
ldr x8, [x22, #32]
add x25, x20, #160
ldr x10, [x22, x9, lsl #3]
ldr w9, [x25, x9, lsl #2]
stp x9, x10, [sp, #8]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldpsw x8, x9, [x19, #16]
ldr w8, [x25, x8, lsl #2]
add w8, w8, w24
add w23, w8, w23
ldr x8, [x22, #40]
add x24, x20, #200
ldr x10, [x22, x9, lsl #3]
ldr w9, [x24, x9, lsl #2]
stp x9, x10, [sp, #8]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldpsw x8, x9, [x19, #20]
ldr w24, [x24, x8, lsl #2]
ldr x8, [x22, #48]
add x25, x20, #240
ldr x10, [x22, x9, lsl #3]
ldr w9, [x25, x9, lsl #2]
stp x9, x10, [sp, #8]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldpsw x8, x9, [x19, #24]
ldr w8, [x25, x8, lsl #2]
add w24, w8, w24
ldr x8, [x22, #56]
add x25, x20, #280
ldr x10, [x22, x9, lsl #3]
ldr w9, [x25, x9, lsl #2]
stp x9, x10, [sp, #8]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldpsw x8, x9, [x19, #28]
ldr w8, [x25, x8, lsl #2]
add w8, w8, w24
add w23, w8, w23
ldr x8, [x22, #64]
add x24, x20, #320
ldr x10, [x22, x9, lsl #3]
ldr w9, [x24, x9, lsl #2]
stp x9, x10, [sp, #8]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldpsw x8, x9, [x19, #32]
ldr w24, [x24, x8, lsl #2]
ldr x8, [x22, #72]
add x20, x20, #360
ldr x10, [x22, x9, lsl #3]
ldr w9, [x20, x9, lsl #2]
stp x9, x10, [sp, #8]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldrsw x8, [x19, #36]
ldr w8, [x20, x8, lsl #2]
add w8, w8, w24
add w8, w8, w23
str x8, [sp]
Lloh80:
adrp x0, l_.str.21@PAGE
Lloh81:
add x0, x0, l_.str.21@PAGEOFF
bl _libmin_printf
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
add sp, sp, #112
ret
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh74, Lloh75
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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
sub sp, sp, #464
.cfi_def_cfa w29, 16
.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
Lloh82:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh83:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh84:
ldr x8, [x8]
stur x8, [x29, #-96]
mov x8, #-1 ; =0xffffffffffffffff
str x8, [sp, #32]
movi.2d v0, #0xffffffffffffffff
stp q0, q0, [sp]
mov w19, #10 ; =0xa
mov w0, #10 ; =0xa
bl _libmin_srand
mov x20, #0 ; =0x0
mov w22, #40 ; =0x28
mov w23, #52429 ; =0xcccd
movk w23, #52428, lsl #16
add x24, sp, #48
add x25, sp, #48
b LBB7_2
LBB7_1: ; in Loop: Header=BB7_2 Depth=1
add x20, x20, #1
add x25, x25, #40
add x24, x24, #4
cmp x20, #10
b.eq LBB7_12
LBB7_2: ; =>This Loop Header: Depth=1
; Child Loop BB7_5 Depth 2
mov x26, #0 ; =0x0
add x8, sp, #48
madd x8, x20, x22, x8
add x27, x8, x20, lsl #2
mov x28, x24
b LBB7_5
LBB7_3: ; in Loop: Header=BB7_5 Depth=2
str wzr, [x27]
LBB7_4: ; in Loop: Header=BB7_5 Depth=2
add x26, x26, #1
add x28, x28, #40
cmp x26, #10
b.eq LBB7_1
LBB7_5: ; Parent Loop BB7_2 Depth=1
; => This Inner Loop Header: Depth=2
cmp x20, x26
b.ls LBB7_8
; %bb.6: ; in Loop: Header=BB7_5 Depth=2
ldr w8, [x28]
LBB7_7: ; in Loop: Header=BB7_5 Depth=2
str w8, [x25, x26, lsl #2]
b LBB7_4
LBB7_8: ; in Loop: Header=BB7_5 Depth=2
b.eq LBB7_3
; %bb.9: ; in Loop: Header=BB7_5 Depth=2
bl _libmin_rand
umull x8, w0, w23
lsr x8, x8, #34
add w8, w8, w8, lsl #2
sub w21, w0, w8
bl _libmin_rand
umull x8, w0, w23
lsr x8, x8, #34
add w8, w8, w8, lsl #2
sub w8, w0, w8
cmp w21, w8
b.ne LBB7_11
; %bb.10: ; in Loop: Header=BB7_5 Depth=2
str wzr, [x25, x26, lsl #2]
b LBB7_4
LBB7_11: ; in Loop: Header=BB7_5 Depth=2
bl _libmin_rand
umull x8, w0, w23
lsr x8, x8, #35
msub w8, w8, w19, w0
b LBB7_7
LBB7_12:
add x0, sp, #48
bl _displayGraph
add x0, sp, #48
mov x1, sp
bl _minSpanTree
add x0, sp, #48
mov x1, sp
bl _displayTree
bl _libmin_success
ldur x8, [x29, #-96]
Lloh85:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh86:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh87:
ldr x9, [x9]
cmp x9, x8
b.ne LBB7_14
; %bb.13:
mov w0, #0 ; =0x0
add sp, sp, #464
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
LBB7_14:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh84
.loh AdrpLdrGotLdr Lloh85, Lloh86, Lloh87
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl _V ; @V
.p2align 2, 0x0
_V:
.long 10 ; 0xa
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Home"
l_.str.1: ; @.str.1
.asciz "z-mall"
l_.str.2: ; @.str.2
.asciz "st.pet"
l_.str.3: ; @.str.3
.asciz "office"
l_.str.4: ; @.str.4
.asciz "school"
l_.str.5: ; @.str.5
.asciz "motel"
l_.str.6: ; @.str.6
.asciz "restr."
l_.str.7: ; @.str.7
.asciz "library"
l_.str.8: ; @.str.8
.asciz "airport"
l_.str.9: ; @.str.9
.asciz "barber"
.section __DATA,__data
.globl _vertName ; @vertName
.p2align 3, 0x0
_vertName:
.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 l_.str.8
.quad l_.str.9
.section __TEXT,__cstring,cstring_literals
l_.str.10: ; @.str.10
.asciz " "
l_.str.11: ; @.str.11
.asciz "%8s"
l_.str.12: ; @.str.12
.asciz "%8d"
l_.str.13: ; @.str.13
.asciz "\n"
l_.str.14: ; @.str.14
.asciz "\n\n"
l_.str.15: ; @.str.15
.asciz "%8d / %d"
.zerofill __DATA,__bss,_displayPath.count,4,2 ; @displayPath.count
l_.str.16: ; @.str.16
.asciz "\nSource: %s\tDestination: %s\n\n"
l_.str.17: ; @.str.17
.asciz "Path: %s"
l_.str.18: ; @.str.18
.asciz "-> %s"
l_.str.19: ; @.str.19
.asciz "minimum spanning tree:\n"
l_.str.20: ; @.str.20
.asciz " %8s <-%d-> %8s\n"
l_.str.21: ; @.str.21
.asciz "total cost = %d\n"
.subsections_via_symbols
|
bloom-filter.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _bad_search ## -- Begin function bad_search
.p2align 4, 0x90
_bad_search: ## @bad_search
.cfi_startproc
## %bb.0:
testq %rdx, %rdx
je LBB0_1
## %bb.5:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpl %esi, (%rdi,%rax,4)
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_6 Depth=1
incq %rax
cmpq %rax, %rdx
jne LBB0_6
## %bb.4:
xorl %eax, %eax
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
retq
LBB0_7:
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0 ## -- Begin function main
LCPI1_0:
.long 0x3d480000 ## float 0.048828125
LCPI1_1:
.long 0x42a00000 ## float 80
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $8192, %edi ## imm = 0x2000
callq _libmin_malloc
movq %rax, %rbx
movl $8192, %edi ## imm = 0x2000
callq _libmin_malloc
movq %rax, %r15
movl $8192, %edi ## imm = 0x2000
callq _create_bfilter
movq %rax, %r14
movq (%rax), %rax
shrq $8, %rax
movabsq $18014398509481983, %rsi ## imm = 0x3FFFFFFFFFFFFF
andq %rax, %rsi
leaq L_.str(%rip), %rdi
xorl %r13d, %r13d
xorl %eax, %eax
callq _libmin_printf
movl $42, %edi
callq _libmin_srand
jmp LBB1_1
.p2align 4, 0x90
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
callq _libmin_rand
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movl %eax, (%r15,%r13)
addq $4, %r13
cmpq $8192, %r13 ## imm = 0x2000
je LBB1_5
LBB1_1: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
leaq (%rbx,%r13), %r12
movl %eax, (%rbx,%r13)
movq %r14, %rdi
movq %r12, %rsi
callq _bfilter_add
callq _libmin_rand
testb $1, %al
je LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl (%r12), %eax
jmp LBB1_4
LBB1_5:
xorl %r12d, %r12d
movl $0, -44(%rbp) ## 4-byte Folded Spill
xorl %r13d, %r13d
movl $0, -48(%rbp) ## 4-byte Folded Spill
movl $0, -52(%rbp) ## 4-byte Folded Spill
jmp LBB1_6
.p2align 4, 0x90
LBB1_17: ## in Loop: Header=BB1_6 Depth=1
incl -48(%rbp) ## 4-byte Folded Spill
LBB1_18: ## in Loop: Header=BB1_6 Depth=1
incq %r12
cmpq $2048, %r12 ## imm = 0x800
je LBB1_19
LBB1_6: ## =>This Loop Header: Depth=1
## Child Loop BB1_11 Depth 2
leaq (%r15,%r12,4), %rsi
movq %r14, %rdi
callq _bfilter_check
movl (%r15,%r12,4), %ecx
movl $3, %edx
.p2align 4, 0x90
LBB1_11: ## Parent Loop BB1_6 Depth=1
## => This Inner Loop Header: Depth=2
cmpl %ecx, -12(%rbx,%rdx,4)
je LBB1_12
## %bb.7: ## in Loop: Header=BB1_11 Depth=2
cmpl %ecx, -8(%rbx,%rdx,4)
je LBB1_12
## %bb.8: ## in Loop: Header=BB1_11 Depth=2
cmpl %ecx, -4(%rbx,%rdx,4)
je LBB1_12
## %bb.9: ## in Loop: Header=BB1_11 Depth=2
cmpl %ecx, (%rbx,%rdx,4)
je LBB1_12
## %bb.10: ## in Loop: Header=BB1_11 Depth=2
addq $4, %rdx
cmpq $2051, %rdx ## imm = 0x803
jne LBB1_11
## %bb.14: ## in Loop: Header=BB1_6 Depth=1
testl %eax, %eax
je LBB1_15
## %bb.16: ## in Loop: Header=BB1_6 Depth=1
incl -44(%rbp) ## 4-byte Folded Spill
jmp LBB1_18
.p2align 4, 0x90
LBB1_12: ## in Loop: Header=BB1_6 Depth=1
testl %eax, %eax
je LBB1_17
## %bb.13: ## in Loop: Header=BB1_6 Depth=1
incl %r13d
jmp LBB1_18
LBB1_15: ## in Loop: Header=BB1_6 Depth=1
incl -52(%rbp) ## 4-byte Folded Spill
jmp LBB1_18
LBB1_19:
leaq L_.str.1(%rip), %rdi
movl %r13d, %esi
movl -52(%rbp), %r12d ## 4-byte Reload
movl %r12d, %edx
movl -44(%rbp), %ecx ## 4-byte Reload
movl -48(%rbp), %r8d ## 4-byte Reload
xorl %eax, %eax
callq _libmin_printf
addl %r12d, %r13d
cvtsi2ss %r13, %xmm0
mulss LCPI1_0(%rip), %xmm0
movss %xmm0, -44(%rbp) ## 4-byte Spill
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _libmin_printf
movss LCPI1_1(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -44(%rbp), %xmm0 ## 4-byte Folded Reload
jbe LBB1_21
## %bb.20:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB1_21:
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
leaq L_.str.5(%rip), %rax
leaq L_.str.4(%rip), %rdi
cmoveq %rax, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
callq _libmin_free
movq %rbx, %rdi
callq _libmin_free
movq %r14, %rdi
callq _destroy_bfilter
callq _libmin_success
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Using %lu kilobytes for filter.\n\n"
L_.str.1: ## @.str.1
.asciz "True positives: %i\nTrue negatives: %i\nFalse positives: %i\nFalse negatives: %i\n"
L_.str.2: ## @.str.2
.asciz "\n%3.2f%% success rate\n\n"
L_.str.3: ## @.str.3
.asciz "WARNING: Success rate less than 80%%.\n\n"
L_.str.4: ## @.str.4
.asciz "**ERROR:** Test FAILED.\n"
L_.str.5: ## @.str.5
.asciz "Test PASSED.\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _bad_search ; -- Begin function bad_search
.p2align 2
_bad_search: ; @bad_search
.cfi_startproc
; %bb.0:
cbz x2, LBB0_3
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [x0], #4
cmp w8, w1
b.eq LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
subs x2, x2, #1
b.ne LBB0_1
LBB0_3:
mov w0, #0 ; =0x0
ret
LBB0_4:
mov w0, #1 ; =0x1
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp d9, d8, [sp, #32] ; 16-byte Folded Spill
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
mov w0, #8192 ; =0x2000
bl _libmin_malloc
mov x19, x0
mov w0, #8192 ; =0x2000
bl _libmin_malloc
mov x21, x0
mov w0, #8192 ; =0x2000
bl _create_bfilter
mov x20, x0
ldr x8, [x0]
ubfx x8, x8, #8, #54
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov w0, #42 ; =0x2a
bl _libmin_srand
mov x23, #0 ; =0x0
b LBB1_3
LBB1_1: ; in Loop: Header=BB1_3 Depth=1
bl _libmin_rand
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
str w0, [x21, x23]
add x23, x23, #4
cmp x23, #2, lsl #12 ; =8192
b.eq LBB1_5
LBB1_3: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
add x22, x19, x23
str w0, [x22]
mov x0, x20
mov x1, x22
bl _bfilter_add
bl _libmin_rand
tbz w0, #0, LBB1_1
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
ldr w0, [x22]
b LBB1_2
LBB1_5:
mov x27, #0 ; =0x0
mov w26, #0 ; =0x0
mov w24, #0 ; =0x0
mov w23, #0 ; =0x0
mov w25, #0 ; =0x0
b LBB1_8
LBB1_6: ; in Loop: Header=BB1_8 Depth=1
cmp w0, #0
cinc w23, w23, eq
cinc w24, w24, ne
LBB1_7: ; in Loop: Header=BB1_8 Depth=1
add x27, x27, #1
cmp x27, #2048
b.eq LBB1_12
LBB1_8: ; =>This Loop Header: Depth=1
; Child Loop BB1_9 Depth 2
add x22, x21, x27, lsl #2
mov x0, x20
mov x1, x22
bl _bfilter_check
mov x8, #0 ; =0x0
ldr w9, [x22]
LBB1_9: ; Parent Loop BB1_8 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x19, x8]
cmp w10, w9
b.eq LBB1_6
; %bb.10: ; in Loop: Header=BB1_9 Depth=2
add x8, x8, #4
cmp x8, #2, lsl #12 ; =8192
b.ne LBB1_9
; %bb.11: ; in Loop: Header=BB1_8 Depth=1
cmp w0, #0
cinc w25, w25, eq
cinc w26, w26, ne
b LBB1_7
LBB1_12:
stp x26, x23, [sp, #16]
stp x24, x25, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
add w8, w24, w25
ucvtf s0, w8
mov w8, #1028128768 ; =0x3d480000
fmov s1, w8
fmul s8, s0, s1
fcvt d0, s8
str d0, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov w8, #1117782016 ; =0x42a00000
fmov s0, w8
fcmp s8, s0
b.pl LBB1_14
; %bb.13:
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
LBB1_14:
Lloh8:
adrp x8, l_.str.4@PAGE
Lloh9:
add x8, x8, l_.str.4@PAGEOFF
Lloh10:
adrp x9, l_.str.5@PAGE
Lloh11:
add x9, x9, l_.str.5@PAGEOFF
cmp w23, #0
csel x0, x9, x8, eq
bl _libmin_printf
mov x0, x21
bl _libmin_free
mov x0, x19
bl _libmin_free
mov x0, x20
bl _destroy_bfilter
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Using %lu kilobytes for filter.\n\n"
l_.str.1: ; @.str.1
.asciz "True positives: %i\nTrue negatives: %i\nFalse positives: %i\nFalse negatives: %i\n"
l_.str.2: ; @.str.2
.asciz "\n%3.2f%% success rate\n\n"
l_.str.3: ; @.str.3
.asciz "WARNING: Success rate less than 80%%.\n\n"
l_.str.4: ; @.str.4
.asciz "**ERROR:** Test FAILED.\n"
l_.str.5: ; @.str.5
.asciz "Test PASSED.\n"
.subsections_via_symbols
|
packet-filter.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _generate_packet ## -- Begin function generate_packet
.p2align 4, 0x90
_generate_packet: ## @generate_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
callq _libmin_rand
imull $-858993459, %eax, %r15d ## imm = 0xCCCCCCCD
rorl $2, %r15d
callq _libmin_rand
movl %eax, %r14d
cmpl $214748364, %r15d ## imm = 0xCCCCCCC
jbe LBB0_1
## %bb.2:
callq _libmin_rand
jmp LBB0_3
LBB0_1:
shll $8, %r14d
movzwl %r14w, %r14d
callq _libmin_rand
movzbl %al, %eax
addl %eax, %r14d
addl $-1062731776, %r14d ## imm = 0xC0A80000
movb $6, %al
LBB0_3:
movl %r14d, 4(%rbx)
movb %al, 12(%rbx)
callq _libmin_rand
movl %eax, (%rbx)
callq _libmin_rand
movw %ax, 8(%rbx)
callq _libmin_rand
movw %ax, 10(%rbx)
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
movl %eax, %ecx
imulq $1321528399, %rcx, %rcx ## imm = 0x4EC4EC4F
shrq $35, %rcx
leal (%rcx,%rcx,4), %edx
leal (%rdx,%rdx,4), %edx
addl %ecx, %edx
subl %edx, %eax
addb $65, %al
movb %al, 13(%rbx,%r14)
incq %r14
cmpq $63, %r14
jne LBB0_4
## %bb.5:
movb $0, 76(%rbx)
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _check_packet_filter ## -- Begin function check_packet_filter
.p2align 4, 0x90
_check_packet_filter: ## @check_packet_filter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpb $6, 28(%rbp)
sete %al
movzwl 22(%rbp), %ecx
shll $16, %ecx
cmpl $-1062731776, %ecx ## imm = 0xC0A80000
sete %cl
andb %al, %cl
movzbl %cl, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_ip ## -- Begin function print_ip
.p2align 4, 0x90
_print_ip: ## @print_ip
.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
movl %edi, %edx
movzbl %ah, %ecx
movzbl %al, %r8d
shrl $24, %eax
shrl $16, %edx
movzbl %dl, %edx
leaq L_.str(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _print_packet ## -- Begin function print_packet
.p2align 4, 0x90
_print_packet: ## @print_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl 16(%rbp), %eax
movl %eax, %edx
movzbl %ah, %ecx
movzbl %al, %r8d
shrl $24, %eax
shrl $16, %edx
movzbl %dl, %edx
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
movl %eax, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl 20(%rbp), %eax
movl %eax, %edx
movzbl %ah, %ecx
movzbl %al, %r8d
shrl $24, %eax
shrl $16, %edx
movzbl %dl, %edx
movq %rbx, %rdi
movl %eax, %esi
xorl %eax, %eax
callq _libmin_printf
movzwl 24(%rbp), %esi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movzwl 26(%rbp), %esi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movzbl 28(%rbp), %esi
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq 29(%rbp), %rsi
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $168, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movl $42, %edi
callq _libmin_srand
movl $1, %ebx
leaq -112(%rbp), %r14
leaq L_.str.9(%rip), %r15
jmp LBB4_1
.p2align 4, 0x90
LBB4_4: ## in Loop: Header=BB4_1 Depth=1
incl %ebx
cmpl $101, %ebx
je LBB4_5
LBB4_1: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _generate_packet
cmpb $6, -100(%rbp)
jne LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movzwl -106(%rbp), %eax
shll $16, %eax
cmpl $-1062731776, %eax ## imm = 0xC0A80000
jne LBB4_4
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movq %r15, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _libmin_printf
movups -48(%rbp), %xmm0
movups %xmm0, 64(%rsp)
movups -112(%rbp), %xmm0
movups -96(%rbp), %xmm1
movups -80(%rbp), %xmm2
movups -64(%rbp), %xmm3
movups %xmm3, 48(%rsp)
movups %xmm2, 32(%rsp)
movups %xmm1, 16(%rsp)
movups %xmm0, (%rsp)
callq _print_packet
jmp LBB4_4
LBB4_5:
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB4_7
## %bb.6:
xorl %eax, %eax
addq $168, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB4_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u.%u.%u.%u"
L_.str.1: ## @.str.1
.asciz "Packet Details:\n"
L_.str.2: ## @.str.2
.asciz " Source IP: "
L_.str.3: ## @.str.3
.asciz "\n Destination IP: "
L_.str.4: ## @.str.4
.asciz "\n Source Port: %u\n"
L_.str.5: ## @.str.5
.asciz " Destination Port: %u\n"
L_.str.6: ## @.str.6
.asciz " Protocol: %u\n"
L_.str.7: ## @.str.7
.asciz " Payload: %s\n"
L_.str.8: ## @.str.8
.asciz "------------------------------\n"
L_.str.9: ## @.str.9
.asciz "Matched Packet #%d:\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _generate_packet ; -- Begin function generate_packet
.p2align 2
_generate_packet: ; @generate_packet
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x8
bl _libmin_rand
mov x21, x0
bl _libmin_rand
mov x20, x0
mov w8, #52429 ; =0xcccd
movk w8, #52428, lsl #16
mul w8, w21, w8
ror w8, w8, #2
mov w9, #52428 ; =0xcccc
movk w9, #3276, lsl #16
cmp w8, w9
b.ls LBB0_2
; %bb.1:
bl _libmin_rand
b LBB0_3
LBB0_2:
bl _libmin_rand
and w8, w0, #0xff
bfi w8, w20, #8, #8
mov w9, #-1062731776 ; =0xc0a80000
orr w20, w8, w9
mov w0, #6 ; =0x6
LBB0_3:
str w20, [x19, #4]
strb w0, [x19, #12]
bl _libmin_rand
str w0, [x19]
bl _libmin_rand
strh w0, [x19, #8]
bl _libmin_rand
mov x20, #0 ; =0x0
strh w0, [x19, #10]
add x21, x19, #13
mov w22, #60495 ; =0xec4f
movk w22, #20164, lsl #16
mov w23, #26 ; =0x1a
LBB0_4: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
umull x8, w0, w22
lsr x8, x8, #35
msub w8, w8, w23, w0
add w8, w8, #65
strb w8, [x21, x20]
add x20, x20, #1
cmp x20, #63
b.ne LBB0_4
; %bb.5:
strb wzr, [x19, #76]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _check_packet_filter ; -- Begin function check_packet_filter
.p2align 2
_check_packet_filter: ; @check_packet_filter
.cfi_startproc
; %bb.0:
ldrb w8, [x0, #12]
cmp w8, #6
b.ne LBB1_2
; %bb.1:
ldrh w8, [x0, #6]
mov w9, #49320 ; =0xc0a8
cmp w8, w9
cset w0, eq
ret
LBB1_2:
mov w0, #0 ; =0x0
ret
.cfi_endproc
; -- End function
.globl _print_ip ; -- Begin function print_ip
.p2align 2
_print_ip: ; @print_ip
.cfi_startproc
; %bb.0:
sub sp, sp, #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
lsr w8, w0, #24
ubfx w9, w0, #16, #8
ubfx w10, w0, #8, #8
and w11, w0, #0xff
stp x10, x11, [sp, #16]
stp x8, x9, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _print_packet ; -- Begin function print_packet
.p2align 2
_print_packet: ; @print_packet
.cfi_startproc
; %bb.0:
sub sp, sp, #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 x19, x0
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
ldr w8, [x19]
lsr w9, w8, #24
ubfx w10, w8, #16, #8
ubfx w11, w8, #8, #8
and w8, w8, #0xff
stp x11, x8, [sp, #16]
stp x9, x10, [sp]
Lloh6:
adrp x20, l_.str@PAGE
Lloh7:
add x20, x20, l_.str@PAGEOFF
mov x0, x20
bl _libmin_printf
Lloh8:
adrp x0, l_.str.3@PAGE
Lloh9:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
ldr w8, [x19, #4]
lsr w9, w8, #24
ubfx w10, w8, #16, #8
ubfx w11, w8, #8, #8
and w8, w8, #0xff
stp x11, x8, [sp, #16]
stp x9, x10, [sp]
mov x0, x20
bl _libmin_printf
ldrh w8, [x19, #8]
str x8, [sp]
Lloh10:
adrp x0, l_.str.4@PAGE
Lloh11:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldrh w8, [x19, #10]
str x8, [sp]
Lloh12:
adrp x0, l_.str.5@PAGE
Lloh13:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
ldrb w8, [x19, #12]
str x8, [sp]
Lloh14:
adrp x0, l_.str.6@PAGE
Lloh15:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
add x8, x19, #13
str x8, [sp]
Lloh16:
adrp x0, l_.str.7@PAGE
Lloh17:
add x0, x0, l_.str.7@PAGEOFF
bl _libmin_printf
Lloh18:
adrp x0, l_.str.8@PAGE
Lloh19:
add x0, x0, l_.str.8@PAGEOFF
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
b _libmin_printf
.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
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #240
stp x22, x21, [sp, #192] ; 16-byte Folded Spill
stp x20, x19, [sp, #208] ; 16-byte Folded Spill
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
add x20, sp, #104
Lloh20:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh21:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
ldr x8, [x8]
stur x8, [x29, #-40]
mov w0, #42 ; =0x2a
bl _libmin_srand
mov w21, #1 ; =0x1
mov w22, #49320 ; =0xc0a8
Lloh23:
adrp x19, l_.str.9@PAGE
Lloh24:
add x19, x19, l_.str.9@PAGEOFF
b LBB4_2
LBB4_1: ; in Loop: Header=BB4_2 Depth=1
add w21, w21, #1
cmp w21, #101
b.eq LBB4_5
LBB4_2: ; =>This Inner Loop Header: Depth=1
add x8, sp, #104
bl _generate_packet
ldrb w8, [sp, #116]
cmp w8, #6
b.ne LBB4_1
; %bb.3: ; in Loop: Header=BB4_2 Depth=1
ldrh w8, [sp, #110]
cmp w8, w22
b.ne LBB4_1
; %bb.4: ; in Loop: Header=BB4_2 Depth=1
str x21, [sp]
mov x0, x19
bl _libmin_printf
ldur q0, [sp, #136]
ldp q1, q2, [x20, #48]
stp q0, q1, [sp, #48]
str q2, [sp, #80]
ldur q0, [sp, #120]
ldur q1, [sp, #104]
stp q1, q0, [sp, #16]
add x0, sp, #16
bl _print_packet
b LBB4_1
LBB4_5:
bl _libmin_success
ldur x8, [x29, #-40]
Lloh25:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh26:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
ldr x9, [x9]
cmp x9, x8
b.ne LBB4_7
; %bb.6:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
ldp x20, x19, [sp, #208] ; 16-byte Folded Reload
ldp x22, x21, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #240
ret
LBB4_7:
bl ___stack_chk_fail
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u.%u.%u.%u"
l_.str.1: ; @.str.1
.asciz "Packet Details:\n"
l_.str.2: ; @.str.2
.asciz " Source IP: "
l_.str.3: ; @.str.3
.asciz "\n Destination IP: "
l_.str.4: ; @.str.4
.asciz "\n Source Port: %u\n"
l_.str.5: ; @.str.5
.asciz " Destination Port: %u\n"
l_.str.6: ; @.str.6
.asciz " Protocol: %u\n"
l_.str.7: ; @.str.7
.asciz " Payload: %s\n"
l_.str.8: ; @.str.8
.asciz "------------------------------\n"
l_.str.9: ; @.str.9
.asciz "Matched Packet #%d:\n"
.subsections_via_symbols
|
blake2b.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _blake2b ## -- Begin function blake2b
.p2align 4, 0x90
_blake2b: ## @blake2b
.cfi_startproc
## %bb.0:
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 $184, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
testq %rdi, %rdi
cmoveq %rdi, %rbx
testq %rdx, %rdx
movq %rdi, -176(%rbp) ## 8-byte Spill
je LBB0_1
## %bb.2:
movzbl %cl, %eax
cmpb $64, %al
movl $64, %ecx
cmovbl %eax, %ecx
jmp LBB0_3
LBB0_1:
xorl %ecx, %ecx
LBB0_3:
movzbl %r8b, %eax
cmpb $64, %al
movl $64, %r12d
cmovbl %eax, %r12d
xorl %r13d, %r13d
movl %ecx, -164(%rbp) ## 4-byte Spill
testb %cl, %cl
setne %r13b
movq %rbx, %rdi
shrq $7, %rdi
movl %ebx, %eax
andl $127, %eax
cmpq $1, %rax
sbbq $-1, %rdi
leaq (%rdi,%r13), %rax
movq %rax, -216(%rbp) ## 8-byte Spill
cmpq $1, %rax
adcq %r13, %rdi
movl $128, %esi
movq %rdi, -192(%rbp) ## 8-byte Spill
callq _libmin_calloc
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %r15
movl %r12d, -180(%rbp) ## 4-byte Spill
movzbl %r12b, %r12d
movq %r12, %rdi
callq _libmin_malloc
movq %rax, -208(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB0_6
## %bb.10:
movl -164(%rbp), %ecx ## 4-byte Reload
movzbl %cl, %eax
testb %cl, %cl
je LBB0_15
## %bb.11:
cmpb $1, -164(%rbp) ## 1-byte Folded Reload
jne LBB0_32
## %bb.12:
xorl %edx, %edx
jmp LBB0_13
LBB0_4:
xorl %ebx, %ebx
jmp LBB0_8
LBB0_6:
xorl %ebx, %ebx
jmp LBB0_7
LBB0_32:
movl %eax, %esi
andl $126, %esi
movl $8, %edi
xorl %edx, %edx
.p2align 4, 0x90
LBB0_33: ## =>This Inner Loop Header: Depth=1
movzbl (%r14,%rdx), %r8d
leal -8(%rdi), %ecx
andb $48, %cl
## kill: def $cl killed $cl killed $ecx
shlq %cl, %r8
movl %edx, %r9d
shrl $3, %r9d
andl $15, %r9d
orq (%r15,%r9,8), %r8
movq %r8, (%r15,%r9,8)
movzbl 1(%r14,%rdx), %r10d
movl %edi, %ecx
andb $56, %cl
shlq %cl, %r10
orq %r8, %r10
movq %r10, (%r15,%r9,8)
addq $2, %rdx
addq $16, %rdi
cmpq %rdx, %rsi
jne LBB0_33
LBB0_13:
testb $1, %al
je LBB0_15
## %bb.14:
movzbl (%r14,%rdx), %esi
leal (,%rdx,8), %ecx
## kill: def $cl killed $cl killed $ecx
shlq %cl, %rsi
shrl $3, %edx
andl $15, %edx
orq %rsi, (%r15,%rdx,8)
LBB0_15:
testq %rbx, %rbx
movq -176(%rbp), %r9 ## 8-byte Reload
je LBB0_18
## %bb.16:
xorl %edx, %edx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_17: ## =>This Inner Loop Header: Depth=1
movzbl (%r9,%rsi), %edi
movl %edx, %ecx
andb $56, %cl
shlq %cl, %rdi
movq %rsi, %rcx
shrq $7, %rcx
addq %r13, %rcx
movl %esi, %r8d
shrl $3, %r8d
andl $15, %r8d
shlq $7, %rcx
addq %r15, %rcx
orq %rdi, (%rcx,%r8,8)
incq %rsi
addq $8, %rdx
cmpq %rsi, %rbx
jne LBB0_17
LBB0_18:
shlq $8, %rax
movq %r12, -176(%rbp) ## 8-byte Spill
orq %r12, %rax
movabsq $7640891576939301128, %rcx ## imm = 0x6A09E667F2BDC908
xorq %rax, %rcx
movq %rbx, -200(%rbp) ## 8-byte Spill
movq %rbx, -160(%rbp)
movq $0, -152(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -144(%rbp)
movaps _blake2b_iv(%rip), %xmm0
movaps %xmm0, -128(%rbp)
movaps _blake2b_iv+16(%rip), %xmm0
movaps %xmm0, -112(%rbp)
movaps _blake2b_iv+32(%rip), %xmm0
movaps %xmm0, -96(%rbp)
movaps _blake2b_iv+48(%rip), %xmm0
movaps %xmm0, -80(%rbp)
movq %rcx, -128(%rbp)
cmpq $2, -216(%rbp) ## 8-byte Folded Reload
jb LBB0_23
## %bb.19:
movq -192(%rbp), %rax ## 8-byte Reload
leaq -1(%rax), %r13
xorl %ebx, %ebx
leaq -144(%rbp), %r12
xorl %esi, %esi
jmp LBB0_20
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_20 Depth=1
leaq 128(%rsi), %r14
movq %r14, -144(%rbp)
addq %r15, %rsi
leaq -128(%rbp), %rdi
movq %r12, %rdx
xorl %ecx, %ecx
callq _F
movq %r14, %rsi
decq %r13
je LBB0_23
LBB0_20: ## =>This Inner Loop Header: Depth=1
cmpq $-129, %rsi
jb LBB0_22
## %bb.21: ## in Loop: Header=BB0_20 Depth=1
incq %rbx
movq %rbx, -136(%rbp)
jmp LBB0_22
LBB0_23:
cmpb $0, -164(%rbp) ## 1-byte Folded Reload
movq -208(%rbp), %rbx ## 8-byte Reload
movl -180(%rbp), %r14d ## 4-byte Reload
je LBB0_27
## %bb.24:
movq -200(%rbp), %rax ## 8-byte Reload
cmpq $-129, %rax
jb LBB0_26
## %bb.25:
movq $1, -152(%rbp)
LBB0_26:
subq $-128, %rax
movq %rax, -160(%rbp)
LBB0_27:
movq -192(%rbp), %rax ## 8-byte Reload
shlq $7, %rax
leaq (%rax,%r15), %rsi
addq $-128, %rsi
leaq -128(%rbp), %rdi
leaq -160(%rbp), %rdx
movl $1, %ecx
callq _F
testb %r14b, %r14b
movq -176(%rbp), %rsi ## 8-byte Reload
je LBB0_7
## %bb.28:
xorl %eax, %eax
jmp LBB0_29
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_29 Depth=1
movzbl -56(%rbp,%rcx), %ecx
movb %cl, (%rbx,%rax)
incq %rax
cmpq %rax, %rsi
je LBB0_7
LBB0_29: ## =>This Inner Loop Header: Depth=1
movq %rax, %rcx
andq $7, %rcx
jne LBB0_31
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
movq %rax, %rdx
andq $-8, %rdx
movq -128(%rbp,%rdx), %rdx
movq %rdx, -56(%rbp)
jmp LBB0_31
LBB0_7:
movq %r15, %rdi
callq _libmin_free
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_34
## %bb.9:
movq %rbx, %rax
addq $184, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_34:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $536, %rsp ## imm = 0x218
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movb $99, -530(%rbp)
movw $25185, -532(%rbp) ## imm = 0x6261
movaps l___const.test.abc_answer+48(%rip), %xmm0
movaps %xmm0, -32(%rbp)
movaps l___const.test.abc_answer+32(%rip), %xmm0
movaps %xmm0, -48(%rbp)
movaps l___const.test.abc_answer+16(%rip), %xmm0
movaps %xmm0, -64(%rbp)
movaps l___const.test.abc_answer(%rip), %xmm0
movaps %xmm0, -80(%rbp)
leaq -532(%rbp), %rdi
movl $3, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movl $64, %r8d
callq _blake2b
movq %rax, %rbx
leaq -80(%rbp), %rdi
movq %rax, %rsi
callq _assert_bytes
movq %rbx, %rdi
callq _libmin_free
movaps l___const.test.filled_key+48(%rip), %xmm0
movaps %xmm0, -96(%rbp)
movaps l___const.test.filled_key+32(%rip), %xmm0
movaps %xmm0, -112(%rbp)
movaps l___const.test.filled_key+16(%rip), %xmm0
movaps %xmm0, -128(%rbp)
movaps l___const.test.filled_key(%rip), %xmm0
movaps %xmm0, -144(%rbp)
movaps l___const.test.key_answer+48(%rip), %xmm0
movaps %xmm0, -160(%rbp)
movaps l___const.test.key_answer+32(%rip), %xmm0
movaps %xmm0, -176(%rbp)
movaps l___const.test.key_answer+16(%rip), %xmm0
movaps %xmm0, -192(%rbp)
movaps l___const.test.key_answer(%rip), %xmm0
movaps %xmm0, -208(%rbp)
leaq -144(%rbp), %rdx
xorl %edi, %edi
xorl %esi, %esi
movl $64, %ecx
movl $64, %r8d
callq _blake2b
movq %rax, %rbx
leaq -208(%rbp), %rdi
movq %rax, %rsi
callq _assert_bytes
movq %rbx, %rdi
callq _libmin_free
movb $0, -529(%rbp)
movaps l___const.test.filled_key+48(%rip), %xmm0
movaps %xmm0, -224(%rbp)
movaps l___const.test.filled_key+32(%rip), %xmm0
movaps %xmm0, -240(%rbp)
movaps l___const.test.filled_key+16(%rip), %xmm0
movaps %xmm0, -256(%rbp)
movaps l___const.test.filled_key(%rip), %xmm0
movaps %xmm0, -272(%rbp)
movaps l___const.test.zero_answer+48(%rip), %xmm0
movaps %xmm0, -288(%rbp)
movaps l___const.test.zero_answer+32(%rip), %xmm0
movaps %xmm0, -304(%rbp)
movaps l___const.test.zero_answer+16(%rip), %xmm0
movaps %xmm0, -320(%rbp)
movaps l___const.test.zero_answer(%rip), %xmm0
movaps %xmm0, -336(%rbp)
leaq -529(%rbp), %rdi
leaq -272(%rbp), %rdx
movl $1, %esi
movl $64, %ecx
movl $64, %r8d
callq _blake2b
movq %rax, %rbx
leaq -336(%rbp), %rdi
movq %rax, %rsi
callq _assert_bytes
movq %rbx, %rdi
callq _libmin_free
movaps l___const.test.filled_key+48(%rip), %xmm0
movaps %xmm0, -352(%rbp)
movaps l___const.test.filled_key+32(%rip), %xmm1
movaps %xmm1, -368(%rbp)
movaps l___const.test.filled_key+16(%rip), %xmm2
movaps %xmm2, -384(%rbp)
movaps l___const.test.filled_key(%rip), %xmm3
movaps %xmm3, -400(%rbp)
movaps %xmm0, -416(%rbp)
movaps %xmm1, -432(%rbp)
movaps %xmm2, -448(%rbp)
movaps %xmm3, -464(%rbp)
movaps l___const.test.filled_answer+48(%rip), %xmm0
movaps %xmm0, -480(%rbp)
movaps l___const.test.filled_answer+32(%rip), %xmm0
movaps %xmm0, -496(%rbp)
movaps l___const.test.filled_answer+16(%rip), %xmm0
movaps %xmm0, -512(%rbp)
movaps l___const.test.filled_answer(%rip), %xmm0
movaps %xmm0, -528(%rbp)
leaq -400(%rbp), %rdi
leaq -464(%rbp), %rdx
movl $64, %esi
movl $64, %ecx
movl $64, %r8d
callq _blake2b
movq %rax, %rbx
leaq -528(%rbp), %rdi
movq %rax, %rsi
callq _assert_bytes
movq %rbx, %rdi
callq _libmin_free
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB1_2
## %bb.1:
xorl %eax, %eax
addq $536, %rsp ## imm = 0x218
popq %rbx
popq %rbp
retq
LBB1_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function F
_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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -128(%rbp) ## 8-byte Spill
movq (%rdi), %r13
movq 8(%rdi), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq 16(%rdi), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq 24(%rdi), %r15
movq 32(%rdi), %r9
movq 40(%rdi), %r14
movq 48(%rdi), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movabsq $5840696475078001361, %rbx ## imm = 0x510E527FADE682D1
xorq (%rdx), %rbx
movabsq $-7276294671716946913, %r10 ## imm = 0x9B05688C2B3E6C1F
xorq 8(%rdx), %r10
testl %ecx, %ecx
movabsq $2270897969802886507, %rcx ## imm = 0x1F83D9ABFB41BD6B
movabsq $-2270897969802886508, %r11 ## imm = 0xE07C265404BE4294
cmoveq %rcx, %r11
movq %rdi, -120(%rbp) ## 8-byte Spill
movq 56(%rdi), %rcx
movabsq $-6534734903238641935, %rdx ## imm = 0xA54FF53A5F1D36F1
movq %rdx, -104(%rbp) ## 8-byte Spill
movabsq $6620516959819538809, %rdx ## imm = 0x5BE0CD19137E2179
movabsq $4354685564936845355, %rsi ## imm = 0x3C6EF372FE94F82B
movq %rsi, -96(%rbp) ## 8-byte Spill
movabsq $-4942790177534073029, %rax ## imm = 0xBB67AE8584CAA73B
movabsq $7640891576956012808, %rsi ## imm = 0x6A09E667F3BCC908
movq %rsi, -72(%rbp) ## 8-byte Spill
movl $15, %esi
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq %r15, -136(%rbp) ## 8-byte Spill
movq %rsi, -48(%rbp) ## 8-byte Spill
movq -48(%rbp), %rsi ## 8-byte Reload
leaq _blake2b_sigma(%rip), %r8
movzbl -15(%rsi,%r8), %esi
movq -128(%rbp), %r12 ## 8-byte Reload
movq (%r12,%rsi,8), %rdi
addq %r9, %rdi
addq %r13, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movzbl -14(%rsi,%r8), %esi
xorq %rdi, %rbx
movq %rdi, %r15
addq (%r12,%rsi,8), %r15
rolq $32, %rbx
movq -48(%rbp), %rsi ## 8-byte Reload
movzbl -13(%rsi,%r8), %esi
movq (%r12,%rsi,8), %rsi
addq %r14, %rsi
movq -72(%rbp), %r13 ## 8-byte Reload
addq %rbx, %r13
movq %r13, -72(%rbp) ## 8-byte Spill
addq -64(%rbp), %rsi ## 8-byte Folded Reload
movq -48(%rbp), %rdi ## 8-byte Reload
movzbl -12(%rdi,%r8), %edi
xorq %rsi, %r10
xorq %r13, %r9
rolq $32, %r10
rolq $40, %r9
addq %r10, %rax
movq %rax, -112(%rbp) ## 8-byte Spill
xorq %rax, %r14
rolq $40, %r14
movq %r14, -56(%rbp) ## 8-byte Spill
addq (%r12,%rdi,8), %rsi
movq %r12, %r13
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r8, %rax
movzbl -11(%rdi,%r8), %edi
addq %r9, %r15
movq %r15, -64(%rbp) ## 8-byte Spill
movq (%r12,%rdi,8), %r14
movq -80(%rbp), %r8 ## 8-byte Reload
addq %r8, %r14
addq -88(%rbp), %r14 ## 8-byte Folded Reload
addq -56(%rbp), %rsi ## 8-byte Folded Reload
movq %rsi, -88(%rbp) ## 8-byte Spill
xorq %r14, %r11
rolq $32, %r11
xorq %r15, %rbx
movq -48(%rbp), %rdi ## 8-byte Reload
movq %rax, %r15
movzbl -10(%rdi,%rax), %edi
movq -96(%rbp), %rax ## 8-byte Reload
addq %r11, %rax
xorq %rax, %r8
xorq %rsi, %r10
rolq $40, %r8
rolq $48, %rbx
addq (%r12,%rdi,8), %r14
rolq $48, %r10
addq %r8, %r14
xorq %r14, %r11
rolq $48, %r11
movq -72(%rbp), %rsi ## 8-byte Reload
addq %rbx, %rsi
movq %rsi, -72(%rbp) ## 8-byte Spill
movq -48(%rbp), %rdi ## 8-byte Reload
movzbl -9(%rdi,%r15), %edi
movq (%r12,%rdi,8), %r12
addq %r10, -112(%rbp) ## 8-byte Folded Spill
addq %rcx, %r12
addq -136(%rbp), %r12 ## 8-byte Folded Reload
xorq %r12, %rdx
addq %r11, %rax
movq %rax, -96(%rbp) ## 8-byte Spill
rolq $32, %rdx
movq -104(%rbp), %rdi ## 8-byte Reload
addq %rdx, %rdi
xorq %rsi, %r9
xorq %rdi, %rcx
rolq $40, %rcx
movq -56(%rbp), %rsi ## 8-byte Reload
xorq -112(%rbp), %rsi ## 8-byte Folded Reload
movq %rsi, -56(%rbp) ## 8-byte Spill
movq -48(%rbp), %r15 ## 8-byte Reload
leaq _blake2b_sigma(%rip), %rsi
movzbl -8(%r15,%rsi), %r15d
addq (%r13,%r15,8), %r12
xorq %rax, %r8
addq %rcx, %r12
xorq %r12, %rdx
rolq %r9
rolq $48, %rdx
rolq -56(%rbp) ## 8-byte Folded Spill
addq %rdx, %rdi
xorq %rdi, %rcx
rolq %r8
rolq %rcx
movq -48(%rbp), %r15 ## 8-byte Reload
movzbl -7(%r15,%rsi), %r15d
movq -64(%rbp), %rax ## 8-byte Reload
addq -56(%rbp), %rax ## 8-byte Folded Reload
addq (%r13,%r15,8), %rax
movq -48(%rbp), %r15 ## 8-byte Reload
movzbl -6(%r15,%rsi), %r15d
xorq %rax, %rdx
addq (%r13,%r15,8), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq -48(%rbp), %r15 ## 8-byte Reload
movq %rsi, %rax
movzbl -5(%r15,%rsi), %r15d
movq -88(%rbp), %rsi ## 8-byte Reload
addq %r8, %rsi
addq (%r13,%r15,8), %rsi
movq -48(%rbp), %r15 ## 8-byte Reload
movzbl -4(%r15,%rax), %r15d
xorq %rsi, %rbx
addq (%r13,%r15,8), %rsi
movq -48(%rbp), %r15 ## 8-byte Reload
movzbl -3(%r15,%rax), %r15d
addq %rcx, %r14
addq (%r13,%r15,8), %r14
movq -48(%rbp), %r15 ## 8-byte Reload
movzbl -2(%r15,%rax), %r15d
xorq %r14, %r10
addq (%r13,%r15,8), %r14
movq -48(%rbp), %r15 ## 8-byte Reload
movzbl -1(%r15,%rax), %r15d
addq %r9, %r12
addq (%r13,%r15,8), %r12
movq -48(%rbp), %r15 ## 8-byte Reload
movzbl (%r15,%rax), %r15d
xorq %r12, %r11
addq (%r13,%r15,8), %r12
movq %r12, -80(%rbp) ## 8-byte Spill
rolq $32, %rdx
movq -96(%rbp), %r15 ## 8-byte Reload
addq %rdx, %r15
xorq %r15, -56(%rbp) ## 8-byte Folded Spill
rolq $40, -56(%rbp) ## 8-byte Folded Spill
rolq $32, %rbx
addq %rbx, %rdi
movq -64(%rbp), %r12 ## 8-byte Reload
movq %r8, %rax
xorq %rdi, %rax
rolq $40, %rax
addq -56(%rbp), %r12 ## 8-byte Folded Reload
movq %rsi, %r8
movq -48(%rbp), %rsi ## 8-byte Reload
rolq $32, %r10
xorq %r12, %rdx
addq %rax, %r8
movq %r8, -64(%rbp) ## 8-byte Spill
movq %rax, %r8
movq -72(%rbp), %r13 ## 8-byte Reload
addq %r10, %r13
xorq %r13, %rcx
xorq -64(%rbp), %rbx ## 8-byte Folded Reload
rolq $40, %rcx
rolq $48, %rdx
movq -112(%rbp), %rax ## 8-byte Reload
addq %rcx, %r14
rolq $48, %rbx
movq %r14, -88(%rbp) ## 8-byte Spill
xorq %r14, %r10
movq -56(%rbp), %r14 ## 8-byte Reload
rolq $48, %r10
addq %rdx, %r15
addq %rbx, %rdi
rolq $32, %r11
movq %r15, -96(%rbp) ## 8-byte Spill
xorq %r15, %r14
addq %r10, %r13
addq %r11, %rax
xorq %rax, %r9
movq %rdi, -104(%rbp) ## 8-byte Spill
xorq %rdi, %r8
rolq $40, %r9
movq -80(%rbp), %r15 ## 8-byte Reload
movq %r13, -72(%rbp) ## 8-byte Spill
xorq %r13, %rcx
movq %r12, %r13
addq %r9, %r15
xorq %r15, %r11
rolq %r14
rolq $48, %r11
rolq %r8
movq %r8, -80(%rbp) ## 8-byte Spill
addq %r11, %rax
xorq %rax, %r9
rolq %rcx
rolq %r9
addq $16, %rsi
cmpq $207, %rsi
jne LBB2_1
## %bb.2:
movq -120(%rbp), %rsi ## 8-byte Reload
xorq (%rsi), %r13
xorq -72(%rbp), %r13 ## 8-byte Folded Reload
movq %r13, (%rsi)
movq -64(%rbp), %rdi ## 8-byte Reload
xorq 8(%rsi), %rdi
xorq %rax, %rdi
movq %rdi, 8(%rsi)
movq -88(%rbp), %rax ## 8-byte Reload
xorq 16(%rsi), %rax
xorq -96(%rbp), %rax ## 8-byte Folded Reload
movq %rax, 16(%rsi)
xorq 24(%rsi), %r15
xorq -104(%rbp), %r15 ## 8-byte Folded Reload
movq %r15, 24(%rsi)
xorq 32(%rsi), %r9
xorq %rbx, %r9
movq %r9, 32(%rsi)
xorq 40(%rsi), %r14
xorq %r10, %r14
movq %r14, 40(%rsi)
movq -80(%rbp), %rax ## 8-byte Reload
xorq 48(%rsi), %rax
xorq %r11, %rax
movq %rax, 48(%rsi)
xorq 56(%rsi), %rcx
xorq %rdx, %rcx
movq %rcx, 56(%rsi)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function assert_bytes
_assert_bytes: ## @assert_bytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
testq %rdi, %rdi
je LBB3_1
## %bb.2:
testq %rbx, %rbx
je LBB3_3
LBB3_4:
movl _testnum(%rip), %esi
leal 1(%rsi), %eax
movl %eax, _testnum(%rip)
leaq L_.str.1(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.3(%rip), %r15
xorl %r12d, %r12d
jmp LBB3_5
.p2align 4, 0x90
LBB3_7: ## in Loop: Header=BB3_5 Depth=1
incq %r12
cmpq $64, %r12
je LBB3_8
LBB3_5: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx,%r12), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movzbl (%r14,%r12), %eax
cmpb (%rbx,%r12), %al
je LBB3_7
## %bb.6: ## in Loop: Header=BB3_5 Depth=1
movl $1, %edi
callq _libmin_fail
jmp LBB3_7
LBB3_8:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
LBB3_1:
movl $1, %edi
callq _libmin_fail
testq %rbx, %rbx
jne LBB3_4
LBB3_3:
movl $1, %edi
callq _libmin_fail
jmp LBB3_4
.cfi_endproc
## -- End function
.globl _testnum ## @testnum
.zerofill __DATA,__common,_testnum,4,2
.section __TEXT,__const
.p2align 4, 0x0 ## @blake2b_iv
_blake2b_iv:
.quad 7640891576956012808 ## 0x6a09e667f3bcc908
.quad -4942790177534073029 ## 0xbb67ae8584caa73b
.quad 4354685564936845355 ## 0x3c6ef372fe94f82b
.quad -6534734903238641935 ## 0xa54ff53a5f1d36f1
.quad 5840696475078001361 ## 0x510e527fade682d1
.quad -7276294671716946913 ## 0x9b05688c2b3e6c1f
.quad 2270897969802886507 ## 0x1f83d9abfb41bd6b
.quad 6620516959819538809 ## 0x5be0cd19137e2179
.p2align 4, 0x0 ## @blake2b_sigma
_blake2b_sigma:
.ascii "\000\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017"
.ascii "\016\n\004\b\t\017\r\006\001\f\000\002\013\007\005\003"
.ascii "\013\b\f\000\005\002\017\r\n\016\003\006\007\001\t\004"
.ascii "\007\t\003\001\r\f\013\016\002\006\005\n\004\000\017\b"
.ascii "\t\000\005\007\002\004\n\017\016\001\013\f\006\b\003\r"
.ascii "\002\f\006\n\000\013\b\003\004\r\007\005\017\016\001\t"
.ascii "\f\005\001\017\016\r\004\n\000\007\006\003\t\002\b\013"
.ascii "\r\013\007\016\f\001\003\t\005\000\017\004\b\006\002\n"
.ascii "\006\017\016\t\013\003\000\b\f\002\r\007\001\004\n\005"
.asciz "\n\002\b\004\007\006\001\005\017\013\t\016\003\f\r"
.ascii "\000\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017"
.ascii "\016\n\004\b\t\017\r\006\001\f\000\002\013\007\005\003"
l___const.test.abc: ## @__const.test.abc
.ascii "abc"
.p2align 4, 0x0 ## @__const.test.abc_answer
l___const.test.abc_answer:
.ascii "\272\200\245?\230\034M\rj'\227\266\237\022\366\351L!/\024hZ\304\267K\022\273o\333\377\242\321}\207\3059*\253y-\302R\325\336E3\314\225\030\323\212\250\333\361\222Z\271#\206\355\324\000\231#"
.p2align 4, 0x0 ## @__const.test.key_answer
l___const.test.key_answer:
.ascii "\020\353\266w\000\261\206\216\373D\027\230z\317F\220\256\235\227/\267\245\220\302\360(qy\232\252G\206\265\351\226\350\360\364\353\230\037\302\024\260\005\364-/\364#4\2319\026S\337z\357\313\301?\305\025h"
.p2align 4, 0x0 ## @__const.test.zero_answer
l___const.test.zero_answer:
.ascii "\226\037m\321\344\3350\3669\001i\fQ.x\344\264^GB\355\031|<^E\305I\375%\362\344\030{\013\311\3760I+\026\260\320\274N\371\260\363Lp\003\372\300\232^\361S.iC\0024\316\275"
.p2align 4, 0x0 ## @__const.test.filled_key
l___const.test.filled_key:
.ascii "\000\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 !\"#$%&'()*+,-./0123456789:;<=>?"
.p2align 4, 0x0 ## @__const.test.filled_answer
l___const.test.filled_answer:
.ascii "egm\200\006\027\227/\275\207\344\271QN\034g@+z3\020\226\323\277\254\"\361\253\271St\253\311B\361n\232\260\352\323;\207\311\031h\246\345\t\341\031\377\007x{>\364\203\341\334\334\317n0\""
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "INFO: All tests have successfully passed!\n"
L_.str.1: ## @.str.1
.asciz "Test #%d:\n"
L_.str.2: ## @.str.2
.asciz "Expected[] = { "
L_.str.3: ## @.str.3
.asciz "0x%02x "
L_.str.4: ## @.str.4
.asciz " }\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _blake2b ; -- Begin function blake2b
.p2align 2
_blake2b: ; @blake2b
.cfi_startproc
; %bb.0:
sub sp, sp, #208
stp x28, x27, [sp, #112] ; 16-byte Folded Spill
stp x26, x25, [sp, #128] ; 16-byte Folded Spill
stp x24, x23, [sp, #144] ; 16-byte Folded Spill
stp x22, x21, [sp, #160] ; 16-byte Folded Spill
stp x20, x19, [sp, #176] ; 16-byte Folded Spill
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x24, x2
mov x23, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
cmp x0, #0
csel x25, xzr, x1, eq
mov w8, #64 ; =0x40
cmp w3, #64
csel w9, w3, w8, lo
cmp x2, #0
csel w26, wzr, w9, eq
cmp w4, #64
csel w19, w4, w8, lo
lsr x8, x25, #7
tst x25, #0x7f
cinc x8, x8, ne
cmp w26, #0
cset w28, ne
cinc x27, x8, ne
cmp x27, #1
csinc x22, x27, xzr, hi
mov x0, x22
mov w1, #128 ; =0x80
bl _libmin_calloc
cbz x0, LBB0_23
; %bb.1:
mov x21, x0
mov x0, x19
bl _libmin_malloc
mov x20, x0
cbz x0, LBB0_22
; %bb.2:
cbz w26, LBB0_5
; %bb.3:
mov x8, #0 ; =0x0
mov x9, #0 ; =0x0
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x24, x9]
and x11, x8, #0x38
lsl x10, x10, x11
and x11, x9, #0x78
ldr x12, [x21, x11]
orr x10, x10, x12
str x10, [x21, x11]
add x9, x9, #1
add x8, x8, #8
cmp x26, x9
b.ne LBB0_4
LBB0_5:
cbz x25, LBB0_8
; %bb.6:
mov x8, #0 ; =0x0
mov x9, #0 ; =0x0
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x23, x9]
and x11, x8, #0x38
lsl x10, x10, x11
add x11, x28, x9, lsr #7
add x11, x21, x11, lsl #7
and x12, x9, #0x78
ldr x13, [x11, x12]
orr x10, x10, x13
str x10, [x11, x12]
add x9, x9, #1
add x8, x8, #8
cmp x25, x9
b.ne LBB0_7
LBB0_8:
stp x25, xzr, [sp]
Lloh3:
adrp x8, _blake2b_iv@PAGE
Lloh4:
add x8, x8, _blake2b_iv@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [sp, #32]
ldp q0, q1, [x8, #32]
stp q0, q1, [sp, #64]
orr x8, x19, x26, lsl #8
mov x9, #51464 ; =0xc908
movk x9, #62141, lsl #16
movk x9, #58983, lsl #32
movk x9, #27145, lsl #48
eor x8, x8, x9
stp xzr, x8, [sp, #24]
cmp x27, #2
b.lo LBB0_13
; %bb.9:
mov x23, #0 ; =0x0
mov x8, #0 ; =0x0
sub x24, x22, #1
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add x27, x8, #128
str x27, [sp, #16]
add x1, x21, x8
add x0, sp, #32
add x2, sp, #16
mov w3, #0 ; =0x0
bl _F
mov x8, x27
subs x24, x24, #1
b.eq LBB0_13
LBB0_11: ; =>This Inner Loop Header: Depth=1
cmn x8, #129
b.lo LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
add x23, x23, #1
str x23, [sp, #24]
b LBB0_10
LBB0_13:
cbz w26, LBB0_17
; %bb.14:
cmn x25, #129
b.lo LBB0_16
; %bb.15:
mov w8, #1 ; =0x1
str x8, [sp, #8]
LBB0_16:
add x8, x25, #128
str x8, [sp]
LBB0_17:
add x8, x21, x22, lsl #7
sub x1, x8, #128
add x22, sp, #32
add x0, sp, #32
mov x2, sp
mov w3, #1 ; =0x1
bl _F
cbz w19, LBB0_22
; %bb.18:
mov x8, #0 ; =0x0
add x9, sp, #96
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_20 Depth=1
ldrb w10, [x9, x10]
strb w10, [x20, x8]
add x8, x8, #1
cmp x19, x8
b.eq LBB0_22
LBB0_20: ; =>This Inner Loop Header: Depth=1
ands x10, x8, #0x7
b.ne LBB0_19
; %bb.21: ; in Loop: Header=BB0_20 Depth=1
and x11, x8, #0xfffffffffffffff8
ldr x11, [x22, x11]
str x11, [sp, #96]
b LBB0_19
LBB0_22:
mov x0, x21
bl _libmin_free
b LBB0_24
LBB0_23:
mov x20, #0 ; =0x0
LBB0_24:
ldur x8, [x29, #-88]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_26
; %bb.25:
mov x0, x20
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
ldp x20, x19, [sp, #176] ; 16-byte Folded Reload
ldp x22, x21, [sp, #160] ; 16-byte Folded Reload
ldp x24, x23, [sp, #144] ; 16-byte Folded Reload
ldp x26, x25, [sp, #128] ; 16-byte Folded Reload
ldp x28, x27, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #208
ret
LBB0_26:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
sub sp, sp, #608
.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
add x20, sp, #208
Lloh8:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
stur x8, [x29, #-40]
mov w8, #99 ; =0x63
strb w8, [sp, #78]
mov w8, #25185 ; =0x6261
strh w8, [sp, #76]
Lloh11:
adrp x8, l___const.test.abc_answer@PAGE
Lloh12:
add x8, x8, l___const.test.abc_answer@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [x20, #320]
ldp q0, q1, [x8, #32]
stp q0, q1, [x20, #352]
add x0, sp, #76
mov w1, #3 ; =0x3
mov x2, #0 ; =0x0
mov w3, #0 ; =0x0
mov w4, #64 ; =0x40
bl _blake2b
mov x19, x0
sub x0, x29, #112
mov x1, x19
bl _assert_bytes
mov x0, x19
bl _libmin_free
Lloh13:
adrp x8, l___const.test.filled_key@PAGE
Lloh14:
add x8, x8, l___const.test.filled_key@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [sp, #32] ; 32-byte Folded Spill
stp q0, q1, [x20, #256]
ldp q0, q1, [x8, #32]
stp q0, q1, [sp] ; 32-byte Folded Spill
stp q0, q1, [x20, #288]
Lloh15:
adrp x8, l___const.test.key_answer@PAGE
Lloh16:
add x8, x8, l___const.test.key_answer@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [x20, #192]
ldp q0, q1, [x8, #32]
stp q0, q1, [x20, #224]
sub x2, x29, #176
mov x0, #0 ; =0x0
mov x1, #0 ; =0x0
mov w3, #64 ; =0x40
mov w4, #64 ; =0x40
bl _blake2b
mov x19, x0
sub x0, x29, #240
mov x1, x19
bl _assert_bytes
mov x0, x19
bl _libmin_free
strb wzr, [sp, #75]
ldr q2, [sp, #32] ; 16-byte Folded Reload
ldr q0, [sp, #48] ; 16-byte Folded Reload
stp q2, q0, [x20, #128]
ldr q2, [sp] ; 16-byte Folded Reload
ldr q0, [sp, #16] ; 16-byte Folded Reload
stp q2, q0, [x20, #160]
Lloh17:
adrp x8, l___const.test.zero_answer@PAGE
Lloh18:
add x8, x8, l___const.test.zero_answer@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [x20, #64]
ldp q0, q1, [x8, #32]
stp q0, q1, [x20, #96]
add x0, sp, #75
add x2, sp, #336
mov w1, #1 ; =0x1
mov w3, #64 ; =0x40
mov w4, #64 ; =0x40
bl _blake2b
mov x19, x0
add x0, sp, #272
mov x1, x19
bl _assert_bytes
mov x0, x19
bl _libmin_free
ldp q1, q0, [sp, #32] ; 32-byte Folded Reload
stp q1, q0, [x20]
ldp q3, q2, [sp] ; 32-byte Folded Reload
stp q3, q2, [x20, #32]
stp q1, q0, [sp, #144]
stp q3, q2, [sp, #176]
Lloh19:
adrp x8, l___const.test.filled_answer@PAGE
Lloh20:
add x8, x8, l___const.test.filled_answer@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [sp, #80]
ldp q0, q1, [x8, #32]
stp q0, q1, [sp, #112]
add x0, sp, #208
add x2, sp, #144
mov w1, #64 ; =0x40
mov w3, #64 ; =0x40
mov w4, #64 ; =0x40
bl _blake2b
mov x19, x0
add x0, sp, #80
mov x1, x19
bl _assert_bytes
mov x0, x19
bl _libmin_free
Lloh21:
adrp x0, l_.str@PAGE
Lloh22:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
bl _libmin_success
ldur x8, [x29, #-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 LBB1_2
; %bb.1:
mov w0, #0 ; =0x0
add sp, sp, #608
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #48 ; 16-byte Folded Reload
ret
LBB1_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function F
_F: ; @F
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-64]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
mov x8, #0 ; =0x0
ldp x16, x12, [x0]
ldp x11, x13, [x0, #16]
ldp x7, x4, [x0, #32]
mov x9, #33489 ; =0x82d1
movk x9, #44518, lsl #16
movk x9, #21119, lsl #32
movk x9, #20750, lsl #48
ldp x10, x14, [x2]
eor x19, x10, x9
mov x9, #27679 ; =0x6c1f
movk x9, #11070, lsl #16
movk x9, #26764, lsl #32
movk x9, #39685, lsl #48
eor x6, x14, x9
cmp w3, #0
mov x9, #48491 ; =0xbd6b
movk x9, #64321, lsl #16
movk x9, #55723, lsl #32
movk x9, #8067, lsl #48
ldp x17, x14, [x0, #48]
cinv x2, x9, ne
mov x15, #14065 ; =0x36f1
movk x15, #24349, lsl #16
movk x15, #62778, lsl #32
movk x15, #42319, lsl #48
mov x10, #8569 ; =0x2179
movk x10, #4990, lsl #16
movk x10, #52505, lsl #32
movk x10, #23520, lsl #48
mov x5, #63531 ; =0xf82b
movk x5, #65172, lsl #16
movk x5, #62322, lsl #32
movk x5, #15470, lsl #48
mov x21, #42811 ; =0xa73b
movk x21, #33994, lsl #16
movk x21, #44677, lsl #32
movk x21, #47975, lsl #48
mov x20, #51464 ; =0xc908
movk x20, #62396, lsl #16
movk x20, #58983, lsl #32
movk x20, #27145, lsl #48
Lloh26:
adrp x9, _blake2b_sigma@PAGE
Lloh27:
add x9, x9, _blake2b_sigma@PAGEOFF
LBB2_1: ; =>This Inner Loop Header: Depth=1
add x3, x9, x8
ldrb w22, [x3]
ldr x22, [x1, x22, lsl #3]
ldrb w23, [x3, #1]
ldr x23, [x1, x23, lsl #3]
add x16, x7, x16
add x16, x16, x22
eor x19, x19, x16
ldrb w22, [x3, #2]
ldr x22, [x1, x22, lsl #3]
ldrb w24, [x3, #3]
ror x19, x19, #32
ldr x24, [x1, x24, lsl #3]
add x12, x4, x12
add x12, x12, x22
add x20, x20, x19
eor x7, x20, x7
eor x6, x6, x12
ror x6, x6, #32
add x21, x21, x6
ror x7, x7, #24
eor x4, x21, x4
ldrb w22, [x3, #4]
ldr x22, [x1, x22, lsl #3]
ror x4, x4, #24
ldrb w25, [x3, #5]
ldr x25, [x1, x25, lsl #3]
add x11, x17, x11
add x16, x16, x23
add x16, x16, x7
add x11, x11, x22
eor x2, x2, x11
ror x22, x2, #32
add x12, x12, x24
add x12, x12, x4
add x5, x5, x22
eor x17, x5, x17
ror x23, x17, #24
ldrb w17, [x3, #6]
eor x2, x16, x19
ldr x17, [x1, x17, lsl #3]
eor x6, x12, x6
add x11, x11, x25
ror x19, x2, #16
add x2, x11, x23
ldrb w11, [x3, #7]
ldr x24, [x1, x11, lsl #3]
ror x11, x6, #16
eor x6, x2, x22
add x13, x14, x13
add x22, x13, x17
eor x10, x10, x22
ror x13, x6, #16
ror x6, x10, #32
add x25, x15, x6
eor x14, x25, x14
add x10, x19, x20
eor x15, x10, x7
ror x7, x14, #24
add x17, x11, x21
eor x4, x17, x4
ror x14, x15, #63
add x5, x13, x5
eor x20, x5, x23
add x15, x22, x24
add x15, x15, x7
ror x4, x4, #63
eor x6, x15, x6
ror x6, x6, #16
add x21, x6, x25
ror x20, x20, #63
eor x7, x21, x7
ldrb w22, [x3, #8]
ldr x22, [x1, x22, lsl #3]
ror x7, x7, #63
ldrb w23, [x3, #9]
ldr x23, [x1, x23, lsl #3]
add x16, x16, x22
add x16, x4, x16
eor x6, x16, x6
ldrb w22, [x3, #10]
ldr x22, [x1, x22, lsl #3]
ldrb w24, [x3, #11]
ror x6, x6, #32
ldr x24, [x1, x24, lsl #3]
add x12, x12, x22
add x12, x20, x12
add x5, x6, x5
eor x4, x5, x4
eor x19, x12, x19
ror x19, x19, #32
add x21, x19, x21
ror x4, x4, #24
eor x20, x21, x20
ror x20, x20, #24
add x12, x12, x24
add x16, x16, x23
add x16, x16, x4
add x12, x12, x20
ldrb w22, [x3, #12]
ldr x22, [x1, x22, lsl #3]
ldrb w23, [x3, #13]
eor x6, x16, x6
ldr x23, [x1, x23, lsl #3]
add x2, x2, x22
add x2, x7, x2
eor x11, x2, x11
eor x19, x12, x19
ror x22, x11, #32
add x24, x22, x10
eor x11, x24, x7
ror x10, x6, #16
ror x7, x11, #24
add x11, x2, x23
add x11, x11, x7
ror x19, x19, #16
eor x2, x11, x22
ldrb w6, [x3, #14]
ldr x22, [x1, x6, lsl #3]
ror x6, x2, #16
ldrb w2, [x3, #15]
ldr x2, [x1, x2, lsl #3]
add x5, x10, x5
eor x3, x5, x4
add x15, x15, x22
add x4, x15, x14
eor x13, x4, x13
ror x22, x13, #32
add x15, x19, x21
eor x21, x15, x20
add x23, x22, x17
eor x13, x23, x14
ror x25, x13, #24
add x20, x6, x24
eor x14, x20, x7
add x13, x4, x2
add x13, x13, x25
eor x2, x13, x22
ror x4, x3, #63
ror x17, x21, #63
ror x2, x2, #16
ror x14, x14, #63
add x21, x2, x23
eor x3, x21, x25
ror x7, x3, #63
add x8, x8, #16
cmp x8, #192
b.ne LBB2_1
; %bb.2:
ldp x8, x9, [x0]
eor x8, x16, x8
eor x8, x8, x20
eor x9, x12, x9
eor x9, x9, x21
stp x8, x9, [x0]
ldp x8, x9, [x0, #16]
eor x8, x11, x8
eor x8, x8, x5
eor x9, x13, x9
eor x9, x9, x15
stp x8, x9, [x0, #16]
ldp x8, x9, [x0, #32]
eor x8, x8, x19
eor x8, x7, x8
eor x9, x9, x6
eor x9, x4, x9
stp x8, x9, [x0, #32]
ldp x8, x9, [x0, #48]
eor x8, x8, x2
eor x8, x17, x8
eor x9, x9, x10
eor x9, x14, x9
stp x8, x9, [x0, #48]
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], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh26, Lloh27
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function assert_bytes
_assert_bytes: ; @assert_bytes
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
cbz x0, LBB3_7
; %bb.1:
cbz x19, LBB3_8
LBB3_2:
adrp x8, _testnum@PAGE
ldr w9, [x8, _testnum@PAGEOFF]
add w10, w9, #1
str w10, [x8, _testnum@PAGEOFF]
str x9, [sp]
Lloh28:
adrp x0, l_.str.1@PAGE
Lloh29:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
Lloh30:
adrp x0, l_.str.2@PAGE
Lloh31:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov x22, #0 ; =0x0
Lloh32:
adrp x21, l_.str.3@PAGE
Lloh33:
add x21, x21, l_.str.3@PAGEOFF
b LBB3_4
LBB3_3: ; in Loop: Header=BB3_4 Depth=1
add x22, x22, #1
cmp x22, #64
b.eq LBB3_6
LBB3_4: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x19, x22]
str x8, [sp]
mov x0, x21
bl _libmin_printf
ldrb w8, [x20, x22]
ldrb w9, [x19, x22]
cmp w8, w9
b.eq LBB3_3
; %bb.5: ; in Loop: Header=BB3_4 Depth=1
mov w0, #1 ; =0x1
bl _libmin_fail
b LBB3_3
LBB3_6:
Lloh34:
adrp x0, l_.str.4@PAGE
Lloh35:
add x0, x0, l_.str.4@PAGEOFF
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _libmin_printf
LBB3_7:
mov w0, #1 ; =0x1
bl _libmin_fail
cbnz x19, LBB3_2
LBB3_8:
mov w0, #1 ; =0x1
bl _libmin_fail
b LBB3_2
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.globl _testnum ; @testnum
.zerofill __DATA,__common,_testnum,4,2
.section __TEXT,__const
.p2align 3, 0x0 ; @blake2b_iv
_blake2b_iv:
.quad 7640891576956012808 ; 0x6a09e667f3bcc908
.quad -4942790177534073029 ; 0xbb67ae8584caa73b
.quad 4354685564936845355 ; 0x3c6ef372fe94f82b
.quad -6534734903238641935 ; 0xa54ff53a5f1d36f1
.quad 5840696475078001361 ; 0x510e527fade682d1
.quad -7276294671716946913 ; 0x9b05688c2b3e6c1f
.quad 2270897969802886507 ; 0x1f83d9abfb41bd6b
.quad 6620516959819538809 ; 0x5be0cd19137e2179
_blake2b_sigma: ; @blake2b_sigma
.ascii "\000\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017"
.ascii "\016\n\004\b\t\017\r\006\001\f\000\002\013\007\005\003"
.ascii "\013\b\f\000\005\002\017\r\n\016\003\006\007\001\t\004"
.ascii "\007\t\003\001\r\f\013\016\002\006\005\n\004\000\017\b"
.ascii "\t\000\005\007\002\004\n\017\016\001\013\f\006\b\003\r"
.ascii "\002\f\006\n\000\013\b\003\004\r\007\005\017\016\001\t"
.ascii "\f\005\001\017\016\r\004\n\000\007\006\003\t\002\b\013"
.ascii "\r\013\007\016\f\001\003\t\005\000\017\004\b\006\002\n"
.ascii "\006\017\016\t\013\003\000\b\f\002\r\007\001\004\n\005"
.asciz "\n\002\b\004\007\006\001\005\017\013\t\016\003\f\r"
.ascii "\000\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017"
.ascii "\016\n\004\b\t\017\r\006\001\f\000\002\013\007\005\003"
l___const.test.abc: ; @__const.test.abc
.ascii "abc"
l___const.test.abc_answer: ; @__const.test.abc_answer
.ascii "\272\200\245?\230\034M\rj'\227\266\237\022\366\351L!/\024hZ\304\267K\022\273o\333\377\242\321}\207\3059*\253y-\302R\325\336E3\314\225\030\323\212\250\333\361\222Z\271#\206\355\324\000\231#"
l___const.test.key_answer: ; @__const.test.key_answer
.ascii "\020\353\266w\000\261\206\216\373D\027\230z\317F\220\256\235\227/\267\245\220\302\360(qy\232\252G\206\265\351\226\350\360\364\353\230\037\302\024\260\005\364-/\364#4\2319\026S\337z\357\313\301?\305\025h"
l___const.test.zero_answer: ; @__const.test.zero_answer
.ascii "\226\037m\321\344\3350\3669\001i\fQ.x\344\264^GB\355\031|<^E\305I\375%\362\344\030{\013\311\3760I+\026\260\320\274N\371\260\363Lp\003\372\300\232^\361S.iC\0024\316\275"
l___const.test.filled_key: ; @__const.test.filled_key
.ascii "\000\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 !\"#$%&'()*+,-./0123456789:;<=>?"
l___const.test.filled_answer: ; @__const.test.filled_answer
.ascii "egm\200\006\027\227/\275\207\344\271QN\034g@+z3\020\226\323\277\254\"\361\253\271St\253\311B\361n\232\260\352\323;\207\311\031h\246\345\t\341\031\377\007x{>\364\203\341\334\334\317n0\""
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "INFO: All tests have successfully passed!\n"
l_.str.1: ; @.str.1
.asciz "Test #%d:\n"
l_.str.2: ; @.str.2
.asciz "Expected[] = { "
l_.str.3: ; @.str.3
.asciz "0x%02x "
l_.str.4: ; @.str.4
.asciz " }\n"
.subsections_via_symbols
|
spelt2num.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _n@GOTPCREL(%rip), %rdi
movq (%rdi), %rax
movq _p(%rip), %r10
movq _b@GOTPCREL(%rip), %r8
movq (%r8), %r13
movq _m@GOTPCREL(%rip), %r9
movq (%r9), %rsi
leaq L_.str.1(%rip), %r11
movabsq $3353953467947191203, %rbx ## imm = 0x2E8BA2E8BA2E8BA3
leaq L_.str.2(%rip), %r14
## implicit-def: $r12d
jmp LBB0_3
.p2align 4, 0x90
LBB0_1: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %r15
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
movq %rcx, %rax
imulq %rbx
movq %rdx, %rax
shrq $63, %rax
sarq %rdx
addq %rax, %rdx
leaq (%rdx,%rdx,4), %rax
leaq (%rdx,%rax,2), %rax
subq %rax, %rcx
movq %rcx, (%rdi)
movsbl (%r14,%rcx), %eax
cmpl %eax, %r12d
leaq (%rcx,%r15,8), %r13
cmovneq %r15, %r13
movq %r13, (%r8)
movq %rcx, %rax
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
leaq 1(%rax), %rcx
movq %rcx, (%rdi)
testq %rax, %rax
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq 1(%r10), %rax
movq %rax, _p(%rip)
movzbl (%r10), %r12d
movq %rax, %r10
testb %r12b, %r12b
jle LBB0_25
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
cmpl $46, %r12d
jg LBB0_1
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
testq %r13, %r13
je LBB0_1
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
leaq 63(%r13), %rax
testq %r13, %r13
cmovnsq %r13, %rax
andq $-64, %rax
movq %r13, %rbx
subq %rax, %rbx
xorl %r8d, %r8d
cmpq $25, %rbx
sete %r8b
shlq $4, %r8
movl $19, %r14d
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl $6177, %ecx ## imm = 0x1821
cmpq $6177, %r14 ## imm = 0x1821
ja LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
movl $6177, %eax ## imm = 0x1821
xorl %edx, %edx
divl %r14d
movl %edx, %ecx
LBB0_10: ## in Loop: Header=BB0_8 Depth=2
leaq -1(%r14), %r15
shll $2, %ecx
movl $1, %edi
## kill: def $cl killed $cl killed $rcx
shlq %cl, %rdi
movzbl (%r15,%r11), %eax
addb $-42, %al
movzbl %al, %eax
cmpq %rax, %r13
jne LBB0_21
## %bb.11: ## in Loop: Header=BB0_8 Depth=2
movq %r15, %rax
cmpq $16, %r14
ja LBB0_20
## %bb.12: ## in Loop: Header=BB0_8 Depth=2
cmpq $11, %r14
jb LBB0_15
## %bb.13: ## in Loop: Header=BB0_8 Depth=2
movq %rsi, %rax
orq %rdi, %rax
shrq $32, %rax
je LBB0_18
## %bb.14: ## in Loop: Header=BB0_8 Depth=2
movq %rsi, %rax
cqto
idivq %rdi
jmp LBB0_19
LBB0_15: ## in Loop: Header=BB0_8 Depth=2
cmpq $24, %rbx
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_8 Depth=2
movq %r15, %rax
shlq $4, %rax
jmp LBB0_20
LBB0_17: ## in Loop: Header=BB0_8 Depth=2
leaq (%r15,%r8), %rax
jmp LBB0_20
LBB0_18: ## in Loop: Header=BB0_8 Depth=2
movl %esi, %eax
xorl %edx, %edx
divl %edi
## kill: def $edx killed $edx def $rdx
LBB0_19: ## in Loop: Header=BB0_8 Depth=2
decq %rdi
imulq %rdx, %rdi
movq %rdi, %rax
LBB0_20: ## in Loop: Header=BB0_8 Depth=2
addq %rax, %rsi
movq %rsi, (%r9)
xorl %r13d, %r13d
LBB0_21: ## in Loop: Header=BB0_8 Depth=2
movq %r15, %r14
testq %r15, %r15
jne LBB0_8
## %bb.22: ## in Loop: Header=BB0_8 Depth=2
leaq 7(%r13), %r15
testq %r13, %r13
cmovnsq %r13, %r15
sarq $3, %r15
addq $-8, %r13
movl $19, %r14d
cmpq $-15, %r13
movq %r15, %r13
jb LBB0_8
## %bb.23: ## in Loop: Header=BB0_3 Depth=1
movq _u@GOTPCREL(%rip), %rax
movq $1, (%rax)
xorl %ecx, %ecx
movq _n@GOTPCREL(%rip), %rdi
movq _b@GOTPCREL(%rip), %r8
movabsq $3353953467947191203, %rbx ## imm = 0x2E8BA2E8BA2E8BA3
leaq L_.str.2(%rip), %r14
jmp LBB0_2
LBB0_25:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
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 "fifty-two trillion six-hundred and seventy five million and sixty-one thousand and five-hundred sixty-two\n"
.section __DATA,__data
.globl _p ## @p
.p2align 3, 0x0
_p:
.quad L_.str
.comm _n,8,3 ## @n
.comm _b,8,3 ## @b
.comm _u,8,3 ## @u
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "1+DIY/.K430x9G(kC["
.comm _m,8,3 ## @m
L_.str.2: ## @.str.2
.asciz "ynwtsflrabg"
L_.str.3: ## @.str.3
.asciz "%llx\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _n@GOTPAGE
Lloh1:
ldr x8, [x8, _n@GOTPAGEOFF]
ldr x6, [x8]
adrp x9, _p@PAGE
ldr x13, [x9, _p@PAGEOFF]
Lloh2:
adrp x10, _b@GOTPAGE
Lloh3:
ldr x10, [x10, _b@GOTPAGEOFF]
Lloh4:
adrp x12, _m@GOTPAGE
Lloh5:
ldr x12, [x12, _m@GOTPAGEOFF]
ldr x4, [x10]
ldr x11, [x12]
mov w14, #6177 ; =0x1821
mov w15, #1 ; =0x1
Lloh6:
adrp x16, l_.str.1@PAGE
Lloh7:
add x16, x16, l_.str.1@PAGEOFF
Lloh8:
adrp x17, _u@GOTPAGE
Lloh9:
ldr x17, [x17, _u@GOTPAGEOFF]
mov x0, #35747 ; =0x8ba3
movk x0, #47662, lsl #16
movk x0, #41704, lsl #32
movk x0, #11915, lsl #48
mov w1, #11 ; =0xb
Lloh10:
adrp x2, l_.str.2@PAGE
Lloh11:
add x2, x2, l_.str.2@PAGEOFF
; implicit-def: $w3
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
mov x7, x4
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
smulh x4, x5, x0
asr x6, x4, #1
add x4, x6, x4, lsr #63
msub x6, x4, x1, x5
str x6, [x8]
ldrsb w4, [x2, x6]
add x5, x6, x7, lsl #3
cmp w3, w4
csel x4, x5, x7, eq
str x4, [x10]
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
add x5, x6, #1
str x5, [x8]
cbnz x6, LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x6, x13, #1
str x6, [x9, _p@PAGEOFF]
ldrsb w13, [x13]
cmp w13, #1
b.lt LBB0_20
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
and w3, w13, #0xff
mov x13, x6
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
cmp w3, #46
b.gt LBB0_1
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
cbz x4, LBB0_1
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
negs x5, x4
and x5, x5, #0x3f
and x6, x4, #0x3f
csneg x5, x6, x5, mi
cmp x5, #25
cset w6, eq
ubfiz x6, x6, #4, #32
mov w19, #19 ; =0x13
LBB0_9: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
sub x7, x19, #1
ldrb w20, [x16, x7]
sub w20, w20, #42
cmp x4, w20, uxtb
b.ne LBB0_17
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
mov x20, x7
cmp x19, #16
b.hi LBB0_16
; %bb.11: ; in Loop: Header=BB0_9 Depth=2
cmp x19, #11
b.lo LBB0_13
; %bb.12: ; in Loop: Header=BB0_9 Depth=2
udiv x4, x14, x19
msub x4, x4, x19, x14
lsl x4, x4, #2
lsl x4, x15, x4
sdiv x19, x11, x4
msub x19, x19, x4, x11
sub x4, x4, #1
mul x20, x19, x4
b LBB0_16
LBB0_13: ; in Loop: Header=BB0_9 Depth=2
cmp x5, #24
b.ne LBB0_15
; %bb.14: ; in Loop: Header=BB0_9 Depth=2
lsl x20, x7, #4
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_9 Depth=2
add x20, x7, x6
LBB0_16: ; in Loop: Header=BB0_9 Depth=2
mov x4, #0 ; =0x0
add x11, x11, x20
str x11, [x12]
LBB0_17: ; in Loop: Header=BB0_9 Depth=2
mov x19, x7
cbnz x7, LBB0_9
; %bb.18: ; in Loop: Header=BB0_9 Depth=2
add x7, x4, #7
cmp x4, #0
csel x7, x7, x4, lt
asr x7, x7, #3
sub x20, x4, #8
mov w19, #19 ; =0x13
mov x4, x7
cmn x20, #15
b.lo LBB0_9
; %bb.19: ; in Loop: Header=BB0_3 Depth=1
mov x5, #0 ; =0x0
str x15, [x17]
b LBB0_2
LBB0_20:
str x11, [sp]
Lloh12:
adrp x0, l_.str.3@PAGE
Lloh13:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
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 Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "fifty-two trillion six-hundred and seventy five million and sixty-one thousand and five-hundred sixty-two\n"
.section __DATA,__data
.globl _p ; @p
.p2align 3, 0x0
_p:
.quad l_.str
.comm _n,8,3 ; @n
.comm _b,8,3 ; @b
.comm _u,8,3 ; @u
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "1+DIY/.K430x9G(kC["
.comm _m,8,3 ; @m
l_.str.2: ; @.str.2
.asciz "ynwtsflrabg"
l_.str.3: ; @.str.3
.asciz "%llx\n"
.subsections_via_symbols
|
shortest-path.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _floydWarshall ## -- Begin function floydWarshall
.p2align 4, 0x90
_floydWarshall: ## @floydWarshall
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movups (%rdi), %xmm0
movq _dist@GOTPCREL(%rip), %rax
movaps %xmm0, (%rax)
movups 16(%rdi), %xmm0
movaps %xmm0, 16(%rax)
movups 32(%rdi), %xmm0
movaps %xmm0, 32(%rax)
movups 48(%rdi), %xmm0
movaps %xmm0, 48(%rax)
movups 64(%rdi), %xmm0
movaps %xmm0, 64(%rax)
movups 80(%rdi), %xmm0
movaps %xmm0, 80(%rax)
movups 96(%rdi), %xmm0
movaps %xmm0, 96(%rax)
movups 112(%rdi), %xmm0
movaps %xmm0, 112(%rax)
movups 128(%rdi), %xmm0
movaps %xmm0, 128(%rax)
movups 144(%rdi), %xmm0
movaps %xmm0, 144(%rax)
movups 160(%rdi), %xmm0
movaps %xmm0, 160(%rax)
movups 176(%rdi), %xmm0
movaps %xmm0, 176(%rax)
movups 192(%rdi), %xmm0
movaps %xmm0, 192(%rax)
movups 208(%rdi), %xmm0
movaps %xmm0, 208(%rax)
movups 224(%rdi), %xmm0
movaps %xmm0, 224(%rax)
movups 240(%rdi), %xmm0
movaps %xmm0, 240(%rax)
xorl %ecx, %ecx
movq %rax, %rdx
jmp LBB0_1
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
incq %rcx
addq $4, %rdx
cmpq $8, %rcx
je LBB0_20
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
movq %rcx, %rdi
shlq $5, %rdi
leaq (%rax,%rdi), %rsi
addq %rax, %rdi
addq $4, %rdi
xorl %r8d, %r8d
jmp LBB0_2
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_2 Depth=2
addq $32, %r8
cmpq $256, %r8 ## imm = 0x100
je LBB0_19
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rdx,%r8), %r9d
movl (%rsi), %r10d
addl %r9d, %r10d
cmpl (%rax,%r8), %r10d
jge LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=2
movl %r10d, (%rax,%r8)
movl (%rdx,%r8), %r9d
LBB0_4: ## in Loop: Header=BB0_2 Depth=2
movl (%rdi), %r10d
addl %r9d, %r10d
cmpl 4(%rax,%r8), %r10d
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_2 Depth=2
movl %r10d, 4(%rax,%r8)
movl (%rdx,%r8), %r9d
LBB0_6: ## in Loop: Header=BB0_2 Depth=2
movl 4(%rdi), %r10d
addl %r9d, %r10d
cmpl 8(%rax,%r8), %r10d
jge LBB0_8
## %bb.7: ## in Loop: Header=BB0_2 Depth=2
movl %r10d, 8(%rax,%r8)
movl (%rdx,%r8), %r9d
LBB0_8: ## in Loop: Header=BB0_2 Depth=2
movl 8(%rdi), %r10d
addl %r9d, %r10d
cmpl 12(%rax,%r8), %r10d
jge LBB0_10
## %bb.9: ## in Loop: Header=BB0_2 Depth=2
movl %r10d, 12(%rax,%r8)
movl (%rdx,%r8), %r9d
LBB0_10: ## in Loop: Header=BB0_2 Depth=2
movl 12(%rdi), %r10d
addl %r9d, %r10d
cmpl 16(%rax,%r8), %r10d
jge LBB0_12
## %bb.11: ## in Loop: Header=BB0_2 Depth=2
movl %r10d, 16(%rax,%r8)
movl (%rdx,%r8), %r9d
LBB0_12: ## in Loop: Header=BB0_2 Depth=2
movl 16(%rdi), %r10d
addl %r9d, %r10d
cmpl 20(%rax,%r8), %r10d
jge LBB0_14
## %bb.13: ## in Loop: Header=BB0_2 Depth=2
movl %r10d, 20(%rax,%r8)
movl (%rdx,%r8), %r9d
LBB0_14: ## in Loop: Header=BB0_2 Depth=2
movl 20(%rdi), %r10d
addl %r9d, %r10d
cmpl 24(%rax,%r8), %r10d
jge LBB0_16
## %bb.15: ## in Loop: Header=BB0_2 Depth=2
movl %r10d, 24(%rax,%r8)
movl (%rdx,%r8), %r9d
LBB0_16: ## in Loop: Header=BB0_2 Depth=2
addl 24(%rdi), %r9d
cmpl 28(%rax,%r8), %r9d
jge LBB0_18
## %bb.17: ## in Loop: Header=BB0_2 Depth=2
movl %r9d, 28(%rax,%r8)
jmp LBB0_18
LBB0_20:
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 %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
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %r14
leaq L_.str.2(%rip), %r15
leaq L_.str.3(%rip), %r13
xorl %r12d, %r12d
jmp LBB1_1
.p2align 4, 0x90
LBB1_24: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
LBB1_25: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
addq $32, %r12
cmpq $256, %r12 ## imm = 0x100
je LBB1_26
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl (%rbx,%r12), %esi
cmpl $99999, %esi ## imm = 0x1869F
jne LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
jmp LBB1_4
.p2align 4, 0x90
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movl 4(%rbx,%r12), %esi
cmpl $99999, %esi ## imm = 0x1869F
jne LBB1_5
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
jmp LBB1_7
.p2align 4, 0x90
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movl 8(%rbx,%r12), %esi
cmpl $99999, %esi ## imm = 0x1869F
jne LBB1_8
## %bb.9: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
jmp LBB1_10
.p2align 4, 0x90
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
movl 12(%rbx,%r12), %esi
cmpl $99999, %esi ## imm = 0x1869F
jne LBB1_11
## %bb.12: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
jmp LBB1_13
.p2align 4, 0x90
LBB1_11: ## in Loop: Header=BB1_1 Depth=1
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
LBB1_13: ## in Loop: Header=BB1_1 Depth=1
movl 16(%rbx,%r12), %esi
cmpl $99999, %esi ## imm = 0x1869F
jne LBB1_14
## %bb.15: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
jmp LBB1_16
.p2align 4, 0x90
LBB1_14: ## in Loop: Header=BB1_1 Depth=1
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
LBB1_16: ## in Loop: Header=BB1_1 Depth=1
movl 20(%rbx,%r12), %esi
cmpl $99999, %esi ## imm = 0x1869F
jne LBB1_17
## %bb.18: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
jmp LBB1_19
.p2align 4, 0x90
LBB1_17: ## in Loop: Header=BB1_1 Depth=1
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
LBB1_19: ## in Loop: Header=BB1_1 Depth=1
movl 24(%rbx,%r12), %esi
cmpl $99999, %esi ## imm = 0x1869F
jne LBB1_20
## %bb.21: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _libmin_printf
jmp LBB1_22
.p2align 4, 0x90
LBB1_20: ## in Loop: Header=BB1_1 Depth=1
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
LBB1_22: ## in Loop: Header=BB1_1 Depth=1
movl 28(%rbx,%r12), %esi
cmpl $99999, %esi ## imm = 0x1869F
je LBB1_24
## %bb.23: ## in Loop: Header=BB1_1 Depth=1
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB1_25
LBB1_26:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq l___const.main.graph(%rip), %rdi
callq _floydWarshall
movq _dist@GOTPCREL(%rip), %rdi
callq _printSolution
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _dist,256,4 ## @dist
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Following matrix shows the shortest distances between every pair of vertices \n"
L_.str.1: ## @.str.1
.asciz "%7s"
L_.str.2: ## @.str.2
.asciz "INF"
L_.str.3: ## @.str.3
.asciz "%7d"
L_.str.4: ## @.str.4
.asciz "\n"
.section __TEXT,__const
.p2align 4, 0x0 ## @__const.main.graph
l___const.main.graph:
.long 0 ## 0x0
.long 99999 ## 0x1869f
.long 4 ## 0x4
.long 99999 ## 0x1869f
.long 99999 ## 0x1869f
.long 7 ## 0x7
.long 99999 ## 0x1869f
.long 99999 ## 0x1869f
.long 99999 ## 0x1869f
.long 0 ## 0x0
.long 99999 ## 0x1869f
.long 99999 ## 0x1869f
.long 9 ## 0x9
.long 99999 ## 0x1869f
.long 99999 ## 0x1869f
.long 3 ## 0x3
.long 4 ## 0x4
.long 99999 ## 0x1869f
.long 0 ## 0x0
.long 3 ## 0x3
.long 99999 ## 0x1869f
.long 2 ## 0x2
.long 9 ## 0x9
.long 99999 ## 0x1869f
.long 99999 ## 0x1869f
.long 99999 ## 0x1869f
.long 3 ## 0x3
.long 0 ## 0x0
.long 3 ## 0x3
.long 99999 ## 0x1869f
.long 7 ## 0x7
.long 99999 ## 0x1869f
.long 99999 ## 0x1869f
.long 9 ## 0x9
.long 99999 ## 0x1869f
.long 3 ## 0x3
.long 0 ## 0x0
.long 99999 ## 0x1869f
.long 2 ## 0x2
.long 7 ## 0x7
.long 7 ## 0x7
.long 99999 ## 0x1869f
.long 2 ## 0x2
.long 99999 ## 0x1869f
.long 99999 ## 0x1869f
.long 0 ## 0x0
.long 8 ## 0x8
.long 99999 ## 0x1869f
.long 99999 ## 0x1869f
.long 99999 ## 0x1869f
.long 9 ## 0x9
.long 7 ## 0x7
.long 2 ## 0x2
.long 8 ## 0x8
.long 0 ## 0x0
.long 3 ## 0x3
.long 99999 ## 0x1869f
.long 3 ## 0x3
.long 99999 ## 0x1869f
.long 99999 ## 0x1869f
.long 7 ## 0x7
.long 99999 ## 0x1869f
.long 3 ## 0x3
.long 0 ## 0x0
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _floydWarshall ; -- Begin function floydWarshall
.p2align 2
_floydWarshall: ; @floydWarshall
.cfi_startproc
; %bb.0:
mov x8, #0 ; =0x0
Lloh0:
adrp x9, _dist@GOTPAGE
Lloh1:
ldr x9, [x9, _dist@GOTPAGEOFF]
ldp q0, q1, [x0]
stp q0, q1, [x9]
ldp q0, q1, [x0, #32]
stp q0, q1, [x9, #32]
ldp q0, q1, [x0, #64]
stp q0, q1, [x9, #64]
ldp q0, q1, [x0, #96]
stp q0, q1, [x9, #96]
ldp q0, q1, [x0, #128]
stp q0, q1, [x9, #128]
ldp q0, q1, [x0, #160]
stp q0, q1, [x9, #160]
ldp q0, q1, [x0, #192]
stp q0, q1, [x9, #192]
ldp q0, q1, [x0, #224]
mov x10, x9
stp q0, q1, [x9, #224]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add x8, x8, #1
add x10, x10, #4
cmp x8, #8
b.eq LBB0_20
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
mov x11, #0 ; =0x0
add x12, x9, x8, lsl #5
add x13, x12, #4
add x14, x12, #8
add x15, x12, #12
add x16, x12, #16
add x17, x12, #20
add x0, x12, #24
add x1, x12, #28
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=2
add x11, x11, #32
cmp x11, #256
b.eq LBB0_1
LBB0_4: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr w2, [x10, x11]
ldr w3, [x12]
ldr w4, [x9, x11]
add w3, w3, w2
cmp w3, w4
b.ge LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
str w3, [x9, x11]
ldr w2, [x10, x11]
LBB0_6: ; in Loop: Header=BB0_4 Depth=2
ldr w5, [x13]
add x4, x9, x11
add x3, x4, #16
ldr w6, [x4, #4]
add w5, w5, w2
cmp w5, w6
b.ge LBB0_8
; %bb.7: ; in Loop: Header=BB0_4 Depth=2
stur w5, [x3, #-12]
ldr w2, [x10, x11]
LBB0_8: ; in Loop: Header=BB0_4 Depth=2
ldr w5, [x14]
ldr w6, [x4, #8]
add w4, w5, w2
cmp w4, w6
b.ge LBB0_10
; %bb.9: ; in Loop: Header=BB0_4 Depth=2
stur w4, [x3, #-8]
ldr w2, [x10, x11]
LBB0_10: ; in Loop: Header=BB0_4 Depth=2
ldr w4, [x15]
add x3, x9, x11
ldr w5, [x3, #12]
add w4, w4, w2
cmp w4, w5
b.ge LBB0_12
; %bb.11: ; in Loop: Header=BB0_4 Depth=2
add x2, x3, #16
stur w4, [x2, #-4]
ldr w2, [x10, x11]
LBB0_12: ; in Loop: Header=BB0_4 Depth=2
ldr w4, [x16]
ldr w5, [x3, #16]
add w3, w4, w2
cmp w3, w5
b.ge LBB0_14
; %bb.13: ; in Loop: Header=BB0_4 Depth=2
add x2, x9, x11
str w3, [x2, #16]
ldr w2, [x10, x11]
LBB0_14: ; in Loop: Header=BB0_4 Depth=2
ldr w5, [x17]
add x4, x9, x11
add x3, x4, #16
ldr w6, [x4, #20]
add w5, w5, w2
cmp w5, w6
b.ge LBB0_16
; %bb.15: ; in Loop: Header=BB0_4 Depth=2
str w5, [x3, #4]
ldr w2, [x10, x11]
LBB0_16: ; in Loop: Header=BB0_4 Depth=2
ldr w5, [x0]
ldr w6, [x4, #24]
add w4, w5, w2
cmp w4, w6
b.ge LBB0_18
; %bb.17: ; in Loop: Header=BB0_4 Depth=2
str w4, [x3, #8]
ldr w2, [x10, x11]
LBB0_18: ; in Loop: Header=BB0_4 Depth=2
ldr w4, [x1]
add x3, x9, x11
ldr w5, [x3, #28]
add w2, w4, w2
cmp w2, w5
b.ge LBB0_3
; %bb.19: ; in Loop: Header=BB0_4 Depth=2
add x3, x3, #16
str w2, [x3, #12]
b LBB0_3
LBB0_20:
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _printSolution ; -- Begin function printSolution
.p2align 2
_printSolution: ; @printSolution
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
mov w22, #34463 ; =0x869f
movk w22, #1, lsl #16
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov x23, #0 ; =0x0
add x24, x19, #16
Lloh4:
adrp x25, l_.str.2@PAGE
Lloh5:
add x25, x25, l_.str.2@PAGEOFF
Lloh6:
adrp x19, l_.str.1@PAGE
Lloh7:
add x19, x19, l_.str.1@PAGEOFF
Lloh8:
adrp x20, l_.str.4@PAGE
Lloh9:
add x20, x20, l_.str.4@PAGEOFF
Lloh10:
adrp x21, l_.str.3@PAGE
Lloh11:
add x21, x21, l_.str.3@PAGEOFF
b LBB1_3
LBB1_1: ; in Loop: Header=BB1_3 Depth=1
str x25, [sp]
mov x0, x19
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
bl _libmin_printf
mov x0, x20
bl _libmin_printf
add x23, x23, #32
cmp x23, #256
b.eq LBB1_26
LBB1_3: ; =>This Inner Loop Header: Depth=1
add x8, x24, x23
ldur w8, [x8, #-16]
cmp w8, w22
b.ne LBB1_5
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
str x25, [sp]
mov x0, x19
b LBB1_6
LBB1_5: ; in Loop: Header=BB1_3 Depth=1
str x8, [sp]
mov x0, x21
LBB1_6: ; in Loop: Header=BB1_3 Depth=1
bl _libmin_printf
add x8, x24, x23
ldur w8, [x8, #-12]
cmp w8, w22
b.ne LBB1_8
; %bb.7: ; in Loop: Header=BB1_3 Depth=1
str x25, [sp]
mov x0, x19
b LBB1_9
LBB1_8: ; in Loop: Header=BB1_3 Depth=1
str x8, [sp]
mov x0, x21
LBB1_9: ; in Loop: Header=BB1_3 Depth=1
bl _libmin_printf
add x8, x24, x23
ldur w8, [x8, #-8]
cmp w8, w22
b.ne LBB1_11
; %bb.10: ; in Loop: Header=BB1_3 Depth=1
str x25, [sp]
mov x0, x19
b LBB1_12
LBB1_11: ; in Loop: Header=BB1_3 Depth=1
str x8, [sp]
mov x0, x21
LBB1_12: ; in Loop: Header=BB1_3 Depth=1
bl _libmin_printf
add x8, x24, x23
ldur w8, [x8, #-4]
cmp w8, w22
b.ne LBB1_14
; %bb.13: ; in Loop: Header=BB1_3 Depth=1
str x25, [sp]
mov x0, x19
b LBB1_15
LBB1_14: ; in Loop: Header=BB1_3 Depth=1
str x8, [sp]
mov x0, x21
LBB1_15: ; in Loop: Header=BB1_3 Depth=1
bl _libmin_printf
ldr w8, [x24, x23]
cmp w8, w22
b.ne LBB1_17
; %bb.16: ; in Loop: Header=BB1_3 Depth=1
str x25, [sp]
mov x0, x19
b LBB1_18
LBB1_17: ; in Loop: Header=BB1_3 Depth=1
str x8, [sp]
mov x0, x21
LBB1_18: ; in Loop: Header=BB1_3 Depth=1
bl _libmin_printf
add x8, x24, x23
ldr w8, [x8, #4]
cmp w8, w22
b.ne LBB1_20
; %bb.19: ; in Loop: Header=BB1_3 Depth=1
str x25, [sp]
mov x0, x19
b LBB1_21
LBB1_20: ; in Loop: Header=BB1_3 Depth=1
str x8, [sp]
mov x0, x21
LBB1_21: ; in Loop: Header=BB1_3 Depth=1
bl _libmin_printf
add x8, x24, x23
ldr w8, [x8, #8]
cmp w8, w22
b.ne LBB1_23
; %bb.22: ; in Loop: Header=BB1_3 Depth=1
str x25, [sp]
mov x0, x19
b LBB1_24
LBB1_23: ; in Loop: Header=BB1_3 Depth=1
str x8, [sp]
mov x0, x21
LBB1_24: ; in Loop: Header=BB1_3 Depth=1
bl _libmin_printf
add x8, x24, x23
ldr w8, [x8, #12]
cmp w8, w22
b.eq LBB1_1
; %bb.25: ; in Loop: Header=BB1_3 Depth=1
str x8, [sp]
mov x0, x21
b LBB1_2
LBB1_26:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh12:
adrp x0, l___const.main.graph@PAGE
Lloh13:
add x0, x0, l___const.main.graph@PAGEOFF
bl _floydWarshall
Lloh14:
adrp x0, _dist@GOTPAGE
Lloh15:
ldr x0, [x0, _dist@GOTPAGEOFF]
bl _printSolution
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _dist,256,2 ; @dist
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Following matrix shows the shortest distances between every pair of vertices \n"
l_.str.1: ; @.str.1
.asciz "%7s"
l_.str.2: ; @.str.2
.asciz "INF"
l_.str.3: ; @.str.3
.asciz "%7d"
l_.str.4: ; @.str.4
.asciz "\n"
.section __TEXT,__const
.p2align 2, 0x0 ; @__const.main.graph
l___const.main.graph:
.long 0 ; 0x0
.long 99999 ; 0x1869f
.long 4 ; 0x4
.long 99999 ; 0x1869f
.long 99999 ; 0x1869f
.long 7 ; 0x7
.long 99999 ; 0x1869f
.long 99999 ; 0x1869f
.long 99999 ; 0x1869f
.long 0 ; 0x0
.long 99999 ; 0x1869f
.long 99999 ; 0x1869f
.long 9 ; 0x9
.long 99999 ; 0x1869f
.long 99999 ; 0x1869f
.long 3 ; 0x3
.long 4 ; 0x4
.long 99999 ; 0x1869f
.long 0 ; 0x0
.long 3 ; 0x3
.long 99999 ; 0x1869f
.long 2 ; 0x2
.long 9 ; 0x9
.long 99999 ; 0x1869f
.long 99999 ; 0x1869f
.long 99999 ; 0x1869f
.long 3 ; 0x3
.long 0 ; 0x0
.long 3 ; 0x3
.long 99999 ; 0x1869f
.long 7 ; 0x7
.long 99999 ; 0x1869f
.long 99999 ; 0x1869f
.long 9 ; 0x9
.long 99999 ; 0x1869f
.long 3 ; 0x3
.long 0 ; 0x0
.long 99999 ; 0x1869f
.long 2 ; 0x2
.long 7 ; 0x7
.long 7 ; 0x7
.long 99999 ; 0x1869f
.long 2 ; 0x2
.long 99999 ; 0x1869f
.long 99999 ; 0x1869f
.long 0 ; 0x0
.long 8 ; 0x8
.long 99999 ; 0x1869f
.long 99999 ; 0x1869f
.long 99999 ; 0x1869f
.long 9 ; 0x9
.long 7 ; 0x7
.long 2 ; 0x2
.long 8 ; 0x8
.long 0 ; 0x0
.long 3 ; 0x3
.long 99999 ; 0x1869f
.long 3 ; 0x3
.long 99999 ; 0x1869f
.long 99999 ; 0x1869f
.long 7 ; 0x7
.long 99999 ; 0x1869f
.long 3 ; 0x3
.long 0 ; 0x0
.subsections_via_symbols
|
rho-factor.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _factor_worker ## -- Begin function factor_worker
.p2align 4, 0x90
_factor_worker: ## @factor_worker
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _libmin_rand
movl %eax, %esi
incl %esi
cmpq %rbx, %rsi
jb LBB0_2
## %bb.1:
movl %esi, %eax
xorl %edx, %edx
divl %ebx
movl %edx, %esi
LBB0_2:
movl $2, %r8d
movq $-1, %r9
xorl %r10d, %r10d
movq %rsi, %r11
jmp LBB0_3
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_3 Depth=1
movq %rdi, %rcx
LBB0_30: ## in Loop: Header=BB0_3 Depth=1
cmpq $1, %rcx
jne LBB0_31
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
## Child Loop BB0_21 Depth 2
incq %r9
cmpq %r8, %r9
sete %cl
cmoveq %r10, %r9
cmoveq %rsi, %r11
shlq %cl, %r8
movl $0, %eax
testq %rsi, %rsi
je LBB0_17
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %rsi, %rax
orq %rbx, %rax
shrq $32, %rax
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq %rsi, %rax
xorl %edx, %edx
divq %rbx
jmp LBB0_7
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movl %esi, %eax
xorl %edx, %edx
divl %ebx
## kill: def $edx killed $edx def $rdx
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
xorl %eax, %eax
jmp LBB0_8
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_8 Depth=2
movq %rbx, %rcx
LBB0_16: ## in Loop: Header=BB0_8 Depth=2
movq %rsi, %rdi
shrq %rdi
addq %rdx, %rdx
subq %rcx, %rdx
cmpq $1, %rsi
movq %rdi, %rsi
jbe LBB0_17
LBB0_8: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
testb $1, %sil
je LBB0_13
## %bb.9: ## in Loop: Header=BB0_8 Depth=2
movq %rbx, %rcx
subq %rax, %rcx
cmpq %rcx, %rdx
jb LBB0_10
## %bb.11: ## in Loop: Header=BB0_8 Depth=2
movq %rbx, %rcx
jmp LBB0_12
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_8 Depth=2
xorl %ecx, %ecx
LBB0_12: ## in Loop: Header=BB0_8 Depth=2
addq %rdx, %rax
subq %rcx, %rax
LBB0_13: ## in Loop: Header=BB0_8 Depth=2
movq %rbx, %rcx
subq %rdx, %rcx
cmpq %rcx, %rdx
jae LBB0_15
## %bb.14: ## in Loop: Header=BB0_8 Depth=2
xorl %ecx, %ecx
jmp LBB0_16
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %rcx
orq %rbx, %rcx
shrq $32, %rcx
je LBB0_18
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
xorl %edx, %edx
divq %rbx
jmp LBB0_20
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ebx
## kill: def $edx killed $edx def $rdx
LBB0_20: ## in Loop: Header=BB0_3 Depth=1
incq %rdx
cmpq %rbx, %rdx
movl $0, %esi
cmovneq %rdx, %rsi
movq %r11, %rax
subq %rsi, %rax
negq %rax
movq %r11, %rcx
subq %rsi, %rcx
cmovbq %rax, %rcx
movq %rbx, %rdi
jmp LBB0_21
.p2align 4, 0x90
LBB0_27: ## in Loop: Header=BB0_21 Depth=2
movl %edi, %eax
xorl %edx, %edx
divl %ecx
movl %edx, %edi
testq %rdi, %rdi
je LBB0_30
LBB0_21: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %rcx, %rax
orq %rdi, %rax
shrq $32, %rax
je LBB0_22
## %bb.23: ## in Loop: Header=BB0_21 Depth=2
movq %rcx, %rax
xorl %edx, %edx
divq %rdi
movq %rdx, %rcx
testq %rcx, %rcx
jne LBB0_26
jmp LBB0_25
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_21 Depth=2
movl %ecx, %eax
xorl %edx, %edx
divl %edi
movl %edx, %ecx
testq %rcx, %rcx
je LBB0_25
LBB0_26: ## in Loop: Header=BB0_21 Depth=2
movq %rdi, %rax
orq %rcx, %rax
shrq $32, %rax
je LBB0_27
## %bb.28: ## in Loop: Header=BB0_21 Depth=2
movq %rdi, %rax
xorl %edx, %edx
divq %rcx
movq %rdx, %rdi
testq %rdi, %rdi
jne LBB0_21
jmp LBB0_30
LBB0_31:
movq %rcx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _factor ## -- Begin function factor
.p2align 4, 0x90
_factor: ## @factor
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
xorl %r12d, %r12d
jmp LBB1_1
.p2align 4, 0x90
LBB1_46: ## in Loop: Header=BB1_1 Depth=1
movq %r15, %rdi
movq %rbx, %rsi
callq _factor
movq %rax, %rbx
movq %r14, %rax
orq %r15, %rax
shrq $32, %rax
je LBB1_47
## %bb.48: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rax
xorl %edx, %edx
divq %r15
LBB1_49: ## in Loop: Header=BB1_1 Depth=1
movq %rax, %r14
cmpq $1, %rax
jbe LBB1_50
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_7 Depth 2
## Child Loop BB1_18 Depth 2
## Child Loop BB1_23 Depth 3
## Child Loop BB1_36 Depth 3
## Child Loop BB1_5 Depth 2
cmpq $3, %r14
jbe LBB1_2
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
testb $1, %r14b
jne LBB1_6
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rax
.p2align 4, 0x90
LBB1_5: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq $2, (%rbx)
addq $8, %rbx
shrq %rax
testb $2, %r14b
movq %rax, %r14
je LBB1_5
jmp LBB1_49
.p2align 4, 0x90
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
shrq %rdi
.p2align 4, 0x90
LBB1_7: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rax
orq %rdi, %rax
shrq $32, %rax
je LBB1_8
## %bb.9: ## in Loop: Header=BB1_7 Depth=2
movq %r14, %rax
xorl %edx, %edx
divq %rdi
jmp LBB1_10
.p2align 4, 0x90
LBB1_8: ## in Loop: Header=BB1_7 Depth=2
movl %r14d, %eax
xorl %edx, %edx
divl %edi
## kill: def $eax killed $eax def $rax
LBB1_10: ## in Loop: Header=BB1_7 Depth=2
addq %rdi, %rax
shrq %rax
cmpq %rdi, %rax
jae LBB1_12
## %bb.11: ## in Loop: Header=BB1_7 Depth=2
movq %rax, %rdi
jmp LBB1_7
.p2align 4, 0x90
LBB1_12: ## in Loop: Header=BB1_1 Depth=1
movq %rdi, %rax
imulq %rdi, %rax
cmpq %r14, %rax
je LBB1_13
## %bb.14: ## in Loop: Header=BB1_1 Depth=1
movq %r14, %rdi
movl $24, %esi
callq _is_prime
testl %eax, %eax
jne LBB1_2
## %bb.15: ## in Loop: Header=BB1_1 Depth=1
callq _libmin_rand
movl %eax, %esi
incl %esi
cmpq %r14, %rsi
jb LBB1_17
## %bb.16: ## in Loop: Header=BB1_1 Depth=1
movl %esi, %eax
xorl %edx, %edx
divl %r14d
movl %edx, %esi
LBB1_17: ## in Loop: Header=BB1_1 Depth=1
movl $2, %edi
movq $-1, %r8
movq %rsi, %r9
jmp LBB1_18
.p2align 4, 0x90
LBB1_40: ## in Loop: Header=BB1_18 Depth=2
movq %rcx, %r15
LBB1_45: ## in Loop: Header=BB1_18 Depth=2
cmpq $1, %r15
jne LBB1_46
LBB1_18: ## Parent Loop BB1_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_23 Depth 3
## Child Loop BB1_36 Depth 3
incq %r8
cmpq %rdi, %r8
sete %cl
cmoveq %r12, %r8
cmoveq %rsi, %r9
shlq %cl, %rdi
movl $0, %eax
testq %rsi, %rsi
je LBB1_32
## %bb.19: ## in Loop: Header=BB1_18 Depth=2
movq %rsi, %rax
orq %r14, %rax
shrq $32, %rax
je LBB1_20
## %bb.21: ## in Loop: Header=BB1_18 Depth=2
movq %rsi, %rax
xorl %edx, %edx
divq %r14
jmp LBB1_22
.p2align 4, 0x90
LBB1_20: ## in Loop: Header=BB1_18 Depth=2
movl %esi, %eax
xorl %edx, %edx
divl %r14d
## kill: def $edx killed $edx def $rdx
LBB1_22: ## in Loop: Header=BB1_18 Depth=2
xorl %eax, %eax
jmp LBB1_23
.p2align 4, 0x90
LBB1_30: ## in Loop: Header=BB1_23 Depth=3
movq %r14, %rcx
LBB1_31: ## in Loop: Header=BB1_23 Depth=3
movq %rsi, %r10
shrq %r10
addq %rdx, %rdx
subq %rcx, %rdx
cmpq $1, %rsi
movq %r10, %rsi
jbe LBB1_32
LBB1_23: ## Parent Loop BB1_1 Depth=1
## Parent Loop BB1_18 Depth=2
## => This Inner Loop Header: Depth=3
testb $1, %sil
je LBB1_28
## %bb.24: ## in Loop: Header=BB1_23 Depth=3
movq %r14, %rcx
subq %rax, %rcx
cmpq %rcx, %rdx
jb LBB1_25
## %bb.26: ## in Loop: Header=BB1_23 Depth=3
movq %r14, %rcx
jmp LBB1_27
.p2align 4, 0x90
LBB1_25: ## in Loop: Header=BB1_23 Depth=3
xorl %ecx, %ecx
LBB1_27: ## in Loop: Header=BB1_23 Depth=3
addq %rdx, %rax
subq %rcx, %rax
LBB1_28: ## in Loop: Header=BB1_23 Depth=3
movq %r14, %rcx
subq %rdx, %rcx
cmpq %rcx, %rdx
jae LBB1_30
## %bb.29: ## in Loop: Header=BB1_23 Depth=3
xorl %ecx, %ecx
jmp LBB1_31
.p2align 4, 0x90
LBB1_32: ## in Loop: Header=BB1_18 Depth=2
movq %rax, %rcx
orq %r14, %rcx
shrq $32, %rcx
je LBB1_33
## %bb.34: ## in Loop: Header=BB1_18 Depth=2
xorl %edx, %edx
divq %r14
jmp LBB1_35
.p2align 4, 0x90
LBB1_33: ## in Loop: Header=BB1_18 Depth=2
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %r14d
## kill: def $edx killed $edx def $rdx
LBB1_35: ## in Loop: Header=BB1_18 Depth=2
incq %rdx
cmpq %r14, %rdx
movl $0, %esi
cmovneq %rdx, %rsi
movq %r9, %rax
subq %rsi, %rax
negq %rax
movq %r9, %r15
subq %rsi, %r15
cmovbq %rax, %r15
movq %r14, %rcx
jmp LBB1_36
.p2align 4, 0x90
LBB1_43: ## in Loop: Header=BB1_36 Depth=3
movq %rcx, %rax
xorl %edx, %edx
divq %r15
movq %rdx, %rcx
testq %rcx, %rcx
je LBB1_45
LBB1_36: ## Parent Loop BB1_1 Depth=1
## Parent Loop BB1_18 Depth=2
## => This Inner Loop Header: Depth=3
movq %r15, %rax
orq %rcx, %rax
shrq $32, %rax
je LBB1_37
## %bb.38: ## in Loop: Header=BB1_36 Depth=3
movq %r15, %rax
xorl %edx, %edx
divq %rcx
movq %rdx, %r15
testq %r15, %r15
jne LBB1_41
jmp LBB1_40
.p2align 4, 0x90
LBB1_37: ## in Loop: Header=BB1_36 Depth=3
movl %r15d, %eax
xorl %edx, %edx
divl %ecx
movl %edx, %r15d
testq %r15, %r15
je LBB1_40
LBB1_41: ## in Loop: Header=BB1_36 Depth=3
movq %rcx, %rax
orq %r15, %rax
shrq $32, %rax
jne LBB1_43
## %bb.42: ## in Loop: Header=BB1_36 Depth=3
movl %ecx, %eax
xorl %edx, %edx
divl %r15d
movl %edx, %ecx
testq %rcx, %rcx
jne LBB1_36
jmp LBB1_45
LBB1_47: ## in Loop: Header=BB1_1 Depth=1
movl %r14d, %eax
xorl %edx, %edx
divl %r15d
## kill: def $eax killed $eax def $rax
jmp LBB1_49
LBB1_2:
movq %r14, (%rbx)
addq $8, %rbx
jmp LBB1_50
LBB1_13:
movq %rbx, %rsi
callq _factor
movq %rax, %r14
subq %rbx, %r14
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq _libmin_memcpy
leaq (%rbx,%r14,2), %rbx
LBB1_50:
movq $0, (%rbx)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function is_prime
_is_prime: ## @is_prime
.cfi_startproc
## %bb.0:
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 %rdi, %rbx
cmpq $1, %rdi
setne %al
movl %ebx, %ecx
andb $1, %cl
cmpb %cl, %al
je LBB2_2
## %bb.1:
cmpq $2, %rbx
sete %dil
jmp LBB2_302
LBB2_2:
cmpq $4669920, %rbx ## imm = 0x4741E0
ja LBB2_6
## %bb.3:
movl %ebx, %edx
andl $1, %edx
cmpq $6, %rbx
movl $545925292, %eax ## imm = 0x208A28AC
movl $545925250, %esi ## imm = 0x208A2882
cmovbl %eax, %esi
movl %ebx, %eax
movl $2290649225, %ecx ## imm = 0x88888889
imulq %rax, %rcx
shrq $36, %rcx
movl %ecx, %edi
shll $5, %edi
addl %ecx, %ecx
subl %edi, %ecx
addl %ebx, %ecx
## kill: def $cl killed $cl killed $rcx
shrl %cl, %esi
testl %esi, %edx
je LBB2_301
## %bb.4:
cmpq $49, %rbx
jb LBB2_5
## %bb.72:
imull $1332920885, %ebx, %ecx ## imm = 0x4F72C235
xorl %edi, %edi
cmpl $148102321, %ecx ## imm = 0x8D3DCB1
jb LBB2_302
## %bb.73:
movl $2987803337, %ecx ## imm = 0xB21642C9
imulq %rax, %rcx
shrq $36, %rcx
leal (%rcx,%rcx,2), %edx
shll $3, %edx
subl %edx, %ecx
addl %ebx, %ecx
je LBB2_302
## %bb.74:
movl $2938661835, %ecx ## imm = 0xAF286BCB
imulq %rax, %rcx
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $4, %edx
leal (%rdx,%rdx,8), %ecx
leal (%rdx,%rcx,2), %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.75:
movl $4042322161, %ecx ## imm = 0xF0F0F0F1
imulq %rax, %rcx
shrq $36, %rcx
movl %ecx, %edx
shll $4, %edx
addl %ecx, %edx
movl %ebx, %ecx
subl %edx, %ecx
je LBB2_302
## %bb.76:
imulq $1321528399, %rax, %rcx ## imm = 0x4EC4EC4F
shrq $34, %rcx
leal (%rcx,%rcx,2), %edx
leal (%rcx,%rdx,4), %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.77:
imulq $613566757, %rax, %rcx ## imm = 0x24924925
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $2, %edx
leal (,%rdx,8), %ecx
subl %ecx, %edx
addl %ebx, %edx
je LBB2_302
## %bb.78:
movl $3123612579, %ecx ## imm = 0xBA2E8BA3
imulq %rax, %rcx
shrq $35, %rcx
leal (%rcx,%rcx,4), %edx
leal (%rcx,%rdx,2), %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.79:
cmpq $961, %rbx ## imm = 0x3C1
jb LBB2_5
## %bb.80:
imull $128207979, %ebx, %ecx ## imm = 0x7A44C6B
xorl %edi, %edi
cmpl $64103990, %ecx ## imm = 0x3D22636
jb LBB2_302
## %bb.81:
imulq $1126548799, %rax, %rcx ## imm = 0x4325C53F
shrq $36, %rcx
imull $61, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.82:
imulq $582368447, %rax, %rcx ## imm = 0x22B63CBF
shrq $35, %rcx
imull $59, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.83:
imulq $891408307, %rax, %rcx ## imm = 0x3521CFB3
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $5, %edx
imull $53, %edx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.84:
movl $2924233053, %ecx ## imm = 0xAE4C415D
imulq %rax, %rcx
shrq $37, %rcx
imull $47, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.85:
imulq $799063683, %rax, %rcx ## imm = 0x2FA0BE83
shrq $35, %rcx
imull $43, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.86:
movl $3352169597, %ecx ## imm = 0xC7CE0C7D
imulq %rax, %rcx
shrq $37, %rcx
leal (%rcx,%rcx,4), %edx
leal (%rcx,%rdx,8), %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.87:
imulq $138547333, %rax, %rcx ## imm = 0x8421085
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $4, %edx
movl %edx, %ecx
shll $5, %ecx
subl %ecx, %edx
addl %ebx, %edx
je LBB2_302
## %bb.88:
movl $3134165325, %ecx ## imm = 0xBACF914D
imulq %rax, %rcx
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $5, %edx
leal (%rdx,%rdx,8), %ecx
leal (%rdx,%rcx,4), %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.89:
cmpq $5041, %rbx ## imm = 0x13B1
jb LBB2_5
## %bb.90:
imull $-1926714301, %ebx, %ecx ## imm = 0x8D28AC43
xorl %edi, %edi
cmpl $40139882, %ecx ## imm = 0x2647C6A
jb LBB2_302
## %bb.91:
imulq $1042467791, %rax, %rcx ## imm = 0x3E22CBCF
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $6, %edx
imull $103, %edx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.92:
imulq $1148159575, %rax, %rcx ## imm = 0x446F8657
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $6, %edx
imull $101, %edx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.93:
imulq $1372618415, %rax, %rcx ## imm = 0x51D07EAF
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $6, %edx
imull $97, %edx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.94:
movl $3088515809, %ecx ## imm = 0xB81702E1
imulq %rax, %rcx
shrq $38, %rcx
imull $89, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.95:
imulq $827945503, %rax, %rcx ## imm = 0x3159721F
shrq $36, %rcx
imull $83, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.96:
movl $3479467177, %ecx ## imm = 0xCF6474A9
imulq %rax, %rcx
shrq $38, %rcx
imull $79, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.97:
movl $3871519817, %ecx ## imm = 0xE6C2B449
imulq %rax, %rcx
shrq $38, %rcx
imull $71, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.98:
movl $3235934265, %ecx ## imm = 0xC0E07039
imulq %rax, %rcx
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $6, %edx
leal (%rdx,%rdx,8), %ecx
leal (%rdx,%rcx,8), %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.99:
cmpq $11881, %rbx ## imm = 0x2E69
jb LBB2_5
## %bb.100:
imull $738624949, %ebx, %ecx ## imm = 0x2C0685B5
xorl %edi, %edi
cmpl $27356480, %ecx ## imm = 0x1A16D40
jb LBB2_302
## %bb.101:
imulq $910191745, %rax, %rcx ## imm = 0x36406C81
shrq $37, %rcx
imull $151, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.102:
movl $3689636335, %ecx ## imm = 0xDBEB61EF
imulq %rax, %rcx
shrq $39, %rcx
imull $149, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.103:
imulq $1977538899, %rax, %rcx ## imm = 0x75DED953
shrq $38, %rcx
imull $139, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.104:
imulq $125400505, %rax, %rcx ## imm = 0x77975B9
shrq $34, %rcx
imull $137, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.105:
movl $4196609267, %ecx ## imm = 0xFA232CF3
imulq %rax, %rcx
shrq $39, %rcx
imull $131, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.106:
imulq $33818641, %rax, %rcx ## imm = 0x2040811
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $6, %edx
movl %edx, %ecx
shll $7, %ecx
subl %ecx, %edx
addl %ebx, %edx
je LBB2_302
## %bb.107:
imulq $748664025, %rax, %rcx ## imm = 0x2C9FB4D9
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $6, %edx
imull $109, %edx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.108:
imulq $570128403, %rax, %rcx ## imm = 0x21FB7813
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $6, %edx
imull $113, %edx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.109:
cmpq $26569, %rbx ## imm = 0x67C9
jb LBB2_5
## %bb.110:
imull $-280575753, %ebx, %ecx ## imm = 0xEF46C0F7
xorl %edi, %edi
cmpl $21582751, %ecx ## imm = 0x149539F
jb LBB2_302
## %bb.111:
imulq $1286310003, %rax, %rcx ## imm = 0x4CAB8873
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $7, %edx
imull $197, %edx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.112:
imulq $356059465, %rax, %rcx ## imm = 0x15390949
shrq $36, %rcx
imull $193, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.113:
movl $2878302691, %ecx ## imm = 0xAB8F69E3
imulq %rax, %rcx
shrq $39, %rcx
imull $191, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.114:
movl $3037324939, %ecx ## imm = 0xB509E68B
imulq %rax, %rcx
shrq $39, %rcx
imull $181, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.115:
imulq $1847555765, %rax, %rcx ## imm = 0x6E1F76B5
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $7, %edx
imull $179, %edx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.116:
imulq $2060591247, %rax, %rcx ## imm = 0x7AD2208F
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $7, %edx
imull $173, %edx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.117:
movl $3372735055, %ecx ## imm = 0xC907DA4F
imulq %rax, %rcx
shrq $39, %rcx
imull $163, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.118:
imulq $1645975491, %rax, %rcx ## imm = 0x621B97C3
shrq $38, %rcx
imull $167, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.119:
cmpq $44521, %rbx ## imm = 0xADE9
jb LBB2_5
## %bb.120:
imull $-16711935, %ebx, %ecx ## imm = 0xFF00FF01
cmpl $16711936, %ecx ## imm = 0xFF0100
jb LBB2_301
## %bb.121:
movl $2190262207, %ecx ## imm = 0x828CBFBF
imulq %rax, %rcx
shrq $39, %rcx
imull $251, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.122:
imulq $285143057, %rax, %rcx ## imm = 0x10FEF011
shrq $36, %rcx
imull $241, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.123:
movl $2300233531, %ecx ## imm = 0x891AC73B
imulq %rax, %rcx
shrq $39, %rcx
imull $239, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.124:
imulq $423966729, %rax, %rcx ## imm = 0x19453809
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $7, %edx
imull $233, %edx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.125:
imulq $1200340205, %rax, %rcx ## imm = 0x478BBCED
shrq $38, %rcx
imull $229, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.126:
imulq $548696263, %rax, %rcx ## imm = 0x20B470C7
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $7, %edx
imull $227, %edx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.127:
movl $2605477791, %ecx ## imm = 0x9B4C6F9F
imulq %rax, %rcx
shrq $39, %rcx
imull $211, %ecx, %ecx
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.128:
imulq $635578121, %rax, %rcx ## imm = 0x25E22709
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $7, %edx
imull $223, %edx, %ecx
movl %ebx, %edx
subl %ecx, %edx
movl $0, %edi
je LBB2_302
## %bb.129:
cmpq $69169, %rbx ## imm = 0x10E31
jb LBB2_5
## %bb.130:
imull $-1491499897, %ebx, %ecx ## imm = 0xA7198487
cmpl $13810185, %ecx ## imm = 0xD2BA09
jb LBB2_301
## %bb.131:
movl $3581471101, %ecx ## imm = 0xD578E97D
imulq %rax, %rcx
shrq $40, %rcx
imull $307, %ecx, %ecx ## imm = 0x133
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.132:
movl $3752599413, %ecx ## imm = 0xDFAC1F75
imulq %rax, %rcx
shrq $40, %rcx
imull $293, %ecx, %ecx ## imm = 0x125
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.133:
movl $3885200099, %ecx ## imm = 0xE79372E3
imulq %rax, %rcx
shrq $40, %rcx
imull $283, %ecx, %ecx ## imm = 0x11B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.134:
imulq $122276649, %rax, %rcx ## imm = 0x749CB29
shrq $35, %rcx
imull $281, %ecx, %ecx ## imm = 0x119
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.135:
movl $3969356057, %ecx ## imm = 0xEC979119
imulq %rax, %rcx
shrq $40, %rcx
imull $277, %ecx, %ecx ## imm = 0x115
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.136:
movl $4057238479, %ecx ## imm = 0xF1D48BCF
imulq %rax, %rcx
shrq $40, %rcx
imull $271, %ecx, %ecx ## imm = 0x10F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.137:
imulq $2090326289, %rax, %rcx ## imm = 0x7C97D911
shrq $39, %rcx
imull $263, %ecx, %ecx ## imm = 0x107
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.138:
movl $4087403821, %ecx ## imm = 0xF3A0D52D
imulq %rax, %rcx
shrq $40, %rcx
imull $269, %ecx, %ecx ## imm = 0x10D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.139:
cmpq $97969, %rbx ## imm = 0x17EB1
jb LBB2_5
## %bb.140:
imull $-1217102449, %ebx, %ecx ## imm = 0xB7747D8F
cmpl $11702909, %ecx ## imm = 0xB2927D
jb LBB2_301
## %bb.141:
imulq $1830445673, %rax, %rcx ## imm = 0x6D1A6269
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $8, %edx
imull $359, %edx, %ecx ## imm = 0x167
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.142:
imulq $1934560341, %rax, %rcx ## imm = 0x734F0C55
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $8, %edx
imull $353, %edx, %ecx ## imm = 0x161
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.143:
movl $3150463117, %ecx ## imm = 0xBBC8408D
imulq %rax, %rcx
shrq $40, %rcx
imull $349, %ecx, %ecx ## imm = 0x15D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.144:
imulq $1584310703, %rax, %rcx ## imm = 0x5E6EA9AF
shrq $39, %rcx
imull $347, %ecx, %ecx ## imm = 0x15B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.145:
imulq $815661445, %rax, %rcx ## imm = 0x309E0185
shrq $38, %rcx
imull $337, %ecx, %ecx ## imm = 0x151
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.146:
movl $2348607495, %ecx ## imm = 0x8BFCE807
imulq %rax, %rcx
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $8, %edx
imull $331, %edx, %ecx ## imm = 0x14B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.147:
movl $2730666109, %ecx ## imm = 0xA2C2A87D
imulq %rax, %rcx
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $8, %edx
imull $313, %edx, %ecx ## imm = 0x139
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.148:
imulq $867122735, %rax, %rcx ## imm = 0x33AF3E2F
shrq $38, %rcx
imull $317, %ecx, %ecx ## imm = 0x13D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.149:
cmpq $139129, %rbx ## imm = 0x21F79
jb LBB2_5
## %bb.150:
imull $-91816403, %ebx, %ecx ## imm = 0xFA86FE2D
cmpl $10201823, %ecx ## imm = 0x9BAADF
jb LBB2_301
## %bb.151:
imulq $953298231, %rax, %rcx ## imm = 0x38D22D37
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $8, %edx
imull $419, %edx, %ecx ## imm = 0x1A3
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.152:
movl $2688292489, %ecx ## imm = 0xA03C1689
imulq %rax, %rcx
shrq $40, %rcx
imull $409, %ecx, %ecx ## imm = 0x199
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.153:
movl $2741924259, %ecx ## imm = 0xA36E71A3
imulq %rax, %rcx
shrq $40, %rcx
imull $401, %ecx, %ecx ## imm = 0x191
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.154:
imulq $692387675, %rax, %rcx ## imm = 0x2944FF5B
shrq $38, %rcx
imull $397, %ecx, %ecx ## imm = 0x18D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.155:
movl $2826508041, %ecx ## imm = 0xA8791709
imulq %rax, %rcx
shrq $40, %rcx
imull $389, %ecx, %ecx ## imm = 0x185
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.156:
imulq $717696885, %rax, %rcx ## imm = 0x2AC72F75
shrq $38, %rcx
imull $383, %ecx, %ecx ## imm = 0x17F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.157:
imulq $1600537411, %rax, %rcx ## imm = 0x5F664343
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $8, %edx
imull $373, %edx, %ecx ## imm = 0x175
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.158:
imulq $1507204883, %rax, %rcx ## imm = 0x59D61F13
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $8, %edx
imull $379, %edx, %ecx ## imm = 0x17B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.159:
cmpq $185761, %rbx ## imm = 0x2D5A1
jb LBB2_5
## %bb.160:
imull $-82772389, %ebx, %ecx ## imm = 0xFB10FE5B
cmpl $9196933, %ecx ## imm = 0x8C5585
jb LBB2_301
## %bb.161:
imulq $37105549, %rax, %rcx ## imm = 0x2362F8D
shrq $34, %rcx
imull $463, %ecx, %ecx ## imm = 0x1CF
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.162:
movl $2385057761, %ecx ## imm = 0x8E2917E1
imulq %rax, %rcx
shrq $40, %rcx
imull $461, %ecx, %ecx ## imm = 0x1CD
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.163:
imulq $601483385, %rax, %rcx ## imm = 0x23D9E879
shrq $38, %rcx
imull $457, %ecx, %ecx ## imm = 0x1C9
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.164:
movl $2448800953, %ecx ## imm = 0x91F5BCB9
imulq %rax, %rcx
shrq $40, %rcx
imull $449, %ecx, %ecx ## imm = 0x1C1
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.165:
imulq $668967819, %rax, %rcx ## imm = 0x27DFA38B
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $8, %edx
imull $443, %edx, %ecx ## imm = 0x1BB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.166:
imulq $313072787, %rax, %rcx ## imm = 0x12A91C93
shrq $37, %rcx
imull $439, %ecx, %ecx ## imm = 0x1B7
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.167:
imulq $807174829, %rax, %rcx ## imm = 0x301C82AD
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $8, %edx
imull $431, %edx, %ecx ## imm = 0x1AF
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.168:
imulq $158705489, %rax, %rcx ## imm = 0x975A751
shrq $36, %rcx
imull $433, %ecx, %ecx ## imm = 0x1B1
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.169:
cmpq $229441, %rbx ## imm = 0x38041
jb LBB2_5
## %bb.170:
imull $619237429, %ebx, %ecx ## imm = 0x24E8D035
cmpl $7938942, %ecx ## imm = 0x79237E
jb LBB2_301
## %bb.171:
imulq $131394793, %rax, %rcx ## imm = 0x7D4ECE9
shrq $36, %rcx
imull $523, %ecx, %ecx ## imm = 0x20B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.172:
movl $4220774003, %ecx ## imm = 0xFB93E673
imulq %rax, %rcx
shrq $41, %rcx
imull $521, %ecx, %ecx ## imm = 0x209
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.173:
movl $2160140723, %ecx ## imm = 0x80C121B3
imulq %rax, %rcx
shrq $40, %rcx
imull $509, %ecx, %ecx ## imm = 0x1FD
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.174:
movl $2185907809, %ecx ## imm = 0x824A4E61
imulq %rax, %rcx
shrq $40, %rcx
imull $503, %ecx, %ecx ## imm = 0x1F7
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.175:
imulq $550857529, %rax, %rcx ## imm = 0x20D56B39
shrq $38, %rcx
imull $499, %ecx, %ecx ## imm = 0x1F3
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.176:
imulq $183695139, %rax, %rcx ## imm = 0xAF2F723
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $8, %edx
imull $491, %edx, %ecx ## imm = 0x1EB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.177:
imulq $295895451, %rax, %rcx ## imm = 0x11A3019B
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $8, %edx
imull $479, %edx, %ecx ## imm = 0x1DF
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.178:
imulq $1128862041, %rax, %rcx ## imm = 0x43491159
shrq $39, %rcx
imull $487, %ecx, %ecx ## imm = 0x1E7
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.179:
cmpq $299209, %rbx ## imm = 0x490C9
jb LBB2_5
## %bb.180:
imull $824576359, %ebx, %ecx ## imm = 0x31260967
cmpl $7170230, %ecx ## imm = 0x6D68B6
jb LBB2_301
## %bb.181:
imulq $1854151143, %rax, %rcx ## imm = 0x6E8419E7
shrq $40, %rcx
imull $593, %ecx, %ecx ## imm = 0x251
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.182:
movl $3746206569, %ecx ## imm = 0xDF4A9369
imulq %rax, %rcx
shrq $41, %rcx
imull $587, %ecx, %ecx ## imm = 0x24B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.183:
movl $3811132159, %ecx ## imm = 0xE32942FF
imulq %rax, %rcx
shrq $41, %rcx
imull $577, %ecx, %ecx ## imm = 0x241
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.184:
imulq $1925589541, %rax, %rcx ## imm = 0x72C62A25
shrq $40, %rcx
imull $571, %ecx, %ecx ## imm = 0x23B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.185:
imulq $966178935, %rax, %rcx ## imm = 0x3996B877
shrq $39, %rcx
imull $569, %ecx, %ecx ## imm = 0x239
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.186:
movl $3905902763, %ecx ## imm = 0xE8CF58AB
imulq %rax, %rcx
shrq $41, %rcx
imull $563, %ecx, %ecx ## imm = 0x233
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.187:
imulq $1005038051, %rax, %rcx ## imm = 0x3BE7A9E3
shrq $39, %rcx
imull $547, %ecx, %ecx ## imm = 0x223
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.188:
imulq $123374285, %rax, %rcx ## imm = 0x75A8ACD
shrq $36, %rcx
imull $557, %ecx, %ecx ## imm = 0x22D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.189:
cmpq $361201, %rbx ## imm = 0x582F1
jb LBB2_5
## %bb.190:
imull $-1042209993, %ebx, %ecx ## imm = 0xC1E12337
cmpl $6638281, %ecx ## imm = 0x654AC9
jb LBB2_301
## %bb.191:
movl $3419942855, %ecx ## imm = 0xCBD82FC7
imulq %rax, %rcx
shrq $41, %rcx
imull $643, %ecx, %ecx ## imm = 0x283
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.192:
imulq $6700417, %rax, %rcx ## imm = 0x663D81
shrq $32, %rcx
imull $641, %ecx, %ecx ## imm = 0x281
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.193:
imulq $871245347, %rax, %rcx ## imm = 0x33EE2623
shrq $39, %rcx
imull $631, %ecx, %ecx ## imm = 0x277
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.194:
movl $3552541609, %ecx ## imm = 0xD3BF7BA9
imulq %rax, %rcx
shrq $41, %rcx
imull $619, %ecx, %ecx ## imm = 0x26B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.195:
movl $3564057141, %ecx ## imm = 0xD46F3235
imulq %rax, %rcx
shrq $41, %rcx
imull $617, %ecx, %ecx ## imm = 0x269
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.196:
movl $3587313631, %ecx ## imm = 0xD5D20FDF
imulq %rax, %rcx
shrq $41, %rcx
imull $613, %ecx, %ecx ## imm = 0x265
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.197:
movl $3022913755, %ecx ## imm = 0xB42E00DB
imulq %rax, %rcx
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $601, %edx, %ecx ## imm = 0x259
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.198:
imulq $1811386537, %rax, %rcx ## imm = 0x6BF790A9
shrq $40, %rcx
imull $607, %ecx, %ecx ## imm = 0x25F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.199:
cmpq $426409, %rbx ## imm = 0x681A9
jb LBB2_5
## %bb.200:
imull $30288909, %ebx, %ecx ## imm = 0x1CE2C0D
cmpl $6057782, %ecx ## imm = 0x5C6F36
jb LBB2_301
## %bb.201:
imulq $1978993491, %rax, %rcx ## imm = 0x75F50B53
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $701, %edx, %ecx ## imm = 0x2BD
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.202:
imulq $795594521, %rax, %rcx ## imm = 0x2F6BCF19
shrq $39, %rcx
imull $691, %ecx, %ecx ## imm = 0x2B3
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.203:
imulq $12576771, %rax, %rcx ## imm = 0xBFE803
shrq $33, %rcx
imull $683, %ecx, %ecx ## imm = 0x2AB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.204:
imulq $1624093985, %rax, %rcx ## imm = 0x60CDB521
shrq $40, %rcx
imull $677, %ecx, %ecx ## imm = 0x2A5
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.205:
imulq $1633746847, %rax, %rcx ## imm = 0x6160FF9F
shrq $40, %rcx
imull $673, %ecx, %ecx ## imm = 0x2A1
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.206:
movl $2358658289, %ecx ## imm = 0x8C9644F1
imulq %rax, %rcx
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $661, %edx, %ecx ## imm = 0x295
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.207:
imulq $1683785035, %rax, %rcx ## imm = 0x645C854B
shrq $40, %rcx
imull $653, %ecx, %ecx ## imm = 0x28D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.208:
movl $3336909341, %ecx ## imm = 0xC6E5321D
imulq %rax, %rcx
shrq $41, %rcx
imull $659, %ecx, %ecx ## imm = 0x293
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.209:
cmpq $516961, %rbx ## imm = 0x7E361
jb LBB2_5
## %bb.210:
imull $-452395775, %ebx, %ecx ## imm = 0xE508FD01
cmpl $5585134, %ecx ## imm = 0x5538EE
jb LBB2_301
## %bb.211:
imulq $1444824741, %rax, %rcx ## imm = 0x561E46A5
shrq $40, %rcx
imull $761, %ecx, %ecx ## imm = 0x2F9
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.212:
imulq $726229609, %rax, %rcx ## imm = 0x2B496269
shrq $39, %rcx
imull $757, %ecx, %ecx ## imm = 0x2F5
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.213:
imulq $1561286381, %rax, %rcx ## imm = 0x5D0F56ED
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $751, %edx, %ecx ## imm = 0x2EF
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.214:
movl $2959654449, %ecx ## imm = 0xB068BE31
imulq %rax, %rcx
shrq $41, %rcx
imull $743, %ecx, %ecx ## imm = 0x2E7
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.215:
imulq $1487837115, %rax, %rcx ## imm = 0x58AE97BB
shrq $40, %rcx
imull $739, %ecx, %ecx ## imm = 0x2E3
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.216:
movl $3000031727, %ecx ## imm = 0xB2D0D9EF
imulq %rax, %rcx
shrq $41, %rcx
imull $733, %ecx, %ecx ## imm = 0x2DD
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.217:
movl $3058446809, %ecx ## imm = 0xB64C31D9
imulq %rax, %rcx
shrq $41, %rcx
imull $719, %ecx, %ecx ## imm = 0x2CF
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.218:
imulq $1754615251, %rax, %rcx ## imm = 0x68954DD3
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $727, %edx, %ecx ## imm = 0x2D7
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.219:
cmpq $597529, %rbx ## imm = 0x91E19
jae LBB2_220
LBB2_5:
movb $1, %dil
jmp LBB2_302
LBB2_6:
leaq -1(%rbx), %r14
xorl %ecx, %ecx
movq %r14, %r12
testb $1, %r14b
jne LBB2_9
## %bb.7:
xorl %ecx, %ecx
movq %r14, %rax
movq %r14, %r12
.p2align 4, 0x90
LBB2_8: ## =>This Inner Loop Header: Depth=1
shrq %r12
incl %ecx
testb $2, %al
movq %r12, %rax
je LBB2_8
LBB2_9:
movb $1, %dil
testl %esi, %esi
je LBB2_302
## %bb.10:
movl %ecx, -48(%rbp) ## 4-byte Spill
movq %r14, -72(%rbp) ## 8-byte Spill
jmp LBB2_13
.p2align 4, 0x90
LBB2_11: ## in Loop: Header=BB2_13 Depth=1
testb %al, %al
jne LBB2_301
LBB2_12: ## in Loop: Header=BB2_13 Depth=1
testl %esi, %esi
je LBB2_5
LBB2_13: ## =>This Loop Header: Depth=1
## Child Loop BB2_17 Depth 2
## Child Loop BB2_23 Depth 2
## Child Loop BB2_46 Depth 3
## Child Loop BB2_34 Depth 3
## Child Loop BB2_58 Depth 2
## Child Loop BB2_64 Depth 3
movl %esi, -44(%rbp) ## 4-byte Spill
callq _libmin_rand
movl %eax, -64(%rbp) ## 4-byte Spill
callq _libmin_rand
movl %eax, -60(%rbp) ## 4-byte Spill
callq _libmin_rand
movl %eax, -56(%rbp) ## 4-byte Spill
callq _libmin_rand
movl %eax, %r13d
callq _libmin_rand
movl %eax, -52(%rbp) ## 4-byte Spill
callq _libmin_rand
movl %eax, %r14d
callq _libmin_rand
movl %eax, %r15d
callq _libmin_rand
## kill: def $eax killed $eax def $rax
shlq $56, %rax
movzbl %r15b, %ecx
shlq $48, %rcx
orq %rax, %rcx
movzbl %r14b, %eax
movq -72(%rbp), %r14 ## 8-byte Reload
shlq $40, %rax
orq %rcx, %rax
movzbl -52(%rbp), %ecx ## 1-byte Folded Reload
shlq $32, %rcx
orq %rax, %rcx
shll $24, %r13d
orq %rcx, %r13
movl -60(%rbp), %eax ## 4-byte Reload
shll $8, %eax
movzbl -56(%rbp), %edx ## 1-byte Folded Reload
shll $16, %edx
orq %r13, %rdx
movzbl -64(%rbp), %esi ## 1-byte Folded Reload
movzwl %ax, %eax
orq %rdx, %rax
orq %rsi, %rax
orq %r14, %rcx
shrq $32, %rcx
je LBB2_15
## %bb.14: ## in Loop: Header=BB2_13 Depth=1
xorl %edx, %edx
divq %r14
movq %rdx, %r11
jmp LBB2_16
.p2align 4, 0x90
LBB2_15: ## in Loop: Header=BB2_13 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %r14d
movl %edx, %r11d
LBB2_16: ## in Loop: Header=BB2_13 Depth=1
movl -44(%rbp), %esi ## 4-byte Reload
decl %esi
incq %r11
movl $1, %eax
.p2align 4, 0x90
LBB2_17: ## Parent Loop BB2_13 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, %r8
addq %rax, %rax
cmpq %r12, %r8
jbe LBB2_17
## %bb.18: ## in Loop: Header=BB2_13 Depth=1
cmpq $2, %r8
jb LBB2_12
## %bb.19: ## in Loop: Header=BB2_13 Depth=1
movl $1, %ecx
jmp LBB2_23
.p2align 4, 0x90
LBB2_20: ## in Loop: Header=BB2_23 Depth=2
movq %rax, %rcx
orq %rbx, %rcx
shrq $32, %rcx
je LBB2_41
## %bb.21: ## in Loop: Header=BB2_23 Depth=2
xorl %edx, %edx
divq %rbx
movq %rdx, %rcx
LBB2_22: ## in Loop: Header=BB2_23 Depth=2
cmpq $3, %rdi
jbe LBB2_53
LBB2_23: ## Parent Loop BB2_13 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_46 Depth 3
## Child Loop BB2_34 Depth 3
movq %r8, %rdi
testq %rcx, %rcx
je LBB2_26
## %bb.24: ## in Loop: Header=BB2_23 Depth=2
movq %rcx, %rax
orq %rbx, %rax
shrq $32, %rax
je LBB2_42
## %bb.25: ## in Loop: Header=BB2_23 Depth=2
movq %rcx, %rax
xorl %edx, %edx
divq %rbx
jmp LBB2_43
.p2align 4, 0x90
LBB2_26: ## in Loop: Header=BB2_23 Depth=2
xorl %eax, %eax
LBB2_27: ## in Loop: Header=BB2_23 Depth=2
movq %rax, %rcx
orq %rbx, %rcx
shrq $32, %rcx
je LBB2_29
## %bb.28: ## in Loop: Header=BB2_23 Depth=2
xorl %edx, %edx
divq %rbx
movq %rdx, %rcx
jmp LBB2_30
.p2align 4, 0x90
LBB2_29: ## in Loop: Header=BB2_23 Depth=2
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ebx
movl %edx, %ecx
LBB2_30: ## in Loop: Header=BB2_23 Depth=2
movq %rdi, %r8
shrq %r8
testq %r12, %r8
je LBB2_22
## %bb.31: ## in Loop: Header=BB2_23 Depth=2
xorl %eax, %eax
movq %r11, %rdx
jmp LBB2_34
.p2align 4, 0x90
LBB2_32: ## in Loop: Header=BB2_34 Depth=3
movq %rbx, %r9
LBB2_33: ## in Loop: Header=BB2_34 Depth=3
movq %rdx, %r10
shrq %r10
addq %rcx, %rcx
subq %r9, %rcx
cmpq $1, %rdx
movq %r10, %rdx
jbe LBB2_20
LBB2_34: ## Parent Loop BB2_13 Depth=1
## Parent Loop BB2_23 Depth=2
## => This Inner Loop Header: Depth=3
testb $1, %dl
je LBB2_39
## %bb.35: ## in Loop: Header=BB2_34 Depth=3
movq %rbx, %r9
subq %rax, %r9
cmpq %r9, %rcx
jb LBB2_37
## %bb.36: ## in Loop: Header=BB2_34 Depth=3
movq %rbx, %r9
jmp LBB2_38
.p2align 4, 0x90
LBB2_37: ## in Loop: Header=BB2_34 Depth=3
xorl %r9d, %r9d
LBB2_38: ## in Loop: Header=BB2_34 Depth=3
addq %rcx, %rax
subq %r9, %rax
LBB2_39: ## in Loop: Header=BB2_34 Depth=3
movq %rbx, %r9
subq %rcx, %r9
cmpq %r9, %rcx
jae LBB2_32
## %bb.40: ## in Loop: Header=BB2_34 Depth=3
xorl %r9d, %r9d
jmp LBB2_33
.p2align 4, 0x90
LBB2_41: ## in Loop: Header=BB2_23 Depth=2
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ebx
movl %edx, %ecx
jmp LBB2_22
.p2align 4, 0x90
LBB2_42: ## in Loop: Header=BB2_23 Depth=2
movl %ecx, %eax
xorl %edx, %edx
divl %ebx
## kill: def $edx killed $edx def $rdx
LBB2_43: ## in Loop: Header=BB2_23 Depth=2
xorl %eax, %eax
jmp LBB2_46
.p2align 4, 0x90
LBB2_44: ## in Loop: Header=BB2_46 Depth=3
movq %rbx, %r8
LBB2_45: ## in Loop: Header=BB2_46 Depth=3
movq %rcx, %r9
shrq %r9
addq %rdx, %rdx
subq %r8, %rdx
cmpq $1, %rcx
movq %r9, %rcx
jbe LBB2_27
LBB2_46: ## Parent Loop BB2_13 Depth=1
## Parent Loop BB2_23 Depth=2
## => This Inner Loop Header: Depth=3
testb $1, %cl
je LBB2_51
## %bb.47: ## in Loop: Header=BB2_46 Depth=3
movq %rbx, %r8
subq %rax, %r8
cmpq %r8, %rdx
jb LBB2_49
## %bb.48: ## in Loop: Header=BB2_46 Depth=3
movq %rbx, %r8
jmp LBB2_50
.p2align 4, 0x90
LBB2_49: ## in Loop: Header=BB2_46 Depth=3
xorl %r8d, %r8d
LBB2_50: ## in Loop: Header=BB2_46 Depth=3
addq %rdx, %rax
subq %r8, %rax
LBB2_51: ## in Loop: Header=BB2_46 Depth=3
movq %rbx, %r8
subq %rdx, %r8
cmpq %r8, %rdx
jae LBB2_44
## %bb.52: ## in Loop: Header=BB2_46 Depth=3
xorl %r8d, %r8d
jmp LBB2_45
.p2align 4, 0x90
LBB2_53: ## in Loop: Header=BB2_13 Depth=1
cmpq $1, %rcx
je LBB2_12
## %bb.54: ## in Loop: Header=BB2_13 Depth=1
cmpq %r14, %rcx
setne %al
movl -48(%rbp), %r9d ## 4-byte Reload
jmp LBB2_58
.p2align 4, 0x90
LBB2_55: ## in Loop: Header=BB2_58 Depth=2
movq %rax, %rcx
orq %rbx, %rcx
shrq $32, %rcx
je LBB2_71
## %bb.56: ## in Loop: Header=BB2_58 Depth=2
xorl %edx, %edx
divq %rbx
movq %rdx, %rcx
LBB2_57: ## in Loop: Header=BB2_58 Depth=2
decl %r9d
cmpq %r14, %rcx
setne %al
LBB2_58: ## Parent Loop BB2_13 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB2_64 Depth 3
testl %r9d, %r9d
je LBB2_11
## %bb.59: ## in Loop: Header=BB2_58 Depth=2
cmpq %r14, %rcx
je LBB2_11
## %bb.60: ## in Loop: Header=BB2_58 Depth=2
xorl %eax, %eax
testq %rcx, %rcx
je LBB2_55
## %bb.61: ## in Loop: Header=BB2_58 Depth=2
movq %rcx, %rdx
jmp LBB2_64
.p2align 4, 0x90
LBB2_62: ## in Loop: Header=BB2_64 Depth=3
movq %rbx, %rdi
LBB2_63: ## in Loop: Header=BB2_64 Depth=3
movq %rcx, %r8
shrq %r8
addq %rdx, %rdx
subq %rdi, %rdx
cmpq $1, %rcx
movq %r8, %rcx
jbe LBB2_55
LBB2_64: ## Parent Loop BB2_13 Depth=1
## Parent Loop BB2_58 Depth=2
## => This Inner Loop Header: Depth=3
testb $1, %cl
je LBB2_69
## %bb.65: ## in Loop: Header=BB2_64 Depth=3
movq %rbx, %rdi
subq %rax, %rdi
cmpq %rdi, %rdx
jb LBB2_67
## %bb.66: ## in Loop: Header=BB2_64 Depth=3
movq %rbx, %rdi
jmp LBB2_68
.p2align 4, 0x90
LBB2_67: ## in Loop: Header=BB2_64 Depth=3
xorl %edi, %edi
LBB2_68: ## in Loop: Header=BB2_64 Depth=3
addq %rdx, %rax
subq %rdi, %rax
LBB2_69: ## in Loop: Header=BB2_64 Depth=3
movq %rbx, %rdi
subq %rdx, %rdi
cmpq %rdi, %rdx
jae LBB2_62
## %bb.70: ## in Loop: Header=BB2_64 Depth=3
xorl %edi, %edi
jmp LBB2_63
.p2align 4, 0x90
LBB2_71: ## in Loop: Header=BB2_58 Depth=2
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ebx
movl %edx, %ecx
jmp LBB2_57
LBB2_220:
imull $994733077, %ebx, %ecx ## imm = 0x3B4A6C15
cmpl $5180902, %ecx ## imm = 0x4F0DE6
jb LBB2_301
## %bb.221:
movl $2659036585, %ecx ## imm = 0x9E7DADA9
imulq %rax, %rcx
shrq $41, %rcx
imull $827, %ecx, %ecx ## imm = 0x33B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.222:
imulq $1048953131, %rax, %rcx ## imm = 0x3E85C12B
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $823, %edx, %ecx ## imm = 0x337
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.223:
imulq $669617313, %rax, %rcx ## imm = 0x27E98CA1
shrq $39, %rcx
imull $821, %ecx, %ecx ## imm = 0x335
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.224:
imulq $42367125, %rax, %rcx ## imm = 0x2867895
shrq $35, %rcx
imull $811, %ecx, %ecx ## imm = 0x32B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.225:
imulq $1141431359, %rax, %rcx ## imm = 0x4408DC3F
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $809, %edx, %ecx ## imm = 0x329
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.226:
imulq $1223284287, %rax, %rcx ## imm = 0x48E9D63F
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $797, %edx, %ecx ## imm = 0x31D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.227:
imulq $1422395379, %rax, %rcx ## imm = 0x54C807F3
shrq $40, %rcx
imull $773, %ecx, %ecx ## imm = 0x305
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.228:
movl $2794184569, %ecx ## imm = 0xA68BDF79
imulq %rax, %rcx
shrq $41, %rcx
imull $787, %ecx, %ecx ## imm = 0x313
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.229:
cmpq $703921, %rbx ## imm = 0xABDB1
jb LBB2_5
## %bb.230:
imull $-411580857, %ebx, %ecx ## imm = 0xE777C647
cmpl $4842128, %ecx ## imm = 0x49E290
jb LBB2_301
## %bb.231:
movl $2490400063, %ecx ## imm = 0x94707D3F
imulq %rax, %rcx
shrq $41, %rcx
imull $883, %ecx, %ecx ## imm = 0x373
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.232:
movl $2496053639, %ecx ## imm = 0x94C6C187
imulq %rax, %rcx
shrq $41, %rcx
imull $881, %ecx, %ecx ## imm = 0x371
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.233:
imulq $626859537, %rax, %rcx ## imm = 0x255D1E11
shrq $39, %rcx
imull $877, %ecx, %ecx ## imm = 0x36D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.234:
imulq $801262729, %rax, %rcx ## imm = 0x2FC24C89
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $863, %edx, %ecx ## imm = 0x35F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.235:
imulq $824993719, %rax, %rcx ## imm = 0x312C67B7
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $859, %edx, %ecx ## imm = 0x35B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.236:
movl $2565954791, %ecx ## imm = 0x98F15CE7
imulq %rax, %rcx
shrq $41, %rcx
imull $857, %ecx, %ecx ## imm = 0x359
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.237:
imulq $947042849, %rax, %rcx ## imm = 0x3872BA21
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $839, %edx, %ecx ## imm = 0x347
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.238:
imulq $644496851, %rax, %rcx ## imm = 0x266A3DD3
shrq $39, %rcx
imull $853, %ecx, %ecx ## imm = 0x355
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.239:
cmpq $822649, %rbx ## imm = 0xC8D79
jb LBB2_5
## %bb.240:
imull $257609207, %ebx, %ecx ## imm = 0xF5ACDF7
cmpl $4441539, %ecx ## imm = 0x43C5C3
jb LBB2_301
## %bb.241:
imulq $18027145, %rax, %rcx ## imm = 0x1131289
shrq $34, %rcx
imull $953, %ecx, %ecx ## imm = 0x3B9
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.242:
movl $2322094251, %ecx ## imm = 0x8A6858AB
imulq %rax, %rcx
shrq $41, %rcx
imull $947, %ecx, %ecx ## imm = 0x3B3
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.243:
imulq $1168450189, %rax, %rcx ## imm = 0x45A5228D
shrq $40, %rcx
imull $941, %ecx, %ecx ## imm = 0x3AD
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.244:
imulq $398785651, %rax, %rcx ## imm = 0x17C4FC73
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $937, %edx, %ecx ## imm = 0x3A9
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.245:
imulq $439205483, %rax, %rcx ## imm = 0x1A2DBE6B
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $929, %edx, %ecx ## imm = 0x3A1
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.246:
imulq $490719877, %rax, %rcx ## imm = 0x1D3FCA85
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $919, %edx, %ecx ## imm = 0x397
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.247:
imulq $151531371, %rax, %rcx ## imm = 0x9082F6B
shrq $37, %rcx
imull $907, %ecx, %ecx ## imm = 0x38B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.248:
movl $2413856483, %ecx ## imm = 0x8FE086E3
imulq %rax, %rcx
shrq $41, %rcx
imull $911, %ecx, %ecx ## imm = 0x38F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.249:
cmpq $942841, %rbx ## imm = 0xE62F9
jb LBB2_5
## %bb.250:
imull $-437489323, %ebx, %ecx ## imm = 0xE5EC7155
cmpl $4206629, %ecx ## imm = 0x403025
jb LBB2_301
## %bb.251:
imulq $21074423, %rax, %rcx ## imm = 0x14191F7
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $1019, %edx, %ecx ## imm = 0x3FB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.252:
movl $2170802819, %ecx ## imm = 0x8163D283
imulq %rax, %rcx
shrq $41, %rcx
imull $1013, %ecx, %ecx ## imm = 0x3F5
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.253:
imulq $63849861, %rax, %rcx ## imm = 0x3CE4585
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $1009, %edx, %ecx ## imm = 0x3F1
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.254:
imulq $116313057, %rax, %rcx ## imm = 0x6EECBE1
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $997, %edx, %ecx ## imm = 0x3E5
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.255:
imulq $143021111, %rax, %rcx ## imm = 0x8865437
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $991, %edx, %ecx ## imm = 0x3DF
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.256:
imulq $179139023, %rax, %rcx ## imm = 0xAAD71CF
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $983, %edx, %ecx ## imm = 0x3D7
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.257:
imulq $234431789, %rax, %rcx ## imm = 0xDF9252D
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $971, %edx, %ecx ## imm = 0x3CB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.258:
imulq $206615623, %rax, %rcx ## imm = 0xC50B447
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $9, %edx
imull $977, %edx, %ecx ## imm = 0x3D1
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.259:
cmpq $1062961, %rbx ## imm = 0x103831
jb LBB2_5
## %bb.260:
imull $841608127, %ebx, %ecx ## imm = 0x3229EBBF
cmpl $3951212, %ecx ## imm = 0x3C4A6C
jb LBB2_301
## %bb.261:
imulq $1028542215, %rax, %rcx ## imm = 0x3D4E4F07
shrq $40, %rcx
imull $1069, %ecx, %ecx ## imm = 0x42D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.262:
imulq $2068695443, %rax, %rcx ## imm = 0x7B4DC993
shrq $41, %rcx
imull $1063, %ecx, %ecx ## imm = 0x427
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.263:
imulq $2072594963, %rax, %rcx ## imm = 0x7B894A13
shrq $41, %rcx
imull $1061, %ecx, %ecx ## imm = 0x425
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.264:
movl $4184630363, %ecx ## imm = 0xF96C645B
imulq %rax, %rcx
shrq $42, %rcx
imull $1051, %ecx, %ecx ## imm = 0x41B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.265:
imulq $2096304343, %rax, %rcx ## imm = 0x7CF310D7
shrq $41, %rcx
imull $1049, %ecx, %ecx ## imm = 0x419
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.266:
movl $4232961031, %ecx ## imm = 0xFC4DDC07
imulq %rax, %rcx
shrq $42, %rcx
imull $1039, %ecx, %ecx ## imm = 0x40F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.267:
imulq $2132903255, %rax, %rcx ## imm = 0x7F218557
shrq $41, %rcx
imull $1031, %ecx, %ecx ## imm = 0x407
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.268:
imulq $2128773723, %rax, %rcx ## imm = 0x7EE2825B
shrq $41, %rcx
imull $1033, %ecx, %ecx ## imm = 0x409
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.269:
cmpq $1190281, %rbx ## imm = 0x122989
jb LBB2_5
## %bb.270:
imull $-1798587521, %ebx, %ecx ## imm = 0x94CBBB7F
cmpl $3731510, %ecx ## imm = 0x38F036
jb LBB2_301
## %bb.271:
movl $3895523925, %ecx ## imm = 0xE830FA55
imulq %rax, %rcx
shrq $42, %rcx
imull $1129, %ecx, %ecx ## imm = 0x469
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.272:
imulq $1958168527, %rax, %rcx ## imm = 0x74B747CF
shrq $41, %rcx
imull $1123, %ecx, %ecx ## imm = 0x463
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.273:
movl $3937373779, %ecx ## imm = 0xEAAF8E53
imulq %rax, %rcx
shrq $42, %rcx
imull $1117, %ecx, %ecx ## imm = 0x45D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.274:
imulq $991444209, %rax, %rcx ## imm = 0x3B183CF1
shrq $40, %rcx
imull $1109, %ecx, %ecx ## imm = 0x455
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.275:
imulq $498418689, %rax, %rcx ## imm = 0x1DB54401
shrq $39, %rcx
imull $1103, %ecx, %ecx ## imm = 0x44F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.276:
movl $4009158169, %ecx ## imm = 0xEEF6E619
imulq %rax, %rcx
shrq $42, %rcx
imull $1097, %ecx, %ecx ## imm = 0x449
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.277:
imulq $2015603351, %rax, %rcx ## imm = 0x7823AA97
shrq $41, %rcx
imull $1091, %ecx, %ecx ## imm = 0x443
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.278:
imulq $2011915147, %rax, %rcx ## imm = 0x77EB638B
shrq $41, %rcx
imull $1093, %ecx, %ecx ## imm = 0x445
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.279:
cmpq $1329409, %rbx ## imm = 0x144901
jb LBB2_5
## %bb.280:
imull $-437613759, %ebx, %ecx ## imm = 0xE5EA8B41
cmpl $3529144, %ecx ## imm = 0x35D9B8
jb LBB2_301
## %bb.281:
imulq $226609981, %rax, %rcx ## imm = 0xD81CB3D
shrq $38, %rcx
imull $1213, %ecx, %ecx ## imm = 0x4BD
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.282:
imulq $114437097, %rax, %rcx ## imm = 0x6D22BE9
shrq $37, %rcx
imull $1201, %ecx, %ecx ## imm = 0x4B1
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.283:
movl $3686543597, %ecx ## imm = 0xDBBC30ED
imulq %rax, %rcx
shrq $42, %rcx
imull $1193, %ecx, %ecx ## imm = 0x4A9
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.284:
imulq $1852589095, %rax, %rcx ## imm = 0x6E6C4427
shrq $41, %rcx
imull $1187, %ecx, %ecx ## imm = 0x4A3
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.285:
movl $3724002127, %ecx ## imm = 0xDDF7C34F
imulq %rax, %rcx
shrq $42, %rcx
imull $1181, %ecx, %ecx ## imm = 0x49D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.286:
imulq $469475503, %rax, %rcx ## imm = 0x1BFBA0AF
shrq $39, %rcx
imull $1171, %ecx, %ecx ## imm = 0x493
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.287:
imulq $953609391, %rax, %rcx ## imm = 0x38D6ECAF
shrq $40, %rcx
imull $1153, %ecx, %ecx ## imm = 0x481
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.288:
movl $3781639305, %ecx ## imm = 0xE1673C89
imulq %rax, %rcx
shrq $42, %rcx
imull $1163, %ecx, %ecx ## imm = 0x48B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.289:
cmpq $1495729, %rbx ## imm = 0x16D2B1
jb LBB2_5
## %bb.290:
imull $398364075, %ebx, %ecx ## imm = 0x17BE8DAB
cmpl $3347598, %ecx ## imm = 0x33148E
jb LBB2_301
## %bb.291:
movl $2582353285, %ecx ## imm = 0x99EB9585
imulq %rax, %rcx
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1279, %edx, %ecx ## imm = 0x4FF
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.292:
movl $2593124343, %ecx ## imm = 0x9A8FEFF7
imulq %rax, %rcx
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1277, %edx, %ecx ## imm = 0x4FD
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.293:
movl $3493285553, %ecx ## imm = 0xD0374EB1
imulq %rax, %rcx
shrq $42, %rcx
imull $1259, %ecx, %ecx ## imm = 0x4EB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.294:
movl $3521254213, %ecx ## imm = 0xD1E21345
imulq %rax, %rcx
shrq $42, %rcx
imull $1249, %ecx, %ecx ## imm = 0x4E1
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.295:
imulq $1777706755, %rax, %rcx ## imm = 0x69F5A703
shrq $41, %rcx
imull $1237, %ecx, %ecx ## imm = 0x4D5
movl %ebx, %edx
subl %ecx, %edx
je LBB2_301
## %bb.296:
movl $3572742901, %ecx ## imm = 0xD4F3BAF5
imulq %rax, %rcx
shrq $42, %rcx
imull $1231, %ecx, %ecx ## imm = 0x4CF
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.297:
imulq $449514157, %rax, %rcx ## imm = 0x1ACB0AAD
shrq $39, %rcx
imull $1223, %ecx, %ecx ## imm = 0x4C7
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.298:
imulq $1789278483, %rax, %rcx ## imm = 0x6AA63913
shrq $41, %rcx
imull $1229, %ecx, %ecx ## imm = 0x4CD
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.299:
cmpq $1661521, %rbx ## imm = 0x195A51
jae LBB2_303
LBB2_300:
movb $1, %dil
jmp LBB2_302
LBB2_301:
xorl %edi, %edi
LBB2_302:
movzbl %dil, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_303:
imull $1259037135, %ebx, %ecx ## imm = 0x4B0B61CF
cmpl $3236600, %ecx ## imm = 0x3162F8
jb LBB2_314
## %bb.304:
movl $3329331197, %ecx ## imm = 0xC6718FFD
imulq %rax, %rcx
shrq $42, %rcx
imull $1321, %ecx, %ecx ## imm = 0x529
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.305:
movl $3334379463, %ecx ## imm = 0xC6BE97C7
imulq %rax, %rcx
shrq $42, %rcx
imull $1319, %ecx, %ecx ## imm = 0x527
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.306:
movl $2435019715, %ecx ## imm = 0x912373C3
imulq %rax, %rcx
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1307, %edx, %ecx ## imm = 0x51B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.307:
movl $3375323493, %ecx ## imm = 0xC92F5965
imulq %rax, %rcx
shrq $42, %rcx
imull $1303, %ecx, %ecx ## imm = 0x517
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.308:
movl $3380512307, %ecx ## imm = 0xC97E8633
imulq %rax, %rcx
shrq $42, %rcx
imull $1301, %ecx, %ecx ## imm = 0x515
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.309:
movl $3390937943, %ecx ## imm = 0xCA1D9B57
imulq %rax, %rcx
shrq $42, %rcx
imull $1297, %ecx, %ecx ## imm = 0x511
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.310:
movl $2528999363, %ecx ## imm = 0x96BD77C3
imulq %rax, %rcx
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1289, %edx, %ecx ## imm = 0x509
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.311:
imulq $1703348765, %rax, %rcx ## imm = 0x65870A1D
shrq $41, %rcx
imull $1291, %ecx, %ecx ## imm = 0x50B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.312:
cmpq $1852321, %rbx ## imm = 0x1C43A1
jb LBB2_300
## %bb.315:
imull $-1217258051, %ebx, %ecx ## imm = 0xB7721DBD
cmpl $3005576, %ecx ## imm = 0x2DDC88
jb LBB2_314
## %bb.316:
movl $3082022783, %ecx ## imm = 0xB7B3EF7F
imulq %rax, %rcx
shrq $42, %rcx
imull $1427, %ecx, %ecx ## imm = 0x593
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.317:
imulq $1886405173, %rax, %rcx ## imm = 0x70704235
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1423, %edx, %ecx ## imm = 0x58F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.318:
movl $3121395679, %ecx ## imm = 0xBA0CB7DF
imulq %rax, %rcx
shrq $42, %rcx
imull $1409, %ecx, %ecx ## imm = 0x581
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.319:
movl $3143707299, %ecx ## imm = 0xBB612AA3
imulq %rax, %rcx
shrq $42, %rcx
imull $1399, %ecx, %ecx ## imm = 0x577
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.320:
movl $3184682485, %ecx ## imm = 0xBDD265F5
imulq %rax, %rcx
shrq $42, %rcx
imull $1381, %ecx, %ecx ## imm = 0x565
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.321:
movl $3203238537, %ecx ## imm = 0xBEED8A89
imulq %rax, %rcx
shrq $42, %rcx
imull $1373, %ecx, %ecx ## imm = 0x55D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.322:
imulq $403935205, %rax, %rcx ## imm = 0x18138FE5
shrq $39, %rcx
imull $1361, %ecx, %ecx ## imm = 0x551
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.323:
imulq $2139628917, %rax, %rcx ## imm = 0x7F882575
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1367, %edx, %ecx ## imm = 0x557
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.324:
cmpq $2053489, %rbx ## imm = 0x1F5571
jb LBB2_300
## %bb.343:
imull $-2102593565, %ebx, %ecx ## imm = 0x82ACF7E3
cmpl $2896135, %ecx ## imm = 0x2C3107
jb LBB2_314
## %bb.344:
imulq $1644325765, %rax, %rcx ## imm = 0x62026B85
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1481, %edx, %ecx ## imm = 0x5C9
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.345:
imulq $1494917237, %rax, %rcx ## imm = 0x591AA075
shrq $41, %rcx
imull $1471, %ecx, %ecx ## imm = 0x5BF
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.346:
movl $3014425299, %ecx ## imm = 0xB3AC7AD3
imulq %rax, %rcx
shrq $42, %rcx
imull $1459, %ecx, %ecx ## imm = 0x5B3
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.347:
movl $3026873029, %ecx ## imm = 0xB46A6AC5
imulq %rax, %rcx
shrq $42, %rcx
imull $1453, %ecx, %ecx ## imm = 0x5AD
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.348:
movl $3031045149, %ecx ## imm = 0xB4AA141D
imulq %rax, %rcx
shrq $42, %rcx
imull $1451, %ecx, %ecx ## imm = 0x5AB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.349:
movl $3039423989, %ecx ## imm = 0xB529EDF5
imulq %rax, %rcx
shrq $42, %rcx
imull $1447, %ecx, %ecx ## imm = 0x5A7
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.350:
imulq $1843269287, %rax, %rcx ## imm = 0x6DDE0EA7
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1433, %edx, %ecx ## imm = 0x599
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.351:
imulq $764080353, %rax, %rcx ## imm = 0x2D8AF0E1
shrq $40, %rcx
imull $1439, %ecx, %ecx ## imm = 0x59F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.352:
cmpq $2211169, %rbx ## imm = 0x21BD61
jb LBB2_300
## %bb.362:
imull $329955525, %ebx, %ecx ## imm = 0x13AAB8C5
cmpl $2772736, %ecx ## imm = 0x2A4F00
jb LBB2_314
## %bb.363:
movl $2850321783, %ecx ## imm = 0xA9E47577
imulq %rax, %rcx
shrq $42, %rcx
imull $1543, %ecx, %ecx ## imm = 0x607
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.364:
imulq $1450357997, %rax, %rcx ## imm = 0x5672B4ED
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1531, %edx, %ecx ## imm = 0x5FB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.365:
imulq $1480536987, %rax, %rcx ## imm = 0x583F339B
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1523, %edx, %ecx ## imm = 0x5F3
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.366:
movl $2910685977, %ecx ## imm = 0xAD7D8B19
imulq %rax, %rcx
shrq $42, %rcx
imull $1511, %ecx, %ecx ## imm = 0x5E7
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.367:
movl $2933986999, %ecx ## imm = 0xAEE116B7
imulq %rax, %rcx
shrq $42, %rcx
imull $1499, %ecx, %ecx ## imm = 0x5DB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.368:
imulq $1596588647, %rax, %rcx ## imm = 0x5F2A0267
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1493, %edx, %ecx ## imm = 0x5D5
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.369:
imulq $1620360897, %rax, %rcx ## imm = 0x6094BEC1
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1487, %edx, %ecx ## imm = 0x5CF
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.370:
imulq $1612415527, %rax, %rcx ## imm = 0x601B8227
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1489, %edx, %ecx ## imm = 0x5D1
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.371:
cmpq $2411809, %rbx ## imm = 0x24CD21
jb LBB2_300
## %bb.381:
imull $614712183, %ebx, %ecx ## imm = 0x24A3C377
cmpl $2672662, %ecx ## imm = 0x28C816
jb LBB2_314
## %bb.382:
imulq $686765539, %rax, %rcx ## imm = 0x28EF35E3
shrq $40, %rcx
imull $1601, %ecx, %ecx ## imm = 0x641
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.383:
imulq $1212918129, %rax, %rcx ## imm = 0x484BA971
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1597, %edx, %ecx ## imm = 0x63D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.384:
movl $2778298491, %ecx ## imm = 0xA599787B
imulq %rax, %rcx
shrq $42, %rcx
imull $1583, %ecx, %ecx ## imm = 0x62F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.385:
movl $2785336613, %ecx ## imm = 0xA604DD25
imulq %rax, %rcx
shrq $42, %rcx
imull $1579, %ecx, %ecx ## imm = 0x62B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.386:
imulq $1304073457, %rax, %rcx ## imm = 0x4DBA94F1
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1571, %edx, %ecx ## imm = 0x623
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.387:
imulq $350833321, %rax, %rcx ## imm = 0x14E94AA9
shrq $39, %rcx
imull $1567, %ecx, %ecx ## imm = 0x61F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.388:
imulq $1415984067, %rax, %rcx ## imm = 0x546633C3
shrq $41, %rcx
imull $1553, %ecx, %ecx ## imm = 0x611
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.389:
imulq $1410534481, %rax, %rcx ## imm = 0x54130C51
shrq $41, %rcx
imull $1559, %ecx, %ecx ## imm = 0x617
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.390:
cmpq $2588881, %rbx ## imm = 0x2780D1
jb LBB2_300
## %bb.400:
imull $1888548907, %ebx, %ecx ## imm = 0x7090F82B
cmpl $2576466, %ecx ## imm = 0x275052
jb LBB2_314
## %bb.401:
imulq $994324961, %rax, %rcx ## imm = 0x3B4431E1
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1663, %edx, %ecx ## imm = 0x67F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.402:
movl $2654222397, %ecx ## imm = 0x9E34383D
imulq %rax, %rcx
shrq $42, %rcx
imull $1657, %ecx, %ecx ## imm = 0x679
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.403:
imulq $1343325141, %rax, %rcx ## imm = 0x501183D5
shrq $41, %rcx
imull $1637, %ecx, %ecx ## imm = 0x665
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.404:
movl $2703163191, %ecx ## imm = 0xA11EFF37
imulq %rax, %rcx
shrq $42, %rcx
imull $1627, %ecx, %ecx ## imm = 0x65B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.405:
imulq $1356584365, %rax, %rcx ## imm = 0x50DBD5AD
shrq $41, %rcx
imull $1621, %ecx, %ecx ## imm = 0x655
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.406:
imulq $1358260195, %rax, %rcx ## imm = 0x50F567E3
shrq $41, %rcx
imull $1619, %ecx, %ecx ## imm = 0x653
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.407:
imulq $1366701837, %rax, %rcx ## imm = 0x5176370D
shrq $41, %rcx
imull $1609, %ecx, %ecx ## imm = 0x649
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.408:
imulq $340828155, %rax, %rcx ## imm = 0x14509FFB
shrq $39, %rcx
imull $1613, %ecx, %ecx ## imm = 0x64D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.409:
cmpq $2785561, %rbx ## imm = 0x2A8119
jb LBB2_300
## %bb.419:
imull $1855149573, %ebx, %ecx ## imm = 0x6E935605
cmpl $2466955, %ecx ## imm = 0x25A48B
jb LBB2_314
## %bb.420:
movl $2537822569, %ecx ## imm = 0x97441969
imulq %rax, %rcx
shrq $42, %rcx
imull $1733, %ecx, %ecx ## imm = 0x6C5
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.421:
movl $2552551661, %ecx ## imm = 0x9824D8ED
imulq %rax, %rcx
shrq $42, %rcx
imull $1723, %ecx, %ecx ## imm = 0x6BB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.422:
imulq $816068743, %rax, %rcx ## imm = 0x30A43887
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1721, %edx, %ecx ## imm = 0x6B9
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.423:
movl $2573461973, %ecx ## imm = 0x9963E9D5
imulq %rax, %rcx
shrq $42, %rcx
imull $1709, %ecx, %ecx ## imm = 0x6AD
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.424:
imulq $882250493, %rax, %rcx ## imm = 0x349612FD
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1699, %edx, %ecx ## imm = 0x6A3
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.425:
imulq $888352105, %rax, %rcx ## imm = 0x34F32D69
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1697, %edx, %ecx ## imm = 0x6A1
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.426:
movl $2635138713, %ecx ## imm = 0x9D110699
imulq %rax, %rcx
shrq $42, %rcx
imull $1669, %ecx, %ecx ## imm = 0x685
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.427:
imulq $900598577, %rax, %rcx ## imm = 0x35AE0B31
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1693, %edx, %ecx ## imm = 0x69D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.428:
cmpq $3052009, %rbx ## imm = 0x2E91E9
jb LBB2_300
## %bb.438:
imull $1653005083, %ebx, %ecx ## imm = 0x6286DB1B
cmpl $2371600, %ecx ## imm = 0x243010
jb LBB2_314
## %bb.439:
movl $2442002505, %ecx ## imm = 0x918E0049
imulq %rax, %rcx
shrq $42, %rcx
imull $1801, %ecx, %ecx ## imm = 0x709
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.440:
imulq $621797949, %rax, %rcx ## imm = 0x250FE23D
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1789, %edx, %ecx ## imm = 0x6FD
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.441:
imulq $1230567015, %rax, %rcx ## imm = 0x4958F667
shrq $41, %rcx
imull $1787, %ecx, %ecx ## imm = 0x6FB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.442:
imulq $638343429, %rax, %rcx ## imm = 0x260C5905
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1783, %edx, %ecx ## imm = 0x6F7
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.443:
imulq $77343249, %rax, %rcx ## imm = 0x49C2A11
shrq $37, %rcx
imull $1777, %ecx, %ecx ## imm = 0x6F1
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.444:
imulq $705654093, %rax, %rcx ## imm = 0x2A0F6D4D
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1759, %edx, %ecx ## imm = 0x6DF
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.445:
imulq $629371281, %rax, %rcx ## imm = 0x25837191
shrq $40, %rcx
imull $1747, %ecx, %ecx ## imm = 0x6D3
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.446:
imulq $1254434259, %rax, %rcx ## imm = 0x4AC525D3
shrq $41, %rcx
imull $1753, %ecx, %ecx ## imm = 0x6D9
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.447:
cmpq $3323329, %rbx ## imm = 0x32B5C1
jb LBB2_300
## %bb.457:
imull $-2134911897, %ebx, %ecx ## imm = 0x80BFD467
cmpl $2285773, %ecx ## imm = 0x22E0CD
jb LBB2_314
## %bb.458:
imulq $391283649, %rax, %rcx ## imm = 0x175283C1
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1877, %edx, %ecx ## imm = 0x755
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.459:
imulq $401291659, %rax, %rcx ## imm = 0x17EB398B
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1873, %edx, %ecx ## imm = 0x751
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.460:
imulq $146914969, %rax, %rcx ## imm = 0x8C1BE99
shrq $38, %rcx
imull $1871, %ecx, %ecx ## imm = 0x74F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.461:
movl $2355675689, %ecx ## imm = 0x8C68C229
imulq %rax, %rcx
shrq $42, %rcx
imull $1867, %ecx, %ecx ## imm = 0x74B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.462:
imulq $431573823, %rax, %rcx ## imm = 0x19B94B3F
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1861, %edx, %ecx ## imm = 0x745
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.463:
imulq $1190591909, %rax, %rcx ## imm = 0x46F6FDA5
shrq $41, %rcx
imull $1847, %ecx, %ecx ## imm = 0x737
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.464:
imulq $530097445, %rax, %rcx ## imm = 0x1F98A525
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1823, %edx, %ecx ## imm = 0x71F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.465:
movl $2401991541, %ecx ## imm = 0x8F2B7B75
imulq %rax, %rcx
shrq $42, %rcx
imull $1831, %ecx, %ecx ## imm = 0x727
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.466:
cmpq $3568321, %rbx ## imm = 0x3672C1
jb LBB2_300
## %bb.476:
imull $-433197411, %ebx, %ecx ## imm = 0xE62DEE9D
cmpl $2176872, %ecx ## imm = 0x213768
jb LBB2_314
## %bb.477:
imulq $213537585, %rax, %rcx ## imm = 0xCBA5331
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1951, %edx, %ecx ## imm = 0x79F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.478:
imulq $218164065, %rax, %rcx ## imm = 0xD00EB61
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1949, %edx, %ecx ## imm = 0x79D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.479:
imulq $255520559, %rax, %rcx ## imm = 0xF3AEF2F
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1933, %edx, %ecx ## imm = 0x78D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.480:
imulq $284700059, %rax, %rcx ## imm = 0x10F82D9B
shrq $39, %rcx
imull $1931, %ecx, %ecx ## imm = 0x78B
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.481:
movl $2299031109, %ecx ## imm = 0x89086E45
imulq %rax, %rcx
shrq $42, %rcx
imull $1913, %ecx, %ecx ## imm = 0x779
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.482:
imulq $1153132279, %rax, %rcx ## imm = 0x44BB66F7
shrq $41, %rcx
imull $1907, %ecx, %ecx ## imm = 0x773
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.483:
imulq $361513923, %rax, %rcx ## imm = 0x158C43C3
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1889, %edx, %ecx ## imm = 0x761
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.484:
imulq $332120039, %rax, %rcx ## imm = 0x13CBBFE7
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1901, %edx, %ecx ## imm = 0x76D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.485:
cmpq $3916441, %rbx ## imm = 0x3BC299
jb LBB2_300
## %bb.495:
imull $1277683907, %ebx, %ecx ## imm = 0x4C27E8C3
cmpl $2118879, %ecx ## imm = 0x2054DF
jb LBB2_314
## %bb.496:
imulq $66010901, %rax, %rcx ## imm = 0x3EF3F15
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $2017, %edx, %ecx ## imm = 0x7E1
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.497:
imulq $79022273, %rax, %rcx ## imm = 0x4B5C8C1
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $2011, %edx, %ecx ## imm = 0x7DB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.498:
imulq $96492027, %rax, %rcx ## imm = 0x5C059FB
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $2003, %edx, %ecx ## imm = 0x7D3
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.499:
imulq $105279339, %rax, %rcx ## imm = 0x6466F6B
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1999, %edx, %ecx ## imm = 0x7CF
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.500:
imulq $1101163373, %rax, %rcx ## imm = 0x41A26B6D
shrq $41, %rcx
imull $1997, %ecx, %ecx ## imm = 0x7CD
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.501:
imulq $1103373435, %rax, %rcx ## imm = 0x41C4247B
shrq $41, %rcx
imull $1993, %ecx, %ecx ## imm = 0x7C9
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.502:
movl $2222358015, %ecx ## imm = 0x84767DFF
imulq %rax, %rcx
shrq $42, %rcx
imull $1979, %ecx, %ecx ## imm = 0x7BB
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.503:
imulq $131853551, %rax, %rcx ## imm = 0x7DBECEF
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $1987, %edx, %ecx ## imm = 0x7C3
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.504:
cmpq $4116841, %rbx ## imm = 0x3ED169
jb LBB2_300
## %bb.514:
imull $536613913, %ebx, %ecx ## imm = 0x1FFC1419
cmpl $2055993, %ecx ## imm = 0x1F5F39
jb LBB2_314
## %bb.515:
movl $4214706767, %ecx ## imm = 0xFB37524F
imulq %rax, %rcx
shrq $43, %rcx
imull $2087, %ecx, %ecx ## imm = 0x827
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.516:
movl $4222800299, %ecx ## imm = 0xFBB2D1AB
imulq %rax, %rcx
shrq $43, %rcx
imull $2083, %ecx, %ecx ## imm = 0x823
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.517:
movl $4226858733, %ecx ## imm = 0xFBF0BEED
imulq %rax, %rcx
shrq $43, %rcx
imull $2081, %ecx, %ecx ## imm = 0x821
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.518:
movl $4251374105, %ecx ## imm = 0xFD66D219
imulq %rax, %rcx
shrq $43, %rcx
imull $2069, %ecx, %ecx ## imm = 0x815
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.519:
movl $4263738741, %ecx ## imm = 0xFE237D75
imulq %rax, %rcx
shrq $43, %rcx
imull $2063, %ecx, %ecx ## imm = 0x80F
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.520:
imulq $2142253537, %rax, %rcx ## imm = 0x7FB031E1
shrq $42, %rcx
imull $2053, %ecx, %ecx ## imm = 0x805
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.521:
movl $2167593155, %ecx ## imm = 0x8132D8C3
imulq %rax, %rcx
shrq $42, %rcx
imull $2029, %ecx, %ecx ## imm = 0x7ED
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.522:
imulq $18957679, %rax, %rcx ## imm = 0x121456F
shrq $32, %rcx
movl %ebx, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $10, %edx
imull $2039, %edx, %ecx ## imm = 0x7F7
movl %ebx, %edx
subl %ecx, %edx
je LBB2_302
## %bb.523:
movb $1, %dil
cmpq $4405801, %rbx ## imm = 0x433A29
jb LBB2_302
## %bb.524:
imull $1497125791, %ebx, %ecx ## imm = 0x593C539F
cmpl $2004185, %ecx ## imm = 0x1E94D9
jb LBB2_314
## %bb.525:
imulq $1027101007, %rax, %rcx ## imm = 0x3D38514F
shrq $41, %rcx
imull $2141, %ecx, %ecx ## imm = 0x85D
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.526:
imulq $1029023517, %rax, %rcx ## imm = 0x3D55A71D
shrq $41, %rcx
imull $2137, %ecx, %ecx ## imm = 0x859
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.527:
imulq $2063841629, %rax, %rcx ## imm = 0x7B03B95D
shrq $42, %rcx
imull $2131, %ecx, %ecx ## imm = 0x853
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.528:
imulq $2065780419, %rax, %rcx ## imm = 0x7B214EC3
shrq $42, %rcx
imull $2129, %ecx, %ecx ## imm = 0x851
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.529:
imulq $130088929, %rax, %rcx ## imm = 0x7C0FFE1
shrq $38, %rcx
imull $2113, %ecx, %ecx ## imm = 0x841
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.530:
movl $4190611255, %ecx ## imm = 0xF9C7A737
imulq %rax, %rcx
shrq $43, %rcx
imull $2099, %ecx, %ecx ## imm = 0x833
movl %ebx, %edx
subl %ecx, %edx
je LBB2_314
## %bb.531:
imulq $1041697421, %rax, %rax ## imm = 0x3E170A8D
shrq $41, %rax
imull $2111, %eax, %eax ## imm = 0x83F
movl %ebx, %ecx
subl %eax, %ecx
movl $0, %edi
je LBB2_302
## %bb.532:
imull $-99743783, %ebx, %eax ## imm = 0xFA0E07D9
cmpl $1994876, %eax ## imm = 0x1E707C
setae %dil
jmp LBB2_302
LBB2_314:
xorl %edi, %edi
jmp LBB2_302
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $64, %edi
movl $8, %esi
callq _libmin_calloc
movq %rax, %rbx
movl $42, %edi
callq _libmin_srand
movl $4, %eax
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB3_1
.p2align 4, 0x90
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
incq %rax
cmpq $64, %rax
je LBB3_5
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_2 Depth 2
## Child Loop BB3_7 Depth 3
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB3_2
.p2align 4, 0x90
LBB3_3: ## in Loop: Header=BB3_2 Depth=2
xorl %eax, %eax
LBB3_15: ## in Loop: Header=BB3_2 Depth=2
movl %eax, %eax
movq (%rbx,%rax,8), %rsi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq 1(%r13), %rax
cmpq $64, %r13
jae LBB3_4
LBB3_2: ## Parent Loop BB3_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB3_7 Depth 3
movq %rax, -72(%rbp) ## 8-byte Spill
callq _libmin_rand
movl %eax, -56(%rbp) ## 4-byte Spill
callq _libmin_rand
movl %eax, %r13d
callq _libmin_rand
movl %eax, -52(%rbp) ## 4-byte Spill
callq _libmin_rand
movl %eax, %r15d
callq _libmin_rand
movl %eax, -48(%rbp) ## 4-byte Spill
callq _libmin_rand
movl %eax, %r14d
callq _libmin_rand
movl %eax, %r12d
callq _libmin_rand
## kill: def $eax killed $eax def $rax
shlq $56, %rax
movzbl %r12b, %ecx
shlq $48, %rcx
orq %rax, %rcx
movzbl %r14b, %eax
shlq $40, %rax
orq %rcx, %rax
movzbl -48(%rbp), %ecx ## 1-byte Folded Reload
shlq $32, %rcx
orq %rax, %rcx
shll $24, %r15d
orq %rcx, %r15
shll $8, %r13d
movzbl -52(%rbp), %eax ## 1-byte Folded Reload
shll $16, %eax
orq %r15, %rax
movzbl -56(%rbp), %ecx ## 1-byte Folded Reload
movzwl %r13w, %edx
movq -72(%rbp), %r13 ## 8-byte Reload
orq %rax, %rdx
orq %rcx, %rdx
movl %edx, %r15d
movl %r13d, %ecx
negb %cl
shlq %cl, %rdx
shrq %cl, %rdx
notl %r15d
andl $1, %r15d
orq %rdx, %r15
movl -44(%rbp), %r14d ## 4-byte Reload
incl %r14d
leaq L_.str(%rip), %rdi
movl %r14d, %esi
movq %r13, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
movq %rbx, %rsi
callq _factor
cmpq $0, 8(%rbx)
movl %r14d, -44(%rbp) ## 4-byte Spill
je LBB3_3
## %bb.6: ## in Loop: Header=BB3_2 Depth=2
xorl %r14d, %r14d
leaq L_.str.1(%rip), %r12
jmp LBB3_7
.p2align 4, 0x90
LBB3_14: ## in Loop: Header=BB3_7 Depth=3
leaq 1(%r14), %rax
cmpq $0, 16(%rbx,%r14,8)
movq %rax, %r14
je LBB3_15
LBB3_7: ## Parent Loop BB3_1 Depth=1
## Parent Loop BB3_2 Depth=2
## => This Inner Loop Header: Depth=3
movq (%rbx,%r14,8), %rsi
movq %r12, %rdi
xorl %eax, %eax
callq _libmin_printf
movq (%rbx,%r14,8), %rdi
movq %r15, %rax
orq %rdi, %rax
shrq $32, %rax
je LBB3_8
## %bb.9: ## in Loop: Header=BB3_7 Depth=3
movq %r15, %rax
xorl %edx, %edx
divq %rdi
testq %rdx, %rdx
je LBB3_12
LBB3_11: ## in Loop: Header=BB3_7 Depth=3
movl $1, %edi
callq _libmin_fail
movq (%rbx,%r14,8), %rdi
LBB3_12: ## in Loop: Header=BB3_7 Depth=3
movl $36, %esi
callq _is_prime
testl %eax, %eax
jne LBB3_14
## %bb.13: ## in Loop: Header=BB3_7 Depth=3
movl $1, %edi
callq _libmin_fail
jmp LBB3_14
.p2align 4, 0x90
LBB3_8: ## in Loop: Header=BB3_7 Depth=3
movl %r15d, %eax
xorl %edx, %edx
divl %edi
## kill: def $edx killed $edx def $rdx
testq %rdx, %rdx
jne LBB3_11
jmp LBB3_12
LBB3_5:
movq %rbx, %rdi
callq _libmin_free
callq _libmin_success
xorl %eax, %eax
addq $40, %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 "%5d. (%2d bits) %22lu = "
L_.str.1: ## @.str.1
.asciz "%lu * "
L_.str.2: ## @.str.2
.asciz "%lu\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _factor_worker ; -- Begin function factor_worker
.p2align 2
_factor_worker: ; @factor_worker
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _libmin_rand
add w8, w0, #1
udiv x9, x8, x19
msub x11, x9, x19, x8
mov x8, #-1 ; =0xffffffffffffffff
mov w9, #2 ; =0x2
mov x10, x11
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
mov x0, x12
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
cmp x0, #1
b.ne LBB0_9
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_7 Depth 2
add x12, x8, #1
cmp x12, x9
csel x10, x11, x10, eq
cset w12, eq
csinc x8, xzr, x8, eq
mov x13, #0 ; =0x0
cbz x11, LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
udiv x14, x11, x19
msub x14, x14, x19, x11
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
sub x15, x19, x13
cmp x14, x15
csel x15, xzr, x19, lo
add x16, x14, x13
sub x15, x16, x15
tst w11, #0x1
csel x13, x13, x15, eq
lsr x15, x11, #1
sub x16, x19, x14
cmp x14, x16
csel x16, xzr, x19, lo
lsl x14, x14, #1
sub x14, x14, x16
cmp x11, #1
mov x11, x15
b.hi LBB0_5
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
lsl x9, x9, x12
udiv x11, x13, x19
msub x11, x11, x19, x13
add x12, x11, #1
cmp x12, x19
csinc x11, xzr, x11, eq
sub x12, x10, x11
subs x13, x11, x10
csel x0, x13, x12, hi
mov x12, x19
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
udiv x13, x0, x12
msub x0, x13, x12, x0
cbz x0, LBB0_1
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
udiv x13, x12, x0
msub x12, x13, x0, x12
cbnz x12, LBB0_7
b LBB0_2
LBB0_9:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _factor ; -- Begin function factor
.p2align 2
_factor: ; @factor
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
mov w22, #2 ; =0x2
b LBB1_3
LBB1_1: ; in Loop: Header=BB1_3 Depth=1
mov x0, x21
mov x1, x19
bl _factor
mov x19, x0
udiv x8, x20, x21
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
mov x20, x8
cmp x8, #1
b.ls LBB1_22
LBB1_3: ; =>This Loop Header: Depth=1
; Child Loop BB1_7 Depth 2
; Child Loop BB1_14 Depth 2
; Child Loop BB1_16 Depth 3
; Child Loop BB1_18 Depth 3
; Child Loop BB1_5 Depth 2
cmp x20, #3
b.ls LBB1_20
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
tbnz w20, #0, LBB1_6
LBB1_5: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
str x22, [x19], #8
lsr x8, x20, #1
mov x9, x20
mov x20, x8
tbz w9, #1, LBB1_5
b LBB1_2
LBB1_6: ; in Loop: Header=BB1_3 Depth=1
lsr x0, x20, #1
udiv x8, x20, x0
LBB1_7: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
add x8, x8, x0
lsr x8, x8, #1
cmp x8, x0
b.hs LBB1_9
; %bb.8: ; in Loop: Header=BB1_7 Depth=2
mov x0, x8
udiv x8, x20, x8
b LBB1_7
LBB1_9: ; in Loop: Header=BB1_3 Depth=1
mul x8, x0, x0
cmp x8, x20
b.eq LBB1_21
; %bb.10: ; in Loop: Header=BB1_3 Depth=1
mov x0, x20
mov w1, #24 ; =0x18
bl _is_prime
cbnz w0, LBB1_20
; %bb.11: ; in Loop: Header=BB1_3 Depth=1
bl _libmin_rand
add w8, w0, #1
udiv x9, x8, x20
msub x11, x9, x20, x8
mov x8, #-1 ; =0xffffffffffffffff
mov w9, #2 ; =0x2
mov x10, x11
b LBB1_14
LBB1_12: ; in Loop: Header=BB1_14 Depth=2
mov x21, x12
LBB1_13: ; in Loop: Header=BB1_14 Depth=2
cmp x21, #1
b.ne LBB1_1
LBB1_14: ; Parent Loop BB1_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_16 Depth 3
; Child Loop BB1_18 Depth 3
add x12, x8, #1
cmp x12, x9
csel x10, x11, x10, eq
cset w12, eq
csinc x8, xzr, x8, eq
mov x13, #0 ; =0x0
cbz x11, LBB1_17
; %bb.15: ; in Loop: Header=BB1_14 Depth=2
udiv x14, x11, x20
msub x14, x14, x20, x11
LBB1_16: ; Parent Loop BB1_3 Depth=1
; Parent Loop BB1_14 Depth=2
; => This Inner Loop Header: Depth=3
sub x15, x20, x13
cmp x14, x15
csel x15, xzr, x20, lo
add x16, x14, x13
sub x15, x16, x15
tst w11, #0x1
csel x13, x13, x15, eq
lsr x15, x11, #1
sub x16, x20, x14
cmp x14, x16
csel x16, xzr, x20, lo
lsl x14, x14, #1
sub x14, x14, x16
cmp x11, #1
mov x11, x15
b.hi LBB1_16
LBB1_17: ; in Loop: Header=BB1_14 Depth=2
lsl x9, x9, x12
udiv x11, x13, x20
msub x11, x11, x20, x13
add x12, x11, #1
cmp x12, x20
csinc x11, xzr, x11, eq
sub x12, x10, x11
subs x13, x11, x10
csel x21, x13, x12, hi
mov x12, x20
LBB1_18: ; Parent Loop BB1_3 Depth=1
; Parent Loop BB1_14 Depth=2
; => This Inner Loop Header: Depth=3
udiv x13, x21, x12
msub x21, x13, x12, x21
cbz x21, LBB1_12
; %bb.19: ; in Loop: Header=BB1_18 Depth=3
udiv x13, x12, x21
msub x12, x13, x21, x12
cbnz x12, LBB1_18
b LBB1_13
LBB1_20:
str x20, [x19], #8
b LBB1_22
LBB1_21:
mov x1, x19
bl _factor
sub x20, x0, x19
mov x1, x19
mov x2, x20
bl _libmin_memcpy
add x19, x19, x20, lsl #1
LBB1_22:
str xzr, [x19]
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function is_prime
_is_prime: ; @is_prime
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
subs x21, x0, #1
cset w8, ne
and w9, w19, #0x1
cmp w8, w9
b.eq LBB2_2
; %bb.1:
cmp x19, #2
cset w0, eq
b LBB2_393
LBB2_2:
mov w8, #16864 ; =0x41e0
movk w8, #71, lsl #16
cmp x19, x8
b.hi LBB2_362
; %bb.3:
and x8, x19, #0x1
mov w9, #10370 ; =0x2882
movk w9, #8330, lsl #16
add w10, w9, #42
cmp x19, #6
csel w9, w10, w9, lo
mov w10, #34953 ; =0x8889
movk w10, #34952, lsl #16
and x11, x19, #0xffffffff
umull x10, w11, w10
lsr x10, x10, #36
mov w11, #30 ; =0x1e
msub w10, w10, w11, w19
lsr w9, w9, w10
tst x8, x9
b.eq LBB2_392
; %bb.4:
cmp x19, #49
b.lo LBB2_391
; %bb.5:
mov w0, #0 ; =0x0
mov w8, #49717 ; =0xc235
movk w8, #20338, lsl #16
mul w8, w19, w8
mov w9, #56497 ; =0xdcb1
movk w9, #2259, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.6:
mov w8, #17097 ; =0x42c9
movk w8, #45590, lsl #16
umull x8, w19, w8
lsr x8, x8, #36
mov w9, #23 ; =0x17
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.7:
mov w8, #27595 ; =0x6bcb
movk w8, #44840, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #4
mov w9, #19 ; =0x13
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.8:
mov w8, #61681 ; =0xf0f1
movk w8, #61680, lsl #16
umull x8, w19, w8
lsr x8, x8, #36
add w8, w8, w8, lsl #4
sub w8, w19, w8
cbz w8, LBB2_393
; %bb.9:
mov w8, #60495 ; =0xec4f
movk w8, #20164, lsl #16
umull x8, w19, w8
lsr x8, x8, #34
mov w9, #13 ; =0xd
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.10:
mov w8, #18725 ; =0x4925
movk w8, #9362, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #2
sub w8, w8, w8, lsl #3
add w8, w19, w8
cbz w8, LBB2_393
; %bb.11:
mov w8, #35747 ; =0x8ba3
movk w8, #47662, lsl #16
umull x8, w19, w8
lsr x8, x8, #35
mov w9, #11 ; =0xb
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.12:
cmp x19, #961
b.lo LBB2_391
; %bb.13:
mov w0, #0 ; =0x0
mov w8, #19563 ; =0x4c6b
movk w8, #1956, lsl #16
mul w8, w19, w8
mov w9, #9782 ; =0x2636
movk w9, #978, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.14:
mov w8, #50495 ; =0xc53f
movk w8, #17189, lsl #16
umull x8, w19, w8
lsr x8, x8, #36
mov w9, #61 ; =0x3d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.15:
mov w8, #15551 ; =0x3cbf
movk w8, #8886, lsl #16
umull x8, w19, w8
lsr x8, x8, #35
mov w9, #59 ; =0x3b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.16:
mov w8, #53171 ; =0xcfb3
movk w8, #13601, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #5
mov w9, #53 ; =0x35
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.17:
mov w8, #16733 ; =0x415d
movk w8, #44620, lsl #16
umull x8, w19, w8
lsr x8, x8, #37
mov w9, #47 ; =0x2f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.18:
mov w8, #48771 ; =0xbe83
movk w8, #12192, lsl #16
umull x8, w19, w8
lsr x8, x8, #35
mov w9, #43 ; =0x2b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.19:
mov w8, #3197 ; =0xc7d
movk w8, #51150, lsl #16
umull x8, w19, w8
lsr x8, x8, #37
mov w9, #41 ; =0x29
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.20:
mov w8, #4229 ; =0x1085
movk w8, #2114, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #4
sub w8, w8, w8, lsl #5
add w8, w19, w8
cbz w8, LBB2_393
; %bb.21:
mov w8, #37197 ; =0x914d
movk w8, #47823, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #5
mov w9, #37 ; =0x25
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.22:
mov w8, #5041 ; =0x13b1
cmp x19, x8
b.lo LBB2_391
; %bb.23:
mov w0, #0 ; =0x0
mov w8, #44099 ; =0xac43
movk w8, #36136, lsl #16
mul w8, w19, w8
mov w9, #31850 ; =0x7c6a
movk w9, #612, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.24:
mov w8, #52175 ; =0xcbcf
movk w8, #15906, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #6
mov w9, #103 ; =0x67
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.25:
mov w8, #34391 ; =0x8657
movk w8, #17519, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #6
mov w9, #101 ; =0x65
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.26:
mov w8, #32431 ; =0x7eaf
movk w8, #20944, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #6
mov w9, #97 ; =0x61
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.27:
mov w8, #737 ; =0x2e1
movk w8, #47127, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #89 ; =0x59
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.28:
mov w8, #29215 ; =0x721f
movk w8, #12633, lsl #16
umull x8, w19, w8
lsr x8, x8, #36
mov w9, #83 ; =0x53
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.29:
mov w8, #29865 ; =0x74a9
movk w8, #53092, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #79 ; =0x4f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.30:
mov w8, #46153 ; =0xb449
movk w8, #59074, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #71 ; =0x47
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.31:
mov w8, #28729 ; =0x7039
movk w8, #49376, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #6
mov w9, #73 ; =0x49
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.32:
mov w8, #11881 ; =0x2e69
cmp x19, x8
b.lo LBB2_391
; %bb.33:
mov w0, #0 ; =0x0
mov w8, #34229 ; =0x85b5
movk w8, #11270, lsl #16
mul w8, w19, w8
mov w9, #27968 ; =0x6d40
movk w9, #417, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.34:
mov w8, #27777 ; =0x6c81
movk w8, #13888, lsl #16
umull x8, w19, w8
lsr x8, x8, #37
mov w9, #151 ; =0x97
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.35:
mov w8, #25071 ; =0x61ef
movk w8, #56299, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #149 ; =0x95
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.36:
mov w8, #55635 ; =0xd953
movk w8, #30174, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #139 ; =0x8b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.37:
mov w8, #30137 ; =0x75b9
movk w8, #1913, lsl #16
umull x8, w19, w8
lsr x8, x8, #34
mov w9, #137 ; =0x89
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.38:
mov w8, #11507 ; =0x2cf3
movk w8, #64035, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #131 ; =0x83
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.39:
mov w8, #2065 ; =0x811
movk w8, #516, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #6
sub w8, w8, w8, lsl #7
add w8, w19, w8
cbz w8, LBB2_393
; %bb.40:
mov w8, #46297 ; =0xb4d9
movk w8, #11423, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #6
mov w9, #109 ; =0x6d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.41:
mov w8, #30739 ; =0x7813
movk w8, #8699, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #6
mov w9, #113 ; =0x71
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.42:
mov w8, #26569 ; =0x67c9
cmp x19, x8
b.lo LBB2_391
; %bb.43:
mov w0, #0 ; =0x0
mov w8, #49399 ; =0xc0f7
movk w8, #61254, lsl #16
mul w8, w19, w8
mov w9, #21407 ; =0x539f
movk w9, #329, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.44:
mov w8, #34931 ; =0x8873
movk w8, #19627, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #7
mov w9, #197 ; =0xc5
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.45:
mov w8, #2377 ; =0x949
movk w8, #5433, lsl #16
umull x8, w19, w8
lsr x8, x8, #36
mov w9, #193 ; =0xc1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.46:
mov w8, #27107 ; =0x69e3
movk w8, #43919, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #191 ; =0xbf
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.47:
mov w8, #59019 ; =0xe68b
movk w8, #46345, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #181 ; =0xb5
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.48:
mov w8, #30389 ; =0x76b5
movk w8, #28191, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #7
mov w9, #179 ; =0xb3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.49:
mov w8, #8335 ; =0x208f
movk w8, #31442, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #7
mov w9, #173 ; =0xad
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.50:
mov w8, #55887 ; =0xda4f
movk w8, #51463, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #163 ; =0xa3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.51:
mov w8, #38851 ; =0x97c3
movk w8, #25115, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #167 ; =0xa7
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.52:
mov w8, #44521 ; =0xade9
cmp x19, x8
b.lo LBB2_391
; %bb.53:
mov w0, #0 ; =0x0
mov w8, #65281 ; =0xff01
movk w8, #65280, lsl #16
mul w8, w19, w8
mov w9, #256 ; =0x100
movk w9, #255, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.54:
mov w8, #49087 ; =0xbfbf
movk w8, #33420, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #251 ; =0xfb
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.55:
mov w8, #61457 ; =0xf011
movk w8, #4350, lsl #16
umull x8, w19, w8
lsr x8, x8, #36
mov w9, #241 ; =0xf1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.56:
mov w8, #51003 ; =0xc73b
movk w8, #35098, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #239 ; =0xef
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.57:
mov w8, #14345 ; =0x3809
movk w8, #6469, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #7
mov w9, #233 ; =0xe9
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.58:
mov w8, #48365 ; =0xbced
movk w8, #18315, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #229 ; =0xe5
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.59:
mov w8, #28871 ; =0x70c7
movk w8, #8372, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #7
mov w9, #227 ; =0xe3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.60:
mov w8, #28575 ; =0x6f9f
movk w8, #39756, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #211 ; =0xd3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.61:
mov w8, #9993 ; =0x2709
movk w8, #9698, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #7
mov w9, #223 ; =0xdf
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.62:
mov w8, #3633 ; =0xe31
movk w8, #1, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.63:
mov w0, #0 ; =0x0
mov w8, #33927 ; =0x8487
movk w8, #42777, lsl #16
mul w8, w19, w8
mov w9, #47625 ; =0xba09
movk w9, #210, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.64:
mov w8, #59773 ; =0xe97d
movk w8, #54648, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #307 ; =0x133
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.65:
mov w8, #8053 ; =0x1f75
movk w8, #57260, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #293 ; =0x125
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.66:
mov w8, #29411 ; =0x72e3
movk w8, #59283, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #283 ; =0x11b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.67:
mov w8, #52009 ; =0xcb29
movk w8, #1865, lsl #16
umull x8, w19, w8
lsr x8, x8, #35
mov w9, #281 ; =0x119
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.68:
mov w8, #37145 ; =0x9119
movk w8, #60567, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #277 ; =0x115
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.69:
mov w8, #35791 ; =0x8bcf
movk w8, #61908, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #271 ; =0x10f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.70:
mov w8, #55569 ; =0xd911
movk w8, #31895, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #263 ; =0x107
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.71:
mov w8, #54573 ; =0xd52d
movk w8, #62368, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #269 ; =0x10d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.72:
mov w8, #32433 ; =0x7eb1
movk w8, #1, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.73:
mov w0, #0 ; =0x0
mov w8, #32143 ; =0x7d8f
movk w8, #46964, lsl #16
mul w8, w19, w8
mov w9, #37501 ; =0x927d
movk w9, #178, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.74:
mov w8, #25193 ; =0x6269
movk w8, #27930, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #8
mov w9, #359 ; =0x167
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.75:
mov w8, #3157 ; =0xc55
movk w8, #29519, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #8
mov w9, #353 ; =0x161
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.76:
mov w8, #16525 ; =0x408d
movk w8, #48072, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #349 ; =0x15d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.77:
mov w8, #43439 ; =0xa9af
movk w8, #24174, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #347 ; =0x15b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.78:
mov w8, #389 ; =0x185
movk w8, #12446, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #337 ; =0x151
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.79:
mov w8, #59399 ; =0xe807
movk w8, #35836, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #8
mov w9, #331 ; =0x14b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.80:
mov w8, #43133 ; =0xa87d
movk w8, #41666, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #8
mov w9, #313 ; =0x139
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.81:
mov w8, #15919 ; =0x3e2f
movk w8, #13231, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #317 ; =0x13d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.82:
mov w8, #8057 ; =0x1f79
movk w8, #2, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.83:
mov w0, #0 ; =0x0
mov w8, #65069 ; =0xfe2d
movk w8, #64134, lsl #16
mul w8, w19, w8
mov w9, #43743 ; =0xaadf
movk w9, #155, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.84:
mov w8, #11575 ; =0x2d37
movk w8, #14546, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #8
mov w9, #419 ; =0x1a3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.85:
mov w8, #5769 ; =0x1689
movk w8, #41020, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #409 ; =0x199
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.86:
mov w8, #29091 ; =0x71a3
movk w8, #41838, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #401 ; =0x191
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.87:
mov w8, #65371 ; =0xff5b
movk w8, #10564, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #397 ; =0x18d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.88:
mov w8, #5897 ; =0x1709
movk w8, #43129, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #389 ; =0x185
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.89:
mov w8, #12149 ; =0x2f75
movk w8, #10951, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #383 ; =0x17f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.90:
mov w8, #17219 ; =0x4343
movk w8, #24422, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #8
mov w9, #373 ; =0x175
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.91:
mov w8, #7955 ; =0x1f13
movk w8, #22998, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #8
mov w9, #379 ; =0x17b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.92:
mov w8, #54689 ; =0xd5a1
movk w8, #2, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.93:
mov w0, #0 ; =0x0
mov w8, #65115 ; =0xfe5b
movk w8, #64272, lsl #16
mul w8, w19, w8
mov w9, #21893 ; =0x5585
movk w9, #140, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.94:
mov w8, #12173 ; =0x2f8d
movk w8, #566, lsl #16
umull x8, w19, w8
lsr x8, x8, #34
mov w9, #463 ; =0x1cf
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.95:
mov w8, #6113 ; =0x17e1
movk w8, #36393, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #461 ; =0x1cd
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.96:
mov w8, #59513 ; =0xe879
movk w8, #9177, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #457 ; =0x1c9
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.97:
mov w8, #48313 ; =0xbcb9
movk w8, #37365, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #449 ; =0x1c1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.98:
mov w8, #41867 ; =0xa38b
movk w8, #10207, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #8
mov w9, #443 ; =0x1bb
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.99:
mov w8, #7315 ; =0x1c93
movk w8, #4777, lsl #16
umull x8, w19, w8
lsr x8, x8, #37
mov w9, #439 ; =0x1b7
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.100:
mov w8, #33453 ; =0x82ad
movk w8, #12316, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #8
mov w9, #431 ; =0x1af
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.101:
mov w8, #42833 ; =0xa751
movk w8, #2421, lsl #16
umull x8, w19, w8
lsr x8, x8, #36
mov w9, #433 ; =0x1b1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.102:
mov w8, #32833 ; =0x8041
movk w8, #3, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.103:
mov w0, #0 ; =0x0
mov w8, #53301 ; =0xd035
movk w8, #9448, lsl #16
mul w8, w19, w8
mov w9, #9086 ; =0x237e
movk w9, #121, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.104:
mov w8, #60649 ; =0xece9
movk w8, #2004, lsl #16
umull x8, w19, w8
lsr x8, x8, #36
mov w9, #523 ; =0x20b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.105:
mov w8, #58995 ; =0xe673
movk w8, #64403, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #521 ; =0x209
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.106:
mov w8, #8627 ; =0x21b3
movk w8, #32961, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #509 ; =0x1fd
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.107:
mov w8, #20065 ; =0x4e61
movk w8, #33354, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #503 ; =0x1f7
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.108:
mov w8, #27449 ; =0x6b39
movk w8, #8405, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #499 ; =0x1f3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.109:
mov w8, #63267 ; =0xf723
movk w8, #2802, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #8
mov w9, #491 ; =0x1eb
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.110:
mov w8, #411 ; =0x19b
movk w8, #4515, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #8
mov w9, #479 ; =0x1df
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.111:
mov w8, #4441 ; =0x1159
movk w8, #17225, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #487 ; =0x1e7
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.112:
mov w8, #37065 ; =0x90c9
movk w8, #4, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.113:
mov w0, #0 ; =0x0
mov w8, #2407 ; =0x967
movk w8, #12582, lsl #16
mul w8, w19, w8
mov w9, #26806 ; =0x68b6
movk w9, #109, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.114:
mov w8, #6631 ; =0x19e7
movk w8, #28292, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #593 ; =0x251
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.115:
mov w8, #37737 ; =0x9369
movk w8, #57162, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #587 ; =0x24b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.116:
mov w8, #17151 ; =0x42ff
movk w8, #58153, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #577 ; =0x241
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.117:
mov w8, #10789 ; =0x2a25
movk w8, #29382, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #571 ; =0x23b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.118:
mov w8, #47223 ; =0xb877
movk w8, #14742, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #569 ; =0x239
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.119:
mov w8, #22699 ; =0x58ab
movk w8, #59599, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #563 ; =0x233
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.120:
mov w8, #43491 ; =0xa9e3
movk w8, #15335, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #547 ; =0x223
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.121:
mov w8, #35533 ; =0x8acd
movk w8, #1882, lsl #16
umull x8, w19, w8
lsr x8, x8, #36
mov w9, #557 ; =0x22d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.122:
mov w8, #33521 ; =0x82f1
movk w8, #5, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.123:
mov w0, #0 ; =0x0
mov w8, #9015 ; =0x2337
movk w8, #49633, lsl #16
mul w8, w19, w8
mov w9, #19145 ; =0x4ac9
movk w9, #101, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.124:
mov w8, #12231 ; =0x2fc7
movk w8, #52184, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #643 ; =0x283
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.125:
mov w8, #15745 ; =0x3d81
movk w8, #102, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
mov w9, #641 ; =0x281
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.126:
mov w8, #9763 ; =0x2623
movk w8, #13294, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #631 ; =0x277
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.127:
mov w8, #31657 ; =0x7ba9
movk w8, #54207, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #619 ; =0x26b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.128:
mov w8, #12853 ; =0x3235
movk w8, #54383, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #617 ; =0x269
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.129:
mov w8, #4063 ; =0xfdf
movk w8, #54738, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #613 ; =0x265
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.130:
mov w8, #219 ; =0xdb
movk w8, #46126, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #601 ; =0x259
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.131:
mov w8, #37033 ; =0x90a9
movk w8, #27639, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #607 ; =0x25f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.132:
mov w8, #33193 ; =0x81a9
movk w8, #6, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.133:
mov w0, #0 ; =0x0
mov w8, #11277 ; =0x2c0d
movk w8, #462, lsl #16
mul w8, w19, w8
mov w9, #28470 ; =0x6f36
movk w9, #92, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.134:
mov w8, #2899 ; =0xb53
movk w8, #30197, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #701 ; =0x2bd
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.135:
mov w8, #53017 ; =0xcf19
movk w8, #12139, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #691 ; =0x2b3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.136:
mov w8, #59395 ; =0xe803
movk w8, #191, lsl #16
umull x8, w19, w8
lsr x8, x8, #33
mov w9, #683 ; =0x2ab
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.137:
mov w8, #46369 ; =0xb521
movk w8, #24781, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #677 ; =0x2a5
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.138:
mov w8, #65439 ; =0xff9f
movk w8, #24928, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #673 ; =0x2a1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.139:
mov w8, #17649 ; =0x44f1
movk w8, #35990, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #661 ; =0x295
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.140:
mov w8, #34123 ; =0x854b
movk w8, #25692, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #653 ; =0x28d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.141:
mov w8, #12829 ; =0x321d
movk w8, #50917, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #659 ; =0x293
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.142:
mov w8, #58209 ; =0xe361
movk w8, #7, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.143:
mov w0, #0 ; =0x0
mov w8, #64769 ; =0xfd01
movk w8, #58632, lsl #16
mul w8, w19, w8
mov w9, #14574 ; =0x38ee
movk w9, #85, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.144:
mov w8, #18085 ; =0x46a5
movk w8, #22046, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #761 ; =0x2f9
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.145:
mov w8, #25193 ; =0x6269
movk w8, #11081, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #757 ; =0x2f5
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.146:
mov w8, #22253 ; =0x56ed
movk w8, #23823, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #751 ; =0x2ef
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.147:
mov w8, #48689 ; =0xbe31
movk w8, #45160, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #743 ; =0x2e7
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.148:
mov w8, #38843 ; =0x97bb
movk w8, #22702, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #739 ; =0x2e3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.149:
mov w8, #55791 ; =0xd9ef
movk w8, #45776, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #733 ; =0x2dd
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.150:
mov w8, #12761 ; =0x31d9
movk w8, #46668, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #719 ; =0x2cf
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.151:
mov w8, #19923 ; =0x4dd3
movk w8, #26773, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #727 ; =0x2d7
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.152:
mov w8, #7705 ; =0x1e19
movk w8, #9, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.153:
mov w0, #0 ; =0x0
mov w8, #27669 ; =0x6c15
movk w8, #15178, lsl #16
mul w8, w19, w8
mov w9, #3558 ; =0xde6
movk w9, #79, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.154:
mov w8, #44457 ; =0xada9
movk w8, #40573, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #827 ; =0x33b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.155:
mov w8, #49451 ; =0xc12b
movk w8, #16005, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #823 ; =0x337
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.156:
mov w8, #36001 ; =0x8ca1
movk w8, #10217, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #821 ; =0x335
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.157:
mov w8, #30869 ; =0x7895
movk w8, #646, lsl #16
umull x8, w19, w8
lsr x8, x8, #35
mov w9, #811 ; =0x32b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.158:
mov w8, #56383 ; =0xdc3f
movk w8, #17416, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #809 ; =0x329
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.159:
mov w8, #54847 ; =0xd63f
movk w8, #18665, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #797 ; =0x31d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.160:
mov w8, #2035 ; =0x7f3
movk w8, #21704, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #773 ; =0x305
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.161:
mov w8, #57209 ; =0xdf79
movk w8, #42635, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #787 ; =0x313
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.162:
mov w8, #48561 ; =0xbdb1
movk w8, #10, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.163:
mov w0, #0 ; =0x0
mov w8, #50759 ; =0xc647
movk w8, #59255, lsl #16
mul w8, w19, w8
mov w9, #58000 ; =0xe290
movk w9, #73, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.164:
mov w8, #32063 ; =0x7d3f
movk w8, #38000, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #883 ; =0x373
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.165:
mov w8, #49543 ; =0xc187
movk w8, #38086, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #881 ; =0x371
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.166:
mov w8, #7697 ; =0x1e11
movk w8, #9565, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #877 ; =0x36d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.167:
mov w8, #19593 ; =0x4c89
movk w8, #12226, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #863 ; =0x35f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.168:
mov w8, #26551 ; =0x67b7
movk w8, #12588, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #859 ; =0x35b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.169:
mov w8, #23783 ; =0x5ce7
movk w8, #39153, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #857 ; =0x359
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.170:
mov w8, #47649 ; =0xba21
movk w8, #14450, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #839 ; =0x347
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.171:
mov w8, #15827 ; =0x3dd3
movk w8, #9834, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #853 ; =0x355
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.172:
mov w8, #36217 ; =0x8d79
movk w8, #12, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.173:
mov w0, #0 ; =0x0
mov w8, #52727 ; =0xcdf7
movk w8, #3930, lsl #16
mul w8, w19, w8
mov w9, #50627 ; =0xc5c3
movk w9, #67, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.174:
mov w8, #4745 ; =0x1289
movk w8, #275, lsl #16
umull x8, w19, w8
lsr x8, x8, #34
mov w9, #953 ; =0x3b9
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.175:
mov w8, #22699 ; =0x58ab
movk w8, #35432, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #947 ; =0x3b3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.176:
mov w8, #8845 ; =0x228d
movk w8, #17829, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #941 ; =0x3ad
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.177:
mov w8, #64627 ; =0xfc73
movk w8, #6084, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #937 ; =0x3a9
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.178:
mov w8, #48747 ; =0xbe6b
movk w8, #6701, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #929 ; =0x3a1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.179:
mov w8, #51845 ; =0xca85
movk w8, #7487, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #919 ; =0x397
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.180:
mov w8, #12139 ; =0x2f6b
movk w8, #2312, lsl #16
umull x8, w19, w8
lsr x8, x8, #37
mov w9, #907 ; =0x38b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.181:
mov w8, #34531 ; =0x86e3
movk w8, #36832, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #911 ; =0x38f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.182:
mov w8, #25337 ; =0x62f9
movk w8, #14, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.183:
mov w0, #0 ; =0x0
mov w8, #29013 ; =0x7155
movk w8, #58860, lsl #16
mul w8, w19, w8
mov w9, #12325 ; =0x3025
movk w9, #64, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.184:
mov w8, #37367 ; =0x91f7
movk w8, #321, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #1019 ; =0x3fb
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.185:
mov w8, #53891 ; =0xd283
movk w8, #33123, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1013 ; =0x3f5
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.186:
mov w8, #17797 ; =0x4585
movk w8, #974, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #1009 ; =0x3f1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.187:
mov w8, #52193 ; =0xcbe1
movk w8, #1774, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #997 ; =0x3e5
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.188:
mov w8, #21559 ; =0x5437
movk w8, #2182, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #991 ; =0x3df
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.189:
mov w8, #29135 ; =0x71cf
movk w8, #2733, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #983 ; =0x3d7
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.190:
mov w8, #9517 ; =0x252d
movk w8, #3577, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #971 ; =0x3cb
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.191:
mov w8, #46151 ; =0xb447
movk w8, #3152, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #9
mov w9, #977 ; =0x3d1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.192:
mov w8, #14385 ; =0x3831
movk w8, #16, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.193:
mov w0, #0 ; =0x0
mov w8, #60351 ; =0xebbf
movk w8, #12841, lsl #16
mul w8, w19, w8
mov w9, #19052 ; =0x4a6c
movk w9, #60, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.194:
mov w8, #20231 ; =0x4f07
movk w8, #15694, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #1069 ; =0x42d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.195:
mov w8, #51603 ; =0xc993
movk w8, #31565, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1063 ; =0x427
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.196:
mov w8, #18963 ; =0x4a13
movk w8, #31625, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1061 ; =0x425
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.197:
mov w8, #25691 ; =0x645b
movk w8, #63852, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1051 ; =0x41b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.198:
mov w8, #4311 ; =0x10d7
movk w8, #31987, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1049 ; =0x419
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.199:
mov w8, #56327 ; =0xdc07
movk w8, #64589, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1039 ; =0x40f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.200:
mov w8, #34135 ; =0x8557
movk w8, #32545, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1031 ; =0x407
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.201:
mov w8, #33371 ; =0x825b
movk w8, #32482, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1033 ; =0x409
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.202:
mov w8, #10633 ; =0x2989
movk w8, #18, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.203:
mov w0, #0 ; =0x0
mov w8, #47999 ; =0xbb7f
movk w8, #38091, lsl #16
mul w8, w19, w8
mov w9, #61494 ; =0xf036
movk w9, #56, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.204:
mov w8, #64085 ; =0xfa55
movk w8, #59440, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1129 ; =0x469
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.205:
mov w8, #18383 ; =0x47cf
movk w8, #29879, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1123 ; =0x463
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.206:
mov w8, #36435 ; =0x8e53
movk w8, #60079, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1117 ; =0x45d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.207:
mov w8, #15601 ; =0x3cf1
movk w8, #15128, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #1109 ; =0x455
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.208:
mov w8, #17409 ; =0x4401
movk w8, #7605, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #1103 ; =0x44f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.209:
mov w8, #58905 ; =0xe619
movk w8, #61174, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1097 ; =0x449
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.210:
mov w8, #43671 ; =0xaa97
movk w8, #30755, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1091 ; =0x443
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.211:
mov w8, #25483 ; =0x638b
movk w8, #30699, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1093 ; =0x445
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.212:
mov w8, #18689 ; =0x4901
movk w8, #20, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.213:
mov w0, #0 ; =0x0
mov w8, #35649 ; =0x8b41
movk w8, #58858, lsl #16
mul w8, w19, w8
mov w9, #55736 ; =0xd9b8
movk w9, #53, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.214:
mov w8, #52029 ; =0xcb3d
movk w8, #3457, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #1213 ; =0x4bd
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.215:
mov w8, #11241 ; =0x2be9
movk w8, #1746, lsl #16
umull x8, w19, w8
lsr x8, x8, #37
mov w9, #1201 ; =0x4b1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.216:
mov w8, #12525 ; =0x30ed
movk w8, #56252, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1193 ; =0x4a9
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.217:
mov w8, #17447 ; =0x4427
movk w8, #28268, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1187 ; =0x4a3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.218:
mov w8, #49999 ; =0xc34f
movk w8, #56823, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1181 ; =0x49d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.219:
mov w8, #41135 ; =0xa0af
movk w8, #7163, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #1171 ; =0x493
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.220:
mov w8, #60591 ; =0xecaf
movk w8, #14550, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #1153 ; =0x481
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.221:
mov w8, #15497 ; =0x3c89
movk w8, #57703, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1163 ; =0x48b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.222:
mov w8, #53937 ; =0xd2b1
movk w8, #22, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.223:
mov w0, #0 ; =0x0
mov w8, #36267 ; =0x8dab
movk w8, #6078, lsl #16
mul w8, w19, w8
mov w9, #5262 ; =0x148e
movk w9, #51, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.224:
mov w8, #38277 ; =0x9585
movk w8, #39403, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1279 ; =0x4ff
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.225:
mov w8, #61431 ; =0xeff7
movk w8, #39567, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1277 ; =0x4fd
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.226:
mov w8, #20145 ; =0x4eb1
movk w8, #53303, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1259 ; =0x4eb
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.227:
mov w8, #4933 ; =0x1345
movk w8, #53730, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1249 ; =0x4e1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.228:
mov w8, #42755 ; =0xa703
movk w8, #27125, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1237 ; =0x4d5
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.229:
mov w8, #47861 ; =0xbaf5
movk w8, #54515, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1231 ; =0x4cf
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.230:
mov w8, #2733 ; =0xaad
movk w8, #6859, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #1223 ; =0x4c7
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.231:
mov w8, #14611 ; =0x3913
movk w8, #27302, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1229 ; =0x4cd
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.232:
mov w8, #23121 ; =0x5a51
movk w8, #25, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.233:
mov w0, #0 ; =0x0
mov w8, #25039 ; =0x61cf
movk w8, #19211, lsl #16
mul w8, w19, w8
mov w9, #25336 ; =0x62f8
movk w9, #49, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.234:
mov w8, #36861 ; =0x8ffd
movk w8, #50801, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1321 ; =0x529
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.235:
mov w8, #38855 ; =0x97c7
movk w8, #50878, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1319 ; =0x527
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.236:
mov w8, #29635 ; =0x73c3
movk w8, #37155, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1307 ; =0x51b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.237:
mov w8, #22885 ; =0x5965
movk w8, #51503, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1303 ; =0x517
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.238:
mov w8, #34355 ; =0x8633
movk w8, #51582, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1301 ; =0x515
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.239:
mov w8, #39767 ; =0x9b57
movk w8, #51741, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1297 ; =0x511
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.240:
mov w8, #30659 ; =0x77c3
movk w8, #38589, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1289 ; =0x509
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.241:
mov w8, #2589 ; =0xa1d
movk w8, #25991, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1291 ; =0x50b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.242:
mov w8, #17313 ; =0x43a1
movk w8, #28, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.243:
mov w0, #0 ; =0x0
mov w8, #7613 ; =0x1dbd
movk w8, #46962, lsl #16
mul w8, w19, w8
mov w9, #56456 ; =0xdc88
movk w9, #45, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.244:
mov w8, #61311 ; =0xef7f
movk w8, #47027, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1427 ; =0x593
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.245:
mov w8, #16949 ; =0x4235
movk w8, #28784, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1423 ; =0x58f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.246:
mov w8, #47071 ; =0xb7df
movk w8, #47628, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1409 ; =0x581
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.247:
mov w8, #10915 ; =0x2aa3
movk w8, #47969, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1399 ; =0x577
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.248:
mov w8, #26101 ; =0x65f5
movk w8, #48594, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1381 ; =0x565
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.249:
mov w8, #35465 ; =0x8a89
movk w8, #48877, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1373 ; =0x55d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.250:
mov w8, #36837 ; =0x8fe5
movk w8, #6163, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #1361 ; =0x551
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.251:
mov w8, #9589 ; =0x2575
movk w8, #32648, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1367 ; =0x557
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.252:
mov w8, #21873 ; =0x5571
movk w8, #31, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.253:
mov w0, #0 ; =0x0
mov w8, #63459 ; =0xf7e3
movk w8, #33452, lsl #16
mul w8, w19, w8
mov w9, #12551 ; =0x3107
movk w9, #44, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.254:
mov w8, #27525 ; =0x6b85
movk w8, #25090, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1481 ; =0x5c9
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.255:
mov w8, #41077 ; =0xa075
movk w8, #22810, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1471 ; =0x5bf
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.256:
mov w8, #31443 ; =0x7ad3
movk w8, #45996, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1459 ; =0x5b3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.257:
mov w8, #27333 ; =0x6ac5
movk w8, #46186, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1453 ; =0x5ad
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.258:
mov w8, #5149 ; =0x141d
movk w8, #46250, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1451 ; =0x5ab
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.259:
mov w8, #60917 ; =0xedf5
movk w8, #46377, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1447 ; =0x5a7
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.260:
mov w8, #3751 ; =0xea7
movk w8, #28126, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1433 ; =0x599
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.261:
mov w8, #61665 ; =0xf0e1
movk w8, #11658, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #1439 ; =0x59f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.262:
mov w8, #48481 ; =0xbd61
movk w8, #33, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.263:
mov w0, #0 ; =0x0
mov w8, #47301 ; =0xb8c5
movk w8, #5034, lsl #16
mul w8, w19, w8
mov w9, #20224 ; =0x4f00
movk w9, #42, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.264:
mov w8, #30071 ; =0x7577
movk w8, #43492, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1543 ; =0x607
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.265:
mov w8, #46317 ; =0xb4ed
movk w8, #22130, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1531 ; =0x5fb
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.266:
mov w8, #13211 ; =0x339b
movk w8, #22591, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1523 ; =0x5f3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.267:
mov w8, #35609 ; =0x8b19
movk w8, #44413, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1511 ; =0x5e7
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.268:
mov w8, #5815 ; =0x16b7
movk w8, #44769, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1499 ; =0x5db
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.269:
mov w8, #615 ; =0x267
movk w8, #24362, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1493 ; =0x5d5
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.270:
mov w8, #48833 ; =0xbec1
movk w8, #24724, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1487 ; =0x5cf
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.271:
mov w8, #33319 ; =0x8227
movk w8, #24603, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1489 ; =0x5d1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.272:
mov w8, #52513 ; =0xcd21
movk w8, #36, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.273:
mov w0, #0 ; =0x0
mov w8, #50039 ; =0xc377
movk w8, #9379, lsl #16
mul w8, w19, w8
mov w9, #51222 ; =0xc816
movk w9, #40, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.274:
mov w8, #13795 ; =0x35e3
movk w8, #10479, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #1601 ; =0x641
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.275:
mov w8, #43377 ; =0xa971
movk w8, #18507, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1597 ; =0x63d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.276:
mov w8, #30843 ; =0x787b
movk w8, #42393, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1583 ; =0x62f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.277:
mov w8, #56613 ; =0xdd25
movk w8, #42500, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1579 ; =0x62b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.278:
mov w8, #38129 ; =0x94f1
movk w8, #19898, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1571 ; =0x623
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.279:
mov w8, #19113 ; =0x4aa9
movk w8, #5353, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #1567 ; =0x61f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.280:
mov w8, #13251 ; =0x33c3
movk w8, #21606, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1553 ; =0x611
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.281:
mov w8, #3153 ; =0xc51
movk w8, #21523, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1559 ; =0x617
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.282:
mov w8, #32977 ; =0x80d1
movk w8, #39, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.283:
mov w0, #0 ; =0x0
mov w8, #63531 ; =0xf82b
movk w8, #28816, lsl #16
mul w8, w19, w8
mov w9, #20562 ; =0x5052
movk w9, #39, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.284:
mov w8, #12769 ; =0x31e1
movk w8, #15172, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1663 ; =0x67f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.285:
mov w8, #14397 ; =0x383d
movk w8, #40500, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1657 ; =0x679
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.286:
mov w8, #33749 ; =0x83d5
movk w8, #20497, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1637 ; =0x665
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.287:
mov w8, #65335 ; =0xff37
movk w8, #41246, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1627 ; =0x65b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.288:
mov w8, #54701 ; =0xd5ad
movk w8, #20699, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1621 ; =0x655
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.289:
mov w8, #26595 ; =0x67e3
movk w8, #20725, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1619 ; =0x653
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.290:
mov w8, #14093 ; =0x370d
movk w8, #20854, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1609 ; =0x649
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.291:
mov w8, #40955 ; =0x9ffb
movk w8, #5200, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #1613 ; =0x64d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.292:
mov w8, #33049 ; =0x8119
movk w8, #42, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.293:
mov w0, #0 ; =0x0
mov w8, #22021 ; =0x5605
movk w8, #28307, lsl #16
mul w8, w19, w8
mov w9, #42123 ; =0xa48b
movk w9, #37, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.294:
mov w8, #6505 ; =0x1969
movk w8, #38724, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1733 ; =0x6c5
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.295:
mov w8, #55533 ; =0xd8ed
movk w8, #38948, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1723 ; =0x6bb
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.296:
mov w8, #14471 ; =0x3887
movk w8, #12452, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1721 ; =0x6b9
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.297:
mov w8, #59861 ; =0xe9d5
movk w8, #39267, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1709 ; =0x6ad
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.298:
mov w8, #4861 ; =0x12fd
movk w8, #13462, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1699 ; =0x6a3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.299:
mov w8, #11625 ; =0x2d69
movk w8, #13555, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1697 ; =0x6a1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.300:
mov w8, #1689 ; =0x699
movk w8, #40209, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1669 ; =0x685
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.301:
mov w8, #2865 ; =0xb31
movk w8, #13742, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1693 ; =0x69d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.302:
mov w8, #37353 ; =0x91e9
movk w8, #46, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.303:
mov w0, #0 ; =0x0
mov w8, #56091 ; =0xdb1b
movk w8, #25222, lsl #16
mul w8, w19, w8
mov w9, #12304 ; =0x3010
movk w9, #36, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.304:
mov w8, #73 ; =0x49
movk w8, #37262, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1801 ; =0x709
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.305:
mov w8, #57917 ; =0xe23d
movk w8, #9487, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1789 ; =0x6fd
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.306:
mov w8, #63079 ; =0xf667
movk w8, #18776, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1787 ; =0x6fb
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.307:
mov w8, #22789 ; =0x5905
movk w8, #9740, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1783 ; =0x6f7
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.308:
mov w8, #10769 ; =0x2a11
movk w8, #1180, lsl #16
umull x8, w19, w8
lsr x8, x8, #37
mov w9, #1777 ; =0x6f1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.309:
mov w8, #27981 ; =0x6d4d
movk w8, #10767, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1759 ; =0x6df
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.310:
mov w8, #29073 ; =0x7191
movk w8, #9603, lsl #16
umull x8, w19, w8
lsr x8, x8, #40
mov w9, #1747 ; =0x6d3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.311:
mov w8, #9683 ; =0x25d3
movk w8, #19141, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1753 ; =0x6d9
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.312:
mov w8, #46529 ; =0xb5c1
movk w8, #50, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.313:
mov w0, #0 ; =0x0
mov w8, #54375 ; =0xd467
movk w8, #32959, lsl #16
mul w8, w19, w8
mov w9, #57549 ; =0xe0cd
movk w9, #34, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.314:
mov w8, #33729 ; =0x83c1
movk w8, #5970, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1877 ; =0x755
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.315:
mov w8, #14731 ; =0x398b
movk w8, #6123, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1873 ; =0x751
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.316:
mov w8, #48793 ; =0xbe99
movk w8, #2241, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #1871 ; =0x74f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.317:
mov w8, #49705 ; =0xc229
movk w8, #35944, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1867 ; =0x74b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.318:
mov w8, #19263 ; =0x4b3f
movk w8, #6585, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1861 ; =0x745
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.319:
mov w8, #64933 ; =0xfda5
movk w8, #18166, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1847 ; =0x737
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.320:
mov w8, #42277 ; =0xa525
movk w8, #8088, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1823 ; =0x71f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.321:
mov w8, #31605 ; =0x7b75
movk w8, #36651, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1831 ; =0x727
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.322:
mov w8, #29377 ; =0x72c1
movk w8, #54, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.323:
mov w0, #0 ; =0x0
mov w8, #61085 ; =0xee9d
movk w8, #58925, lsl #16
mul w8, w19, w8
mov w9, #14184 ; =0x3768
movk w9, #33, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.324:
mov w8, #21297 ; =0x5331
movk w8, #3258, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1951 ; =0x79f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.325:
mov w8, #60257 ; =0xeb61
movk w8, #3328, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1949 ; =0x79d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.326:
mov w8, #61231 ; =0xef2f
movk w8, #3898, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1933 ; =0x78d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.327:
mov w8, #11675 ; =0x2d9b
movk w8, #4344, lsl #16
umull x8, w19, w8
lsr x8, x8, #39
mov w9, #1931 ; =0x78b
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.328:
mov w8, #28229 ; =0x6e45
movk w8, #35080, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1913 ; =0x779
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.329:
mov w8, #26359 ; =0x66f7
movk w8, #17595, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1907 ; =0x773
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.330:
mov w8, #17347 ; =0x43c3
movk w8, #5516, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1889 ; =0x761
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.331:
mov w8, #49127 ; =0xbfe7
movk w8, #5067, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1901 ; =0x76d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.332:
mov w8, #49817 ; =0xc299
movk w8, #59, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.333:
mov w0, #0 ; =0x0
mov w8, #59587 ; =0xe8c3
movk w8, #19495, lsl #16
mul w8, w19, w8
mov w9, #21727 ; =0x54df
movk w9, #32, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.334:
mov w8, #16149 ; =0x3f15
movk w8, #1007, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #2017 ; =0x7e1
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.335:
mov w8, #51393 ; =0xc8c1
movk w8, #1205, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #2011 ; =0x7db
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.336:
mov w8, #23035 ; =0x59fb
movk w8, #1472, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #2003 ; =0x7d3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.337:
mov w8, #28523 ; =0x6f6b
movk w8, #1606, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1999 ; =0x7cf
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.338:
mov w8, #27501 ; =0x6b6d
movk w8, #16802, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1997 ; =0x7cd
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.339:
mov w8, #9339 ; =0x247b
movk w8, #16836, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #1993 ; =0x7c9
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.340:
mov w8, #32255 ; =0x7dff
movk w8, #33910, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #1979 ; =0x7bb
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.341:
mov w8, #60655 ; =0xecef
movk w8, #2011, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #1987 ; =0x7c3
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.342:
mov w8, #53609 ; =0xd169
movk w8, #62, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.343:
mov w0, #0 ; =0x0
mov w8, #5145 ; =0x1419
movk w8, #8188, lsl #16
mul w8, w19, w8
mov w9, #24377 ; =0x5f39
movk w9, #31, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.344:
mov w8, #21071 ; =0x524f
movk w8, #64311, lsl #16
umull x8, w19, w8
lsr x8, x8, #43
mov w9, #2087 ; =0x827
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.345:
mov w8, #53675 ; =0xd1ab
movk w8, #64434, lsl #16
umull x8, w19, w8
lsr x8, x8, #43
mov w9, #2083 ; =0x823
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.346:
mov w8, #48877 ; =0xbeed
movk w8, #64496, lsl #16
umull x8, w19, w8
lsr x8, x8, #43
mov w9, #2081 ; =0x821
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.347:
mov w8, #53785 ; =0xd219
movk w8, #64870, lsl #16
umull x8, w19, w8
lsr x8, x8, #43
mov w9, #2069 ; =0x815
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.348:
mov w8, #32117 ; =0x7d75
movk w8, #65059, lsl #16
umull x8, w19, w8
lsr x8, x8, #43
mov w9, #2063 ; =0x80f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.349:
mov w8, #12769 ; =0x31e1
movk w8, #32688, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #2053 ; =0x805
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.350:
mov w8, #55491 ; =0xd8c3
movk w8, #33074, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #2029 ; =0x7ed
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.351:
mov w8, #17775 ; =0x456f
movk w8, #289, lsl #16
umull x8, w19, w8
lsr x8, x8, #32
sub w9, w19, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #10
mov w9, #2039 ; =0x7f7
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.352:
mov w8, #14889 ; =0x3a29
movk w8, #67, lsl #16
cmp x19, x8
b.lo LBB2_391
; %bb.353:
mov w0, #0 ; =0x0
mov w8, #21407 ; =0x539f
movk w8, #22844, lsl #16
mul w8, w19, w8
mov w9, #38105 ; =0x94d9
movk w9, #30, lsl #16
cmp w8, w9
b.lo LBB2_393
; %bb.354:
mov w8, #20815 ; =0x514f
movk w8, #15672, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #2141 ; =0x85d
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.355:
mov w8, #42781 ; =0xa71d
movk w8, #15701, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #2137 ; =0x859
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.356:
mov w8, #47453 ; =0xb95d
movk w8, #31491, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #2131 ; =0x853
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.357:
mov w8, #20163 ; =0x4ec3
movk w8, #31521, lsl #16
umull x8, w19, w8
lsr x8, x8, #42
mov w9, #2129 ; =0x851
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.358:
mov w8, #65505 ; =0xffe1
movk w8, #1984, lsl #16
umull x8, w19, w8
lsr x8, x8, #38
mov w9, #2113 ; =0x841
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.359:
mov w8, #42807 ; =0xa737
movk w8, #63943, lsl #16
umull x8, w19, w8
lsr x8, x8, #43
mov w9, #2099 ; =0x833
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.360:
mov w8, #2701 ; =0xa8d
movk w8, #15895, lsl #16
umull x8, w19, w8
lsr x8, x8, #41
mov w9, #2111 ; =0x83f
msub w8, w8, w9, w19
cbz w8, LBB2_393
; %bb.361:
mov w8, #2009 ; =0x7d9
movk w8, #64014, lsl #16
mul w8, w19, w8
mov w9, #28795 ; =0x707b
movk w9, #30, lsl #16
cmp w8, w9
cset w0, hi
b LBB2_393
LBB2_362:
mov x20, x1
mov w10, #0 ; =0x0
tbnz w21, #0, LBB2_366
; %bb.363:
mov x8, x21
LBB2_364: ; =>This Inner Loop Header: Depth=1
lsr x28, x8, #1
add w10, w10, #1
mov x9, x8
mov x8, x28
tbz w9, #1, LBB2_364
; %bb.365:
cbnz w20, LBB2_367
b LBB2_391
LBB2_366:
mov x28, x21
cbz w20, LBB2_391
LBB2_367:
str w10, [sp, #8] ; 4-byte Folded Spill
b LBB2_370
LBB2_368: ; in Loop: Header=BB2_370 Depth=1
cbnz w10, LBB2_392
LBB2_369: ; in Loop: Header=BB2_370 Depth=1
cbz w20, LBB2_391
LBB2_370: ; =>This Loop Header: Depth=1
; Child Loop BB2_371 Depth 2
; Child Loop BB2_376 Depth 2
; Child Loop BB2_378 Depth 3
; Child Loop BB2_381 Depth 3
; Child Loop BB2_386 Depth 2
; Child Loop BB2_388 Depth 3
bl _libmin_rand
str w0, [sp, #12] ; 4-byte Folded Spill
bl _libmin_rand
mov x22, x0
bl _libmin_rand
mov x23, x0
bl _libmin_rand
mov x24, x0
bl _libmin_rand
mov x25, x0
bl _libmin_rand
mov x26, x0
bl _libmin_rand
mov x27, x0
bl _libmin_rand
; kill: def $w0 killed $w0 def $x0
sub w20, w20, #1
and w8, w27, #0xff
lsl x8, x8, #48
orr x8, x8, x0, lsl #56
and w9, w26, #0xff
orr x8, x8, x9, lsl #40
and w9, w25, #0xff
orr x8, x8, x9, lsl #32
lsl w9, w24, #24
ubfiz w10, w23, #16, #8
orr x9, x9, x10
ldr w10, [sp, #12] ; 4-byte Folded Reload
and w10, w10, #0xff
ubfiz w11, w22, #8, #8
orr x9, x9, x11
orr x9, x9, x10
orr x8, x8, x9
udiv x9, x8, x21
msub x8, x9, x21, x8
add x9, x8, #1
mov w8, #1 ; =0x1
LBB2_371: ; Parent Loop BB2_370 Depth=1
; => This Inner Loop Header: Depth=2
mov x10, x8
lsl x8, x8, #1
cmp x10, x28
b.ls LBB2_371
; %bb.372: ; in Loop: Header=BB2_370 Depth=1
cmp x10, #2
b.lo LBB2_369
; %bb.373: ; in Loop: Header=BB2_370 Depth=1
mov w8, #1 ; =0x1
b LBB2_376
LBB2_374: ; in Loop: Header=BB2_376 Depth=2
udiv x8, x12, x19
msub x8, x8, x19, x12
LBB2_375: ; in Loop: Header=BB2_376 Depth=2
cmp x10, #3
mov x10, x11
b.ls LBB2_382
LBB2_376: ; Parent Loop BB2_370 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_378 Depth 3
; Child Loop BB2_381 Depth 3
mov x12, #0 ; =0x0
cbz x8, LBB2_379
; %bb.377: ; in Loop: Header=BB2_376 Depth=2
udiv x11, x8, x19
msub x11, x11, x19, x8
LBB2_378: ; Parent Loop BB2_370 Depth=1
; Parent Loop BB2_376 Depth=2
; => This Inner Loop Header: Depth=3
sub x13, x19, x12
cmp x11, x13
csel x13, xzr, x19, lo
add x14, x11, x12
sub x13, x14, x13
tst w8, #0x1
csel x12, x12, x13, eq
lsr x13, x8, #1
sub x14, x19, x11
cmp x11, x14
csel x14, xzr, x19, lo
lsl x11, x11, #1
sub x11, x11, x14
cmp x8, #1
mov x8, x13
b.hi LBB2_378
LBB2_379: ; in Loop: Header=BB2_376 Depth=2
lsr x11, x10, #1
udiv x8, x12, x19
msub x8, x8, x19, x12
tst x11, x28
b.eq LBB2_375
; %bb.380: ; in Loop: Header=BB2_376 Depth=2
mov x12, #0 ; =0x0
mov x13, x9
LBB2_381: ; Parent Loop BB2_370 Depth=1
; Parent Loop BB2_376 Depth=2
; => This Inner Loop Header: Depth=3
sub x14, x19, x12
cmp x8, x14
csel x14, xzr, x19, lo
add x15, x8, x12
sub x14, x15, x14
tst w13, #0x1
csel x12, x12, x14, eq
lsr x14, x13, #1
sub x15, x19, x8
cmp x8, x15
csel x15, xzr, x19, lo
lsl x8, x8, #1
sub x8, x8, x15
cmp x13, #1
mov x13, x14
b.hi LBB2_381
b LBB2_374
LBB2_382: ; in Loop: Header=BB2_370 Depth=1
cmp x8, #1
b.eq LBB2_369
; %bb.383: ; in Loop: Header=BB2_370 Depth=1
cmp x8, x21
cset w10, ne
ldr w9, [sp, #8] ; 4-byte Folded Reload
cbz w9, LBB2_368
; %bb.384: ; in Loop: Header=BB2_370 Depth=1
b.eq LBB2_368
; %bb.385: ; in Loop: Header=BB2_370 Depth=1
ldr w9, [sp, #8] ; 4-byte Folded Reload
LBB2_386: ; Parent Loop BB2_370 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB2_388 Depth 3
mov x10, #0 ; =0x0
cbz x8, LBB2_389
; %bb.387: ; in Loop: Header=BB2_386 Depth=2
mov x11, x8
LBB2_388: ; Parent Loop BB2_370 Depth=1
; Parent Loop BB2_386 Depth=2
; => This Inner Loop Header: Depth=3
sub x12, x19, x10
cmp x11, x12
csel x12, xzr, x19, lo
add x13, x11, x10
sub x12, x13, x12
tst w8, #0x1
csel x10, x10, x12, eq
lsr x12, x8, #1
sub x13, x19, x11
cmp x11, x13
csel x13, xzr, x19, lo
lsl x11, x11, #1
sub x11, x11, x13
cmp x8, #1
mov x8, x12
b.hi LBB2_388
LBB2_389: ; in Loop: Header=BB2_386 Depth=2
udiv x8, x10, x19
msub x8, x8, x19, x10
cmp x8, x21
cset w10, ne
sub w9, w9, #1
cbz w9, LBB2_368
; %bb.390: ; in Loop: Header=BB2_386 Depth=2
b.ne LBB2_386
b LBB2_368
LBB2_391:
mov w0, #1 ; =0x1
b LBB2_393
LBB2_392:
mov w0, #0 ; =0x0
LBB2_393:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov w0, #64 ; =0x40
mov w1, #8 ; =0x8
bl _libmin_calloc
mov x19, x0
mov w0, #42 ; =0x2a
bl _libmin_srand
str xzr, [sp, #40] ; 8-byte Folded Spill
mov w21, #4 ; =0x4
Lloh0:
adrp x22, l_.str.1@PAGE
Lloh1:
add x22, x22, l_.str.1@PAGEOFF
b LBB3_2
LBB3_1: ; in Loop: Header=BB3_2 Depth=1
ldr x21, [sp, #32] ; 8-byte Folded Reload
add x21, x21, #1
cmp x21, #64
b.eq LBB3_10
LBB3_2: ; =>This Loop Header: Depth=1
; Child Loop BB3_4 Depth 2
; Child Loop BB3_6 Depth 3
str x21, [sp, #32] ; 8-byte Folded Spill
b LBB3_4
LBB3_3: ; in Loop: Header=BB3_4 Depth=2
ldr x8, [x19, w20, uxtw #3]
str x8, [sp]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
add x21, x21, #1
cmp x21, #65
b.eq LBB3_1
LBB3_4: ; Parent Loop BB3_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB3_6 Depth 3
bl _libmin_rand
mov x23, x0
bl _libmin_rand
mov x24, x0
bl _libmin_rand
mov x25, x0
bl _libmin_rand
mov x26, x0
bl _libmin_rand
mov x27, x0
bl _libmin_rand
mov x28, x0
bl _libmin_rand
mov x20, x0
bl _libmin_rand
; kill: def $w0 killed $w0 def $x0
neg x8, x21
mov x9, #-1 ; =0xffffffffffffffff
lsr x8, x9, x8
and w9, w20, #0xff
lsl x9, x9, #48
orr x9, x9, x0, lsl #56
and w10, w28, #0xff
orr x9, x9, x10, lsl #40
and w10, w27, #0xff
orr x9, x9, x10, lsl #32
lsl w10, w26, #24
ubfiz w11, w25, #16, #8
orr x10, x10, x11
and w11, w23, #0xff
ubfiz w12, w24, #8, #8
orr x10, x10, x12
orr x10, x10, x11
orr x9, x9, x10
mvn w10, w9
and x8, x9, x8
and x9, x10, #0x1
orr x23, x9, x8
ldr x20, [sp, #40] ; 8-byte Folded Reload
add w20, w20, #1
stp x20, x21, [sp]
str x23, [sp, #16]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov x0, x23
mov x1, x19
bl _factor
ldr x8, [x19, #8]
str x20, [sp, #40] ; 8-byte Folded Spill
mov x20, #0 ; =0x0
cbnz x8, LBB3_6
b LBB3_3
LBB3_5: ; in Loop: Header=BB3_6 Depth=3
add x8, x19, x20, lsl #3
ldr x8, [x8, #16]
add x20, x20, #1
cbz x8, LBB3_3
LBB3_6: ; Parent Loop BB3_2 Depth=1
; Parent Loop BB3_4 Depth=2
; => This Inner Loop Header: Depth=3
lsl x24, x20, #3
ldr x8, [x19, x24]
str x8, [sp]
mov x0, x22
bl _libmin_printf
ldr x0, [x19, x24]
udiv x8, x23, x0
msub x8, x8, x0, x23
cbz x8, LBB3_8
; %bb.7: ; in Loop: Header=BB3_6 Depth=3
mov w0, #1 ; =0x1
bl _libmin_fail
ldr x0, [x19, x20, lsl #3]
LBB3_8: ; in Loop: Header=BB3_6 Depth=3
mov w1, #36 ; =0x24
bl _is_prime
cbnz w0, LBB3_5
; %bb.9: ; in Loop: Header=BB3_6 Depth=3
mov w0, #1 ; =0x1
bl _libmin_fail
b LBB3_5
LBB3_10:
mov x0, x19
bl _libmin_free
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%5d. (%2d bits) %22lu = "
l_.str.1: ; @.str.1
.asciz "%lu * "
l_.str.2: ; @.str.2
.asciz "%lu\n"
.subsections_via_symbols
|
tiny-NN.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function g_deriv
LCPI0_0:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0
LCPI0_1:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _g_deriv
.p2align 4, 0x90
_g_deriv: ## @g_deriv
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorpd LCPI0_0(%rip), %xmm0
callq _libmin_exp
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
movapd %xmm1, %xmm2
divsd %xmm0, %xmm2
subsd %xmm2, %xmm1
mulsd %xmm2, %xmm1
movapd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function g
LCPI1_0:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0
LCPI1_1:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _g
.p2align 4, 0x90
_g: ## @g
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorpd LCPI1_0(%rip), %xmm0
callq _libmin_exp
movsd LCPI1_1(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
divsd %xmm0, %xmm1
movapd %xmm1, %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sampleSine ## -- Begin function sampleSine
.p2align 4, 0x90
_sampleSine: ## @sampleSine
.cfi_startproc
## %bb.0:
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
movsd %xmm0, -40(%rbp) ## 8-byte Spill
testl %edx, %edx
je LBB2_3
## %bb.1:
movq %rsi, %rbx
movq %rdi, %r14
subsd -40(%rbp), %xmm1 ## 8-byte Folded Reload
movl %edx, %r15d
xorps %xmm0, %xmm0
cvtsi2sd %r15, %xmm0
divsd %xmm0, %xmm1
movsd %xmm1, -48(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl %r12d, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
mulsd -48(%rbp), %xmm0 ## 8-byte Folded Reload
addsd -40(%rbp), %xmm0 ## 8-byte Folded Reload
movsd %xmm0, (%r14,%r12,8)
callq _libmin_sin
movsd %xmm0, (%rbx,%r12,8)
incq %r12
cmpq %r12, %r15
jne LBB2_2
LBB2_3:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function fillArrayRand
LCPI3_0:
.quad 0x41dfffffffc00000 ## double 2147483647
LCPI3_1:
.quad 0xbfe0000000000000 ## double -0.5
.section __TEXT,__text,regular,pure_instructions
.globl _fillArrayRand
.p2align 4, 0x90
_fillArrayRand: ## @fillArrayRand
.cfi_startproc
## %bb.0:
testl %esi, %esi
je LBB3_4
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl %esi, %r14d
xorl %r15d, %r15d
.p2align 4, 0x90
LBB3_2: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
movl %eax, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd LCPI3_0(%rip), %xmm0
addsd LCPI3_1(%rip), %xmm0
movsd %xmm0, (%rbx,%r15,8)
incq %r15
cmpq %r15, %r14
jne LBB3_2
## %bb.3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
LBB3_4:
retq
.cfi_endproc
## -- End function
.globl _fillArrayNull ## -- Begin function fillArrayNull
.p2align 4, 0x90
_fillArrayNull: ## @fillArrayNull
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %esi, %esi
je LBB4_1
## %bb.2:
movl %esi, %esi
shlq $3, %rsi
popq %rbp
jmp ___bzero ## TAILCALL
LBB4_1:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function train
LCPI5_0:
.quad 0x41dfffffffc00000 ## double 2147483647
LCPI5_1:
.quad 0xbfe0000000000000 ## double -0.5
LCPI5_5:
.quad 0x3fc4189374bc6a7f ## double 0.157
LCPI5_6:
.quad 0x3ff0000000000000 ## double 1
LCPI5_8:
.quad 0x0000000000000000 ## double 0
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI5_2:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4330000000000000 ## double 4503599627370496
LCPI5_3:
.quad 0x41dfffffffc00000 ## double 2147483647
.quad 0x41dfffffffc00000 ## double 2147483647
LCPI5_4:
.quad 0xbfe0000000000000 ## double -0.5
.quad 0xbfe0000000000000 ## double -0.5
LCPI5_7:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _train
.p2align 4, 0x90
_train: ## @train
.cfi_startproc
## %bb.0:
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 $1752, %rsp ## imm = 0x6D8
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movapd %xmm3, -1696(%rbp) ## 16-byte Spill
movapd %xmm2, -1712(%rbp) ## 16-byte Spill
movsd %xmm1, -1664(%rbp) ## 8-byte Spill
movapd %xmm0, -1680(%rbp) ## 16-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorl %ebx, %ebx
.p2align 4, 0x90
LBB5_1: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
movl %eax, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd LCPI5_0(%rip), %xmm0
addsd LCPI5_1(%rip), %xmm0
movsd %xmm0, -688(%rbp,%rbx,8)
incq %rbx
cmpq $40, %rbx
jne LBB5_1
## %bb.2:
callq _libmin_rand
movl %eax, %ebx
callq _libmin_rand
movd %ebx, %xmm0
pinsrd $1, %eax, %xmm0
pmovzxdq %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,xmm0[1],zero
movdqa LCPI5_2(%rip), %xmm1 ## xmm1 = [4.503599627370496E+15,4.503599627370496E+15]
por %xmm1, %xmm0
subpd %xmm1, %xmm0
divpd LCPI5_3(%rip), %xmm0
addpd LCPI5_4(%rip), %xmm0
movapd %xmm0, -848(%rbp)
callq _libmin_rand
movl %eax, %ebx
callq _libmin_rand
movd %ebx, %xmm0
pinsrd $1, %eax, %xmm0
pmovzxdq %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,xmm0[1],zero
movdqa LCPI5_2(%rip), %xmm1 ## xmm1 = [4.503599627370496E+15,4.503599627370496E+15]
por %xmm1, %xmm0
subpd %xmm1, %xmm0
divpd LCPI5_3(%rip), %xmm0
addpd LCPI5_4(%rip), %xmm0
movapd %xmm0, -832(%rbp)
callq _libmin_rand
movl %eax, %ebx
callq _libmin_rand
movd %ebx, %xmm0
pinsrd $1, %eax, %xmm0
pmovzxdq %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,xmm0[1],zero
movdqa LCPI5_2(%rip), %xmm1 ## xmm1 = [4.503599627370496E+15,4.503599627370496E+15]
por %xmm1, %xmm0
subpd %xmm1, %xmm0
divpd LCPI5_3(%rip), %xmm0
addpd LCPI5_4(%rip), %xmm0
movapd %xmm0, -816(%rbp)
callq _libmin_rand
movl %eax, %ebx
callq _libmin_rand
movd %ebx, %xmm0
pinsrd $1, %eax, %xmm0
pmovzxdq %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,xmm0[1],zero
movdqa LCPI5_2(%rip), %xmm1 ## xmm1 = [4.503599627370496E+15,4.503599627370496E+15]
por %xmm1, %xmm0
subpd %xmm1, %xmm0
divpd LCPI5_3(%rip), %xmm0
addpd LCPI5_4(%rip), %xmm0
movapd %xmm0, -800(%rbp)
callq _libmin_rand
movl %eax, %ebx
callq _libmin_rand
movd %ebx, %xmm0
pinsrd $1, %eax, %xmm0
pmovzxdq %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,xmm0[1],zero
movdqa LCPI5_2(%rip), %xmm1 ## xmm1 = [4.503599627370496E+15,4.503599627370496E+15]
por %xmm1, %xmm0
subpd %xmm1, %xmm0
divpd LCPI5_3(%rip), %xmm0
addpd LCPI5_4(%rip), %xmm0
movapd %xmm0, -784(%rbp)
callq _libmin_rand
movl %eax, %ebx
callq _libmin_rand
movd %ebx, %xmm0
pinsrd $1, %eax, %xmm0
pmovzxdq %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,xmm0[1],zero
movdqa LCPI5_2(%rip), %xmm1 ## xmm1 = [4.503599627370496E+15,4.503599627370496E+15]
por %xmm1, %xmm0
subpd %xmm1, %xmm0
divpd LCPI5_3(%rip), %xmm0
addpd LCPI5_4(%rip), %xmm0
movapd %xmm0, -768(%rbp)
callq _libmin_rand
movl %eax, %ebx
callq _libmin_rand
movd %ebx, %xmm0
pinsrd $1, %eax, %xmm0
pmovzxdq %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,xmm0[1],zero
movdqa LCPI5_2(%rip), %xmm1 ## xmm1 = [4.503599627370496E+15,4.503599627370496E+15]
por %xmm1, %xmm0
subpd %xmm1, %xmm0
divpd LCPI5_3(%rip), %xmm0
addpd LCPI5_4(%rip), %xmm0
movapd %xmm0, -752(%rbp)
callq _libmin_rand
movl %eax, %ebx
callq _libmin_rand
movd %ebx, %xmm0
pinsrd $1, %eax, %xmm0
pmovzxdq %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,xmm0[1],zero
movdqa LCPI5_2(%rip), %xmm1 ## xmm1 = [4.503599627370496E+15,4.503599627370496E+15]
por %xmm1, %xmm0
subpd %xmm1, %xmm0
divpd LCPI5_3(%rip), %xmm0
addpd LCPI5_4(%rip), %xmm0
movapd %xmm0, -736(%rbp)
callq _libmin_rand
movl %eax, %ebx
callq _libmin_rand
movd %ebx, %xmm0
pinsrd $1, %eax, %xmm0
pmovzxdq %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,xmm0[1],zero
movdqa LCPI5_2(%rip), %xmm1 ## xmm1 = [4.503599627370496E+15,4.503599627370496E+15]
por %xmm1, %xmm0
subpd %xmm1, %xmm0
divpd LCPI5_3(%rip), %xmm0
addpd LCPI5_4(%rip), %xmm0
movapd %xmm0, -720(%rbp)
callq _libmin_rand
movl %eax, %ebx
callq _libmin_rand
movd %ebx, %xmm0
pinsrd $1, %eax, %xmm0
pmovzxdq %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,xmm0[1],zero
movdqa LCPI5_2(%rip), %xmm1 ## xmm1 = [4.503599627370496E+15,4.503599627370496E+15]
por %xmm1, %xmm0
subpd %xmm1, %xmm0
divpd LCPI5_3(%rip), %xmm0
addpd LCPI5_4(%rip), %xmm0
movapd %xmm0, -704(%rbp)
leaq -1168(%rbp), %rdi
movl $320, %esi ## imm = 0x140
callq ___bzero
xorpd %xmm0, %xmm0
movapd %xmm0, -1184(%rbp)
movapd %xmm0, -1200(%rbp)
movapd %xmm0, -1216(%rbp)
movapd %xmm0, -1232(%rbp)
movapd %xmm0, -1248(%rbp)
movapd %xmm0, -1264(%rbp)
movapd %xmm0, -1280(%rbp)
movapd %xmm0, -1296(%rbp)
movapd %xmm0, -1312(%rbp)
movapd %xmm0, -1328(%rbp)
xorl %ebx, %ebx
.p2align 4, 0x90
LBB5_3: ## =>This Inner Loop Header: Depth=1
movl %ebx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
mulsd LCPI5_5(%rip), %xmm0
addsd LCPI5_8(%rip), %xmm0
movsd %xmm0, -208(%rbp,%rbx,8)
callq _libmin_sin
movsd %xmm0, -368(%rbp,%rbx,8)
incq %rbx
cmpq $20, %rbx
jne LBB5_3
## %bb.4:
movsd LCPI5_6(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd -1664(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
ucomisd %xmm1, %xmm0
jbe LBB5_14
## %bb.5:
movddup -1696(%rbp), %xmm0 ## 16-byte Folded Reload
## xmm0 = mem[0,0]
movapd %xmm0, -1776(%rbp) ## 16-byte Spill
movddup -1680(%rbp), %xmm0 ## 16-byte Folded Reload
## xmm0 = mem[0,0]
movapd %xmm0, -1760(%rbp) ## 16-byte Spill
movddup -1712(%rbp), %xmm0 ## 16-byte Folded Reload
## xmm0 = mem[0,0]
movapd %xmm0, -1744(%rbp) ## 16-byte Spill
xorl %r12d, %r12d
leaq -1168(%rbp), %rbx
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB5_6: ## =>This Loop Header: Depth=1
## Child Loop BB5_7 Depth 2
## Child Loop BB5_8 Depth 3
## Child Loop BB5_10 Depth 3
xorpd %xmm0, %xmm0
movsd %xmm0, -1656(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
.p2align 4, 0x90
LBB5_7: ## Parent Loop BB5_6 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB5_8 Depth 3
## Child Loop BB5_10 Depth 3
movsd -208(%rbp,%r15,8), %xmm0 ## xmm0 = mem[0],zero
movaps %xmm0, -1728(%rbp) ## 16-byte Spill
xorl %r13d, %r13d
xorps %xmm11, %xmm11
.p2align 4, 0x90
LBB5_8: ## Parent Loop BB5_6 Depth=1
## Parent Loop BB5_7 Depth=2
## => This Inner Loop Header: Depth=3
movaps %xmm11, -1696(%rbp) ## 16-byte Spill
movsd -680(%rbp,%r13,2), %xmm1 ## xmm1 = mem[0],zero
mulsd -1712(%rbp), %xmm1 ## 16-byte Folded Reload
movsd -688(%rbp,%r13,2), %xmm0 ## xmm0 = mem[0],zero
mulsd -1728(%rbp), %xmm0 ## 16-byte Folded Reload
addsd %xmm1, %xmm0
xorpd LCPI5_7(%rip), %xmm0
movapd %xmm0, -1792(%rbp) ## 16-byte Spill
callq _libmin_exp
movsd LCPI5_6(%rip), %xmm1 ## xmm1 = mem[0],zero
addsd %xmm1, %xmm0
divsd %xmm0, %xmm1
movsd %xmm1, -1680(%rbp) ## 8-byte Spill
movsd %xmm1, -1488(%rbp,%r13)
movapd -1792(%rbp), %xmm0 ## 16-byte Reload
callq _libmin_exp
movapd -1696(%rbp), %xmm11 ## 16-byte Reload
movsd LCPI5_6(%rip), %xmm2 ## xmm2 = mem[0],zero
addsd %xmm2, %xmm0
movapd %xmm2, %xmm1
divsd %xmm0, %xmm1
movapd %xmm2, %xmm0
subsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
movsd -1680(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd -848(%rbp,%r13), %xmm1
movsd %xmm0, -1648(%rbp,%r13)
addsd %xmm1, %xmm11
addq $8, %r13
cmpq $160, %r13
jne LBB5_8
## %bb.9: ## in Loop: Header=BB5_7 Depth=2
subsd -368(%rbp,%r15,8), %xmm11
movddup %xmm11, %xmm0 ## xmm0 = xmm11[0,0]
movddup -1728(%rbp), %xmm1 ## 16-byte Folded Reload
## xmm1 = mem[0,0]
xorl %eax, %eax
movapd -1776(%rbp), %xmm8 ## 16-byte Reload
movapd -1760(%rbp), %xmm9 ## 16-byte Reload
movapd -1744(%rbp), %xmm10 ## 16-byte Reload
.p2align 4, 0x90
LBB5_10: ## Parent Loop BB5_6 Depth=1
## Parent Loop BB5_7 Depth=2
## => This Inner Loop Header: Depth=3
movapd -848(%rbp,%rax), %xmm3
movapd -1648(%rbp,%rax), %xmm2
mulpd %xmm3, %xmm2
mulpd %xmm0, %xmm2
movapd -1488(%rbp,%rax), %xmm4
mulpd %xmm0, %xmm4
movapd -1328(%rbp,%rax), %xmm5
mulpd %xmm8, %xmm5
mulpd %xmm9, %xmm4
addpd %xmm5, %xmm4
subpd %xmm4, %xmm3
movapd %xmm3, -848(%rbp,%rax)
movapd %xmm4, -1328(%rbp,%rax)
movapd %xmm2, %xmm3
mulpd %xmm1, %xmm3
movapd -1168(%rbp,%rax,2), %xmm4
movapd -1152(%rbp,%rax,2), %xmm5
movapd %xmm4, %xmm6
unpcklpd %xmm5, %xmm6 ## xmm6 = xmm6[0],xmm5[0]
unpckhpd %xmm5, %xmm4 ## xmm4 = xmm4[1],xmm5[1]
mulpd %xmm8, %xmm6
mulpd %xmm9, %xmm3
addpd %xmm6, %xmm3
movapd -688(%rbp,%rax,2), %xmm5
movapd -672(%rbp,%rax,2), %xmm6
movapd %xmm5, %xmm7
unpcklpd %xmm6, %xmm7 ## xmm7 = xmm7[0],xmm6[0]
unpckhpd %xmm6, %xmm5 ## xmm5 = xmm5[1],xmm6[1]
subpd %xmm3, %xmm7
mulpd %xmm10, %xmm2
mulpd %xmm8, %xmm4
mulpd %xmm9, %xmm2
addpd %xmm4, %xmm2
subpd %xmm2, %xmm5
movapd %xmm7, %xmm4
unpckhpd %xmm5, %xmm4 ## xmm4 = xmm4[1],xmm5[1]
unpcklpd %xmm5, %xmm7 ## xmm7 = xmm7[0],xmm5[0]
movapd %xmm7, -688(%rbp,%rax,2)
movapd %xmm4, -672(%rbp,%rax,2)
movapd %xmm3, %xmm4
unpckhpd %xmm2, %xmm4 ## xmm4 = xmm4[1],xmm2[1]
unpcklpd %xmm2, %xmm3 ## xmm3 = xmm3[0],xmm2[0]
movapd %xmm3, -1168(%rbp,%rax,2)
movapd %xmm4, -1152(%rbp,%rax,2)
addq $16, %rax
cmpq $160, %rax
jne LBB5_10
## %bb.11: ## in Loop: Header=BB5_7 Depth=2
mulsd %xmm11, %xmm11
movsd -1656(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addsd %xmm11, %xmm0
movsd %xmm0, -1656(%rbp) ## 8-byte Spill
incq %r15
cmpq $20, %r15
jne LBB5_7
## %bb.12: ## in Loop: Header=BB5_6 Depth=1
leal 1(%r12), %r15d
movl $320, %esi ## imm = 0x140
movq %rbx, %rdi
callq ___bzero
xorpd %xmm0, %xmm0
movapd %xmm0, -1184(%rbp)
movapd %xmm0, -1200(%rbp)
movapd %xmm0, -1216(%rbp)
movapd %xmm0, -1232(%rbp)
movapd %xmm0, -1248(%rbp)
movapd %xmm0, -1264(%rbp)
movapd %xmm0, -1280(%rbp)
movapd %xmm0, -1296(%rbp)
movapd %xmm0, -1312(%rbp)
movapd %xmm0, -1328(%rbp)
movq %r14, %rdi
movl %r15d, %esi
movsd -1656(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _libmin_printf
movsd -1656(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
ucomisd -1664(%rbp), %xmm0 ## 8-byte Folded Reload
jbe LBB5_14
## %bb.13: ## in Loop: Header=BB5_6 Depth=1
cmpl $9, %r12d
movl %r15d, %r12d
jb LBB5_6
LBB5_14:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB5_16
## %bb.15:
xorl %eax, %eax
addq $1752, %rsp ## imm = 0x6D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB5_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function main
LCPI6_0:
.quad 0x3f747ae147ae147b ## double 0.0050000000000000001
LCPI6_1:
.quad 0x3f847ae147ae147b ## double 0.01
LCPI6_2:
.quad 0x3ff0000000000000 ## double 1
LCPI6_3:
.quad 0x3fd999999999999a ## double 0.40000000000000002
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $42, %edi
callq _libmin_srand
movsd LCPI6_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI6_1(%rip), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI6_2(%rip), %xmm2 ## xmm2 = mem[0],zero
movsd LCPI6_3(%rip), %xmm3 ## xmm3 = mem[0],zero
callq _train
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "iteration %d Total error %f\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _g_deriv ; -- Begin function g_deriv
.p2align 2
_g_deriv: ; @g_deriv
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
fneg d0, d0
bl _libmin_exp
fmov d1, #1.00000000
fadd d0, d0, d1
fdiv d0, d1, d0
fsub d1, d1, d0
fmul d0, d0, d1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _g ; -- Begin function g
.p2align 2
_g: ; @g
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
fneg d0, d0
bl _libmin_exp
fmov d1, #1.00000000
fadd d0, d0, d1
fdiv d0, d1, d0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _sampleSine ; -- Begin function sampleSine
.p2align 2
_sampleSine: ; @sampleSine
.cfi_startproc
; %bb.0:
cbz w2, LBB2_4
; %bb.1:
stp d9, d8, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset b8, -72
.cfi_offset b9, -80
fmov d8, d0
mov x19, x1
mov x20, x0
mov x21, #0 ; =0x0
fsub d0, d1, d0
ucvtf d1, w2
fdiv d9, d0, d1
mov w22, w2
LBB2_2: ; =>This Inner Loop Header: Depth=1
ucvtf d0, w21
fmadd d0, d9, d0, d8
lsl x23, x21, #3
str d0, [x20, x23]
bl _libmin_sin
str d0, [x19, x23]
add x21, x21, #1
cmp x22, x21
b.ne LBB2_2
; %bb.3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #80 ; 16-byte Folded Reload
LBB2_4:
ret
.cfi_endproc
; -- End function
.globl _fillArrayRand ; -- Begin function fillArrayRand
.p2align 2
_fillArrayRand: ; @fillArrayRand
.cfi_startproc
; %bb.0:
cbz w1, LBB3_4
; %bb.1:
stp d9, d8, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset b8, -56
.cfi_offset b9, -64
mov x19, x0
mov w20, w1
mov x21, #281474972516352 ; =0xffffffc00000
movk x21, #16863, lsl #48
fmov d8, #-0.50000000
LBB3_2: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
ucvtf d0, w0
fmov d1, x21
fdiv d0, d0, d1
fadd d0, d0, d8
str d0, [x19], #8
subs x20, x20, #1
b.ne LBB3_2
; %bb.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 d9, d8, [sp], #64 ; 16-byte Folded Reload
LBB3_4:
ret
.cfi_endproc
; -- End function
.globl _fillArrayNull ; -- Begin function fillArrayNull
.p2align 2
_fillArrayNull: ; @fillArrayNull
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
cbz w1, LBB4_2
; %bb.1:
ubfiz x1, x1, #3, #32
b _bzero
LBB4_2:
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function train
lCPI5_0:
.quad 0x0000000000000000 ; double 0
.quad 0x3fc4189374bc6a7f ; double 0.157
lCPI5_1:
.quad 0x3fd4189374bc6a7f ; double 0.314
.quad 0x3fde24dd2f1a9fbe ; double 0.47099999999999997
lCPI5_2:
.quad 0x3fe4189374bc6a7f ; double 0.628
.quad 0x3fe91eb851eb851f ; double 0.78500000000000003
lCPI5_3:
.quad 0x3fee24dd2f1a9fbe ; double 0.94199999999999995
.quad 0x3ff195810624dd2f ; double 1.099
lCPI5_4:
.quad 0x3ff4189374bc6a7f ; double 1.256
.quad 0x3ff69ba5e353f7cf ; double 1.413
lCPI5_5:
.quad 0x3ff91eb851eb851f ; double 1.5700000000000001
.quad 0x3ffba1cac083126f ; double 1.7270000000000001
lCPI5_6:
.quad 0x3ffe24dd2f1a9fbe ; double 1.8839999999999999
.quad 0x400053f7ced91687 ; double 2.0409999999999999
lCPI5_7:
.quad 0x400195810624dd2f ; double 2.198
.quad 0x4002d70a3d70a3d7 ; double 2.355
lCPI5_8:
.quad 0x4004189374bc6a7f ; double 2.512
.quad 0x40055a1cac083127 ; double 2.669
lCPI5_9:
.quad 0x40069ba5e353f7cf ; double 2.8260000000000001
.quad 0x4007dd2f1a9fbe77 ; double 2.9830000000000001
.section __TEXT,__text,regular,pure_instructions
.globl _train
.p2align 2
_train: ; @train
.cfi_startproc
; %bb.0:
stp d13, d12, [sp, #-144]! ; 16-byte Folded Spill
stp d11, d10, [sp, #16] ; 16-byte Folded Spill
stp d9, d8, [sp, #32] ; 16-byte Folded Spill
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
sub sp, sp, #1712
.cfi_def_cfa w29, 16
.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
stp q3, q2, [sp, #48] ; 32-byte Folded Spill
fmov d8, d1
str q0, [sp, #80] ; 16-byte Folded Spill
mov x19, #0 ; =0x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-144]
mov x20, #281474972516352 ; =0xffffffc00000
movk x20, #16863, lsl #48
fmov d9, #-0.50000000
add x21, sp, #1056
LBB5_1: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
ucvtf d0, w0
fmov d1, x20
fdiv d0, d0, d1
fadd d0, d0, d9
str d0, [x21, x19]
add x19, x19, #8
cmp x19, #320
b.ne LBB5_1
; %bb.2:
mov x19, #0 ; =0x0
mov x20, #281474972516352 ; =0xffffffc00000
movk x20, #16863, lsl #48
fmov d9, #-0.50000000
add x21, sp, #896
LBB5_3: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
ucvtf d0, w0
fmov d1, x20
fdiv d0, d0, d1
fadd d0, d0, d9
str d0, [x21, x19]
add x19, x19, #8
cmp x19, #160
b.ne LBB5_3
; %bb.4:
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #864]
stp q0, q0, [sp, #832]
stp q0, q0, [sp, #800]
stp q0, q0, [sp, #768]
stp q0, q0, [sp, #736]
stp q0, q0, [sp, #704]
stp q0, q0, [sp, #672]
stp q0, q0, [sp, #640]
stp q0, q0, [sp, #608]
stp q0, q0, [sp, #576]
stp q0, q0, [sp, #544]
stp q0, q0, [sp, #512]
stp q0, q0, [sp, #480]
stp q0, q0, [sp, #448]
stp q0, q0, [sp, #416]
movi d0, #0000000000000000
bl _libmin_sin
str d0, [sp, #1376]
Lloh3:
adrp x8, lCPI5_0@PAGE
Lloh4:
ldr q0, [x8, lCPI5_0@PAGEOFF]
str q0, [sp, #1536]
mov x8, #27263 ; =0x6a7f
movk x8, #29884, lsl #16
movk x8, #6291, lsl #32
movk x8, #16324, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1384]
mov x8, #27263 ; =0x6a7f
movk x8, #29884, lsl #16
movk x8, #6291, lsl #32
movk x8, #16340, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1392]
Lloh5:
adrp x8, lCPI5_1@PAGE
Lloh6:
ldr q0, [x8, lCPI5_1@PAGEOFF]
str q0, [sp, #1552]
mov x8, #40894 ; =0x9fbe
movk x8, #12058, lsl #16
movk x8, #9437, lsl #32
movk x8, #16350, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1400]
mov x8, #27263 ; =0x6a7f
movk x8, #29884, lsl #16
movk x8, #6291, lsl #32
movk x8, #16356, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1408]
Lloh7:
adrp x8, lCPI5_2@PAGE
Lloh8:
ldr q0, [x8, lCPI5_2@PAGEOFF]
str q0, [sp, #1568]
mov x8, #34079 ; =0x851f
movk x8, #20971, lsl #16
movk x8, #7864, lsl #32
movk x8, #16361, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1416]
mov x8, #40894 ; =0x9fbe
movk x8, #12058, lsl #16
movk x8, #9437, lsl #32
movk x8, #16366, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1424]
Lloh9:
adrp x8, lCPI5_3@PAGE
Lloh10:
ldr q0, [x8, lCPI5_3@PAGEOFF]
str q0, [sp, #1584]
mov x8, #56623 ; =0xdd2f
movk x8, #1572, lsl #16
movk x8, #38273, lsl #32
movk x8, #16369, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1432]
mov x8, #27263 ; =0x6a7f
movk x8, #29884, lsl #16
movk x8, #6291, lsl #32
movk x8, #16372, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1440]
Lloh11:
adrp x8, lCPI5_4@PAGE
Lloh12:
ldr q0, [x8, lCPI5_4@PAGEOFF]
str q0, [sp, #1600]
mov x8, #63439 ; =0xf7cf
movk x8, #58195, lsl #16
movk x8, #39845, lsl #32
movk x8, #16374, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1448]
mov x8, #34079 ; =0x851f
movk x8, #20971, lsl #16
movk x8, #7864, lsl #32
movk x8, #16377, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1456]
Lloh13:
adrp x8, lCPI5_5@PAGE
Lloh14:
ldr q0, [x8, lCPI5_5@PAGEOFF]
str q0, [sp, #1616]
mov x8, #4719 ; =0x126f
movk x8, #49283, lsl #16
movk x8, #41418, lsl #32
movk x8, #16379, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1464]
mov x8, #40894 ; =0x9fbe
movk x8, #12058, lsl #16
movk x8, #9437, lsl #32
movk x8, #16382, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1472]
Lloh15:
adrp x8, lCPI5_6@PAGE
Lloh16:
ldr q0, [x8, lCPI5_6@PAGEOFF]
str q0, [sp, #1632]
mov x8, #5767 ; =0x1687
movk x8, #52953, lsl #16
movk x8, #21495, lsl #32
movk x8, #16384, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1480]
mov x8, #56623 ; =0xdd2f
movk x8, #1572, lsl #16
movk x8, #38273, lsl #32
movk x8, #16385, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1488]
Lloh17:
adrp x8, lCPI5_7@PAGE
Lloh18:
ldr q0, [x8, lCPI5_7@PAGEOFF]
str q0, [sp, #1648]
mov x8, #41943 ; =0xa3d7
movk x8, #15728, lsl #16
movk x8, #55050, lsl #32
movk x8, #16386, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1496]
mov x8, #27263 ; =0x6a7f
movk x8, #29884, lsl #16
movk x8, #6291, lsl #32
movk x8, #16388, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1504]
Lloh19:
adrp x8, lCPI5_8@PAGE
Lloh20:
ldr q0, [x8, lCPI5_8@PAGEOFF]
str q0, [sp, #1664]
mov x8, #12583 ; =0x3127
movk x8, #44040, lsl #16
movk x8, #23068, lsl #32
movk x8, #16389, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1512]
mov x8, #63439 ; =0xf7cf
movk x8, #58195, lsl #16
movk x8, #39845, lsl #32
movk x8, #16390, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1520]
Lloh21:
adrp x8, lCPI5_9@PAGE
Lloh22:
ldr q0, [x8, lCPI5_9@PAGEOFF]
str q0, [sp, #1680]
mov x8, #48759 ; =0xbe77
movk x8, #6815, lsl #16
movk x8, #56623, lsl #32
movk x8, #16391, lsl #48
fmov d0, x8
bl _libmin_sin
str d0, [sp, #1528]
fmov d10, #1.00000000
fadd d0, d8, d10
fcmp d0, d8
b.le LBB5_14
; %bb.5:
mov w8, #0 ; =0x0
add x21, sp, #1056
add x27, x21, #8
ldr q0, [sp, #80] ; 16-byte Folded Reload
dup.2d v0, v0[0]
str q0, [sp, #32] ; 16-byte Folded Spill
add x24, sp, #256
add x25, sp, #96
add x26, sp, #896
add x28, sp, #416
add x19, sp, #576
LBB5_6: ; =>This Loop Header: Depth=1
; Child Loop BB5_7 Depth 2
; Child Loop BB5_8 Depth 3
; Child Loop BB5_10 Depth 3
str w8, [sp, #28] ; 4-byte Folded Spill
mov x20, #0 ; =0x0
movi d11, #0000000000000000
ldr q19, [sp, #64] ; 16-byte Folded Reload
LBB5_7: ; Parent Loop BB5_6 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB5_8 Depth 3
; Child Loop BB5_10 Depth 3
mov x23, #0 ; =0x0
add x8, sp, #1536
ldr d21, [x8, x20, lsl #3]
mov x22, x27
movi d12, #0000000000000000
str q21, [sp, #80] ; 16-byte Folded Spill
LBB5_8: ; Parent Loop BB5_6 Depth=1
; Parent Loop BB5_7 Depth=2
; => This Inner Loop Header: Depth=3
ldp d0, d1, [x22, #-8]
fmul d1, d1, d19
fnmadd d9, d21, d0, d1
fmov d0, d9
bl _libmin_exp
fadd d0, d0, d10
fdiv d13, d10, d0
str d13, [x24, x23]
fmov d0, d9
bl _libmin_exp
ldp q19, q21, [sp, #64] ; 32-byte Folded Reload
fadd d0, d0, d10
fdiv d0, d10, d0
fsub d1, d10, d0
fmul d0, d0, d1
str d0, [x25, x23]
ldr d0, [x26, x23]
fmadd d12, d0, d13, d12
add x23, x23, #8
add x22, x22, #16
cmp x23, #160
b.ne LBB5_8
; %bb.9: ; in Loop: Header=BB5_7 Depth=2
mov x8, #0 ; =0x0
mov x9, #0 ; =0x0
add x10, sp, #1376
ldr d0, [x10, x20, lsl #3]
fsub d0, d12, d0
ldp q20, q18, [sp, #32] ; 32-byte Folded Reload
LBB5_10: ; Parent Loop BB5_6 Depth=1
; Parent Loop BB5_7 Depth=2
; => This Inner Loop Header: Depth=3
ldr q1, [x25, x9]
ldr q2, [x26, x9]
fmul.2d v1, v1, v2
fmul.2d v1, v1, v0[0]
fmul.2d v3, v1, v21[0]
add x10, x19, x8
ld2.2d { v4, v5 }, [x10]
fmul.2d v6, v4, v18[0]
fmla.2d v6, v20, v3
fmul.2d v1, v1, v19[0]
fmul.2d v7, v5, v18[0]
fmla.2d v7, v20, v1
add x11, x21, x8
ld2.2d { v3, v4 }, [x11]
fsub.2d v16, v3, v6
fsub.2d v17, v4, v7
ldr q1, [x24, x9]
fmul.2d v1, v1, v0[0]
ldr q3, [x28, x9]
fmul.2d v3, v3, v18[0]
fmla.2d v3, v20, v1
fsub.2d v1, v2, v3
st2.2d { v16, v17 }, [x11]
str q1, [x26, x9]
st2.2d { v6, v7 }, [x10]
str q3, [x28, x9]
add x9, x9, #16
add x8, x8, #32
cmp x9, #160
b.ne LBB5_10
; %bb.11: ; in Loop: Header=BB5_7 Depth=2
fmadd d11, d0, d0, d11
add x20, x20, #1
cmp x20, #20
b.ne LBB5_7
; %bb.12: ; in Loop: Header=BB5_6 Depth=1
ldr w22, [sp, #28] ; 4-byte Folded Reload
add w20, w22, #1
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #864]
stp q0, q0, [sp, #832]
stp q0, q0, [sp, #800]
stp q0, q0, [sp, #768]
stp q0, q0, [sp, #736]
stp q0, q0, [sp, #704]
stp q0, q0, [sp, #672]
stp q0, q0, [sp, #640]
stp q0, q0, [sp, #608]
stp q0, q0, [sp, #576]
stp q0, q0, [sp, #544]
stp q0, q0, [sp, #512]
stp q0, q0, [sp, #480]
stp q0, q0, [sp, #448]
stp q0, q0, [sp, #416]
str d11, [sp, #8]
str x20, [sp]
Lloh23:
adrp x0, l_.str@PAGE
Lloh24:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
fcmp d11, d8
b.le LBB5_14
; %bb.13: ; in Loop: Header=BB5_6 Depth=1
cmp w22, #9
mov x8, x20
b.lo LBB5_6
LBB5_14:
ldur x8, [x29, #-144]
Lloh25:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh26:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
ldr x9, [x9]
cmp x9, x8
b.ne LBB5_16
; %bb.15:
mov w0, #0 ; =0x0
add sp, sp, #1712
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
ldp d11, d10, [sp, #16] ; 16-byte Folded Reload
ldp d13, d12, [sp], #144 ; 16-byte Folded Reload
ret
LBB5_16:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh21, Lloh22
.loh AdrpLdr Lloh19, Lloh20
.loh AdrpLdr Lloh17, Lloh18
.loh AdrpLdr Lloh15, Lloh16
.loh AdrpLdr Lloh13, Lloh14
.loh AdrpLdr Lloh11, Lloh12
.loh AdrpLdr Lloh9, Lloh10
.loh AdrpLdr Lloh7, Lloh8
.loh AdrpLdr Lloh5, Lloh6
.loh AdrpLdr Lloh3, Lloh4
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #42 ; =0x2a
bl _libmin_srand
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16244, lsl #48
fmov d0, x8
mov x8, #5243 ; =0x147b
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16260, lsl #48
fmov d1, x8
mov x8, #-7378697629483820647 ; =0x9999999999999999
movk x8, #39322
movk x8, #16345, lsl #48
fmov d3, x8
fmov d2, #1.00000000
bl _train
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "iteration %d Total error %f\n"
.subsections_via_symbols
|
primal-test.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _get_random_int ## -- Begin function get_random_int
.p2align 4, 0x90
_get_random_int: ## @get_random_int
.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 _libmin_rand
movl %eax, %eax
subq %rbx, %r14
incq %r14
cmpq %r14, %rax
jb LBB0_2
## %bb.1:
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %r14d
movl %edx, %eax
LBB0_2:
addq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _split_int ## -- Begin function split_int
.p2align 4, 0x90
_split_int: ## @split_int
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, (%rdi)
decq %rdx
movq %rdx, (%rsi)
testb $1, %dl
jne LBB1_2
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
incq (%rdi)
movq (%rsi), %rax
movq %rax, %rcx
shrq %rcx
movq %rcx, (%rsi)
testb $2, %al
je LBB1_1
LBB1_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _miller_rabin_int ## -- Begin function miller_rabin_int
.p2align 4, 0x90
_miller_rabin_int: ## @miller_rabin_int
.cfi_startproc
## %bb.0:
## kill: def $edi killed $edi def $rdi
testb $1, %dil
jne LBB2_1
## %bb.34:
xorl %eax, %eax
cmpl $2, %edi
sete %al
retq
LBB2_1:
movl $1, %eax
cmpl $3, %edi
je LBB2_35
## %bb.2:
xorl %eax, %eax
cmpl $3, %edi
jae LBB2_3
LBB2_35:
retq
LBB2_3:
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 %edi, %r12d
leaq -1(%r12), %r13
xorl %r14d, %r14d
testb $1, %r13b
jne LBB2_6
## %bb.4:
movq %r13, %rax
.p2align 4, 0x90
LBB2_5: ## =>This Inner Loop Header: Depth=1
incq %r14
shrq %r13
testb $2, %al
movq %r13, %rax
je LBB2_5
LBB2_6:
movl $2, %eax
testl %esi, %esi
je LBB2_33
## %bb.7:
leal -1(%rdi), %ebx
addl $-2, %edi
decq %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
movl %esi, -44(%rbp) ## 4-byte Spill
jmp LBB2_10
LBB2_8: ## in Loop: Header=BB2_10 Depth=1
cmpq %rbx, %rcx
jne LBB2_28
LBB2_9: ## in Loop: Header=BB2_10 Depth=1
incl %r15d
movl -44(%rbp), %esi ## 4-byte Reload
cmpl %esi, %r15d
je LBB2_32
LBB2_10: ## =>This Loop Header: Depth=1
## Child Loop BB2_18 Depth 2
## Child Loop BB2_26 Depth 2
callq _libmin_rand
testq %r13, %r13
je LBB2_9
## %bb.11: ## in Loop: Header=BB2_10 Depth=1
movl %eax, %esi
movq -56(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, %rsi
jb LBB2_13
## %bb.12: ## in Loop: Header=BB2_10 Depth=1
movl %esi, %eax
xorl %edx, %edx
divl %ecx
movl %edx, %esi
LBB2_13: ## in Loop: Header=BB2_10 Depth=1
addq $2, %rsi
movl $1, %ecx
movq %r13, %rdi
jmp LBB2_18
.p2align 4, 0x90
LBB2_14: ## in Loop: Header=BB2_18 Depth=2
movq %rcx, %rax
xorl %edx, %edx
divq %r12
movq %rdx, %rcx
LBB2_15: ## in Loop: Header=BB2_18 Depth=2
imulq %rsi, %rsi
movq %rsi, %rax
shrq $32, %rax
je LBB2_21
## %bb.16: ## in Loop: Header=BB2_18 Depth=2
movq %rsi, %rax
xorl %edx, %edx
divq %r12
movq %rdx, %rsi
LBB2_17: ## in Loop: Header=BB2_18 Depth=2
movq %rdi, %rax
shrq %rax
cmpq $1, %rdi
movq %rax, %rdi
jbe LBB2_22
LBB2_18: ## Parent Loop BB2_10 Depth=1
## => This Inner Loop Header: Depth=2
testb $1, %dil
je LBB2_15
## %bb.19: ## in Loop: Header=BB2_18 Depth=2
imulq %rsi, %rcx
movq %rcx, %rax
shrq $32, %rax
jne LBB2_14
## %bb.20: ## in Loop: Header=BB2_18 Depth=2
movl %ecx, %eax
xorl %edx, %edx
divl %r12d
movl %edx, %ecx
jmp LBB2_15
.p2align 4, 0x90
LBB2_21: ## in Loop: Header=BB2_18 Depth=2
movl %esi, %eax
xorl %edx, %edx
divl %r12d
movl %edx, %esi
jmp LBB2_17
.p2align 4, 0x90
LBB2_22: ## in Loop: Header=BB2_10 Depth=1
cmpq $1, %rcx
je LBB2_9
## %bb.23: ## in Loop: Header=BB2_10 Depth=1
cmpq %rbx, %rcx
je LBB2_9
## %bb.24: ## in Loop: Header=BB2_10 Depth=1
testq %r14, %r14
je LBB2_8
## %bb.25: ## in Loop: Header=BB2_10 Depth=1
movl $2, %esi
.p2align 4, 0x90
LBB2_26: ## Parent Loop BB2_10 Depth=1
## => This Inner Loop Header: Depth=2
imulq %rcx, %rcx
movq %rcx, %rax
shrq $32, %rax
je LBB2_29
## %bb.27: ## in Loop: Header=BB2_26 Depth=2
movq %rcx, %rax
xorl %edx, %edx
divq %r12
movq %rdx, %rcx
cmpq $1, %rcx
jne LBB2_30
jmp LBB2_28
.p2align 4, 0x90
LBB2_29: ## in Loop: Header=BB2_26 Depth=2
movl %ecx, %eax
xorl %edx, %edx
divl %r12d
movl %edx, %ecx
cmpq $1, %rcx
je LBB2_28
LBB2_30: ## in Loop: Header=BB2_26 Depth=2
cmpq %rbx, %rcx
je LBB2_8
## %bb.31: ## in Loop: Header=BB2_26 Depth=2
leaq 1(%rsi), %rax
cmpq %r14, %rsi
movq %rax, %rsi
jbe LBB2_26
jmp LBB2_8
LBB2_28:
xorl %eax, %eax
jmp LBB2_33
LBB2_32:
movl $2, %eax
LBB2_33:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function main
LCPI3_0:
.quad 0x4010000000000000 ## double 4
LCPI3_1:
.quad 0x4030000000000000 ## double 16
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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 $42, %edi
callq _libmin_srand
movl $3, %ebx
movl $200, %r14d
movq _q@GOTPCREL(%rip), %r12
jmp LBB3_1
.p2align 4, 0x90
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
callq _libmin_rand
movl %eax, %ebx
decl %r14d
je LBB3_5
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
movl $16, %esi
callq _miller_rabin_int
testl %eax, %eax
je LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movslq _q_head(%rip), %rcx
movl %ebx, (%r12,%rcx,8)
movl %eax, 4(%r12,%rcx,8)
cmpq $62, %rcx
jg LBB3_4
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
incl %ecx
movl %ecx, _q_head(%rip)
jmp LBB3_4
LBB3_5:
movl _q_head(%rip), %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
cmpl $0, _q_head(%rip)
jle LBB3_12
## %bb.6:
leaq L_.str.2(%rip), %rbx
leaq L_.str.1(%rip), %r14
xorl %r13d, %r13d
jmp LBB3_7
.p2align 4, 0x90
LBB3_10: ## in Loop: Header=BB3_7 Depth=1
movl (%r12,%r13,8), %r15d
movsd LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI3_1(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _libmin_pow
movq %rbx, %rdi
movl %r15d, %esi
movb $1, %al
callq _libmin_printf
LBB3_11: ## in Loop: Header=BB3_7 Depth=1
incq %r13
movslq _q_head(%rip), %rax
cmpq %rax, %r13
jge LBB3_12
LBB3_7: ## =>This Inner Loop Header: Depth=1
movl 4(%r12,%r13,8), %eax
cmpl $2, %eax
je LBB3_10
## %bb.8: ## in Loop: Header=BB3_7 Depth=1
cmpl $1, %eax
jne LBB3_11
## %bb.9: ## in Loop: Header=BB3_7 Depth=1
movl (%r12,%r13,8), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB3_11
LBB3_12:
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _q_head ## @q_head
.zerofill __DATA,__common,_q_head,4,2
.comm _q,512,4 ## @q
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Primality tests found %d primes...\n"
L_.str.1: ## @.str.1
.asciz "Value %u is `prime' with failure probability (0)\n"
L_.str.2: ## @.str.2
.asciz "Value %u is `likely prime' with failure probability (1 in %.0lf)\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _get_random_int ; -- Begin function get_random_int
.p2align 2
_get_random_int: ; @get_random_int
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
bl _libmin_rand
mov w8, w0
sub x9, x19, x20
add x9, x9, #1
udiv x10, x8, x9
msub x8, x10, x9, x8
add x0, x8, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _split_int ; -- Begin function split_int
.p2align 2
_split_int: ; @split_int
.cfi_startproc
; %bb.0:
str xzr, [x0]
sub x8, x2, #1
str x8, [x1]
tbnz w8, #0, LBB1_2
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x0]
add x8, x8, #1
str x8, [x0]
ldr x8, [x1]
lsr x9, x8, #1
str x9, [x1]
tbz w8, #1, LBB1_1
LBB1_2:
ret
.cfi_endproc
; -- End function
.globl _miller_rabin_int ; -- Begin function miller_rabin_int
.p2align 2
_miller_rabin_int: ; @miller_rabin_int
.cfi_startproc
; %bb.0:
tbnz w0, #0, LBB2_2
; %bb.1:
cmp w0, #2
cset w0, eq
ret
LBB2_2:
cmp w0, #3
b.ne LBB2_4
; %bb.3:
mov w0, #1 ; =0x1
ret
LBB2_4:
b.hs LBB2_6
; %bb.5:
mov w0, #0 ; =0x0
ret
LBB2_6:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov w20, w0
mov x22, #0 ; =0x0
sub x21, x20, #1
tbnz w21, #0, LBB2_9
; %bb.7:
mov x8, x21
LBB2_8: ; =>This Inner Loop Header: Depth=1
add x22, x22, #1
lsr x21, x8, #1
mov x9, x8
mov x8, x21
tbz w9, #1, LBB2_8
LBB2_9:
cbz w19, LBB2_23
; %bb.10:
mov w23, #0 ; =0x0
sub w24, w0, #1
sub w8, w0, #2
sub x25, x8, #1
b LBB2_13
LBB2_11: ; in Loop: Header=BB2_13 Depth=1
cmp x8, x24
b.ne LBB2_22
LBB2_12: ; in Loop: Header=BB2_13 Depth=1
add w23, w23, #1
mov w0, #2 ; =0x2
cmp w23, w19
b.eq LBB2_24
LBB2_13: ; =>This Loop Header: Depth=1
; Child Loop BB2_15 Depth 2
; Child Loop BB2_20 Depth 2
bl _libmin_rand
cbz x21, LBB2_12
; %bb.14: ; in Loop: Header=BB2_13 Depth=1
mov w8, w0
udiv x9, x8, x25
msub x8, x9, x25, x8
add x9, x8, #2
mov w8, #1 ; =0x1
mov x10, x21
LBB2_15: ; Parent Loop BB2_13 Depth=1
; => This Inner Loop Header: Depth=2
mul x11, x9, x8
udiv x12, x11, x20
msub x11, x12, x20, x11
tst w10, #0x1
csel x8, x8, x11, eq
mul x9, x9, x9
udiv x11, x9, x20
msub x9, x11, x20, x9
lsr x11, x10, #1
cmp x10, #1
mov x10, x11
b.hi LBB2_15
; %bb.16: ; in Loop: Header=BB2_13 Depth=1
cmp x8, #1
b.eq LBB2_12
; %bb.17: ; in Loop: Header=BB2_13 Depth=1
cmp x8, x24
b.eq LBB2_12
; %bb.18: ; in Loop: Header=BB2_13 Depth=1
cbz x22, LBB2_11
; %bb.19: ; in Loop: Header=BB2_13 Depth=1
mov w9, #2 ; =0x2
LBB2_20: ; Parent Loop BB2_13 Depth=1
; => This Inner Loop Header: Depth=2
mul x8, x8, x8
udiv x10, x8, x20
msub x8, x10, x20, x8
cmp x8, #1
b.eq LBB2_22
; %bb.21: ; in Loop: Header=BB2_20 Depth=2
cmp x8, x24
ccmp x9, x22, #2, ne
add x9, x9, #1
b.ls LBB2_20
b LBB2_11
LBB2_22:
mov w0, #0 ; =0x0
b LBB2_24
LBB2_23:
mov w0, #2 ; =0x2
LBB2_24:
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
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov w0, #42 ; =0x2a
bl _libmin_srand
mov w19, #3 ; =0x3
mov w20, #200 ; =0xc8
adrp x21, _q_head@PAGE
Lloh0:
adrp x22, _q@GOTPAGE
Lloh1:
ldr x22, [x22, _q@GOTPAGEOFF]
b LBB3_2
LBB3_1: ; in Loop: Header=BB3_2 Depth=1
bl _libmin_rand
mov x19, x0
subs w20, w20, #1
b.eq LBB3_5
LBB3_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov w1, #16 ; =0x10
bl _miller_rabin_int
cbz w0, LBB3_1
; %bb.3: ; in Loop: Header=BB3_2 Depth=1
ldrsw x8, [x21, _q_head@PAGEOFF]
add x9, x22, x8, lsl #3
stp w19, w0, [x9]
cmp w8, #62
b.gt LBB3_1
; %bb.4: ; in Loop: Header=BB3_2 Depth=1
add w8, w8, #1
str w8, [x21, _q_head@PAGEOFF]
b LBB3_1
LBB3_5:
ldr w8, [x21, _q_head@PAGEOFF]
str x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
ldr w8, [x21, _q_head@PAGEOFF]
cmp w8, #1
b.lt LBB3_13
; %bb.6:
mov x22, #0 ; =0x0
Lloh4:
adrp x23, _q@GOTPAGE
Lloh5:
ldr x23, [x23, _q@GOTPAGEOFF]
Lloh6:
adrp x19, l_.str.2@PAGE
Lloh7:
add x19, x19, l_.str.2@PAGEOFF
Lloh8:
adrp x20, l_.str.1@PAGE
Lloh9:
add x20, x20, l_.str.1@PAGEOFF
b LBB3_10
LBB3_7: ; in Loop: Header=BB3_10 Depth=1
ldr w24, [x23]
fmov d0, #4.00000000
fmov d1, #16.00000000
bl _libmin_pow
str d0, [sp, #8]
str x24, [sp]
mov x0, x19
LBB3_8: ; in Loop: Header=BB3_10 Depth=1
bl _libmin_printf
LBB3_9: ; in Loop: Header=BB3_10 Depth=1
add x22, x22, #1
ldrsw x8, [x21, _q_head@PAGEOFF]
add x23, x23, #8
cmp x22, x8
b.ge LBB3_13
LBB3_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23, #4]
cmp w8, #2
b.eq LBB3_7
; %bb.11: ; in Loop: Header=BB3_10 Depth=1
cmp w8, #1
b.ne LBB3_9
; %bb.12: ; in Loop: Header=BB3_10 Depth=1
ldr w8, [x23]
str x8, [sp]
mov x0, x20
b LBB3_8
LBB3_13:
bl _libmin_success
mov w0, #0 ; =0x0
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _q_head ; @q_head
.zerofill __DATA,__common,_q_head,4,2
.comm _q,512,2 ; @q
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Primality tests found %d primes...\n"
l_.str.1: ; @.str.1
.asciz "Value %u is `prime' with failure probability (0)\n"
l_.str.2: ; @.str.2
.asciz "Value %u is `likely prime' with failure probability (1 in %.0lf)\n"
.subsections_via_symbols
|
regex-parser.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _re_match ## -- Begin function re_match
.p2align 4, 0x90
_re_match: ## @re_match
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.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, %r14
callq _re_compile
movq %rax, %r12
movl $0, (%r15)
movl $-1, %eax
testq %r12, %r12
je LBB0_7
## %bb.1:
cmpb $2, (%r12)
jne LBB0_2
## %bb.8:
addq $16, %r12
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq _matchpattern
decl %eax
jmp LBB0_7
LBB0_2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
leaq (%r14,%rbx), %r13
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq _matchpattern
testl %eax, %eax
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
incq %rbx
cmpb $0, (%r13)
jne LBB0_3
## %bb.5:
movl $-1, %eax
jmp LBB0_7
LBB0_6:
xorl %eax, %eax
cmpb $1, (%r14,%rbx)
sbbl %eax, %eax
orl %ebx, %eax
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _re_matchp ## -- Begin function re_matchp
.p2align 4, 0x90
_re_matchp: ## @re_matchp
.cfi_startproc
## %bb.0:
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 $0, (%rdx)
movl $-1, %eax
testq %rdi, %rdi
je LBB1_7
## %bb.1:
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %r12
cmpb $2, (%rdi)
jne LBB1_2
## %bb.8:
addq $16, %r12
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq _matchpattern
decl %eax
jmp LBB1_7
LBB1_2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
leaq (%r14,%rbx), %r13
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq _matchpattern
testl %eax, %eax
jne LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
incq %rbx
cmpb $0, (%r13)
jne LBB1_3
## %bb.5:
movl $-1, %eax
jmp LBB1_7
LBB1_6:
xorl %eax, %eax
cmpb $1, (%r14,%rbx)
sbbl %eax, %eax
orl %ebx, %eax
LBB1_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _re_compile ## -- Begin function re_compile
.p2align 4, 0x90
_re_compile: ## @re_compile
.cfi_startproc
## %bb.0:
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
movzbl (%rdi), %r11d
xorl %ecx, %ecx
testb %r11b, %r11b
je LBB2_42
## %bb.1:
movl $1, %ecx
movl $1, %r14d
leaq _re_compile.re_compiled(%rip), %rax
leaq LJTI2_0(%rip), %rdx
leaq _re_compile.ccl_buf(%rip), %rsi
leaq LJTI2_1(%rip), %r8
xorl %r9d, %r9d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB2_2: ## =>This Loop Header: Depth=1
## Child Loop BB2_25 Depth 2
movq %r14, %r10
movsbl %r11b, %r14d
addl $-36, %r14d
cmpl $58, %r14d
ja LBB2_5
## %bb.3: ## in Loop: Header=BB2_2 Depth=1
movslq (%rdx,%r14,4), %r14
addq %rdx, %r14
jmpq *%r14
LBB2_4: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %r11
shlq $4, %r11
movb $3, (%r11,%rax)
jmp LBB2_18
LBB2_5: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %r14
shlq $4, %r14
movb $7, (%r14,%rax)
movb %r11b, 8(%r14,%rax)
jmp LBB2_18
LBB2_6: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %r11
shlq $4, %r11
movb $5, (%r11,%rax)
jmp LBB2_18
LBB2_7: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %r11
shlq $4, %r11
movb $6, (%r11,%rax)
jmp LBB2_18
LBB2_8: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %r11
shlq $4, %r11
movb $1, (%r11,%rax)
jmp LBB2_18
LBB2_9: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %r11
shlq $4, %r11
movb $4, (%r11,%rax)
jmp LBB2_18
LBB2_10: ## in Loop: Header=BB2_2 Depth=1
movslq %ebx, %r11
movq %r9, %r14
shlq $4, %r14
leaq (%rax,%r14), %r15
cmpb $94, 1(%rdi,%r11)
jne LBB2_22
## %bb.11: ## in Loop: Header=BB2_2 Depth=1
movb $9, (%r15)
cmpb $0, 2(%r11,%rdi)
je LBB2_47
## %bb.12: ## in Loop: Header=BB2_2 Depth=1
incq %r11
movl %r11d, %ebx
jmp LBB2_23
LBB2_13: ## in Loop: Header=BB2_2 Depth=1
movslq %ebx, %r11
movsbl 1(%rdi,%r11), %r14d
testl %r14d, %r14d
je LBB2_18
## %bb.14: ## in Loop: Header=BB2_2 Depth=1
incq %r11
addl $-68, %r14d
cmpl $51, %r14d
ja LBB2_34
## %bb.15: ## in Loop: Header=BB2_2 Depth=1
movslq (%r8,%r14,4), %rbx
addq %r8, %rbx
jmpq *%rbx
LBB2_16: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %rbx
shlq $4, %rbx
movb $11, (%rbx,%rax)
jmp LBB2_19
LBB2_17: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %r11
shlq $4, %r11
movb $2, (%r11,%rax)
.p2align 4, 0x90
LBB2_18: ## in Loop: Header=BB2_2 Depth=1
movl %ebx, %r11d
LBB2_19: ## in Loop: Header=BB2_2 Depth=1
movslq %r11d, %rbx
cmpb $0, (%rdi,%rbx)
je LBB2_47
## %bb.20: ## in Loop: Header=BB2_2 Depth=1
movzbl 1(%rdi,%rbx), %r11d
testb %r11b, %r11b
je LBB2_41
## %bb.21: ## in Loop: Header=BB2_2 Depth=1
incq %rbx
leaq 1(%r10), %r14
incq %r9
cmpq $28, %r10
jbe LBB2_2
jmp LBB2_41
LBB2_22: ## in Loop: Header=BB2_2 Depth=1
movb $8, (%r15)
LBB2_23: ## in Loop: Header=BB2_2 Depth=1
movl %ecx, %r15d
movl %ebx, %r11d
jmp LBB2_25
.p2align 4, 0x90
LBB2_24: ## in Loop: Header=BB2_25 Depth=2
movslq %r15d, %r12
incl %r15d
movb %bl, (%r12,%rsi)
LBB2_25: ## Parent Loop BB2_2 Depth=1
## => This Inner Loop Header: Depth=2
movslq %r11d, %r11
movzbl 1(%rdi,%r11), %ebx
cmpl $92, %ebx
je LBB2_29
## %bb.26: ## in Loop: Header=BB2_25 Depth=2
incq %r11
testl %ebx, %ebx
je LBB2_32
## %bb.27: ## in Loop: Header=BB2_25 Depth=2
cmpl $93, %ebx
je LBB2_32
## %bb.28: ## in Loop: Header=BB2_25 Depth=2
cmpl $39, %r15d
jle LBB2_24
jmp LBB2_47
.p2align 4, 0x90
LBB2_29: ## in Loop: Header=BB2_25 Depth=2
cmpl $38, %r15d
jg LBB2_47
## %bb.30: ## in Loop: Header=BB2_25 Depth=2
cmpb $0, 2(%rdi,%r11)
je LBB2_47
## %bb.31: ## in Loop: Header=BB2_25 Depth=2
addq $2, %r11
movslq %r15d, %rbx
incl %r15d
movb $92, (%rbx,%rsi)
movzbl (%rdi,%r11), %ebx
jmp LBB2_24
LBB2_32: ## in Loop: Header=BB2_2 Depth=1
cmpl $39, %r15d
jg LBB2_47
## %bb.33: ## in Loop: Header=BB2_2 Depth=1
movslq %r15d, %rbx
incl %r15d
movb $0, (%rbx,%rsi)
movslq %ecx, %rcx
addq %rsi, %rcx
movq %rcx, 8(%r14,%rax)
movl %r15d, %ecx
jmp LBB2_19
LBB2_34: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %rbx
shlq $4, %rbx
movb $7, (%rbx,%rax)
movzbl (%rdi,%r11), %r14d
movb %r14b, 8(%rbx,%rax)
jmp LBB2_19
LBB2_35: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %rbx
shlq $4, %rbx
movb $15, (%rbx,%rax)
jmp LBB2_19
LBB2_36: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %rbx
shlq $4, %rbx
movb $13, (%rbx,%rax)
jmp LBB2_19
LBB2_37: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %rbx
shlq $4, %rbx
movb $10, (%rbx,%rax)
jmp LBB2_19
LBB2_38: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %rbx
shlq $4, %rbx
movb $14, (%rbx,%rax)
jmp LBB2_19
LBB2_39: ## in Loop: Header=BB2_2 Depth=1
movq %r9, %rbx
shlq $4, %rbx
movb $12, (%rbx,%rax)
jmp LBB2_19
LBB2_47:
xorl %eax, %eax
jmp LBB2_43
LBB2_41:
movl %r10d, %ecx
LBB2_42:
shlq $4, %rcx
leaq _re_compile.re_compiled(%rip), %rax
movb $0, (%rcx,%rax)
LBB2_43:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_4, LBB2_4-LJTI2_0
.set L2_0_set_5, LBB2_5-LJTI2_0
.set L2_0_set_6, LBB2_6-LJTI2_0
.set L2_0_set_7, LBB2_7-LJTI2_0
.set L2_0_set_8, LBB2_8-LJTI2_0
.set L2_0_set_9, LBB2_9-LJTI2_0
.set L2_0_set_10, LBB2_10-LJTI2_0
.set L2_0_set_13, LBB2_13-LJTI2_0
.set L2_0_set_17, LBB2_17-LJTI2_0
LJTI2_0:
.long L2_0_set_4
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_6
.long L2_0_set_7
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_8
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_9
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_5
.long L2_0_set_10
.long L2_0_set_13
.long L2_0_set_5
.long L2_0_set_17
.set L2_1_set_16, LBB2_16-LJTI2_1
.set L2_1_set_34, LBB2_34-LJTI2_1
.set L2_1_set_35, LBB2_35-LJTI2_1
.set L2_1_set_36, LBB2_36-LJTI2_1
.set L2_1_set_37, LBB2_37-LJTI2_1
.set L2_1_set_38, LBB2_38-LJTI2_1
.set L2_1_set_39, LBB2_39-LJTI2_1
LJTI2_1:
.long L2_1_set_16
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_35
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_36
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_37
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_38
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_34
.long L2_1_set_39
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function matchpattern
_matchpattern: ## @matchpattern
.cfi_startproc
## %bb.0:
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, %r14
movq %rdi, %r15
movl (%rdx), %r13d
addq $32, %r15
movl %r13d, %ebx
.p2align 4, 0x90
LBB3_1: ## =>This Inner Loop Header: Depth=1
movzbl -32(%r15), %r12d
movl $1, %eax
testb %r12b, %r12b
je LBB3_35
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movzbl -16(%r15), %eax
cmpl $6, %eax
je LBB3_10
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
cmpl $5, %eax
je LBB3_18
## %bb.4: ## in Loop: Header=BB3_1 Depth=1
cmpl $4, %eax
je LBB3_27
## %bb.5: ## in Loop: Header=BB3_1 Depth=1
cmpb $3, %r12b
jne LBB3_7
## %bb.6: ## in Loop: Header=BB3_1 Depth=1
testb %al, %al
je LBB3_29
LBB3_7: ## in Loop: Header=BB3_1 Depth=1
incl %ebx
movl %ebx, (%r14)
movzbl (%rsi), %eax
testb %al, %al
je LBB3_9
## %bb.8: ## in Loop: Header=BB3_1 Depth=1
incq %rsi
movq %rsi, %r12
movq -24(%r15), %rsi
movl -32(%r15), %edi
movsbl %al, %edx
callq _matchone
movq %r12, %rsi
addq $16, %r15
testl %eax, %eax
jne LBB3_1
LBB3_9:
movl %r13d, (%r14)
jmp LBB3_26
LBB3_10:
movzbl (%rsi), %eax
testb %al, %al
je LBB3_26
## %bb.11:
movq -24(%r15), %rcx
movq %rcx, -48(%rbp) ## 8-byte Spill
incl %ebx
movzbl %r12b, %ecx
movl %ecx, -56(%rbp) ## 4-byte Spill
movq %rsi, %r12
movq %rsi, %r13
.p2align 4, 0x90
LBB3_12: ## =>This Inner Loop Header: Depth=1
movsbl %al, %edx
movl -56(%rbp), %edi ## 4-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
callq _matchone
testl %eax, %eax
je LBB3_15
## %bb.13: ## in Loop: Header=BB3_12 Depth=1
movl %ebx, (%r14)
movzbl 1(%r13), %eax
incq %r13
incl %ebx
testb %al, %al
jne LBB3_12
jmp LBB3_15
.p2align 4, 0x90
LBB3_14: ## in Loop: Header=BB3_15 Depth=1
decq %r13
decl (%r14)
LBB3_15: ## =>This Inner Loop Header: Depth=1
movq %r12, %rax
cmpq %r12, %r13
jbe LBB3_26
## %bb.16: ## in Loop: Header=BB3_15 Depth=1
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
callq _matchpattern
testl %eax, %eax
je LBB3_14
jmp LBB3_34
LBB3_18:
movzbl (%rsi), %eax
movq %rsi, %r13
testb %al, %al
je LBB3_23
## %bb.19:
movq %r14, -48(%rbp) ## 8-byte Spill
movq -24(%r15), %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
leal 1(%rbx), %r14d
movzbl %r12b, %ecx
movl %ecx, -60(%rbp) ## 4-byte Spill
movq %rsi, %r12
movq %rsi, %r13
.p2align 4, 0x90
LBB3_20: ## =>This Inner Loop Header: Depth=1
movsbl %al, %edx
movl -60(%rbp), %edi ## 4-byte Reload
movq -56(%rbp), %rsi ## 8-byte Reload
callq _matchone
testl %eax, %eax
je LBB3_22
## %bb.21: ## in Loop: Header=BB3_20 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movl %r14d, (%rax)
movzbl 1(%r13), %eax
incq %r13
incl %r14d
testb %al, %al
jne LBB3_20
LBB3_22:
movq %r12, %rsi
cmpq %r12, %r13
movq -48(%rbp), %r14 ## 8-byte Reload
jb LBB3_25
.p2align 4, 0x90
LBB3_23: ## =>This Inner Loop Header: Depth=1
movq %rsi, %r12
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
callq _matchpattern
testl %eax, %eax
jne LBB3_34
## %bb.24: ## in Loop: Header=BB3_23 Depth=1
decq %r13
decl (%r14)
movq %r12, %rsi
cmpq %r12, %r13
jae LBB3_23
LBB3_25:
movl %ebx, (%r14)
LBB3_26:
xorl %eax, %eax
jmp LBB3_35
LBB3_27:
movq -24(%r15), %r13
movq %r15, %rdi
movq %rsi, %rbx
movq %r14, %rdx
callq _matchpattern
testl %eax, %eax
je LBB3_30
LBB3_34:
movl $1, %eax
jmp LBB3_35
LBB3_29:
xorl %eax, %eax
cmpb $0, (%rsi)
sete %al
LBB3_35:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB3_30:
movzbl (%rbx), %ecx
xorl %eax, %eax
testb %cl, %cl
je LBB3_35
## %bb.31:
movzbl %r12b, %edi
movsbl %cl, %edx
movq %r13, %rsi
callq _matchone
testl %eax, %eax
je LBB3_26
## %bb.32:
incq %rbx
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq _matchpattern
testl %eax, %eax
movl $0, %eax
je LBB3_35
## %bb.33:
incl (%r14)
jmp LBB3_34
.cfi_endproc
## -- End function
.globl _re_print ## -- Begin function re_print
.p2align 4, 0x90
_re_print: ## @re_print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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
leaq L_.str.19(%rip), %r13
xorl %r15d, %r15d
jmp LBB4_1
.p2align 4, 0x90
LBB4_9: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB4_10: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r15
cmpq $30, %r15
je LBB4_11
LBB4_1: ## =>This Loop Header: Depth=1
## Child Loop BB4_6 Depth 2
movq %r15, %r14
shlq $4, %r14
movzbl (%rbx,%r14), %eax
testq %rax, %rax
je LBB4_11
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
leaq (%rbx,%r14), %r12
leaq l_reltable.re_print(%rip), %rcx
movslq (%rcx,%rax,4), %rsi
addq %rcx, %rsi
leaq L_.str.17(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movzbl (%r12), %eax
leal -8(%rax), %ecx
cmpl $2, %ecx
jae LBB4_3
## %bb.5: ## in Loop: Header=BB4_1 Depth=1
leaq L_.str.18(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
addq %rbx, %r14
addq $8, %r14
xorl %r12d, %r12d
.p2align 4, 0x90
LBB4_6: ## Parent Loop BB4_1 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r14), %rax
movzbl (%rax,%r12), %eax
testl %eax, %eax
je LBB4_9
## %bb.7: ## in Loop: Header=BB4_6 Depth=2
cmpl $93, %eax
je LBB4_9
## %bb.8: ## in Loop: Header=BB4_6 Depth=2
movsbl %al, %esi
movq %r13, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r12
cmpq $40, %r12
jne LBB4_6
jmp LBB4_9
.p2align 4, 0x90
LBB4_3: ## in Loop: Header=BB4_1 Depth=1
cmpl $7, %eax
jne LBB4_10
## %bb.4: ## in Loop: Header=BB4_1 Depth=1
movzbl 8(%rbx,%r14), %esi
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB4_10
LBB4_11:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq _test_vector(%rip), %r13
xorl %ebx, %ebx
xorl %r14d, %r14d
jmp LBB5_4
.p2align 4, 0x90
LBB5_1: ## in Loop: Header=BB5_4 Depth=1
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq -72(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _re_compile
movq %rax, %rdi
callq _re_print
movq -56(%rbp), %rbx ## 8-byte Reload
leaq 1(%rbx), %rsi
movl $68, %edx
leaq L_.str.113(%rip), %rdi
movq %r15, %rcx
movq %r12, %r8
xorl %eax, %eax
callq _libmin_printf
LBB5_2: ## in Loop: Header=BB5_4 Depth=1
incq %r14
LBB5_3: ## in Loop: Header=BB5_4 Depth=1
incq %rbx
cmpq $68, %rbx
je LBB5_20
LBB5_4: ## =>This Loop Header: Depth=1
## Child Loop BB5_8 Depth 2
movq %rbx, -56(%rbp) ## 8-byte Spill
movq %rbx, %rax
shlq $5, %rax
movq (%rax,%r13), %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movq 8(%rax,%r13), %rdi
movq 16(%rax,%r13), %r12
movl 24(%rax,%r13), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movq %rdi, -72(%rbp) ## 8-byte Spill
callq _re_compile
movl $0, -44(%rbp)
movl $-1, %r15d
testq %rax, %rax
je LBB5_12
## %bb.5: ## in Loop: Header=BB5_4 Depth=1
movq %rax, %rbx
cmpb $2, (%rax)
jne LBB5_7
## %bb.6: ## in Loop: Header=BB5_4 Depth=1
addq $16, %rbx
movq %rbx, %rdi
movq %r12, %rsi
leaq -44(%rbp), %rdx
callq _matchpattern
movl %eax, %r15d
decl %r15d
jmp LBB5_12
.p2align 4, 0x90
LBB5_7: ## in Loop: Header=BB5_4 Depth=1
movq %r14, -88(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
.p2align 4, 0x90
LBB5_8: ## Parent Loop BB5_4 Depth=1
## => This Inner Loop Header: Depth=2
leaq (%r12,%r14), %r13
movq %rbx, %rdi
movq %r13, %rsi
leaq -44(%rbp), %rdx
callq _matchpattern
testl %eax, %eax
jne LBB5_10
## %bb.9: ## in Loop: Header=BB5_8 Depth=2
incq %r14
cmpb $0, (%r13)
jne LBB5_8
jmp LBB5_11
LBB5_10: ## in Loop: Header=BB5_4 Depth=1
cmpb $1, (%r12,%r14)
movl $0, %r15d
sbbl %r15d, %r15d
orl %r14d, %r15d
LBB5_11: ## in Loop: Header=BB5_4 Depth=1
movq -88(%rbp), %r14 ## 8-byte Reload
leaq _test_vector(%rip), %r13
LBB5_12: ## in Loop: Header=BB5_4 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB5_16
## %bb.13: ## in Loop: Header=BB5_4 Depth=1
cmpl $-1, %r15d
je LBB5_1
## %bb.14: ## in Loop: Header=BB5_4 Depth=1
movl -44(%rbp), %r8d
movl -76(%rbp), %eax ## 4-byte Reload
cmpl %eax, %r8d
je LBB5_19
## %bb.18: ## in Loop: Header=BB5_4 Depth=1
movq -56(%rbp), %rbx ## 8-byte Reload
leaq 1(%rbx), %rsi
movl %eax, (%rsp)
movl $68, %edx
leaq L_.str.114(%rip), %rdi
movq -72(%rbp), %rcx ## 8-byte Reload
movq %r12, %r9
xorl %eax, %eax
callq _libmin_printf
jmp LBB5_2
.p2align 4, 0x90
LBB5_16: ## in Loop: Header=BB5_4 Depth=1
cmpl $-1, %r15d
je LBB5_19
## %bb.17: ## in Loop: Header=BB5_4 Depth=1
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq -72(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _re_compile
movq %rax, %rdi
callq _re_print
movq -56(%rbp), %rbx ## 8-byte Reload
leaq 1(%rbx), %rsi
movl -44(%rbp), %r9d
movl $68, %edx
leaq L_.str.112(%rip), %rdi
movq %r15, %rcx
movq %r12, %r8
xorl %eax, %eax
callq _libmin_printf
jmp LBB5_2
.p2align 4, 0x90
LBB5_19: ## in Loop: Header=BB5_4 Depth=1
movq -56(%rbp), %rbx ## 8-byte Reload
jmp LBB5_3
LBB5_20:
movl $68, %esi
subq %r14, %rsi
leaq L_.str.115(%rip), %rdi
xorl %ebx, %ebx
movl $68, %edx
xorl %eax, %eax
callq _libmin_printf
testq %r14, %r14
je LBB5_22
## %bb.21:
movl %r14d, %ebx
jmp LBB5_23
LBB5_22:
callq _libmin_success
LBB5_23:
movl %ebx, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function matchone
_matchone: ## @matchone
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzbl %dil, %eax
leal -1(%rax), %ecx
cmpl $14, %ecx
ja LBB6_3
## %bb.1:
leaq LJTI6_0(%rip), %rdi
movslq (%rdi,%rcx,4), %rcx
addq %rdi, %rcx
jmpq *%rcx
LBB6_2:
movsbl %dl, %edi
popq %rbp
jmp _matchcharclass ## TAILCALL
LBB6_3:
movzbl %sil, %ecx
movsbl %dl, %edx
xorl %eax, %eax
cmpl %edx, %ecx
jmp LBB6_15
LBB6_4:
movsbl %dl, %edi
callq _matchcharclass
## kill: def $eax killed $eax def $rax
xorl $1, %eax
LBB6_16:
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB6_5:
movq __pctype@GOTPCREL(%rip), %rax
movq (%rax), %rax
movsbq %dl, %rcx
movzwl (%rax,%rcx,2), %eax
andl $4, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB6_6:
movq __pctype@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movsbq %dl, %rdx
xorl %eax, %eax
testb $4, (%rcx,%rdx,2)
jmp LBB6_15
LBB6_7:
movl $1, %eax
cmpb $95, %dl
je LBB6_16
## %bb.8:
movq __pctype@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movsbq %dl, %rdx
movzwl (%rcx,%rdx,2), %ecx
testb $3, %cl
jne LBB6_16
## %bb.9:
shrl $2, %ecx
andl $1, %ecx
movl %ecx, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB6_10:
xorl %eax, %eax
cmpb $95, %dl
je LBB6_16
## %bb.11:
movq __pctype@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movsbq %dl, %rdx
movzwl (%rcx,%rdx,2), %ecx
testb $3, %cl
jne LBB6_16
## %bb.12:
xorl %eax, %eax
testb $4, %cl
jmp LBB6_15
LBB6_13:
movq __pctype@GOTPCREL(%rip), %rax
movq (%rax), %rax
movsbq %dl, %rcx
movzwl (%rax,%rcx,2), %eax
andl $8, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB6_14:
movq __pctype@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movsbq %dl, %rdx
xorl %eax, %eax
testb $8, (%rcx,%rdx,2)
LBB6_15:
sete %al
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L6_0_set_16, LBB6_16-LJTI6_0
.set L6_0_set_3, LBB6_3-LJTI6_0
.set L6_0_set_2, LBB6_2-LJTI6_0
.set L6_0_set_4, LBB6_4-LJTI6_0
.set L6_0_set_5, LBB6_5-LJTI6_0
.set L6_0_set_6, LBB6_6-LJTI6_0
.set L6_0_set_7, LBB6_7-LJTI6_0
.set L6_0_set_10, LBB6_10-LJTI6_0
.set L6_0_set_13, LBB6_13-LJTI6_0
.set L6_0_set_14, LBB6_14-LJTI6_0
LJTI6_0:
.long L6_0_set_16
.long L6_0_set_3
.long L6_0_set_3
.long L6_0_set_3
.long L6_0_set_3
.long L6_0_set_3
.long L6_0_set_3
.long L6_0_set_2
.long L6_0_set_4
.long L6_0_set_5
.long L6_0_set_6
.long L6_0_set_7
.long L6_0_set_10
.long L6_0_set_13
.long L6_0_set_14
.end_data_region
## -- End function
.p2align 4, 0x90 ## -- Begin function matchcharclass
_matchcharclass: ## @matchcharclass
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq __pctype@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movslq %edi, %rdx
movabsq $2392541597564929, %r8 ## imm = 0x8800100088001
leaq LJTI7_0(%rip), %r9
jmp LBB7_1
.p2align 4, 0x90
LBB7_33: ## in Loop: Header=BB7_1 Depth=1
cmpb %dil, %r10b
je LBB7_34
LBB7_27: ## in Loop: Header=BB7_1 Depth=1
incq %rsi
testb %r10b, %r10b
je LBB7_28
LBB7_1: ## =>This Inner Loop Header: Depth=1
movzbl (%rsi), %r10d
cmpb $45, %dil
jne LBB7_2
LBB7_8: ## in Loop: Header=BB7_1 Depth=1
cmpb $92, %r10b
jne LBB7_29
## %bb.9: ## in Loop: Header=BB7_1 Depth=1
movsbl 1(%rsi), %r10d
movl %r10d, %eax
addl $-68, %eax
cmpl $51, %eax
ja LBB7_21
## %bb.10: ## in Loop: Header=BB7_1 Depth=1
movslq (%r9,%rax,4), %rax
addq %r9, %rax
jmpq *%rax
LBB7_12: ## in Loop: Header=BB7_1 Depth=1
xorl %r11d, %r11d
testb $4, (%rcx,%rdx,2)
jmp LBB7_22
.p2align 4, 0x90
LBB7_2: ## in Loop: Header=BB7_1 Depth=1
movzbl %r10b, %eax
testl %eax, %eax
je LBB7_33
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
cmpl $45, %eax
je LBB7_33
## %bb.4: ## in Loop: Header=BB7_1 Depth=1
cmpb $45, 1(%rsi)
jne LBB7_8
## %bb.5: ## in Loop: Header=BB7_1 Depth=1
movzbl 2(%rsi), %eax
cmpb %dil, %al
jl LBB7_8
## %bb.6: ## in Loop: Header=BB7_1 Depth=1
cmpb %dil, %r10b
jg LBB7_8
## %bb.7: ## in Loop: Header=BB7_1 Depth=1
testb %al, %al
je LBB7_8
jmp LBB7_34
.p2align 4, 0x90
LBB7_29: ## in Loop: Header=BB7_1 Depth=1
cmpb %dil, %r10b
jne LBB7_27
jmp LBB7_30
LBB7_21: ## in Loop: Header=BB7_1 Depth=1
xorl %r11d, %r11d
cmpb %dil, %r10b
jmp LBB7_22
LBB7_20: ## in Loop: Header=BB7_1 Depth=1
xorl %r11d, %r11d
testb $8, (%rcx,%rdx,2)
LBB7_22: ## in Loop: Header=BB7_1 Depth=1
sete %r11b
testl %r11d, %r11d
je LBB7_24
jmp LBB7_34
LBB7_16: ## in Loop: Header=BB7_1 Depth=1
cmpb $95, %dil
je LBB7_24
## %bb.17: ## in Loop: Header=BB7_1 Depth=1
movzwl (%rcx,%rdx,2), %eax
testb $3, %al
jne LBB7_24
## %bb.18: ## in Loop: Header=BB7_1 Depth=1
xorl %r11d, %r11d
testb $4, %al
jmp LBB7_22
LBB7_11: ## in Loop: Header=BB7_1 Depth=1
movzwl (%rcx,%rdx,2), %r11d
andl $4, %r11d
testl %r11d, %r11d
je LBB7_24
jmp LBB7_34
LBB7_19: ## in Loop: Header=BB7_1 Depth=1
movzwl (%rcx,%rdx,2), %r11d
andl $8, %r11d
testl %r11d, %r11d
je LBB7_24
jmp LBB7_34
LBB7_13: ## in Loop: Header=BB7_1 Depth=1
movl $1, %eax
cmpb $95, %dil
je LBB7_35
## %bb.14: ## in Loop: Header=BB7_1 Depth=1
movzwl (%rcx,%rdx,2), %r11d
testb $3, %r11b
jne LBB7_35
## %bb.15: ## in Loop: Header=BB7_1 Depth=1
shrl $2, %r11d
andl $1, %r11d
testl %r11d, %r11d
jne LBB7_34
.p2align 4, 0x90
LBB7_24: ## in Loop: Header=BB7_1 Depth=1
incq %rsi
cmpb %dil, %r10b
jne LBB7_27
## %bb.25: ## in Loop: Header=BB7_1 Depth=1
movsbl %dil, %r11d
movl $1, %eax
addl $-68, %r11d
cmpl $51, %r11d
ja LBB7_35
## %bb.26: ## in Loop: Header=BB7_1 Depth=1
btq %r11, %r8
jb LBB7_27
jmp LBB7_35
LBB7_28:
xorl %eax, %eax
popq %rbp
retq
LBB7_34:
movl $1, %eax
LBB7_35:
popq %rbp
retq
LBB7_30:
movl $1, %eax
cmpb $45, %dil
jne LBB7_35
## %bb.31:
cmpb $0, -1(%rsi)
je LBB7_35
## %bb.32:
xorl %eax, %eax
cmpb $0, 1(%rsi)
sete %al
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L7_0_set_12, LBB7_12-LJTI7_0
.set L7_0_set_21, LBB7_21-LJTI7_0
.set L7_0_set_20, LBB7_20-LJTI7_0
.set L7_0_set_16, LBB7_16-LJTI7_0
.set L7_0_set_11, LBB7_11-LJTI7_0
.set L7_0_set_19, LBB7_19-LJTI7_0
.set L7_0_set_13, LBB7_13-LJTI7_0
LJTI7_0:
.long L7_0_set_12
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_20
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_16
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_11
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_19
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_21
.long L7_0_set_13
.end_data_region
## -- End function
.zerofill __DATA,__bss,_re_compile.re_compiled,480,4 ## @re_compile.re_compiled
.zerofill __DATA,__bss,_re_compile.ccl_buf,40,4 ## @re_compile.ccl_buf
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "UNUSED"
L_.str.1: ## @.str.1
.asciz "DOT"
L_.str.2: ## @.str.2
.asciz "BEGIN"
L_.str.3: ## @.str.3
.asciz "END"
L_.str.4: ## @.str.4
.asciz "QUESTIONMARK"
L_.str.5: ## @.str.5
.asciz "STAR"
L_.str.6: ## @.str.6
.asciz "PLUS"
L_.str.7: ## @.str.7
.asciz "CHAR"
L_.str.8: ## @.str.8
.asciz "CHAR_CLASS"
L_.str.9: ## @.str.9
.asciz "INV_CHAR_CLASS"
L_.str.10: ## @.str.10
.asciz "DIGIT"
L_.str.11: ## @.str.11
.asciz "NOT_DIGIT"
L_.str.12: ## @.str.12
.asciz "ALPHA"
L_.str.13: ## @.str.13
.asciz "NOT_ALPHA"
L_.str.14: ## @.str.14
.asciz "WHITESPACE"
L_.str.15: ## @.str.15
.asciz "NOT_WHITESPACE"
L_.str.16: ## @.str.16
.asciz "BRANCH"
.section __TEXT,__const
.p2align 2, 0x0 ## @reltable.re_print
l_reltable.re_print:
.long L_.str-l_reltable.re_print
.long L_.str.1-l_reltable.re_print
.long L_.str.2-l_reltable.re_print
.long L_.str.3-l_reltable.re_print
.long L_.str.4-l_reltable.re_print
.long L_.str.5-l_reltable.re_print
.long L_.str.6-l_reltable.re_print
.long L_.str.7-l_reltable.re_print
.long L_.str.8-l_reltable.re_print
.long L_.str.9-l_reltable.re_print
.long L_.str.10-l_reltable.re_print
.long L_.str.11-l_reltable.re_print
.long L_.str.12-l_reltable.re_print
.long L_.str.13-l_reltable.re_print
.long L_.str.14-l_reltable.re_print
.long L_.str.15-l_reltable.re_print
.long L_.str.16-l_reltable.re_print
.section __TEXT,__cstring,cstring_literals
L_.str.17: ## @.str.17
.asciz "type: %s"
L_.str.18: ## @.str.18
.asciz " ["
L_.str.19: ## @.str.19
.asciz "%c"
L_.str.20: ## @.str.20
.asciz "]"
L_.str.21: ## @.str.21
.asciz " '%c'"
L_.str.22: ## @.str.22
.asciz "\n"
L_.str.23: ## @.str.23
.asciz "\\d"
L_.str.24: ## @.str.24
.asciz "5"
L_.str.25: ## @.str.25
.asciz "\\w+"
L_.str.26: ## @.str.26
.asciz "hej"
L_.str.27: ## @.str.27
.asciz "\\s"
L_.str.28: ## @.str.28
.asciz "\t \n"
L_.str.29: ## @.str.29
.asciz "\\S"
L_.str.30: ## @.str.30
.asciz "[\\s]"
L_.str.31: ## @.str.31
.asciz "[\\S]"
L_.str.32: ## @.str.32
.asciz "\\D"
L_.str.33: ## @.str.33
.asciz "\\W+"
L_.str.34: ## @.str.34
.asciz "[0-9]+"
L_.str.35: ## @.str.35
.asciz "12345"
L_.str.36: ## @.str.36
.asciz "[^\\w]"
L_.str.37: ## @.str.37
.asciz "\\"
L_.str.38: ## @.str.38
.asciz "[\\W]"
L_.str.39: ## @.str.39
.asciz "[\\w]"
L_.str.40: ## @.str.40
.asciz "[^\\d]"
L_.str.41: ## @.str.41
.asciz "d"
L_.str.42: ## @.str.42
.asciz "[\\d]"
L_.str.43: ## @.str.43
.asciz "[^\\D]"
L_.str.44: ## @.str.44
.asciz "[\\D]"
L_.str.45: ## @.str.45
.asciz "^.*\\\\.*$"
L_.str.46: ## @.str.46
.asciz "c:\\Tools"
L_.str.47: ## @.str.47
.asciz "^[\\+-]*[\\d]+$"
L_.str.48: ## @.str.48
.asciz "+27"
L_.str.49: ## @.str.49
.asciz "[abc]"
L_.str.50: ## @.str.50
.asciz "1c2"
L_.str.51: ## @.str.51
.asciz "1C2"
L_.str.52: ## @.str.52
.asciz "[1-5]+"
L_.str.53: ## @.str.53
.asciz "0123456789"
L_.str.54: ## @.str.54
.asciz "[.2]"
L_.str.55: ## @.str.55
.asciz "a*$"
L_.str.56: ## @.str.56
.asciz "Xaa"
L_.str.57: ## @.str.57
.asciz "[a-h]+"
L_.str.58: ## @.str.58
.asciz "abcdefghxxx"
L_.str.59: ## @.str.59
.asciz "ABCDEFGH"
L_.str.60: ## @.str.60
.asciz "[A-H]+"
L_.str.61: ## @.str.61
.asciz "abcdefgh"
L_.str.62: ## @.str.62
.asciz "[^\\s]+"
L_.str.63: ## @.str.63
.asciz "abc def"
L_.str.64: ## @.str.64
.asciz "[^fc]+"
L_.str.65: ## @.str.65
.asciz "[^d\\sf]+"
L_.str.66: ## @.str.66
.asciz "abc\ndef"
L_.str.67: ## @.str.67
.asciz "b.\\s*\n"
L_.str.68: ## @.str.68
.asciz "aa\r\nbb\r\ncc\r\n\r\n"
L_.str.69: ## @.str.69
.asciz ".*c"
L_.str.70: ## @.str.70
.asciz "abcabc"
L_.str.71: ## @.str.71
.asciz ".+c"
L_.str.72: ## @.str.72
.asciz "[b-z].*"
L_.str.73: ## @.str.73
.asciz "ab"
L_.str.74: ## @.str.74
.asciz "b[k-z]*"
L_.str.75: ## @.str.75
.asciz "[0-9]"
L_.str.76: ## @.str.76
.asciz " - "
L_.str.77: ## @.str.77
.asciz "[^0-9]"
L_.str.78: ## @.str.78
.asciz "0|"
L_.str.79: ## @.str.79
.asciz "\\d\\d:\\d\\d:\\d\\d"
L_.str.80: ## @.str.80
.asciz "0s:00:00"
L_.str.81: ## @.str.81
.asciz "000:00"
L_.str.82: ## @.str.82
.asciz "00:0000"
L_.str.83: ## @.str.83
.asciz "100:0:00"
L_.str.84: ## @.str.84
.asciz "00:100:00"
L_.str.85: ## @.str.85
.asciz "0:00:100"
L_.str.86: ## @.str.86
.asciz "\\d\\d?:\\d\\d?:\\d\\d?"
L_.str.87: ## @.str.87
.asciz "0:0:0"
L_.str.88: ## @.str.88
.asciz "0:00:0"
L_.str.89: ## @.str.89
.asciz "0:0:00"
L_.str.90: ## @.str.90
.asciz "00:0:0"
L_.str.91: ## @.str.91
.asciz "00:00:0"
L_.str.92: ## @.str.92
.asciz "00:0:00"
L_.str.93: ## @.str.93
.asciz "0:00:00"
L_.str.94: ## @.str.94
.asciz "00:00:00"
L_.str.95: ## @.str.95
.asciz "[Hh]ello [Ww]orld\\s*[!]?"
L_.str.96: ## @.str.96
.asciz "Hello world !"
L_.str.97: ## @.str.97
.asciz "hello world !"
L_.str.98: ## @.str.98
.asciz "Hello World !"
L_.str.99: ## @.str.99
.asciz "Hello world! "
L_.str.100: ## @.str.100
.asciz "Hello world !"
L_.str.101: ## @.str.101
.asciz "hello World !"
L_.str.102: ## @.str.102
.asciz "a:0"
L_.str.103: ## @.str.103
.asciz ".?bar"
L_.str.104: ## @.str.104
.asciz "real_bar"
L_.str.105: ## @.str.105
.asciz "real_foo"
L_.str.106: ## @.str.106
.asciz "X?Y"
L_.str.107: ## @.str.107
.asciz "Z"
L_.str.108: ## @.str.108
.asciz "[a-z]+\nbreak"
L_.str.109: ## @.str.109
.asciz "blahblah\nbreak"
L_.str.110: ## @.str.110
.asciz "[a-z\\s]+\nbreak"
L_.str.111: ## @.str.111
.asciz "bla bla \nbreak"
.section __DATA,__data
.globl _test_vector ## @test_vector
.p2align 4, 0x0
_test_vector:
.quad 1
.quad L_.str.23
.quad L_.str.24
.quad 1
.quad 1
.quad L_.str.25
.quad L_.str.26
.quad 3
.quad 1
.quad L_.str.27
.quad L_.str.28
.quad 1
.quad 0
.quad L_.str.29
.quad L_.str.28
.quad 0
.quad 1
.quad L_.str.30
.quad L_.str.28
.quad 1
.quad 0
.quad L_.str.31
.quad L_.str.28
.quad 0
.quad 0
.quad L_.str.32
.quad L_.str.24
.quad 0
.quad 0
.quad L_.str.33
.quad L_.str.26
.quad 0
.quad 1
.quad L_.str.34
.quad L_.str.35
.quad 5
.quad 1
.quad L_.str.32
.quad L_.str.26
.quad 1
.quad 0
.quad L_.str.23
.quad L_.str.26
.quad 0
.quad 1
.quad L_.str.36
.quad L_.str.37
.quad 1
.quad 1
.quad L_.str.38
.quad L_.str.37
.quad 1
.quad 0
.quad L_.str.39
.quad L_.str.37
.quad 0
.quad 1
.quad L_.str.40
.quad L_.str.41
.quad 1
.quad 0
.quad L_.str.42
.quad L_.str.41
.quad 0
.quad 0
.quad L_.str.43
.quad L_.str.41
.quad 0
.quad 1
.quad L_.str.44
.quad L_.str.41
.quad 1
.quad 1
.quad L_.str.45
.quad L_.str.46
.quad 8
.quad 1
.quad L_.str.47
.quad L_.str.48
.quad 3
.quad 1
.quad L_.str.49
.quad L_.str.50
.quad 1
.quad 0
.quad L_.str.49
.quad L_.str.51
.quad 0
.quad 1
.quad L_.str.52
.quad L_.str.53
.quad 5
.quad 1
.quad L_.str.54
.quad L_.str.51
.quad 1
.quad 1
.quad L_.str.55
.quad L_.str.56
.quad 2
.quad 1
.quad L_.str.55
.quad L_.str.56
.quad 2
.quad 1
.quad L_.str.57
.quad L_.str.58
.quad 8
.quad 0
.quad L_.str.57
.quad L_.str.59
.quad 0
.quad 1
.quad L_.str.60
.quad L_.str.59
.quad 8
.quad 0
.quad L_.str.60
.quad L_.str.61
.quad 0
.quad 1
.quad L_.str.62
.quad L_.str.63
.quad 3
.quad 1
.quad L_.str.64
.quad L_.str.63
.quad 2
.quad 1
.quad L_.str.65
.quad L_.str.63
.quad 3
.quad 1
.quad L_.str.22
.quad L_.str.66
.quad 1
.quad 1
.quad L_.str.67
.quad L_.str.68
.quad 4
.quad 1
.quad L_.str.69
.quad L_.str.70
.quad 6
.quad 1
.quad L_.str.71
.quad L_.str.70
.quad 6
.quad 1
.quad L_.str.72
.quad L_.str.73
.quad 1
.quad 1
.quad L_.str.74
.quad L_.str.73
.quad 1
.quad 0
.quad L_.str.75
.quad L_.str.76
.quad 0
.quad 1
.quad L_.str.77
.quad L_.str.76
.quad 1
.quad 1
.quad L_.str.78
.quad L_.str.78
.quad 2
.quad 0
.quad L_.str.79
.quad L_.str.80
.quad 0
.quad 0
.quad L_.str.79
.quad L_.str.81
.quad 0
.quad 0
.quad L_.str.79
.quad L_.str.82
.quad 0
.quad 0
.quad L_.str.79
.quad L_.str.83
.quad 0
.quad 0
.quad L_.str.79
.quad L_.str.84
.quad 0
.quad 0
.quad L_.str.79
.quad L_.str.85
.quad 0
.quad 1
.quad L_.str.86
.quad L_.str.87
.quad 5
.quad 1
.quad L_.str.86
.quad L_.str.88
.quad 6
.quad 1
.quad L_.str.86
.quad L_.str.89
.quad 5
.quad 1
.quad L_.str.86
.quad L_.str.90
.quad 6
.quad 1
.quad L_.str.86
.quad L_.str.91
.quad 7
.quad 1
.quad L_.str.86
.quad L_.str.92
.quad 6
.quad 1
.quad L_.str.86
.quad L_.str.93
.quad 6
.quad 1
.quad L_.str.86
.quad L_.str.94
.quad 7
.quad 1
.quad L_.str.95
.quad L_.str.96
.quad 12
.quad 1
.quad L_.str.95
.quad L_.str.97
.quad 12
.quad 1
.quad L_.str.95
.quad L_.str.98
.quad 12
.quad 1
.quad L_.str.95
.quad L_.str.99
.quad 11
.quad 1
.quad L_.str.95
.quad L_.str.100
.quad 13
.quad 1
.quad L_.str.95
.quad L_.str.101
.quad 15
.quad 0
.quad L_.str.86
.quad L_.str.102
.quad 0
.quad 1
.quad L_.str.103
.quad L_.str.104
.quad 4
.quad 0
.quad L_.str.103
.quad L_.str.105
.quad 0
.quad 0
.quad L_.str.106
.quad L_.str.107
.quad 0
.quad 1
.quad L_.str.108
.quad L_.str.109
.quad 14
.quad 1
.quad L_.str.110
.quad L_.str.111
.quad 14
.section __TEXT,__cstring,cstring_literals
L_.str.112: ## @.str.112
.asciz "[%lu/%lu]: pattern '%s' matched '%s' unexpectedly, matched %i chars. \n"
L_.str.113: ## @.str.113
.asciz "[%lu/%lu]: pattern '%s' didn't match '%s' as expected. \n"
L_.str.114: ## @.str.114
.asciz "[%lu/%lu]: pattern '%s' matched '%i' chars of '%s'; expected '%i'. \n"
L_.str.115: ## @.str.115
.asciz "%lu/%lu tests succeeded.\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _re_match ; -- Begin function re_match
.p2align 2
_re_match: ; @re_match
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x20, x1
bl _re_compile
str wzr, [x19]
cbz x0, LBB0_6
; %bb.1:
mov x21, x0
ldrb w8, [x0]
cmp w8, #2
b.ne LBB0_3
; %bb.2:
add x0, x21, #16
mov x1, x20
mov x2, x19
bl _matchpattern
sub w0, w0, #1
b LBB0_8
LBB0_3:
mov x23, #0 ; =0x0
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x22, x20, x23
mov x0, x21
mov x1, x22
mov x2, x19
bl _matchpattern
cbnz w0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x22]
add x23, x23, #1
cbnz w8, LBB0_4
LBB0_6:
mov w0, #-1 ; =0xffffffff
b LBB0_8
LBB0_7:
ldrb w8, [x20, x23]
cmp w8, #0
csinv w0, w23, wzr, ne
LBB0_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _re_matchp ; -- Begin function re_matchp
.p2align 2
_re_matchp: ; @re_matchp
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
str wzr, [x2]
cbz x0, LBB1_6
; %bb.1:
mov x19, x2
mov x20, x1
mov x21, x0
ldrb w8, [x0]
cmp w8, #2
b.ne LBB1_3
; %bb.2:
add x0, x21, #16
mov x1, x20
mov x2, x19
bl _matchpattern
sub w0, w0, #1
b LBB1_8
LBB1_3:
mov x23, #0 ; =0x0
LBB1_4: ; =>This Inner Loop Header: Depth=1
add x22, x20, x23
mov x0, x21
mov x1, x22
mov x2, x19
bl _matchpattern
cbnz w0, LBB1_7
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
ldrb w8, [x22]
add x23, x23, #1
cbnz w8, LBB1_4
LBB1_6:
mov w0, #-1 ; =0xffffffff
b LBB1_8
LBB1_7:
ldrb w8, [x20, x23]
cmp w8, #0
csinv w0, w23, wzr, ne
LBB1_8:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _re_compile ; -- Begin function re_compile
.p2align 2
_re_compile: ; @re_compile
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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
.cfi_def_cfa_offset 96
.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 x8, x0
ldrb w26, [x0]
Lloh0:
adrp x0, _re_compile.re_compiled@PAGE
Lloh1:
add x0, x0, _re_compile.re_compiled@PAGEOFF
cbz w26, LBB2_39
; %bb.1:
mov x9, #0 ; =0x0
mov w25, #0 ; =0x0
mov w10, #1 ; =0x1
mov w11, #7 ; =0x7
Lloh2:
adrp x12, lJTI2_0@PAGE
Lloh3:
add x12, x12, lJTI2_0@PAGEOFF
mov w13, #3 ; =0x3
mov w14, #5 ; =0x5
mov w15, #6 ; =0x6
mov w16, #4 ; =0x4
mov w17, #9 ; =0x9
Lloh4:
adrp x1, _re_compile.ccl_buf@PAGE
Lloh5:
add x1, x1, _re_compile.ccl_buf@PAGEOFF
mov w2, #92 ; =0x5c
mov w3, #8 ; =0x8
mov w4, #11 ; =0xb
mov w5, #15 ; =0xf
mov w6, #13 ; =0xd
mov w7, #10 ; =0xa
mov w19, #14 ; =0xe
mov w20, #12 ; =0xc
mov w21, #2 ; =0x2
mov w27, #1 ; =0x1
mov w23, #1 ; =0x1
Lloh6:
adrp x22, lJTI2_1@PAGE
Lloh7:
add x22, x22, lJTI2_1@PAGEOFF
LBB2_2: ; =>This Loop Header: Depth=1
; Child Loop BB2_20 Depth 2
mov x24, x27
sxtb w27, w26
sub w27, w27, #36
cmp w27, #58
b.hi LBB2_5
; %bb.3: ; in Loop: Header=BB2_2 Depth=1
adr x28, LBB2_4
ldrb w30, [x12, x27]
add x28, x28, x30, lsl #2
br x28
LBB2_4: ; in Loop: Header=BB2_2 Depth=1
lsl x26, x9, #4
strb w13, [x0, x26]
b LBB2_29
LBB2_5: ; in Loop: Header=BB2_2 Depth=1
add x27, x0, x9, lsl #4
strb w11, [x27]
strb w26, [x27, #8]
b LBB2_29
LBB2_6: ; in Loop: Header=BB2_2 Depth=1
lsl x26, x9, #4
strb w14, [x0, x26]
b LBB2_29
LBB2_7: ; in Loop: Header=BB2_2 Depth=1
lsl x26, x9, #4
strb w15, [x0, x26]
b LBB2_29
LBB2_8: ; in Loop: Header=BB2_2 Depth=1
lsl x26, x9, #4
strb w10, [x0, x26]
b LBB2_29
LBB2_9: ; in Loop: Header=BB2_2 Depth=1
lsl x26, x9, #4
strb w16, [x0, x26]
b LBB2_29
LBB2_10: ; in Loop: Header=BB2_2 Depth=1
mov x26, x25
sxtw x27, w26
add x26, x27, #1
ldrb w30, [x8, x26]
add x28, x0, x9, lsl #4
cmp w30, #94
b.ne LBB2_17
; %bb.11: ; in Loop: Header=BB2_2 Depth=1
strb w17, [x28]
add x25, x27, x8
ldrb w27, [x25, #2]
mov x25, x26
cbnz w27, LBB2_18
b LBB2_38
LBB2_12: ; in Loop: Header=BB2_2 Depth=1
mov x26, x25
sxtw x26, w26
add x26, x26, #1
ldrsb w27, [x8, x26]
cbz w27, LBB2_29
; %bb.13: ; in Loop: Header=BB2_2 Depth=1
sub w25, w27, #68
cmp w25, #51
b.hi LBB2_32
; %bb.14: ; in Loop: Header=BB2_2 Depth=1
adr x27, LBB2_15
ldrb w28, [x22, x25]
add x27, x27, x28, lsl #2
br x27
LBB2_15: ; in Loop: Header=BB2_2 Depth=1
lsl x25, x9, #4
strb w4, [x0, x25]
b LBB2_30
LBB2_16: ; in Loop: Header=BB2_2 Depth=1
lsl x26, x9, #4
strb w21, [x0, x26]
b LBB2_29
LBB2_17: ; in Loop: Header=BB2_2 Depth=1
strb w3, [x28]
LBB2_18: ; in Loop: Header=BB2_2 Depth=1
mov x26, x23
b LBB2_20
LBB2_19: ; in Loop: Header=BB2_20 Depth=2
strb w27, [x1, w26, sxtw]
add w26, w26, #1
LBB2_20: ; Parent Loop BB2_2 Depth=1
; => This Inner Loop Header: Depth=2
; kill: def $w25 killed $w25 killed $x25 def $x25
sxtw x28, w25
add x25, x28, #1
ldrb w27, [x8, x25]
cmp w27, #92
b.eq LBB2_24
; %bb.21: ; in Loop: Header=BB2_20 Depth=2
cbz w27, LBB2_27
; %bb.22: ; in Loop: Header=BB2_20 Depth=2
cmp w27, #93
b.eq LBB2_27
; %bb.23: ; in Loop: Header=BB2_20 Depth=2
cmp w26, #39
b.le LBB2_19
b LBB2_38
LBB2_24: ; in Loop: Header=BB2_20 Depth=2
cmp w26, #38
b.gt LBB2_38
; %bb.25: ; in Loop: Header=BB2_20 Depth=2
add x25, x28, #2
ldrb w27, [x8, x25]
cbz w27, LBB2_38
; %bb.26: ; in Loop: Header=BB2_20 Depth=2
strb w2, [x1, w26, sxtw]
add w26, w26, #1
ldrb w27, [x8, x25]
; kill: def $w25 killed $w25 killed $x25 def $x25
b LBB2_19
LBB2_27: ; in Loop: Header=BB2_2 Depth=1
cmp w26, #39
b.gt LBB2_38
; %bb.28: ; in Loop: Header=BB2_2 Depth=1
add x23, x1, w23, sxtw
add w27, w26, #1
strb wzr, [x1, w26, sxtw]
add x26, x0, x9, lsl #4
str x23, [x26, #8]
mov x23, x27
LBB2_29: ; in Loop: Header=BB2_2 Depth=1
mov x26, x25
LBB2_30: ; in Loop: Header=BB2_2 Depth=1
; kill: def $w26 killed $w26 killed $x26 def $x26
sxtw x25, w26
ldrb w26, [x8, x25]
cbz w26, LBB2_38
; %bb.31: ; in Loop: Header=BB2_2 Depth=1
add x25, x25, #1
ldrb w26, [x8, x25]
add x27, x24, #1
add x9, x9, #1
cmp w26, #0
ccmp x24, #28, #2, ne
b.ls LBB2_2
b LBB2_40
LBB2_32: ; in Loop: Header=BB2_2 Depth=1
add x25, x0, x9, lsl #4
strb w11, [x25]
ldrb w27, [x8, x26]
strb w27, [x25, #8]
b LBB2_30
LBB2_33: ; in Loop: Header=BB2_2 Depth=1
lsl x25, x9, #4
strb w5, [x0, x25]
b LBB2_30
LBB2_34: ; in Loop: Header=BB2_2 Depth=1
lsl x25, x9, #4
strb w6, [x0, x25]
b LBB2_30
LBB2_35: ; in Loop: Header=BB2_2 Depth=1
lsl x25, x9, #4
strb w7, [x0, x25]
b LBB2_30
LBB2_36: ; in Loop: Header=BB2_2 Depth=1
lsl x25, x9, #4
strb w19, [x0, x25]
b LBB2_30
LBB2_37: ; in Loop: Header=BB2_2 Depth=1
lsl x25, x9, #4
strb w20, [x0, x25]
b LBB2_30
LBB2_38:
mov x0, #0 ; =0x0
b LBB2_42
LBB2_39:
mov x8, #0 ; =0x0
b LBB2_41
LBB2_40:
and x8, x24, #0xffffffff
LBB2_41:
lsl x8, x8, #4
strb wzr, [x0, x8]
LBB2_42:
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 AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
.section __TEXT,__const
lJTI2_0:
.byte (LBB2_4-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_6-LBB2_4)>>2
.byte (LBB2_7-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_8-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_9-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_10-LBB2_4)>>2
.byte (LBB2_12-LBB2_4)>>2
.byte (LBB2_5-LBB2_4)>>2
.byte (LBB2_16-LBB2_4)>>2
lJTI2_1:
.byte (LBB2_15-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_33-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_34-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_35-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_36-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_32-LBB2_15)>>2
.byte (LBB2_37-LBB2_15)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.p2align 2 ; -- Begin function matchpattern
_matchpattern: ; @matchpattern
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x21, x1
mov x20, x0
mov x25, #0 ; =0x0
ldr w24, [x2]
ldrb w8, [x20], #32
LBB3_1: ; =>This Inner Loop Header: Depth=1
cbz w8, LBB3_9
; %bb.2: ; in Loop: Header=BB3_1 Depth=1
ldurb w22, [x20, #-16]
cmp w22, #6
b.eq LBB3_15
; %bb.3: ; in Loop: Header=BB3_1 Depth=1
cmp w22, #5
b.eq LBB3_22
; %bb.4: ; in Loop: Header=BB3_1 Depth=1
cmp w22, #4
b.eq LBB3_9
; %bb.5: ; in Loop: Header=BB3_1 Depth=1
cmp w8, #3
b.ne LBB3_7
; %bb.6: ; in Loop: Header=BB3_1 Depth=1
cbz w22, LBB3_26
LBB3_7: ; in Loop: Header=BB3_1 Depth=1
add w8, w24, w25
add w8, w8, #1
str w8, [x19]
ldrb w8, [x21, x25]
cbz w8, LBB3_29
; %bb.8: ; in Loop: Header=BB3_1 Depth=1
ldp x0, x1, [x20, #-32]
sxtb w2, w8
bl _matchone
add x25, x25, #1
add x20, x20, #16
mov x8, x22
cbnz w0, LBB3_1
b LBB3_29
LBB3_9:
ldur x22, [x20, #-32]
tst x22, #0xff
b.eq LBB3_33
; %bb.10:
ldur x23, [x20, #-24]
add x24, x21, x25
mov x0, x20
mov x1, x24
mov x2, x19
bl _matchpattern
cbnz w0, LBB3_33
; %bb.11:
ldrb w8, [x24]
cbz w8, LBB3_27
; %bb.12:
sxtb w2, w8
mov x0, x22
mov x1, x23
bl _matchone
cbz w0, LBB3_34
; %bb.13:
add x8, x21, x25
add x1, x8, #1
mov x0, x20
mov x2, x19
bl _matchpattern
cbz w0, LBB3_34
; %bb.14:
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
mov w0, #1 ; =0x1
b LBB3_34
LBB3_15:
add x26, x21, x25
ldrb w8, [x26]
cbz w8, LBB3_27
; %bb.16:
ldp x22, x23, [x20, #-32]
add x9, x24, x25
add x24, x9, #1
mov x21, x26
LBB3_17: ; =>This Inner Loop Header: Depth=1
sxtb w2, w8
mov x0, x22
mov x1, x23
bl _matchone
cbz w0, LBB3_19
; %bb.18: ; in Loop: Header=BB3_17 Depth=1
str w24, [x19]
ldrb w8, [x21, #1]!
add w24, w24, #1
cbnz w8, LBB3_17
LBB3_19:
cmp x21, x26
b.ls LBB3_27
LBB3_20: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x21
mov x2, x19
bl _matchpattern
cbnz w0, LBB3_33
; %bb.21: ; in Loop: Header=BB3_20 Depth=1
sub x21, x21, #1
ldr w8, [x19]
sub w8, w8, #1
str w8, [x19]
cmp x21, x26
b.hi LBB3_20
b LBB3_34
LBB3_22:
add x26, x21, x25
ldrb w8, [x26]
add x24, x24, x25
cbz w8, LBB3_28
; %bb.23:
ldp x22, x23, [x20, #-32]
add x25, x24, #1
mov x21, x26
LBB3_24: ; =>This Inner Loop Header: Depth=1
sxtb w2, w8
mov x0, x22
mov x1, x23
bl _matchone
cbz w0, LBB3_30
; %bb.25: ; in Loop: Header=BB3_24 Depth=1
str w25, [x19]
ldrb w8, [x21, #1]!
add w25, w25, #1
cbnz w8, LBB3_24
b LBB3_30
LBB3_26:
ldrb w8, [x21, x25]
cmp w8, #0
cset w0, eq
b LBB3_34
LBB3_27:
mov w0, #0 ; =0x0
b LBB3_34
LBB3_28:
mov x21, x26
b LBB3_31
LBB3_29:
mov w0, #0 ; =0x0
str w24, [x19]
b LBB3_34
LBB3_30:
cmp x21, x26
b.lo LBB3_29
LBB3_31:
mov x0, x20
mov x1, x21
mov x2, x19
bl _matchpattern
cbnz w0, LBB3_33
; %bb.32:
sub x21, x21, #1
ldr w8, [x19]
sub w8, w8, #1
str w8, [x19]
b LBB3_30
LBB3_33:
mov w0, #1 ; =0x1
LBB3_34:
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
.cfi_endproc
; -- End function
.globl _re_print ; -- Begin function re_print
.p2align 2
_re_print: ; @re_print
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
mov x26, #0 ; =0x0
Lloh8:
adrp x27, l___const.re_print.types@PAGE
Lloh9:
add x27, x27, l___const.re_print.types@PAGEOFF
Lloh10:
adrp x20, l_.str.17@PAGE
Lloh11:
add x20, x20, l_.str.17@PAGEOFF
Lloh12:
adrp x21, l_.str.18@PAGE
Lloh13:
add x21, x21, l_.str.18@PAGEOFF
Lloh14:
adrp x22, l_.str.20@PAGE
Lloh15:
add x22, x22, l_.str.20@PAGEOFF
Lloh16:
adrp x23, l_.str.19@PAGE
Lloh17:
add x23, x23, l_.str.19@PAGEOFF
Lloh18:
adrp x24, l_.str.22@PAGE
Lloh19:
add x24, x24, l_.str.22@PAGEOFF
b LBB4_4
LBB4_1: ; in Loop: Header=BB4_4 Depth=1
mov x0, x22
LBB4_2: ; in Loop: Header=BB4_4 Depth=1
bl _libmin_printf
LBB4_3: ; in Loop: Header=BB4_4 Depth=1
mov x0, x24
bl _libmin_printf
add x26, x26, #1
cmp x26, #30
b.eq LBB4_12
LBB4_4: ; =>This Loop Header: Depth=1
; Child Loop BB4_7 Depth 2
add x25, x19, x26, lsl #4
ldrb w8, [x25]
cbz x8, LBB4_12
; %bb.5: ; in Loop: Header=BB4_4 Depth=1
ldr x8, [x27, x8, lsl #3]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldrb w8, [x25]
sub w9, w8, #8
cmp w9, #2
b.hs LBB4_10
; %bb.6: ; in Loop: Header=BB4_4 Depth=1
mov x0, x21
bl _libmin_printf
mov x28, #0 ; =0x0
add x8, x19, x26, lsl #4
add x25, x8, #8
LBB4_7: ; Parent Loop BB4_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x25]
ldrb w8, [x8, x28]
cbz w8, LBB4_1
; %bb.8: ; in Loop: Header=BB4_7 Depth=2
cmp w8, #93
b.eq LBB4_1
; %bb.9: ; in Loop: Header=BB4_7 Depth=2
sxtb w8, w8
str x8, [sp]
mov x0, x23
bl _libmin_printf
add x28, x28, #1
cmp x28, #40
b.ne LBB4_7
b LBB4_1
LBB4_10: ; in Loop: Header=BB4_4 Depth=1
cmp w8, #7
b.ne LBB4_3
; %bb.11: ; in Loop: Header=BB4_4 Depth=1
add x8, x19, x26, lsl #4
ldrb w8, [x8, #8]
str x8, [sp]
Lloh20:
adrp x0, l_.str.21@PAGE
Lloh21:
add x0, x0, l_.str.21@PAGEOFF
b LBB4_2
LBB4_12:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh20, Lloh21
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x28, #0 ; =0x0
mov x19, #0 ; =0x0
Lloh22:
adrp x23, _test_vector@PAGE
Lloh23:
add x23, x23, _test_vector@PAGEOFF
mov w21, #68 ; =0x44
b LBB5_4
LBB5_1: ; in Loop: Header=BB5_4 Depth=1
Lloh24:
adrp x0, l_.str.22@PAGE
Lloh25:
add x0, x0, l_.str.22@PAGEOFF
bl _libmin_printf
mov x0, x24
bl _re_compile
bl _re_print
add x8, x28, #1
stp x24, x25, [sp, #16]
stp x8, x21, [sp]
Lloh26:
adrp x0, l_.str.113@PAGE
Lloh27:
add x0, x0, l_.str.113@PAGEOFF
LBB5_2: ; in Loop: Header=BB5_4 Depth=1
bl _libmin_printf
add x19, x19, #1
LBB5_3: ; in Loop: Header=BB5_4 Depth=1
add x28, x28, #1
cmp x28, #68
b.eq LBB5_19
LBB5_4: ; =>This Loop Header: Depth=1
; Child Loop BB5_12 Depth 2
add x8, x23, x28, lsl #5
ldp x24, x25, [x8, #8]
ldr x20, [x8]
ldr w22, [x8, #24]
mov x0, x24
bl _re_compile
str wzr, [sp, #60]
cbz x0, LBB5_7
; %bb.5: ; in Loop: Header=BB5_4 Depth=1
mov x26, x0
ldrb w8, [x0]
cmp w8, #2
b.ne LBB5_11
; %bb.6: ; in Loop: Header=BB5_4 Depth=1
add x0, x26, #16
add x2, sp, #60
mov x1, x25
bl _matchpattern
sub w8, w0, #1
cmn w8, #1
cbnz x20, LBB5_8
b LBB5_17
LBB5_7: ; in Loop: Header=BB5_4 Depth=1
mov w8, #-1 ; =0xffffffff
cmn w8, #1
cbz x20, LBB5_17
LBB5_8: ; in Loop: Header=BB5_4 Depth=1
b.eq LBB5_1
; %bb.9: ; in Loop: Header=BB5_4 Depth=1
ldr w8, [sp, #60]
cmp w8, w22
b.eq LBB5_3
; %bb.10: ; in Loop: Header=BB5_4 Depth=1
add x9, x28, #1
stp x25, x22, [sp, #32]
stp x24, x8, [sp, #16]
stp x9, x21, [sp]
Lloh28:
adrp x0, l_.str.114@PAGE
Lloh29:
add x0, x0, l_.str.114@PAGEOFF
b LBB5_2
LBB5_11: ; in Loop: Header=BB5_4 Depth=1
mov x21, #0 ; =0x0
LBB5_12: ; Parent Loop BB5_4 Depth=1
; => This Inner Loop Header: Depth=2
add x27, x25, x21
add x2, sp, #60
mov x0, x26
mov x1, x27
bl _matchpattern
cbnz w0, LBB5_15
; %bb.13: ; in Loop: Header=BB5_12 Depth=2
ldrb w8, [x27]
add x21, x21, #1
cbnz w8, LBB5_12
; %bb.14: ; in Loop: Header=BB5_4 Depth=1
mov w8, #-1 ; =0xffffffff
b LBB5_16
LBB5_15: ; in Loop: Header=BB5_4 Depth=1
ldrb w8, [x25, x21]
cmp w8, #0
csinv w8, w21, wzr, ne
LBB5_16: ; in Loop: Header=BB5_4 Depth=1
mov w21, #68 ; =0x44
cmn w8, #1
cbnz x20, LBB5_8
LBB5_17: ; in Loop: Header=BB5_4 Depth=1
b.eq LBB5_3
; %bb.18: ; in Loop: Header=BB5_4 Depth=1
Lloh30:
adrp x0, l_.str.22@PAGE
Lloh31:
add x0, x0, l_.str.22@PAGEOFF
bl _libmin_printf
mov x0, x24
bl _re_compile
bl _re_print
add x8, x28, #1
ldr w9, [sp, #60]
stp x25, x9, [sp, #24]
stp x21, x24, [sp, #8]
str x8, [sp]
Lloh32:
adrp x0, l_.str.112@PAGE
Lloh33:
add x0, x0, l_.str.112@PAGEOFF
b LBB5_2
LBB5_19:
mov w8, #68 ; =0x44
sub x9, x8, x19
stp x9, x8, [sp]
Lloh34:
adrp x0, l_.str.115@PAGE
Lloh35:
add x0, x0, l_.str.115@PAGEOFF
bl _libmin_printf
cbnz x19, LBB5_21
; %bb.20:
bl _libmin_success
LBB5_21:
mov x0, x19
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function matchone
_matchone: ; @matchone
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
and w0, w0, #0xff
sub w8, w0, #1
cmp w8, #14
b.hi LBB6_3
; %bb.1:
Lloh36:
adrp x9, lJTI6_0@PAGE
Lloh37:
add x9, x9, lJTI6_0@PAGEOFF
adr x10, LBB6_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB6_2:
mov x0, x2
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _matchcharclass
LBB6_3:
cmp w2, w1, uxtb
b LBB6_15
LBB6_4:
mov x0, x2
bl _matchcharclass
eor w0, w0, #0x1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB6_5:
Lloh38:
adrp x8, __pctype@GOTPAGE
Lloh39:
ldr x8, [x8, __pctype@GOTPAGEOFF]
Lloh40:
ldr x8, [x8]
ldrh w8, [x8, w2, sxtw #1]
and w0, w8, #0x4
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB6_6:
Lloh41:
adrp x8, __pctype@GOTPAGE
Lloh42:
ldr x8, [x8, __pctype@GOTPAGEOFF]
Lloh43:
ldr x8, [x8]
ldrh w8, [x8, w2, sxtw #1]
tst w8, #0x4
b LBB6_15
LBB6_7:
cmp w2, #95
b.eq LBB6_9
; %bb.8:
Lloh44:
adrp x8, __pctype@GOTPAGE
Lloh45:
ldr x8, [x8, __pctype@GOTPAGEOFF]
Lloh46:
ldr x8, [x8]
ldrh w8, [x8, w2, sxtw #1]
tst w8, #0x3
b.eq LBB6_17
LBB6_9:
mov w0, #1 ; =0x1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB6_10:
cmp w2, #95
b.eq LBB6_12
; %bb.11:
Lloh47:
adrp x8, __pctype@GOTPAGE
Lloh48:
ldr x8, [x8, __pctype@GOTPAGEOFF]
Lloh49:
ldr x8, [x8]
ldrh w8, [x8, w2, sxtw #1]
tst w8, #0x3
b.eq LBB6_18
LBB6_12:
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB6_13:
Lloh50:
adrp x8, __pctype@GOTPAGE
Lloh51:
ldr x8, [x8, __pctype@GOTPAGEOFF]
Lloh52:
ldr x8, [x8]
ldrh w8, [x8, w2, sxtw #1]
and w0, w8, #0x8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB6_14:
Lloh53:
adrp x8, __pctype@GOTPAGE
Lloh54:
ldr x8, [x8, __pctype@GOTPAGEOFF]
Lloh55:
ldr x8, [x8]
ldrh w8, [x8, w2, sxtw #1]
tst w8, #0x8
LBB6_15:
cset w0, eq
LBB6_16:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB6_17:
ubfx w0, w8, #2, #1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB6_18:
mov w9, #1 ; =0x1
bic w0, w9, w8, lsr #2
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.cfi_endproc
.section __TEXT,__const
lJTI6_0:
.byte (LBB6_16-LBB6_2)>>2
.byte (LBB6_3-LBB6_2)>>2
.byte (LBB6_3-LBB6_2)>>2
.byte (LBB6_3-LBB6_2)>>2
.byte (LBB6_3-LBB6_2)>>2
.byte (LBB6_3-LBB6_2)>>2
.byte (LBB6_3-LBB6_2)>>2
.byte (LBB6_2-LBB6_2)>>2
.byte (LBB6_4-LBB6_2)>>2
.byte (LBB6_5-LBB6_2)>>2
.byte (LBB6_6-LBB6_2)>>2
.byte (LBB6_7-LBB6_2)>>2
.byte (LBB6_10-LBB6_2)>>2
.byte (LBB6_13-LBB6_2)>>2
.byte (LBB6_14-LBB6_2)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.p2align 2 ; -- Begin function matchcharclass
_matchcharclass: ; @matchcharclass
.cfi_startproc
; %bb.0:
; kill: def $w0 killed $w0 def $x0
Lloh56:
adrp x8, __pctype@GOTPAGE
Lloh57:
ldr x8, [x8, __pctype@GOTPAGEOFF]
Lloh58:
ldr x9, [x8]
sxtw x10, w0
sub w11, w0, #68
mov w12, #1 ; =0x1
lsl x13, x12, x11
mov x14, #-9222949817947160575 ; =0x8001800180018001
movk x14, #8, lsl #16
movk x14, #8, lsl #48
Lloh59:
adrp x15, lJTI7_0@PAGE
Lloh60:
add x15, x15, lJTI7_0@PAGEOFF
b LBB7_3
LBB7_1: ; in Loop: Header=BB7_3 Depth=1
cmp w16, w0
b.eq LBB7_34
LBB7_2: ; in Loop: Header=BB7_3 Depth=1
add x1, x1, #1
tst w16, #0xff
b.eq LBB7_29
LBB7_3: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x1]
sxtb w16, w8
cmp w0, #45
b.ne LBB7_8
LBB7_4: ; in Loop: Header=BB7_3 Depth=1
cmp w16, #92
b.ne LBB7_14
; %bb.5: ; in Loop: Header=BB7_3 Depth=1
ldrsb w8, [x1, #1]!
and w16, w8, #0xff
sub w8, w8, #68
cmp w8, #51
b.hi LBB7_15
; %bb.6: ; in Loop: Header=BB7_3 Depth=1
adr x17, LBB7_7
ldrb w2, [x15, x8]
add x17, x17, x2, lsl #2
br x17
LBB7_7: ; in Loop: Header=BB7_3 Depth=1
ldrh w8, [x9, x10, lsl #1]
tst w8, #0x4
b LBB7_17
LBB7_8: ; in Loop: Header=BB7_3 Depth=1
cbz w8, LBB7_1
; %bb.9: ; in Loop: Header=BB7_3 Depth=1
cmp w8, #45
b.eq LBB7_1
; %bb.10: ; in Loop: Header=BB7_3 Depth=1
ldrb w8, [x1, #1]
cmp w8, #45
b.ne LBB7_4
; %bb.11: ; in Loop: Header=BB7_3 Depth=1
ldrsb w8, [x1, #2]
cmp w8, w0
b.lt LBB7_4
; %bb.12: ; in Loop: Header=BB7_3 Depth=1
cmp w16, w0
b.gt LBB7_4
; %bb.13: ; in Loop: Header=BB7_3 Depth=1
cbz w8, LBB7_4
b LBB7_34
LBB7_14: ; in Loop: Header=BB7_3 Depth=1
cmp w16, w0
b.ne LBB7_2
b LBB7_30
LBB7_15: ; in Loop: Header=BB7_3 Depth=1
cmp w16, w0, uxtb
b LBB7_17
LBB7_16: ; in Loop: Header=BB7_3 Depth=1
ldrh w8, [x9, x10, lsl #1]
tst w8, #0x8
LBB7_17: ; in Loop: Header=BB7_3 Depth=1
cset w8, eq
cbz w8, LBB7_26
b LBB7_34
LBB7_18: ; in Loop: Header=BB7_3 Depth=1
cmp w0, #95
b.eq LBB7_26
; %bb.19: ; in Loop: Header=BB7_3 Depth=1
ldrh w8, [x9, x10, lsl #1]
tst w8, #0x3
b.ne LBB7_26
; %bb.20: ; in Loop: Header=BB7_3 Depth=1
bic w8, w12, w8, lsr #2
cbz w8, LBB7_26
b LBB7_34
LBB7_21: ; in Loop: Header=BB7_3 Depth=1
ldrh w8, [x9, x10, lsl #1]
and w8, w8, #0x4
cbz w8, LBB7_26
b LBB7_34
LBB7_22: ; in Loop: Header=BB7_3 Depth=1
ldrh w8, [x9, x10, lsl #1]
and w8, w8, #0x8
cbz w8, LBB7_26
b LBB7_34
LBB7_23: ; in Loop: Header=BB7_3 Depth=1
cmp w0, #95
b.eq LBB7_34
; %bb.24: ; in Loop: Header=BB7_3 Depth=1
ldrh w8, [x9, x10, lsl #1]
tst w8, #0x3
b.ne LBB7_34
; %bb.25: ; in Loop: Header=BB7_3 Depth=1
ubfx w8, w8, #2, #1
cbnz w8, LBB7_34
LBB7_26: ; in Loop: Header=BB7_3 Depth=1
cmp w16, w0, uxtb
b.ne LBB7_2
; %bb.27: ; in Loop: Header=BB7_3 Depth=1
mov w8, #1 ; =0x1
cmp w11, #51
b.hi LBB7_33
; %bb.28: ; in Loop: Header=BB7_3 Depth=1
tst x13, x14
b.ne LBB7_2
b LBB7_33
LBB7_29:
mov w0, #0 ; =0x0
ret
LBB7_30:
cmp w0, #45
b.ne LBB7_34
; %bb.31:
ldurb w8, [x1, #-1]
cbz w8, LBB7_34
; %bb.32:
ldrb w8, [x1, #1]
cmp w8, #0
cset w8, eq
LBB7_33:
mov x0, x8
ret
LBB7_34:
mov w0, #1 ; =0x1
ret
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.cfi_endproc
.section __TEXT,__const
lJTI7_0:
.byte (LBB7_7-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_16-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_18-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_21-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_22-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_15-LBB7_7)>>2
.byte (LBB7_23-LBB7_7)>>2
; -- End function
.zerofill __DATA,__bss,_re_compile.re_compiled,480,3 ; @re_compile.re_compiled
.zerofill __DATA,__bss,_re_compile.ccl_buf,40,0 ; @re_compile.ccl_buf
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "UNUSED"
l_.str.1: ; @.str.1
.asciz "DOT"
l_.str.2: ; @.str.2
.asciz "BEGIN"
l_.str.3: ; @.str.3
.asciz "END"
l_.str.4: ; @.str.4
.asciz "QUESTIONMARK"
l_.str.5: ; @.str.5
.asciz "STAR"
l_.str.6: ; @.str.6
.asciz "PLUS"
l_.str.7: ; @.str.7
.asciz "CHAR"
l_.str.8: ; @.str.8
.asciz "CHAR_CLASS"
l_.str.9: ; @.str.9
.asciz "INV_CHAR_CLASS"
l_.str.10: ; @.str.10
.asciz "DIGIT"
l_.str.11: ; @.str.11
.asciz "NOT_DIGIT"
l_.str.12: ; @.str.12
.asciz "ALPHA"
l_.str.13: ; @.str.13
.asciz "NOT_ALPHA"
l_.str.14: ; @.str.14
.asciz "WHITESPACE"
l_.str.15: ; @.str.15
.asciz "NOT_WHITESPACE"
l_.str.16: ; @.str.16
.asciz "BRANCH"
.section __DATA,__const
.p2align 3, 0x0 ; @__const.re_print.types
l___const.re_print.types:
.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 l_.str.8
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.quad l_.str.14
.quad l_.str.15
.quad l_.str.16
.section __TEXT,__cstring,cstring_literals
l_.str.17: ; @.str.17
.asciz "type: %s"
l_.str.18: ; @.str.18
.asciz " ["
l_.str.19: ; @.str.19
.asciz "%c"
l_.str.20: ; @.str.20
.asciz "]"
l_.str.21: ; @.str.21
.asciz " '%c'"
l_.str.22: ; @.str.22
.asciz "\n"
l_.str.23: ; @.str.23
.asciz "\\d"
l_.str.24: ; @.str.24
.asciz "5"
l_.str.25: ; @.str.25
.asciz "\\w+"
l_.str.26: ; @.str.26
.asciz "hej"
l_.str.27: ; @.str.27
.asciz "\\s"
l_.str.28: ; @.str.28
.asciz "\t \n"
l_.str.29: ; @.str.29
.asciz "\\S"
l_.str.30: ; @.str.30
.asciz "[\\s]"
l_.str.31: ; @.str.31
.asciz "[\\S]"
l_.str.32: ; @.str.32
.asciz "\\D"
l_.str.33: ; @.str.33
.asciz "\\W+"
l_.str.34: ; @.str.34
.asciz "[0-9]+"
l_.str.35: ; @.str.35
.asciz "12345"
l_.str.36: ; @.str.36
.asciz "[^\\w]"
l_.str.37: ; @.str.37
.asciz "\\"
l_.str.38: ; @.str.38
.asciz "[\\W]"
l_.str.39: ; @.str.39
.asciz "[\\w]"
l_.str.40: ; @.str.40
.asciz "[^\\d]"
l_.str.41: ; @.str.41
.asciz "d"
l_.str.42: ; @.str.42
.asciz "[\\d]"
l_.str.43: ; @.str.43
.asciz "[^\\D]"
l_.str.44: ; @.str.44
.asciz "[\\D]"
l_.str.45: ; @.str.45
.asciz "^.*\\\\.*$"
l_.str.46: ; @.str.46
.asciz "c:\\Tools"
l_.str.47: ; @.str.47
.asciz "^[\\+-]*[\\d]+$"
l_.str.48: ; @.str.48
.asciz "+27"
l_.str.49: ; @.str.49
.asciz "[abc]"
l_.str.50: ; @.str.50
.asciz "1c2"
l_.str.51: ; @.str.51
.asciz "1C2"
l_.str.52: ; @.str.52
.asciz "[1-5]+"
l_.str.53: ; @.str.53
.asciz "0123456789"
l_.str.54: ; @.str.54
.asciz "[.2]"
l_.str.55: ; @.str.55
.asciz "a*$"
l_.str.56: ; @.str.56
.asciz "Xaa"
l_.str.57: ; @.str.57
.asciz "[a-h]+"
l_.str.58: ; @.str.58
.asciz "abcdefghxxx"
l_.str.59: ; @.str.59
.asciz "ABCDEFGH"
l_.str.60: ; @.str.60
.asciz "[A-H]+"
l_.str.61: ; @.str.61
.asciz "abcdefgh"
l_.str.62: ; @.str.62
.asciz "[^\\s]+"
l_.str.63: ; @.str.63
.asciz "abc def"
l_.str.64: ; @.str.64
.asciz "[^fc]+"
l_.str.65: ; @.str.65
.asciz "[^d\\sf]+"
l_.str.66: ; @.str.66
.asciz "abc\ndef"
l_.str.67: ; @.str.67
.asciz "b.\\s*\n"
l_.str.68: ; @.str.68
.asciz "aa\r\nbb\r\ncc\r\n\r\n"
l_.str.69: ; @.str.69
.asciz ".*c"
l_.str.70: ; @.str.70
.asciz "abcabc"
l_.str.71: ; @.str.71
.asciz ".+c"
l_.str.72: ; @.str.72
.asciz "[b-z].*"
l_.str.73: ; @.str.73
.asciz "ab"
l_.str.74: ; @.str.74
.asciz "b[k-z]*"
l_.str.75: ; @.str.75
.asciz "[0-9]"
l_.str.76: ; @.str.76
.asciz " - "
l_.str.77: ; @.str.77
.asciz "[^0-9]"
l_.str.78: ; @.str.78
.asciz "0|"
l_.str.79: ; @.str.79
.asciz "\\d\\d:\\d\\d:\\d\\d"
l_.str.80: ; @.str.80
.asciz "0s:00:00"
l_.str.81: ; @.str.81
.asciz "000:00"
l_.str.82: ; @.str.82
.asciz "00:0000"
l_.str.83: ; @.str.83
.asciz "100:0:00"
l_.str.84: ; @.str.84
.asciz "00:100:00"
l_.str.85: ; @.str.85
.asciz "0:00:100"
l_.str.86: ; @.str.86
.asciz "\\d\\d?:\\d\\d?:\\d\\d?"
l_.str.87: ; @.str.87
.asciz "0:0:0"
l_.str.88: ; @.str.88
.asciz "0:00:0"
l_.str.89: ; @.str.89
.asciz "0:0:00"
l_.str.90: ; @.str.90
.asciz "00:0:0"
l_.str.91: ; @.str.91
.asciz "00:00:0"
l_.str.92: ; @.str.92
.asciz "00:0:00"
l_.str.93: ; @.str.93
.asciz "0:00:00"
l_.str.94: ; @.str.94
.asciz "00:00:00"
l_.str.95: ; @.str.95
.asciz "[Hh]ello [Ww]orld\\s*[!]?"
l_.str.96: ; @.str.96
.asciz "Hello world !"
l_.str.97: ; @.str.97
.asciz "hello world !"
l_.str.98: ; @.str.98
.asciz "Hello World !"
l_.str.99: ; @.str.99
.asciz "Hello world! "
l_.str.100: ; @.str.100
.asciz "Hello world !"
l_.str.101: ; @.str.101
.asciz "hello World !"
l_.str.102: ; @.str.102
.asciz "a:0"
l_.str.103: ; @.str.103
.asciz ".?bar"
l_.str.104: ; @.str.104
.asciz "real_bar"
l_.str.105: ; @.str.105
.asciz "real_foo"
l_.str.106: ; @.str.106
.asciz "X?Y"
l_.str.107: ; @.str.107
.asciz "Z"
l_.str.108: ; @.str.108
.asciz "[a-z]+\nbreak"
l_.str.109: ; @.str.109
.asciz "blahblah\nbreak"
l_.str.110: ; @.str.110
.asciz "[a-z\\s]+\nbreak"
l_.str.111: ; @.str.111
.asciz "bla bla \nbreak"
.section __DATA,__data
.globl _test_vector ; @test_vector
.p2align 3, 0x0
_test_vector:
.quad 1
.quad l_.str.23
.quad l_.str.24
.quad 1
.quad 1
.quad l_.str.25
.quad l_.str.26
.quad 3
.quad 1
.quad l_.str.27
.quad l_.str.28
.quad 1
.quad 0
.quad l_.str.29
.quad l_.str.28
.quad 0
.quad 1
.quad l_.str.30
.quad l_.str.28
.quad 1
.quad 0
.quad l_.str.31
.quad l_.str.28
.quad 0
.quad 0
.quad l_.str.32
.quad l_.str.24
.quad 0
.quad 0
.quad l_.str.33
.quad l_.str.26
.quad 0
.quad 1
.quad l_.str.34
.quad l_.str.35
.quad 5
.quad 1
.quad l_.str.32
.quad l_.str.26
.quad 1
.quad 0
.quad l_.str.23
.quad l_.str.26
.quad 0
.quad 1
.quad l_.str.36
.quad l_.str.37
.quad 1
.quad 1
.quad l_.str.38
.quad l_.str.37
.quad 1
.quad 0
.quad l_.str.39
.quad l_.str.37
.quad 0
.quad 1
.quad l_.str.40
.quad l_.str.41
.quad 1
.quad 0
.quad l_.str.42
.quad l_.str.41
.quad 0
.quad 0
.quad l_.str.43
.quad l_.str.41
.quad 0
.quad 1
.quad l_.str.44
.quad l_.str.41
.quad 1
.quad 1
.quad l_.str.45
.quad l_.str.46
.quad 8
.quad 1
.quad l_.str.47
.quad l_.str.48
.quad 3
.quad 1
.quad l_.str.49
.quad l_.str.50
.quad 1
.quad 0
.quad l_.str.49
.quad l_.str.51
.quad 0
.quad 1
.quad l_.str.52
.quad l_.str.53
.quad 5
.quad 1
.quad l_.str.54
.quad l_.str.51
.quad 1
.quad 1
.quad l_.str.55
.quad l_.str.56
.quad 2
.quad 1
.quad l_.str.55
.quad l_.str.56
.quad 2
.quad 1
.quad l_.str.57
.quad l_.str.58
.quad 8
.quad 0
.quad l_.str.57
.quad l_.str.59
.quad 0
.quad 1
.quad l_.str.60
.quad l_.str.59
.quad 8
.quad 0
.quad l_.str.60
.quad l_.str.61
.quad 0
.quad 1
.quad l_.str.62
.quad l_.str.63
.quad 3
.quad 1
.quad l_.str.64
.quad l_.str.63
.quad 2
.quad 1
.quad l_.str.65
.quad l_.str.63
.quad 3
.quad 1
.quad l_.str.22
.quad l_.str.66
.quad 1
.quad 1
.quad l_.str.67
.quad l_.str.68
.quad 4
.quad 1
.quad l_.str.69
.quad l_.str.70
.quad 6
.quad 1
.quad l_.str.71
.quad l_.str.70
.quad 6
.quad 1
.quad l_.str.72
.quad l_.str.73
.quad 1
.quad 1
.quad l_.str.74
.quad l_.str.73
.quad 1
.quad 0
.quad l_.str.75
.quad l_.str.76
.quad 0
.quad 1
.quad l_.str.77
.quad l_.str.76
.quad 1
.quad 1
.quad l_.str.78
.quad l_.str.78
.quad 2
.quad 0
.quad l_.str.79
.quad l_.str.80
.quad 0
.quad 0
.quad l_.str.79
.quad l_.str.81
.quad 0
.quad 0
.quad l_.str.79
.quad l_.str.82
.quad 0
.quad 0
.quad l_.str.79
.quad l_.str.83
.quad 0
.quad 0
.quad l_.str.79
.quad l_.str.84
.quad 0
.quad 0
.quad l_.str.79
.quad l_.str.85
.quad 0
.quad 1
.quad l_.str.86
.quad l_.str.87
.quad 5
.quad 1
.quad l_.str.86
.quad l_.str.88
.quad 6
.quad 1
.quad l_.str.86
.quad l_.str.89
.quad 5
.quad 1
.quad l_.str.86
.quad l_.str.90
.quad 6
.quad 1
.quad l_.str.86
.quad l_.str.91
.quad 7
.quad 1
.quad l_.str.86
.quad l_.str.92
.quad 6
.quad 1
.quad l_.str.86
.quad l_.str.93
.quad 6
.quad 1
.quad l_.str.86
.quad l_.str.94
.quad 7
.quad 1
.quad l_.str.95
.quad l_.str.96
.quad 12
.quad 1
.quad l_.str.95
.quad l_.str.97
.quad 12
.quad 1
.quad l_.str.95
.quad l_.str.98
.quad 12
.quad 1
.quad l_.str.95
.quad l_.str.99
.quad 11
.quad 1
.quad l_.str.95
.quad l_.str.100
.quad 13
.quad 1
.quad l_.str.95
.quad l_.str.101
.quad 15
.quad 0
.quad l_.str.86
.quad l_.str.102
.quad 0
.quad 1
.quad l_.str.103
.quad l_.str.104
.quad 4
.quad 0
.quad l_.str.103
.quad l_.str.105
.quad 0
.quad 0
.quad l_.str.106
.quad l_.str.107
.quad 0
.quad 1
.quad l_.str.108
.quad l_.str.109
.quad 14
.quad 1
.quad l_.str.110
.quad l_.str.111
.quad 14
.section __TEXT,__cstring,cstring_literals
l_.str.112: ; @.str.112
.asciz "[%lu/%lu]: pattern '%s' matched '%s' unexpectedly, matched %i chars. \n"
l_.str.113: ; @.str.113
.asciz "[%lu/%lu]: pattern '%s' didn't match '%s' as expected. \n"
l_.str.114: ; @.str.114
.asciz "[%lu/%lu]: pattern '%s' matched '%i' chars of '%s'; expected '%i'. \n"
l_.str.115: ; @.str.115
.asciz "%lu/%lu tests succeeded.\n"
.subsections_via_symbols
|
convex-hull.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _orientation ## -- Begin function orientation
.p2align 4, 0x90
_orientation: ## @orientation
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rax
movq %rdx, %rcx
subl %esi, %edx
subl %edi, %esi
shrq $32, %rdi
shrq $32, %rax
shrq $32, %rcx
movl %eax, %r8d
subl %edi, %r8d
imull %r8d, %edx
subl %ecx, %eax
imull %esi, %eax
leal (%rax,%rdx), %ecx
xorl %esi, %esi
testl %ecx, %ecx
setg %sil
xorl %ecx, %ecx
addl %edx, %eax
leal -1(%rsi,%rsi), %eax
cmovel %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _distanceSq ## -- Begin function distanceSq
.p2align 4, 0x90
_distanceSq: ## @distanceSq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rax
movq %rsi, %rcx
subl %edi, %eax
shrq $32, %rdi
shrq $32, %rcx
subl %edi, %ecx
imull %eax, %eax
imull %ecx, %ecx
addl %ecx, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _comparePoints ## -- Begin function comparePoints
.p2align 4, 0x90
_comparePoints: ## @comparePoints
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _p0@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq %rcx, %rdx
shrq $32, %rdx
movq %rdi, %r9
shrq $32, %r9
movq %rsi, %r8
shrq $32, %r8
movl %r9d, %eax
subl %edx, %eax
movl %esi, %r10d
subl %edi, %r10d
imull %eax, %r10d
subl %ecx, %edi
subl %r8d, %r9d
imull %edi, %r9d
addl %r10d, %r9d
je LBB2_1
## %bb.2:
xorl %eax, %eax
testl %r9d, %r9d
setg %al
leal -1(,%rax,2), %eax
popq %rbp
retq
LBB2_1:
imull %edi, %edi
imull %eax, %eax
addl %edi, %eax
subl %ecx, %esi
subl %edx, %r8d
imull %esi, %esi
imull %r8d, %r8d
addl %esi, %r8d
subl %r8d, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sortPoints ## -- Begin function sortPoints
.p2align 4, 0x90
_sortPoints: ## @sortPoints
.cfi_startproc
## %bb.0:
cmpl $2, %esi
jl LBB3_10
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
movl $1, %ecx
movq _p0@GOTPCREL(%rip), %rdx
jmp LBB3_2
.p2align 4, 0x90
LBB3_7: ## in Loop: Header=BB3_2 Depth=1
xorl %r8d, %r8d
LBB3_8: ## in Loop: Header=BB3_2 Depth=1
movslq %r8d, %rax
movq %rsi, (%rdi,%rax,8)
incq %rcx
cmpq -48(%rbp), %rcx ## 8-byte Folded Reload
je LBB3_9
LBB3_2: ## =>This Loop Header: Depth=1
## Child Loop BB3_3 Depth 2
movq (%rdi,%rcx,8), %rsi
movq %rsi, %r9
shrq $32, %r9
movq %rcx, %r8
jmp LBB3_3
.p2align 4, 0x90
LBB3_5: ## in Loop: Header=BB3_3 Depth=2
imull %r13d, %r13d
imull %ebx, %ebx
addl %r13d, %ebx
movl %esi, %eax
subl %r14d, %eax
movl %r9d, %r14d
subl %r15d, %r14d
imull %eax, %eax
imull %r14d, %r14d
addl %eax, %r14d
subl %r14d, %ebx
testl %ebx, %ebx
jle LBB3_8
LBB3_6: ## in Loop: Header=BB3_3 Depth=2
movq %r11, (%rdi,%r8,8)
leaq 1(%r10), %rax
movq %r10, %r8
cmpq $1, %rax
jle LBB3_7
LBB3_3: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
leaq -1(%r8), %r10
movl %r10d, %r11d
movq (%rdi,%r11,8), %r11
movq (%rdx), %r14
movq %r14, %r15
shrq $32, %r15
movq %r11, %r12
shrq $32, %r12
movl %r12d, %ebx
subl %r15d, %ebx
movl %esi, %eax
subl %r11d, %eax
imull %ebx, %eax
movl %r11d, %r13d
subl %r14d, %r13d
subl %r9d, %r12d
imull %r13d, %r12d
addl %eax, %r12d
je LBB3_5
## %bb.4: ## in Loop: Header=BB3_3 Depth=2
testl %r12d, %r12d
jg LBB3_6
jmp LBB3_8
LBB3_9:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB3_10:
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 $816, %rsp ## imm = 0x330
.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)
movl $42, %edi
callq _libmin_srand
xorl %ebx, %ebx
.p2align 4, 0x90
LBB4_1: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
movl %eax, %ecx
imulq $1148159575, %rcx, %rcx ## imm = 0x446F8657
shrq $32, %rcx
movl %eax, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $6, %edx
imull $101, %edx, %ecx
subl %ecx, %eax
movl %eax, -448(%rbp,%rbx,8)
callq _libmin_rand
movl %eax, %ecx
imulq $1148159575, %rcx, %rcx ## imm = 0x446F8657
shrq $32, %rcx
movl %eax, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $6, %edx
imull $101, %edx, %ecx
subl %ecx, %eax
movl %eax, -444(%rbp,%rbx,8)
incq %rbx
cmpq $50, %rbx
jne LBB4_1
## %bb.2:
xorl %edx, %edx
movl $1, %eax
movl $2, %ecx
jmp LBB4_3
.p2align 4, 0x90
LBB4_23: ## in Loop: Header=BB4_3 Depth=1
movl %ecx, %edx
LBB4_24: ## in Loop: Header=BB4_3 Depth=1
addq $2, %rax
addl $2, %ecx
LBB4_3: ## =>This Inner Loop Header: Depth=1
movslq %edx, %rsi
movl -444(%rbp,%rsi,8), %edi
cmpl %edi, -444(%rbp,%rax,8)
jge LBB4_4
LBB4_6: ## in Loop: Header=BB4_3 Depth=1
movl %eax, %edx
jmp LBB4_7
.p2align 4, 0x90
LBB4_4: ## in Loop: Header=BB4_3 Depth=1
jne LBB4_7
## %bb.5: ## in Loop: Header=BB4_3 Depth=1
movl -448(%rbp,%rax,8), %edi
cmpl -448(%rbp,%rsi,8), %edi
jl LBB4_6
.p2align 4, 0x90
LBB4_7: ## in Loop: Header=BB4_3 Depth=1
movslq %edx, %rsi
cmpq $49, %rax
je LBB4_8
## %bb.20: ## in Loop: Header=BB4_3 Depth=1
movl -444(%rbp,%rsi,8), %edi
cmpl %edi, -436(%rbp,%rax,8)
jl LBB4_23
## %bb.21: ## in Loop: Header=BB4_3 Depth=1
jne LBB4_24
## %bb.22: ## in Loop: Header=BB4_3 Depth=1
movl -440(%rbp,%rax,8), %edi
cmpl -448(%rbp,%rsi,8), %edi
jl LBB4_23
jmp LBB4_24
LBB4_8:
movq -448(%rbp), %rax
movq -448(%rbp,%rsi,8), %rcx
movq %rcx, -448(%rbp)
movq %rax, -448(%rbp,%rsi,8)
movq -448(%rbp), %rax
movq _p0@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq %rax, %rcx
shrq $32, %rcx
movl $1, %edx
jmp LBB4_9
.p2align 4, 0x90
LBB4_14: ## in Loop: Header=BB4_9 Depth=1
xorl %r9d, %r9d
LBB4_15: ## in Loop: Header=BB4_9 Depth=1
movslq %r9d, %rdi
movq %rsi, -448(%rbp,%rdi,8)
incq %rdx
cmpq $50, %rdx
je LBB4_16
LBB4_9: ## =>This Loop Header: Depth=1
## Child Loop BB4_10 Depth 2
movq -448(%rbp,%rdx,8), %rsi
movq %rsi, %rdi
shrq $32, %rdi
movl %esi, %r9d
subl %eax, %r9d
movl %edi, %r8d
subl %ecx, %r8d
imull %r9d, %r9d
imull %r8d, %r8d
addl %r9d, %r8d
movq %rdx, %r9
jmp LBB4_10
.p2align 4, 0x90
LBB4_12: ## in Loop: Header=BB4_10 Depth=2
imull %r15d, %r15d
imull %ebx, %ebx
addl %r15d, %ebx
subl %r8d, %ebx
testl %ebx, %ebx
jle LBB4_15
LBB4_13: ## in Loop: Header=BB4_10 Depth=2
movq %r11, -448(%rbp,%r9,8)
leaq 1(%r10), %r11
movq %r10, %r9
cmpq $1, %r11
jle LBB4_14
LBB4_10: ## Parent Loop BB4_9 Depth=1
## => This Inner Loop Header: Depth=2
leaq -1(%r9), %r10
movl %r10d, %r11d
movq -448(%rbp,%r11,8), %r11
movq %r11, %r14
shrq $32, %r14
movl %r14d, %ebx
subl %ecx, %ebx
movl %esi, %r12d
subl %r11d, %r12d
imull %ebx, %r12d
movl %r11d, %r15d
subl %eax, %r15d
subl %edi, %r14d
imull %r15d, %r14d
addl %r12d, %r14d
je LBB4_12
## %bb.11: ## in Loop: Header=BB4_10 Depth=2
testl %r14d, %r14d
jg LBB4_13
jmp LBB4_15
LBB4_16:
xorl %eax, %eax
xorl %ebx, %ebx
jmp LBB4_17
.p2align 4, 0x90
LBB4_19: ## in Loop: Header=BB4_17 Depth=1
movl %esi, %r15d
LBB4_32: ## in Loop: Header=BB4_17 Depth=1
leal 1(%r15), %ebx
movslq %r15d, %rdx
movq %rcx, -848(%rbp,%rdx,8)
incq %rax
cmpq $50, %rax
je LBB4_25
LBB4_17: ## =>This Loop Header: Depth=1
## Child Loop BB4_18 Depth 2
movl %ebx, %edx
testl %ebx, %ebx
movl $1, %esi
cmovlel %ebx, %esi
movq -448(%rbp,%rax,8), %rcx
movq %rcx, %rdi
shrq $32, %rdi
incl %ebx
movl %ebx, %r15d
.p2align 4, 0x90
LBB4_18: ## Parent Loop BB4_17 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $2, %edx
jl LBB4_19
## %bb.31: ## in Loop: Header=BB4_18 Depth=2
leal -2(%rdx), %r8d
movq -848(%rbp,%r8,8), %r8
movq -856(%rbp,%rdx,8), %r9
decq %rdx
movq %r9, %r10
movl %ecx, %r11d
subl %r9d, %r11d
subl %r8d, %r9d
shrq $32, %r8
shrq $32, %r10
movl %r10d, %ebx
subl %r8d, %ebx
imull %ebx, %r11d
subl %edi, %r10d
imull %r9d, %r10d
addl %r11d, %r10d
decl %r15d
testl %r10d, %r10d
jle LBB4_18
jmp LBB4_32
LBB4_25:
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
xorl %eax, %eax
callq _libmin_printf
testl %r15d, %r15d
js LBB4_36
## %bb.26:
movl %ebx, %r15d
leaq L_.str.1(%rip), %r14
xorl %r12d, %r12d
.p2align 4, 0x90
LBB4_27: ## =>This Inner Loop Header: Depth=1
movl -848(%rbp,%r12,8), %esi
movl -844(%rbp,%r12,8), %edx
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r12
cmpq %r12, %r15
jne LBB4_27
## %bb.28:
cmpl $8, %ebx
jae LBB4_33
## %bb.29:
xorl %eax, %eax
xorl %r14d, %r14d
jmp LBB4_30
LBB4_33:
movl %r15d, %eax
andl $-8, %eax
movl %r15d, %ecx
shrl $3, %ecx
shlq $6, %rcx
pxor %xmm0, %xmm0
xorl %edx, %edx
pxor %xmm1, %xmm1
.p2align 4, 0x90
LBB4_34: ## =>This Inner Loop Header: Depth=1
movaps -848(%rbp,%rdx), %xmm2
movaps -832(%rbp,%rdx), %xmm3
movaps -816(%rbp,%rdx), %xmm4
movaps -800(%rbp,%rdx), %xmm5
movaps %xmm2, %xmm6
shufps $136, %xmm3, %xmm6 ## xmm6 = xmm6[0,2],xmm3[0,2]
paddd %xmm0, %xmm6
movaps %xmm4, %xmm7
shufps $136, %xmm5, %xmm7 ## xmm7 = xmm7[0,2],xmm5[0,2]
paddd %xmm1, %xmm7
shufps $221, %xmm3, %xmm2 ## xmm2 = xmm2[1,3],xmm3[1,3]
movaps %xmm2, %xmm0
paddd %xmm6, %xmm0
shufps $221, %xmm5, %xmm4 ## xmm4 = xmm4[1,3],xmm5[1,3]
movaps %xmm4, %xmm1
paddd %xmm7, %xmm1
addq $64, %rdx
cmpq %rdx, %rcx
jne LBB4_34
## %bb.35:
paddd %xmm0, %xmm1
pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3]
paddd %xmm1, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
paddd %xmm0, %xmm1
movd %xmm1, %r14d
cmpq %r15, %rax
je LBB4_36
.p2align 4, 0x90
LBB4_30: ## =>This Inner Loop Header: Depth=1
addl -848(%rbp,%rax,8), %r14d
addl -844(%rbp,%rax,8), %r14d
incq %rax
cmpq %rax, %r15
jne LBB4_30
LBB4_36:
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
xorl %eax, %eax
callq _libmin_printf
callq _libtarg_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB4_38
## %bb.37:
xorl %eax, %eax
addq $816, %rsp ## imm = 0x330
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB4_38:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _p0,8,2 ## @p0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Convex Hull Points (in order):\n"
L_.str.1: ## @.str.1
.asciz "(%d, %d)\n"
L_.str.2: ## @.str.2
.asciz "Hull size: %d, Checksum: %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _orientation ; -- Begin function orientation
.p2align 2
_orientation: ; @orientation
.cfi_startproc
; %bb.0:
lsr x8, x0, #32
lsr x9, x1, #32
lsr x10, x2, #32
sub w8, w9, w8
sub w11, w2, w1
mul w8, w8, w11
sub w11, w1, w0
sub w9, w9, w10
madd w8, w9, w11, w8
cmp w8, #1
mov w9, #-1 ; =0xffffffff
cneg w9, w9, ge
cmp w8, #0
csel w0, wzr, w9, eq
ret
.cfi_endproc
; -- End function
.globl _distanceSq ; -- Begin function distanceSq
.p2align 2
_distanceSq: ; @distanceSq
.cfi_startproc
; %bb.0:
lsr x8, x0, #32
lsr x9, x1, #32
sub w10, w1, w0
sub w8, w9, w8
mul w9, w10, w10
madd w0, w8, w8, w9
ret
.cfi_endproc
; -- End function
.globl _comparePoints ; -- Begin function comparePoints
.p2align 2
_comparePoints: ; @comparePoints
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _p0@GOTPAGE
Lloh1:
ldr x8, [x8, _p0@GOTPAGEOFF]
ldp w9, w8, [x8]
lsr x10, x0, #32
lsr x11, x1, #32
sub w12, w10, w8
sub w13, w1, w0
sub w14, w0, w9
sub w10, w10, w11
mul w10, w14, w10
madd w10, w12, w13, w10
cmp w10, #1
mov w13, #-1 ; =0xffffffff
cneg w13, w13, ge
mul w14, w14, w14
sub w9, w1, w9
sub w8, w11, w8
madd w11, w12, w12, w14
msub w8, w8, w8, w11
msub w8, w9, w9, w8
cmp w10, #0
csel w0, w13, w8, ne
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _sortPoints ; -- Begin function sortPoints
.p2align 2
_sortPoints: ; @sortPoints
.cfi_startproc
; %bb.0:
cmp w1, #2
b.lt LBB3_9
; %bb.1:
mov w8, w1
mov w9, #1 ; =0x1
Lloh2:
adrp x10, _p0@GOTPAGE
Lloh3:
ldr x10, [x10, _p0@GOTPAGEOFF]
b LBB3_4
LBB3_2: ; in Loop: Header=BB3_4 Depth=1
mov x12, #0 ; =0x0
LBB3_3: ; in Loop: Header=BB3_4 Depth=1
sbfiz x12, x12, #3, #32
str x11, [x0, x12]
add x9, x9, #1
cmp x9, x8
b.eq LBB3_9
LBB3_4: ; =>This Loop Header: Depth=1
; Child Loop BB3_7 Depth 2
ldr x11, [x0, x9, lsl #3]
lsr x13, x11, #32
mov x12, x9
b LBB3_7
LBB3_5: ; in Loop: Header=BB3_7 Depth=2
mul w2, w2, w2
sub w16, w11, w16
sub w17, w13, w17
madd w1, w1, w1, w2
msub w17, w17, w17, w1
msub w16, w16, w16, w17
cmp w16, #1
b.lt LBB3_3
LBB3_6: ; in Loop: Header=BB3_7 Depth=2
str x15, [x0, x12, lsl #3]
add x15, x14, #1
mov x12, x14
cmp x15, #1
b.le LBB3_2
LBB3_7: ; Parent Loop BB3_4 Depth=1
; => This Inner Loop Header: Depth=2
sub x14, x12, #1
ldr x15, [x0, w14, uxtw #3]
ldp w16, w17, [x10]
lsr x3, x15, #32
sub w1, w3, w17
sub w4, w11, w15
sub w2, w15, w16
sub w3, w3, w13
mul w3, w2, w3
madd w3, w1, w4, w3
cbz w3, LBB3_5
; %bb.8: ; in Loop: Header=BB3_7 Depth=2
cmp w3, #1
b.ge LBB3_6
b LBB3_3
LBB3_9:
ret
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
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
sub sp, sp, #832
.cfi_def_cfa w29, 16
.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
Lloh4:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh5:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
stur x8, [x29, #-56]
mov w0, #42 ; =0x2a
bl _libmin_srand
mov x19, #0 ; =0x0
mov w20, #34391 ; =0x8657
movk w20, #17519, lsl #16
mov w21, #101 ; =0x65
add x22, sp, #424
LBB4_1: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
umull x8, w0, w20
lsr x8, x8, #32
sub w9, w0, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #6
msub w8, w8, w21, w0
add x23, x22, x19
str w8, [x23]
bl _libmin_rand
umull x8, w0, w20
lsr x8, x8, #32
sub w9, w0, w8
add w8, w8, w9, lsr #1
lsr w8, w8, #6
msub w8, w8, w21, w0
str w8, [x23, #4]
add x19, x19, #8
cmp x19, #400
b.ne LBB4_1
; %bb.2:
mov w8, #0 ; =0x0
add x9, sp, #424
add x10, x9, #12
mov x11, #-49 ; =0xffffffffffffffcf
b LBB4_5
LBB4_3: ; in Loop: Header=BB4_5 Depth=1
add w8, w11, #50
LBB4_4: ; in Loop: Header=BB4_5 Depth=1
add x10, x10, #8
adds x11, x11, #1
b.hs LBB4_8
LBB4_5: ; =>This Inner Loop Header: Depth=1
ldr w13, [x10]
add x12, x9, w8, sxtw #3
ldr w14, [x12, #4]
cmp w13, w14
b.lt LBB4_3
; %bb.6: ; in Loop: Header=BB4_5 Depth=1
b.ne LBB4_4
; %bb.7: ; in Loop: Header=BB4_5 Depth=1
ldur w13, [x10, #-4]
ldr w12, [x12]
cmp w13, w12
b.lt LBB4_3
b LBB4_4
LBB4_8:
ldr x9, [sp, #424]
sbfiz x10, x8, #3, #32
add x8, sp, #424
ldr x11, [x8, x10]
str x11, [sp, #424]
str x9, [x8, x10]
ldr x9, [sp, #424]
Lloh7:
adrp x10, _p0@GOTPAGE
Lloh8:
ldr x10, [x10, _p0@GOTPAGEOFF]
Lloh9:
str x9, [x10]
lsr x10, x9, #32
mov w11, #1 ; =0x1
b LBB4_11
LBB4_9: ; in Loop: Header=BB4_11 Depth=1
mov x13, #0 ; =0x0
LBB4_10: ; in Loop: Header=BB4_11 Depth=1
sbfiz x13, x13, #3, #32
str x12, [x8, x13]
add x11, x11, #1
cmp x11, #50
b.eq LBB4_16
LBB4_11: ; =>This Loop Header: Depth=1
; Child Loop BB4_14 Depth 2
ldr x12, [x8, x11, lsl #3]
lsr x14, x12, #32
sub w13, w12, w9
sub w15, w14, w10
mul w13, w13, w13
madd w15, w15, w15, w13
mov x13, x11
b LBB4_14
LBB4_12: ; in Loop: Header=BB4_14 Depth=2
mul w1, w1, w1
madd w0, w0, w0, w1
sub w0, w0, w15
cmp w0, #1
b.lt LBB4_10
LBB4_13: ; in Loop: Header=BB4_14 Depth=2
str x17, [x8, x13, lsl #3]
add x17, x16, #1
mov x13, x16
cmp x17, #1
b.le LBB4_9
LBB4_14: ; Parent Loop BB4_11 Depth=1
; => This Inner Loop Header: Depth=2
sub x16, x13, #1
ldr x17, [x8, w16, uxtw #3]
lsr x2, x17, #32
sub w0, w2, w10
sub w3, w12, w17
sub w1, w17, w9
sub w2, w2, w14
mul w2, w2, w1
madd w2, w0, w3, w2
cbz w2, LBB4_12
; %bb.15: ; in Loop: Header=BB4_14 Depth=2
cmp w2, #1
b.ge LBB4_13
b LBB4_10
LBB4_16:
mov x8, #0 ; =0x0
mov w20, #0 ; =0x0
add x9, sp, #424
add x10, sp, #24
b LBB4_19
LBB4_17: ; in Loop: Header=BB4_19 Depth=1
mov x19, x12
LBB4_18: ; in Loop: Header=BB4_19 Depth=1
add w20, w19, #1
str x11, [x10, w19, sxtw #3]
add x8, x8, #1
cmp x8, #50
b.eq LBB4_22
LBB4_19: ; =>This Loop Header: Depth=1
; Child Loop BB4_20 Depth 2
mov w14, w20
cmp w20, #1
csinc w12, w20, wzr, lt
ldr x11, [x9, x8, lsl #3]
lsr x13, x11, #32
add w19, w20, #1
LBB4_20: ; Parent Loop BB4_19 Depth=1
; => This Inner Loop Header: Depth=2
cmp w14, #1
b.le LBB4_17
; %bb.21: ; in Loop: Header=BB4_20 Depth=2
sub w15, w14, #2
add x15, x10, w15, uxtw #3
add x16, x10, x14, lsl #3
sub x14, x14, #1
ldp w17, w15, [x15]
ldp w0, w16, [x16, #-8]
sub w15, w16, w15
sub w1, w11, w0
mul w15, w15, w1
sub w17, w0, w17
sub w16, w16, w13
madd w15, w16, w17, w15
sub w19, w19, #1
cmp w15, #1
b.lt LBB4_20
b LBB4_18
LBB4_22:
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
tbnz w19, #31, LBB4_27
; %bb.23:
add x8, sp, #24
add x21, x8, #4
Lloh12:
adrp x19, l_.str.1@PAGE
Lloh13:
add x19, x19, l_.str.1@PAGEOFF
mov x22, x20
LBB4_24: ; =>This Inner Loop Header: Depth=1
ldp w8, w9, [x21, #-4]
stp x8, x9, [sp]
mov x0, x19
bl _libmin_printf
add x21, x21, #8
subs x22, x22, #1
b.ne LBB4_24
; %bb.25:
cmp w20, #16
b.hs LBB4_28
; %bb.26:
mov x8, #0 ; =0x0
mov w9, #0 ; =0x0
b LBB4_31
LBB4_27:
mov w9, #0 ; =0x0
b LBB4_33
LBB4_28:
and x8, x20, #0xfffffff0
add x9, sp, #24
add x9, x9, #64
movi.2d v0, #0000000000000000
mov x10, x8
movi.2d v1, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB4_29: ; =>This Inner Loop Header: Depth=1
sub x11, x9, #64
ld2.4s { v4, v5 }, [x11]
sub x11, x9, #32
ld2.4s { v6, v7 }, [x11]
mov x11, x9
ld2.4s { v16, v17 }, [x11], #32
ld2.4s { v18, v19 }, [x11]
add.4s v0, v4, v0
add.4s v1, v6, v1
add.4s v2, v16, v2
add.4s v3, v18, v3
add.4s v0, v0, v5
add.4s v1, v1, v7
add.4s v2, v2, v17
add.4s v3, v3, v19
add x9, x9, #128
subs x10, x10, #16
b.ne LBB4_29
; %bb.30:
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w9, s0
cmp x8, x20
b.eq LBB4_33
LBB4_31:
add x10, sp, #24
add x10, x10, x8, lsl #3
add x10, x10, #4
sub x8, x20, x8
LBB4_32: ; =>This Inner Loop Header: Depth=1
ldp w11, w12, [x10, #-4]
add w9, w11, w9
add w9, w9, w12
add x10, x10, #8
subs x8, x8, #1
b.ne LBB4_32
LBB4_33:
stp x20, x9, [sp]
Lloh14:
adrp x0, l_.str.2@PAGE
Lloh15:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
bl _libtarg_success
ldur x8, [x29, #-56]
Lloh16:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh17:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
cmp x9, x8
b.ne LBB4_35
; %bb.34:
mov w0, #0 ; =0x0
add sp, sp, #832
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB4_35:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotStr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _p0,8,2 ; @p0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Convex Hull Points (in order):\n"
l_.str.1: ; @.str.1
.asciz "(%d, %d)\n"
l_.str.2: ; @.str.2
.asciz "Hull size: %d, Checksum: %d\n"
.subsections_via_symbols
|
cipher.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _encipher ## -- Begin function encipher
.p2align 4, 0x90
_encipher: ## @encipher
.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 (%rdi), %eax
movl 4(%rdi), %ebx
movl (%rdx), %ecx
movl 4(%rdx), %edi
movl 8(%rdx), %r8d
movl 12(%rdx), %edx
movl $-32, %r9d
movl $-1640531527, %r10d ## imm = 0x9E3779B9
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %ebx, %r11d
shll $4, %ebx
addl %ecx, %ebx
leal (%r11,%r10), %r14d
xorl %ebx, %r14d
movl %r11d, %ebx
shrl $5, %ebx
addl %edi, %ebx
xorl %r14d, %ebx
addl %ebx, %eax
movl %eax, %ebx
shll $4, %ebx
addl %r8d, %ebx
leal (%r10,%rax), %r14d
xorl %ebx, %r14d
movl %eax, %ebx
shrl $5, %ebx
addl %edx, %ebx
xorl %r14d, %ebx
addl %r11d, %ebx
addl $-1640531527, %r10d ## imm = 0x9E3779B9
incl %r9d
jne LBB0_1
## %bb.2:
movl %eax, (%rsi)
movl %ebx, 4(%rsi)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _decipher ## -- Begin function decipher
.p2align 4, 0x90
_decipher: ## @decipher
.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 (%rdi), %eax
movl 4(%rdi), %ecx
movl (%rdx), %edi
movl 4(%rdx), %r8d
movl 8(%rdx), %r9d
movl 12(%rdx), %edx
movl $-957401312, %r10d ## imm = 0xC6EF3720
movl $-32, %r11d
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl %eax, %ebx
shll $4, %ebx
addl %r9d, %ebx
leal (%rax,%r10), %r14d
xorl %ebx, %r14d
movl %eax, %ebx
shrl $5, %ebx
addl %edx, %ebx
xorl %r14d, %ebx
subl %ebx, %ecx
movl %ecx, %ebx
shll $4, %ebx
addl %edi, %ebx
leal (%r10,%rcx), %r14d
xorl %ebx, %r14d
movl %ecx, %ebx
shrl $5, %ebx
addl %r8d, %ebx
xorl %r14d, %ebx
subl %ebx, %eax
addl $1640531527, %r10d ## imm = 0x61C88647
incl %r11d
jne LBB1_1
## %bb.2:
movl %eax, (%rsi)
movl %ecx, 4(%rsi)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl _plaintext(%rip), %eax
movl _plaintext+4(%rip), %r8d
movl _keytext(%rip), %ecx
movl _keytext+4(%rip), %edx
movl _keytext+8(%rip), %esi
movl $-32, %r9d
movl $-1640531527, %r10d ## imm = 0x9E3779B9
movl _keytext+12(%rip), %edi
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl %r8d, %r11d
shll $4, %r8d
addl %ecx, %r8d
leal (%r11,%r10), %ebx
movl %r11d, %r14d
shrl $5, %r14d
addl %edx, %r14d
xorl %r8d, %r14d
xorl %ebx, %r14d
addl %r14d, %eax
movl %eax, %r8d
shll $4, %r8d
addl %esi, %r8d
leal (%r10,%rax), %ebx
xorl %r8d, %ebx
movl %eax, %r8d
shrl $5, %r8d
addl %edi, %r8d
xorl %ebx, %r8d
addl %r11d, %r8d
addl $-1640531527, %r10d ## imm = 0x9E3779B9
incl %r9d
jne LBB2_1
## %bb.2:
movq _ciphertext@GOTPCREL(%rip), %rbx
movl %eax, (%rbx)
movl %r8d, 4(%rbx)
cmpl _cipherref(%rip), %eax
jne LBB2_4
## %bb.3:
cmpl _cipherref+4(%rip), %r8d
je LBB2_5
LBB2_4:
movl $1, %edi
callq _libmin_fail
movl (%rbx), %eax
movl 4(%rbx), %r8d
movl _keytext(%rip), %ecx
movl _keytext+4(%rip), %edx
movl _keytext+8(%rip), %esi
movl _keytext+12(%rip), %edi
LBB2_5:
movl $-957401312, %r9d ## imm = 0xC6EF3720
movl $-32, %r10d
.p2align 4, 0x90
LBB2_6: ## =>This Inner Loop Header: Depth=1
movl %eax, %r11d
shll $4, %r11d
addl %esi, %r11d
leal (%rax,%r9), %r14d
movl %eax, %r15d
shrl $5, %r15d
addl %edi, %r15d
xorl %r11d, %r15d
xorl %r14d, %r15d
subl %r15d, %r8d
movl %r8d, %r11d
shll $4, %r11d
addl %ecx, %r11d
leal (%r9,%r8), %r14d
xorl %r11d, %r14d
movl %r8d, %r11d
shrl $5, %r11d
addl %edx, %r11d
xorl %r14d, %r11d
subl %r11d, %eax
addl $1640531527, %r9d ## imm = 0x61C88647
incl %r10d
jne LBB2_6
## %bb.7:
movq _newplain@GOTPCREL(%rip), %r14
movl %eax, (%r14)
movl %r8d, 4(%r14)
cmpl _plaintext(%rip), %eax
jne LBB2_9
## %bb.8:
cmpl _plaintext+4(%rip), %r8d
je LBB2_10
LBB2_9:
movl $2, %edi
callq _libmin_fail
LBB2_10:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl _plaintext(%rip), %esi
movl _plaintext+4(%rip), %edx
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl (%rbx), %esi
movl 4(%rbx), %edx
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl (%r14), %esi
movl 4(%r14), %edx
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _keytext ## @keytext
.p2align 4, 0x0
_keytext:
.long 358852050 ## 0x1563a5d2
.long 311606025 ## 0x1292bb09
.long 739108171 ## 0x2c0de54b
.long 861449956 ## 0x3358aee4
.globl _plaintext ## @plaintext
.p2align 2, 0x0
_plaintext:
.long 765625614 ## 0x2da2850e
.long 14247501 ## 0xd9664d
.globl _cipherref ## @cipherref
.p2align 2, 0x0
_cipherref:
.long 2682439780 ## 0x9fe2c864
.long 3621408164 ## 0xd7da4da4
.comm _ciphertext,8,2 ## @ciphertext
.comm _newplain,8,2 ## @newplain
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "TEA Cipher results:\n"
L_.str.1: ## @.str.1
.asciz " plaintext: 0x%08lx 0x%08lx\n"
L_.str.2: ## @.str.2
.asciz " ciphertext: 0x%08lx 0x%08lx\n"
L_.str.3: ## @.str.3
.asciz " newplain: 0x%08lx 0x%08lx\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _encipher ; -- Begin function encipher
.p2align 2
_encipher: ; @encipher
.cfi_startproc
; %bb.0:
mov w8, #31161 ; =0x79b9
movk w8, #40503, lsl #16
ldp w9, w10, [x0]
ldp w11, w12, [x2]
mov w13, #-32 ; =0xffffffe0
mov w14, #31161 ; =0x79b9
movk w14, #40503, lsl #16
ldp w15, w16, [x2, #8]
LBB0_1: ; =>This Inner Loop Header: Depth=1
add w17, w11, w10, lsl #4
add w0, w10, w14
eor w17, w17, w0
add w0, w12, w10, lsr #5
eor w17, w17, w0
add w9, w17, w9
add w17, w14, w9
add w0, w15, w9, lsl #4
eor w17, w0, w17
add w0, w16, w9, lsr #5
eor w17, w17, w0
add w10, w17, w10
add w14, w14, w8
adds w13, w13, #1
b.lo LBB0_1
; %bb.2:
stp w9, w10, [x1]
ret
.cfi_endproc
; -- End function
.globl _decipher ; -- Begin function decipher
.p2align 2
_decipher: ; @decipher
.cfi_startproc
; %bb.0:
ldp w8, w9, [x0]
ldp w10, w11, [x2]
mov w12, #14112 ; =0x3720
movk w12, #50927, lsl #16
mov w13, #-32 ; =0xffffffe0
mov w14, #34375 ; =0x8647
movk w14, #25032, lsl #16
ldp w15, w16, [x2, #8]
LBB1_1: ; =>This Inner Loop Header: Depth=1
add w17, w15, w8, lsl #4
add w0, w8, w12
eor w17, w17, w0
add w0, w16, w8, lsr #5
eor w17, w17, w0
sub w9, w9, w17
add w17, w12, w9
add w0, w10, w9, lsl #4
eor w17, w0, w17
add w0, w11, w9, lsr #5
eor w17, w17, w0
sub w8, w8, w17
add w12, w12, w14
adds w13, w13, #1
b.lo LBB1_1
; %bb.2:
stp w8, w9, [x1]
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov w14, #31161 ; =0x79b9
movk w14, #40503, lsl #16
Lloh0:
adrp x19, _plaintext@PAGE
Lloh1:
add x19, x19, _plaintext@PAGEOFF
ldp w8, w9, [x19]
Lloh2:
adrp x21, _keytext@PAGE
Lloh3:
add x21, x21, _keytext@PAGEOFF
ldp w10, w11, [x21]
ldp w12, w13, [x21, #8]
mov w15, #-32 ; =0xffffffe0
mov w16, #31161 ; =0x79b9
movk w16, #40503, lsl #16
LBB2_1: ; =>This Inner Loop Header: Depth=1
add w17, w10, w9, lsl #4
add w0, w11, w9, lsr #5
eor w17, w0, w17
add w0, w9, w16
eor w17, w17, w0
add w8, w17, w8
add w17, w16, w8
add w0, w12, w8, lsl #4
eor w17, w0, w17
add w0, w13, w8, lsr #5
eor w17, w17, w0
add w9, w17, w9
add w16, w16, w14
adds w15, w15, #1
b.lo LBB2_1
; %bb.2:
Lloh4:
adrp x20, _ciphertext@GOTPAGE
Lloh5:
ldr x20, [x20, _ciphertext@GOTPAGEOFF]
stp w8, w9, [x20]
Lloh6:
adrp x14, _cipherref@PAGE
Lloh7:
add x14, x14, _cipherref@PAGEOFF
ldr w15, [x14]
cmp w8, w15
b.ne LBB2_4
; %bb.3:
ldr w14, [x14, #4]
cmp w9, w14
b.eq LBB2_5
LBB2_4:
mov w0, #1 ; =0x1
bl _libmin_fail
ldp w8, w9, [x20]
ldp w10, w11, [x21]
ldp w12, w13, [x21, #8]
LBB2_5:
mov w14, #14112 ; =0x3720
movk w14, #50927, lsl #16
mov w15, #-32 ; =0xffffffe0
mov w16, #34375 ; =0x8647
movk w16, #25032, lsl #16
LBB2_6: ; =>This Inner Loop Header: Depth=1
add w17, w12, w8, lsl #4
add w0, w13, w8, lsr #5
eor w17, w0, w17
add w0, w8, w14
eor w17, w17, w0
sub w9, w9, w17
add w17, w14, w9
add w0, w10, w9, lsl #4
eor w17, w0, w17
add w0, w11, w9, lsr #5
eor w17, w17, w0
sub w8, w8, w17
add w14, w14, w16
adds w15, w15, #1
b.lo LBB2_6
; %bb.7:
Lloh8:
adrp x21, _newplain@GOTPAGE
Lloh9:
ldr x21, [x21, _newplain@GOTPAGEOFF]
stp w8, w9, [x21]
ldp w10, w11, [x19]
cmp w8, w10
ccmp w9, w11, #0, eq
b.eq LBB2_9
; %bb.8:
mov w0, #2 ; =0x2
bl _libmin_fail
LBB2_9:
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
ldp w8, w9, [x19]
stp x8, x9, [sp]
Lloh12:
adrp x0, l_.str.1@PAGE
Lloh13:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
ldp w8, w9, [x20]
stp x8, x9, [sp]
Lloh14:
adrp x0, l_.str.2@PAGE
Lloh15:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
ldp w8, w9, [x21]
stp x8, x9, [sp]
Lloh16:
adrp x0, l_.str.3@PAGE
Lloh17:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
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 Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _keytext ; @keytext
.p2align 2, 0x0
_keytext:
.long 358852050 ; 0x1563a5d2
.long 311606025 ; 0x1292bb09
.long 739108171 ; 0x2c0de54b
.long 861449956 ; 0x3358aee4
.globl _plaintext ; @plaintext
.p2align 2, 0x0
_plaintext:
.long 765625614 ; 0x2da2850e
.long 14247501 ; 0xd9664d
.globl _cipherref ; @cipherref
.p2align 2, 0x0
_cipherref:
.long 2682439780 ; 0x9fe2c864
.long 3621408164 ; 0xd7da4da4
.comm _ciphertext,8,2 ; @ciphertext
.comm _newplain,8,2 ; @newplain
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "TEA Cipher results:\n"
l_.str.1: ; @.str.1
.asciz " plaintext: 0x%08lx 0x%08lx\n"
l_.str.2: ; @.str.2
.asciz " ciphertext: 0x%08lx 0x%08lx\n"
l_.str.3: ; @.str.3
.asciz " newplain: 0x%08lx 0x%08lx\n"
.subsections_via_symbols
|
ackermann.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _ack ## -- Begin function ack
.p2align 4, 0x90
_ack: ## @ack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movl %edi, %r14d
movl _depth(%rip), %eax
incl %eax
movl %eax, _depth(%rip)
cmpl $16777216, %eax ## imm = 0x1000000
jae LBB0_1
## %bb.2:
cmpl $65535, %r14d ## imm = 0xFFFF
jae LBB0_3
LBB0_4:
cmpl $16, %ebx
jb LBB0_6
LBB0_5:
leaq L_.str.2(%rip), %rdi
movl $16, %esi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
LBB0_6:
movl %r14d, %ecx
shlq $6, %rcx
leaq _a(%rip), %r15
addq %r15, %rcx
movl %ebx, %r12d
movl (%rcx,%r12,4), %eax
testl %eax, %eax
je LBB0_7
LBB0_9:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
leaq L_.str(%rip), %rdi
movl $16777215, %esi ## imm = 0xFFFFFF
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
cmpl $65535, %r14d ## imm = 0xFFFF
jb LBB0_4
LBB0_3:
leaq L_.str.1(%rip), %rdi
movl $65535, %esi ## imm = 0xFFFF
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
cmpl $16, %ebx
jae LBB0_5
jmp LBB0_6
LBB0_7:
testl %ebx, %ebx
je LBB0_8
## %bb.11:
testl %r14d, %r14d
je LBB0_10
## %bb.12:
leaq (%rcx,%r12,4), %r15
decl %r14d
movl %r14d, %edi
movl %ebx, %esi
callq _ack
decl %ebx
movl %eax, %edi
movl %ebx, %esi
callq _ack
movl %eax, (%r15)
jmp LBB0_9
LBB0_8:
incl %r14d
movl %r14d, (%rcx)
movl %r14d, %eax
jmp LBB0_9
LBB0_10:
decl %ebx
movl $1, %edi
movl %ebx, %esi
callq _ack
movl %eax, (%r15,%r12,4)
jmp LBB0_9
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, _max_depth(%rip)
leaq L_.str.3(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _libmin_printf
movl $0, _depth(%rip)
xorl %edi, %edi
xorl %esi, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
xorl %esi, %esi
xorl %edx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_2
## %bb.1:
movl %eax, _max_depth(%rip)
LBB1_2:
leaq L_.str.3(%rip), %rdi
movl $1, %esi
xorl %eax, %eax
callq _libmin_printf
movl $0, _depth(%rip)
movl $1, %edi
xorl %esi, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $1, %esi
xorl %edx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_4
## %bb.3:
movl %eax, _max_depth(%rip)
LBB1_4:
movl $0, _depth(%rip)
xorl %edi, %edi
movl $1, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
xorl %esi, %esi
movl $1, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_6
## %bb.5:
movl %eax, _max_depth(%rip)
LBB1_6:
leaq L_.str.3(%rip), %rdi
movl $2, %esi
xorl %eax, %eax
callq _libmin_printf
movl $0, _depth(%rip)
movl $2, %edi
xorl %esi, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $2, %esi
xorl %edx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_8
## %bb.7:
movl %eax, _max_depth(%rip)
LBB1_8:
movl $0, _depth(%rip)
movl $1, %edi
movl $1, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $1, %esi
movl $1, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_10
## %bb.9:
movl %eax, _max_depth(%rip)
LBB1_10:
movl $0, _depth(%rip)
xorl %edi, %edi
movl $2, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
xorl %esi, %esi
movl $2, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_12
## %bb.11:
movl %eax, _max_depth(%rip)
LBB1_12:
leaq L_.str.3(%rip), %rdi
movl $3, %esi
xorl %eax, %eax
callq _libmin_printf
movl $0, _depth(%rip)
movl $3, %edi
xorl %esi, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $3, %esi
xorl %edx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_14
## %bb.13:
movl %eax, _max_depth(%rip)
LBB1_14:
movl $0, _depth(%rip)
movl $2, %edi
movl $1, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $2, %esi
movl $1, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_16
## %bb.15:
movl %eax, _max_depth(%rip)
LBB1_16:
movl $0, _depth(%rip)
movl $1, %edi
movl $2, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $1, %esi
movl $2, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_18
## %bb.17:
movl %eax, _max_depth(%rip)
LBB1_18:
movl $0, _depth(%rip)
xorl %edi, %edi
movl $3, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
xorl %esi, %esi
movl $3, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_20
## %bb.19:
movl %eax, _max_depth(%rip)
LBB1_20:
leaq L_.str.3(%rip), %rdi
movl $4, %esi
xorl %eax, %eax
callq _libmin_printf
movl $0, _depth(%rip)
movl $4, %edi
xorl %esi, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $4, %esi
xorl %edx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_22
## %bb.21:
movl %eax, _max_depth(%rip)
LBB1_22:
movl $0, _depth(%rip)
movl $3, %edi
movl $1, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $3, %esi
movl $1, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_24
## %bb.23:
movl %eax, _max_depth(%rip)
LBB1_24:
movl $0, _depth(%rip)
movl $2, %edi
movl $2, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $2, %esi
movl $2, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_26
## %bb.25:
movl %eax, _max_depth(%rip)
LBB1_26:
movl $0, _depth(%rip)
movl $1, %edi
movl $3, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $1, %esi
movl $3, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_28
## %bb.27:
movl %eax, _max_depth(%rip)
LBB1_28:
movl $0, _depth(%rip)
xorl %edi, %edi
movl $4, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
xorl %esi, %esi
movl $4, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_30
## %bb.29:
movl %eax, _max_depth(%rip)
LBB1_30:
leaq L_.str.3(%rip), %rdi
movl $5, %esi
xorl %eax, %eax
callq _libmin_printf
movl $0, _depth(%rip)
movl $5, %edi
xorl %esi, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $5, %esi
xorl %edx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_32
## %bb.31:
movl %eax, _max_depth(%rip)
LBB1_32:
movl $0, _depth(%rip)
movl $4, %edi
movl $1, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $4, %esi
movl $1, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_34
## %bb.33:
movl %eax, _max_depth(%rip)
LBB1_34:
movl $0, _depth(%rip)
movl $3, %edi
movl $2, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $3, %esi
movl $2, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_36
## %bb.35:
movl %eax, _max_depth(%rip)
LBB1_36:
movl $0, _depth(%rip)
movl $2, %edi
movl $3, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $2, %esi
movl $3, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_38
## %bb.37:
movl %eax, _max_depth(%rip)
LBB1_38:
movl $0, _depth(%rip)
movl $1, %edi
movl $4, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
movl $1, %esi
movl $4, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
cmpl _max_depth(%rip), %eax
jbe LBB1_40
## %bb.39:
movl %eax, _max_depth(%rip)
LBB1_40:
movl $0, _depth(%rip)
xorl %edi, %edi
movl $5, %esi
callq _ack
leaq L_.str.4(%rip), %rdi
xorl %esi, %esi
movl $5, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _libmin_printf
movl _depth(%rip), %eax
movl _max_depth(%rip), %esi
cmpl %esi, %eax
jbe LBB1_42
## %bb.41:
movl %eax, _max_depth(%rip)
movl %eax, %esi
LBB1_42:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_depth,4,2 ## @depth
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Maximum stack depth %d exceeded. Abort.\n"
L_.str.1: ## @.str.1
.asciz "Maximum x value %d exceeded. Abort. \n"
L_.str.2: ## @.str.2
.asciz "Maximum y value %d exceeded. Abort. \n"
.zerofill __DATA,__bss,_a,4194240,4 ## @a
.zerofill __DATA,__bss,_max_depth,4,2 ## @max_depth
L_.str.3: ## @.str.3
.asciz "\nx+y=%d:\n\n"
L_.str.4: ## @.str.4
.asciz "A(%d,%d) = %d\n"
L_.str.5: ## @.str.5
.asciz "Max recursive depth = %u\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _ack ; -- Begin function ack
.p2align 2
_ack: ; @ack
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
adrp x8, _depth@PAGE
ldr w9, [x8, _depth@PAGEOFF]
add w9, w9, #1
str w9, [x8, _depth@PAGEOFF]
lsr w8, w9, #24
cbz w8, LBB0_2
; %bb.1:
mov w8, #16777215 ; =0xffffff
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB0_2:
mov w8, #65535 ; =0xffff
cmp w20, w8
b.lo LBB0_4
; %bb.3:
mov w8, #65535 ; =0xffff
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB0_4:
cmp w19, #16
b.lo LBB0_6
; %bb.5:
mov w8, #16 ; =0x10
str x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB0_6:
mov w8, w20
Lloh6:
adrp x22, _a@PAGE
Lloh7:
add x22, x22, _a@PAGEOFF
add x8, x22, x8, lsl #6
add x21, x8, w19, uxtw #2
ldr w0, [x21]
cbz w0, LBB0_8
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_8:
cbz w19, LBB0_11
; %bb.9:
cbz w20, LBB0_12
; %bb.10:
sub w0, w20, #1
mov x1, x19
bl _ack
sub w1, w19, #1
bl _ack
str w0, [x21]
b LBB0_7
LBB0_11:
add w0, w20, #1
str w0, [x8]
b LBB0_7
LBB0_12:
mov w20, w19
sub w1, w19, #1
mov w0, #1 ; =0x1
bl _ack
str w0, [x22, x20, lsl #2]
b LBB0_7
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
adrp x19, _max_depth@PAGE
str wzr, [x19, _max_depth@PAGEOFF]
str xzr, [sp]
Lloh8:
adrp x0, l_.str.3@PAGE
Lloh9:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
adrp x20, _depth@PAGE
str wzr, [x20, _depth@PAGEOFF]
mov w0, #0 ; =0x0
mov w1, #0 ; =0x0
bl _ack
; kill: def $w0 killed $w0 def $x0
stp xzr, xzr, [sp]
str x0, [sp, #16]
Lloh10:
adrp x0, l_.str.4@PAGE
Lloh11:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_2
; %bb.1:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_2:
mov w21, #1 ; =0x1
str x21, [sp]
Lloh12:
adrp x0, l_.str.3@PAGE
Lloh13:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
str wzr, [x20, _depth@PAGEOFF]
mov w0, #1 ; =0x1
mov w1, #0 ; =0x0
bl _ack
; kill: def $w0 killed $w0 def $x0
stp xzr, x0, [sp, #8]
str x21, [sp]
Lloh14:
adrp x0, l_.str.4@PAGE
Lloh15:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_4
; %bb.3:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_4:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #1 ; =0x1
mov w0, #0 ; =0x0
mov w1, #1 ; =0x1
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #8]
str xzr, [sp]
Lloh16:
adrp x0, l_.str.4@PAGE
Lloh17:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_6
; %bb.5:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_6:
mov w21, #2 ; =0x2
str x21, [sp]
Lloh18:
adrp x0, l_.str.3@PAGE
Lloh19:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
str wzr, [x20, _depth@PAGEOFF]
mov w0, #2 ; =0x2
mov w1, #0 ; =0x0
bl _ack
; kill: def $w0 killed $w0 def $x0
stp xzr, x0, [sp, #8]
str x21, [sp]
Lloh20:
adrp x0, l_.str.4@PAGE
Lloh21:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_8
; %bb.7:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_8:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #1 ; =0x1
mov w0, #1 ; =0x1
mov w1, #1 ; =0x1
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #8]
str x21, [sp]
Lloh22:
adrp x0, l_.str.4@PAGE
Lloh23:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_10
; %bb.9:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_10:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #2 ; =0x2
mov w0, #0 ; =0x0
mov w1, #2 ; =0x2
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #8]
str xzr, [sp]
Lloh24:
adrp x0, l_.str.4@PAGE
Lloh25:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_12
; %bb.11:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_12:
mov w21, #3 ; =0x3
str x21, [sp]
Lloh26:
adrp x0, l_.str.3@PAGE
Lloh27:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
str wzr, [x20, _depth@PAGEOFF]
mov w0, #3 ; =0x3
mov w1, #0 ; =0x0
bl _ack
; kill: def $w0 killed $w0 def $x0
stp xzr, x0, [sp, #8]
str x21, [sp]
Lloh28:
adrp x0, l_.str.4@PAGE
Lloh29:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_14
; %bb.13:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_14:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #2 ; =0x2
mov w22, #1 ; =0x1
mov w0, #2 ; =0x2
mov w1, #1 ; =0x1
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp, #8]
str x21, [sp]
Lloh30:
adrp x0, l_.str.4@PAGE
Lloh31:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_16
; %bb.15:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_16:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #1 ; =0x1
mov w22, #2 ; =0x2
mov w0, #1 ; =0x1
mov w1, #2 ; =0x2
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp, #8]
str x21, [sp]
Lloh32:
adrp x0, l_.str.4@PAGE
Lloh33:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_18
; %bb.17:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_18:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #3 ; =0x3
mov w0, #0 ; =0x0
mov w1, #3 ; =0x3
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #8]
str xzr, [sp]
Lloh34:
adrp x0, l_.str.4@PAGE
Lloh35:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_20
; %bb.19:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_20:
mov w21, #4 ; =0x4
str x21, [sp]
Lloh36:
adrp x0, l_.str.3@PAGE
Lloh37:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
str wzr, [x20, _depth@PAGEOFF]
mov w0, #4 ; =0x4
mov w1, #0 ; =0x0
bl _ack
; kill: def $w0 killed $w0 def $x0
stp xzr, x0, [sp, #8]
str x21, [sp]
Lloh38:
adrp x0, l_.str.4@PAGE
Lloh39:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_22
; %bb.21:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_22:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #3 ; =0x3
mov w22, #1 ; =0x1
mov w0, #3 ; =0x3
mov w1, #1 ; =0x1
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp, #8]
str x21, [sp]
Lloh40:
adrp x0, l_.str.4@PAGE
Lloh41:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_24
; %bb.23:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_24:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #2 ; =0x2
mov w0, #2 ; =0x2
mov w1, #2 ; =0x2
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #8]
str x21, [sp]
Lloh42:
adrp x0, l_.str.4@PAGE
Lloh43:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_26
; %bb.25:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_26:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #1 ; =0x1
mov w22, #3 ; =0x3
mov w0, #1 ; =0x1
mov w1, #3 ; =0x3
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp, #8]
str x21, [sp]
Lloh44:
adrp x0, l_.str.4@PAGE
Lloh45:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_28
; %bb.27:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_28:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #4 ; =0x4
mov w0, #0 ; =0x0
mov w1, #4 ; =0x4
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #8]
str xzr, [sp]
Lloh46:
adrp x0, l_.str.4@PAGE
Lloh47:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_30
; %bb.29:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_30:
mov w21, #5 ; =0x5
str x21, [sp]
Lloh48:
adrp x0, l_.str.3@PAGE
Lloh49:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
str wzr, [x20, _depth@PAGEOFF]
mov w0, #5 ; =0x5
mov w1, #0 ; =0x0
bl _ack
; kill: def $w0 killed $w0 def $x0
stp xzr, x0, [sp, #8]
str x21, [sp]
Lloh50:
adrp x0, l_.str.4@PAGE
Lloh51:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_32
; %bb.31:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_32:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #4 ; =0x4
mov w22, #1 ; =0x1
mov w0, #4 ; =0x4
mov w1, #1 ; =0x1
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp, #8]
str x21, [sp]
Lloh52:
adrp x0, l_.str.4@PAGE
Lloh53:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_34
; %bb.33:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_34:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #3 ; =0x3
mov w22, #2 ; =0x2
mov w0, #3 ; =0x3
mov w1, #2 ; =0x2
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp, #8]
str x21, [sp]
Lloh54:
adrp x0, l_.str.4@PAGE
Lloh55:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_36
; %bb.35:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_36:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #2 ; =0x2
mov w22, #3 ; =0x3
mov w0, #2 ; =0x2
mov w1, #3 ; =0x3
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp, #8]
str x21, [sp]
Lloh56:
adrp x0, l_.str.4@PAGE
Lloh57:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_38
; %bb.37:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_38:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #1 ; =0x1
mov w22, #4 ; =0x4
mov w0, #1 ; =0x1
mov w1, #4 ; =0x4
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp, #8]
str x21, [sp]
Lloh58:
adrp x0, l_.str.4@PAGE
Lloh59:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w8, [x20, _depth@PAGEOFF]
ldr w9, [x19, _max_depth@PAGEOFF]
cmp w8, w9
b.ls LBB1_40
; %bb.39:
str w8, [x19, _max_depth@PAGEOFF]
LBB1_40:
str wzr, [x20, _depth@PAGEOFF]
mov w21, #5 ; =0x5
mov w0, #0 ; =0x0
mov w1, #5 ; =0x5
bl _ack
; kill: def $w0 killed $w0 def $x0
stp x21, x0, [sp, #8]
str xzr, [sp]
Lloh60:
adrp x0, l_.str.4@PAGE
Lloh61:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
ldr w9, [x20, _depth@PAGEOFF]
ldr w8, [x19, _max_depth@PAGEOFF]
cmp w9, w8
b.ls LBB1_42
; %bb.41:
str w9, [x19, _max_depth@PAGEOFF]
mov x8, x9
LBB1_42:
str x8, [sp]
Lloh62:
adrp x0, l_.str.5@PAGE
Lloh63:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh62, Lloh63
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_depth,4,2 ; @depth
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Maximum stack depth %d exceeded. Abort.\n"
l_.str.1: ; @.str.1
.asciz "Maximum x value %d exceeded. Abort. \n"
l_.str.2: ; @.str.2
.asciz "Maximum y value %d exceeded. Abort. \n"
.zerofill __DATA,__bss,_a,4194240,2 ; @a
.zerofill __DATA,__bss,_max_depth,4,2 ; @max_depth
l_.str.3: ; @.str.3
.asciz "\nx+y=%d:\n\n"
l_.str.4: ; @.str.4
.asciz "A(%d,%d) = %d\n"
l_.str.5: ; @.str.5
.asciz "Max recursive depth = %u\n"
.subsections_via_symbols
|
frac-calc.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.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 $776, %rsp ## imm = 0x308
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movl %edi, %r14d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _opterr@GOTPCREL(%rip), %rax
movl $0, (%rax)
leaq L_.str.1(%rip), %r15
leaq L_.str.16(%rip), %r12
leaq L_.str.17(%rip), %r13
jmp LBB0_1
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
incl _verb(%rip)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %r14d, %edi
movq %rbx, %rsi
movq %r15, %rdx
callq _libmin_getopt
cmpl $103, %eax
jle LBB0_2
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
cmpl $118, %eax
je LBB0_11
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
cmpl $104, %eax
jne LBB0_4
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
callq _help
jmp LBB0_1
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
cmpl $86, %eax
jne LBB0_3
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.18(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.19(%rip), %rdx
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.20(%rip), %rdi
movl $2018, %esi ## imm = 0x7E2
movq %r12, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq _libmin_printf
movl _verb(%rip), %esi
cmpl $4, %esi
jl LBB0_10
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movl $1, %edi
callq _libmin_fail
jmp LBB0_1
LBB0_3:
cmpl $-1, %eax
jne LBB0_4
## %bb.12:
movl _verb(%rip), %esi
testl %esi, %esi
je LBB0_14
## %bb.13:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB0_14:
leaq -656(%rbp), %r15
leaq L_.str.24(%rip), %r13
jmp LBB0_15
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_15 Depth=1
movl %r12d, -668(%rbp)
leaq -592(%rbp), %rdi
leaq -704(%rbp), %rbx
movq %rbx, %rsi
movl %r12d, %edx
callq _avaliatokens
movq %rbx, %rdi
leaq -752(%rbp), %rsi
callq _calcula
movl -664(%rbp), %eax
xorl %ecx, %ecx
cmpl $2, %eax
sete %cl
leal 43(,%rcx,2), %r8d
cmpl $3, %eax
movl $42, %ecx
cmovel %ecx, %r8d
cmpl $4, %eax
movl $47, %eax
cmovel %eax, %r8d
movl -668(%rbp), %edx
movl -672(%rbp), %ecx
movl -680(%rbp), %r10d
movl -676(%rbp), %r9d
movl -752(%rbp), %r11d
movl -748(%rbp), %r12d
movl -740(%rbp), %r14d
movl -736(%rbp), %ebx
cvtss2sd %xmm0, %xmm0
subq $8, %rsp
leaq L_.str.29(%rip), %rdi
movq %r15, %rsi
movb $1, %al
pushq %rbx
pushq %r14
pushq %r11
pushq %r12
pushq %r10
callq _libmin_printf
addq $48, %rsp
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq _minput(%rip), %rdx
movl $60, %esi
leaq -816(%rbp), %rbx
movq %rbx, %rdi
callq _libmin_mgets
movq %rbx, %rdi
callq _libmin_atoi
cmpl $1, %eax
jne LBB0_19
LBB0_15: ## =>This Loop Header: Depth=1
## Child Loop BB0_17 Depth 2
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.23(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq _minput(%rip), %rdx
movl $60, %esi
movq %r15, %rdi
callq _libmin_mgets
leaq -112(%rbp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq _libmin_strcpy
movq %rbx, %rdi
movq %r13, %rsi
callq _libmin_strtok
movl $0, %r12d
testq %rax, %rax
je LBB0_18
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_15 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, -592(%rbp,%r12,8)
xorl %edi, %edi
movq %r13, %rsi
callq _libmin_strtok
incq %r12
testq %rax, %rax
jne LBB0_17
jmp LBB0_18
LBB0_19:
callq _libmin_success
xorl %eax, %eax
jmp LBB0_20
LBB0_4:
movq (%rbx), %rdx
leaq L_.str.2(%rip), %rdi
movq %rdx, %rsi
xorl %eax, %eax
callq _libmin_printf
movl $1, %eax
LBB0_20:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_22
## %bb.21:
addq $776, %rsp ## imm = 0x308
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_22:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _help ## -- Begin function help
.p2align 4, 0x90
_help: ## @help
.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.5(%rip), %rdi
leaq L_.str.6(%rip), %rbx
leaq L_.str.7(%rip), %rdx
movq %rbx, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.8(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.15(%rip), %rdi
leaq L_.str.16(%rip), %rsi
leaq L_.str.17(%rip), %rdx
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _libmin_fail ## TAILCALL
.cfi_endproc
## -- End function
.globl _copyr ## -- Begin function copyr
.p2align 4, 0x90
_copyr: ## @copyr
.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.18(%rip), %rdi
leaq L_.str.6(%rip), %rsi
leaq L_.str.19(%rip), %rdx
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.20(%rip), %rdi
leaq L_.str.16(%rip), %rdx
leaq L_.str.17(%rip), %rcx
movl $2018, %esi ## imm = 0x7E2
xorl %eax, %eax
callq _libmin_printf
movl _verb(%rip), %esi
cmpl $4, %esi
jl LBB2_2
## %bb.1:
leaq L_.str.21(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB2_2:
movl $1, %edi
popq %rbp
jmp _libmin_fail ## TAILCALL
.cfi_endproc
## -- End function
.globl _frac_init ## -- Begin function frac_init
.p2align 4, 0x90
_frac_init: ## @frac_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq L_.str.22(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.23(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq _minput(%rip), %rdx
movl $60, %esi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _libmin_mgets ## TAILCALL
.cfi_endproc
## -- End function
.globl _divtokens ## -- Begin function divtokens
.p2align 4, 0x90
_divtokens: ## @divtokens
.cfi_startproc
## %bb.0:
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 $552, %rsp ## imm = 0x228
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %rsi
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq -96(%rbp), %r14
movq %r14, %rdi
callq _libmin_strcpy
leaq L_.str.24(%rip), %rsi
movq %r14, %rdi
callq _libmin_strtok
xorl %r14d, %r14d
testq %rax, %rax
je LBB4_3
## %bb.1:
leaq L_.str.24(%rip), %r15
.p2align 4, 0x90
LBB4_2: ## =>This Inner Loop Header: Depth=1
movq %rax, -576(%rbp,%r14,8)
xorl %edi, %edi
movq %r15, %rsi
callq _libmin_strtok
incq %r14
testq %rax, %rax
jne LBB4_2
LBB4_3:
movl %r14d, 36(%rbx)
leaq -576(%rbp), %rdi
movq %rbx, %rsi
movl %r14d, %edx
callq _avaliatokens
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB4_5
## %bb.4:
addq $552, %rsp ## imm = 0x228
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB4_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _calcula ## -- Begin function calcula
.p2align 4, 0x90
_calcula: ## @calcula
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 12(%rdi), %ecx
imull 4(%rdi), %ecx
movl %ecx, (%rsi)
movl 40(%rdi), %eax
decl %eax
cmpl $3, %eax
ja LBB5_1
## %bb.2:
leaq LJTI5_0(%rip), %rdx
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
LBB5_3:
movl %ecx, %eax
cltd
idivl 4(%rdi)
movl %eax, %r8d
imull (%rdi), %r8d
movl %ecx, %eax
cltd
idivl 12(%rdi)
movl %eax, %r10d
imull 8(%rdi), %r10d
addl %r8d, %r10d
movl %r10d, 4(%rsi)
movl $1, %r11d
movl %ecx, %r8d
movl %r10d, %r9d
jmp LBB5_4
.p2align 4, 0x90
LBB5_6: ## in Loop: Header=BB5_4 Depth=1
incl %r11d
cmpl $13, %r11d
je LBB5_19
LBB5_4: ## =>This Inner Loop Header: Depth=1
movl %r9d, %eax
cltd
idivl %r11d
testl %edx, %edx
jne LBB5_6
## %bb.5: ## in Loop: Header=BB5_4 Depth=1
movl %eax, %edi
movl %r8d, %eax
cltd
idivl %r11d
testl %edx, %edx
cmovel %edi, %r9d
cmovel %eax, %r8d
jmp LBB5_6
LBB5_1:
xorps %xmm0, %xmm0
popq %rbp
retq
LBB5_7:
movl %ecx, %eax
cltd
idivl 4(%rdi)
movl %eax, %r10d
imull (%rdi), %r10d
movl %ecx, %eax
cltd
idivl 12(%rdi)
imull 8(%rdi), %eax
subl %eax, %r10d
movl %r10d, 4(%rsi)
movl $1, %r11d
movl %ecx, %r8d
movl %r10d, %r9d
jmp LBB5_8
.p2align 4, 0x90
LBB5_10: ## in Loop: Header=BB5_8 Depth=1
incl %r11d
cmpl $13, %r11d
je LBB5_19
LBB5_8: ## =>This Inner Loop Header: Depth=1
movl %r9d, %eax
cltd
idivl %r11d
testl %edx, %edx
jne LBB5_10
## %bb.9: ## in Loop: Header=BB5_8 Depth=1
movl %eax, %edi
movl %r8d, %eax
cltd
idivl %r11d
testl %edx, %edx
cmovel %edi, %r9d
cmovel %eax, %r8d
jmp LBB5_10
LBB5_11:
movl 8(%rdi), %r10d
imull (%rdi), %r10d
movl %r10d, 4(%rsi)
movl $1, %r11d
movl %ecx, %r8d
movl %r10d, %r9d
jmp LBB5_12
.p2align 4, 0x90
LBB5_14: ## in Loop: Header=BB5_12 Depth=1
incl %r11d
cmpl $13, %r11d
je LBB5_19
LBB5_12: ## =>This Inner Loop Header: Depth=1
movl %r9d, %eax
cltd
idivl %r11d
testl %edx, %edx
jne LBB5_14
## %bb.13: ## in Loop: Header=BB5_12 Depth=1
movl %eax, %edi
movl %r8d, %eax
cltd
idivl %r11d
testl %edx, %edx
cmovel %edi, %r9d
cmovel %eax, %r8d
jmp LBB5_14
LBB5_15:
movl 8(%rdi), %ecx
imull 4(%rdi), %ecx
movl %ecx, (%rsi)
movl 12(%rdi), %r10d
imull (%rdi), %r10d
movl %r10d, 4(%rsi)
movl $1, %r11d
movl %ecx, %r8d
movl %r10d, %r9d
jmp LBB5_16
.p2align 4, 0x90
LBB5_18: ## in Loop: Header=BB5_16 Depth=1
incl %r11d
cmpl $13, %r11d
je LBB5_19
LBB5_16: ## =>This Inner Loop Header: Depth=1
movl %r9d, %eax
cltd
idivl %r11d
testl %edx, %edx
jne LBB5_18
## %bb.17: ## in Loop: Header=BB5_16 Depth=1
movl %eax, %edi
movl %r8d, %eax
cltd
idivl %r11d
testl %edx, %edx
cmovel %edi, %r9d
cmovel %eax, %r8d
jmp LBB5_18
LBB5_19:
cvtsi2ss %ecx, %xmm1
cvtsi2ss %r10d, %xmm0
divss %xmm1, %xmm0
movl %r9d, 12(%rsi)
movl %r8d, 16(%rsi)
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L5_0_set_3, LBB5_3-LJTI5_0
.set L5_0_set_7, LBB5_7-LJTI5_0
.set L5_0_set_11, LBB5_11-LJTI5_0
.set L5_0_set_15, LBB5_15-LJTI5_0
LJTI5_0:
.long L5_0_set_3
.long L5_0_set_7
.long L5_0_set_11
.long L5_0_set_15
.end_data_region
## -- End function
.globl _print ## -- Begin function print
.p2align 4, 0x90
_print: ## @print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rax
movl 40(%rdx), %ecx
xorl %edi, %edi
cmpl $2, %ecx
sete %dil
leal 43(,%rdi,2), %edi
cmpl $3, %ecx
movl $42, %r9d
cmovnel %edi, %r9d
cmpl $4, %ecx
movl $47, %r8d
cmovnel %r9d, %r8d
movl 36(%rdx), %r10d
movl 32(%rdx), %ecx
movl 24(%rdx), %r11d
movl 28(%rdx), %r9d
movl (%rsi), %ebx
movl 4(%rsi), %r14d
movl 12(%rsi), %r15d
movl 16(%rsi), %r12d
cvtss2sd %xmm0, %xmm0
subq $8, %rsp
leaq L_.str.29(%rip), %rdi
movq %rax, %rsi
movl %r10d, %edx
movb $1, %al
pushq %r12
pushq %r15
pushq %rbx
pushq %r14
pushq %r11
callq _libmin_printf
addq $48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _avaliatokens ## -- Begin function avaliatokens
.p2align 4, 0x90
_avaliatokens: ## @avaliatokens
.cfi_startproc
## %bb.0:
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 %edx, -44(%rbp) ## 4-byte Spill
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r15
movq 16(%rdi), %rdi
leaq L_.str.25(%rip), %rsi
callq _libmin_strcmp
testl %eax, %eax
je LBB7_4
## %bb.1:
movq 16(%r15), %rdi
leaq L_.str.26(%rip), %rsi
callq _libmin_strcmp
testl %eax, %eax
je LBB7_4
## %bb.2:
movq 16(%r15), %rdi
leaq L_.str.27(%rip), %rsi
callq _libmin_strcmp
testl %eax, %eax
je LBB7_4
## %bb.3:
movq 16(%r15), %rdi
leaq L_.str.28(%rip), %rsi
callq _libmin_strcmp
LBB7_4:
movq 8(%r15), %rdi
leaq L_.str.25(%rip), %rsi
callq _libmin_strcmp
testl %eax, %eax
je LBB7_9
## %bb.5:
movq 8(%r15), %rdi
leaq L_.str.26(%rip), %rsi
callq _libmin_strcmp
testl %eax, %eax
je LBB7_9
## %bb.6:
movq 8(%r15), %rdi
leaq L_.str.27(%rip), %rsi
callq _libmin_strcmp
testl %eax, %eax
je LBB7_9
## %bb.7:
movq 8(%r15), %rdi
leaq L_.str.28(%rip), %rsi
callq _libmin_strcmp
cmpl $4, -44(%rbp) ## 4-byte Folded Reload
jne LBB7_10
## %bb.8:
movl $2, %edi
testl %eax, %eax
je LBB7_11
jmp LBB7_10
LBB7_9:
movl $2, %edi
cmpl $4, -44(%rbp) ## 4-byte Folded Reload
je LBB7_11
LBB7_10:
movl $1, %edi
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jle LBB7_25
LBB7_11:
movl %edi, -60(%rbp) ## 4-byte Spill
xorl %r13d, %r13d
leaq L_.str.28(%rip), %r12
xorl %ebx, %ebx
jmp LBB7_12
.p2align 4, 0x90
LBB7_23: ## in Loop: Header=BB7_12 Depth=1
incl %ebx
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
jge LBB7_24
LBB7_12: ## =>This Loop Header: Depth=1
## Child Loop BB7_22 Depth 2
movslq %ebx, %r14
movq (%r15,%r14,8), %rdi
leaq L_.str.25(%rip), %rsi
callq _libmin_strcmp
testl %eax, %eax
jne LBB7_14
## %bb.13: ## in Loop: Header=BB7_12 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movl $1, 40(%rax)
incl %ebx
movslq %ebx, %r14
LBB7_14: ## in Loop: Header=BB7_12 Depth=1
movq (%r15,%r14,8), %rdi
leaq L_.str.26(%rip), %rsi
callq _libmin_strcmp
testl %eax, %eax
jne LBB7_16
## %bb.15: ## in Loop: Header=BB7_12 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movl $2, 40(%rax)
incl %ebx
movslq %ebx, %r14
LBB7_16: ## in Loop: Header=BB7_12 Depth=1
movq (%r15,%r14,8), %rdi
leaq L_.str.27(%rip), %rsi
callq _libmin_strcmp
testl %eax, %eax
jne LBB7_18
## %bb.17: ## in Loop: Header=BB7_12 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movl $3, 40(%rax)
incl %ebx
movslq %ebx, %r14
LBB7_18: ## in Loop: Header=BB7_12 Depth=1
movq (%r15,%r14,8), %rdi
movq %r12, %rsi
callq _libmin_strcmp
testl %eax, %eax
jne LBB7_20
## %bb.19: ## in Loop: Header=BB7_12 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movl $4, 40(%rax)
incl %ebx
movslq %ebx, %r14
LBB7_20: ## in Loop: Header=BB7_12 Depth=1
movq (%r15,%r14,8), %rdi
movq %r12, %rsi
callq _libmin_strtok
testq %rax, %rax
je LBB7_23
## %bb.21: ## in Loop: Header=BB7_12 Depth=1
movslq %r13d, %rcx
movq -56(%rbp), %rdx ## 8-byte Reload
leaq (%rdx,%rcx,4), %r14
.p2align 4, 0x90
LBB7_22: ## Parent Loop BB7_12 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, %rdi
callq _libmin_atoi
movl %eax, (%r14)
xorl %edi, %edi
movq %r12, %rsi
callq _libmin_strtok
addq $4, %r14
incl %r13d
testq %rax, %rax
jne LBB7_22
jmp LBB7_23
LBB7_24:
movl -60(%rbp), %edi ## 4-byte Reload
LBB7_25:
movq -56(%rbp), %rsi ## 8-byte Reload
movl -44(%rbp), %edx ## 4-byte Reload
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _misto ## TAILCALL
.cfi_endproc
## -- End function
.globl _misto ## -- Begin function misto
.p2align 4, 0x90
_misto: ## @misto
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $3, %edx
jne LBB8_2
## %bb.1:
movl (%rsi), %ecx
movl 12(%rsi), %eax
movl %ecx, 36(%rsi)
movq 4(%rsi), %xmm0 ## xmm0 = mem[0],zero
pshufd $225, %xmm0, %xmm0 ## xmm0 = xmm0[1,0,2,3]
movq %xmm0, 28(%rsi)
jmp LBB8_8
LBB8_2:
cmpl $2, %edi
je LBB8_5
## %bb.3:
cmpl $1, %edi
jne LBB8_6
## %bb.4:
movl 8(%rsi), %ecx
movl 12(%rsi), %edx
movl (%rsi), %edi
imull %ecx, %edi
addl 4(%rsi), %edi
movl %edi, (%rsi)
movl %ecx, 4(%rsi)
movl %edx, 8(%rsi)
movl 16(%rsi), %eax
movl %eax, 12(%rsi)
movl %edi, 36(%rsi)
movl %ecx, 32(%rsi)
movl %edx, 28(%rsi)
jmp LBB8_8
LBB8_5:
movl 16(%rsi), %eax
movl 8(%rsi), %ecx
imull %eax, %ecx
addl 12(%rsi), %ecx
movl %ecx, 8(%rsi)
movl %eax, 12(%rsi)
movq (%rsi), %xmm0 ## xmm0 = mem[0],zero
pshufd $225, %xmm0, %xmm0 ## xmm0 = xmm0[1,0,2,3]
movq %xmm0, 32(%rsi)
movl %ecx, 28(%rsi)
jmp LBB8_8
LBB8_6:
cmpl $5, %edx
jne LBB8_9
## %bb.7:
movl 8(%rsi), %ecx
movl (%rsi), %edx
imull %ecx, %edx
addl 4(%rsi), %edx
movl 20(%rsi), %eax
movl %edx, (%rsi)
movl %ecx, 4(%rsi)
movl 12(%rsi), %edi
imull %eax, %edi
addl 16(%rsi), %edi
movl %edi, 8(%rsi)
movl %eax, 12(%rsi)
movl %edx, 36(%rsi)
movl %ecx, 32(%rsi)
movl %edi, 28(%rsi)
LBB8_8:
movl %eax, 24(%rsi)
LBB8_9:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _simplifica ## -- Begin function simplifica
.p2align 4, 0x90
_simplifica: ## @simplifica
.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), %ecx
movl 4(%rdi), %esi
movl $1, %r9d
jmp LBB9_1
.p2align 4, 0x90
LBB9_3: ## in Loop: Header=BB9_1 Depth=1
incl %r9d
cmpl $13, %r9d
je LBB9_4
LBB9_1: ## =>This Inner Loop Header: Depth=1
movl %esi, %eax
cltd
idivl %r9d
testl %edx, %edx
jne LBB9_3
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movl %eax, %r8d
movl %ecx, %eax
cltd
idivl %r9d
testl %edx, %edx
cmovel %r8d, %esi
cmovel %eax, %ecx
jmp LBB9_3
LBB9_4:
movl %esi, 12(%rdi)
movl %ecx, 16(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl ___input ## @__input
.p2align 4, 0x0
___input:
.ascii " 3/4 + 6 7/19\n1\n7/19 + 21/7\n0\n"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "input.h"
.section __DATA,__data
.globl _input ## @input
.p2align 3, 0x0
_input:
.quad L_.str
.quad 30 ## 0x1e
.quad ___input
.long 0 ## 0x0
.space 4
.globl _minput ## @minput
.p2align 3, 0x0
_minput:
.quad _input
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "vhV"
.zerofill __DATA,__bss,_verb,4,2 ## @verb
L_.str.2: ## @.str.2
.asciz "Type\n\t$man %s\nor\n\t$%s -h\nfor help.\n\n"
L_.str.3: ## @.str.3
.asciz "Verbose level set at: %d\n"
L_.str.4: ## @.str.4
.asciz "\nDo you want to do another operation?\nenter 1 for yes\n"
L_.str.5: ## @.str.5
.asciz "%s - %s\n"
L_.str.6: ## @.str.6
.asciz "frac"
L_.str.7: ## @.str.7
.asciz "Fraction Calculator"
L_.str.8: ## @.str.8
.asciz "\nUsage: %s [-h|-v]\n"
L_.str.9: ## @.str.9
.asciz "\nOptions:\n"
L_.str.10: ## @.str.10
.asciz "\t-h, --help\n\t\tShow this help.\n"
L_.str.11: ## @.str.11
.asciz "\t-V, --version\n\t\tShow version and copyright information.\n"
L_.str.12: ## @.str.12
.asciz "\t-v, --verbose\n\t\tSet verbose level (cumulative).\n"
L_.str.13: ## @.str.13
.asciz "\nExit status:\n\t0 if ok.\n\t1 some error occurred.\n"
L_.str.14: ## @.str.14
.asciz "\nTodo:\n\tLong options not implemented yet.\n"
L_.str.15: ## @.str.15
.asciz "\nAuthor:\n\tWritten by %s <%s>\n\n"
L_.str.16: ## @.str.16
.asciz "Iago Gade Gusmao Carrazzoni"
L_.str.17: ## @.str.17
.asciz "iagocarrazzoni@gmail.com"
L_.str.18: ## @.str.18
.asciz "%s - Version %s\n"
L_.str.19: ## @.str.19
.asciz "20180915.214818"
L_.str.20: ## @.str.20
.asciz "\nCopyright (C) %d %s <%s>, GNU GPL version 2 <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. USE IT AS IT IS. The author takes no responsability to any damage this software may inflige in your data.\n\n"
L_.str.21: ## @.str.21
.asciz "copyr(): Verbose: %d\n"
L_.str.22: ## @.str.22
.asciz "-------------------\n"
L_.str.23: ## @.str.23
.asciz "FRACTION CALCULATOR\nPlease entry the desired operation:\n(It is necessary to add a space between the fractions, like a/b + c/d)\n-> "
L_.str.24: ## @.str.24
.asciz " "
L_.str.25: ## @.str.25
.asciz "+"
L_.str.26: ## @.str.26
.asciz "-"
L_.str.27: ## @.str.27
.asciz "*"
L_.str.28: ## @.str.28
.asciz "/"
L_.str.29: ## @.str.29
.asciz "\nEXPRESSION: %sFRACTION: %d/%d %c %d/%d\nINTERMEDIATE: %d/%d\nRESULT: %d/%d\nDECIMAL: %.3f\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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
sub sp, sp, #864
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _opterr@GOTPAGE
Lloh1:
ldr x8, [x8, _opterr@GOTPAGEOFF]
Lloh2:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
Lloh5:
adrp x21, l_.str.1@PAGE
Lloh6:
add x21, x21, l_.str.1@PAGEOFF
stur x9, [x29, #-96]
Lloh7:
str wzr, [x8]
Lloh8:
adrp x26, l_.str.6@PAGE
Lloh9:
add x26, x26, l_.str.6@PAGEOFF
Lloh10:
adrp x22, l_.str.18@PAGE
Lloh11:
add x22, x22, l_.str.18@PAGEOFF
Lloh12:
adrp x28, l_.str.17@PAGE
Lloh13:
add x28, x28, l_.str.17@PAGEOFF
Lloh14:
adrp x24, l_.str.16@PAGE
Lloh15:
add x24, x24, l_.str.16@PAGEOFF
mov w25, #2018 ; =0x7e2
Lloh16:
adrp x23, l_.str.20@PAGE
Lloh17:
add x23, x23, l_.str.20@PAGEOFF
adrp x27, _verb@PAGE
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x27, _verb@PAGEOFF]
add w8, w8, #1
str w8, [x27, _verb@PAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov x2, x21
bl _libmin_getopt
cmp w0, #103
b.le LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cmp w0, #118
b.eq LBB0_1
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
cmp w0, #104
b.ne LBB0_20
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
bl _help
b LBB0_2
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
cmp w0, #86
b.ne LBB0_10
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
Lloh18:
adrp x8, l_.str.19@PAGE
Lloh19:
add x8, x8, l_.str.19@PAGEOFF
stp x26, x8, [sp]
mov x0, x22
bl _libmin_printf
stp x24, x28, [sp, #8]
str x25, [sp]
mov x0, x23
bl _libmin_printf
ldr w8, [x27, _verb@PAGEOFF]
cmp w8, #4
b.lt LBB0_9
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
str x8, [sp]
Lloh20:
adrp x0, l_.str.21@PAGE
Lloh21:
add x0, x0, l_.str.21@PAGEOFF
bl _libmin_printf
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
mov w0, #1 ; =0x1
bl _libmin_fail
b LBB0_2
LBB0_10:
cmn w0, #1
b.ne LBB0_20
; %bb.11:
ldr w8, [x27, _verb@PAGEOFF]
cbz w8, LBB0_13
; %bb.12:
str x8, [sp]
Lloh22:
adrp x0, l_.str.3@PAGE
Lloh23:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
LBB0_13:
adrp x25, _minput@PAGE
Lloh24:
adrp x21, l_.str.24@PAGE
Lloh25:
add x21, x21, l_.str.24@PAGEOFF
add x27, sp, #304
mov w28, #43 ; =0x2b
mov w19, #45 ; =0x2d
mov w20, #42 ; =0x2a
mov w26, #47 ; =0x2f
Lloh26:
adrp x22, l_.str.29@PAGE
Lloh27:
add x22, x22, l_.str.29@PAGEOFF
Lloh28:
adrp x23, l_.str.4@PAGE
Lloh29:
add x23, x23, l_.str.4@PAGEOFF
b LBB0_16
LBB0_14: ; in Loop: Header=BB0_16 Depth=1
mov w24, #0 ; =0x0
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
str w24, [sp, #236]
add x0, sp, #304
add x1, sp, #200
mov x2, x24
bl _avaliatokens
add x0, sp, #200
add x1, sp, #156
bl _calcula
ldr w8, [sp, #240]
cmp w8, #2
csel w9, w19, w28, eq
cmp w8, #3
csel w9, w20, w9, eq
cmp w8, #4
csel w8, w26, w9, eq
fcvt d0, s0
ldp w10, w9, [sp, #232]
ldp w12, w11, [sp, #224]
ldp w14, w13, [sp, #156]
ldp w15, w16, [sp, #168]
str d0, [sp, #80]
stp x15, x16, [sp, #64]
stp x13, x14, [sp, #48]
stp x11, x12, [sp, #32]
stp x9, x10, [sp, #8]
add x9, sp, #244
str x9, [sp]
str x8, [sp, #24]
mov x0, x22
bl _libmin_printf
mov x0, x23
bl _libmin_printf
ldr x2, [x25, _minput@PAGEOFF]
add x0, sp, #96
mov w1, #60 ; =0x3c
bl _libmin_mgets
add x0, sp, #96
bl _libmin_atoi
cmp w0, #1
b.ne LBB0_19
LBB0_16: ; =>This Loop Header: Depth=1
; Child Loop BB0_18 Depth 2
Lloh30:
adrp x0, l_.str.22@PAGE
Lloh31:
add x0, x0, l_.str.22@PAGEOFF
bl _libmin_printf
Lloh32:
adrp x0, l_.str.23@PAGE
Lloh33:
add x0, x0, l_.str.23@PAGEOFF
bl _libmin_printf
ldr x2, [x25, _minput@PAGEOFF]
add x0, sp, #244
mov w1, #60 ; =0x3c
bl _libmin_mgets
sub x0, x29, #156
add x1, sp, #244
bl _libmin_strcpy
sub x0, x29, #156
mov x1, x21
bl _libmin_strtok
cbz x0, LBB0_14
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
mov x24, #0 ; =0x0
LBB0_18: ; Parent Loop BB0_16 Depth=1
; => This Inner Loop Header: Depth=2
str x0, [x27, x24, lsl #3]
mov x0, #0 ; =0x0
mov x1, x21
bl _libmin_strtok
add x24, x24, #1
cbnz x0, LBB0_18
b LBB0_15
LBB0_19:
bl _libmin_success
mov w0, #0 ; =0x0
b LBB0_21
LBB0_20:
ldr x8, [x19]
stp x8, x8, [sp]
Lloh34:
adrp x0, l_.str.2@PAGE
Lloh35:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
LBB0_21:
ldur x8, [x29, #-96]
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_23
; %bb.22:
add sp, sp, #864
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_23:
bl ___stack_chk_fail
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh7
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.cfi_endproc
; -- End function
.globl _help ; -- Begin function help
.p2align 2
_help: ; @help
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh39:
adrp x8, l_.str.7@PAGE
Lloh40:
add x8, x8, l_.str.7@PAGEOFF
Lloh41:
adrp x19, l_.str.6@PAGE
Lloh42:
add x19, x19, l_.str.6@PAGEOFF
stp x19, x8, [sp]
Lloh43:
adrp x0, l_.str.5@PAGE
Lloh44:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
str x19, [sp]
Lloh45:
adrp x0, l_.str.8@PAGE
Lloh46:
add x0, x0, l_.str.8@PAGEOFF
bl _libmin_printf
Lloh47:
adrp x0, l_.str.9@PAGE
Lloh48:
add x0, x0, l_.str.9@PAGEOFF
bl _libmin_printf
Lloh49:
adrp x0, l_.str.10@PAGE
Lloh50:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
Lloh51:
adrp x0, l_.str.11@PAGE
Lloh52:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_printf
Lloh53:
adrp x0, l_.str.12@PAGE
Lloh54:
add x0, x0, l_.str.12@PAGEOFF
bl _libmin_printf
Lloh55:
adrp x0, l_.str.13@PAGE
Lloh56:
add x0, x0, l_.str.13@PAGEOFF
bl _libmin_printf
Lloh57:
adrp x0, l_.str.14@PAGE
Lloh58:
add x0, x0, l_.str.14@PAGEOFF
bl _libmin_printf
Lloh59:
adrp x8, l_.str.17@PAGE
Lloh60:
add x8, x8, l_.str.17@PAGEOFF
Lloh61:
adrp x9, l_.str.16@PAGE
Lloh62:
add x9, x9, l_.str.16@PAGEOFF
stp x9, x8, [sp]
Lloh63:
adrp x0, l_.str.15@PAGE
Lloh64:
add x0, x0, l_.str.15@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _libmin_fail
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh39, Lloh40
.cfi_endproc
; -- End function
.globl _copyr ; -- Begin function copyr
.p2align 2
_copyr: ; @copyr
.cfi_startproc
; %bb.0:
sub sp, sp, #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
Lloh65:
adrp x8, l_.str.19@PAGE
Lloh66:
add x8, x8, l_.str.19@PAGEOFF
Lloh67:
adrp x9, l_.str.6@PAGE
Lloh68:
add x9, x9, l_.str.6@PAGEOFF
stp x9, x8, [sp]
Lloh69:
adrp x0, l_.str.18@PAGE
Lloh70:
add x0, x0, l_.str.18@PAGEOFF
bl _libmin_printf
Lloh71:
adrp x8, l_.str.17@PAGE
Lloh72:
add x10, x8, l_.str.17@PAGEOFF
Lloh73:
adrp x8, l_.str.16@PAGE
Lloh74:
add x8, x8, l_.str.16@PAGEOFF
mov w9, #2018 ; =0x7e2
stp x8, x10, [sp, #8]
str x9, [sp]
Lloh75:
adrp x0, l_.str.20@PAGE
Lloh76:
add x0, x0, l_.str.20@PAGEOFF
bl _libmin_printf
Lloh77:
adrp x8, _verb@PAGE
Lloh78:
ldr w8, [x8, _verb@PAGEOFF]
cmp w8, #4
b.lt LBB2_2
; %bb.1:
str x8, [sp]
Lloh79:
adrp x0, l_.str.21@PAGE
Lloh80:
add x0, x0, l_.str.21@PAGEOFF
bl _libmin_printf
LBB2_2:
mov w0, #1 ; =0x1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
b _libmin_fail
.loh AdrpLdr Lloh77, Lloh78
.loh AdrpAdd Lloh75, Lloh76
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpAdrp Lloh71, Lloh73
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpAdd Lloh69, Lloh70
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpAdd Lloh79, Lloh80
.cfi_endproc
; -- End function
.globl _frac_init ; -- Begin function frac_init
.p2align 2
_frac_init: ; @frac_init
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh81:
adrp x0, l_.str.22@PAGE
Lloh82:
add x0, x0, l_.str.22@PAGEOFF
bl _libmin_printf
Lloh83:
adrp x0, l_.str.23@PAGE
Lloh84:
add x0, x0, l_.str.23@PAGEOFF
bl _libmin_printf
Lloh85:
adrp x8, _minput@PAGE
Lloh86:
ldr x2, [x8, _minput@PAGEOFF]
mov x0, x19
mov w1, #60 ; =0x3c
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _libmin_mgets
.loh AdrpLdr Lloh85, Lloh86
.loh AdrpAdd Lloh83, Lloh84
.loh AdrpAdd Lloh81, Lloh82
.cfi_endproc
; -- End function
.globl _divtokens ; -- Begin function divtokens
.p2align 2
_divtokens: ; @divtokens
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
sub sp, sp, #560
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w27, -56
.cfi_offset w28, -64
mov x19, x1
mov x1, x0
Lloh87:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh88:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh89:
ldr x8, [x8]
stur x8, [x29, #-56]
sub x0, x29, #116
bl _libmin_strcpy
Lloh90:
adrp x1, l_.str.24@PAGE
Lloh91:
add x1, x1, l_.str.24@PAGEOFF
sub x0, x29, #116
bl _libmin_strtok
cbz x0, LBB4_3
; %bb.1:
mov x20, #0 ; =0x0
add x22, sp, #8
Lloh92:
adrp x21, l_.str.24@PAGE
Lloh93:
add x21, x21, l_.str.24@PAGEOFF
LBB4_2: ; =>This Inner Loop Header: Depth=1
str x0, [x22, x20, lsl #3]
mov x0, #0 ; =0x0
mov x1, x21
bl _libmin_strtok
add x20, x20, #1
cbnz x0, LBB4_2
b LBB4_4
LBB4_3:
mov w20, #0 ; =0x0
LBB4_4:
str w20, [x19, #36]
add x0, sp, #8
mov x1, x19
mov x2, x20
bl _avaliatokens
ldur x8, [x29, #-56]
Lloh94:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh95:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh96:
ldr x9, [x9]
cmp x9, x8
b.ne LBB4_6
; %bb.5:
add sp, sp, #560
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #64 ; 16-byte Folded Reload
ret
LBB4_6:
bl ___stack_chk_fail
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh96
.cfi_endproc
; -- End function
.globl _calcula ; -- Begin function calcula
.p2align 2
_calcula: ; @calcula
.cfi_startproc
; %bb.0:
ldr w8, [x0, #4]
ldr w9, [x0, #12]
mul w8, w9, w8
str w8, [x1]
ldr w9, [x0, #40]
sub w9, w9, #1
cmp w9, #3
b.hi LBB5_6
; %bb.1:
Lloh97:
adrp x10, lJTI5_0@PAGE
Lloh98:
add x10, x10, lJTI5_0@PAGEOFF
adr x11, LBB5_2
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
LBB5_2:
ldp w10, w9, [x0]
sdiv w9, w8, w9
mul w9, w10, w9
ldp w11, w10, [x0, #8]
sdiv w10, w8, w10
madd w9, w11, w10, w9
str w9, [x1, #4]
mov w12, #1 ; =0x1
mov x10, x8
mov x11, x9
b LBB5_4
LBB5_3: ; in Loop: Header=BB5_4 Depth=1
add w12, w12, #1
cmp w12, #13
b.eq LBB5_19
LBB5_4: ; =>This Inner Loop Header: Depth=1
sdiv w13, w11, w12
msub w14, w13, w12, w11
cbnz w14, LBB5_3
; %bb.5: ; in Loop: Header=BB5_4 Depth=1
sdiv w14, w10, w12
msub w15, w14, w12, w10
cmp w15, #0
csel w11, w13, w11, eq
csel w10, w14, w10, eq
b LBB5_3
LBB5_6:
movi d0, #0000000000000000
ret
LBB5_7:
ldp w10, w9, [x0]
sdiv w9, w8, w9
mul w9, w10, w9
ldp w11, w10, [x0, #8]
sdiv w10, w8, w10
msub w9, w11, w10, w9
str w9, [x1, #4]
mov w12, #1 ; =0x1
mov x10, x8
mov x11, x9
b LBB5_9
LBB5_8: ; in Loop: Header=BB5_9 Depth=1
add w12, w12, #1
cmp w12, #13
b.eq LBB5_19
LBB5_9: ; =>This Inner Loop Header: Depth=1
sdiv w13, w11, w12
msub w14, w13, w12, w11
cbnz w14, LBB5_8
; %bb.10: ; in Loop: Header=BB5_9 Depth=1
sdiv w14, w10, w12
msub w15, w14, w12, w10
cmp w15, #0
csel w11, w13, w11, eq
csel w10, w14, w10, eq
b LBB5_8
LBB5_11:
ldr w9, [x0]
ldr w10, [x0, #8]
mul w9, w10, w9
str w9, [x1, #4]
mov w12, #1 ; =0x1
mov x10, x8
mov x11, x9
b LBB5_13
LBB5_12: ; in Loop: Header=BB5_13 Depth=1
add w12, w12, #1
cmp w12, #13
b.eq LBB5_19
LBB5_13: ; =>This Inner Loop Header: Depth=1
sdiv w13, w11, w12
msub w14, w13, w12, w11
cbnz w14, LBB5_12
; %bb.14: ; in Loop: Header=BB5_13 Depth=1
sdiv w14, w10, w12
msub w15, w14, w12, w10
cmp w15, #0
csel w11, w13, w11, eq
csel w10, w14, w10, eq
b LBB5_12
LBB5_15:
ldp w8, w9, [x0, #4]
mul w8, w9, w8
str w8, [x1]
ldr w9, [x0]
ldr w10, [x0, #12]
mul w9, w10, w9
str w9, [x1, #4]
mov w12, #1 ; =0x1
mov x10, x8
mov x11, x9
b LBB5_17
LBB5_16: ; in Loop: Header=BB5_17 Depth=1
add w12, w12, #1
cmp w12, #13
b.eq LBB5_19
LBB5_17: ; =>This Inner Loop Header: Depth=1
sdiv w13, w11, w12
msub w14, w13, w12, w11
cbnz w14, LBB5_16
; %bb.18: ; in Loop: Header=BB5_17 Depth=1
sdiv w14, w10, w12
msub w15, w14, w12, w10
cmp w15, #0
csel w11, w13, w11, eq
csel w10, w14, w10, eq
b LBB5_16
LBB5_19:
scvtf s0, w8
scvtf s1, w9
fdiv s0, s1, s0
stp w11, w10, [x1, #12]
ret
.loh AdrpAdd Lloh97, Lloh98
.cfi_endproc
.section __TEXT,__const
lJTI5_0:
.byte (LBB5_2-LBB5_2)>>2
.byte (LBB5_7-LBB5_2)>>2
.byte (LBB5_11-LBB5_2)>>2
.byte (LBB5_15-LBB5_2)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _print ; -- Begin function print
.p2align 2
_print: ; @print
.cfi_startproc
; %bb.0:
sub sp, sp, #112
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
ldr w8, [x2, #40]
mov w9, #43 ; =0x2b
mov w10, #45 ; =0x2d
cmp w8, #2
csel w9, w10, w9, eq
mov w10, #42 ; =0x2a
cmp w8, #3
csel w9, w10, w9, eq
mov w10, #47 ; =0x2f
cmp w8, #4
csel w8, w10, w9, eq
fcvt d0, s0
ldp w10, w9, [x2, #32]
ldp w12, w11, [x2, #24]
ldp w14, w13, [x1]
ldp w15, w16, [x1, #12]
str d0, [sp, #80]
stp x15, x16, [sp, #64]
stp x13, x14, [sp, #48]
stp x11, x12, [sp, #32]
stp x0, x9, [sp]
Lloh99:
adrp x0, l_.str.29@PAGE
Lloh100:
add x0, x0, l_.str.29@PAGEOFF
stp x10, x8, [sp, #16]
bl _libmin_printf
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh99, Lloh100
.cfi_endproc
; -- End function
.globl _avaliatokens ; -- Begin function avaliatokens
.p2align 2
_avaliatokens: ; @avaliatokens
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x20, x1
mov x21, x0
ldr x0, [x0, #16]
Lloh101:
adrp x1, l_.str.25@PAGE
Lloh102:
add x1, x1, l_.str.25@PAGEOFF
bl _libmin_strcmp
cbz w0, LBB7_4
; %bb.1:
ldr x0, [x21, #16]
Lloh103:
adrp x1, l_.str.26@PAGE
Lloh104:
add x1, x1, l_.str.26@PAGEOFF
bl _libmin_strcmp
cbz w0, LBB7_4
; %bb.2:
ldr x0, [x21, #16]
Lloh105:
adrp x1, l_.str.27@PAGE
Lloh106:
add x1, x1, l_.str.27@PAGEOFF
bl _libmin_strcmp
cbz w0, LBB7_4
; %bb.3:
ldr x0, [x21, #16]
Lloh107:
adrp x1, l_.str.28@PAGE
Lloh108:
add x1, x1, l_.str.28@PAGEOFF
bl _libmin_strcmp
LBB7_4:
ldr x0, [x21, #8]
Lloh109:
adrp x1, l_.str.25@PAGE
Lloh110:
add x1, x1, l_.str.25@PAGEOFF
bl _libmin_strcmp
cbz w0, LBB7_10
; %bb.5:
ldr x0, [x21, #8]
Lloh111:
adrp x1, l_.str.26@PAGE
Lloh112:
add x1, x1, l_.str.26@PAGEOFF
bl _libmin_strcmp
cbz w0, LBB7_10
; %bb.6:
ldr x0, [x21, #8]
Lloh113:
adrp x1, l_.str.27@PAGE
Lloh114:
add x1, x1, l_.str.27@PAGEOFF
bl _libmin_strcmp
cbz w0, LBB7_10
; %bb.7:
ldr x0, [x21, #8]
Lloh115:
adrp x1, l_.str.28@PAGE
Lloh116:
add x1, x1, l_.str.28@PAGEOFF
bl _libmin_strcmp
cmp w19, #4
b.ne LBB7_11
; %bb.8:
cbnz w0, LBB7_11
LBB7_9:
mov w0, #2 ; =0x2
b LBB7_12
LBB7_10:
cmp w19, #4
b.eq LBB7_9
LBB7_11:
mov w0, #1 ; =0x1
cmp w19, #1
b.lt LBB7_27
LBB7_12:
str w0, [sp, #12] ; 4-byte Folded Spill
mov w27, #0 ; =0x0
mov w28, #0 ; =0x0
Lloh117:
adrp x23, l_.str.25@PAGE
Lloh118:
add x23, x23, l_.str.25@PAGEOFF
Lloh119:
adrp x24, l_.str.26@PAGE
Lloh120:
add x24, x24, l_.str.26@PAGEOFF
Lloh121:
adrp x25, l_.str.27@PAGE
Lloh122:
add x25, x25, l_.str.27@PAGEOFF
Lloh123:
adrp x26, l_.str.28@PAGE
Lloh124:
add x26, x26, l_.str.28@PAGEOFF
b LBB7_14
LBB7_13: ; in Loop: Header=BB7_14 Depth=1
add w28, w28, #1
cmp w28, w19
b.ge LBB7_26
LBB7_14: ; =>This Loop Header: Depth=1
; Child Loop BB7_25 Depth 2
ldr x0, [x21, w28, sxtw #3]
mov x1, x23
bl _libmin_strcmp
cbz w0, LBB7_16
; %bb.15: ; in Loop: Header=BB7_14 Depth=1
sxtw x22, w28
b LBB7_17
LBB7_16: ; in Loop: Header=BB7_14 Depth=1
mov w8, #1 ; =0x1
str w8, [x20, #40]
add w28, w28, #1
sxtw x22, w28
; kill: def $w28 killed $w28 killed $x28 def $x28
LBB7_17: ; in Loop: Header=BB7_14 Depth=1
ldr x0, [x21, x22, lsl #3]
mov x1, x24
bl _libmin_strcmp
cbnz w0, LBB7_19
; %bb.18: ; in Loop: Header=BB7_14 Depth=1
mov w8, #2 ; =0x2
str w8, [x20, #40]
add w28, w28, #1
sxtw x22, w28
; kill: def $w28 killed $w28 killed $x28 def $x28
LBB7_19: ; in Loop: Header=BB7_14 Depth=1
ldr x0, [x21, x22, lsl #3]
mov x1, x25
bl _libmin_strcmp
cbnz w0, LBB7_21
; %bb.20: ; in Loop: Header=BB7_14 Depth=1
mov w8, #3 ; =0x3
str w8, [x20, #40]
add w28, w28, #1
sxtw x22, w28
; kill: def $w28 killed $w28 killed $x28 def $x28
LBB7_21: ; in Loop: Header=BB7_14 Depth=1
ldr x0, [x21, x22, lsl #3]
mov x1, x26
bl _libmin_strcmp
cbnz w0, LBB7_23
; %bb.22: ; in Loop: Header=BB7_14 Depth=1
mov w8, #4 ; =0x4
str w8, [x20, #40]
add w28, w28, #1
sxtw x22, w28
; kill: def $w28 killed $w28 killed $x28 def $x28
LBB7_23: ; in Loop: Header=BB7_14 Depth=1
ldr x0, [x21, x22, lsl #3]
mov x1, x26
bl _libmin_strtok
cbz x0, LBB7_13
; %bb.24: ; in Loop: Header=BB7_14 Depth=1
add x22, x20, w27, sxtw #2
LBB7_25: ; Parent Loop BB7_14 Depth=1
; => This Inner Loop Header: Depth=2
bl _libmin_atoi
str w0, [x22], #4
mov x0, #0 ; =0x0
mov x1, x26
bl _libmin_strtok
add w27, w27, #1
cbnz x0, LBB7_25
b LBB7_13
LBB7_26:
ldr w0, [sp, #12] ; 4-byte Folded Reload
LBB7_27:
mov x1, x20
mov x2, x19
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 _misto
.loh AdrpAdd Lloh101, Lloh102
.loh AdrpAdd Lloh103, Lloh104
.loh AdrpAdd Lloh105, Lloh106
.loh AdrpAdd Lloh107, Lloh108
.loh AdrpAdd Lloh109, Lloh110
.loh AdrpAdd Lloh111, Lloh112
.loh AdrpAdd Lloh113, Lloh114
.loh AdrpAdd Lloh115, Lloh116
.loh AdrpAdd Lloh123, Lloh124
.loh AdrpAdd Lloh121, Lloh122
.loh AdrpAdd Lloh119, Lloh120
.loh AdrpAdd Lloh117, Lloh118
.cfi_endproc
; -- End function
.globl _misto ; -- Begin function misto
.p2align 2
_misto: ; @misto
.cfi_startproc
; %bb.0:
cmp w2, #3
b.ne LBB8_2
; %bb.1:
ldr w8, [x1]
str w8, [x1, #36]
ldur d0, [x1, #4]
rev64.2s v0, v0
stur d0, [x1, #28]
ldr w8, [x1, #12]
b LBB8_9
LBB8_2:
cmp w0, #2
b.eq LBB8_5
; %bb.3:
cmp w0, #1
b.ne LBB8_6
; %bb.4:
ldp w8, w9, [x1]
ldp w10, w11, [x1, #8]
madd w9, w8, w10, w9
stp w9, w10, [x1]
ldr w8, [x1, #16]
b LBB8_8
LBB8_5:
ldp w10, w8, [x1, #12]
ldr w9, [x1, #8]
madd w9, w9, w8, w10
stp w9, w8, [x1, #8]
ldr d0, [x1]
rev64.2s v0, v0
str d0, [x1, #32]
str w9, [x1, #28]
b LBB8_9
LBB8_6:
cmp w2, #5
b.ne LBB8_10
; %bb.7:
ldp w8, w9, [x1]
ldp w10, w11, [x1, #8]
madd w9, w8, w10, w9
stp w9, w10, [x1]
ldp w12, w8, [x1, #16]
madd w11, w11, w8, w12
LBB8_8:
stp w11, w8, [x1, #8]
stp w10, w9, [x1, #32]
str w11, [x1, #28]
LBB8_9:
str w8, [x1, #24]
LBB8_10:
ret
.cfi_endproc
; -- End function
.globl _simplifica ; -- Begin function simplifica
.p2align 2
_simplifica: ; @simplifica
.cfi_startproc
; %bb.0:
ldp w9, w8, [x0]
mov w10, #1 ; =0x1
b LBB9_2
LBB9_1: ; in Loop: Header=BB9_2 Depth=1
add w10, w10, #1
cmp w10, #13
b.eq LBB9_4
LBB9_2: ; =>This Inner Loop Header: Depth=1
sdiv w11, w8, w10
msub w12, w11, w10, w8
cbnz w12, LBB9_1
; %bb.3: ; in Loop: Header=BB9_2 Depth=1
sdiv w12, w9, w10
msub w13, w12, w10, w9
cmp w13, #0
csel w8, w11, w8, eq
csel w9, w12, w9, eq
b LBB9_1
LBB9_4:
stp w8, w9, [x0, #12]
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl ___input ; @__input
___input:
.ascii " 3/4 + 6 7/19\n1\n7/19 + 21/7\n0\n"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "input.h"
.section __DATA,__data
.globl _input ; @input
.p2align 3, 0x0
_input:
.quad l_.str
.quad 30 ; 0x1e
.quad ___input
.long 0 ; 0x0
.space 4
.globl _minput ; @minput
.p2align 3, 0x0
_minput:
.quad _input
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "vhV"
.zerofill __DATA,__bss,_verb,4,2 ; @verb
l_.str.2: ; @.str.2
.asciz "Type\n\t$man %s\nor\n\t$%s -h\nfor help.\n\n"
l_.str.3: ; @.str.3
.asciz "Verbose level set at: %d\n"
l_.str.4: ; @.str.4
.asciz "\nDo you want to do another operation?\nenter 1 for yes\n"
l_.str.5: ; @.str.5
.asciz "%s - %s\n"
l_.str.6: ; @.str.6
.asciz "frac"
l_.str.7: ; @.str.7
.asciz "Fraction Calculator"
l_.str.8: ; @.str.8
.asciz "\nUsage: %s [-h|-v]\n"
l_.str.9: ; @.str.9
.asciz "\nOptions:\n"
l_.str.10: ; @.str.10
.asciz "\t-h, --help\n\t\tShow this help.\n"
l_.str.11: ; @.str.11
.asciz "\t-V, --version\n\t\tShow version and copyright information.\n"
l_.str.12: ; @.str.12
.asciz "\t-v, --verbose\n\t\tSet verbose level (cumulative).\n"
l_.str.13: ; @.str.13
.asciz "\nExit status:\n\t0 if ok.\n\t1 some error occurred.\n"
l_.str.14: ; @.str.14
.asciz "\nTodo:\n\tLong options not implemented yet.\n"
l_.str.15: ; @.str.15
.asciz "\nAuthor:\n\tWritten by %s <%s>\n\n"
l_.str.16: ; @.str.16
.asciz "Iago Gade Gusmao Carrazzoni"
l_.str.17: ; @.str.17
.asciz "iagocarrazzoni@gmail.com"
l_.str.18: ; @.str.18
.asciz "%s - Version %s\n"
l_.str.19: ; @.str.19
.asciz "20180915.214818"
l_.str.20: ; @.str.20
.asciz "\nCopyright (C) %d %s <%s>, GNU GPL version 2 <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. USE IT AS IT IS. The author takes no responsability to any damage this software may inflige in your data.\n\n"
l_.str.21: ; @.str.21
.asciz "copyr(): Verbose: %d\n"
l_.str.22: ; @.str.22
.asciz "-------------------\n"
l_.str.23: ; @.str.23
.asciz "FRACTION CALCULATOR\nPlease entry the desired operation:\n(It is necessary to add a space between the fractions, like a/b + c/d)\n-> "
l_.str.24: ; @.str.24
.asciz " "
l_.str.25: ; @.str.25
.asciz "+"
l_.str.26: ; @.str.26
.asciz "-"
l_.str.27: ; @.str.27
.asciz "*"
l_.str.28: ; @.str.28
.asciz "/"
l_.str.29: ; @.str.29
.asciz "\nEXPRESSION: %sFRACTION: %d/%d %c %d/%d\nINTERMEDIATE: %d/%d\nRESULT: %d/%d\nDECIMAL: %.3f\n"
.subsections_via_symbols
|
rle-compress.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _run_length_encode ## -- Begin function run_length_encode
.p2align 4, 0x90
_run_length_encode: ## @run_length_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
callq _libmin_strlen
movq %rax, %rbx
movq %r14, %rdi
callq _libmin_strlen
leaq 1(,%rax,2), %rdi
callq _libmin_malloc
movq %rax, -88(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rbx, -96(%rbp) ## 8-byte Spill
testl %ebx, %ebx
jle LBB0_6
## %bb.1:
xorl %r12d, %r12d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl %ebx, %r15d
movzbl (%r14,%r15), %r13d
decq %r15
movl $-1, %ecx
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rax
incl %ecx
incq %r15
cmpb 1(%r14,%rax), %r13b
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
addl %ecx, %ebx
movl $20, %esi
leaq -80(%rbp), %rdi
leaq L_.str(%rip), %rdx
xorl %eax, %eax
callq _libmin_snprintf
movslq %r12d, %r12
movq -88(%rbp), %rax ## 8-byte Reload
addq %r12, %rax
movq %rax, -104(%rbp) ## 8-byte Spill
leaq -80(%rbp), %rdi
callq _libmin_strlen
movq -104(%rbp), %rdi ## 8-byte Reload
leaq -80(%rbp), %rsi
movq %rax, %rdx
callq _libmin_strncpy
leaq -80(%rbp), %rdi
callq _libmin_strlen
leal (%r12,%rax), %ecx
movslq %ecx, %rcx
movq -88(%rbp), %rdx ## 8-byte Reload
movb %r13b, (%rdx,%rcx)
addl %eax, %r12d
incl %r12d
cmpl -96(%rbp), %ebx ## 4-byte Folded Reload
movq %r15, %rbx
jl LBB0_2
## %bb.5:
movslq %r12d, %rax
LBB0_6:
movq -88(%rbp), %rbx ## 8-byte Reload
movb $0, (%rbx,%rax)
movq %rbx, %rdi
callq _libmin_strlen
leaq 1(%rax), %rdi
callq _libmin_malloc
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq _libmin_strcpy
movq %rbx, %rdi
callq _libmin_free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_8
## %bb.7:
movq %r14, %rax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.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.2(%rip), %rdi
callq _run_length_encode
movq %rax, %rbx
leaq L_.str.3(%rip), %rsi
movq %rax, %rdi
callq _libmin_strcmp
testl %eax, %eax
je LBB1_2
## %bb.1:
movl $1, %edi
callq _libmin_fail
LBB1_2:
leaq L_.str.4(%rip), %rdi
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
callq _libmin_free
leaq L_.str.5(%rip), %rdi
callq _run_length_encode
movq %rax, %rbx
leaq L_.str.6(%rip), %rsi
movq %rax, %rdi
callq _libmin_strcmp
testl %eax, %eax
je LBB1_4
## %bb.3:
movl $1, %edi
callq _libmin_fail
LBB1_4:
leaq L_.str.4(%rip), %rdi
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
callq _libmin_free
leaq L_.str.7(%rip), %rdi
callq _run_length_encode
movq %rax, %rbx
leaq L_.str.8(%rip), %rsi
movq %rax, %rdi
callq _libmin_strcmp
testl %eax, %eax
je LBB1_6
## %bb.5:
movl $1, %edi
callq _libmin_fail
LBB1_6:
leaq L_.str.4(%rip), %rdi
leaq L_.str.7(%rip), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %rdi
callq _libmin_free
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
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"
L_.str.1: ## @.str.1
.asciz "All tests have passed!\n"
L_.str.2: ## @.str.2
.asciz "aaaaaaabbbaaccccdefaadr"
L_.str.3: ## @.str.3
.asciz "7a3b2a4c1d1e1f2a1d1r"
L_.str.4: ## @.str.4
.asciz "in: %s -> out: %s\n"
L_.str.5: ## @.str.5
.asciz "lidjhvipdurevbeirbgipeahapoeuhwaipefupwieofb"
L_.str.6: ## @.str.6
.asciz "1l1i1d1j1h1v1i1p1d1u1r1e1v1b1e1i1r1b1g1i1p1e1a1h1a1p1o1e1u1h1w1a1i1p1e1f1u1p1w1i1e1o1f1b"
L_.str.7: ## @.str.7
.asciz "htuuuurwuquququuuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaahghghrw"
L_.str.8: ## @.str.8
.asciz "1h1t4u1r1w1u1q1u1q1u1q3u76a1h1g1h1g1h1r1w"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _run_length_encode ; -- Begin function run_length_encode
.p2align 2
_run_length_encode: ; @run_length_encode
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, 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 _libmin_strlen
mov x21, x0
mov x0, x20
bl _libmin_strlen
mov w8, #1 ; =0x1
orr x0, x8, x0, lsl #1
bl _libmin_malloc
mov x19, x0
cmp w21, #1
b.lt LBB0_6
; %bb.1:
mov w24, #0 ; =0x0
mov x8, #0 ; =0x0
Lloh3:
adrp x22, l_.str@PAGE
Lloh4:
add x22, x22, l_.str@PAGEOFF
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
and x25, x8, #0xffffffff
ldrb w26, [x20, x25]
mov w9, #-1 ; =0xffffffff
LBB0_3: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w10, [x20, x25]
add w9, w9, #1
add x25, x25, #1
cmp w26, w10
b.eq LBB0_3
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
add w27, w8, w9
str x9, [sp]
add x0, sp, #20
mov w1, #20 ; =0x14
mov x2, x22
bl _libmin_snprintf
add x23, x19, w24, sxtw
add x0, sp, #20
bl _libmin_strlen
mov x2, x0
add x1, sp, #20
mov x0, x23
bl _libmin_strncpy
add x0, sp, #20
bl _libmin_strlen
add w8, w24, w0
strb w26, [x19, w8, sxtw]
add w24, w8, #1
sub x8, x25, #1
cmp w27, w21
b.lt LBB0_2
; %bb.5:
sxtw x8, w24
b LBB0_7
LBB0_6:
mov x8, #0 ; =0x0
LBB0_7:
strb wzr, [x19, x8]
mov x0, x19
bl _libmin_strlen
add x0, x0, #1
bl _libmin_malloc
mov x20, x0
mov x1, x19
bl _libmin_strcpy
mov x0, x19
bl _libmin_free
ldr x8, [sp, #40]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_9
; %bb.8:
mov x0, x20
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
LBB0_9:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh8:
adrp x20, l_.str.2@PAGE
Lloh9:
add x20, x20, l_.str.2@PAGEOFF
mov x0, x20
bl _run_length_encode
mov x19, x0
Lloh10:
adrp x1, l_.str.3@PAGE
Lloh11:
add x1, x1, l_.str.3@PAGEOFF
bl _libmin_strcmp
cbz w0, LBB1_2
; %bb.1:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB1_2:
stp x20, x19, [sp]
Lloh12:
adrp x0, l_.str.4@PAGE
Lloh13:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
mov x0, x19
bl _libmin_free
Lloh14:
adrp x20, l_.str.5@PAGE
Lloh15:
add x20, x20, l_.str.5@PAGEOFF
mov x0, x20
bl _run_length_encode
mov x19, x0
Lloh16:
adrp x1, l_.str.6@PAGE
Lloh17:
add x1, x1, l_.str.6@PAGEOFF
bl _libmin_strcmp
cbz w0, LBB1_4
; %bb.3:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB1_4:
stp x20, x19, [sp]
Lloh18:
adrp x0, l_.str.4@PAGE
Lloh19:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
mov x0, x19
bl _libmin_free
Lloh20:
adrp x20, l_.str.7@PAGE
Lloh21:
add x20, x20, l_.str.7@PAGEOFF
mov x0, x20
bl _run_length_encode
mov x19, x0
Lloh22:
adrp x1, l_.str.8@PAGE
Lloh23:
add x1, x1, l_.str.8@PAGEOFF
bl _libmin_strcmp
cbz w0, LBB1_6
; %bb.5:
mov w0, #1 ; =0x1
bl _libmin_fail
LBB1_6:
stp x20, x19, [sp]
Lloh24:
adrp x0, l_.str.4@PAGE
Lloh25:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
mov x0, x19
bl _libmin_free
Lloh26:
adrp x0, l_.str.1@PAGE
Lloh27:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
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 Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "All tests have passed!\n"
l_.str.2: ; @.str.2
.asciz "aaaaaaabbbaaccccdefaadr"
l_.str.3: ; @.str.3
.asciz "7a3b2a4c1d1e1f2a1d1r"
l_.str.4: ; @.str.4
.asciz "in: %s -> out: %s\n"
l_.str.5: ; @.str.5
.asciz "lidjhvipdurevbeirbgipeahapoeuhwaipefupwieofb"
l_.str.6: ; @.str.6
.asciz "1l1i1d1j1h1v1i1p1d1u1r1e1v1b1e1i1r1b1g1i1p1e1a1h1a1p1o1e1u1h1w1a1i1p1e1f1u1p1w1i1e1o1f1b"
l_.str.7: ; @.str.7
.asciz "htuuuurwuquququuuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaahghghrw"
l_.str.8: ; @.str.8
.asciz "1h1t4u1r1w1u1q1u1q1u1q3u76a1h1g1h1g1h1r1w"
.subsections_via_symbols
|
distinctness.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _isDistinct ## -- Begin function isDistinct
.p2align 4, 0x90
_isDistinct: ## @isDistinct
.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 $1552, %rsp ## imm = 0x610
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movl $2147483647, (%rsi) ## imm = 0x7FFFFFFF
leaq L_.memset_pattern(%rip), %rsi
leaq -1568(%rbp), %rdi
movl $1536, %edx ## imm = 0x600
callq _memset_pattern16
movl (%r14), %r8d
movl %r8d, -1568(%rbp)
xorl %edx, %edx
movl $1, %eax
xorl %ecx, %ecx
cmpl $2147483647, %r8d ## imm = 0x7FFFFFFF
jne LBB0_3
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
leaq 1(%rax), %rsi
cmpq $128, %rsi
je LBB0_12
## %bb.1: ## in Loop: Header=BB0_11 Depth=1
cmpq $127, %rax
setae %dl
movl -1568(%rbp), %r8d
movq %rsi, %rax
cmpl $2147483647, %r8d ## imm = 0x7FFFFFFF
je LBB0_11
LBB0_3:
movl -1564(%rbp), %r10d
movl -1560(%rbp), %r9d
movl (%r14,%rax,4), %esi
xorl %edi, %edi
jmp LBB0_4
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_4 Depth=1
cmpl $2147483647, %r9d ## imm = 0x7FFFFFFF
je LBB0_6
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
movl %r9d, %edi
movslq %r9d, %r8
leaq (%r8,%r8,2), %r10
movl -1560(%rbp,%r10,4), %r9d
movl -1568(%rbp,%r10,4), %r8d
movl -1564(%rbp,%r10,4), %r10d
cmpl $2147483647, %r8d ## imm = 0x7FFFFFFF
je LBB0_11
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl %r8d, %esi
jg LBB0_5
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
jge LBB0_15
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
movl %r10d, %r9d
cmpl $2147483647, %r10d ## imm = 0x7FFFFFFF
jne LBB0_10
## %bb.9:
incl %ecx
movslq %edi, %rdx
leaq (%rdx,%rdx,2), %rdx
movl %ecx, -1564(%rbp,%rdx,4)
movslq %ecx, %rdx
leaq (%rdx,%rdx,2), %rdx
movl %esi, -1568(%rbp,%rdx,4)
jmp LBB0_11
.p2align 4, 0x90
LBB0_6:
incl %ecx
movslq %ecx, %rdx
leaq (%rdx,%rdx,2), %r8
movl %esi, -1568(%rbp,%r8,4)
movslq %edi, %rsi
leaq (%rsi,%rsi,2), %rsi
movl %edx, -1560(%rbp,%rsi,4)
jmp LBB0_11
LBB0_15:
movl %esi, (%rbx)
jmp LBB0_13
LBB0_12:
movb $1, %dl
LBB0_13:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_16
## %bb.14:
movzbl %dl, %eax
andl $1, %eax
addq $1552, %rsp ## imm = 0x610
popq %rbx
popq %r14
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq _elements1(%rip), %rdi
leaq -24(%rbp), %rsi
callq _isDistinct
movl %eax, %r14d
leaq _elements2(%rip), %rdi
leaq -20(%rbp), %rsi
callq _isDistinct
movl %eax, %ebx
testl %r14d, %r14d
je LBB1_2
## %bb.1:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testl %ebx, %ebx
je LBB1_5
LBB1_4:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB1_6
LBB1_2:
movl -24(%rbp), %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
testl %ebx, %ebx
jne LBB1_4
LBB1_5:
movl -20(%rbp), %esi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
LBB1_6:
callq _libmin_success
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _elements1 ## @elements1
.p2align 4, 0x0
_elements1:
.long 25 ## 0x19
.long 97 ## 0x61
.long 1 ## 0x1
.long 0 ## 0x0
.long 36 ## 0x24
.long 22 ## 0x16
.long 74 ## 0x4a
.long 3 ## 0x3
.long 9 ## 0x9
.long 12 ## 0xc
.long 30 ## 0x1e
.long 81 ## 0x51
.long 63 ## 0x3f
.long 148 ## 0x94
.long 99 ## 0x63
.long 13 ## 0xd
.long 64 ## 0x40
.long 49 ## 0x31
.long 80 ## 0x50
.long 15 ## 0xf
.long 125 ## 0x7d
.long 197 ## 0xc5
.long 101 ## 0x65
.long 100 ## 0x64
.long 136 ## 0x88
.long 122 ## 0x7a
.long 174 ## 0xae
.long 103 ## 0x67
.long 109 ## 0x6d
.long 112 ## 0x70
.long 130 ## 0x82
.long 181 ## 0xb5
.long 163 ## 0xa3
.long 1148 ## 0x47c
.long 199 ## 0xc7
.long 113 ## 0x71
.long 164 ## 0xa4
.long 149 ## 0x95
.long 180 ## 0xb4
.long 115 ## 0x73
.long 225 ## 0xe1
.long 297 ## 0x129
.long 201 ## 0xc9
.long 200 ## 0xc8
.long 236 ## 0xec
.long 222 ## 0xde
.long 274 ## 0x112
.long 203 ## 0xcb
.long 209 ## 0xd1
.long 212 ## 0xd4
.long 230 ## 0xe6
.long 281 ## 0x119
.long 263 ## 0x107
.long 2148 ## 0x864
.long 299 ## 0x12b
.long 213 ## 0xd5
.long 264 ## 0x108
.long 249 ## 0xf9
.long 280 ## 0x118
.long 215 ## 0xd7
.long 325 ## 0x145
.long 397 ## 0x18d
.long 301 ## 0x12d
.long 300 ## 0x12c
.long 336 ## 0x150
.long 322 ## 0x142
.long 374 ## 0x176
.long 303 ## 0x12f
.long 309 ## 0x135
.long 312 ## 0x138
.long 330 ## 0x14a
.long 381 ## 0x17d
.long 363 ## 0x16b
.long 3148 ## 0xc4c
.long 399 ## 0x18f
.long 313 ## 0x139
.long 364 ## 0x16c
.long 349 ## 0x15d
.long 380 ## 0x17c
.long 315 ## 0x13b
.long 425 ## 0x1a9
.long 497 ## 0x1f1
.long 401 ## 0x191
.long 400 ## 0x190
.long 436 ## 0x1b4
.long 422 ## 0x1a6
.long 474 ## 0x1da
.long 403 ## 0x193
.long 409 ## 0x199
.long 412 ## 0x19c
.long 430 ## 0x1ae
.long 481 ## 0x1e1
.long 463 ## 0x1cf
.long 4148 ## 0x1034
.long 499 ## 0x1f3
.long 413 ## 0x19d
.long 464 ## 0x1d0
.long 449 ## 0x1c1
.long 480 ## 0x1e0
.long 415 ## 0x19f
.long 525 ## 0x20d
.long 597 ## 0x255
.long 501 ## 0x1f5
.long 500 ## 0x1f4
.long 536 ## 0x218
.long 522 ## 0x20a
.long 574 ## 0x23e
.long 503 ## 0x1f7
.long 509 ## 0x1fd
.long 512 ## 0x200
.long 530 ## 0x212
.long 581 ## 0x245
.long 563 ## 0x233
.long 5148 ## 0x141c
.long 599 ## 0x257
.long 513 ## 0x201
.long 564 ## 0x234
.long 549 ## 0x225
.long 580 ## 0x244
.long 515 ## 0x203
.long 625 ## 0x271
.long 697 ## 0x2b9
.long 601 ## 0x259
.long 600 ## 0x258
.long 636 ## 0x27c
.long 622 ## 0x26e
.long 674 ## 0x2a2
.long 603 ## 0x25b
.globl _elements2 ## @elements2
.p2align 4, 0x0
_elements2:
.long 25 ## 0x19
.long 97 ## 0x61
.long 1 ## 0x1
.long 0 ## 0x0
.long 36 ## 0x24
.long 22 ## 0x16
.long 74 ## 0x4a
.long 3 ## 0x3
.long 99 ## 0x63
.long 12 ## 0xc
.long 30 ## 0x1e
.long 81 ## 0x51
.long 63 ## 0x3f
.long 148 ## 0x94
.long 99 ## 0x63
.long 13 ## 0xd
.long 64 ## 0x40
.long 49 ## 0x31
.long 99 ## 0x63
.long 15 ## 0xf
.long 125 ## 0x7d
.long 197 ## 0xc5
.long 101 ## 0x65
.long 100 ## 0x64
.long 136 ## 0x88
.long 122 ## 0x7a
.long 174 ## 0xae
.long 103 ## 0x67
.long 199 ## 0xc7
.long 112 ## 0x70
.long 130 ## 0x82
.long 181 ## 0xb5
.long 163 ## 0xa3
.long 1148 ## 0x47c
.long 119 ## 0x77
.long 113 ## 0x71
.long 164 ## 0xa4
.long 149 ## 0x95
.long 199 ## 0xc7
.long 115 ## 0x73
.long 225 ## 0xe1
.long 297 ## 0x129
.long 201 ## 0xc9
.long 200 ## 0xc8
.long 236 ## 0xec
.long 222 ## 0xde
.long 274 ## 0x112
.long 203 ## 0xcb
.long 299 ## 0x12b
.long 212 ## 0xd4
.long 230 ## 0xe6
.long 281 ## 0x119
.long 263 ## 0x107
.long 2148 ## 0x864
.long 229 ## 0xe5
.long 213 ## 0xd5
.long 264 ## 0x108
.long 249 ## 0xf9
.long 299 ## 0x12b
.long 215 ## 0xd7
.long 325 ## 0x145
.long 397 ## 0x18d
.long 301 ## 0x12d
.long 300 ## 0x12c
.long 336 ## 0x150
.long 322 ## 0x142
.long 374 ## 0x176
.long 303 ## 0x12f
.long 399 ## 0x18f
.long 312 ## 0x138
.long 330 ## 0x14a
.long 381 ## 0x17d
.long 363 ## 0x16b
.long 3148 ## 0xc4c
.long 339 ## 0x153
.long 313 ## 0x139
.long 364 ## 0x16c
.long 349 ## 0x15d
.long 399 ## 0x18f
.long 315 ## 0x13b
.long 425 ## 0x1a9
.long 497 ## 0x1f1
.long 401 ## 0x191
.long 400 ## 0x190
.long 436 ## 0x1b4
.long 422 ## 0x1a6
.long 474 ## 0x1da
.long 403 ## 0x193
.long 409 ## 0x199
.long 412 ## 0x19c
.long 430 ## 0x1ae
.long 481 ## 0x1e1
.long 463 ## 0x1cf
.long 4148 ## 0x1034
.long 499 ## 0x1f3
.long 413 ## 0x19d
.long 464 ## 0x1d0
.long 449 ## 0x1c1
.long 480 ## 0x1e0
.long 415 ## 0x19f
.long 525 ## 0x20d
.long 597 ## 0x255
.long 501 ## 0x1f5
.long 500 ## 0x1f4
.long 536 ## 0x218
.long 522 ## 0x20a
.long 574 ## 0x23e
.long 503 ## 0x1f7
.long 509 ## 0x1fd
.long 512 ## 0x200
.long 530 ## 0x212
.long 581 ## 0x245
.long 563 ## 0x233
.long 5148 ## 0x141c
.long 599 ## 0x257
.long 513 ## 0x201
.long 564 ## 0x234
.long 549 ## 0x225
.long 580 ## 0x244
.long 515 ## 0x203
.long 625 ## 0x271
.long 697 ## 0x2b9
.long 601 ## 0x259
.long 600 ## 0x258
.long 636 ## 0x27c
.long 622 ## 0x26e
.long 674 ## 0x2a2
.long 603 ## 0x25b
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The elements of `elements1' are distinct\n"
L_.str.1: ## @.str.1
.asciz "The elements of `elements1' are not distinct (e.g., %d is duplicated)\n"
L_.str.2: ## @.str.2
.asciz "The elements of `elements2' are distinct\n"
L_.str.3: ## @.str.3
.asciz "The elements of `elements2' are not distinct (e.g., %d is duplicated)\n"
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## @.memset_pattern
L_.memset_pattern:
.long 2147483647 ## 0x7fffffff
.long 2147483647 ## 0x7fffffff
.long 2147483647 ## 0x7fffffff
.long 2147483647 ## 0x7fffffff
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _isDistinct ; -- Begin function isDistinct
.p2align 2
_isDistinct: ; @isDistinct
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
sub sp, sp, #1552
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w27, -56
.cfi_offset w28, -64
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
mov w21, #2147483647 ; =0x7fffffff
str w21, [x1]
Lloh3:
adrp x1, l_.memset_pattern@PAGE
Lloh4:
add x1, x1, l_.memset_pattern@PAGEOFF
add x22, sp, #8
add x0, sp, #8
mov w2, #1536 ; =0x600
bl _memset_pattern16
mov w11, #0 ; =0x0
mov w10, #0 ; =0x0
ldr w14, [x20]
str w14, [sp, #8]
mov w9, #1 ; =0x1
mov w8, #12 ; =0xc
cmp w14, w21
b.ne LBB0_3
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x12, x9, #1
cmp x12, #128
b.eq LBB0_12
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
cmp x9, #126
cset w11, hi
ldr w14, [sp, #8]
mov x9, x12
cmp w14, w21
b.eq LBB0_1
LBB0_3:
mov w13, #0 ; =0x0
ldp w16, w15, [sp, #12]
ldr w12, [x20, x9, lsl #2]
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
cmp w15, w21
b.eq LBB0_10
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
mov x13, x15
smaddl x14, w15, w8, x22
ldp w16, w15, [x14, #4]
ldr w14, [x14]
cmp w14, w21
b.eq LBB0_1
LBB0_6: ; =>This Inner Loop Header: Depth=1
cmp w12, w14
b.gt LBB0_4
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
b.ge LBB0_11
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
mov x15, x16
cmp w16, w21
b.ne LBB0_5
; %bb.9:
; kill: def $w10 killed $w10 killed $x10 def $x10
sxtw x10, w10
add x10, x10, #1
smaddl x11, w13, w8, x22
str w10, [x11, #4]
mul x11, x10, x8
str w12, [x22, x11]
; kill: def $w10 killed $w10 killed $x10 def $x10
b LBB0_1
LBB0_10:
sxtw x10, w10
add x10, x10, #1
mul x11, x10, x8
str w12, [x22, x11]
smaddl x11, w13, w8, x22
str w10, [x11, #8]
; kill: def $w10 killed $w10 killed $x10 def $x10
b LBB0_1
LBB0_11:
str w12, [x19]
b LBB0_13
LBB0_12:
mov w11, #1 ; =0x1
LBB0_13:
ldur x8, [x29, #-56]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_15
; %bb.14:
and w0, w11, #0x1
add sp, sp, #1552
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_15:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
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
sub sp, sp, #1552
.cfi_def_cfa w29, 16
.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
Lloh8:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh11:
adrp x1, l_.memset_pattern@PAGE
Lloh12:
add x1, x1, l_.memset_pattern@PAGEOFF
add x21, sp, #8
add x0, sp, #8
mov w2, #1536 ; =0x600
bl _memset_pattern16
mov w19, #0 ; =0x0
mov w12, #0 ; =0x0
Lloh13:
adrp x8, _elements1@PAGE
Lloh14:
ldr w14, [x8, _elements1@PAGEOFF]
str w14, [sp, #8]
mov w11, #1 ; =0x1
mov w8, #2147483647 ; =0x7fffffff
Lloh15:
adrp x9, _elements1@PAGE
Lloh16:
add x9, x9, _elements1@PAGEOFF
mov w10, #12 ; =0xc
cmp w14, w8
b.ne LBB1_3
LBB1_1: ; =>This Inner Loop Header: Depth=1
add x13, x11, #1
cmp x13, #128
b.eq LBB1_11
; %bb.2: ; in Loop: Header=BB1_1 Depth=1
cmp x11, #126
cset w19, hi
ldr w14, [sp, #8]
mov x11, x13
cmp w14, w8
b.eq LBB1_1
LBB1_3:
mov w13, #0 ; =0x0
ldp w16, w15, [sp, #12]
ldr w20, [x9, x11, lsl #2]
b LBB1_6
LBB1_4: ; in Loop: Header=BB1_6 Depth=1
cmp w15, w8
b.eq LBB1_10
LBB1_5: ; in Loop: Header=BB1_6 Depth=1
mov x13, x15
smaddl x14, w15, w10, x21
ldp w16, w15, [x14, #4]
ldr w14, [x14]
cmp w14, w8
b.eq LBB1_1
LBB1_6: ; =>This Inner Loop Header: Depth=1
cmp w20, w14
b.gt LBB1_4
; %bb.7: ; in Loop: Header=BB1_6 Depth=1
b.ge LBB1_12
; %bb.8: ; in Loop: Header=BB1_6 Depth=1
mov x15, x16
cmp w16, w8
b.ne LBB1_5
; %bb.9:
; kill: def $w12 killed $w12 killed $x12 def $x12
sxtw x12, w12
add x12, x12, #1
smaddl x13, w13, w10, x21
str w12, [x13, #4]
mul x13, x12, x10
str w20, [x21, x13]
; kill: def $w12 killed $w12 killed $x12 def $x12
b LBB1_1
LBB1_10:
sxtw x12, w12
add x12, x12, #1
mul x14, x12, x10
str w20, [x21, x14]
smaddl x13, w13, w10, x21
str w12, [x13, #8]
; kill: def $w12 killed $w12 killed $x12 def $x12
b LBB1_1
LBB1_11:
mov w19, #1 ; =0x1
mov w20, #2147483647 ; =0x7fffffff
LBB1_12:
Lloh17:
adrp x1, l_.memset_pattern@PAGE
Lloh18:
add x1, x1, l_.memset_pattern@PAGEOFF
add x21, sp, #8
add x0, sp, #8
mov w2, #1536 ; =0x600
bl _memset_pattern16
mov w22, #0 ; =0x0
mov w12, #0 ; =0x0
Lloh19:
adrp x8, _elements2@PAGE
Lloh20:
ldr w14, [x8, _elements2@PAGEOFF]
str w14, [sp, #8]
mov w11, #1 ; =0x1
mov w8, #2147483647 ; =0x7fffffff
Lloh21:
adrp x9, _elements2@PAGE
Lloh22:
add x9, x9, _elements2@PAGEOFF
mov w10, #12 ; =0xc
cmp w14, w8
b.ne LBB1_15
LBB1_13: ; =>This Inner Loop Header: Depth=1
add x13, x11, #1
cmp x13, #128
b.eq LBB1_23
; %bb.14: ; in Loop: Header=BB1_13 Depth=1
cmp x11, #126
cset w22, hi
ldr w14, [sp, #8]
mov x11, x13
cmp w14, w8
b.eq LBB1_13
LBB1_15:
mov w13, #0 ; =0x0
ldp w16, w15, [sp, #12]
ldr w23, [x9, x11, lsl #2]
b LBB1_18
LBB1_16: ; in Loop: Header=BB1_18 Depth=1
cmp w15, w8
b.eq LBB1_22
LBB1_17: ; in Loop: Header=BB1_18 Depth=1
mov x13, x15
smaddl x14, w15, w10, x21
ldp w16, w15, [x14, #4]
ldr w14, [x14]
cmp w14, w8
b.eq LBB1_13
LBB1_18: ; =>This Inner Loop Header: Depth=1
cmp w23, w14
b.gt LBB1_16
; %bb.19: ; in Loop: Header=BB1_18 Depth=1
b.ge LBB1_24
; %bb.20: ; in Loop: Header=BB1_18 Depth=1
mov x15, x16
cmp w16, w8
b.ne LBB1_17
; %bb.21:
; kill: def $w12 killed $w12 killed $x12 def $x12
sxtw x12, w12
add x12, x12, #1
smaddl x13, w13, w10, x21
str w12, [x13, #4]
mul x13, x12, x10
str w23, [x21, x13]
; kill: def $w12 killed $w12 killed $x12 def $x12
b LBB1_13
LBB1_22:
sxtw x12, w12
add x12, x12, #1
mul x14, x12, x10
str w23, [x21, x14]
smaddl x13, w13, w10, x21
str w12, [x13, #8]
; kill: def $w12 killed $w12 killed $x12 def $x12
b LBB1_13
LBB1_23:
mov w22, #1 ; =0x1
mov w23, #2147483647 ; =0x7fffffff
LBB1_24:
tbz w19, #0, LBB1_27
; %bb.25:
Lloh23:
adrp x0, l_.str@PAGE
Lloh24:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
tbnz w22, #0, LBB1_28
LBB1_26:
str x23, [sp]
Lloh25:
adrp x0, l_.str.3@PAGE
Lloh26:
add x0, x0, l_.str.3@PAGEOFF
b LBB1_29
LBB1_27:
str x20, [sp]
Lloh27:
adrp x0, l_.str.1@PAGE
Lloh28:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
tbz w22, #0, LBB1_26
LBB1_28:
Lloh29:
adrp x0, l_.str.2@PAGE
Lloh30:
add x0, x0, l_.str.2@PAGEOFF
LBB1_29:
bl _libmin_printf
bl _libmin_success
ldur x8, [x29, #-56]
Lloh31:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh32:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_31
; %bb.30:
mov w0, #0 ; =0x0
add sp, sp, #1552
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB1_31:
bl ___stack_chk_fail
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdr Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdr Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _elements1 ; @elements1
.p2align 2, 0x0
_elements1:
.long 25 ; 0x19
.long 97 ; 0x61
.long 1 ; 0x1
.long 0 ; 0x0
.long 36 ; 0x24
.long 22 ; 0x16
.long 74 ; 0x4a
.long 3 ; 0x3
.long 9 ; 0x9
.long 12 ; 0xc
.long 30 ; 0x1e
.long 81 ; 0x51
.long 63 ; 0x3f
.long 148 ; 0x94
.long 99 ; 0x63
.long 13 ; 0xd
.long 64 ; 0x40
.long 49 ; 0x31
.long 80 ; 0x50
.long 15 ; 0xf
.long 125 ; 0x7d
.long 197 ; 0xc5
.long 101 ; 0x65
.long 100 ; 0x64
.long 136 ; 0x88
.long 122 ; 0x7a
.long 174 ; 0xae
.long 103 ; 0x67
.long 109 ; 0x6d
.long 112 ; 0x70
.long 130 ; 0x82
.long 181 ; 0xb5
.long 163 ; 0xa3
.long 1148 ; 0x47c
.long 199 ; 0xc7
.long 113 ; 0x71
.long 164 ; 0xa4
.long 149 ; 0x95
.long 180 ; 0xb4
.long 115 ; 0x73
.long 225 ; 0xe1
.long 297 ; 0x129
.long 201 ; 0xc9
.long 200 ; 0xc8
.long 236 ; 0xec
.long 222 ; 0xde
.long 274 ; 0x112
.long 203 ; 0xcb
.long 209 ; 0xd1
.long 212 ; 0xd4
.long 230 ; 0xe6
.long 281 ; 0x119
.long 263 ; 0x107
.long 2148 ; 0x864
.long 299 ; 0x12b
.long 213 ; 0xd5
.long 264 ; 0x108
.long 249 ; 0xf9
.long 280 ; 0x118
.long 215 ; 0xd7
.long 325 ; 0x145
.long 397 ; 0x18d
.long 301 ; 0x12d
.long 300 ; 0x12c
.long 336 ; 0x150
.long 322 ; 0x142
.long 374 ; 0x176
.long 303 ; 0x12f
.long 309 ; 0x135
.long 312 ; 0x138
.long 330 ; 0x14a
.long 381 ; 0x17d
.long 363 ; 0x16b
.long 3148 ; 0xc4c
.long 399 ; 0x18f
.long 313 ; 0x139
.long 364 ; 0x16c
.long 349 ; 0x15d
.long 380 ; 0x17c
.long 315 ; 0x13b
.long 425 ; 0x1a9
.long 497 ; 0x1f1
.long 401 ; 0x191
.long 400 ; 0x190
.long 436 ; 0x1b4
.long 422 ; 0x1a6
.long 474 ; 0x1da
.long 403 ; 0x193
.long 409 ; 0x199
.long 412 ; 0x19c
.long 430 ; 0x1ae
.long 481 ; 0x1e1
.long 463 ; 0x1cf
.long 4148 ; 0x1034
.long 499 ; 0x1f3
.long 413 ; 0x19d
.long 464 ; 0x1d0
.long 449 ; 0x1c1
.long 480 ; 0x1e0
.long 415 ; 0x19f
.long 525 ; 0x20d
.long 597 ; 0x255
.long 501 ; 0x1f5
.long 500 ; 0x1f4
.long 536 ; 0x218
.long 522 ; 0x20a
.long 574 ; 0x23e
.long 503 ; 0x1f7
.long 509 ; 0x1fd
.long 512 ; 0x200
.long 530 ; 0x212
.long 581 ; 0x245
.long 563 ; 0x233
.long 5148 ; 0x141c
.long 599 ; 0x257
.long 513 ; 0x201
.long 564 ; 0x234
.long 549 ; 0x225
.long 580 ; 0x244
.long 515 ; 0x203
.long 625 ; 0x271
.long 697 ; 0x2b9
.long 601 ; 0x259
.long 600 ; 0x258
.long 636 ; 0x27c
.long 622 ; 0x26e
.long 674 ; 0x2a2
.long 603 ; 0x25b
.globl _elements2 ; @elements2
.p2align 2, 0x0
_elements2:
.long 25 ; 0x19
.long 97 ; 0x61
.long 1 ; 0x1
.long 0 ; 0x0
.long 36 ; 0x24
.long 22 ; 0x16
.long 74 ; 0x4a
.long 3 ; 0x3
.long 99 ; 0x63
.long 12 ; 0xc
.long 30 ; 0x1e
.long 81 ; 0x51
.long 63 ; 0x3f
.long 148 ; 0x94
.long 99 ; 0x63
.long 13 ; 0xd
.long 64 ; 0x40
.long 49 ; 0x31
.long 99 ; 0x63
.long 15 ; 0xf
.long 125 ; 0x7d
.long 197 ; 0xc5
.long 101 ; 0x65
.long 100 ; 0x64
.long 136 ; 0x88
.long 122 ; 0x7a
.long 174 ; 0xae
.long 103 ; 0x67
.long 199 ; 0xc7
.long 112 ; 0x70
.long 130 ; 0x82
.long 181 ; 0xb5
.long 163 ; 0xa3
.long 1148 ; 0x47c
.long 119 ; 0x77
.long 113 ; 0x71
.long 164 ; 0xa4
.long 149 ; 0x95
.long 199 ; 0xc7
.long 115 ; 0x73
.long 225 ; 0xe1
.long 297 ; 0x129
.long 201 ; 0xc9
.long 200 ; 0xc8
.long 236 ; 0xec
.long 222 ; 0xde
.long 274 ; 0x112
.long 203 ; 0xcb
.long 299 ; 0x12b
.long 212 ; 0xd4
.long 230 ; 0xe6
.long 281 ; 0x119
.long 263 ; 0x107
.long 2148 ; 0x864
.long 229 ; 0xe5
.long 213 ; 0xd5
.long 264 ; 0x108
.long 249 ; 0xf9
.long 299 ; 0x12b
.long 215 ; 0xd7
.long 325 ; 0x145
.long 397 ; 0x18d
.long 301 ; 0x12d
.long 300 ; 0x12c
.long 336 ; 0x150
.long 322 ; 0x142
.long 374 ; 0x176
.long 303 ; 0x12f
.long 399 ; 0x18f
.long 312 ; 0x138
.long 330 ; 0x14a
.long 381 ; 0x17d
.long 363 ; 0x16b
.long 3148 ; 0xc4c
.long 339 ; 0x153
.long 313 ; 0x139
.long 364 ; 0x16c
.long 349 ; 0x15d
.long 399 ; 0x18f
.long 315 ; 0x13b
.long 425 ; 0x1a9
.long 497 ; 0x1f1
.long 401 ; 0x191
.long 400 ; 0x190
.long 436 ; 0x1b4
.long 422 ; 0x1a6
.long 474 ; 0x1da
.long 403 ; 0x193
.long 409 ; 0x199
.long 412 ; 0x19c
.long 430 ; 0x1ae
.long 481 ; 0x1e1
.long 463 ; 0x1cf
.long 4148 ; 0x1034
.long 499 ; 0x1f3
.long 413 ; 0x19d
.long 464 ; 0x1d0
.long 449 ; 0x1c1
.long 480 ; 0x1e0
.long 415 ; 0x19f
.long 525 ; 0x20d
.long 597 ; 0x255
.long 501 ; 0x1f5
.long 500 ; 0x1f4
.long 536 ; 0x218
.long 522 ; 0x20a
.long 574 ; 0x23e
.long 503 ; 0x1f7
.long 509 ; 0x1fd
.long 512 ; 0x200
.long 530 ; 0x212
.long 581 ; 0x245
.long 563 ; 0x233
.long 5148 ; 0x141c
.long 599 ; 0x257
.long 513 ; 0x201
.long 564 ; 0x234
.long 549 ; 0x225
.long 580 ; 0x244
.long 515 ; 0x203
.long 625 ; 0x271
.long 697 ; 0x2b9
.long 601 ; 0x259
.long 600 ; 0x258
.long 636 ; 0x27c
.long 622 ; 0x26e
.long 674 ; 0x2a2
.long 603 ; 0x25b
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The elements of `elements1' are distinct\n"
l_.str.1: ; @.str.1
.asciz "The elements of `elements1' are not distinct (e.g., %d is duplicated)\n"
l_.str.2: ; @.str.2
.asciz "The elements of `elements2' are distinct\n"
l_.str.3: ; @.str.3
.asciz "The elements of `elements2' are not distinct (e.g., %d is duplicated)\n"
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; @.memset_pattern
l_.memset_pattern:
.long 2147483647 ; 0x7fffffff
.long 2147483647 ; 0x7fffffff
.long 2147483647 ; 0x7fffffff
.long 2147483647 ; 0x7fffffff
.subsections_via_symbols
|
qsort-test.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _int_compare ## -- Begin function int_compare
.p2align 4, 0x90
_int_compare: ## @int_compare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
subl (%rsi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_sorted ## -- Begin function is_sorted
.p2align 4, 0x90
_is_sorted: ## @is_sorted
.cfi_startproc
## %bb.0:
movl $1, %eax
cmpq $2, %rsi
jb LBB1_7
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl 4(%rdi), %ecx
xorl %eax, %eax
cmpl %ecx, (%rdi)
jg LBB1_6
## %bb.2:
movl $2, %eax
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
movq %rax, %rdx
cmpq %rax, %rsi
je LBB1_5
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movl (%rdi,%rdx,4), %r8d
leaq 1(%rdx), %rax
cmpl %r8d, %ecx
movl %r8d, %ecx
jle LBB1_3
LBB1_5:
xorl %eax, %eax
cmpq %rsi, %rdx
setae %al
LBB1_6:
popq %rbp
LBB1_7:
retq
.cfi_endproc
## -- End function
.globl _print_array ## -- Begin function print_array
.p2align 4, 0x90
_print_array: ## @print_array
.cfi_startproc
## %bb.0:
testq %rsi, %rsi
je LBB2_4
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq L_.str(%rip), %r15
xorl %r12d, %r12d
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl (%r14,%r12,4), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r12
cmpq %r12, %rbx
jne LBB2_2
## %bb.3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
LBB2_4:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _string_compare ## -- Begin function string_compare
.p2align 4, 0x90
_string_compare: ## @string_compare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rdi
movq (%rsi), %rsi
popq %rbp
jmp _libmin_strcmp ## TAILCALL
.cfi_endproc
## -- End function
.globl _is_sorted_string_array ## -- Begin function is_sorted_string_array
.p2align 4, 0x90
_is_sorted_string_array: ## @is_sorted_string_array
.cfi_startproc
## %bb.0:
movl $1, %eax
cmpq $2, %rsi
jb LBB4_7
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
movq 8(%r14), %rsi
callq _libmin_strcmp
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jg LBB4_6
## %bb.2:
movl $2, %ecx
.p2align 4, 0x90
LBB4_3: ## =>This Inner Loop Header: Depth=1
movq %rcx, %r15
cmpq %rcx, %rbx
je LBB4_5
## %bb.4: ## in Loop: Header=BB4_3 Depth=1
movq -8(%r14,%r15,8), %rdi
movq (%r14,%r15,8), %rsi
callq _libmin_strcmp
leaq 1(%r15), %rcx
testl %eax, %eax
jle LBB4_3
LBB4_5:
xorl %eax, %eax
cmpq %rbx, %r15
setae %al
LBB4_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
LBB4_7:
retq
.cfi_endproc
## -- End function
.globl _print_string_array ## -- Begin function print_string_array
.p2align 4, 0x90
_print_string_array: ## @print_string_array
.cfi_startproc
## %bb.0:
testq %rsi, %rsi
je LBB5_4
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq L_.str.2(%rip), %r15
xorl %r12d, %r12d
.p2align 4, 0x90
LBB5_2: ## =>This Inner Loop Header: Depth=1
movq (%r14,%r12,8), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r12
cmpq %r12, %rbx
jne LBB5_2
## %bb.3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
LBB5_4:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function main
LCPI6_0:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
LCPI6_1:
.long 4 ## 0x4
.long 5 ## 0x5
.long 6 ## 0x6
.long 7 ## 0x7
LCPI6_2:
.long 8 ## 0x8
.long 9 ## 0x9
.long 10 ## 0xa
.long 11 ## 0xb
LCPI6_3:
.long 12 ## 0xc
.long 13 ## 0xd
.long 14 ## 0xe
.long 15 ## 0xf
LCPI6_4:
.long 16 ## 0x10
.long 17 ## 0x11
.long 18 ## 0x12
.long 19 ## 0x13
LCPI6_5:
.long 20 ## 0x14
.long 21 ## 0x15
.long 22 ## 0x16
.long 23 ## 0x17
LCPI6_6:
.long 24 ## 0x18
.long 25 ## 0x19
.long 26 ## 0x1a
.long 27 ## 0x1b
LCPI6_7:
.long 28 ## 0x1c
.long 29 ## 0x1d
.long 30 ## 0x1e
.long 31 ## 0x1f
LCPI6_8:
.long 32 ## 0x20
.long 33 ## 0x21
.long 34 ## 0x22
.long 35 ## 0x23
LCPI6_9:
.long 36 ## 0x24
.long 37 ## 0x25
.long 38 ## 0x26
.long 39 ## 0x27
LCPI6_10:
.long 39 ## 0x27
.long 38 ## 0x26
.long 37 ## 0x25
.long 36 ## 0x24
LCPI6_11:
.long 35 ## 0x23
.long 34 ## 0x22
.long 33 ## 0x21
.long 32 ## 0x20
LCPI6_12:
.long 31 ## 0x1f
.long 30 ## 0x1e
.long 29 ## 0x1d
.long 28 ## 0x1c
LCPI6_13:
.long 27 ## 0x1b
.long 26 ## 0x1a
.long 25 ## 0x19
.long 24 ## 0x18
LCPI6_14:
.long 23 ## 0x17
.long 22 ## 0x16
.long 21 ## 0x15
.long 20 ## 0x14
LCPI6_15:
.long 19 ## 0x13
.long 18 ## 0x12
.long 17 ## 0x11
.long 16 ## 0x10
LCPI6_16:
.long 15 ## 0xf
.long 14 ## 0xe
.long 13 ## 0xd
.long 12 ## 0xc
LCPI6_17:
.long 11 ## 0xb
.long 10 ## 0xa
.long 9 ## 0x9
.long 8 ## 0x8
LCPI6_18:
.long 7 ## 0x7
.long 6 ## 0x6
.long 5 ## 0x5
.long 4 ## 0x4
LCPI6_19:
.long 3 ## 0x3
.long 2 ## 0x2
.long 1 ## 0x1
.long 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $912, %rsp ## imm = 0x390
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
leaq l___const.main.test1(%rip), %rsi
leaq -192(%rbp), %rbx
movl $160, %edx
movq %rbx, %rdi
callq _memcpy
leaq _int_compare(%rip), %rcx
movl $40, %esi
movl $4, %edx
movq %rbx, %rdi
callq _libmin_qsort
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str(%rip), %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB6_1: ## =>This Inner Loop Header: Depth=1
movl -192(%rbp,%r14,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r14
cmpq $40, %r14
jne LBB6_1
## %bb.2:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl -188(%rbp), %ecx
cmpl %ecx, -192(%rbp)
jg LBB6_11
## %bb.3:
xorl %eax, %eax
leaq L_.str.4(%rip), %rdi
.p2align 4, 0x90
LBB6_4: ## =>This Inner Loop Header: Depth=1
movl -184(%rbp,%rax,4), %esi
cmpl %esi, %ecx
jg LBB6_9
## %bb.5: ## in Loop: Header=BB6_4 Depth=1
movl -180(%rbp,%rax,4), %edx
cmpl %edx, %esi
jg LBB6_8
## %bb.6: ## in Loop: Header=BB6_4 Depth=1
cmpq $36, %rax
je LBB6_12
## %bb.7: ## in Loop: Header=BB6_4 Depth=1
movl -176(%rbp,%rax,4), %ecx
addq $3, %rax
cmpl %ecx, %edx
jle LBB6_4
jmp LBB6_10
LBB6_9:
incq %rax
LBB6_10:
cmpq $38, %rax
ja LBB6_12
LBB6_11:
leaq L_.str.5(%rip), %rdi
LBB6_12:
xorl %eax, %eax
callq _libmin_printf
leaq l___const.main.test2(%rip), %rsi
leaq -352(%rbp), %rbx
movl $160, %edx
movq %rbx, %rdi
callq _memcpy
leaq _int_compare(%rip), %rcx
movl $40, %esi
movl $4, %edx
movq %rbx, %rdi
callq _libmin_qsort
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str(%rip), %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB6_13: ## =>This Inner Loop Header: Depth=1
movl -352(%rbp,%r14,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r14
cmpq $40, %r14
jne LBB6_13
## %bb.14:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl -348(%rbp), %ecx
cmpl %ecx, -352(%rbp)
jg LBB6_23
## %bb.15:
xorl %eax, %eax
leaq L_.str.7(%rip), %rdi
.p2align 4, 0x90
LBB6_16: ## =>This Inner Loop Header: Depth=1
movl -344(%rbp,%rax,4), %esi
cmpl %esi, %ecx
jg LBB6_21
## %bb.17: ## in Loop: Header=BB6_16 Depth=1
movl -340(%rbp,%rax,4), %edx
cmpl %edx, %esi
jg LBB6_20
## %bb.18: ## in Loop: Header=BB6_16 Depth=1
cmpq $36, %rax
je LBB6_24
## %bb.19: ## in Loop: Header=BB6_16 Depth=1
movl -336(%rbp,%rax,4), %ecx
addq $3, %rax
cmpl %ecx, %edx
jle LBB6_16
jmp LBB6_22
LBB6_21:
incq %rax
LBB6_22:
cmpq $38, %rax
ja LBB6_24
LBB6_23:
leaq L_.str.8(%rip), %rdi
LBB6_24:
xorl %eax, %eax
callq _libmin_printf
movaps LCPI6_0(%rip), %xmm0 ## xmm0 = [0,1,2,3]
movaps %xmm0, -512(%rbp)
movaps LCPI6_1(%rip), %xmm0 ## xmm0 = [4,5,6,7]
movaps %xmm0, -496(%rbp)
movaps LCPI6_2(%rip), %xmm0 ## xmm0 = [8,9,10,11]
movaps %xmm0, -480(%rbp)
movaps LCPI6_3(%rip), %xmm0 ## xmm0 = [12,13,14,15]
movaps %xmm0, -464(%rbp)
movaps LCPI6_4(%rip), %xmm0 ## xmm0 = [16,17,18,19]
movaps %xmm0, -448(%rbp)
movaps LCPI6_5(%rip), %xmm0 ## xmm0 = [20,21,22,23]
movaps %xmm0, -432(%rbp)
movaps LCPI6_6(%rip), %xmm0 ## xmm0 = [24,25,26,27]
movaps %xmm0, -416(%rbp)
movaps LCPI6_7(%rip), %xmm0 ## xmm0 = [28,29,30,31]
movaps %xmm0, -400(%rbp)
movaps LCPI6_8(%rip), %xmm0 ## xmm0 = [32,33,34,35]
movaps %xmm0, -384(%rbp)
movaps LCPI6_9(%rip), %xmm0 ## xmm0 = [36,37,38,39]
movaps %xmm0, -368(%rbp)
leaq _int_compare(%rip), %rcx
leaq -512(%rbp), %rdi
movl $40, %esi
movl $4, %edx
callq _libmin_qsort
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str(%rip), %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB6_25: ## =>This Inner Loop Header: Depth=1
movl -512(%rbp,%r14,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r14
cmpq $40, %r14
jne LBB6_25
## %bb.26:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl -508(%rbp), %ecx
cmpl %ecx, -512(%rbp)
jg LBB6_35
## %bb.27:
xorl %eax, %eax
leaq L_.str.10(%rip), %rdi
.p2align 4, 0x90
LBB6_28: ## =>This Inner Loop Header: Depth=1
movl -504(%rbp,%rax,4), %esi
cmpl %esi, %ecx
jg LBB6_33
## %bb.29: ## in Loop: Header=BB6_28 Depth=1
movl -500(%rbp,%rax,4), %edx
cmpl %edx, %esi
jg LBB6_32
## %bb.30: ## in Loop: Header=BB6_28 Depth=1
cmpq $36, %rax
je LBB6_36
## %bb.31: ## in Loop: Header=BB6_28 Depth=1
movl -496(%rbp,%rax,4), %ecx
addq $3, %rax
cmpl %ecx, %edx
jle LBB6_28
jmp LBB6_34
LBB6_33:
incq %rax
LBB6_34:
cmpq $38, %rax
ja LBB6_36
LBB6_35:
leaq L_.str.11(%rip), %rdi
LBB6_36:
xorl %eax, %eax
callq _libmin_printf
movaps LCPI6_10(%rip), %xmm0 ## xmm0 = [39,38,37,36]
movaps %xmm0, -672(%rbp)
movaps LCPI6_11(%rip), %xmm0 ## xmm0 = [35,34,33,32]
movaps %xmm0, -656(%rbp)
movaps LCPI6_12(%rip), %xmm0 ## xmm0 = [31,30,29,28]
movaps %xmm0, -640(%rbp)
movaps LCPI6_13(%rip), %xmm0 ## xmm0 = [27,26,25,24]
movaps %xmm0, -624(%rbp)
movaps LCPI6_14(%rip), %xmm0 ## xmm0 = [23,22,21,20]
movaps %xmm0, -608(%rbp)
movaps LCPI6_15(%rip), %xmm0 ## xmm0 = [19,18,17,16]
movaps %xmm0, -592(%rbp)
movaps LCPI6_16(%rip), %xmm0 ## xmm0 = [15,14,13,12]
movaps %xmm0, -576(%rbp)
movaps LCPI6_17(%rip), %xmm0 ## xmm0 = [11,10,9,8]
movaps %xmm0, -560(%rbp)
movaps LCPI6_18(%rip), %xmm0 ## xmm0 = [7,6,5,4]
movaps %xmm0, -544(%rbp)
movaps LCPI6_19(%rip), %xmm0 ## xmm0 = [3,2,1,0]
movaps %xmm0, -528(%rbp)
leaq _int_compare(%rip), %rcx
leaq -672(%rbp), %rdi
movl $40, %esi
movl $4, %edx
callq _libmin_qsort
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str(%rip), %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB6_37: ## =>This Inner Loop Header: Depth=1
movl -672(%rbp,%r14,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
incq %r14
cmpq $40, %r14
jne LBB6_37
## %bb.38:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl -668(%rbp), %ecx
cmpl %ecx, -672(%rbp)
jg LBB6_47
## %bb.39:
xorl %eax, %eax
leaq L_.str.13(%rip), %rdi
.p2align 4, 0x90
LBB6_40: ## =>This Inner Loop Header: Depth=1
movl -664(%rbp,%rax,4), %esi
cmpl %esi, %ecx
jg LBB6_45
## %bb.41: ## in Loop: Header=BB6_40 Depth=1
movl -660(%rbp,%rax,4), %edx
cmpl %edx, %esi
jg LBB6_44
## %bb.42: ## in Loop: Header=BB6_40 Depth=1
cmpq $36, %rax
je LBB6_48
## %bb.43: ## in Loop: Header=BB6_40 Depth=1
movl -656(%rbp,%rax,4), %ecx
addq $3, %rax
cmpl %ecx, %edx
jle LBB6_40
jmp LBB6_46
LBB6_45:
incq %rax
LBB6_46:
cmpq $38, %rax
ja LBB6_48
LBB6_47:
leaq L_.str.14(%rip), %rdi
LBB6_48:
xorl %eax, %eax
callq _libmin_printf
leaq l___const.main.test_strings(%rip), %rsi
leaq -928(%rbp), %rbx
movl $256, %edx ## imm = 0x100
movq %rbx, %rdi
callq _memcpy
leaq _string_compare(%rip), %rcx
movl $32, %esi
movl $8, %edx
movq %rbx, %rdi
callq _libmin_qsort
leaq L_.str.46(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq -928(%rbp), %rsi
leaq L_.str.2(%rip), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -920(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -912(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -904(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -896(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -888(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -880(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -872(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -864(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -856(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -848(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -840(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -832(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -824(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -816(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -808(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -800(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -792(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -784(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -776(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -768(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -760(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -752(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -744(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -736(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -728(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -720(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -712(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -704(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -696(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -688(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movq -680(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq -928(%rbp), %rdi
movq -920(%rbp), %rsi
callq _libmin_strcmp
testl %eax, %eax
jle LBB6_49
LBB6_53:
leaq L_.str.48(%rip), %rbx
LBB6_54:
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB6_56
## %bb.55:
xorl %eax, %eax
addq $912, %rsp ## imm = 0x390
popq %rbx
popq %r14
popq %rbp
retq
LBB6_49:
xorl %r14d, %r14d
leaq L_.str.47(%rip), %rbx
.p2align 4, 0x90
LBB6_50: ## =>This Inner Loop Header: Depth=1
cmpq $30, %r14
je LBB6_54
## %bb.51: ## in Loop: Header=BB6_50 Depth=1
movq -920(%rbp,%r14,8), %rdi
movq -912(%rbp,%r14,8), %rsi
callq _libmin_strcmp
incq %r14
testl %eax, %eax
jle LBB6_50
## %bb.52:
cmpq $30, %r14
jbe LBB6_53
jmp LBB6_54
LBB6_8:
addq $2, %rax
cmpq $38, %rax
jbe LBB6_11
jmp LBB6_12
LBB6_20:
addq $2, %rax
cmpq $38, %rax
jbe LBB6_23
jmp LBB6_24
LBB6_32:
addq $2, %rax
cmpq $38, %rax
jbe LBB6_35
jmp LBB6_36
LBB6_44:
addq $2, %rax
cmpq $38, %rax
jbe LBB6_47
jmp LBB6_48
LBB6_56:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_.str.1: ## @.str.1
.asciz "\n"
L_.str.2: ## @.str.2
.asciz "%s "
.section __TEXT,__const
.p2align 4, 0x0 ## @__const.main.test1
l___const.main.test1:
.long 5 ## 0x5
.long 3 ## 0x3
.long 12 ## 0xc
.long 8 ## 0x8
.long 1 ## 0x1
.long 19 ## 0x13
.long 7 ## 0x7
.long 4 ## 0x4
.long 0 ## 0x0
.long 6 ## 0x6
.long 10 ## 0xa
.long 15 ## 0xf
.long 2 ## 0x2
.long 22 ## 0x16
.long 11 ## 0xb
.long 17 ## 0x11
.long 13 ## 0xd
.long 20 ## 0x14
.long 9 ## 0x9
.long 14 ## 0xe
.long 16 ## 0x10
.long 21 ## 0x15
.long 23 ## 0x17
.long 18 ## 0x12
.long 24 ## 0x18
.long 25 ## 0x19
.long 26 ## 0x1a
.long 27 ## 0x1b
.long 28 ## 0x1c
.long 29 ## 0x1d
.long 30 ## 0x1e
.long 31 ## 0x1f
.long 32 ## 0x20
.long 33 ## 0x21
.long 34 ## 0x22
.long 35 ## 0x23
.long 36 ## 0x24
.long 37 ## 0x25
.long 38 ## 0x26
.long 39 ## 0x27
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "Test 1: Sorted Random Integer Array (40 elements):\n"
L_.str.4: ## @.str.4
.asciz "Test 1 passed: array sorted correctly.\n"
L_.str.5: ## @.str.5
.asciz "Test 1 failed: array not sorted correctly.\n"
.section __TEXT,__const
.p2align 4, 0x0 ## @__const.main.test2
l___const.main.test2:
.long 2 ## 0x2
.long 1 ## 0x1
.long 3 ## 0x3
.long 0 ## 0x0
.long 4 ## 0x4
.long 5 ## 0x5
.long 5 ## 0x5
.long 7 ## 0x7
.long 8 ## 0x8
.long 9 ## 0x9
.long 10 ## 0xa
.long 11 ## 0xb
.long 12 ## 0xc
.long 13 ## 0xd
.long 14 ## 0xe
.long 15 ## 0xf
.long 16 ## 0x10
.long 17 ## 0x11
.long 18 ## 0x12
.long 19 ## 0x13
.long 20 ## 0x14
.long 21 ## 0x15
.long 22 ## 0x16
.long 23 ## 0x17
.long 24 ## 0x18
.long 25 ## 0x19
.long 26 ## 0x1a
.long 27 ## 0x1b
.long 28 ## 0x1c
.long 29 ## 0x1d
.long 30 ## 0x1e
.long 31 ## 0x1f
.long 32 ## 0x20
.long 33 ## 0x21
.long 34 ## 0x22
.long 35 ## 0x23
.long 36 ## 0x24
.long 37 ## 0x25
.long 38 ## 0x26
.long 39 ## 0x27
.section __TEXT,__cstring,cstring_literals
L_.str.6: ## @.str.6
.asciz "\nTest 2: Sorted Integer Array with Few Duplicates (40 elements):\n"
L_.str.7: ## @.str.7
.asciz "Test 2 passed: duplicate elements sorted correctly.\n"
L_.str.8: ## @.str.8
.asciz "Test 2 failed: duplicate elements not sorted correctly.\n"
L_.str.9: ## @.str.9
.asciz "\nTest 3: Already Sorted Integer Array (40 elements):\n"
L_.str.10: ## @.str.10
.asciz "Test 3 passed: array remains sorted.\n"
L_.str.11: ## @.str.11
.asciz "Test 3 failed: already sorted array not sorted correctly.\n"
L_.str.12: ## @.str.12
.asciz "\nTest 4: Sorted Reverse Order Integer Array (40 elements):\n"
L_.str.13: ## @.str.13
.asciz "Test 4 passed: reverse sorted array sorted correctly.\n"
L_.str.14: ## @.str.14
.asciz "Test 4 failed: reverse sorted array not sorted correctly.\n"
L_.str.15: ## @.str.15
.asciz "banana"
L_.str.16: ## @.str.16
.asciz "apple"
L_.str.17: ## @.str.17
.asciz "orange"
L_.str.18: ## @.str.18
.asciz "kiwi"
L_.str.19: ## @.str.19
.asciz "grape"
L_.str.20: ## @.str.20
.asciz "mango"
L_.str.21: ## @.str.21
.asciz "strawberry"
L_.str.22: ## @.str.22
.asciz "pear"
L_.str.23: ## @.str.23
.asciz "pineapple"
L_.str.24: ## @.str.24
.asciz "watermelon"
L_.str.25: ## @.str.25
.asciz "blueberry"
L_.str.26: ## @.str.26
.asciz "raspberry"
L_.str.27: ## @.str.27
.asciz "blackberry"
L_.str.28: ## @.str.28
.asciz "cherry"
L_.str.29: ## @.str.29
.asciz "peach"
L_.str.30: ## @.str.30
.asciz "apricot"
L_.str.31: ## @.str.31
.asciz "plum"
L_.str.32: ## @.str.32
.asciz "nectarine"
L_.str.33: ## @.str.33
.asciz "cantaloupe"
L_.str.34: ## @.str.34
.asciz "honeydew"
L_.str.35: ## @.str.35
.asciz "papaya"
L_.str.36: ## @.str.36
.asciz "passionfruit"
L_.str.37: ## @.str.37
.asciz "guava"
L_.str.38: ## @.str.38
.asciz "lychee"
L_.str.39: ## @.str.39
.asciz "pomegranate"
L_.str.40: ## @.str.40
.asciz "grapefruit"
L_.str.41: ## @.str.41
.asciz "lemon"
L_.str.42: ## @.str.42
.asciz "lime"
L_.str.43: ## @.str.43
.asciz "tangerine"
L_.str.44: ## @.str.44
.asciz "cranberry"
L_.str.45: ## @.str.45
.asciz "fig"
.section __DATA,__const
.p2align 4, 0x0 ## @__const.main.test_strings
l___const.main.test_strings:
.quad L_.str.15
.quad L_.str.16
.quad L_.str.17
.quad L_.str.18
.quad L_.str.19
.quad L_.str.20
.quad L_.str.21
.quad L_.str.22
.quad L_.str.23
.quad L_.str.24
.quad L_.str.25
.quad L_.str.26
.quad L_.str.27
.quad L_.str.28
.quad L_.str.29
.quad L_.str.30
.quad L_.str.31
.quad L_.str.32
.quad L_.str.33
.quad L_.str.34
.quad L_.str.35
.quad L_.str.36
.quad L_.str.37
.quad L_.str.38
.quad L_.str.39
.quad L_.str.40
.quad L_.str.41
.quad L_.str.42
.quad L_.str.43
.quad L_.str.44
.quad L_.str.45
.quad L_.str.16
.section __TEXT,__cstring,cstring_literals
L_.str.46: ## @.str.46
.asciz "\nTest 5: Sorted String Array (32 elements):\n"
L_.str.47: ## @.str.47
.asciz "Test 5 passed: string array sorted correctly.\n"
L_.str.48: ## @.str.48
.asciz "Test 5 failed: string array not sorted correctly.\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _int_compare ; -- Begin function int_compare
.p2align 2
_int_compare: ; @int_compare
.cfi_startproc
; %bb.0:
ldr w8, [x0]
ldr w9, [x1]
sub w0, w8, w9
ret
.cfi_endproc
; -- End function
.globl _is_sorted ; -- Begin function is_sorted
.p2align 2
_is_sorted: ; @is_sorted
.cfi_startproc
; %bb.0:
cmp x1, #2
b.hs LBB1_2
; %bb.1:
mov w0, #1 ; =0x1
ret
LBB1_2:
ldp w9, w8, [x0]
cmp w9, w8
b.le LBB1_4
; %bb.3:
mov w0, #0 ; =0x0
ret
LBB1_4:
mov w10, #2 ; =0x2
LBB1_5: ; =>This Inner Loop Header: Depth=1
mov x9, x10
cmp x1, x10
b.eq LBB1_7
; %bb.6: ; in Loop: Header=BB1_5 Depth=1
ldr w11, [x0, x9, lsl #2]
add x10, x9, #1
cmp w8, w11
mov x8, x11
b.le LBB1_5
LBB1_7:
cmp x9, x1
cset w0, hs
ret
.cfi_endproc
; -- End function
.globl _print_array ; -- Begin function print_array
.p2align 2
_print_array: ; @print_array
.cfi_startproc
; %bb.0:
cbz x1, LBB2_4
; %bb.1:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20], #4
str x8, [sp]
mov x0, x21
bl _libmin_printf
subs x19, x19, #1
b.ne LBB2_2
; %bb.3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
LBB2_4:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
b _libmin_printf
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _string_compare ; -- Begin function string_compare
.p2align 2
_string_compare: ; @string_compare
.cfi_startproc
; %bb.0:
ldr x0, [x0]
ldr x1, [x1]
b _libmin_strcmp
.cfi_endproc
; -- End function
.globl _is_sorted_string_array ; -- Begin function is_sorted_string_array
.p2align 2
_is_sorted_string_array: ; @is_sorted_string_array
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
subs x21, x1, #2
b.hs LBB4_2
; %bb.1:
mov w0, #1 ; =0x1
b LBB4_8
LBB4_2:
mov x19, x1
mov x20, x0
ldr x0, [x0]
ldr x1, [x20, #8]
bl _libmin_strcmp
cmp w0, #0
b.le LBB4_4
; %bb.3:
mov w0, #0 ; =0x0
b LBB4_8
LBB4_4:
mov x8, #0 ; =0x0
LBB4_5: ; =>This Inner Loop Header: Depth=1
mov x22, x8
cmp x21, x8
b.eq LBB4_7
; %bb.6: ; in Loop: Header=BB4_5 Depth=1
add x8, x20, x22, lsl #3
ldp x0, x1, [x8, #8]
bl _libmin_strcmp
add x8, x22, #1
cmp w0, #1
b.lt LBB4_5
LBB4_7:
add x8, x22, #2
cmp x8, x19
cset w0, hs
LBB4_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _print_string_array ; -- Begin function print_string_array
.p2align 2
_print_string_array: ; @print_string_array
.cfi_startproc
; %bb.0:
cbz x1, LBB5_4
; %bb.1:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh4:
adrp x21, l_.str.2@PAGE
Lloh5:
add x21, x21, l_.str.2@PAGEOFF
LBB5_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20], #8
str x8, [sp]
mov x0, x21
bl _libmin_printf
subs x19, x19, #1
b.ne LBB5_2
; %bb.3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
LBB5_4:
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
b _libmin_printf
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function main
lCPI6_0:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
lCPI6_1:
.long 4 ; 0x4
.long 5 ; 0x5
.long 6 ; 0x6
.long 7 ; 0x7
lCPI6_2:
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.long 11 ; 0xb
lCPI6_3:
.long 12 ; 0xc
.long 13 ; 0xd
.long 14 ; 0xe
.long 15 ; 0xf
lCPI6_4:
.long 16 ; 0x10
.long 17 ; 0x11
.long 18 ; 0x12
.long 19 ; 0x13
lCPI6_5:
.long 20 ; 0x14
.long 21 ; 0x15
.long 22 ; 0x16
.long 23 ; 0x17
lCPI6_6:
.long 24 ; 0x18
.long 25 ; 0x19
.long 26 ; 0x1a
.long 27 ; 0x1b
lCPI6_7:
.long 28 ; 0x1c
.long 29 ; 0x1d
.long 30 ; 0x1e
.long 31 ; 0x1f
lCPI6_8:
.long 32 ; 0x20
.long 33 ; 0x21
.long 34 ; 0x22
.long 35 ; 0x23
lCPI6_9:
.long 36 ; 0x24
.long 37 ; 0x25
.long 38 ; 0x26
.long 39 ; 0x27
lCPI6_10:
.long 39 ; 0x27
.long 38 ; 0x26
.long 37 ; 0x25
.long 36 ; 0x24
lCPI6_11:
.long 35 ; 0x23
.long 34 ; 0x22
.long 33 ; 0x21
.long 32 ; 0x20
lCPI6_12:
.long 31 ; 0x1f
.long 30 ; 0x1e
.long 29 ; 0x1d
.long 28 ; 0x1c
lCPI6_13:
.long 27 ; 0x1b
.long 26 ; 0x1a
.long 25 ; 0x19
.long 24 ; 0x18
lCPI6_14:
.long 23 ; 0x17
.long 22 ; 0x16
.long 21 ; 0x15
.long 20 ; 0x14
lCPI6_15:
.long 19 ; 0x13
.long 18 ; 0x12
.long 17 ; 0x11
.long 16 ; 0x10
lCPI6_16:
.long 15 ; 0xf
.long 14 ; 0xe
.long 13 ; 0xd
.long 12 ; 0xc
lCPI6_17:
.long 11 ; 0xb
.long 10 ; 0xa
.long 9 ; 0x9
.long 8 ; 0x8
lCPI6_18:
.long 7 ; 0x7
.long 6 ; 0x6
.long 5 ; 0x5
.long 4 ; 0x4
lCPI6_19:
.long 3 ; 0x3
.long 2 ; 0x2
.long 1 ; 0x1
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
sub sp, sp, #928
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh8:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh11:
adrp x8, l___const.main.test1@PAGE
Lloh12:
add x8, x8, l___const.main.test1@PAGEOFF
ldp q0, q1, [x8, #96]
stp q0, q1, [x29, #-112]
ldp q0, q1, [x8, #128]
stp q0, q1, [x29, #-80]
ldp q0, q1, [x8, #32]
stp q0, q1, [x29, #-176]
ldp q0, q1, [x8, #64]
stp q0, q1, [x29, #-144]
ldp q0, q1, [x8]
stp q0, q1, [x29, #-208]
Lloh13:
adrp x3, _int_compare@PAGE
Lloh14:
add x3, x3, _int_compare@PAGEOFF
sub x20, x29, #208
sub x0, x29, #208
mov w1, #40 ; =0x28
mov w2, #4 ; =0x4
bl _libmin_qsort
Lloh15:
adrp x0, l_.str.3@PAGE
Lloh16:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
mov x21, #0 ; =0x0
Lloh17:
adrp x19, l_.str@PAGE
Lloh18:
add x19, x19, l_.str@PAGEOFF
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, x21]
str x8, [sp]
mov x0, x19
bl _libmin_printf
add x21, x21, #4
cmp x21, #160
b.ne LBB6_1
; %bb.2:
Lloh19:
adrp x0, l_.str.1@PAGE
Lloh20:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
ldp w9, w8, [x29, #-208]
cmp w9, w8
b.le LBB6_20
LBB6_3:
Lloh21:
adrp x0, l_.str.5@PAGE
Lloh22:
add x0, x0, l_.str.5@PAGEOFF
LBB6_4:
bl _libmin_printf
Lloh23:
adrp x8, l___const.main.test2@PAGE
Lloh24:
add x8, x8, l___const.main.test2@PAGEOFF
ldp q0, q1, [x8, #96]
stp q0, q1, [sp, #688]
ldp q0, q1, [x8, #128]
stp q0, q1, [sp, #720]
ldp q0, q1, [x8, #32]
stp q0, q1, [sp, #624]
ldp q0, q1, [x8, #64]
stp q0, q1, [sp, #656]
ldp q0, q1, [x8]
stp q0, q1, [sp, #592]
Lloh25:
adrp x3, _int_compare@PAGE
Lloh26:
add x3, x3, _int_compare@PAGEOFF
add x20, sp, #592
add x0, sp, #592
mov w1, #40 ; =0x28
mov w2, #4 ; =0x4
bl _libmin_qsort
Lloh27:
adrp x0, l_.str.6@PAGE
Lloh28:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov x21, #0 ; =0x0
Lloh29:
adrp x19, l_.str@PAGE
Lloh30:
add x19, x19, l_.str@PAGEOFF
LBB6_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, x21]
str x8, [sp]
mov x0, x19
bl _libmin_printf
add x21, x21, #4
cmp x21, #160
b.ne LBB6_5
; %bb.6:
Lloh31:
adrp x0, l_.str.1@PAGE
Lloh32:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
ldr w9, [sp, #592]
ldr w8, [sp, #596]
cmp w9, w8
b.le LBB6_25
LBB6_7:
Lloh33:
adrp x0, l_.str.8@PAGE
Lloh34:
add x0, x0, l_.str.8@PAGEOFF
LBB6_8:
bl _libmin_printf
Lloh35:
adrp x8, lCPI6_0@PAGE
Lloh36:
ldr q0, [x8, lCPI6_0@PAGEOFF]
Lloh37:
adrp x8, lCPI6_1@PAGE
Lloh38:
ldr q1, [x8, lCPI6_1@PAGEOFF]
stp q0, q1, [sp, #432]
Lloh39:
adrp x8, lCPI6_2@PAGE
Lloh40:
ldr q0, [x8, lCPI6_2@PAGEOFF]
Lloh41:
adrp x8, lCPI6_3@PAGE
Lloh42:
ldr q1, [x8, lCPI6_3@PAGEOFF]
stp q0, q1, [sp, #464]
Lloh43:
adrp x8, lCPI6_4@PAGE
Lloh44:
ldr q0, [x8, lCPI6_4@PAGEOFF]
Lloh45:
adrp x8, lCPI6_5@PAGE
Lloh46:
ldr q1, [x8, lCPI6_5@PAGEOFF]
stp q0, q1, [sp, #496]
Lloh47:
adrp x8, lCPI6_6@PAGE
Lloh48:
ldr q0, [x8, lCPI6_6@PAGEOFF]
Lloh49:
adrp x8, lCPI6_7@PAGE
Lloh50:
ldr q1, [x8, lCPI6_7@PAGEOFF]
stp q0, q1, [sp, #528]
Lloh51:
adrp x8, lCPI6_8@PAGE
Lloh52:
ldr q0, [x8, lCPI6_8@PAGEOFF]
Lloh53:
adrp x8, lCPI6_9@PAGE
Lloh54:
ldr q1, [x8, lCPI6_9@PAGEOFF]
stp q0, q1, [sp, #560]
Lloh55:
adrp x3, _int_compare@PAGE
Lloh56:
add x3, x3, _int_compare@PAGEOFF
add x20, sp, #432
add x0, sp, #432
mov w1, #40 ; =0x28
mov w2, #4 ; =0x4
bl _libmin_qsort
Lloh57:
adrp x0, l_.str.9@PAGE
Lloh58:
add x0, x0, l_.str.9@PAGEOFF
bl _libmin_printf
mov x21, #0 ; =0x0
Lloh59:
adrp x19, l_.str@PAGE
Lloh60:
add x19, x19, l_.str@PAGEOFF
LBB6_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, x21]
str x8, [sp]
mov x0, x19
bl _libmin_printf
add x21, x21, #4
cmp x21, #160
b.ne LBB6_9
; %bb.10:
Lloh61:
adrp x0, l_.str.1@PAGE
Lloh62:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
ldr w9, [sp, #432]
ldr w8, [sp, #436]
cmp w9, w8
b.le LBB6_30
LBB6_11:
Lloh63:
adrp x0, l_.str.11@PAGE
Lloh64:
add x0, x0, l_.str.11@PAGEOFF
LBB6_12:
bl _libmin_printf
Lloh65:
adrp x8, lCPI6_10@PAGE
Lloh66:
ldr q0, [x8, lCPI6_10@PAGEOFF]
Lloh67:
adrp x8, lCPI6_11@PAGE
Lloh68:
ldr q1, [x8, lCPI6_11@PAGEOFF]
stp q0, q1, [sp, #272]
Lloh69:
adrp x8, lCPI6_12@PAGE
Lloh70:
ldr q0, [x8, lCPI6_12@PAGEOFF]
Lloh71:
adrp x8, lCPI6_13@PAGE
Lloh72:
ldr q1, [x8, lCPI6_13@PAGEOFF]
stp q0, q1, [sp, #304]
Lloh73:
adrp x8, lCPI6_14@PAGE
Lloh74:
ldr q0, [x8, lCPI6_14@PAGEOFF]
Lloh75:
adrp x8, lCPI6_15@PAGE
Lloh76:
ldr q1, [x8, lCPI6_15@PAGEOFF]
stp q0, q1, [sp, #336]
Lloh77:
adrp x8, lCPI6_16@PAGE
Lloh78:
ldr q0, [x8, lCPI6_16@PAGEOFF]
Lloh79:
adrp x8, lCPI6_17@PAGE
Lloh80:
ldr q1, [x8, lCPI6_17@PAGEOFF]
stp q0, q1, [sp, #368]
Lloh81:
adrp x8, lCPI6_18@PAGE
Lloh82:
ldr q0, [x8, lCPI6_18@PAGEOFF]
Lloh83:
adrp x8, lCPI6_19@PAGE
Lloh84:
ldr q1, [x8, lCPI6_19@PAGEOFF]
stp q0, q1, [sp, #400]
Lloh85:
adrp x3, _int_compare@PAGE
Lloh86:
add x3, x3, _int_compare@PAGEOFF
add x20, sp, #272
add x0, sp, #272
mov w1, #40 ; =0x28
mov w2, #4 ; =0x4
bl _libmin_qsort
Lloh87:
adrp x0, l_.str.12@PAGE
Lloh88:
add x0, x0, l_.str.12@PAGEOFF
bl _libmin_printf
mov x21, #0 ; =0x0
Lloh89:
adrp x19, l_.str@PAGE
Lloh90:
add x19, x19, l_.str@PAGEOFF
LBB6_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20, x21]
str x8, [sp]
mov x0, x19
bl _libmin_printf
add x21, x21, #4
cmp x21, #160
b.ne LBB6_13
; %bb.14:
Lloh91:
adrp x0, l_.str.1@PAGE
Lloh92:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
ldr w9, [sp, #272]
ldr w8, [sp, #276]
cmp w9, w8
b.le LBB6_35
LBB6_15:
Lloh93:
adrp x0, l_.str.14@PAGE
Lloh94:
add x0, x0, l_.str.14@PAGEOFF
LBB6_16:
bl _libmin_printf
Lloh95:
adrp x8, l___const.main.test_strings@PAGE
Lloh96:
add x8, x8, l___const.main.test_strings@PAGEOFF
ldp q0, q1, [x8, #192]
stp q0, q1, [sp, #208]
ldp q0, q1, [x8, #224]
stp q0, q1, [sp, #240]
ldp q0, q1, [x8, #128]
stp q0, q1, [sp, #144]
ldp q0, q1, [x8, #160]
stp q0, q1, [sp, #176]
ldp q0, q1, [x8, #64]
stp q0, q1, [sp, #80]
ldp q0, q1, [x8, #96]
stp q0, q1, [sp, #112]
ldp q0, q1, [x8]
stp q0, q1, [sp, #16]
ldp q0, q1, [x8, #32]
stp q0, q1, [sp, #48]
Lloh97:
adrp x3, _string_compare@PAGE
Lloh98:
add x3, x3, _string_compare@PAGEOFF
add x20, sp, #16
add x0, sp, #16
mov w1, #32 ; =0x20
mov w2, #8 ; =0x8
bl _libmin_qsort
Lloh99:
adrp x0, l_.str.46@PAGE
Lloh100:
add x0, x0, l_.str.46@PAGEOFF
bl _libmin_printf
ldr x8, [sp, #16]
str x8, [sp]
Lloh101:
adrp x19, l_.str.2@PAGE
Lloh102:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #24]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #32]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #40]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #48]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #56]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #64]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #72]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #80]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #88]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #96]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #104]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #112]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #120]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #128]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #136]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #144]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #152]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #160]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #168]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #176]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #184]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #192]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #200]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #208]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #216]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #224]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #232]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #240]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #248]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #256]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr x8, [sp, #264]
str x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh103:
adrp x0, l_.str.1@PAGE
Lloh104:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
ldp x0, x1, [sp, #16]
bl _libmin_strcmp
cmp w0, #0
b.le LBB6_40
LBB6_17:
Lloh105:
adrp x19, l_.str.48@PAGE
Lloh106:
add x19, x19, l_.str.48@PAGEOFF
LBB6_18:
mov x0, x19
bl _libmin_printf
bl _libmin_success
ldur x8, [x29, #-40]
Lloh107:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh108:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh109:
ldr x9, [x9]
cmp x9, x8
b.ne LBB6_45
; %bb.19:
mov w0, #0 ; =0x0
add sp, sp, #928
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
LBB6_20:
mov x9, #0 ; =0x0
sub x10, x29, #208
orr x10, x10, #0x8
Lloh110:
adrp x0, l_.str.4@PAGE
Lloh111:
add x0, x0, l_.str.4@PAGEOFF
LBB6_21: ; =>This Inner Loop Header: Depth=1
cmp x9, #38
b.eq LBB6_4
; %bb.22: ; in Loop: Header=BB6_21 Depth=1
ldr w11, [x10, x9, lsl #2]
add x9, x9, #1
cmp w8, w11
mov x8, x11
b.le LBB6_21
; %bb.23:
cmp x9, #38
b.ls LBB6_3
; %bb.24:
Lloh112:
adrp x0, l_.str.4@PAGE
Lloh113:
add x0, x0, l_.str.4@PAGEOFF
b LBB6_4
LBB6_25:
mov x9, #0 ; =0x0
add x10, sp, #592
orr x10, x10, #0x8
Lloh114:
adrp x0, l_.str.7@PAGE
Lloh115:
add x0, x0, l_.str.7@PAGEOFF
LBB6_26: ; =>This Inner Loop Header: Depth=1
cmp x9, #38
b.eq LBB6_8
; %bb.27: ; in Loop: Header=BB6_26 Depth=1
ldr w11, [x10, x9, lsl #2]
add x9, x9, #1
cmp w8, w11
mov x8, x11
b.le LBB6_26
; %bb.28:
cmp x9, #38
b.ls LBB6_7
; %bb.29:
Lloh116:
adrp x0, l_.str.7@PAGE
Lloh117:
add x0, x0, l_.str.7@PAGEOFF
b LBB6_8
LBB6_30:
mov x9, #0 ; =0x0
add x10, sp, #432
orr x10, x10, #0x8
Lloh118:
adrp x0, l_.str.10@PAGE
Lloh119:
add x0, x0, l_.str.10@PAGEOFF
LBB6_31: ; =>This Inner Loop Header: Depth=1
cmp x9, #38
b.eq LBB6_12
; %bb.32: ; in Loop: Header=BB6_31 Depth=1
ldr w11, [x10, x9, lsl #2]
add x9, x9, #1
cmp w8, w11
mov x8, x11
b.le LBB6_31
; %bb.33:
cmp x9, #38
b.ls LBB6_11
; %bb.34:
Lloh120:
adrp x0, l_.str.10@PAGE
Lloh121:
add x0, x0, l_.str.10@PAGEOFF
b LBB6_12
LBB6_35:
mov x9, #0 ; =0x0
add x10, sp, #272
orr x10, x10, #0x8
Lloh122:
adrp x0, l_.str.13@PAGE
Lloh123:
add x0, x0, l_.str.13@PAGEOFF
LBB6_36: ; =>This Inner Loop Header: Depth=1
cmp x9, #38
b.eq LBB6_16
; %bb.37: ; in Loop: Header=BB6_36 Depth=1
ldr w11, [x10, x9, lsl #2]
add x9, x9, #1
cmp w8, w11
mov x8, x11
b.le LBB6_36
; %bb.38:
cmp x9, #38
b.ls LBB6_15
; %bb.39:
Lloh124:
adrp x0, l_.str.13@PAGE
Lloh125:
add x0, x0, l_.str.13@PAGEOFF
b LBB6_16
LBB6_40:
mov x21, #0 ; =0x0
Lloh126:
adrp x19, l_.str.47@PAGE
Lloh127:
add x19, x19, l_.str.47@PAGEOFF
LBB6_41: ; =>This Inner Loop Header: Depth=1
cmp x21, #30
b.eq LBB6_18
; %bb.42: ; in Loop: Header=BB6_41 Depth=1
add x8, x20, x21, lsl #3
ldp x0, x1, [x8, #8]
bl _libmin_strcmp
add x21, x21, #1
cmp w0, #1
b.lt LBB6_41
; %bb.43:
cmp x21, #30
b.ls LBB6_17
; %bb.44:
Lloh128:
adrp x19, l_.str.47@PAGE
Lloh129:
add x19, x19, l_.str.47@PAGEOFF
b LBB6_18
LBB6_45:
bl ___stack_chk_fail
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpLdr Lloh53, Lloh54
.loh AdrpAdrp Lloh51, Lloh53
.loh AdrpLdr Lloh51, Lloh52
.loh AdrpAdrp Lloh49, Lloh51
.loh AdrpLdr Lloh49, Lloh50
.loh AdrpAdrp Lloh47, Lloh49
.loh AdrpLdr Lloh47, Lloh48
.loh AdrpAdrp Lloh45, Lloh47
.loh AdrpLdr Lloh45, Lloh46
.loh AdrpAdrp Lloh43, Lloh45
.loh AdrpLdr Lloh43, Lloh44
.loh AdrpAdrp Lloh41, Lloh43
.loh AdrpLdr Lloh41, Lloh42
.loh AdrpAdrp Lloh39, Lloh41
.loh AdrpLdr Lloh39, Lloh40
.loh AdrpAdrp Lloh37, Lloh39
.loh AdrpLdr Lloh37, Lloh38
.loh AdrpAdrp Lloh35, Lloh37
.loh AdrpLdr Lloh35, Lloh36
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpAdd Lloh89, Lloh90
.loh AdrpAdd Lloh87, Lloh88
.loh AdrpAdd Lloh85, Lloh86
.loh AdrpLdr Lloh83, Lloh84
.loh AdrpAdrp Lloh81, Lloh83
.loh AdrpLdr Lloh81, Lloh82
.loh AdrpAdrp Lloh79, Lloh81
.loh AdrpLdr Lloh79, Lloh80
.loh AdrpAdrp Lloh77, Lloh79
.loh AdrpLdr Lloh77, Lloh78
.loh AdrpAdrp Lloh75, Lloh77
.loh AdrpLdr Lloh75, Lloh76
.loh AdrpAdrp Lloh73, Lloh75
.loh AdrpLdr Lloh73, Lloh74
.loh AdrpAdrp Lloh71, Lloh73
.loh AdrpLdr Lloh71, Lloh72
.loh AdrpAdrp Lloh69, Lloh71
.loh AdrpLdr Lloh69, Lloh70
.loh AdrpAdrp Lloh67, Lloh69
.loh AdrpLdr Lloh67, Lloh68
.loh AdrpAdrp Lloh65, Lloh67
.loh AdrpLdr Lloh65, Lloh66
.loh AdrpAdd Lloh91, Lloh92
.loh AdrpAdd Lloh93, Lloh94
.loh AdrpAdd Lloh103, Lloh104
.loh AdrpAdd Lloh101, Lloh102
.loh AdrpAdd Lloh99, Lloh100
.loh AdrpAdd Lloh97, Lloh98
.loh AdrpAdd Lloh95, Lloh96
.loh AdrpAdd Lloh105, Lloh106
.loh AdrpLdrGotLdr Lloh107, Lloh108, Lloh109
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpAdd Lloh116, Lloh117
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpAdd Lloh120, Lloh121
.loh AdrpAdd Lloh122, Lloh123
.loh AdrpAdd Lloh124, Lloh125
.loh AdrpAdd Lloh126, Lloh127
.loh AdrpAdd Lloh128, Lloh129
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "\n"
l_.str.2: ; @.str.2
.asciz "%s "
.section __TEXT,__const
.p2align 2, 0x0 ; @__const.main.test1
l___const.main.test1:
.long 5 ; 0x5
.long 3 ; 0x3
.long 12 ; 0xc
.long 8 ; 0x8
.long 1 ; 0x1
.long 19 ; 0x13
.long 7 ; 0x7
.long 4 ; 0x4
.long 0 ; 0x0
.long 6 ; 0x6
.long 10 ; 0xa
.long 15 ; 0xf
.long 2 ; 0x2
.long 22 ; 0x16
.long 11 ; 0xb
.long 17 ; 0x11
.long 13 ; 0xd
.long 20 ; 0x14
.long 9 ; 0x9
.long 14 ; 0xe
.long 16 ; 0x10
.long 21 ; 0x15
.long 23 ; 0x17
.long 18 ; 0x12
.long 24 ; 0x18
.long 25 ; 0x19
.long 26 ; 0x1a
.long 27 ; 0x1b
.long 28 ; 0x1c
.long 29 ; 0x1d
.long 30 ; 0x1e
.long 31 ; 0x1f
.long 32 ; 0x20
.long 33 ; 0x21
.long 34 ; 0x22
.long 35 ; 0x23
.long 36 ; 0x24
.long 37 ; 0x25
.long 38 ; 0x26
.long 39 ; 0x27
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "Test 1: Sorted Random Integer Array (40 elements):\n"
l_.str.4: ; @.str.4
.asciz "Test 1 passed: array sorted correctly.\n"
l_.str.5: ; @.str.5
.asciz "Test 1 failed: array not sorted correctly.\n"
.section __TEXT,__const
.p2align 2, 0x0 ; @__const.main.test2
l___const.main.test2:
.long 2 ; 0x2
.long 1 ; 0x1
.long 3 ; 0x3
.long 0 ; 0x0
.long 4 ; 0x4
.long 5 ; 0x5
.long 5 ; 0x5
.long 7 ; 0x7
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.long 11 ; 0xb
.long 12 ; 0xc
.long 13 ; 0xd
.long 14 ; 0xe
.long 15 ; 0xf
.long 16 ; 0x10
.long 17 ; 0x11
.long 18 ; 0x12
.long 19 ; 0x13
.long 20 ; 0x14
.long 21 ; 0x15
.long 22 ; 0x16
.long 23 ; 0x17
.long 24 ; 0x18
.long 25 ; 0x19
.long 26 ; 0x1a
.long 27 ; 0x1b
.long 28 ; 0x1c
.long 29 ; 0x1d
.long 30 ; 0x1e
.long 31 ; 0x1f
.long 32 ; 0x20
.long 33 ; 0x21
.long 34 ; 0x22
.long 35 ; 0x23
.long 36 ; 0x24
.long 37 ; 0x25
.long 38 ; 0x26
.long 39 ; 0x27
.section __TEXT,__cstring,cstring_literals
l_.str.6: ; @.str.6
.asciz "\nTest 2: Sorted Integer Array with Few Duplicates (40 elements):\n"
l_.str.7: ; @.str.7
.asciz "Test 2 passed: duplicate elements sorted correctly.\n"
l_.str.8: ; @.str.8
.asciz "Test 2 failed: duplicate elements not sorted correctly.\n"
l_.str.9: ; @.str.9
.asciz "\nTest 3: Already Sorted Integer Array (40 elements):\n"
l_.str.10: ; @.str.10
.asciz "Test 3 passed: array remains sorted.\n"
l_.str.11: ; @.str.11
.asciz "Test 3 failed: already sorted array not sorted correctly.\n"
l_.str.12: ; @.str.12
.asciz "\nTest 4: Sorted Reverse Order Integer Array (40 elements):\n"
l_.str.13: ; @.str.13
.asciz "Test 4 passed: reverse sorted array sorted correctly.\n"
l_.str.14: ; @.str.14
.asciz "Test 4 failed: reverse sorted array not sorted correctly.\n"
l_.str.15: ; @.str.15
.asciz "banana"
l_.str.16: ; @.str.16
.asciz "apple"
l_.str.17: ; @.str.17
.asciz "orange"
l_.str.18: ; @.str.18
.asciz "kiwi"
l_.str.19: ; @.str.19
.asciz "grape"
l_.str.20: ; @.str.20
.asciz "mango"
l_.str.21: ; @.str.21
.asciz "strawberry"
l_.str.22: ; @.str.22
.asciz "pear"
l_.str.23: ; @.str.23
.asciz "pineapple"
l_.str.24: ; @.str.24
.asciz "watermelon"
l_.str.25: ; @.str.25
.asciz "blueberry"
l_.str.26: ; @.str.26
.asciz "raspberry"
l_.str.27: ; @.str.27
.asciz "blackberry"
l_.str.28: ; @.str.28
.asciz "cherry"
l_.str.29: ; @.str.29
.asciz "peach"
l_.str.30: ; @.str.30
.asciz "apricot"
l_.str.31: ; @.str.31
.asciz "plum"
l_.str.32: ; @.str.32
.asciz "nectarine"
l_.str.33: ; @.str.33
.asciz "cantaloupe"
l_.str.34: ; @.str.34
.asciz "honeydew"
l_.str.35: ; @.str.35
.asciz "papaya"
l_.str.36: ; @.str.36
.asciz "passionfruit"
l_.str.37: ; @.str.37
.asciz "guava"
l_.str.38: ; @.str.38
.asciz "lychee"
l_.str.39: ; @.str.39
.asciz "pomegranate"
l_.str.40: ; @.str.40
.asciz "grapefruit"
l_.str.41: ; @.str.41
.asciz "lemon"
l_.str.42: ; @.str.42
.asciz "lime"
l_.str.43: ; @.str.43
.asciz "tangerine"
l_.str.44: ; @.str.44
.asciz "cranberry"
l_.str.45: ; @.str.45
.asciz "fig"
.section __DATA,__const
.p2align 3, 0x0 ; @__const.main.test_strings
l___const.main.test_strings:
.quad l_.str.15
.quad l_.str.16
.quad l_.str.17
.quad l_.str.18
.quad l_.str.19
.quad l_.str.20
.quad l_.str.21
.quad l_.str.22
.quad l_.str.23
.quad l_.str.24
.quad l_.str.25
.quad l_.str.26
.quad l_.str.27
.quad l_.str.28
.quad l_.str.29
.quad l_.str.30
.quad l_.str.31
.quad l_.str.32
.quad l_.str.33
.quad l_.str.34
.quad l_.str.35
.quad l_.str.36
.quad l_.str.37
.quad l_.str.38
.quad l_.str.39
.quad l_.str.40
.quad l_.str.41
.quad l_.str.42
.quad l_.str.43
.quad l_.str.44
.quad l_.str.45
.quad l_.str.16
.section __TEXT,__cstring,cstring_literals
l_.str.46: ; @.str.46
.asciz "\nTest 5: Sorted String Array (32 elements):\n"
l_.str.47: ; @.str.47
.asciz "Test 5 passed: string array sorted correctly.\n"
l_.str.48: ; @.str.48
.asciz "Test 5 failed: string array not sorted correctly.\n"
.subsections_via_symbols
|
banner.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function main
LCPI0_0:
.space 16,32
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
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.2(%rip), %rbx
movq _debug@GOTPCREL(%rip), %r12
movq _optarg@GOTPCREL(%rip), %r13
leaq L_.str.3(%rip), %r14
leaq L_.str.4(%rip), %r15
jmp LBB0_1
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq (%r13), %rdi
callq _libmin_atoi
movl %eax, _width(%rip)
testl %eax, %eax
jle LBB0_7
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl _argc(%rip), %edi
movq _argv(%rip), %rsi
movq %rbx, %rdx
callq _libmin_getopt
cmpl $100, %eax
je LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $119, %eax
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl $-1, %eax
je LBB0_8
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
jmp LBB0_1
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl $1, (%r12)
jmp LBB0_1
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
jmp LBB0_1
LBB0_8:
movq _optind@GOTPCREL(%rip), %rax
movslq (%rax), %rsi
subl %esi, _argc(%rip)
shlq $3, %rsi
addq _argv(%rip), %rsi
movq %rsi, _argv(%rip)
movl _width(%rip), %edi
testl %edi, %edi
jle LBB0_9
## %bb.10:
cmpl $1, %edi
jne LBB0_12
## %bb.11:
xorl %ecx, %ecx
## implicit-def: $eax
testb $1, %dil
jne LBB0_16
jmp LBB0_17
LBB0_9:
xorl %edi, %edi
jmp LBB0_18
LBB0_12:
movl %edi, %r8d
andl $-2, %r8d
movl $132, %ecx
movq _print@GOTPCREL(%rip), %r9
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
leal -132(%rcx), %eax
cltd
idivl %edi
cltq
movb $1, (%r9,%rax)
movl %ecx, %eax
cltd
idivl %edi
movslq %eax, %rdx
movb $1, (%r9,%rdx)
addl $264, %ecx ## imm = 0x108
addl $-2, %r8d
jne LBB0_13
## %bb.14:
addl $-132, %ecx
testb $1, %dil
je LBB0_17
LBB0_16:
movl %ecx, %eax
cltd
idivl %edi
movslq %eax, %rcx
movq _print@GOTPCREL(%rip), %rdx
movb $1, (%rdx,%rcx)
LBB0_17:
movq _j@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
LBB0_18:
movq _i@GOTPCREL(%rip), %r13
movl %edi, (%r13)
movq (%rsi), %rsi
testq %rsi, %rsi
je LBB0_23
## %bb.19:
movq _message@GOTPCREL(%rip), %rdi
movl $1024, %edx ## imm = 0x400
callq _libmin_strncpy
movq _argv(%rip), %rax
leaq 8(%rax), %rcx
movq %rcx, _argv(%rip)
cmpq $0, 8(%rax)
je LBB0_22
## %bb.20:
movq _message@GOTPCREL(%rip), %rbx
leaq L_.str.5(%rip), %r14
.p2align 4, 0x90
LBB0_21: ## =>This Inner Loop Header: Depth=1
movl $1024, %edx ## imm = 0x400
movq %rbx, %rdi
movq %r14, %rsi
callq _libmin_strncat
movq _argv(%rip), %rax
movq (%rax), %rsi
movl $1024, %edx ## imm = 0x400
movq %rbx, %rdi
callq _libmin_strncat
movq _argv(%rip), %rax
leaq 8(%rax), %rcx
movq %rcx, _argv(%rip)
cmpq $0, 8(%rax)
jne LBB0_21
LBB0_22:
movq _message@GOTPCREL(%rip), %rdi
callq _libmin_strlen
movq _nchars@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
cmpl $0, (%r12)
jne LBB0_25
jmp LBB0_36
LBB0_23:
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
cmpl $0, (%r12)
je LBB0_36
LBB0_25:
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $0, (%r13)
leaq _asc_ptr(%rip), %r15
leaq L_.str.8(%rip), %rbx
leaq L_.str.9(%rip), %r14
xorl %eax, %eax
jmp LBB0_26
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_26 Depth=1
movl %eax, (%r13)
cmpl $127, %ecx
jge LBB0_29
LBB0_26: ## =>This Inner Loop Header: Depth=1
cltq
movl (%r15,%rax,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl (%r13), %ecx
leal 1(%rcx), %eax
testb $7, %al
jne LBB0_28
## %bb.27: ## in Loop: Header=BB0_26 Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl (%r13), %ecx
leal 1(%rcx), %eax
jmp LBB0_28
LBB0_29:
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $0, (%r13)
leaq L_.str.12(%rip), %rbx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_30: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl (%r13), %eax
leal 1(%rax), %esi
movl %esi, (%r13)
cmpl $9, %eax
jl LBB0_30
## %bb.31:
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $0, (%r13)
movq _j@GOTPCREL(%rip), %r15
leaq _data_table(%rip), %r12
movq %r13, %rbx
movq _x@GOTPCREL(%rip), %r13
leaq L_.str.15(%rip), %r14
xorl %esi, %esi
.p2align 4, 0x90
LBB0_32: ## =>This Loop Header: Depth=1
## Child Loop BB0_33 Depth 2
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl (%rbx), %eax
movl %eax, (%r15)
.p2align 4, 0x90
LBB0_33: ## Parent Loop BB0_32 Depth=1
## => This Inner Loop Header: Depth=2
cltq
movzbl (%rax,%r12), %esi
movl %esi, (%r13)
movq %r14, %rdi
xorl %eax, %eax
callq _libmin_printf
movl (%r15), %ecx
leal 1(%rcx), %eax
movl %eax, (%r15)
movl (%rbx), %edx
addl $9, %edx
cmpl %edx, %ecx
jl LBB0_33
## %bb.34: ## in Loop: Header=BB0_32 Depth=1
movl $10, %edi
callq _libmin_putc
movl (%rbx), %eax
leal 10(%rax), %esi
movl %esi, (%rbx)
cmpl $9261, %eax ## imm = 0x242D
jl LBB0_32
## %bb.35:
leaq L_.str.16(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movq %rbx, %r13
LBB0_36:
movq _j@GOTPCREL(%rip), %r12
movl $0, (%r12)
movl $0, (%r13)
movq _nchars@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
jle LBB0_69
## %bb.37:
movq _message@GOTPCREL(%rip), %r15
leaq L_.str.17(%rip), %rbx
xorl %ecx, %ecx
xorl %edx, %edx
movq _i@GOTPCREL(%rip), %r14
jmp LBB0_38
.p2align 4, 0x90
LBB0_40: ## in Loop: Header=BB0_38 Depth=1
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl (%r12), %ecx
incl %ecx
movl %ecx, (%r12)
movl (%r14), %edx
movq _nchars@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_41: ## in Loop: Header=BB0_38 Depth=1
incl %edx
movl %edx, (%r14)
cmpl %eax, %edx
jge LBB0_42
LBB0_38: ## =>This Inner Loop Header: Depth=1
movslq %edx, %rsi
movzbl (%r15,%rsi), %esi
testb %sil, %sil
js LBB0_40
## %bb.39: ## in Loop: Header=BB0_38 Depth=1
leaq _asc_ptr(%rip), %rdi
cmpl $0, (%rdi,%rsi,4)
jne LBB0_41
jmp LBB0_40
LBB0_42:
testl %ecx, %ecx
je LBB0_44
## %bb.43:
movl $1, %edi
callq _libmin_fail
movq _nchars@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_44:
movl $0, (%r14)
testl %eax, %eax
jle LBB0_69
## %bb.45:
movq _line@GOTPCREL(%rip), %r13
movq _max@GOTPCREL(%rip), %r15
leaq _data_table(%rip), %rdx
movq _x@GOTPCREL(%rip), %rsi
movq _print@GOTPCREL(%rip), %rbx
xorl %eax, %eax
jmp LBB0_46
.p2align 4, 0x90
LBB0_68: ## in Loop: Header=BB0_46 Depth=1
movq _i@GOTPCREL(%rip), %rcx
movl (%rcx), %eax
incl %eax
movl %eax, (%rcx)
movq _nchars@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB0_69
LBB0_46: ## =>This Loop Header: Depth=1
## Child Loop BB0_47 Depth 2
## Child Loop BB0_54 Depth 3
## Child Loop BB0_57 Depth 4
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
movaps %xmm0, 112(%r13)
movaps %xmm0, 96(%r13)
movaps %xmm0, 80(%r13)
movaps %xmm0, 64(%r13)
movaps %xmm0, 48(%r13)
movaps %xmm0, 32(%r13)
movaps %xmm0, 16(%r13)
movaps %xmm0, (%r13)
movl $538976288, 128(%r13) ## imm = 0x20202020
movl $132, (%r12)
cltq
movq _message@GOTPCREL(%rip), %rcx
movzbl (%rcx,%rax), %eax
leaq _asc_ptr(%rip), %rcx
movl (%rcx,%rax,4), %r14d
movq _pc@GOTPCREL(%rip), %rax
movl %r14d, (%rax)
movq _term@GOTPCREL(%rip), %rax
movl $0, (%rax)
movl $0, (%r15)
movq _linen@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB0_47
LBB0_62: ## in Loop: Header=BB0_47 Depth=2
movq _pc@GOTPCREL(%rip), %rax
movl (%rax), %r14d
leaq _data_table(%rip), %rdx
LBB0_63: ## in Loop: Header=BB0_47 Depth=2
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
movaps %xmm0, 112(%r13)
movaps %xmm0, 96(%r13)
movaps %xmm0, 80(%r13)
movaps %xmm0, 64(%r13)
movaps %xmm0, 48(%r13)
movaps %xmm0, 32(%r13)
movaps %xmm0, 16(%r13)
movaps %xmm0, (%r13)
movl $538976288, 128(%r13) ## imm = 0x20202020
movl $132, (%r12)
incl %r14d
LBB0_67: ## in Loop: Header=BB0_47 Depth=2
movq _pc@GOTPCREL(%rip), %rax
movl %r14d, (%rax)
movq _term@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB0_68
LBB0_47: ## Parent Loop BB0_46 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_54 Depth 3
## Child Loop BB0_57 Depth 4
cmpl $9271, %r14d ## imm = 0x2437
jb LBB0_49
## %bb.48: ## in Loop: Header=BB0_47 Depth=2
leaq L_.str.18(%rip), %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _libmin_printf
movl $1, %edi
callq _libmin_fail
movq _x@GOTPCREL(%rip), %rsi
leaq _data_table(%rip), %rdx
movq _pc@GOTPCREL(%rip), %rax
movl (%rax), %r14d
LBB0_49: ## in Loop: Header=BB0_47 Depth=2
movslq %r14d, %rcx
movzbl (%rcx,%rdx), %eax
movl %eax, (%rsi)
testb %al, %al
js LBB0_50
## %bb.64: ## in Loop: Header=BB0_47 Depth=2
movsbl 1(%rcx,%rdx), %ecx
leal (%rcx,%rax), %r8d
movq _y@GOTPCREL(%rip), %rdi
movl %ecx, (%rdi)
movl %r8d, (%r15)
testl %ecx, %ecx
jle LBB0_66
## %bb.65: ## in Loop: Header=BB0_47 Depth=2
movl %eax, %edi
addq %r13, %rdi
movl %ecx, %edx
movl $35, %esi
movl %r8d, -44(%rbp) ## 4-byte Spill
callq _memset
movq _x@GOTPCREL(%rip), %rsi
leaq _data_table(%rip), %rdx
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, (%rsi)
LBB0_66: ## in Loop: Header=BB0_47 Depth=2
addl $2, %r14d
jmp LBB0_67
.p2align 4, 0x90
LBB0_50: ## in Loop: Header=BB0_47 Depth=2
cmpb $-63, %al
jb LBB0_52
## %bb.51: ## in Loop: Header=BB0_47 Depth=2
movq _term@GOTPCREL(%rip), %rcx
incl (%rcx)
LBB0_52: ## in Loop: Header=BB0_47 Depth=2
andl $63, %eax
subl $1, %eax
movl %eax, (%rsi)
jb LBB0_63
## %bb.53: ## in Loop: Header=BB0_47 Depth=2
movq _linen@GOTPCREL(%rip), %r14
movl (%r14), %edx
jmp LBB0_54
.p2align 4, 0x90
LBB0_60: ## in Loop: Header=BB0_54 Depth=3
movl $10, %edi
callq _libmin_putc
movl (%r14), %ecx
movq _x@GOTPCREL(%rip), %rsi
movl (%rsi), %eax
LBB0_61: ## in Loop: Header=BB0_54 Depth=3
movl %ecx, %edx
subl $1, %eax
movl %eax, (%rsi)
jb LBB0_62
LBB0_54: ## Parent Loop BB0_46 Depth=1
## Parent Loop BB0_47 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_57 Depth 4
leal 1(%rdx), %ecx
movl %ecx, (%r14)
movslq %edx, %rdx
cmpb $0, (%rbx,%rdx)
je LBB0_61
## %bb.55: ## in Loop: Header=BB0_54 Depth=3
movl $0, (%r12)
movl (%r15), %eax
testl %eax, %eax
js LBB0_60
## %bb.56: ## in Loop: Header=BB0_54 Depth=3
xorl %ecx, %ecx
jmp LBB0_57
.p2align 4, 0x90
LBB0_59: ## in Loop: Header=BB0_57 Depth=4
leal 1(%rcx), %edx
movl %edx, (%r12)
cmpl %eax, %ecx
movl %edx, %ecx
jge LBB0_60
LBB0_57: ## Parent Loop BB0_46 Depth=1
## Parent Loop BB0_47 Depth=2
## Parent Loop BB0_54 Depth=3
## => This Inner Loop Header: Depth=4
movslq %ecx, %rdx
cmpb $0, (%rbx,%rdx)
je LBB0_59
## %bb.58: ## in Loop: Header=BB0_57 Depth=4
movsbl (%r13,%rdx), %edi
callq _libmin_putc
movl (%r12), %ecx
movl (%r15), %eax
jmp LBB0_59
LBB0_69:
callq _libmin_success
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,__const
.globl _asc_ptr ## @asc_ptr
.p2align 4, 0x0
_asc_ptr:
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 1 ## 0x1
.long 3 ## 0x3
.long 50 ## 0x32
.long 81 ## 0x51
.long 104 ## 0x68
.long 281 ## 0x119
.long 483 ## 0x1e3
.long 590 ## 0x24e
.long 621 ## 0x26d
.long 685 ## 0x2ad
.long 749 ## 0x2ed
.long 851 ## 0x353
.long 862 ## 0x35e
.long 893 ## 0x37d
.long 898 ## 0x382
.long 921 ## 0x399
.long 1019 ## 0x3fb
.long 1150 ## 0x47e
.long 1200 ## 0x4b0
.long 1419 ## 0x58b
.long 1599 ## 0x63f
.long 1744 ## 0x6d0
.long 1934 ## 0x78e
.long 2111 ## 0x83f
.long 2235 ## 0x8bb
.long 2445 ## 0x98d
.long 2622 ## 0xa3e
.long 2659 ## 0xa63
.long 0 ## 0x0
.long 2708 ## 0xa94
.long 0 ## 0x0
.long 2715 ## 0xa9b
.long 2857 ## 0xb29
.long 3072 ## 0xc00
.long 3273 ## 0xcc9
.long 3403 ## 0xd4b
.long 3560 ## 0xde8
.long 3662 ## 0xe4e
.long 3730 ## 0xe92
.long 3785 ## 0xec9
.long 3965 ## 0xf7d
.long 4000 ## 0xfa0
.long 4015 ## 0xfaf
.long 4115 ## 0x1013
.long 4281 ## 0x10b9
.long 4314 ## 0x10da
.long 4432 ## 0x1150
.long 4548 ## 0x11c4
.long 4709 ## 0x1265
.long 4790 ## 0x12b6
.long 4999 ## 0x1387
.long 5188 ## 0x1444
.long 5397 ## 0x1515
.long 5448 ## 0x1548
.long 5576 ## 0x15c8
.long 5710 ## 0x164e
.long 5892 ## 0x1704
.long 6106 ## 0x17da
.long 6257 ## 0x1871
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 50 ## 0x32
.long 6503 ## 0x1967
.long 6642 ## 0x19f2
.long 6733 ## 0x1a4d
.long 6837 ## 0x1ab5
.long 6930 ## 0x1b12
.long 7073 ## 0x1ba1
.long 7157 ## 0x1bf5
.long 7380 ## 0x1cd4
.long 7452 ## 0x1d1c
.long 7499 ## 0x1d4b
.long 7584 ## 0x1da0
.long 7689 ## 0x1e09
.long 7702 ## 0x1e16
.long 7797 ## 0x1e75
.long 7869 ## 0x1ebd
.long 7978 ## 0x1f2a
.long 8069 ## 0x1f85
.long 8160 ## 0x1fe0
.long 8222 ## 0x201e
.long 8381 ## 0x20bd
.long 8442 ## 0x20fa
.long 8508 ## 0x213c
.long 8605 ## 0x219d
.long 8732 ## 0x221c
.long 8888 ## 0x22b8
.long 9016 ## 0x2338
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.long 0 ## 0x0
.globl _data_table ## @data_table
.p2align 4, 0x0
_data_table:
.ascii "\201\343\202\"\006Z\023\201 \nJ(\201\037\f@5\201\036\0166A\201\036\0165C\201\036\0166A\201\037\f@5\201 \nJ(\201\"\006Z\023\201\302\202c\t\201a\016\201`\022\201_\026\201_\020u\002\201_\016\201`\013\201a\t\201c\006\201\302\201W\004e\004\203R\034\203W\004e\004\205R\034\203W\004e\004\203\301\201'\001T\033\201&\003Q \201%\005O#\201$\005M&\201#\005L(\201\"\005K\025g\016\201!\005J\023k\013\201 \005I\021n\t\201 \004I\020p\007\201\037\004H\017r\006\201\037\004H\016s\005\201\036\004G\017t\005\201\033a\203\036\004E\016u\004\201\036\004D\017u\004\204\036\004D\016u\004\201\033a\203\036\005A\017t\005\201\037\004A\016t\004\201\037\006@\017t\004\201 \007>\020s\004\201 \t=\021r\005\201!\013:\023q\005\201\"\0167\025p\005\201#(o\005\201$&n\005\201%#m\005\201& n\003\201(\033o\001\201\301\201\036\004g\t\201\036\007d\017\201\036\nc\021\201!\na\006p\006\201$\n`\005r\005\201'\n`\004s\004\201*\n_\004t\004\201-\n_\003u\003\2010\n_\003u\003\2013\n_\004t\004\2016\n`\004s\004\2019\n`\005r\005\201<\na\006p\006\201?\nc\021\201B\nd\017\201E\ng\t\201'\tH\n\201$\017K\n\201#\021N\n\201!\0060\006Q\n\201 \0052\005T\n\201 \0043\004W\n\201\037\0044\004Z\n\201\037\0035\003]\n\201\037\0035\003`\n\201\037\0044\004c\n\201 \0043\004f\n\201 \0052\005i\n\201!\0060\006l\n\201#\021o\n\201$\017r\007\201(\tv\004\201\301\2010\022\201+\034\201) \201'$\201%(\201#,\201\".\201!\rD\r\201 \tI\t\201 \007K\007\201\037\006M\006\201\037\005N\005\201\036\005O\005\201\024J\204\036\004P\004\201\037\003O\004\201\037\004O\004\201 \003N\004\201 \004L\006\201!\004J\007\201\"\004H\b\201#\005H\007\201%\005I\004\201'\004J\001\201\201\301\202o\006\201m\n\201l\f\201k\016\201a\002i\020\201c\026\201f\022\201i\016\201l\t\201\302\202?\031\2019%\2014/\20107\201,?\201)E\201&K\201$O\201\"S\201!\034Z\034\201 \027`\027\201 \021f\021\201\037\rk\r\201\036\tp\t\201\036\005t\005\201\036\001x\001\201\302\202\036\001x\001\201\036\005t\005\201\036\tp\t\201\037\rk\r\201 \021f\021\201 \027`\027\201!\034Z\034\201\"S\201$O\201&K\201)E\201,?\20107\2014/\2019%\201?\031\201\302\201P\004\202P\004\201D\002P\004^\002\201B\006P\004\\\006\201C\007P\004Z\007\201E\007P\004X\007\201G\006P\004W\006\201H\024\201J\020\201L\f\201>(\203L\f\201J\020\201H\024\201G\006P\004W\006\201E\007P\004X\007\201C\007P\004Z\007\201B\006P\004\\\006\201D\002P\004^\002\201P\004\202\301\201<\004\213)*\203<\004\213\301\202\"\006\201 \n\201\037\f\201\036\016\201\024\002\034\020\201\026\026\201\030\023\201\033\017\201\037\t\201\302\201<\004\230\301\202\"\006\201 \n\201\037\f\201\036\016\203\037\f\201 \n\201\"\006\201\302\201\036\004\201\036\007\201\036\n\201!\n\201$\n\201'\n\201*\n\201-\n\2010\n\2013\n\2016\n\2019\n\201<\n\201?\n\201B\n\201E\n\201H\n\201K\n\201N\n\201Q\n\201T\n\201W\n\201Z\n\201]\n\201`\n\201c\n\201f\n\201i\n\201l\n\201o\n\201r\007\201u\004\201\301\201<\037\2015-\20115\201.;\201+A\201)E\201'I\201%M\201$O\201#\017e\017\201\"\013j\013\201!\tm\t\201 \007p\007\201\037\006r\006\201\037\005s\005\201\036\005t\005\201\036\004u\004\204\036\005t\005\201\037\005s\005\201\037\006r\006\201 \007p\007\201!\tm\t\201\"\013j\013\201#\017e\017\201$O\201%M\201'I\201)E\201+A\201.;\20115\2015-\201<\037\201\301\201\036\004\201\036\004d\001\201\036\004d\003\201\036\004d\005\201\036L\201\036N\201\036P\201\036R\201\036S\201\036U\201\036W\201\036Y\201\036[\201\036\004\204\301\201\036\003\201\036\007\201\036\np\001\201\036\rp\002\201\036\020p\003\201\036\022o\005\201\036\025o\006\201\036\027p\006\201\036\016/\bq\006\201\036\0161\br\005\201\036\0163\bs\005\201\036\0165\bt\004\201\036\0167\bt\005\201\036\0168\tu\004\201\036\0169\tu\004\201\036\016:\nu\004\201\036\016;\nu\004\201\036\016<\013u\004\201\036\016=\013t\005\201\036\016>\013t\005\201\036\016?\fs\006\201\036\016@\rr\007\201\036\016A\rq\b\201\036\016A\017o\t\201\036\016B\020m\013\201\036\016C\021k\f\201\036\016D\024g\020\201\036\016E1\201\036\016F/\201\036\016G-\201\036\016I*\201\036\017K&\201!\fM\"\201$\nO\036\201(\006R\027\201,\003V\017\201/\001\201\301\201\201&\003\201%\005o\001\201$\007o\002\201#\tn\005\201\"\bn\006\201!\007m\b\201 \007n\b\201 \006p\007\201\037\006q\006\201\037\005r\006\201\036\005s\005\201\036\005t\004\201\036\004u\004\203\036\004u\004\201\036\004O\002u\004\201\036\005N\004u\004\201\036\005M\006t\005\201\036\006L\bs\006\201\036\007K\013r\006\201\036\bI\017p\b\201\037\tG\023n\t\201\037\013D\032k\f\201 \rA\016R$\201 \020=\021S\"\201!,T \201\"*U\036\201#(W\033\201$&Y\027\201&\"\\\021\201(\036_\013\201*\032\201-\024\2011\013\201\301\2011\001\2011\004\2011\006\2011\b\2011\n\2011\f\2011\016\2011\021\2011\023\2011\025\2011\027\2011\016A\t\2011\016C\t\2011\016E\t\2011\016G\n\2011\016J\t\2011\016L\t\2011\016N\t\2011\016P\t\2011\016R\t\2011\016T\t\201\036\0041\016V\n\201\036\0041\016Y\t\201\036\0041\016[\t\201\036\0041\016]\t\201\036J\201\036L\201\036N\201\036Q\201\036S\201\036U\201\036W\201\036Y\201\036[\201\036\0041\016\204\301\201%\001\201$\003M\003\201#\005N\013\201\"\007N\025\201!\007O\035\201 \007O&\201 \006P\004\\\035\201\037\006P\005f\023\201\037\005P\006k\016\201\037\004Q\005k\016\201\036\005Q\006k\016\201\036\004Q\006k\016\202\036\004Q\007k\016\201\036\004P\bk\016\202\036\005P\bk\016\201\036\005O\tk\016\201\037\005O\tk\016\201\037\006N\nk\016\201 \006L\013k\016\201 \bJ\rk\016\201!\nG\020k\016\201!\017C\023k\016\201\"3k\016\201#1k\016\201$/k\016\201%-k\016\201')k\016\201)%k\016\201, k\016\201/\031o\n\2013\020s\006\201w\002\201\301\2018'\20131\201/9\201,?\201*C\201(G\201&K\201%M\201#Q\201\"\020J\005e\020\201!\013L\005k\013\201 \tM\005n\t\201 \007O\004p\007\201\037\006P\004r\006\201\037\005Q\004s\005\201\036\005R\004t\005\201\036\004R\004t\005\201\036\004R\005u\004\203\036\005R\005u\004\201\037\005Q\006u\004\201\037\006P\007u\004\201 \007O\bu\004\201 \tM\tt\005\201!\013K\013t\004\201\"\020E\020s\005\201#1r\005\201%.q\005\201&,p\006\201()p\005\201*%q\003\201,!r\001\201/\033\2013\021\201\301\201g\002\201g\006\201h\t\201i\f\201j\017\201k\016\207\036\nk\016\201\036\021k\016\201\036\031k\016\201\036\037k\016\201\036%k\016\201\036*k\016\201\036.k\016\201\0362k\016\201\0366k\016\201\036:k\016\201; k\016\201@\036k\016\201J\027k\016\201Q\022k\016\201V\020k\016\201[\016k\016\201`\031\201d\025\201h\021\201k\016\201o\n\201r\007\201u\004\201x\001\201\301\2010\r\201,\025\201*\032\201(\036\\\f\201&\"X\024\201$%V\031\201#'T\035\201\"\r?\fR!\201!\013C\tP$\201 \tF\007O&\201\037\bH.\201\036\007J\026l\013\201\036\006K\023o\t\201\036\005K\021q\007\201\036\005J\020r\006\201\036\004I\020s\006\201\036\004H\020t\005\201\036\004H\017u\004\201\036\004G\020u\004\201\036\005F\020u\004\201\036\005F\017u\004\201\036\006E\017t\005\201\036\007D\021s\005\201\036\tC\023r\006\201\036\nA\026q\006\201\037\f?\033n\t\201 \016<\025T\tj\f\201!/U \201\"-V\036\201#+X\032\201$(Z\026\201&$]\021\201( `\n\201*\034\201,\027\2010\017\201\301\201S\021\201M\033\201$\001J!\201#\003H%\201\"\005F)\201!\006E,\201!\005D.\201 \005C1\201\037\005B\021e\020\201\037\005B\013l\n\201\036\004A\tn\t\201\036\004@\bp\007\201\036\004@\007r\006\201\036\004@\006s\005\201\036\004@\005t\005\201\036\004@\005u\004\203\036\004A\004u\004\201\036\005A\004t\005\201\037\005B\004s\005\201\037\006C\004r\006\201 \007D\004p\007\201 \tE\005n\t\201!\013F\005k\013\201\"\020H\005e\020\201#Q\201%M\201&K\201(G\201*C\201,?\201/9\20131\2018'\201\301\202\"\006J\006\201 \nH\n\201\037\fG\f\201\036\016F\016\203\037\fG\f\201 \nH\n\201\"\006J\006\201\302\202\"\006J\006\201 \nH\n\201\037\fG\f\201\036\016F\016\201\024\002\034\020F\016\201\026\026F\016\201\030\023G\f\201\033\017H\n\201\037\tJ\006\201\302\2015\004?\004\230\301\202c\007\201a\r\201`\020\201`\022\201`\023\201a\023\201c\006n\007\201p\006\201r\005\201\"\0069\005s\004\201 \n6\ft\004\201\037\f5\020u\003\201\036\0164\024u\004\201\036\0164\027u\004\201\036\0164\031u\004\201\037\f4\033u\004\201 \n5\nF\013t\005\201\"\0067\005I\ns\006\201J\013r\007\201K\fp\t\201L\rn\n\201M\020j\016\201N)\201P&\201Q$\201R\"\201T\036\201V\032\201X\026\201\\\016\201\302\2017\017\2012\031\201/ \201-\rF\f\201+\tL\n\201*\006O\b\201)\005Q\007\201(\004T\006\201'\004;\fU\006\201&\0047\023W\005\201%\0045\027X\004\201$\0043\bG\006Y\004\201$\0043\006I\004Y\004\201$\0042\006J\004Z\003\201#\0042\005K\003Z\004\201#\0042\004K\004Z\004\203#\0042\005K\004Z\004\201$\0043\005K\004Z\004\201$\0043\006K\004Z\004\201$\0045\032Z\004\201%\0046\031Z\004\201%\0044\033Z\003\201&\0044\004Y\004\201'\0043\004X\004\201(\0042\004W\005\201)\0042\004V\005\201*\0042\004U\005\201+\0032\004S\006\201,\0023\005P\007\201.\0014\006L\t\2016\034\2018\027\201<\020\201\301\201\036\004\204\036\005\201\036\b\201\036\f\201\036\020\201\036\004%\f\201\036\004)\f\201\036\004,\r\201\036\0040\r\2014\r\2018\f\201:\016\201:\004@\f\201:\004D\f\201:\004H\f\201:\004K\r\201:\004O\r\201:\004S\r\201:\004W\r\201:\004[\f\201:\004_\f\201:\004`\017\201:\004]\026\201:\004Y\036\201:\004U$\201:\004Q&\201:\004M&\201:\004I&\201:\004F%\201:\004B%\201:)\201:%\2016&\201\036\0042&\201\036\004.&\201\036\004*&\201\036\004&'\201\036+\201\036'\201\036#\201\036\037\201\036\033\201\036\030\201\036\024\201\036\020\201\036\f\201\036\b\201\036\005\201\036\004\204\301\201\036\004u\004\204\036[\211\036\004P\004u\004\212\036\004P\005t\005\201\036\005O\006t\005\202\036\006N\bs\006\201\037\006M\ts\006\201\037\007L\013r\006\201\037\bK\016p\b\201 \bJ\020o\t\201 \tI\023m\n\201!\nG\030j\r\201!\rD\fS#\201\"\020@\017T!\201#+U\037\201$)V\035\201%'X\031\201&%Z\025\201(!]\017\201*\035`\t\201-\030\2011\020\201\301\201?\031\2019%\2015-\20123\201/9\201-=\201+A\201)E\201'I\201&\031\\\025\201$\025a\022\201#\022f\016\201\"\020j\013\201!\016l\n\201 \fo\b\201 \nq\006\201\037\nr\006\201\037\bs\005\201\036\bt\005\201\036\007t\005\201\036\006u\004\202\036\005u\004\203\037\004t\005\201 \004t\004\201 \005s\005\201!\004r\005\201\"\004p\006\201#\004n\007\201%\004k\t\201'\004g\f\201)\004g\022\201+\004g\022\201-\005g\022\2010\005g\022\2013\001\201\301\201\036\004u\004\204\036[\211\036\004u\004\207\036\005t\005\202\036\006s\006\202\037\006r\006\201\037\007q\007\201 \007p\007\201 \bo\b\201!\tm\t\201!\fj\f\201\"\rh\r\201#\017e\017\201$\023`\023\201%\030Z\030\201'I\201(G\201*C\201,?\201.;\20115\2014/\2018'\201=\035\201\301\201\036\004u\004\204\036[\211\036\004P\004u\004\214\036\004O\006u\004\201\036\004M\nu\004\201\036\004I\022u\004\204\036\004u\004\202\036\005t\005\202\036\007r\007\201\036\bq\b\201\036\013n\013\201\036\022g\022\204\301\201\036\004u\004\204\036[\211\036\004P\004u\004\204P\004u\004\210O\006u\004\201M\nu\004\201I\022u\004\204u\004\202t\005\202r\007\201q\b\201n\013\201g\022\204\301\201?\031\2019%\2015-\20123\201/9\201-=\201+A\201)E\201'I\201&\031\\\025\201$\025a\022\201#\022f\016\201\"\020j\013\201!\016l\n\201 \fo\b\201 \nq\006\201\037\nr\006\201\037\bs\005\201\036\bt\005\201\036\007t\005\201\036\006u\004\202\036\005u\004\203\036\005K\004t\005\201\037\005K\004t\004\201\037\006K\004s\005\201 \007K\004r\005\201 \tK\004p\006\201!\013K\004n\007\201\"\017K\004k\t\201#,g\f\201$+g\022\201&)g\022\201'(g\022\201)&g\022\201,#\2010\037\2014\033\201=\022\201\301\201\036\004u\004\204\036[\211\036\004P\004u\004\204P\004\214\036\004P\004u\004\204\036[\211\036\004u\004\204\301\201\036\004u\004\204\036[\211\036\004u\004\204\301\201,\007\201(\r\201%\021\201#\024\201\"\026\201!\027\201 \030\201 \027\201\037\006)\r\201\037\005*\013\201\036\005,\007\201\036\004\204\036\005\202\037\005\201\037\006u\004\201\037\bu\004\201 \tu\004\201!\013u\004\201\"W\201#V\201$U\201%T\201&S\201(Q\201*O\201-L\2012G\201u\004\204\301\201\036\004u\004\204\036[\211\036\004L\bu\004\201\036\004I\ru\004\201\036\004F\022u\004\201\036\004C\027u\004\201A\032\201>\037\201;#\2018\035Y\007\2015\035[\007\2012\035]\007\201/\035_\006\201\036\004-\035`\007\201\036\004*\035b\007\201\036\004'\036d\006\201\036\004$\036e\007\201\036!g\007u\004\201\036\036i\006u\004\201\036\033j\007u\004\201\036\031l\007u\004\201\036\026n\013\201\036\023o\n\201\036\020q\b\201\036\rs\006\201\036\013t\005\201\036\bu\004\201\036\005u\004\201\036\004u\004\202\036\004\202\301\201\036\004u\004\204\036[\211\036\004u\004\204\036\004\220\036\005\202\036\007\201\036\b\201\036\013\201\036\022\204\301\201\036\004u\004\204\036[\204\036\004g\022\201\036\004a\030\201\036\004\\\035\201\036\004W\"\201Q(\201L-\201F1\201A1\201<1\20171\20120\201,1\201'0\201!1\201\036/\201\"%\201(\032\201.\023\2014\023\201:\023\201@\023\201F\023\201L\023\201R\023\201\036\004X\022\201\036\004^\022\201\036\004d\022\201\036\004j\017\201\036[\211\036\004u\004\204\301\201\036\004u\004\204\036[\204\036\004k\016\201\036\004h\021\201\036\004e\024\201\036\004c\026\201`\031\201]\034\201[\034\201X\035\201U\035\201R\035\201O\035\201L\035\201J\035\201G\035\201D\035\201A\035\201>\035\201<\035\2019\035\2016\035\2013\035\2011\034\201.\035\201+\035\201(\035u\004\201%\035u\004\201#\035u\004\201 \035u\004\201\036[\204u\004\204\301\201?\031\2019%\2015-\20123\201/9\201-=\201+A\201)E\201'I\201&\025\\\025\201$\022a\022\201#\016f\016\201\"\013j\013\201!\nl\n\201 \bo\b\201 \006q\006\201\037\006r\006\201\037\005s\005\201\036\005t\005\202\036\004u\004\204\036\005t\005\202\037\005s\005\201\037\006r\006\201 \006q\006\201 \bo\b\201!\nl\n\201\"\013j\013\201#\016f\016\201$\022a\022\201&\025\\\025\201'I\201)E\201+A\201-=\201/9\20123\2015-\2019%\201?\031\201\301\201\036\004u\004\204\036[\211\036\004P\004u\004\204P\004u\004\206P\005t\005\203P\006s\006\202Q\006r\006\201Q\bp\b\201Q\to\t\201R\nm\n\201R\rj\r\201S#\201T!\201U\037\201V\035\201X\031\201Z\025\201]\017\201`\t\201\301\201?\031\2019%\2015-\20123\201/9\201-=\201+A\201)E\201'I\201&\025\\\025\201$\022a\022\201#\016f\016\201\"\013j\013\201!\nl\n\201 \bo\b\201 \006q\006\201\037\006r\006\201\037\005s\005\201\036\005t\005\202\036\004'\002u\004\201\036\004(\004u\004\201\036\004)\005u\004\201\036\004)\006u\004\201\036\005(\bt\005\201\036\005'\nt\005\201\037\005&\013s\005\201\037\022r\006\201 \021q\006\201 \020o\b\201!\017l\n\201!\016j\013\201 \021f\016\201\037\027a\022\201\037\034\\\025\201\036R\201\036P\201\036\013+A\201\036\n-=\201\037\b/9\201 \00623\201!\0055-\201#\0049%\201&\002?\031\201\301\201\036\004u\004\204\036[\211\036\004L\bu\004\201\036\004I\013u\004\201\036\004F\016u\004\201\036\004C\021u\004\201A\023u\004\201>\026u\004\201;\031u\004\2018\034u\004\2015\037u\004\2012\"u\004\201/\035P\005t\005\201\036\004-\035P\005t\005\201\036\004*\035P\005t\005\201\036\004'\036P\006s\006\201\036\004$\036P\006s\006\201\036!Q\006r\006\201\036\036Q\bp\b\201\036\033Q\to\t\201\036\031R\nm\n\201\036\026R\rj\r\201\036\023S#\201\036\020T!\201\036\rU\037\201\036\013V\035\201\036\bX\031\201\036\005Z\025\201\036\004]\017\201\036\004`\t\201\036\004\202\301\201\036\022\202\036\022Y\017\201\036\022U\027\201\"\013S\033\201\"\tQ\037\201!\bO#\201!\006N\020j\t\201 \006M\017m\007\201 \005L\016o\006\201\037\005K\016q\005\201\037\004J\017r\005\201\037\004J\016s\004\201\036\004I\017t\004\201\036\004I\016t\004\201\036\004I\016u\004\201\036\004H\017u\004\202\036\004G\017u\004\202\036\004F\017u\004\201\036\005F\017u\004\201\036\005E\017t\005\201\036\006D\020s\005\201\037\006C\020r\006\201\037\007B\021q\006\201 \007@\022o\b\201 \b>\023m\t\201!\t<\024k\n\201\"\0139\026g\r\201#+g\022\201$)g\022\201&&g\022\201'#g\022\201)\037\201+\033\201.\026\2011\016\201\301\201g\022\204n\013\201q\b\201r\007\201t\005\202u\004\204\036\004u\004\204\036[\211\036\004u\004\204u\004\204t\005\202r\007\201q\b\201n\013\201g\022\204\301\201u\004\2048A\2012G\201.K\201,M\201*O\201(Q\201&S\201$U\201#V\201\"\024u\004\201!\021u\004\201 \017u\004\201 \ru\004\201\037\f\201\037\n\201\037\t\201\036\t\201\036\b\202\036\007\204\037\006\202\037\007\201 \006\201 \007\201!\007\201\"\007\201#\b\201$\tu\004\201&\tu\004\201(\nu\004\201*\fu\004\201,M\201.K\2012G\2018+d\025\201u\004\204\301\201u\004\204s\006\201n\013\201i\020\201e\024\201`\031\201\\\035\201W\"\201S&\201N+\201J/\201F*u\004\201A*u\004\201<+u\004\2018*\2013*\201.+\201*+\201%,\201!+\201\036*\201!\"\201&\031\201*\020\201/\017\2014\017\2019\017\201=\020\201B\020\201G\020\201L\020\201P\020\201U\020u\004\201Z\020u\004\201_\020u\004\201d\025\201i\020\201n\013\201r\007\201u\004\204\301\201u\004\204s\006\201n\013\201i\020\201e\024\201`\031\201\\\035\201W\"\201S&\201N+\201J/\201F*u\004\201A*u\004\201<+u\004\2018*\2013*\201.+\201*+\201%,\201!+\201\036*\201!\"\201&\031\201*\020\201/\017\2014\017\2019\017\201=\020\201A\021\201<\033\2018$\2013*\201.+\201*+\201%,\201!+\201\036*\201!\"\201&\031\201*\020\201/\017\2014\017\2019\017\201=\020\201B\020\201G\020\201L\020\201P\020\201U\020u\004\201Z\020u\004\201_\020u\004\201d\025\201i\020\201n\013\201r\007\201u\004\204\301\201\036\004u\004\204\036\004s\006\201\036\004p\t\201\036\006m\f\201\036\tj\017\201\036\013g\022\201\036\016d\025\201\036\004&\tb\027\201\036\004(\n_\032\201\036\004+\t\\\035\201.\tY \2011\bV\034u\004\2013\tS\034u\004\2016\tP\034u\004\2019\bM\034u\004\201;\tJ\034\201>%\201@!\201B\034\201?\034\201<\034\2019\034\2016!\2013'\2010\035S\t\201\036\004-\035V\t\201\036\004*\035Y\t\201\036\004'\035\\\b\201\036\004$\035^\t\201\036 a\t\201\036\035d\bu\004\201\036\032g\bu\004\201\036\027i\tu\004\201\036\024l\r\201\036\022o\n\201\036\017q\b\201\036\ft\005\201\036\tu\004\201\036\006u\004\201\036\004u\004\204\301\201u\004\204r\007\201o\n\201l\r\201i\020\201f\023\201d\025\201`\031\201]\034\201Z\037\201W\"\201T\036u\004\201\036\004Q\036u\004\201\036\004N\036u\004\201\036\004K\036u\004\201\036\004H\036\201\036E\201\036B\201\036?\201\036<\201\0369\201\0366\201\0363\201\0360\201\0363\201\036\004I\f\201\036\004L\f\201\036\004P\f\201\036\004S\f\201W\f\201Z\fu\004\201^\013u\004\201a\fu\004\201e\fu\004\201h\021\201l\r\201o\n\201s\006\201u\004\206\301\201\036\001g\022\201\036\004g\022\201\036\007g\022\201\036\tg\022\201\036\fn\013\201\036\017q\b\201\036\022r\007\201\036\025t\005\201\036\030t\005\201\036\033u\004\201\036\036u\004\201\036!u\004\201\036\004%\034u\004\201\036\004(\034u\004\201\036\004*\035u\004\201\036\004-\035u\004\201\036\0040\035u\004\201\036\0043\035u\004\201\036\0046\035u\004\201\036\0049\035u\004\201\036\004;\036u\004\201\036\004>\036u\004\201\036\004A\036u\004\201\036\004D\036u\004\201\036\004G\036u\004\201\036\004J\036u\004\201\036\004M\036u\004\201\036\004P\036u\004\201\036\004S\036u\004\201\036\004V#\201\036\004Y \201\036\004[\036\201\036\004^\033\201\036\005a\030\201\036\005d\025\201\036\007g\022\201\036\bj\017\201\036\013m\f\201\036\022p\t\201\036\022s\006\201\036\022u\004\201\036\022x\001\201\301\201*\b\201&\020\201$\024\201\"\030G\005\201!\032E\n\201 \034D\r\201\037\036D\016\201\037\t4\tD\017\201\036\b6\bE\016\201\036\0077\007G\004N\006\201\036\0068\006O\005\201\036\0068\006P\004\202\037\0058\005P\004\201\037\0058\005O\005\201 \0057\005N\006\201!\0056\005M\007\201\"\0064\006J\t\201#0\201!1\201 1\201\0371\201\0361\201\036/\201\036-\201\036)\201\036\006\201\036\004\201\036\003\201\036\002\201\301\201\036\004u\004\202\037Z\210%\005H\005\201#\005J\005\201!\005L\005\201 \005M\005\201\037\005N\005\201\037\004O\004\201\036\005O\005\203\036\006N\006\201\036\007M\007\201\037\bK\b\201\037\013H\013\201 \017C\017\201!0\201\".\201#,\201%(\201'$\201*\036\201.\026\201\301\2010\022\201+\034\201) \201'$\201%(\201#,\201\".\201!\rD\r\201 \tI\t\201 \007K\007\201\037\006M\006\201\037\005N\005\201\036\005O\005\201\036\004P\004\205\037\003O\004\201\037\004O\004\201 \003N\004\201 \004L\006\201!\004J\007\201\"\004H\b\201#\005H\007\201%\005I\004\201'\004J\001\201\201\301\201.\026\201*\036\201'$\201%(\201#,\201\".\201!0\201 \017C\017\201\037\013H\013\201\037\bK\b\201\036\007M\007\201\036\006N\006\201\036\005O\005\203\037\004O\004\201\037\005N\005\201 \005M\005\201!\005L\005\201#\005J\005u\004\201%\005H\005u\004\201\036[\210\036\004\202\301\2010\022\201+\034\201) \201'$\201%(\201#,\201\".\201!\r7\004D\r\201 \t7\004I\t\201 \0077\004K\007\201\037\0067\004M\006\201\037\0057\004N\005\201\036\0057\004O\005\201\036\0047\004P\004\204\036\0047\004O\005\201\037\0037\004N\005\201\037\0047\004M\006\201 \0037\004K\007\201 \0047\004I\t\201!\0047\004D\r\201\"\0047\031\201#\0057\030\201%\0057\026\201'\0047\024\2017\022\2017\020\2017\013\201\301\201P\004\201\036\004P\004\202\036N\201\036R\201\036U\201\036W\201\036X\201\036Y\201\036Z\202\036\004P\004s\006\201\036\004P\004u\004\201P\004i\006u\004\201P\004g\nt\005\201P\004f\023\201P\004e\023\201e\023\201e\022\201f\020\201g\f\201i\006\201\301\201\f\n;\013\201\t\0207\023\201\007\0245\027\201\006\007\027\005 \0063\033\201\004\007\031\0202\035\201\003\006\033\0201\037\201\002\006\034\0200!\201\001\006\033\022/#\201\001\006\033\037G\f\201\001\005\032\017,\nK\b\201\001\005\031\016-\007M\007\201\001\005\031\r-\005O\005\201\001\005\030\016-\004P\004\201\001\005\030\r-\004P\004\201\001\005\027\016-\004P\004\201\001\005\027\r-\004P\004\201\001\006\026\r-\005O\005\201\001\006\025\016-\007M\007\201\001\007\025\r.\bK\b\201\001\b\024\r.\fG\f\201\001\n\022\017/#\201\002\0360!\201\003\0351 \201\004\0332\037\201\005\0313\033P\002V\004\201\007\0255\027P\003U\006\201\t\0217\023P\f\201\f\f;\013Q\013\201R\n\201T\007\201V\004\201\301\201\036\004u\004\202\036[\210\036\004H\005\201\036\004J\005\201K\005\201L\005\201L\006\201M\006\202M\007\202L\b\201\036\004K\t\201\036\004H\f\201\0366\201\0365\202\0364\201\0363\201\0361\201\036.\201\036*\201\036\004\202\301\201\036\004P\004\201\036\004P\004d\006\201\0366b\n\201\0366a\f\201\0366`\016\203\0366a\f\201\0366b\n\201\0366d\006\201\036\004\202\301\201\007\006\201\004\013\201\003\r\201\002\016\201\001\017\202\001\003\006\t\201\001\003\007\006\201\001\003\202\001\004\201\001\005P\004\201\001\007P\004d\006\201\002Rb\n\201\003Qa\f\201\004P`\016\201\005O`\016\201\007M`\016\201\nJa\f\201\016Fb\n\201\023Ad\006\201\301\201\036\004u\004\202\036[\210\036\0049\t\201\036\0047\f\2014\021\2012\024\2010\030\201.\033\201,\025E\006\201)\026F\006P\004\201\036\004'\025H\006P\004\201\036\004$\026I\013\201\036\032K\t\201\036\027L\b\201\036\025N\006\201\036\023O\005\201\036\020P\004\201\036\016P\004\201\036\f\201\036\n\201\036\007\201\036\005\201\036\004\202\301\201\036\004u\004\202\036[\210\036\004\202\301\201\036\004P\004\202\0366\210\036\004H\005\201\036\004J\005\201K\005\201L\005\201\036\004K\007\201\036\004J\t\201\0366\204\0365\201\0364\201\0363\201\0360\201\036\004H\005\201\036\004J\005\201K\005\201L\005\201\036\004K\007\201\036\004J\t\201\0366\204\0365\201\0364\201\0363\201\0360\201\036\004\202\301\201\036\004P\004\202\0366\210\036\004H\005\201\036\004J\005\201K\005\201L\005\201L\006\201M\006\202M\007\202L\b\201\036\004K\t\201\036\004H\f\201\0366\201\0365\202\0364\201\0363\201\0361\201\036.\201\036*\201\036\004\202\301\2010\022\201+\034\201) \201'$\201%(\201#,\201\".\201!\rD\r\201 \tI\t\201 \007K\007\201\037\006M\006\201\037\005N\005\201\036\005O\005\201\036\004P\004\204\036\005O\005\202\037\005N\005\201\037\006M\006\201 \007K\007\201 \tI\t\201!\rD\r\201\".\201#,\201%(\201'$\201) \201+\034\2010\022\201\301\201\001\003P\004\202\001S\211%\005H\005\201#\005J\005\201!\005L\005\201 \005M\005\201\037\005N\005\201\037\004O\004\201\036\005O\005\203\036\006N\006\201\036\007M\007\201\037\bK\b\201\037\013H\013\201 \017C\017\201!0\201\".\201#,\201%(\201'$\201*\036\201.\026\201\301\201.\026\201*\036\201'$\201%(\201#,\201\".\201!0\201 \017C\017\201\037\013H\013\201\037\bK\b\201\036\007M\007\201\036\006N\006\201\036\005O\005\203\037\004O\004\201\037\005N\005\201 \005M\005\201!\005L\005\201#\005J\005\201%\005H\005\201\001S\210\001\003P\004\202\301\201\036\004P\004\202\0366\210\036\004D\006\201\036\004F\006\201G\007\201H\007\201I\007\201J\007\201J\b\201K\b\202E\017\201C\021\201B\022\201A\023\202A\022\202B\020\201C\r\201E\b\201\301\201\036\r@\b\201\036\r=\016\201\036\r;\022\201\036\r9\026\201!\b8\030\201 \0077\032\201 \0066\034\201\037\0065\020M\006\201\037\0055\016O\004\201\036\0054\016P\004\201\036\0054\rP\004\201\036\0044\rP\004\201\036\0044\fP\004\201\036\0043\rP\004\202\036\0042\rO\005\201\036\0042\rN\005\201\036\0051\016M\006\201\037\0041\rL\006\201\037\0050\016K\007\201 \005/\016I\b\201 \006-\020G\r\201!\033G\r\201\"\032G\r\201#\030G\r\201%\024\201'\020\201+\t\201\301\201P\004\203)8\201%<\201#>\201!@\201 A\201\037B\201\036C\202\036\013P\004\201\036\tP\004\201\036\bP\004\201\037\007P\004\201\037\006\201 \005\201!\005\201#\004\201&\003\201\301\201P\004\202**\201&.\201#1\201!3\201 4\201\0375\202\0366\201\036\f\201\036\t\201\036\b\201\036\007\202\037\006\202 \006\201!\005\201\"\005\201#\005P\004\201%\005P\004\201\0366\210\036\004\202\301\201P\004\202M\007\201J\n\201F\016\201B\022\201>\026\201;\031\2017\035\2013!\201/%\201, P\004\201( P\004\201$ \201 !\201\036\037\201!\030\201$\021\201(\f\201,\f\2010\f\2013\r\2017\r\201;\rP\004\201?\rP\004\201C\021\201G\r\201J\n\201N\006\201P\004\203\301\201P\004\202M\007\201J\n\201F\016\201B\022\201>\026\201;\031\2017\035\2013!\201/%\201, P\004\201( P\004\201$ \201 !\201\036\037\201!\030\201$\021\201(\f\201,\f\201/\r\201,\024\201(\034\201$\037\201 \201\036\036\201!\030\201$\021\201(\f\201,\f\2010\f\2013\r\2017\r\201;\rP\004\201?\rP\004\201C\021\201G\r\201J\n\201N\006\201P\004\203\301\201\036\004P\004\202\036\004O\005\201\036\005M\007\201\036\006J\n\201\036\bH\f\201\036\013E\017\201\036\rC\021\201\036\004%\b@\024\201\036\004'\b>\026\201)\b;\031\201+\b9\033\201-\b7\026P\004\201/\033P\004\2011\027\201/\026\201,\027\201*\026\201\036\004'\033\201\036\004%\037\201\036\033>\b\201\036\031@\b\201\036\026B\bP\004\201\036\024D\bP\004\201\036\021F\bP\004\201\036\017I\013\201\036\fK\t\201\036\nM\007\201\036\007O\005\201\036\005P\004\201\036\004P\004\202\301\201\004\005P\004\201\002\tP\004\201\001\013M\007\201\001\fJ\n\201\001\fF\016\201\001\fB\022\201\001\013>\026\201\002\t;\031\201\004\0137\035\201\007\f3!\201\n\f/%\201\016\f, P\004\201\021\r( P\004\201\025\r$ \201\031(\201\035 \201!\030\201$\021\201(\f\201,\f\2010\f\2013\r\2017\r\201;\rP\004\201?\rP\004\201C\021\201G\r\201J\n\201N\006\201P\004\203\301\201\036\001G\r\201\036\003G\r\201\036\006G\r\201\036\tK\t\201\036\013M\007\201\036\016O\005\201\036\021O\005\201\036\023P\004\201\036\026P\004\201\036\031P\004\201\036\033P\004\201\036\004$\030P\004\201\036\004&\031P\004\201\036\004)\030P\004\201\036\004,\030P\004\201\036\004.\031P\004\201\036\0041\031P\004\201\036\0044\030P\004\201\036\0046\036\201\036\0049\033\201\036\004;\031\201\036\004>\026\201\036\004A\023\201\036\005C\021\201\036\005F\016\201\036\007I\013\201\036\tL\b\201\036\rN\006\201\036\rQ\003\201\036\r\201\301\002\t;\031\201\004\0137\035\201\007\f3!\201\n\f/%\201\016\f, P\004\201\021\r( P\004\201\025\r$ \201\031(\201\035 \201!\030\201$\021\201(\f\201,\f\2010\f\2013\r\2017\r\201;\rP\004\201?\rP\004\201C\021\201G\r\201J\n\201N\006\201P\004\203\301"
.section __DATA,__data
.globl _width ## @width
.p2align 2, 0x0
_width:
.long 132 ## 0x84
.globl _argc ## @argc
.p2align 2, 0x0
_argc:
.long 2 ## 0x2
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "banner"
L_.str.1: ## @.str.1
.asciz "Come wit' it now!"
.section __DATA,__data
.globl __argv ## @_argv
.p2align 4, 0x0
__argv:
.quad L_.str
.quad L_.str.1
.quad 0
.globl _argv ## @argv
.p2align 3, 0x0
_argv:
.quad __argv
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "w:tdh"
.comm _debug,4,2 ## @debug
L_.str.3: ## @.str.3
.asciz "error: illegal argument for -w option\n"
L_.str.4: ## @.str.4
.asciz "usage: banner [-w width]\n"
.comm _i,4,2 ## @i
.comm _j,4,2 ## @j
.comm _print,132,4 ## @print
.comm _message,1024,4 ## @message
L_.str.5: ## @.str.5
.asciz " "
.comm _nchars,4,2 ## @nchars
L_.str.6: ## @.str.6
.asciz "No message to print.\n"
L_.str.7: ## @.str.7
.asciz "int asc_ptr[128] = {\n"
L_.str.8: ## @.str.8
.asciz "%4d, "
L_.str.9: ## @.str.9
.asciz "\n"
L_.str.10: ## @.str.10
.asciz "};\nchar data_table[NBYTES] = {\n"
L_.str.11: ## @.str.11
.asciz " /* "
L_.str.12: ## @.str.12
.asciz " %3d "
L_.str.13: ## @.str.13
.asciz " */\n"
L_.str.14: ## @.str.14
.asciz "/* %4d */ "
.comm _x,4,2 ## @x
L_.str.15: ## @.str.15
.asciz " %3d, "
L_.str.16: ## @.str.16
.asciz "};\n"
L_.str.17: ## @.str.17
.asciz "The character is not in my character set\n"
.comm _line,132,4 ## @line
.comm _pc,4,2 ## @pc
.comm _term,4,2 ## @term
.comm _max,4,2 ## @max
.comm _linen,4,2 ## @linen
L_.str.18: ## @.str.18
.asciz "bad pc: %d\n"
.comm _y,4,2 ## @y
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
adrp x24, _argc@PAGE
adrp x22, _argv@PAGE
Lloh0:
adrp x19, l_.str.2@PAGE
Lloh1:
add x19, x19, l_.str.2@PAGEOFF
Lloh2:
adrp x23, _debug@GOTPAGE
Lloh3:
ldr x23, [x23, _debug@GOTPAGEOFF]
Lloh4:
adrp x26, _optarg@GOTPAGE
Lloh5:
ldr x26, [x26, _optarg@GOTPAGEOFF]
mov w27, #1 ; =0x1
adrp x25, _width@PAGE
Lloh6:
adrp x20, l_.str.3@PAGE
Lloh7:
add x20, x20, l_.str.3@PAGEOFF
Lloh8:
adrp x21, l_.str.4@PAGE
Lloh9:
add x21, x21, l_.str.4@PAGEOFF
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
ldr x0, [x26]
bl _libmin_atoi
str w0, [x25, _width@PAGEOFF]
cmp w0, #0
b.le LBB0_7
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x24, _argc@PAGEOFF]
ldr x1, [x22, _argv@PAGEOFF]
mov x2, x19
bl _libmin_getopt
cmp w0, #100
b.eq LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cmp w0, #119
b.eq LBB0_1
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
cmn w0, #1
b.eq LBB0_8
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
mov x0, x21
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
b LBB0_2
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
str w27, [x23]
b LBB0_2
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
bl _libmin_printf
b LBB0_2
LBB0_8:
Lloh10:
adrp x8, _optind@GOTPAGE
Lloh11:
ldr x8, [x8, _optind@GOTPAGEOFF]
Lloh12:
ldrsw x8, [x8]
ldr w9, [x24, _argc@PAGEOFF]
sub w9, w9, w8
str w9, [x24, _argc@PAGEOFF]
ldr x9, [x22, _argv@PAGEOFF]
add x8, x9, x8, lsl #3
str x8, [x22, _argv@PAGEOFF]
ldr w9, [x25, _width@PAGEOFF]
Lloh13:
adrp x21, _j@GOTPAGE
Lloh14:
ldr x21, [x21, _j@GOTPAGEOFF]
cmp w9, #1
b.lt LBB0_11
; %bb.9:
cmp w9, #4
b.hs LBB0_12
; %bb.10:
mov w10, #0 ; =0x0
b LBB0_15
LBB0_11:
mov w9, #0 ; =0x0
b LBB0_18
LBB0_12:
and w10, w9, #0xfffffffc
mov w12, #396 ; =0x18c
Lloh15:
adrp x13, _print@GOTPAGE
Lloh16:
ldr x13, [x13, _print@GOTPAGEOFF]
mov w14, #1 ; =0x1
mov x15, x10
LBB0_13: ; =>This Inner Loop Header: Depth=1
sub w11, w12, #396
sub w16, w12, #264
sub w17, w12, #132
sdiv w11, w11, w9
sdiv w16, w16, w9
sdiv w17, w17, w9
strb w14, [x13, w11, sxtw]
strb w14, [x13, w16, sxtw]
strb w14, [x13, w17, sxtw]
sdiv w11, w12, w9
strb w14, [x13, w11, sxtw]
add w12, w12, #528
subs w15, w15, #4
b.ne LBB0_13
; %bb.14:
cmp w9, w10
b.eq LBB0_17
LBB0_15:
add w11, w10, w10, lsl #5
lsl w12, w11, #2
Lloh17:
adrp x13, _print@GOTPAGE
Lloh18:
ldr x13, [x13, _print@GOTPAGEOFF]
mov w14, #1 ; =0x1
LBB0_16: ; =>This Inner Loop Header: Depth=1
sdiv w11, w12, w9
strb w14, [x13, w11, sxtw]
add w10, w10, #1
add w12, w12, #132
cmp w9, w10
b.ne LBB0_16
LBB0_17:
str w11, [x21]
LBB0_18:
Lloh19:
adrp x24, _i@GOTPAGE
Lloh20:
ldr x24, [x24, _i@GOTPAGEOFF]
str w9, [x24]
ldr x1, [x8]
Lloh21:
adrp x27, _nchars@GOTPAGE
Lloh22:
ldr x27, [x27, _nchars@GOTPAGEOFF]
cbz x1, LBB0_23
; %bb.19:
Lloh23:
adrp x0, _message@GOTPAGE
Lloh24:
ldr x0, [x0, _message@GOTPAGEOFF]
mov w2, #1024 ; =0x400
bl _libmin_strncpy
ldr x8, [x22, _argv@PAGEOFF]
ldr x9, [x8, #8]!
str x8, [x22, _argv@PAGEOFF]
cbz x9, LBB0_22
; %bb.20:
Lloh25:
adrp x19, _message@GOTPAGE
Lloh26:
ldr x19, [x19, _message@GOTPAGEOFF]
Lloh27:
adrp x20, l_.str.5@PAGE
Lloh28:
add x20, x20, l_.str.5@PAGEOFF
LBB0_21: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
mov w2, #1024 ; =0x400
bl _libmin_strncat
ldr x8, [x22, _argv@PAGEOFF]
ldr x1, [x8]
mov x0, x19
mov w2, #1024 ; =0x400
bl _libmin_strncat
ldr x8, [x22, _argv@PAGEOFF]
ldr x9, [x8, #8]!
str x8, [x22, _argv@PAGEOFF]
cbnz x9, LBB0_21
LBB0_22:
Lloh29:
adrp x0, _message@GOTPAGE
Lloh30:
ldr x0, [x0, _message@GOTPAGEOFF]
bl _libmin_strlen
str w0, [x27]
b LBB0_24
LBB0_23:
Lloh31:
adrp x0, l_.str.6@PAGE
Lloh32:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
LBB0_24:
ldr w8, [x23]
Lloh33:
adrp x22, _asc_ptr@PAGE
Lloh34:
add x22, x22, _asc_ptr@PAGEOFF
Lloh35:
adrp x25, _x@GOTPAGE
Lloh36:
ldr x25, [x25, _x@GOTPAGEOFF]
Lloh37:
adrp x26, _data_table@PAGE
Lloh38:
add x26, x26, _data_table@PAGEOFF
cbz w8, LBB0_36
; %bb.25:
Lloh39:
adrp x0, l_.str.7@PAGE
Lloh40:
add x0, x0, l_.str.7@PAGEOFF
bl _libmin_printf
mov w8, #0 ; =0x0
str wzr, [x24]
Lloh41:
adrp x19, l_.str.8@PAGE
Lloh42:
add x19, x19, l_.str.8@PAGEOFF
Lloh43:
adrp x20, l_.str.9@PAGE
Lloh44:
add x20, x20, l_.str.9@PAGEOFF
b LBB0_27
LBB0_26: ; in Loop: Header=BB0_27 Depth=1
str w8, [x24]
cmp w9, #127
b.ge LBB0_29
LBB0_27: ; =>This Inner Loop Header: Depth=1
ldr w8, [x22, w8, sxtw #2]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w9, [x24]
add w8, w9, #1
tst w8, #0x7
b.ne LBB0_26
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
mov x0, x20
bl _libmin_printf
ldr w9, [x24]
add w8, w9, #1
b LBB0_26
LBB0_29:
Lloh45:
adrp x0, l_.str.10@PAGE
Lloh46:
add x0, x0, l_.str.10@PAGEOFF
bl _libmin_printf
Lloh47:
adrp x0, l_.str.11@PAGE
Lloh48:
add x0, x0, l_.str.11@PAGEOFF
bl _libmin_printf
mov w8, #0 ; =0x0
str wzr, [x24]
Lloh49:
adrp x19, l_.str.12@PAGE
Lloh50:
add x19, x19, l_.str.12@PAGEOFF
LBB0_30: ; =>This Inner Loop Header: Depth=1
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w9, [x24]
add w8, w9, #1
str w8, [x24]
cmp w9, #9
b.lt LBB0_30
; %bb.31:
Lloh51:
adrp x0, l_.str.13@PAGE
Lloh52:
add x0, x0, l_.str.13@PAGEOFF
bl _libmin_printf
mov w8, #0 ; =0x0
str wzr, [x24]
Lloh53:
adrp x19, l_.str.14@PAGE
Lloh54:
add x19, x19, l_.str.14@PAGEOFF
mov w22, #9261 ; =0x242d
Lloh55:
adrp x20, l_.str.15@PAGE
Lloh56:
add x20, x20, l_.str.15@PAGEOFF
LBB0_32: ; =>This Loop Header: Depth=1
; Child Loop BB0_33 Depth 2
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x24]
str w8, [x21]
LBB0_33: ; Parent Loop BB0_32 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x26, w8, sxtw]
str w8, [x25]
str x8, [sp]
mov x0, x20
bl _libmin_printf
ldr w9, [x21]
add w8, w9, #1
str w8, [x21]
ldr w10, [x24]
add w10, w10, #9
cmp w9, w10
b.lt LBB0_33
; %bb.34: ; in Loop: Header=BB0_32 Depth=1
mov w0, #10 ; =0xa
bl _libmin_putc
ldr w9, [x24]
add w8, w9, #10
str w8, [x24]
cmp w9, w22
b.lt LBB0_32
; %bb.35:
Lloh57:
adrp x0, l_.str.16@PAGE
Lloh58:
add x0, x0, l_.str.16@PAGEOFF
bl _libmin_printf
LBB0_36:
str wzr, [x21]
str wzr, [x24]
ldr w8, [x27]
cmp w8, #1
b.lt LBB0_70
; %bb.37:
mov w9, #0 ; =0x0
mov w10, #0 ; =0x0
Lloh59:
adrp x24, _message@GOTPAGE
Lloh60:
ldr x24, [x24, _message@GOTPAGEOFF]
Lloh61:
adrp x19, l_.str.17@PAGE
Lloh62:
add x19, x19, l_.str.17@PAGEOFF
Lloh63:
adrp x20, _i@GOTPAGE
Lloh64:
ldr x20, [x20, _i@GOTPAGEOFF]
Lloh65:
adrp x22, _nchars@GOTPAGE
Lloh66:
ldr x22, [x22, _nchars@GOTPAGEOFF]
Lloh67:
adrp x23, _asc_ptr@PAGE
Lloh68:
add x23, x23, _asc_ptr@PAGEOFF
b LBB0_40
LBB0_38: ; in Loop: Header=BB0_40 Depth=1
mov x0, x19
bl _libmin_printf
ldr w8, [x21]
add w9, w8, #1
str w9, [x21]
ldr w10, [x20]
ldr w8, [x22]
LBB0_39: ; in Loop: Header=BB0_40 Depth=1
add w10, w10, #1
str w10, [x20]
cmp w10, w8
b.ge LBB0_42
LBB0_40: ; =>This Inner Loop Header: Depth=1
ldrsb w11, [x24, w10, sxtw]
tbnz w11, #31, LBB0_38
; %bb.41: ; in Loop: Header=BB0_40 Depth=1
and x11, x11, #0xff
ldr w11, [x23, x11, lsl #2]
cbnz w11, LBB0_39
b LBB0_38
LBB0_42:
cbz w9, LBB0_44
; %bb.43:
mov w0, #1 ; =0x1
bl _libmin_fail
ldr w8, [x22]
LBB0_44:
str wzr, [x20]
cmp w8, #1
b.lt LBB0_70
; %bb.45:
mov w8, #0 ; =0x0
Lloh69:
adrp x27, _line@GOTPAGE
Lloh70:
ldr x27, [x27, _line@GOTPAGEOFF]
Lloh71:
adrp x23, _pc@GOTPAGE
Lloh72:
ldr x23, [x23, _pc@GOTPAGEOFF]
Lloh73:
adrp x28, _max@GOTPAGE
Lloh74:
ldr x28, [x28, _max@GOTPAGEOFF]
Lloh75:
adrp x20, _linen@GOTPAGE
Lloh76:
ldr x20, [x20, _linen@GOTPAGEOFF]
Lloh77:
adrp x22, _print@GOTPAGE
Lloh78:
ldr x22, [x22, _print@GOTPAGEOFF]
b LBB0_47
LBB0_46: ; in Loop: Header=BB0_47 Depth=1
Lloh79:
adrp x9, _i@GOTPAGE
Lloh80:
ldr x9, [x9, _i@GOTPAGEOFF]
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
Lloh81:
adrp x9, _nchars@GOTPAGE
Lloh82:
ldr x9, [x9, _nchars@GOTPAGEOFF]
Lloh83:
ldr w9, [x9]
cmp w8, w9
b.ge LBB0_70
LBB0_47: ; =>This Loop Header: Depth=1
; Child Loop BB0_50 Depth 2
; Child Loop BB0_61 Depth 3
; Child Loop BB0_65 Depth 4
mov w9, #538976288 ; =0x20202020
str w9, [x27, #128]
movi.16b v0, #32
stp q0, q0, [x27, #96]
stp q0, q0, [x27, #64]
stp q0, q0, [x27, #32]
stp q0, q0, [x27]
mov w9, #132 ; =0x84
str w9, [x21]
Lloh84:
adrp x9, _message@GOTPAGE
Lloh85:
ldr x9, [x9, _message@GOTPAGEOFF]
ldrb w8, [x9, w8, sxtw]
Lloh86:
adrp x9, _asc_ptr@PAGE
Lloh87:
add x9, x9, _asc_ptr@PAGEOFF
ldr w19, [x9, x8, lsl #2]
str w19, [x23]
Lloh88:
adrp x8, _term@GOTPAGE
Lloh89:
ldr x8, [x8, _term@GOTPAGEOFF]
Lloh90:
str wzr, [x8]
str wzr, [x28]
str wzr, [x20]
b LBB0_50
LBB0_48: ; in Loop: Header=BB0_50 Depth=2
add w19, w19, #2
LBB0_49: ; in Loop: Header=BB0_50 Depth=2
str w19, [x23]
Lloh91:
adrp x8, _term@GOTPAGE
Lloh92:
ldr x8, [x8, _term@GOTPAGEOFF]
Lloh93:
ldr w8, [x8]
cbnz w8, LBB0_46
LBB0_50: ; Parent Loop BB0_47 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_61 Depth 3
; Child Loop BB0_65 Depth 4
mov w8, #9271 ; =0x2437
cmp w19, w8
b.lo LBB0_52
; %bb.51: ; in Loop: Header=BB0_50 Depth=2
; kill: def $w19 killed $w19 killed $x19 def $x19
str x19, [sp]
Lloh94:
adrp x0, l_.str.18@PAGE
Lloh95:
add x0, x0, l_.str.18@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
bl _libmin_fail
ldr w19, [x23]
LBB0_52: ; in Loop: Header=BB0_50 Depth=2
sxtw x9, w19
ldrsb w10, [x26, x9]
and w8, w10, #0xff
str w8, [x25]
tbnz w10, #31, LBB0_55
; %bb.53: ; in Loop: Header=BB0_50 Depth=2
add x9, x9, x26
ldrsb w2, [x9, #1]
Lloh96:
adrp x9, _y@GOTPAGE
Lloh97:
ldr x9, [x9, _y@GOTPAGEOFF]
Lloh98:
str w2, [x9]
add w24, w2, w8
str w24, [x28]
cmp w2, #1
b.lt LBB0_48
; %bb.54: ; in Loop: Header=BB0_50 Depth=2
add x0, x27, w8, uxtw
mov w1, #35 ; =0x23
bl _memset
str w24, [x25]
b LBB0_48
LBB0_55: ; in Loop: Header=BB0_50 Depth=2
cmp w8, #193
b.lo LBB0_57
; %bb.56: ; in Loop: Header=BB0_50 Depth=2
Lloh99:
adrp x10, _term@GOTPAGE
Lloh100:
ldr x10, [x10, _term@GOTPAGEOFF]
ldr w9, [x10]
add w9, w9, #1
str w9, [x10]
LBB0_57: ; in Loop: Header=BB0_50 Depth=2
and w9, w8, #0x3f
sub w8, w9, #1
str w8, [x25]
cbz w9, LBB0_69
; %bb.58: ; in Loop: Header=BB0_50 Depth=2
ldr w9, [x20]
b LBB0_61
LBB0_59: ; in Loop: Header=BB0_61 Depth=3
mov w0, #10 ; =0xa
bl _libmin_putc
ldr w9, [x20]
ldr w8, [x25]
LBB0_60: ; in Loop: Header=BB0_61 Depth=3
mov x10, x8
sub w8, w8, #1
str w8, [x25]
cbz w10, LBB0_68
LBB0_61: ; Parent Loop BB0_47 Depth=1
; Parent Loop BB0_50 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_65 Depth 4
add w10, w9, #1
str w10, [x20]
ldrb w9, [x22, w9, sxtw]
cbz w9, LBB0_67
; %bb.62: ; in Loop: Header=BB0_61 Depth=3
str wzr, [x21]
ldr w8, [x28]
tbnz w8, #31, LBB0_59
; %bb.63: ; in Loop: Header=BB0_61 Depth=3
mov w9, #0 ; =0x0
b LBB0_65
LBB0_64: ; in Loop: Header=BB0_65 Depth=4
add w10, w9, #1
str w10, [x21]
cmp w9, w8
mov x9, x10
b.ge LBB0_59
LBB0_65: ; Parent Loop BB0_47 Depth=1
; Parent Loop BB0_50 Depth=2
; Parent Loop BB0_61 Depth=3
; => This Inner Loop Header: Depth=4
sxtw x10, w9
ldrb w11, [x22, x10]
cbz w11, LBB0_64
; %bb.66: ; in Loop: Header=BB0_65 Depth=4
ldrsb w0, [x27, x10]
bl _libmin_putc
ldr w9, [x21]
ldr w8, [x28]
b LBB0_64
LBB0_67: ; in Loop: Header=BB0_61 Depth=3
mov x9, x10
b LBB0_60
LBB0_68: ; in Loop: Header=BB0_50 Depth=2
ldr w19, [x23]
LBB0_69: ; in Loop: Header=BB0_50 Depth=2
mov w8, #538976288 ; =0x20202020
str w8, [x27, #128]
movi.16b v0, #32
stp q0, q0, [x27, #96]
stp q0, q0, [x27, #64]
stp q0, q0, [x27, #32]
stp q0, q0, [x27]
add w19, w19, #1
mov w8, #132 ; =0x84
str w8, [x21]
b LBB0_49
LBB0_70:
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpLdrGot Lloh65, Lloh66
.loh AdrpLdrGot Lloh63, Lloh64
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpLdrGot Lloh59, Lloh60
.loh AdrpLdrGot Lloh77, Lloh78
.loh AdrpLdrGot Lloh75, Lloh76
.loh AdrpLdrGot Lloh73, Lloh74
.loh AdrpLdrGot Lloh71, Lloh72
.loh AdrpLdrGot Lloh69, Lloh70
.loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83
.loh AdrpLdrGot Lloh79, Lloh80
.loh AdrpLdrGotStr Lloh88, Lloh89, Lloh90
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpLdrGot Lloh84, Lloh85
.loh AdrpLdrGotLdr Lloh91, Lloh92, Lloh93
.loh AdrpAdd Lloh94, Lloh95
.loh AdrpLdrGotStr Lloh96, Lloh97, Lloh98
.loh AdrpLdrGot Lloh99, Lloh100
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl _asc_ptr ; @asc_ptr
.p2align 2, 0x0
_asc_ptr:
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 1 ; 0x1
.long 3 ; 0x3
.long 50 ; 0x32
.long 81 ; 0x51
.long 104 ; 0x68
.long 281 ; 0x119
.long 483 ; 0x1e3
.long 590 ; 0x24e
.long 621 ; 0x26d
.long 685 ; 0x2ad
.long 749 ; 0x2ed
.long 851 ; 0x353
.long 862 ; 0x35e
.long 893 ; 0x37d
.long 898 ; 0x382
.long 921 ; 0x399
.long 1019 ; 0x3fb
.long 1150 ; 0x47e
.long 1200 ; 0x4b0
.long 1419 ; 0x58b
.long 1599 ; 0x63f
.long 1744 ; 0x6d0
.long 1934 ; 0x78e
.long 2111 ; 0x83f
.long 2235 ; 0x8bb
.long 2445 ; 0x98d
.long 2622 ; 0xa3e
.long 2659 ; 0xa63
.long 0 ; 0x0
.long 2708 ; 0xa94
.long 0 ; 0x0
.long 2715 ; 0xa9b
.long 2857 ; 0xb29
.long 3072 ; 0xc00
.long 3273 ; 0xcc9
.long 3403 ; 0xd4b
.long 3560 ; 0xde8
.long 3662 ; 0xe4e
.long 3730 ; 0xe92
.long 3785 ; 0xec9
.long 3965 ; 0xf7d
.long 4000 ; 0xfa0
.long 4015 ; 0xfaf
.long 4115 ; 0x1013
.long 4281 ; 0x10b9
.long 4314 ; 0x10da
.long 4432 ; 0x1150
.long 4548 ; 0x11c4
.long 4709 ; 0x1265
.long 4790 ; 0x12b6
.long 4999 ; 0x1387
.long 5188 ; 0x1444
.long 5397 ; 0x1515
.long 5448 ; 0x1548
.long 5576 ; 0x15c8
.long 5710 ; 0x164e
.long 5892 ; 0x1704
.long 6106 ; 0x17da
.long 6257 ; 0x1871
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 50 ; 0x32
.long 6503 ; 0x1967
.long 6642 ; 0x19f2
.long 6733 ; 0x1a4d
.long 6837 ; 0x1ab5
.long 6930 ; 0x1b12
.long 7073 ; 0x1ba1
.long 7157 ; 0x1bf5
.long 7380 ; 0x1cd4
.long 7452 ; 0x1d1c
.long 7499 ; 0x1d4b
.long 7584 ; 0x1da0
.long 7689 ; 0x1e09
.long 7702 ; 0x1e16
.long 7797 ; 0x1e75
.long 7869 ; 0x1ebd
.long 7978 ; 0x1f2a
.long 8069 ; 0x1f85
.long 8160 ; 0x1fe0
.long 8222 ; 0x201e
.long 8381 ; 0x20bd
.long 8442 ; 0x20fa
.long 8508 ; 0x213c
.long 8605 ; 0x219d
.long 8732 ; 0x221c
.long 8888 ; 0x22b8
.long 9016 ; 0x2338
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.long 0 ; 0x0
.globl _data_table ; @data_table
_data_table:
.ascii "\201\343\202\"\006Z\023\201 \nJ(\201\037\f@5\201\036\0166A\201\036\0165C\201\036\0166A\201\037\f@5\201 \nJ(\201\"\006Z\023\201\302\202c\t\201a\016\201`\022\201_\026\201_\020u\002\201_\016\201`\013\201a\t\201c\006\201\302\201W\004e\004\203R\034\203W\004e\004\205R\034\203W\004e\004\203\301\201'\001T\033\201&\003Q \201%\005O#\201$\005M&\201#\005L(\201\"\005K\025g\016\201!\005J\023k\013\201 \005I\021n\t\201 \004I\020p\007\201\037\004H\017r\006\201\037\004H\016s\005\201\036\004G\017t\005\201\033a\203\036\004E\016u\004\201\036\004D\017u\004\204\036\004D\016u\004\201\033a\203\036\005A\017t\005\201\037\004A\016t\004\201\037\006@\017t\004\201 \007>\020s\004\201 \t=\021r\005\201!\013:\023q\005\201\"\0167\025p\005\201#(o\005\201$&n\005\201%#m\005\201& n\003\201(\033o\001\201\301\201\036\004g\t\201\036\007d\017\201\036\nc\021\201!\na\006p\006\201$\n`\005r\005\201'\n`\004s\004\201*\n_\004t\004\201-\n_\003u\003\2010\n_\003u\003\2013\n_\004t\004\2016\n`\004s\004\2019\n`\005r\005\201<\na\006p\006\201?\nc\021\201B\nd\017\201E\ng\t\201'\tH\n\201$\017K\n\201#\021N\n\201!\0060\006Q\n\201 \0052\005T\n\201 \0043\004W\n\201\037\0044\004Z\n\201\037\0035\003]\n\201\037\0035\003`\n\201\037\0044\004c\n\201 \0043\004f\n\201 \0052\005i\n\201!\0060\006l\n\201#\021o\n\201$\017r\007\201(\tv\004\201\301\2010\022\201+\034\201) \201'$\201%(\201#,\201\".\201!\rD\r\201 \tI\t\201 \007K\007\201\037\006M\006\201\037\005N\005\201\036\005O\005\201\024J\204\036\004P\004\201\037\003O\004\201\037\004O\004\201 \003N\004\201 \004L\006\201!\004J\007\201\"\004H\b\201#\005H\007\201%\005I\004\201'\004J\001\201\201\301\202o\006\201m\n\201l\f\201k\016\201a\002i\020\201c\026\201f\022\201i\016\201l\t\201\302\202?\031\2019%\2014/\20107\201,?\201)E\201&K\201$O\201\"S\201!\034Z\034\201 \027`\027\201 \021f\021\201\037\rk\r\201\036\tp\t\201\036\005t\005\201\036\001x\001\201\302\202\036\001x\001\201\036\005t\005\201\036\tp\t\201\037\rk\r\201 \021f\021\201 \027`\027\201!\034Z\034\201\"S\201$O\201&K\201)E\201,?\20107\2014/\2019%\201?\031\201\302\201P\004\202P\004\201D\002P\004^\002\201B\006P\004\\\006\201C\007P\004Z\007\201E\007P\004X\007\201G\006P\004W\006\201H\024\201J\020\201L\f\201>(\203L\f\201J\020\201H\024\201G\006P\004W\006\201E\007P\004X\007\201C\007P\004Z\007\201B\006P\004\\\006\201D\002P\004^\002\201P\004\202\301\201<\004\213)*\203<\004\213\301\202\"\006\201 \n\201\037\f\201\036\016\201\024\002\034\020\201\026\026\201\030\023\201\033\017\201\037\t\201\302\201<\004\230\301\202\"\006\201 \n\201\037\f\201\036\016\203\037\f\201 \n\201\"\006\201\302\201\036\004\201\036\007\201\036\n\201!\n\201$\n\201'\n\201*\n\201-\n\2010\n\2013\n\2016\n\2019\n\201<\n\201?\n\201B\n\201E\n\201H\n\201K\n\201N\n\201Q\n\201T\n\201W\n\201Z\n\201]\n\201`\n\201c\n\201f\n\201i\n\201l\n\201o\n\201r\007\201u\004\201\301\201<\037\2015-\20115\201.;\201+A\201)E\201'I\201%M\201$O\201#\017e\017\201\"\013j\013\201!\tm\t\201 \007p\007\201\037\006r\006\201\037\005s\005\201\036\005t\005\201\036\004u\004\204\036\005t\005\201\037\005s\005\201\037\006r\006\201 \007p\007\201!\tm\t\201\"\013j\013\201#\017e\017\201$O\201%M\201'I\201)E\201+A\201.;\20115\2015-\201<\037\201\301\201\036\004\201\036\004d\001\201\036\004d\003\201\036\004d\005\201\036L\201\036N\201\036P\201\036R\201\036S\201\036U\201\036W\201\036Y\201\036[\201\036\004\204\301\201\036\003\201\036\007\201\036\np\001\201\036\rp\002\201\036\020p\003\201\036\022o\005\201\036\025o\006\201\036\027p\006\201\036\016/\bq\006\201\036\0161\br\005\201\036\0163\bs\005\201\036\0165\bt\004\201\036\0167\bt\005\201\036\0168\tu\004\201\036\0169\tu\004\201\036\016:\nu\004\201\036\016;\nu\004\201\036\016<\013u\004\201\036\016=\013t\005\201\036\016>\013t\005\201\036\016?\fs\006\201\036\016@\rr\007\201\036\016A\rq\b\201\036\016A\017o\t\201\036\016B\020m\013\201\036\016C\021k\f\201\036\016D\024g\020\201\036\016E1\201\036\016F/\201\036\016G-\201\036\016I*\201\036\017K&\201!\fM\"\201$\nO\036\201(\006R\027\201,\003V\017\201/\001\201\301\201\201&\003\201%\005o\001\201$\007o\002\201#\tn\005\201\"\bn\006\201!\007m\b\201 \007n\b\201 \006p\007\201\037\006q\006\201\037\005r\006\201\036\005s\005\201\036\005t\004\201\036\004u\004\203\036\004u\004\201\036\004O\002u\004\201\036\005N\004u\004\201\036\005M\006t\005\201\036\006L\bs\006\201\036\007K\013r\006\201\036\bI\017p\b\201\037\tG\023n\t\201\037\013D\032k\f\201 \rA\016R$\201 \020=\021S\"\201!,T \201\"*U\036\201#(W\033\201$&Y\027\201&\"\\\021\201(\036_\013\201*\032\201-\024\2011\013\201\301\2011\001\2011\004\2011\006\2011\b\2011\n\2011\f\2011\016\2011\021\2011\023\2011\025\2011\027\2011\016A\t\2011\016C\t\2011\016E\t\2011\016G\n\2011\016J\t\2011\016L\t\2011\016N\t\2011\016P\t\2011\016R\t\2011\016T\t\201\036\0041\016V\n\201\036\0041\016Y\t\201\036\0041\016[\t\201\036\0041\016]\t\201\036J\201\036L\201\036N\201\036Q\201\036S\201\036U\201\036W\201\036Y\201\036[\201\036\0041\016\204\301\201%\001\201$\003M\003\201#\005N\013\201\"\007N\025\201!\007O\035\201 \007O&\201 \006P\004\\\035\201\037\006P\005f\023\201\037\005P\006k\016\201\037\004Q\005k\016\201\036\005Q\006k\016\201\036\004Q\006k\016\202\036\004Q\007k\016\201\036\004P\bk\016\202\036\005P\bk\016\201\036\005O\tk\016\201\037\005O\tk\016\201\037\006N\nk\016\201 \006L\013k\016\201 \bJ\rk\016\201!\nG\020k\016\201!\017C\023k\016\201\"3k\016\201#1k\016\201$/k\016\201%-k\016\201')k\016\201)%k\016\201, k\016\201/\031o\n\2013\020s\006\201w\002\201\301\2018'\20131\201/9\201,?\201*C\201(G\201&K\201%M\201#Q\201\"\020J\005e\020\201!\013L\005k\013\201 \tM\005n\t\201 \007O\004p\007\201\037\006P\004r\006\201\037\005Q\004s\005\201\036\005R\004t\005\201\036\004R\004t\005\201\036\004R\005u\004\203\036\005R\005u\004\201\037\005Q\006u\004\201\037\006P\007u\004\201 \007O\bu\004\201 \tM\tt\005\201!\013K\013t\004\201\"\020E\020s\005\201#1r\005\201%.q\005\201&,p\006\201()p\005\201*%q\003\201,!r\001\201/\033\2013\021\201\301\201g\002\201g\006\201h\t\201i\f\201j\017\201k\016\207\036\nk\016\201\036\021k\016\201\036\031k\016\201\036\037k\016\201\036%k\016\201\036*k\016\201\036.k\016\201\0362k\016\201\0366k\016\201\036:k\016\201; k\016\201@\036k\016\201J\027k\016\201Q\022k\016\201V\020k\016\201[\016k\016\201`\031\201d\025\201h\021\201k\016\201o\n\201r\007\201u\004\201x\001\201\301\2010\r\201,\025\201*\032\201(\036\\\f\201&\"X\024\201$%V\031\201#'T\035\201\"\r?\fR!\201!\013C\tP$\201 \tF\007O&\201\037\bH.\201\036\007J\026l\013\201\036\006K\023o\t\201\036\005K\021q\007\201\036\005J\020r\006\201\036\004I\020s\006\201\036\004H\020t\005\201\036\004H\017u\004\201\036\004G\020u\004\201\036\005F\020u\004\201\036\005F\017u\004\201\036\006E\017t\005\201\036\007D\021s\005\201\036\tC\023r\006\201\036\nA\026q\006\201\037\f?\033n\t\201 \016<\025T\tj\f\201!/U \201\"-V\036\201#+X\032\201$(Z\026\201&$]\021\201( `\n\201*\034\201,\027\2010\017\201\301\201S\021\201M\033\201$\001J!\201#\003H%\201\"\005F)\201!\006E,\201!\005D.\201 \005C1\201\037\005B\021e\020\201\037\005B\013l\n\201\036\004A\tn\t\201\036\004@\bp\007\201\036\004@\007r\006\201\036\004@\006s\005\201\036\004@\005t\005\201\036\004@\005u\004\203\036\004A\004u\004\201\036\005A\004t\005\201\037\005B\004s\005\201\037\006C\004r\006\201 \007D\004p\007\201 \tE\005n\t\201!\013F\005k\013\201\"\020H\005e\020\201#Q\201%M\201&K\201(G\201*C\201,?\201/9\20131\2018'\201\301\202\"\006J\006\201 \nH\n\201\037\fG\f\201\036\016F\016\203\037\fG\f\201 \nH\n\201\"\006J\006\201\302\202\"\006J\006\201 \nH\n\201\037\fG\f\201\036\016F\016\201\024\002\034\020F\016\201\026\026F\016\201\030\023G\f\201\033\017H\n\201\037\tJ\006\201\302\2015\004?\004\230\301\202c\007\201a\r\201`\020\201`\022\201`\023\201a\023\201c\006n\007\201p\006\201r\005\201\"\0069\005s\004\201 \n6\ft\004\201\037\f5\020u\003\201\036\0164\024u\004\201\036\0164\027u\004\201\036\0164\031u\004\201\037\f4\033u\004\201 \n5\nF\013t\005\201\"\0067\005I\ns\006\201J\013r\007\201K\fp\t\201L\rn\n\201M\020j\016\201N)\201P&\201Q$\201R\"\201T\036\201V\032\201X\026\201\\\016\201\302\2017\017\2012\031\201/ \201-\rF\f\201+\tL\n\201*\006O\b\201)\005Q\007\201(\004T\006\201'\004;\fU\006\201&\0047\023W\005\201%\0045\027X\004\201$\0043\bG\006Y\004\201$\0043\006I\004Y\004\201$\0042\006J\004Z\003\201#\0042\005K\003Z\004\201#\0042\004K\004Z\004\203#\0042\005K\004Z\004\201$\0043\005K\004Z\004\201$\0043\006K\004Z\004\201$\0045\032Z\004\201%\0046\031Z\004\201%\0044\033Z\003\201&\0044\004Y\004\201'\0043\004X\004\201(\0042\004W\005\201)\0042\004V\005\201*\0042\004U\005\201+\0032\004S\006\201,\0023\005P\007\201.\0014\006L\t\2016\034\2018\027\201<\020\201\301\201\036\004\204\036\005\201\036\b\201\036\f\201\036\020\201\036\004%\f\201\036\004)\f\201\036\004,\r\201\036\0040\r\2014\r\2018\f\201:\016\201:\004@\f\201:\004D\f\201:\004H\f\201:\004K\r\201:\004O\r\201:\004S\r\201:\004W\r\201:\004[\f\201:\004_\f\201:\004`\017\201:\004]\026\201:\004Y\036\201:\004U$\201:\004Q&\201:\004M&\201:\004I&\201:\004F%\201:\004B%\201:)\201:%\2016&\201\036\0042&\201\036\004.&\201\036\004*&\201\036\004&'\201\036+\201\036'\201\036#\201\036\037\201\036\033\201\036\030\201\036\024\201\036\020\201\036\f\201\036\b\201\036\005\201\036\004\204\301\201\036\004u\004\204\036[\211\036\004P\004u\004\212\036\004P\005t\005\201\036\005O\006t\005\202\036\006N\bs\006\201\037\006M\ts\006\201\037\007L\013r\006\201\037\bK\016p\b\201 \bJ\020o\t\201 \tI\023m\n\201!\nG\030j\r\201!\rD\fS#\201\"\020@\017T!\201#+U\037\201$)V\035\201%'X\031\201&%Z\025\201(!]\017\201*\035`\t\201-\030\2011\020\201\301\201?\031\2019%\2015-\20123\201/9\201-=\201+A\201)E\201'I\201&\031\\\025\201$\025a\022\201#\022f\016\201\"\020j\013\201!\016l\n\201 \fo\b\201 \nq\006\201\037\nr\006\201\037\bs\005\201\036\bt\005\201\036\007t\005\201\036\006u\004\202\036\005u\004\203\037\004t\005\201 \004t\004\201 \005s\005\201!\004r\005\201\"\004p\006\201#\004n\007\201%\004k\t\201'\004g\f\201)\004g\022\201+\004g\022\201-\005g\022\2010\005g\022\2013\001\201\301\201\036\004u\004\204\036[\211\036\004u\004\207\036\005t\005\202\036\006s\006\202\037\006r\006\201\037\007q\007\201 \007p\007\201 \bo\b\201!\tm\t\201!\fj\f\201\"\rh\r\201#\017e\017\201$\023`\023\201%\030Z\030\201'I\201(G\201*C\201,?\201.;\20115\2014/\2018'\201=\035\201\301\201\036\004u\004\204\036[\211\036\004P\004u\004\214\036\004O\006u\004\201\036\004M\nu\004\201\036\004I\022u\004\204\036\004u\004\202\036\005t\005\202\036\007r\007\201\036\bq\b\201\036\013n\013\201\036\022g\022\204\301\201\036\004u\004\204\036[\211\036\004P\004u\004\204P\004u\004\210O\006u\004\201M\nu\004\201I\022u\004\204u\004\202t\005\202r\007\201q\b\201n\013\201g\022\204\301\201?\031\2019%\2015-\20123\201/9\201-=\201+A\201)E\201'I\201&\031\\\025\201$\025a\022\201#\022f\016\201\"\020j\013\201!\016l\n\201 \fo\b\201 \nq\006\201\037\nr\006\201\037\bs\005\201\036\bt\005\201\036\007t\005\201\036\006u\004\202\036\005u\004\203\036\005K\004t\005\201\037\005K\004t\004\201\037\006K\004s\005\201 \007K\004r\005\201 \tK\004p\006\201!\013K\004n\007\201\"\017K\004k\t\201#,g\f\201$+g\022\201&)g\022\201'(g\022\201)&g\022\201,#\2010\037\2014\033\201=\022\201\301\201\036\004u\004\204\036[\211\036\004P\004u\004\204P\004\214\036\004P\004u\004\204\036[\211\036\004u\004\204\301\201\036\004u\004\204\036[\211\036\004u\004\204\301\201,\007\201(\r\201%\021\201#\024\201\"\026\201!\027\201 \030\201 \027\201\037\006)\r\201\037\005*\013\201\036\005,\007\201\036\004\204\036\005\202\037\005\201\037\006u\004\201\037\bu\004\201 \tu\004\201!\013u\004\201\"W\201#V\201$U\201%T\201&S\201(Q\201*O\201-L\2012G\201u\004\204\301\201\036\004u\004\204\036[\211\036\004L\bu\004\201\036\004I\ru\004\201\036\004F\022u\004\201\036\004C\027u\004\201A\032\201>\037\201;#\2018\035Y\007\2015\035[\007\2012\035]\007\201/\035_\006\201\036\004-\035`\007\201\036\004*\035b\007\201\036\004'\036d\006\201\036\004$\036e\007\201\036!g\007u\004\201\036\036i\006u\004\201\036\033j\007u\004\201\036\031l\007u\004\201\036\026n\013\201\036\023o\n\201\036\020q\b\201\036\rs\006\201\036\013t\005\201\036\bu\004\201\036\005u\004\201\036\004u\004\202\036\004\202\301\201\036\004u\004\204\036[\211\036\004u\004\204\036\004\220\036\005\202\036\007\201\036\b\201\036\013\201\036\022\204\301\201\036\004u\004\204\036[\204\036\004g\022\201\036\004a\030\201\036\004\\\035\201\036\004W\"\201Q(\201L-\201F1\201A1\201<1\20171\20120\201,1\201'0\201!1\201\036/\201\"%\201(\032\201.\023\2014\023\201:\023\201@\023\201F\023\201L\023\201R\023\201\036\004X\022\201\036\004^\022\201\036\004d\022\201\036\004j\017\201\036[\211\036\004u\004\204\301\201\036\004u\004\204\036[\204\036\004k\016\201\036\004h\021\201\036\004e\024\201\036\004c\026\201`\031\201]\034\201[\034\201X\035\201U\035\201R\035\201O\035\201L\035\201J\035\201G\035\201D\035\201A\035\201>\035\201<\035\2019\035\2016\035\2013\035\2011\034\201.\035\201+\035\201(\035u\004\201%\035u\004\201#\035u\004\201 \035u\004\201\036[\204u\004\204\301\201?\031\2019%\2015-\20123\201/9\201-=\201+A\201)E\201'I\201&\025\\\025\201$\022a\022\201#\016f\016\201\"\013j\013\201!\nl\n\201 \bo\b\201 \006q\006\201\037\006r\006\201\037\005s\005\201\036\005t\005\202\036\004u\004\204\036\005t\005\202\037\005s\005\201\037\006r\006\201 \006q\006\201 \bo\b\201!\nl\n\201\"\013j\013\201#\016f\016\201$\022a\022\201&\025\\\025\201'I\201)E\201+A\201-=\201/9\20123\2015-\2019%\201?\031\201\301\201\036\004u\004\204\036[\211\036\004P\004u\004\204P\004u\004\206P\005t\005\203P\006s\006\202Q\006r\006\201Q\bp\b\201Q\to\t\201R\nm\n\201R\rj\r\201S#\201T!\201U\037\201V\035\201X\031\201Z\025\201]\017\201`\t\201\301\201?\031\2019%\2015-\20123\201/9\201-=\201+A\201)E\201'I\201&\025\\\025\201$\022a\022\201#\016f\016\201\"\013j\013\201!\nl\n\201 \bo\b\201 \006q\006\201\037\006r\006\201\037\005s\005\201\036\005t\005\202\036\004'\002u\004\201\036\004(\004u\004\201\036\004)\005u\004\201\036\004)\006u\004\201\036\005(\bt\005\201\036\005'\nt\005\201\037\005&\013s\005\201\037\022r\006\201 \021q\006\201 \020o\b\201!\017l\n\201!\016j\013\201 \021f\016\201\037\027a\022\201\037\034\\\025\201\036R\201\036P\201\036\013+A\201\036\n-=\201\037\b/9\201 \00623\201!\0055-\201#\0049%\201&\002?\031\201\301\201\036\004u\004\204\036[\211\036\004L\bu\004\201\036\004I\013u\004\201\036\004F\016u\004\201\036\004C\021u\004\201A\023u\004\201>\026u\004\201;\031u\004\2018\034u\004\2015\037u\004\2012\"u\004\201/\035P\005t\005\201\036\004-\035P\005t\005\201\036\004*\035P\005t\005\201\036\004'\036P\006s\006\201\036\004$\036P\006s\006\201\036!Q\006r\006\201\036\036Q\bp\b\201\036\033Q\to\t\201\036\031R\nm\n\201\036\026R\rj\r\201\036\023S#\201\036\020T!\201\036\rU\037\201\036\013V\035\201\036\bX\031\201\036\005Z\025\201\036\004]\017\201\036\004`\t\201\036\004\202\301\201\036\022\202\036\022Y\017\201\036\022U\027\201\"\013S\033\201\"\tQ\037\201!\bO#\201!\006N\020j\t\201 \006M\017m\007\201 \005L\016o\006\201\037\005K\016q\005\201\037\004J\017r\005\201\037\004J\016s\004\201\036\004I\017t\004\201\036\004I\016t\004\201\036\004I\016u\004\201\036\004H\017u\004\202\036\004G\017u\004\202\036\004F\017u\004\201\036\005F\017u\004\201\036\005E\017t\005\201\036\006D\020s\005\201\037\006C\020r\006\201\037\007B\021q\006\201 \007@\022o\b\201 \b>\023m\t\201!\t<\024k\n\201\"\0139\026g\r\201#+g\022\201$)g\022\201&&g\022\201'#g\022\201)\037\201+\033\201.\026\2011\016\201\301\201g\022\204n\013\201q\b\201r\007\201t\005\202u\004\204\036\004u\004\204\036[\211\036\004u\004\204u\004\204t\005\202r\007\201q\b\201n\013\201g\022\204\301\201u\004\2048A\2012G\201.K\201,M\201*O\201(Q\201&S\201$U\201#V\201\"\024u\004\201!\021u\004\201 \017u\004\201 \ru\004\201\037\f\201\037\n\201\037\t\201\036\t\201\036\b\202\036\007\204\037\006\202\037\007\201 \006\201 \007\201!\007\201\"\007\201#\b\201$\tu\004\201&\tu\004\201(\nu\004\201*\fu\004\201,M\201.K\2012G\2018+d\025\201u\004\204\301\201u\004\204s\006\201n\013\201i\020\201e\024\201`\031\201\\\035\201W\"\201S&\201N+\201J/\201F*u\004\201A*u\004\201<+u\004\2018*\2013*\201.+\201*+\201%,\201!+\201\036*\201!\"\201&\031\201*\020\201/\017\2014\017\2019\017\201=\020\201B\020\201G\020\201L\020\201P\020\201U\020u\004\201Z\020u\004\201_\020u\004\201d\025\201i\020\201n\013\201r\007\201u\004\204\301\201u\004\204s\006\201n\013\201i\020\201e\024\201`\031\201\\\035\201W\"\201S&\201N+\201J/\201F*u\004\201A*u\004\201<+u\004\2018*\2013*\201.+\201*+\201%,\201!+\201\036*\201!\"\201&\031\201*\020\201/\017\2014\017\2019\017\201=\020\201A\021\201<\033\2018$\2013*\201.+\201*+\201%,\201!+\201\036*\201!\"\201&\031\201*\020\201/\017\2014\017\2019\017\201=\020\201B\020\201G\020\201L\020\201P\020\201U\020u\004\201Z\020u\004\201_\020u\004\201d\025\201i\020\201n\013\201r\007\201u\004\204\301\201\036\004u\004\204\036\004s\006\201\036\004p\t\201\036\006m\f\201\036\tj\017\201\036\013g\022\201\036\016d\025\201\036\004&\tb\027\201\036\004(\n_\032\201\036\004+\t\\\035\201.\tY \2011\bV\034u\004\2013\tS\034u\004\2016\tP\034u\004\2019\bM\034u\004\201;\tJ\034\201>%\201@!\201B\034\201?\034\201<\034\2019\034\2016!\2013'\2010\035S\t\201\036\004-\035V\t\201\036\004*\035Y\t\201\036\004'\035\\\b\201\036\004$\035^\t\201\036 a\t\201\036\035d\bu\004\201\036\032g\bu\004\201\036\027i\tu\004\201\036\024l\r\201\036\022o\n\201\036\017q\b\201\036\ft\005\201\036\tu\004\201\036\006u\004\201\036\004u\004\204\301\201u\004\204r\007\201o\n\201l\r\201i\020\201f\023\201d\025\201`\031\201]\034\201Z\037\201W\"\201T\036u\004\201\036\004Q\036u\004\201\036\004N\036u\004\201\036\004K\036u\004\201\036\004H\036\201\036E\201\036B\201\036?\201\036<\201\0369\201\0366\201\0363\201\0360\201\0363\201\036\004I\f\201\036\004L\f\201\036\004P\f\201\036\004S\f\201W\f\201Z\fu\004\201^\013u\004\201a\fu\004\201e\fu\004\201h\021\201l\r\201o\n\201s\006\201u\004\206\301\201\036\001g\022\201\036\004g\022\201\036\007g\022\201\036\tg\022\201\036\fn\013\201\036\017q\b\201\036\022r\007\201\036\025t\005\201\036\030t\005\201\036\033u\004\201\036\036u\004\201\036!u\004\201\036\004%\034u\004\201\036\004(\034u\004\201\036\004*\035u\004\201\036\004-\035u\004\201\036\0040\035u\004\201\036\0043\035u\004\201\036\0046\035u\004\201\036\0049\035u\004\201\036\004;\036u\004\201\036\004>\036u\004\201\036\004A\036u\004\201\036\004D\036u\004\201\036\004G\036u\004\201\036\004J\036u\004\201\036\004M\036u\004\201\036\004P\036u\004\201\036\004S\036u\004\201\036\004V#\201\036\004Y \201\036\004[\036\201\036\004^\033\201\036\005a\030\201\036\005d\025\201\036\007g\022\201\036\bj\017\201\036\013m\f\201\036\022p\t\201\036\022s\006\201\036\022u\004\201\036\022x\001\201\301\201*\b\201&\020\201$\024\201\"\030G\005\201!\032E\n\201 \034D\r\201\037\036D\016\201\037\t4\tD\017\201\036\b6\bE\016\201\036\0077\007G\004N\006\201\036\0068\006O\005\201\036\0068\006P\004\202\037\0058\005P\004\201\037\0058\005O\005\201 \0057\005N\006\201!\0056\005M\007\201\"\0064\006J\t\201#0\201!1\201 1\201\0371\201\0361\201\036/\201\036-\201\036)\201\036\006\201\036\004\201\036\003\201\036\002\201\301\201\036\004u\004\202\037Z\210%\005H\005\201#\005J\005\201!\005L\005\201 \005M\005\201\037\005N\005\201\037\004O\004\201\036\005O\005\203\036\006N\006\201\036\007M\007\201\037\bK\b\201\037\013H\013\201 \017C\017\201!0\201\".\201#,\201%(\201'$\201*\036\201.\026\201\301\2010\022\201+\034\201) \201'$\201%(\201#,\201\".\201!\rD\r\201 \tI\t\201 \007K\007\201\037\006M\006\201\037\005N\005\201\036\005O\005\201\036\004P\004\205\037\003O\004\201\037\004O\004\201 \003N\004\201 \004L\006\201!\004J\007\201\"\004H\b\201#\005H\007\201%\005I\004\201'\004J\001\201\201\301\201.\026\201*\036\201'$\201%(\201#,\201\".\201!0\201 \017C\017\201\037\013H\013\201\037\bK\b\201\036\007M\007\201\036\006N\006\201\036\005O\005\203\037\004O\004\201\037\005N\005\201 \005M\005\201!\005L\005\201#\005J\005u\004\201%\005H\005u\004\201\036[\210\036\004\202\301\2010\022\201+\034\201) \201'$\201%(\201#,\201\".\201!\r7\004D\r\201 \t7\004I\t\201 \0077\004K\007\201\037\0067\004M\006\201\037\0057\004N\005\201\036\0057\004O\005\201\036\0047\004P\004\204\036\0047\004O\005\201\037\0037\004N\005\201\037\0047\004M\006\201 \0037\004K\007\201 \0047\004I\t\201!\0047\004D\r\201\"\0047\031\201#\0057\030\201%\0057\026\201'\0047\024\2017\022\2017\020\2017\013\201\301\201P\004\201\036\004P\004\202\036N\201\036R\201\036U\201\036W\201\036X\201\036Y\201\036Z\202\036\004P\004s\006\201\036\004P\004u\004\201P\004i\006u\004\201P\004g\nt\005\201P\004f\023\201P\004e\023\201e\023\201e\022\201f\020\201g\f\201i\006\201\301\201\f\n;\013\201\t\0207\023\201\007\0245\027\201\006\007\027\005 \0063\033\201\004\007\031\0202\035\201\003\006\033\0201\037\201\002\006\034\0200!\201\001\006\033\022/#\201\001\006\033\037G\f\201\001\005\032\017,\nK\b\201\001\005\031\016-\007M\007\201\001\005\031\r-\005O\005\201\001\005\030\016-\004P\004\201\001\005\030\r-\004P\004\201\001\005\027\016-\004P\004\201\001\005\027\r-\004P\004\201\001\006\026\r-\005O\005\201\001\006\025\016-\007M\007\201\001\007\025\r.\bK\b\201\001\b\024\r.\fG\f\201\001\n\022\017/#\201\002\0360!\201\003\0351 \201\004\0332\037\201\005\0313\033P\002V\004\201\007\0255\027P\003U\006\201\t\0217\023P\f\201\f\f;\013Q\013\201R\n\201T\007\201V\004\201\301\201\036\004u\004\202\036[\210\036\004H\005\201\036\004J\005\201K\005\201L\005\201L\006\201M\006\202M\007\202L\b\201\036\004K\t\201\036\004H\f\201\0366\201\0365\202\0364\201\0363\201\0361\201\036.\201\036*\201\036\004\202\301\201\036\004P\004\201\036\004P\004d\006\201\0366b\n\201\0366a\f\201\0366`\016\203\0366a\f\201\0366b\n\201\0366d\006\201\036\004\202\301\201\007\006\201\004\013\201\003\r\201\002\016\201\001\017\202\001\003\006\t\201\001\003\007\006\201\001\003\202\001\004\201\001\005P\004\201\001\007P\004d\006\201\002Rb\n\201\003Qa\f\201\004P`\016\201\005O`\016\201\007M`\016\201\nJa\f\201\016Fb\n\201\023Ad\006\201\301\201\036\004u\004\202\036[\210\036\0049\t\201\036\0047\f\2014\021\2012\024\2010\030\201.\033\201,\025E\006\201)\026F\006P\004\201\036\004'\025H\006P\004\201\036\004$\026I\013\201\036\032K\t\201\036\027L\b\201\036\025N\006\201\036\023O\005\201\036\020P\004\201\036\016P\004\201\036\f\201\036\n\201\036\007\201\036\005\201\036\004\202\301\201\036\004u\004\202\036[\210\036\004\202\301\201\036\004P\004\202\0366\210\036\004H\005\201\036\004J\005\201K\005\201L\005\201\036\004K\007\201\036\004J\t\201\0366\204\0365\201\0364\201\0363\201\0360\201\036\004H\005\201\036\004J\005\201K\005\201L\005\201\036\004K\007\201\036\004J\t\201\0366\204\0365\201\0364\201\0363\201\0360\201\036\004\202\301\201\036\004P\004\202\0366\210\036\004H\005\201\036\004J\005\201K\005\201L\005\201L\006\201M\006\202M\007\202L\b\201\036\004K\t\201\036\004H\f\201\0366\201\0365\202\0364\201\0363\201\0361\201\036.\201\036*\201\036\004\202\301\2010\022\201+\034\201) \201'$\201%(\201#,\201\".\201!\rD\r\201 \tI\t\201 \007K\007\201\037\006M\006\201\037\005N\005\201\036\005O\005\201\036\004P\004\204\036\005O\005\202\037\005N\005\201\037\006M\006\201 \007K\007\201 \tI\t\201!\rD\r\201\".\201#,\201%(\201'$\201) \201+\034\2010\022\201\301\201\001\003P\004\202\001S\211%\005H\005\201#\005J\005\201!\005L\005\201 \005M\005\201\037\005N\005\201\037\004O\004\201\036\005O\005\203\036\006N\006\201\036\007M\007\201\037\bK\b\201\037\013H\013\201 \017C\017\201!0\201\".\201#,\201%(\201'$\201*\036\201.\026\201\301\201.\026\201*\036\201'$\201%(\201#,\201\".\201!0\201 \017C\017\201\037\013H\013\201\037\bK\b\201\036\007M\007\201\036\006N\006\201\036\005O\005\203\037\004O\004\201\037\005N\005\201 \005M\005\201!\005L\005\201#\005J\005\201%\005H\005\201\001S\210\001\003P\004\202\301\201\036\004P\004\202\0366\210\036\004D\006\201\036\004F\006\201G\007\201H\007\201I\007\201J\007\201J\b\201K\b\202E\017\201C\021\201B\022\201A\023\202A\022\202B\020\201C\r\201E\b\201\301\201\036\r@\b\201\036\r=\016\201\036\r;\022\201\036\r9\026\201!\b8\030\201 \0077\032\201 \0066\034\201\037\0065\020M\006\201\037\0055\016O\004\201\036\0054\016P\004\201\036\0054\rP\004\201\036\0044\rP\004\201\036\0044\fP\004\201\036\0043\rP\004\202\036\0042\rO\005\201\036\0042\rN\005\201\036\0051\016M\006\201\037\0041\rL\006\201\037\0050\016K\007\201 \005/\016I\b\201 \006-\020G\r\201!\033G\r\201\"\032G\r\201#\030G\r\201%\024\201'\020\201+\t\201\301\201P\004\203)8\201%<\201#>\201!@\201 A\201\037B\201\036C\202\036\013P\004\201\036\tP\004\201\036\bP\004\201\037\007P\004\201\037\006\201 \005\201!\005\201#\004\201&\003\201\301\201P\004\202**\201&.\201#1\201!3\201 4\201\0375\202\0366\201\036\f\201\036\t\201\036\b\201\036\007\202\037\006\202 \006\201!\005\201\"\005\201#\005P\004\201%\005P\004\201\0366\210\036\004\202\301\201P\004\202M\007\201J\n\201F\016\201B\022\201>\026\201;\031\2017\035\2013!\201/%\201, P\004\201( P\004\201$ \201 !\201\036\037\201!\030\201$\021\201(\f\201,\f\2010\f\2013\r\2017\r\201;\rP\004\201?\rP\004\201C\021\201G\r\201J\n\201N\006\201P\004\203\301\201P\004\202M\007\201J\n\201F\016\201B\022\201>\026\201;\031\2017\035\2013!\201/%\201, P\004\201( P\004\201$ \201 !\201\036\037\201!\030\201$\021\201(\f\201,\f\201/\r\201,\024\201(\034\201$\037\201 \201\036\036\201!\030\201$\021\201(\f\201,\f\2010\f\2013\r\2017\r\201;\rP\004\201?\rP\004\201C\021\201G\r\201J\n\201N\006\201P\004\203\301\201\036\004P\004\202\036\004O\005\201\036\005M\007\201\036\006J\n\201\036\bH\f\201\036\013E\017\201\036\rC\021\201\036\004%\b@\024\201\036\004'\b>\026\201)\b;\031\201+\b9\033\201-\b7\026P\004\201/\033P\004\2011\027\201/\026\201,\027\201*\026\201\036\004'\033\201\036\004%\037\201\036\033>\b\201\036\031@\b\201\036\026B\bP\004\201\036\024D\bP\004\201\036\021F\bP\004\201\036\017I\013\201\036\fK\t\201\036\nM\007\201\036\007O\005\201\036\005P\004\201\036\004P\004\202\301\201\004\005P\004\201\002\tP\004\201\001\013M\007\201\001\fJ\n\201\001\fF\016\201\001\fB\022\201\001\013>\026\201\002\t;\031\201\004\0137\035\201\007\f3!\201\n\f/%\201\016\f, P\004\201\021\r( P\004\201\025\r$ \201\031(\201\035 \201!\030\201$\021\201(\f\201,\f\2010\f\2013\r\2017\r\201;\rP\004\201?\rP\004\201C\021\201G\r\201J\n\201N\006\201P\004\203\301\201\036\001G\r\201\036\003G\r\201\036\006G\r\201\036\tK\t\201\036\013M\007\201\036\016O\005\201\036\021O\005\201\036\023P\004\201\036\026P\004\201\036\031P\004\201\036\033P\004\201\036\004$\030P\004\201\036\004&\031P\004\201\036\004)\030P\004\201\036\004,\030P\004\201\036\004.\031P\004\201\036\0041\031P\004\201\036\0044\030P\004\201\036\0046\036\201\036\0049\033\201\036\004;\031\201\036\004>\026\201\036\004A\023\201\036\005C\021\201\036\005F\016\201\036\007I\013\201\036\tL\b\201\036\rN\006\201\036\rQ\003\201\036\r\201\301\002\t;\031\201\004\0137\035\201\007\f3!\201\n\f/%\201\016\f, P\004\201\021\r( P\004\201\025\r$ \201\031(\201\035 \201!\030\201$\021\201(\f\201,\f\2010\f\2013\r\2017\r\201;\rP\004\201?\rP\004\201C\021\201G\r\201J\n\201N\006\201P\004\203\301"
.section __DATA,__data
.globl _width ; @width
.p2align 2, 0x0
_width:
.long 132 ; 0x84
.globl _argc ; @argc
.p2align 2, 0x0
_argc:
.long 2 ; 0x2
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "banner"
l_.str.1: ; @.str.1
.asciz "Come wit' it now!"
.section __DATA,__data
.globl __argv ; @_argv
.p2align 3, 0x0
__argv:
.quad l_.str
.quad l_.str.1
.quad 0
.globl _argv ; @argv
.p2align 3, 0x0
_argv:
.quad __argv
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "w:tdh"
.comm _debug,4,2 ; @debug
l_.str.3: ; @.str.3
.asciz "error: illegal argument for -w option\n"
l_.str.4: ; @.str.4
.asciz "usage: banner [-w width]\n"
.comm _i,4,2 ; @i
.comm _j,4,2 ; @j
.comm _print,132,0 ; @print
.comm _message,1024,0 ; @message
l_.str.5: ; @.str.5
.asciz " "
.comm _nchars,4,2 ; @nchars
l_.str.6: ; @.str.6
.asciz "No message to print.\n"
l_.str.7: ; @.str.7
.asciz "int asc_ptr[128] = {\n"
l_.str.8: ; @.str.8
.asciz "%4d, "
l_.str.9: ; @.str.9
.asciz "\n"
l_.str.10: ; @.str.10
.asciz "};\nchar data_table[NBYTES] = {\n"
l_.str.11: ; @.str.11
.asciz " /* "
l_.str.12: ; @.str.12
.asciz " %3d "
l_.str.13: ; @.str.13
.asciz " */\n"
l_.str.14: ; @.str.14
.asciz "/* %4d */ "
.comm _x,4,2 ; @x
l_.str.15: ; @.str.15
.asciz " %3d, "
l_.str.16: ; @.str.16
.asciz "};\n"
l_.str.17: ; @.str.17
.asciz "The character is not in my character set\n"
.comm _line,132,0 ; @line
.comm _pc,4,2 ; @pc
.comm _term,4,2 ; @term
.comm _max,4,2 ; @max
.comm _linen,4,2 ; @linen
l_.str.18: ; @.str.18
.asciz "bad pc: %d\n"
.comm _y,4,2 ; @y
.subsections_via_symbols
|
knapsack.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _max ## -- Begin function max
.p2align 4, 0x90
_max: ## @max
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
cmpl %esi, %edi
cmovgl %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _knapSack ## -- Begin function knapSack
.p2align 4, 0x90
_knapSack: ## @knapSack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addq $-1004, %rdx ## imm = 0xFC14
xorl %eax, %eax
jmp LBB1_1
.p2align 4, 0x90
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
incq %rax
addq $1004, %rdx ## imm = 0x3EC
cmpq $51, %rax
je LBB1_9
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_2 Depth 2
xorl %ecx, %ecx
jmp LBB1_2
.p2align 4, 0x90
LBB1_6: ## in Loop: Header=BB1_2 Depth=2
movl (%rdx,%rcx,4), %r8d
LBB1_7: ## in Loop: Header=BB1_2 Depth=2
movl %r8d, 1004(%rdx,%rcx,4)
incq %rcx
cmpq $251, %rcx
je LBB1_8
LBB1_2: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
xorl %r8d, %r8d
testq %rax, %rax
je LBB1_7
## %bb.3: ## in Loop: Header=BB1_2 Depth=2
testq %rcx, %rcx
je LBB1_7
## %bb.4: ## in Loop: Header=BB1_2 Depth=2
movslq -4(%rdi,%rax,4), %r8
cmpq %r8, %rcx
jl LBB1_6
## %bb.5: ## in Loop: Header=BB1_2 Depth=2
shlq $2, %r8
leaq (%rdx,%rcx,4), %r9
subq %r8, %r9
movl (%r9), %r8d
addl -4(%rsi,%rax,4), %r8d
movl (%rdx,%rcx,4), %r9d
cmpl %r9d, %r8d
cmovlel %r9d, %r8d
jmp LBB1_7
LBB1_9:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $51224, %eax ## imm = 0xC818
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq -52268(%rbp), %rax
xorl %ecx, %ecx
leaq _wt(%rip), %r15
leaq _val(%rip), %r12
jmp LBB2_1
.p2align 4, 0x90
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
incq %rcx
addq $1004, %rax ## imm = 0x3EC
cmpq $51, %rcx
je LBB2_9
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_2 Depth 2
xorl %edx, %edx
jmp LBB2_2
.p2align 4, 0x90
LBB2_6: ## in Loop: Header=BB2_2 Depth=2
movl (%rax,%rdx,4), %esi
LBB2_7: ## in Loop: Header=BB2_2 Depth=2
movl %esi, 1004(%rax,%rdx,4)
incq %rdx
cmpq $251, %rdx
je LBB2_8
LBB2_2: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
xorl %esi, %esi
testq %rcx, %rcx
je LBB2_7
## %bb.3: ## in Loop: Header=BB2_2 Depth=2
testq %rdx, %rdx
je LBB2_7
## %bb.4: ## in Loop: Header=BB2_2 Depth=2
movslq -4(%r15,%rcx,4), %rsi
cmpq %rsi, %rdx
jl LBB2_6
## %bb.5: ## in Loop: Header=BB2_2 Depth=2
shlq $2, %rsi
leaq (%rax,%rdx,4), %rdi
subq %rsi, %rdi
movl (%rdi), %esi
addl -4(%r12,%rcx,4), %esi
movl (%rax,%rdx,4), %edi
cmpl %edi, %esi
cmovlel %edi, %esi
jmp LBB2_7
LBB2_9:
movl -64(%rbp), %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $250, %r13d
movl $50, %ebx
movl $49196, %r14d ## imm = 0xC02C
jmp LBB2_10
.p2align 4, 0x90
LBB2_12: ## in Loop: Header=BB2_10 Depth=1
decq %rbx
addq $-1004, %r14 ## imm = 0xFC14
testq %rbx, %rbx
je LBB2_13
LBB2_10: ## =>This Inner Loop Header: Depth=1
movslq %r13d, %rax
leaq -51264(,%rax,4), %rax
addq %rbp, %rax
movl 1004(%r14,%rax), %ecx
cmpl (%r14,%rax), %ecx
je LBB2_12
## %bb.11: ## in Loop: Header=BB2_10 Depth=1
movl -4(%r15,%rbx,4), %edx
movl -4(%r12,%rbx,4), %ecx
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _libmin_printf
subl -4(%r15,%rbx,4), %r13d
jmp LBB2_12
LBB2_13:
movl $250, %esi
subl %r13d, %esi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB2_15
## %bb.14:
xorl %eax, %eax
addq $51224, %rsp ## imm = 0xC818
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_15:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _val ## @val
.p2align 4, 0x0
_val:
.long 27 ## 0x1b
.long 34 ## 0x22
.long 9 ## 0x9
.long 22 ## 0x16
.long 8 ## 0x8
.long 17 ## 0x11
.long 22 ## 0x16
.long 21 ## 0x15
.long 23 ## 0x17
.long 19 ## 0x13
.long 7 ## 0x7
.long 36 ## 0x24
.long 11 ## 0xb
.long 42 ## 0x2a
.long 37 ## 0x25
.long 16 ## 0x10
.long 10 ## 0xa
.long 26 ## 0x1a
.long 10 ## 0xa
.long 50 ## 0x32
.long 23 ## 0x17
.long 46 ## 0x2e
.long 37 ## 0x25
.long 3 ## 0x3
.long 14 ## 0xe
.long 16 ## 0x10
.long 35 ## 0x23
.long 14 ## 0xe
.long 15 ## 0xf
.long 44 ## 0x2c
.long 49 ## 0x31
.long 2 ## 0x2
.long 45 ## 0x2d
.long 3 ## 0x3
.long 15 ## 0xf
.long 1 ## 0x1
.long 34 ## 0x22
.long 44 ## 0x2c
.long 19 ## 0x13
.long 25 ## 0x19
.long 43 ## 0x2b
.long 28 ## 0x1c
.long 26 ## 0x1a
.long 4 ## 0x4
.long 30 ## 0x1e
.long 24 ## 0x18
.long 49 ## 0x31
.long 11 ## 0xb
.long 48 ## 0x30
.long 13 ## 0xd
.globl _wt ## @wt
.p2align 4, 0x0
_wt:
.long 23 ## 0x17
.long 47 ## 0x2f
.long 22 ## 0x16
.long 15 ## 0xf
.long 42 ## 0x2a
.long 30 ## 0x1e
.long 15 ## 0xf
.long 32 ## 0x20
.long 47 ## 0x2f
.long 33 ## 0x21
.long 15 ## 0xf
.long 38 ## 0x26
.long 44 ## 0x2c
.long 7 ## 0x7
.long 16 ## 0x10
.long 34 ## 0x22
.long 30 ## 0x1e
.long 33 ## 0x21
.long 3 ## 0x3
.long 2 ## 0x2
.long 43 ## 0x2b
.long 31 ## 0x1f
.long 46 ## 0x2e
.long 17 ## 0x11
.long 30 ## 0x1e
.long 1 ## 0x1
.long 34 ## 0x22
.long 21 ## 0x15
.long 30 ## 0x1e
.long 21 ## 0x15
.long 29 ## 0x1d
.long 21 ## 0x15
.long 36 ## 0x24
.long 14 ## 0xe
.long 18 ## 0x12
.long 21 ## 0x15
.long 13 ## 0xd
.long 3 ## 0x3
.long 27 ## 0x1b
.long 44 ## 0x2c
.long 33 ## 0x21
.long 11 ## 0xb
.long 9 ## 0x9
.long 31 ## 0x1f
.long 40 ## 0x28
.long 40 ## 0x28
.long 30 ## 0x1e
.long 9 ## 0x9
.long 41 ## 0x29
.long 31 ## 0x1f
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Max value: %d\n"
L_.str.1: ## @.str.1
.asciz "Selected packs:\n"
L_.str.2: ## @.str.2
.asciz " Package %d with wt=%d and val=%d\n"
L_.str.3: ## @.str.3
.asciz "Total weight: %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _max ; -- Begin function max
.p2align 2
_max: ; @max
.cfi_startproc
; %bb.0:
cmp w0, w1
csel w0, w0, w1, gt
ret
.cfi_endproc
; -- End function
.globl _knapSack ; -- Begin function knapSack
.p2align 2
_knapSack: ; @knapSack
.cfi_startproc
; %bb.0:
mov x8, #0 ; =0x0
b LBB1_2
LBB1_1: ; in Loop: Header=BB1_2 Depth=1
add x8, x8, #1
add x2, x2, #1004
cmp x8, #51
b.eq LBB1_9
LBB1_2: ; =>This Loop Header: Depth=1
; Child Loop BB1_5 Depth 2
mov x9, #0 ; =0x0
sub x10, x8, #1
mov x11, #-251 ; =0xffffffffffffff05
b LBB1_5
LBB1_3: ; in Loop: Header=BB1_5 Depth=2
add x12, x2, x9
sub x12, x12, #1004
ldr w12, [x12]
LBB1_4: ; in Loop: Header=BB1_5 Depth=2
str w12, [x2, x9]
add x9, x9, #4
adds x11, x11, #1
b.hs LBB1_1
LBB1_5: ; Parent Loop BB1_2 Depth=1
; => This Inner Loop Header: Depth=2
mov w12, #0 ; =0x0
cbz x8, LBB1_4
; %bb.6: ; in Loop: Header=BB1_5 Depth=2
cmn x11, #251
b.eq LBB1_4
; %bb.7: ; in Loop: Header=BB1_5 Depth=2
add x13, x11, #251
ldrsw x12, [x0, x10, lsl #2]
cmp x13, x12
b.lt LBB1_3
; %bb.8: ; in Loop: Header=BB1_5 Depth=2
ldr w13, [x1, x10, lsl #2]
sub x12, x2, x12, lsl #2
ldr w12, [x12, x11, lsl #2]
add x14, x2, x9
sub x14, x14, #1004
ldr w14, [x14]
add w12, w12, w13
cmp w12, w14
csel w12, w12, w14, gt
b LBB1_4
LBB1_9:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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
mov w9, #51248 ; =0xc830
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #12, lsl #12 ; =49152
sub sp, sp, #2096
.cfi_def_cfa w29, 16
.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 x8, #0 ; =0x0
Lloh2:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
stur x9, [x29, #-88]
mov x9, #-1004 ; =0xfffffffffffffc14
add x10, sp, #36
Lloh5:
adrp x20, _wt@PAGE
Lloh6:
add x20, x20, _wt@PAGEOFF
Lloh7:
adrp x21, _val@PAGE
Lloh8:
add x21, x21, _val@PAGEOFF
b LBB2_2
LBB2_1: ; in Loop: Header=BB2_2 Depth=1
add x8, x8, #1
add x9, x9, #1004
cmp x8, #51
b.eq LBB2_9
LBB2_2: ; =>This Loop Header: Depth=1
; Child Loop BB2_5 Depth 2
mov x11, #0 ; =0x0
sub x12, x8, #1
mov w13, #251 ; =0xfb
mov x14, x9
b LBB2_5
LBB2_3: ; in Loop: Header=BB2_5 Depth=2
ldr w15, [x10, x14]
LBB2_4: ; in Loop: Header=BB2_5 Depth=2
add x16, x10, x14
str w15, [x16, #1004]
add x11, x11, #1
add x14, x14, #4
subs x13, x13, #1
b.eq LBB2_1
LBB2_5: ; Parent Loop BB2_2 Depth=1
; => This Inner Loop Header: Depth=2
mov w15, #0 ; =0x0
cbz x8, LBB2_4
; %bb.6: ; in Loop: Header=BB2_5 Depth=2
cbz x11, LBB2_4
; %bb.7: ; in Loop: Header=BB2_5 Depth=2
ldrsw x15, [x20, x12, lsl #2]
cmp x11, x15
b.lt LBB2_3
; %bb.8: ; in Loop: Header=BB2_5 Depth=2
ldr w16, [x21, x12, lsl #2]
add x17, x10, x14
sub x15, x17, x15, lsl #2
ldr w15, [x15]
ldr w17, [x17]
add w15, w15, w16
cmp w15, w17
csel w15, w15, w17, gt
b LBB2_4
LBB2_9:
mov w8, #51200 ; =0xc800
add x22, sp, #36
ldr w8, [x22, x8]
str x8, [sp]
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
Lloh11:
adrp x0, l_.str.1@PAGE
Lloh12:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
mov w23, #250 ; =0xfa
mov w24, #49 ; =0x31
mov w25, #49196 ; =0xc02c
Lloh13:
adrp x19, l_.str.2@PAGE
Lloh14:
add x19, x19, l_.str.2@PAGEOFF
b LBB2_11
LBB2_10: ; in Loop: Header=BB2_11 Depth=1
sub x24, x24, #1
sub x25, x25, #1004
cmn x24, #1
b.eq LBB2_13
LBB2_11: ; =>This Inner Loop Header: Depth=1
add x8, x25, w23, sxtw #2
add x8, x22, x8
ldr w9, [x8, #1004]
ldr w8, [x8]
cmp w9, w8
b.eq LBB2_10
; %bb.12: ; in Loop: Header=BB2_11 Depth=1
lsl x26, x24, #2
add x8, x24, #1
ldr w9, [x20, x26]
ldr w10, [x21, x26]
stp x9, x10, [sp, #8]
str x8, [sp]
mov x0, x19
bl _libmin_printf
ldr w8, [x20, x26]
sub w23, w23, w8
b LBB2_10
LBB2_13:
mov w8, #250 ; =0xfa
sub w8, w8, w23
str x8, [sp]
Lloh15:
adrp x0, l_.str.3@PAGE
Lloh16:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
bl _libmin_success
ldur x8, [x29, #-88]
Lloh17:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh18:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_15
; %bb.14:
mov w0, #0 ; =0x0
add sp, sp, #12, lsl #12 ; =49152
add sp, sp, #2096
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
LBB2_15:
bl ___stack_chk_fail
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh15, Lloh16
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _val ; @val
.p2align 2, 0x0
_val:
.long 27 ; 0x1b
.long 34 ; 0x22
.long 9 ; 0x9
.long 22 ; 0x16
.long 8 ; 0x8
.long 17 ; 0x11
.long 22 ; 0x16
.long 21 ; 0x15
.long 23 ; 0x17
.long 19 ; 0x13
.long 7 ; 0x7
.long 36 ; 0x24
.long 11 ; 0xb
.long 42 ; 0x2a
.long 37 ; 0x25
.long 16 ; 0x10
.long 10 ; 0xa
.long 26 ; 0x1a
.long 10 ; 0xa
.long 50 ; 0x32
.long 23 ; 0x17
.long 46 ; 0x2e
.long 37 ; 0x25
.long 3 ; 0x3
.long 14 ; 0xe
.long 16 ; 0x10
.long 35 ; 0x23
.long 14 ; 0xe
.long 15 ; 0xf
.long 44 ; 0x2c
.long 49 ; 0x31
.long 2 ; 0x2
.long 45 ; 0x2d
.long 3 ; 0x3
.long 15 ; 0xf
.long 1 ; 0x1
.long 34 ; 0x22
.long 44 ; 0x2c
.long 19 ; 0x13
.long 25 ; 0x19
.long 43 ; 0x2b
.long 28 ; 0x1c
.long 26 ; 0x1a
.long 4 ; 0x4
.long 30 ; 0x1e
.long 24 ; 0x18
.long 49 ; 0x31
.long 11 ; 0xb
.long 48 ; 0x30
.long 13 ; 0xd
.globl _wt ; @wt
.p2align 2, 0x0
_wt:
.long 23 ; 0x17
.long 47 ; 0x2f
.long 22 ; 0x16
.long 15 ; 0xf
.long 42 ; 0x2a
.long 30 ; 0x1e
.long 15 ; 0xf
.long 32 ; 0x20
.long 47 ; 0x2f
.long 33 ; 0x21
.long 15 ; 0xf
.long 38 ; 0x26
.long 44 ; 0x2c
.long 7 ; 0x7
.long 16 ; 0x10
.long 34 ; 0x22
.long 30 ; 0x1e
.long 33 ; 0x21
.long 3 ; 0x3
.long 2 ; 0x2
.long 43 ; 0x2b
.long 31 ; 0x1f
.long 46 ; 0x2e
.long 17 ; 0x11
.long 30 ; 0x1e
.long 1 ; 0x1
.long 34 ; 0x22
.long 21 ; 0x15
.long 30 ; 0x1e
.long 21 ; 0x15
.long 29 ; 0x1d
.long 21 ; 0x15
.long 36 ; 0x24
.long 14 ; 0xe
.long 18 ; 0x12
.long 21 ; 0x15
.long 13 ; 0xd
.long 3 ; 0x3
.long 27 ; 0x1b
.long 44 ; 0x2c
.long 33 ; 0x21
.long 11 ; 0xb
.long 9 ; 0x9
.long 31 ; 0x1f
.long 40 ; 0x28
.long 40 ; 0x28
.long 30 ; 0x1e
.long 9 ; 0x9
.long 41 ; 0x29
.long 31 ; 0x1f
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Max value: %d\n"
l_.str.1: ; @.str.1
.asciz "Selected packs:\n"
l_.str.2: ; @.str.2
.asciz " Package %d with wt=%d and val=%d\n"
l_.str.3: ; @.str.3
.asciz "Total weight: %d\n"
.subsections_via_symbols
|
bit-kernels.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _count_bits_naive ## -- Begin function count_bits_naive
.p2align 4, 0x90
_count_bits_naive: ## @count_bits_naive
.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
testl %edi, %edi
je LBB0_3
## %bb.1:
movl %edi, %ecx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %edi, %edx
andl $1, %edx
addl %edx, %eax
shrl %ecx
cmpl $1, %edi
movl %ecx, %edi
ja LBB0_2
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _count_bits_kernighan ## -- Begin function count_bits_kernighan
.p2align 4, 0x90
_count_bits_kernighan: ## @count_bits_kernighan
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
xorl %eax, %eax
testl %edi, %edi
je LBB1_2
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
leal -1(%rdi), %ecx
incl %eax
andl %edi, %ecx
movl %ecx, %edi
jne LBB1_1
LBB1_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _count_bits_builtin ## -- Begin function count_bits_builtin
.p2align 4, 0x90
_count_bits_builtin: ## @count_bits_builtin
.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
shrl %eax
andl $1431655765, %eax ## imm = 0x55555555
subl %eax, %edi
movl %edi, %eax
andl $858993459, %eax ## imm = 0x33333333
shrl $2, %edi
andl $858993459, %edi ## imm = 0x33333333
addl %eax, %edi
movl %edi, %eax
shrl $4, %eax
addl %edi, %eax
andl $252645135, %eax ## imm = 0xF0F0F0F
imull $16843009, %eax, %eax ## imm = 0x1010101
shrl $24, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init_popcount_table ## -- Begin function init_popcount_table
.p2align 4, 0x90
_init_popcount_table: ## @init_popcount_table
.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
movq _popcount_table@GOTPCREL(%rip), %rcx
.p2align 4, 0x90
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_3 Depth 2
## Child Loop BB3_5 Depth 2
movl $0, %edx
testq %rax, %rax
je LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
xorl %edx, %edx
movl %eax, %esi
movl %eax, %edi
.p2align 4, 0x90
LBB3_3: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %esi, %r8d
andl $1, %r8d
addl %r8d, %edx
shrl %edi
cmpl $1, %esi
movl %edi, %esi
ja LBB3_3
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
movl %edx, (%rcx,%rax,4)
movq %rax, %rdx
orq $1, %rdx
xorl %esi, %esi
movl %edx, %edi
movl %edx, %r8d
.p2align 4, 0x90
LBB3_5: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %edi, %r9d
andl $1, %r9d
addl %r9d, %esi
shrl %r8d
cmpl $1, %edi
movl %r8d, %edi
ja LBB3_5
## %bb.6: ## in Loop: Header=BB3_1 Depth=1
movl %esi, (%rcx,%rdx,4)
addq $2, %rax
cmpq $256, %rax ## imm = 0x100
jne LBB3_1
## %bb.7:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _count_bits_table ## -- Begin function count_bits_table
.p2align 4, 0x90
_count_bits_table: ## @count_bits_table
.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, %ecx
movzbl %cl, %edx
movq _popcount_table@GOTPCREL(%rip), %rsi
movzbl %ch, %eax
movl (%rsi,%rax,4), %eax
addl (%rsi,%rdx,4), %eax
movl %edi, %edx
shrl $16, %edx
movzbl %dl, %edx
addl (%rsi,%rdx,4), %eax
shrl $24, %ecx
addl (%rsi,%rcx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _count_bits_parallel ## -- Begin function count_bits_parallel
.p2align 4, 0x90
_count_bits_parallel: ## @count_bits_parallel
.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
shrl %eax
andl $1431655765, %eax ## imm = 0x55555555
subl %eax, %edi
movl %edi, %eax
andl $858993459, %eax ## imm = 0x33333333
shrl $2, %edi
andl $858993459, %edi ## imm = 0x33333333
addl %eax, %edi
movl %edi, %eax
shrl $4, %eax
addl %edi, %eax
andl $252645135, %eax ## imm = 0xF0F0F0F
imull $16843009, %eax, %eax ## imm = 0x1010101
shrl $24, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
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 $42, %edi
callq _libmin_srand
xorl %eax, %eax
movq _popcount_table@GOTPCREL(%rip), %r9
.p2align 4, 0x90
LBB6_1: ## =>This Loop Header: Depth=1
## Child Loop BB6_3 Depth 2
## Child Loop BB6_5 Depth 2
movl $0, %ecx
testq %rax, %rax
je LBB6_4
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
xorl %ecx, %ecx
movl %eax, %edx
movl %eax, %esi
.p2align 4, 0x90
LBB6_3: ## Parent Loop BB6_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %edx, %edi
andl $1, %edi
addl %edi, %ecx
shrl %esi
cmpl $1, %edx
movl %esi, %edx
ja LBB6_3
LBB6_4: ## in Loop: Header=BB6_1 Depth=1
movl %ecx, (%r9,%rax,4)
movq %rax, %rcx
orq $1, %rcx
xorl %edx, %edx
movl %ecx, %esi
movl %ecx, %edi
.p2align 4, 0x90
LBB6_5: ## Parent Loop BB6_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %esi, %r8d
andl $1, %r8d
addl %r8d, %edx
shrl %edi
cmpl $1, %esi
movl %edi, %esi
ja LBB6_5
## %bb.6: ## in Loop: Header=BB6_1 Depth=1
movl %edx, (%r9,%rcx,4)
addq $2, %rax
cmpq $256, %rax ## imm = 0x100
jne LBB6_1
## %bb.7:
movl $400, %edi ## imm = 0x190
callq _libmin_malloc
testq %rax, %rax
je LBB6_24
## %bb.8:
movq %rax, %r15
xorl %r14d, %r14d
.p2align 4, 0x90
LBB6_9: ## =>This Inner Loop Header: Depth=1
callq _libmin_rand
movl %eax, %ebx
shll $16, %ebx
callq _libmin_rand
movzwl %ax, %eax
orl %ebx, %eax
movl %eax, (%r15,%r14,4)
incq %r14
cmpq $100, %r14
jne LBB6_9
## %bb.10:
xorl %eax, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %eax, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %esi, %esi
xorl %ebx, %ebx
xorl %r12d, %r12d
movq %r15, -80(%rbp) ## 8-byte Spill
jmp LBB6_11
.p2align 4, 0x90
LBB6_22: ## in Loop: Header=BB6_11 Depth=1
movl %r14d, %eax
addq %rax, -48(%rbp) ## 8-byte Folded Spill
movl %r15d, %eax
addq %rax, -56(%rbp) ## 8-byte Folded Spill
movl %r12d, %eax
addq %rax, -64(%rbp) ## 8-byte Folded Spill
movl %r13d, %ecx
movq -88(%rbp), %r12 ## 8-byte Reload
addq %rcx, %r12
movq -96(%rbp), %rbx ## 8-byte Reload
addq %rax, %rbx
incq %rsi
cmpq $100, %rsi
movq -80(%rbp), %r15 ## 8-byte Reload
je LBB6_23
LBB6_11: ## =>This Loop Header: Depth=1
## Child Loop BB6_13 Depth 2
## Child Loop BB6_15 Depth 2
movq %rbx, -96(%rbp) ## 8-byte Spill
movl (%r15,%rsi,4), %ebx
movl $0, %r14d
movl $0, %r15d
testq %rbx, %rbx
je LBB6_16
## %bb.12: ## in Loop: Header=BB6_11 Depth=1
xorl %r14d, %r14d
movl %ebx, %ecx
movl %ebx, %eax
.p2align 4, 0x90
LBB6_13: ## Parent Loop BB6_11 Depth=1
## => This Inner Loop Header: Depth=2
movl %ecx, %edx
andl $1, %edx
addl %edx, %r14d
shrl %eax
cmpl $1, %ecx
movl %eax, %ecx
ja LBB6_13
## %bb.14: ## in Loop: Header=BB6_11 Depth=1
xorl %r15d, %r15d
movl %ebx, %eax
.p2align 4, 0x90
LBB6_15: ## Parent Loop BB6_11 Depth=1
## => This Inner Loop Header: Depth=2
leal -1(%rax), %ecx
incl %r15d
andl %eax, %ecx
movl %ecx, %eax
jne LBB6_15
LBB6_16: ## in Loop: Header=BB6_11 Depth=1
movq %r12, -88(%rbp) ## 8-byte Spill
movl %ebx, %eax
shrl %eax
andl $1431655765, %eax ## imm = 0x55555555
movl %ebx, %ecx
subl %eax, %ecx
movl %ecx, %eax
andl $858993459, %eax ## imm = 0x33333333
shrl $2, %ecx
andl $858993459, %ecx ## imm = 0x33333333
addl %eax, %ecx
movl %ecx, %eax
shrl $4, %eax
addl %ecx, %eax
andl $252645135, %eax ## imm = 0xF0F0F0F
imull $16843009, %eax, %r12d ## imm = 0x1010101
shrl $24, %r12d
movzbl %bl, %eax
movzbl %bh, %ecx
movq _popcount_table@GOTPCREL(%rip), %rdx
movl (%rdx,%rcx,4), %r13d
addl (%rdx,%rax,4), %r13d
movl %ebx, %eax
shrl $16, %eax
movzbl %al, %eax
addl (%rdx,%rax,4), %r13d
movl %ebx, %eax
shrl $24, %eax
addl (%rdx,%rax,4), %r13d
cmpl %r12d, %r14d
movq %rsi, -72(%rbp) ## 8-byte Spill
jne LBB6_19
## %bb.17: ## in Loop: Header=BB6_11 Depth=1
cmpl %r15d, %r14d
jne LBB6_19
## %bb.18: ## in Loop: Header=BB6_11 Depth=1
cmpl %r13d, %r14d
jne LBB6_19
## %bb.20: ## in Loop: Header=BB6_11 Depth=1
cmpq $4, %rsi
ja LBB6_22
jmp LBB6_21
.p2align 4, 0x90
LBB6_19: ## in Loop: Header=BB6_11 Depth=1
movl %r12d, (%rsp)
leaq L_.str.1(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %r15d, %ecx
movl %r12d, %r8d
movl %r13d, %r9d
xorl %eax, %eax
callq _libmin_printf
movq -72(%rbp), %rsi ## 8-byte Reload
cmpq $4, %rsi
ja LBB6_22
LBB6_21: ## in Loop: Header=BB6_11 Depth=1
movl %r12d, (%rsp)
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %r15d, %ecx
movl %r12d, %r8d
movl %r13d, %r9d
xorl %eax, %eax
callq _libmin_printf
movq -72(%rbp), %rsi ## 8-byte Reload
jmp LBB6_22
LBB6_23:
leaq L_.str.3(%rip), %rdi
xorl %r14d, %r14d
movl $100, %esi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.4(%rip), %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.5(%rip), %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.6(%rip), %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.7(%rip), %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.8(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
callq _libmin_free
callq _libmin_success
jmp LBB6_25
LBB6_24:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movl $1, %r14d
LBB6_25:
movl %r14d, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _popcount_table,1024,4 ## @popcount_table
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ERROR: Memory allocation error!\n"
L_.str.1: ## @.str.1
.asciz "Mismatch for value 0x%08X: naive=%u, kernighan=%u, builtin=%u, table=%u, parallel=%u\n"
L_.str.2: ## @.str.2
.asciz "Value 0x%08X: naive=%2u, kernighan=%2u, builtin=%2u, table=%2u, parallel=%2u\n"
L_.str.3: ## @.str.3
.asciz "\nTotal bit count over %d numbers:\n"
L_.str.4: ## @.str.4
.asciz "Naive : %llu\n"
L_.str.5: ## @.str.5
.asciz "Kernighan : %llu\n"
L_.str.6: ## @.str.6
.asciz "Built-in : %llu\n"
L_.str.7: ## @.str.7
.asciz "Table Lookup : %llu\n"
L_.str.8: ## @.str.8
.asciz "Parallel : %llu\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _count_bits_naive ; -- Begin function count_bits_naive
.p2align 2
_count_bits_naive: ; @count_bits_naive
.cfi_startproc
; %bb.0:
cbz w0, LBB0_3
; %bb.1:
mov x8, x0
mov w0, #0 ; =0x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
and w9, w8, #0x1
add w0, w0, w9
lsr w9, w8, #1
cmp w8, #1
mov x8, x9
b.hi LBB0_2
LBB0_3:
ret
.cfi_endproc
; -- End function
.globl _count_bits_kernighan ; -- Begin function count_bits_kernighan
.p2align 2
_count_bits_kernighan: ; @count_bits_kernighan
.cfi_startproc
; %bb.0:
fmov s0, w0
cnt.8b v0, v0
uaddlv.8b h0, v0
fmov w8, s0
cmp w0, #0
csel w0, wzr, w8, eq
ret
.cfi_endproc
; -- End function
.globl _count_bits_builtin ; -- Begin function count_bits_builtin
.p2align 2
_count_bits_builtin: ; @count_bits_builtin
.cfi_startproc
; %bb.0:
fmov s0, w0
cnt.8b v0, v0
uaddlv.8b h0, v0
fmov w0, s0
ret
.cfi_endproc
; -- End function
.globl _init_popcount_table ; -- Begin function init_popcount_table
.p2align 2
_init_popcount_table: ; @init_popcount_table
.cfi_startproc
; %bb.0:
mov x8, #0 ; =0x0
Lloh0:
adrp x9, _popcount_table@GOTPAGE
Lloh1:
ldr x9, [x9, _popcount_table@GOTPAGEOFF]
b LBB3_2
LBB3_1: ; in Loop: Header=BB3_2 Depth=1
str w10, [x9, x8, lsl #2]
add x8, x8, #1
cmp x8, #256
b.eq LBB3_5
LBB3_2: ; =>This Loop Header: Depth=1
; Child Loop BB3_4 Depth 2
mov w10, #0 ; =0x0
cbz x8, LBB3_1
; %bb.3: ; in Loop: Header=BB3_2 Depth=1
mov x11, x8
LBB3_4: ; Parent Loop BB3_2 Depth=1
; => This Inner Loop Header: Depth=2
and w12, w11, #0x1
add w10, w12, w10
lsr w12, w11, #1
cmp w11, #1
mov x11, x12
b.hi LBB3_4
b LBB3_1
LBB3_5:
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _count_bits_table ; -- Begin function count_bits_table
.p2align 2
_count_bits_table: ; @count_bits_table
.cfi_startproc
; %bb.0:
and w8, w0, #0xff
Lloh2:
adrp x9, _popcount_table@GOTPAGE
Lloh3:
ldr x9, [x9, _popcount_table@GOTPAGEOFF]
ldr w8, [x9, w8, uxtw #2]
ubfx w10, w0, #8, #8
ldr w10, [x9, w10, uxtw #2]
add w8, w10, w8
ubfx w10, w0, #16, #8
ldr w10, [x9, w10, uxtw #2]
lsr w11, w0, #24
ldr w9, [x9, w11, uxtw #2]
add w9, w10, w9
add w0, w8, w9
ret
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _count_bits_parallel ; -- Begin function count_bits_parallel
.p2align 2
_count_bits_parallel: ; @count_bits_parallel
.cfi_startproc
; %bb.0:
fmov s0, w0
cnt.8b v0, v0
uaddlv.8b h0, v0
fmov w0, s0
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov w0, #42 ; =0x2a
bl _libmin_srand
mov x8, #0 ; =0x0
Lloh4:
adrp x23, _popcount_table@GOTPAGE
Lloh5:
ldr x23, [x23, _popcount_table@GOTPAGEOFF]
b LBB6_2
LBB6_1: ; in Loop: Header=BB6_2 Depth=1
str w9, [x23, x8, lsl #2]
add x8, x8, #1
cmp x8, #256
b.eq LBB6_5
LBB6_2: ; =>This Loop Header: Depth=1
; Child Loop BB6_4 Depth 2
mov w9, #0 ; =0x0
cbz x8, LBB6_1
; %bb.3: ; in Loop: Header=BB6_2 Depth=1
mov x10, x8
LBB6_4: ; Parent Loop BB6_2 Depth=1
; => This Inner Loop Header: Depth=2
and w11, w10, #0x1
add w9, w11, w9
lsr w11, w10, #1
cmp w10, #1
mov x10, x11
b.hi LBB6_4
b LBB6_1
LBB6_5:
mov w0, #400 ; =0x190
bl _libmin_malloc
cbz x0, LBB6_18
; %bb.6:
mov x21, x0
mov x19, #0 ; =0x0
LBB6_7: ; =>This Inner Loop Header: Depth=1
bl _libmin_rand
mov x20, x0
bl _libmin_rand
bfi w0, w20, #16, #16
str w0, [x21, x19]
add x19, x19, #4
cmp x19, #400
b.ne LBB6_7
; %bb.8:
mov x27, #0 ; =0x0
mov x26, #0 ; =0x0
mov x25, #0 ; =0x0
mov x28, #0 ; =0x0
mov x19, #0 ; =0x0
mov x24, #0 ; =0x0
str x21, [sp, #48] ; 8-byte Folded Spill
b LBB6_10
LBB6_9: ; in Loop: Header=BB6_10 Depth=1
add x27, x27, w21, uxtw
add x26, x26, w22, uxtw
add x25, x25, x19
ldp x21, x8, [sp, #48] ; 16-byte Folded Reload
add x19, x8, x19
add x28, x28, #1
add x24, x24, w23, uxtw
cmp x28, #100
Lloh6:
adrp x23, _popcount_table@GOTPAGE
Lloh7:
ldr x23, [x23, _popcount_table@GOTPAGEOFF]
b.eq LBB6_17
LBB6_10: ; =>This Loop Header: Depth=1
; Child Loop BB6_12 Depth 2
ldr w20, [x21, x28, lsl #2]
str x19, [sp, #56] ; 8-byte Folded Spill
mov w21, #0 ; =0x0
cbz w20, LBB6_13
; %bb.11: ; in Loop: Header=BB6_10 Depth=1
mov x8, x20
LBB6_12: ; Parent Loop BB6_10 Depth=1
; => This Inner Loop Header: Depth=2
and w9, w8, #0x1
add w21, w9, w21
lsr w9, w8, #1
cmp w8, #1
mov x8, x9
b.hi LBB6_12
LBB6_13: ; in Loop: Header=BB6_10 Depth=1
fmov s0, w20
cnt.8b v0, v0
uaddlv.8b h0, v0
fmov w19, s0
cmp w20, #0
csel w22, wzr, w19, eq
and x8, x20, #0xff
ldr w8, [x23, x8, lsl #2]
ubfx x9, x20, #8, #8
ldr w9, [x23, x9, lsl #2]
ubfx x10, x20, #16, #8
ldr w10, [x23, x10, lsl #2]
add w8, w9, w8
add w8, w8, w10
lsr x9, x20, #22
and x9, x9, #0x3fc
ldr w9, [x23, x9]
add w23, w8, w9
cmp w21, w19
ccmp w21, w22, #0, eq
ccmp w21, w23, #0, eq
b.eq LBB6_15
; %bb.14: ; in Loop: Header=BB6_10 Depth=1
mov x8, x19
stp x23, x8, [sp, #32]
stp x22, x8, [sp, #16]
stp x20, x21, [sp]
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
LBB6_15: ; in Loop: Header=BB6_10 Depth=1
cmp x28, #4
b.hi LBB6_9
; %bb.16: ; in Loop: Header=BB6_10 Depth=1
mov x8, x19
stp x23, x8, [sp, #32]
stp x22, x8, [sp, #16]
mov x8, x21
stp x20, x8, [sp]
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
bl _libmin_printf
b LBB6_9
LBB6_17:
mov w8, #100 ; =0x64
str x8, [sp]
Lloh12:
adrp x0, l_.str.3@PAGE
Lloh13:
add x0, x0, l_.str.3@PAGEOFF
bl _libmin_printf
str x27, [sp]
Lloh14:
adrp x0, l_.str.4@PAGE
Lloh15:
add x0, x0, l_.str.4@PAGEOFF
bl _libmin_printf
str x26, [sp]
Lloh16:
adrp x0, l_.str.5@PAGE
Lloh17:
add x0, x0, l_.str.5@PAGEOFF
bl _libmin_printf
str x25, [sp]
Lloh18:
adrp x0, l_.str.6@PAGE
Lloh19:
add x0, x0, l_.str.6@PAGEOFF
bl _libmin_printf
str x24, [sp]
Lloh20:
adrp x0, l_.str.7@PAGE
Lloh21:
add x0, x0, l_.str.7@PAGEOFF
bl _libmin_printf
str x19, [sp]
Lloh22:
adrp x0, l_.str.8@PAGE
Lloh23:
add x0, x0, l_.str.8@PAGEOFF
bl _libmin_printf
mov x0, x21
bl _libmin_free
bl _libmin_success
mov w0, #0 ; =0x0
b LBB6_19
LBB6_18:
Lloh24:
adrp x0, l_.str@PAGE
Lloh25:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
mov w0, #1 ; =0x1
LBB6_19:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #160
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.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 Lloh24, Lloh25
.cfi_endproc
; -- End function
.comm _popcount_table,1024,2 ; @popcount_table
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ERROR: Memory allocation error!\n"
l_.str.1: ; @.str.1
.asciz "Mismatch for value 0x%08X: naive=%u, kernighan=%u, builtin=%u, table=%u, parallel=%u\n"
l_.str.2: ; @.str.2
.asciz "Value 0x%08X: naive=%2u, kernighan=%2u, builtin=%2u, table=%2u, parallel=%2u\n"
l_.str.3: ; @.str.3
.asciz "\nTotal bit count over %d numbers:\n"
l_.str.4: ; @.str.4
.asciz "Naive : %llu\n"
l_.str.5: ; @.str.5
.asciz "Kernighan : %llu\n"
l_.str.6: ; @.str.6
.asciz "Built-in : %llu\n"
l_.str.7: ; @.str.7
.asciz "Table Lookup : %llu\n"
l_.str.8: ; @.str.8
.asciz "Parallel : %llu\n"
.subsections_via_symbols
|
lu-decomp.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _print_matrix ## -- Begin function print_matrix
.p2align 4, 0x90
_print_matrix: ## @print_matrix
.cfi_startproc
## %bb.0:
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, %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movsd (%rbx), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.1(%rip), %r14
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 8(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 16(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 24(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 32(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
leaq L_.str.2(%rip), %r15
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movsd 40(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 48(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 56(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 64(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 72(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movsd 80(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 88(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 96(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 104(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 112(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movsd 120(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 128(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 136(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 144(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 152(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movsd 160(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 168(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 176(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 184(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movsd 192(%rbx), %xmm0 ## xmm0 = mem[0],zero
movq %r14, %rdi
movb $1, %al
callq _libmin_printf
movq %r15, %rdi
xorl %eax, %eax
callq _libmin_printf
movq %r15, %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _libmin_printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _lu_decomposition ## -- Begin function lu_decomposition
.p2align 4, 0x90
_lu_decomposition: ## @lu_decomposition
.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
movabsq $4607182418800017408, %rcx ## imm = 0x3FF0000000000000
xorpd %xmm0, %xmm0
xorl %r8d, %r8d
xorl %r9d, %r9d
jmp LBB1_1
LBB1_60: ## in Loop: Header=BB1_1 Depth=1
xorpd %xmm1, %xmm1
LBB1_65: ## in Loop: Header=BB1_1 Depth=1
movsd 160(%rdi,%r8), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
divsd (%rdx,%r8), %xmm2
movsd %xmm2, 160(%rsi,%r8)
.p2align 4, 0x90
LBB1_32: ## in Loop: Header=BB1_1 Depth=1
incq %r9
addq $48, %r8
addq $40, %rax
cmpq $240, %r8
je LBB1_33
LBB1_1: ## =>This Inner Loop Header: Depth=1
xorpd %xmm1, %xmm1
testq %r8, %r8
je LBB1_2
## %bb.34: ## in Loop: Header=BB1_1 Depth=1
movsd (%rsi,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rdx,%r9,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %r8
je LBB1_2
## %bb.35: ## in Loop: Header=BB1_1 Depth=1
movsd 8(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 40(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %r8
je LBB1_2
## %bb.36: ## in Loop: Header=BB1_1 Depth=1
movsd 16(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 80(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %r8
je LBB1_2
## %bb.37: ## in Loop: Header=BB1_1 Depth=1
movsd 24(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 120(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
.p2align 4, 0x90
LBB1_2: ## in Loop: Header=BB1_1 Depth=1
movsd (%rdi,%r8), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
movsd %xmm2, (%rdx,%r8)
cmpq $192, %r8
je LBB1_31
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
testq %r8, %r8
je LBB1_4
## %bb.5: ## in Loop: Header=BB1_1 Depth=1
movsd (%rsi,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd 8(%rdx,%r9,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %r8
je LBB1_9
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movsd 8(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 48(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %r8
je LBB1_9
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
movsd 16(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 88(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %r8
je LBB1_9
## %bb.8: ## in Loop: Header=BB1_1 Depth=1
movsd 24(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 128(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB1_9
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
xorpd %xmm1, %xmm1
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
movsd 8(%rdi,%r8), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
movsd %xmm2, 8(%rdx,%r8)
cmpq $144, %r8
je LBB1_31
## %bb.10: ## in Loop: Header=BB1_1 Depth=1
testq %r8, %r8
je LBB1_11
## %bb.12: ## in Loop: Header=BB1_1 Depth=1
movsd (%rsi,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd 16(%rdx,%r9,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %r8
je LBB1_16
## %bb.13: ## in Loop: Header=BB1_1 Depth=1
movsd 8(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 56(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %r8
je LBB1_16
## %bb.14: ## in Loop: Header=BB1_1 Depth=1
movsd 16(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 96(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %r8
je LBB1_16
## %bb.15: ## in Loop: Header=BB1_1 Depth=1
movsd 24(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 136(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB1_16
LBB1_11: ## in Loop: Header=BB1_1 Depth=1
xorpd %xmm1, %xmm1
LBB1_16: ## in Loop: Header=BB1_1 Depth=1
movsd 16(%rdi,%r8), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
movsd %xmm2, 16(%rdx,%r8)
cmpq $96, %r8
je LBB1_31
## %bb.17: ## in Loop: Header=BB1_1 Depth=1
testq %r8, %r8
je LBB1_18
## %bb.19: ## in Loop: Header=BB1_1 Depth=1
movsd (%rsi,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd 24(%rdx,%r9,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %r8
je LBB1_23
## %bb.20: ## in Loop: Header=BB1_1 Depth=1
movsd 8(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 64(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %r8
je LBB1_23
## %bb.21: ## in Loop: Header=BB1_1 Depth=1
movsd 16(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 104(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %r8
je LBB1_23
## %bb.22: ## in Loop: Header=BB1_1 Depth=1
movsd 24(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 144(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB1_23
LBB1_18: ## in Loop: Header=BB1_1 Depth=1
xorpd %xmm1, %xmm1
LBB1_23: ## in Loop: Header=BB1_1 Depth=1
movsd 24(%rdi,%r8), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
movsd %xmm2, 24(%rdx,%r8)
cmpq $48, %r8
je LBB1_31
## %bb.24: ## in Loop: Header=BB1_1 Depth=1
testq %r8, %r8
je LBB1_25
## %bb.26: ## in Loop: Header=BB1_1 Depth=1
movsd (%rsi,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd 32(%rdx,%r9,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %r8
je LBB1_30
## %bb.27: ## in Loop: Header=BB1_1 Depth=1
movsd 8(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 72(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %r8
je LBB1_30
## %bb.28: ## in Loop: Header=BB1_1 Depth=1
movsd 16(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 112(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %r8
je LBB1_30
## %bb.29: ## in Loop: Header=BB1_1 Depth=1
movsd 24(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 152(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB1_30
LBB1_25: ## in Loop: Header=BB1_1 Depth=1
xorpd %xmm1, %xmm1
LBB1_30: ## in Loop: Header=BB1_1 Depth=1
movsd 32(%rdi,%r8), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
movsd %xmm2, 32(%rdx,%r8)
.p2align 4, 0x90
LBB1_31: ## in Loop: Header=BB1_1 Depth=1
movq %rcx, (%rsi,%r8)
cmpq $192, %r8
je LBB1_32
## %bb.38: ## in Loop: Header=BB1_1 Depth=1
testq %r8, %r8
je LBB1_39
## %bb.40: ## in Loop: Header=BB1_1 Depth=1
movsd 40(%rsi,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rdx,%r9,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %r8
je LBB1_44
## %bb.41: ## in Loop: Header=BB1_1 Depth=1
movsd 48(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 40(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %r8
je LBB1_44
## %bb.42: ## in Loop: Header=BB1_1 Depth=1
movsd 56(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 80(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %r8
je LBB1_44
## %bb.43: ## in Loop: Header=BB1_1 Depth=1
movsd 64(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 120(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB1_44
LBB1_39: ## in Loop: Header=BB1_1 Depth=1
xorpd %xmm1, %xmm1
LBB1_44: ## in Loop: Header=BB1_1 Depth=1
movsd 40(%rdi,%r8), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
divsd (%rdx,%r8), %xmm2
movsd %xmm2, 40(%rsi,%r8)
cmpq $144, %r8
je LBB1_32
## %bb.45: ## in Loop: Header=BB1_1 Depth=1
testq %r8, %r8
je LBB1_46
## %bb.47: ## in Loop: Header=BB1_1 Depth=1
movsd 80(%rsi,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rdx,%r9,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %r8
je LBB1_51
## %bb.48: ## in Loop: Header=BB1_1 Depth=1
movsd 88(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 40(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %r8
je LBB1_51
## %bb.49: ## in Loop: Header=BB1_1 Depth=1
movsd 96(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 80(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %r8
je LBB1_51
## %bb.50: ## in Loop: Header=BB1_1 Depth=1
movsd 104(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 120(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB1_51
LBB1_46: ## in Loop: Header=BB1_1 Depth=1
xorpd %xmm1, %xmm1
LBB1_51: ## in Loop: Header=BB1_1 Depth=1
movsd 80(%rdi,%r8), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
divsd (%rdx,%r8), %xmm2
movsd %xmm2, 80(%rsi,%r8)
cmpq $96, %r8
je LBB1_32
## %bb.52: ## in Loop: Header=BB1_1 Depth=1
testq %r8, %r8
je LBB1_53
## %bb.54: ## in Loop: Header=BB1_1 Depth=1
movsd 120(%rsi,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rdx,%r9,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %r8
je LBB1_58
## %bb.55: ## in Loop: Header=BB1_1 Depth=1
movsd 128(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 40(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %r8
je LBB1_58
## %bb.56: ## in Loop: Header=BB1_1 Depth=1
movsd 136(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 80(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %r8
je LBB1_58
## %bb.57: ## in Loop: Header=BB1_1 Depth=1
movsd 144(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 120(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB1_58
LBB1_53: ## in Loop: Header=BB1_1 Depth=1
xorpd %xmm1, %xmm1
LBB1_58: ## in Loop: Header=BB1_1 Depth=1
movsd 120(%rdi,%r8), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
divsd (%rdx,%r8), %xmm2
movsd %xmm2, 120(%rsi,%r8)
cmpq $48, %r8
je LBB1_32
## %bb.59: ## in Loop: Header=BB1_1 Depth=1
testq %r8, %r8
je LBB1_60
## %bb.61: ## in Loop: Header=BB1_1 Depth=1
movsd 160(%rsi,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd (%rdx,%r9,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %r8
je LBB1_65
## %bb.62: ## in Loop: Header=BB1_1 Depth=1
movsd 168(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 40(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %r8
je LBB1_65
## %bb.63: ## in Loop: Header=BB1_1 Depth=1
movsd 176(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 80(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %r8
je LBB1_65
## %bb.64: ## in Loop: Header=BB1_1 Depth=1
movsd 184(%rsi,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd 120(%rdx,%r9,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB1_65
LBB1_33:
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 $416, %rsp ## imm = 0x1A0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
xorpd %xmm0, %xmm0
movapd %xmm0, -32(%rbp)
movapd %xmm0, -48(%rbp)
movapd %xmm0, -64(%rbp)
movapd %xmm0, -80(%rbp)
movapd %xmm0, -96(%rbp)
movapd %xmm0, -112(%rbp)
movapd %xmm0, -128(%rbp)
movapd %xmm0, -144(%rbp)
movapd %xmm0, -160(%rbp)
movapd %xmm0, -176(%rbp)
movapd %xmm0, -192(%rbp)
movapd %xmm0, -208(%rbp)
movq $0, -16(%rbp)
movapd %xmm0, -240(%rbp)
movapd %xmm0, -256(%rbp)
movapd %xmm0, -272(%rbp)
movapd %xmm0, -288(%rbp)
movapd %xmm0, -304(%rbp)
movapd %xmm0, -320(%rbp)
movapd %xmm0, -336(%rbp)
movapd %xmm0, -352(%rbp)
movapd %xmm0, -368(%rbp)
movapd %xmm0, -384(%rbp)
movapd %xmm0, -400(%rbp)
movapd %xmm0, -416(%rbp)
movq $0, -224(%rbp)
xorl %eax, %eax
leaq l___const.main.A(%rip), %rcx
movabsq $4607182418800017408, %rdx ## imm = 0x3FF0000000000000
xorpd %xmm0, %xmm0
xorl %esi, %esi
xorl %edi, %edi
jmp LBB2_1
LBB2_61: ## in Loop: Header=BB2_1 Depth=1
xorpd %xmm1, %xmm1
LBB2_66: ## in Loop: Header=BB2_1 Depth=1
movsd 160(%rsi,%rcx), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
divsd -416(%rbp,%rsi), %xmm2
movsd %xmm2, -48(%rbp,%rsi)
.p2align 4, 0x90
LBB2_32: ## in Loop: Header=BB2_1 Depth=1
incq %rdi
addq $48, %rsi
addq $40, %rax
cmpq $240, %rsi
je LBB2_33
LBB2_1: ## =>This Inner Loop Header: Depth=1
xorpd %xmm1, %xmm1
testq %rsi, %rsi
je LBB2_2
## %bb.35: ## in Loop: Header=BB2_1 Depth=1
movsd -208(%rbp,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd -416(%rbp,%rdi,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %rsi
je LBB2_2
## %bb.36: ## in Loop: Header=BB2_1 Depth=1
movsd -200(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -376(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %rsi
je LBB2_2
## %bb.37: ## in Loop: Header=BB2_1 Depth=1
movsd -192(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -336(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %rsi
je LBB2_2
## %bb.38: ## in Loop: Header=BB2_1 Depth=1
movsd -184(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -296(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
.p2align 4, 0x90
LBB2_2: ## in Loop: Header=BB2_1 Depth=1
movsd (%rsi,%rcx), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
movsd %xmm2, -416(%rbp,%rsi)
cmpq $192, %rsi
je LBB2_31
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
testq %rsi, %rsi
je LBB2_4
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movsd -208(%rbp,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd -408(%rbp,%rdi,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %rsi
je LBB2_9
## %bb.6: ## in Loop: Header=BB2_1 Depth=1
movsd -200(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -368(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %rsi
je LBB2_9
## %bb.7: ## in Loop: Header=BB2_1 Depth=1
movsd -192(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -328(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %rsi
je LBB2_9
## %bb.8: ## in Loop: Header=BB2_1 Depth=1
movsd -184(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -288(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB2_9
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
xorpd %xmm1, %xmm1
LBB2_9: ## in Loop: Header=BB2_1 Depth=1
movsd 8(%rsi,%rcx), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
movsd %xmm2, -408(%rbp,%rsi)
cmpq $144, %rsi
je LBB2_31
## %bb.10: ## in Loop: Header=BB2_1 Depth=1
testq %rsi, %rsi
je LBB2_11
## %bb.12: ## in Loop: Header=BB2_1 Depth=1
movsd -208(%rbp,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd -400(%rbp,%rdi,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %rsi
je LBB2_16
## %bb.13: ## in Loop: Header=BB2_1 Depth=1
movsd -200(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -360(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %rsi
je LBB2_16
## %bb.14: ## in Loop: Header=BB2_1 Depth=1
movsd -192(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -320(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %rsi
je LBB2_16
## %bb.15: ## in Loop: Header=BB2_1 Depth=1
movsd -184(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -280(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB2_16
LBB2_11: ## in Loop: Header=BB2_1 Depth=1
xorpd %xmm1, %xmm1
LBB2_16: ## in Loop: Header=BB2_1 Depth=1
movsd 16(%rsi,%rcx), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
movsd %xmm2, -400(%rbp,%rsi)
cmpq $96, %rsi
je LBB2_31
## %bb.17: ## in Loop: Header=BB2_1 Depth=1
testq %rsi, %rsi
je LBB2_18
## %bb.19: ## in Loop: Header=BB2_1 Depth=1
movsd -208(%rbp,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd -392(%rbp,%rdi,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %rsi
je LBB2_23
## %bb.20: ## in Loop: Header=BB2_1 Depth=1
movsd -200(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -352(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %rsi
je LBB2_23
## %bb.21: ## in Loop: Header=BB2_1 Depth=1
movsd -192(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -312(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %rsi
je LBB2_23
## %bb.22: ## in Loop: Header=BB2_1 Depth=1
movsd -184(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -272(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB2_23
LBB2_18: ## in Loop: Header=BB2_1 Depth=1
xorpd %xmm1, %xmm1
LBB2_23: ## in Loop: Header=BB2_1 Depth=1
movsd 24(%rsi,%rcx), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
movsd %xmm2, -392(%rbp,%rsi)
cmpq $48, %rsi
je LBB2_31
## %bb.24: ## in Loop: Header=BB2_1 Depth=1
testq %rsi, %rsi
je LBB2_25
## %bb.26: ## in Loop: Header=BB2_1 Depth=1
movsd -208(%rbp,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd -384(%rbp,%rdi,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %rsi
je LBB2_30
## %bb.27: ## in Loop: Header=BB2_1 Depth=1
movsd -200(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -344(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %rsi
je LBB2_30
## %bb.28: ## in Loop: Header=BB2_1 Depth=1
movsd -192(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -304(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %rsi
je LBB2_30
## %bb.29: ## in Loop: Header=BB2_1 Depth=1
movsd -184(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -264(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB2_30
LBB2_25: ## in Loop: Header=BB2_1 Depth=1
xorpd %xmm1, %xmm1
LBB2_30: ## in Loop: Header=BB2_1 Depth=1
movsd 32(%rsi,%rcx), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
movsd %xmm2, -384(%rbp,%rsi)
.p2align 4, 0x90
LBB2_31: ## in Loop: Header=BB2_1 Depth=1
movq %rdx, -208(%rbp,%rsi)
cmpq $192, %rsi
je LBB2_32
## %bb.39: ## in Loop: Header=BB2_1 Depth=1
testq %rsi, %rsi
je LBB2_40
## %bb.41: ## in Loop: Header=BB2_1 Depth=1
movsd -168(%rbp,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd -416(%rbp,%rdi,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %rsi
je LBB2_45
## %bb.42: ## in Loop: Header=BB2_1 Depth=1
movsd -160(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -376(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %rsi
je LBB2_45
## %bb.43: ## in Loop: Header=BB2_1 Depth=1
movsd -152(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -336(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %rsi
je LBB2_45
## %bb.44: ## in Loop: Header=BB2_1 Depth=1
movsd -144(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -296(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB2_45
LBB2_40: ## in Loop: Header=BB2_1 Depth=1
xorpd %xmm1, %xmm1
LBB2_45: ## in Loop: Header=BB2_1 Depth=1
movsd 40(%rsi,%rcx), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
divsd -416(%rbp,%rsi), %xmm2
movsd %xmm2, -168(%rbp,%rsi)
cmpq $144, %rsi
je LBB2_32
## %bb.46: ## in Loop: Header=BB2_1 Depth=1
testq %rsi, %rsi
je LBB2_47
## %bb.48: ## in Loop: Header=BB2_1 Depth=1
movsd -128(%rbp,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd -416(%rbp,%rdi,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %rsi
je LBB2_52
## %bb.49: ## in Loop: Header=BB2_1 Depth=1
movsd -120(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -376(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %rsi
je LBB2_52
## %bb.50: ## in Loop: Header=BB2_1 Depth=1
movsd -112(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -336(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %rsi
je LBB2_52
## %bb.51: ## in Loop: Header=BB2_1 Depth=1
movsd -104(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -296(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB2_52
LBB2_47: ## in Loop: Header=BB2_1 Depth=1
xorpd %xmm1, %xmm1
LBB2_52: ## in Loop: Header=BB2_1 Depth=1
movsd 80(%rsi,%rcx), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
divsd -416(%rbp,%rsi), %xmm2
movsd %xmm2, -128(%rbp,%rsi)
cmpq $96, %rsi
je LBB2_32
## %bb.53: ## in Loop: Header=BB2_1 Depth=1
testq %rsi, %rsi
je LBB2_54
## %bb.55: ## in Loop: Header=BB2_1 Depth=1
movsd -88(%rbp,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd -416(%rbp,%rdi,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %rsi
je LBB2_59
## %bb.56: ## in Loop: Header=BB2_1 Depth=1
movsd -80(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -376(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %rsi
je LBB2_59
## %bb.57: ## in Loop: Header=BB2_1 Depth=1
movsd -72(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -336(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %rsi
je LBB2_59
## %bb.58: ## in Loop: Header=BB2_1 Depth=1
movsd -64(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -296(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB2_59
LBB2_54: ## in Loop: Header=BB2_1 Depth=1
xorpd %xmm1, %xmm1
LBB2_59: ## in Loop: Header=BB2_1 Depth=1
movsd 120(%rsi,%rcx), %xmm2 ## xmm2 = mem[0],zero
subsd %xmm1, %xmm2
divsd -416(%rbp,%rsi), %xmm2
movsd %xmm2, -88(%rbp,%rsi)
cmpq $48, %rsi
je LBB2_32
## %bb.60: ## in Loop: Header=BB2_1 Depth=1
testq %rsi, %rsi
je LBB2_61
## %bb.62: ## in Loop: Header=BB2_1 Depth=1
movsd -48(%rbp,%rax), %xmm1 ## xmm1 = mem[0],zero
mulsd -416(%rbp,%rdi,8), %xmm1
addsd %xmm0, %xmm1
cmpq $48, %rsi
je LBB2_66
## %bb.63: ## in Loop: Header=BB2_1 Depth=1
movsd -40(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -376(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $96, %rsi
je LBB2_66
## %bb.64: ## in Loop: Header=BB2_1 Depth=1
movsd -32(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -336(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
cmpq $144, %rsi
je LBB2_66
## %bb.65: ## in Loop: Header=BB2_1 Depth=1
movsd -24(%rbp,%rax), %xmm2 ## xmm2 = mem[0],zero
mulsd -296(%rbp,%rdi,8), %xmm2
addsd %xmm2, %xmm1
jmp LBB2_66
LBB2_33:
leaq L_.str.3(%rip), %rdi
leaq l___const.main.A(%rip), %rsi
callq _print_matrix
leaq L_.str.4(%rip), %rdi
leaq -208(%rbp), %rsi
callq _print_matrix
leaq L_.str.5(%rip), %rdi
leaq -416(%rbp), %rsi
callq _print_matrix
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -8(%rbp), %rax
jne LBB2_67
## %bb.34:
xorl %eax, %eax
addq $416, %rsp ## imm = 0x1A0
popq %rbp
retq
LBB2_67:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s =\n"
L_.str.1: ## @.str.1
.asciz "%8.4f "
L_.str.2: ## @.str.2
.asciz "\n"
.section __TEXT,__const
.p2align 4, 0x0 ## @__const.main.A
l___const.main.A:
.quad 0x4000000000000000 ## double 2
.quad 0xbff0000000000000 ## double -1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0xbff0000000000000 ## double -1
.quad 0x4000000000000000 ## double 2
.quad 0xbff0000000000000 ## double -1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0xbff0000000000000 ## double -1
.quad 0x4000000000000000 ## double 2
.quad 0xbff0000000000000 ## double -1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0xbff0000000000000 ## double -1
.quad 0x4000000000000000 ## double 2
.quad 0xbff0000000000000 ## double -1
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0x0000000000000000 ## double 0
.quad 0xbff0000000000000 ## double -1
.quad 0x4000000000000000 ## double 2
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "A"
L_.str.4: ## @.str.4
.asciz "L"
L_.str.5: ## @.str.5
.asciz "U"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _print_matrix ; -- Begin function print_matrix
.p2align 2
_print_matrix: ; @print_matrix
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
str x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
ldr d0, [x19]
str d0, [sp]
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #8]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #16]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #24]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #32]
str d0, [sp]
mov x0, x20
bl _libmin_printf
Lloh4:
adrp x21, l_.str.2@PAGE
Lloh5:
add x21, x21, l_.str.2@PAGEOFF
mov x0, x21
bl _libmin_printf
ldr d0, [x19, #40]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #48]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #56]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #64]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #72]
str d0, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x21
bl _libmin_printf
ldr d0, [x19, #80]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #88]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #96]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #104]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #112]
str d0, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x21
bl _libmin_printf
ldr d0, [x19, #120]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #128]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #136]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #144]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #152]
str d0, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x21
bl _libmin_printf
ldr d0, [x19, #160]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #168]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #176]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #184]
str d0, [sp]
mov x0, x20
bl _libmin_printf
ldr d0, [x19, #192]
str d0, [sp]
mov x0, x20
bl _libmin_printf
mov x0, x21
bl _libmin_printf
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _libmin_printf
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _lu_decomposition ; -- Begin function lu_decomposition
.p2align 2
_lu_decomposition: ; @lu_decomposition
.cfi_startproc
; %bb.0:
mov x8, #0 ; =0x0
add x9, x0, #80
mov w10, #80 ; =0x50
mov x11, #4607182418800017408 ; =0x3ff0000000000000
movi d0, #0000000000000000
mov x12, x1
b LBB1_4
LBB1_1: ; in Loop: Header=BB1_4 Depth=1
movi d1, #0000000000000000
LBB1_2: ; in Loop: Header=BB1_4 Depth=1
add x13, x9, x8
ldr d2, [x13, #80]
fsub d1, d2, d1
ldr d2, [x2, x8]
fdiv d1, d1, d2
add x13, x1, x8
str d1, [x13, #160]
LBB1_3: ; in Loop: Header=BB1_4 Depth=1
add x8, x8, #48
add x10, x10, #8
add x12, x12, #40
cmp x8, #240
b.eq LBB1_65
LBB1_4: ; =>This Inner Loop Header: Depth=1
movi d1, #0000000000000000
cbz x8, LBB1_9
; %bb.5: ; in Loop: Header=BB1_4 Depth=1
ldr d1, [x12]
add x13, x2, x10
ldur d2, [x13, #-80]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB1_9
; %bb.6: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #8]
ldur d3, [x13, #-40]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB1_9
; %bb.7: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #16]
ldr d3, [x2, x10]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB1_9
; %bb.8: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #24]
add x13, x2, x10
ldr d3, [x13, #40]
fmadd d1, d2, d3, d1
LBB1_9: ; in Loop: Header=BB1_4 Depth=1
add x13, x9, x8
ldur d2, [x13, #-80]
fsub d1, d2, d1
str d1, [x2, x8]
cmp x8, #192
b.eq LBB1_38
; %bb.10: ; in Loop: Header=BB1_4 Depth=1
cbz x8, LBB1_15
; %bb.11: ; in Loop: Header=BB1_4 Depth=1
ldr d1, [x12]
add x13, x2, x10
ldur d2, [x13, #-72]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB1_16
; %bb.12: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #8]
ldur d3, [x13, #-32]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB1_16
; %bb.13: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #16]
add x13, x2, x10
ldr d3, [x13, #8]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB1_16
; %bb.14: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #24]
ldr d3, [x13, #48]
fmadd d1, d2, d3, d1
b LBB1_16
LBB1_15: ; in Loop: Header=BB1_4 Depth=1
movi d1, #0000000000000000
LBB1_16: ; in Loop: Header=BB1_4 Depth=1
add x13, x9, x8
ldur d2, [x13, #-72]
fsub d1, d2, d1
add x13, x2, x8
str d1, [x13, #8]
cmp x8, #144
b.eq LBB1_38
; %bb.17: ; in Loop: Header=BB1_4 Depth=1
cbz x8, LBB1_22
; %bb.18: ; in Loop: Header=BB1_4 Depth=1
ldr d1, [x12]
add x13, x2, x10
ldur d2, [x13, #-64]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB1_23
; %bb.19: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #8]
ldur d3, [x13, #-24]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB1_23
; %bb.20: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #16]
add x13, x2, x10
ldr d3, [x13, #16]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB1_23
; %bb.21: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #24]
ldr d3, [x13, #56]
fmadd d1, d2, d3, d1
b LBB1_23
LBB1_22: ; in Loop: Header=BB1_4 Depth=1
movi d1, #0000000000000000
LBB1_23: ; in Loop: Header=BB1_4 Depth=1
add x13, x9, x8
ldur d2, [x13, #-64]
fsub d1, d2, d1
add x13, x2, x8
str d1, [x13, #16]
cmp x8, #96
b.eq LBB1_38
; %bb.24: ; in Loop: Header=BB1_4 Depth=1
cbz x8, LBB1_29
; %bb.25: ; in Loop: Header=BB1_4 Depth=1
ldr d1, [x12]
add x13, x2, x10
ldur d2, [x13, #-56]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB1_30
; %bb.26: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #8]
ldur d3, [x13, #-16]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB1_30
; %bb.27: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #16]
add x13, x2, x10
ldr d3, [x13, #24]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB1_30
; %bb.28: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #24]
ldr d3, [x13, #64]
fmadd d1, d2, d3, d1
b LBB1_30
LBB1_29: ; in Loop: Header=BB1_4 Depth=1
movi d1, #0000000000000000
LBB1_30: ; in Loop: Header=BB1_4 Depth=1
add x13, x9, x8
ldur d2, [x13, #-56]
fsub d1, d2, d1
add x13, x2, x8
str d1, [x13, #24]
cmp x8, #48
b.eq LBB1_38
; %bb.31: ; in Loop: Header=BB1_4 Depth=1
cbz x8, LBB1_36
; %bb.32: ; in Loop: Header=BB1_4 Depth=1
ldr d1, [x12]
add x13, x2, x10
ldur d2, [x13, #-48]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB1_37
; %bb.33: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #8]
ldur d3, [x13, #-8]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB1_37
; %bb.34: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #16]
add x13, x2, x10
ldr d3, [x13, #32]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB1_37
; %bb.35: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #24]
ldr d3, [x13, #72]
fmadd d1, d2, d3, d1
b LBB1_37
LBB1_36: ; in Loop: Header=BB1_4 Depth=1
movi d1, #0000000000000000
LBB1_37: ; in Loop: Header=BB1_4 Depth=1
add x13, x9, x8
ldur d2, [x13, #-48]
fsub d1, d2, d1
add x13, x2, x8
str d1, [x13, #32]
LBB1_38: ; in Loop: Header=BB1_4 Depth=1
str x11, [x1, x8]
cmp x8, #192
b.eq LBB1_3
; %bb.39: ; in Loop: Header=BB1_4 Depth=1
cbz x8, LBB1_44
; %bb.40: ; in Loop: Header=BB1_4 Depth=1
ldr d1, [x12, #40]
add x13, x2, x10
ldur d2, [x13, #-80]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB1_45
; %bb.41: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #48]
ldur d3, [x13, #-40]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB1_45
; %bb.42: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #56]
ldr d3, [x2, x10]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB1_45
; %bb.43: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #64]
add x13, x2, x10
ldr d3, [x13, #40]
fmadd d1, d2, d3, d1
b LBB1_45
LBB1_44: ; in Loop: Header=BB1_4 Depth=1
movi d1, #0000000000000000
LBB1_45: ; in Loop: Header=BB1_4 Depth=1
add x13, x9, x8
ldur d2, [x13, #-40]
fsub d1, d2, d1
ldr d2, [x2, x8]
fdiv d1, d1, d2
add x13, x1, x8
str d1, [x13, #40]
cmp x8, #144
b.eq LBB1_3
; %bb.46: ; in Loop: Header=BB1_4 Depth=1
cbz x8, LBB1_51
; %bb.47: ; in Loop: Header=BB1_4 Depth=1
ldr d1, [x12, #80]
add x13, x2, x10
ldur d2, [x13, #-80]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB1_52
; %bb.48: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #88]
ldur d3, [x13, #-40]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB1_52
; %bb.49: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #96]
ldr d3, [x2, x10]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB1_52
; %bb.50: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #104]
add x13, x2, x10
ldr d3, [x13, #40]
fmadd d1, d2, d3, d1
b LBB1_52
LBB1_51: ; in Loop: Header=BB1_4 Depth=1
movi d1, #0000000000000000
LBB1_52: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x9, x8]
fsub d1, d2, d1
ldr d2, [x2, x8]
fdiv d1, d1, d2
add x13, x1, x8
str d1, [x13, #80]
cmp x8, #96
b.eq LBB1_3
; %bb.53: ; in Loop: Header=BB1_4 Depth=1
cbz x8, LBB1_58
; %bb.54: ; in Loop: Header=BB1_4 Depth=1
ldr d1, [x12, #120]
add x13, x2, x10
ldur d2, [x13, #-80]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB1_59
; %bb.55: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #128]
ldur d3, [x13, #-40]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB1_59
; %bb.56: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #136]
ldr d3, [x2, x10]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB1_59
; %bb.57: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #144]
add x13, x2, x10
ldr d3, [x13, #40]
fmadd d1, d2, d3, d1
b LBB1_59
LBB1_58: ; in Loop: Header=BB1_4 Depth=1
movi d1, #0000000000000000
LBB1_59: ; in Loop: Header=BB1_4 Depth=1
add x13, x9, x8
ldr d2, [x13, #40]
fsub d1, d2, d1
ldr d2, [x2, x8]
fdiv d1, d1, d2
add x13, x1, x8
str d1, [x13, #120]
cmp x8, #48
b.eq LBB1_3
; %bb.60: ; in Loop: Header=BB1_4 Depth=1
cbz x8, LBB1_1
; %bb.61: ; in Loop: Header=BB1_4 Depth=1
ldr d1, [x12, #160]
add x13, x2, x10
ldur d2, [x13, #-80]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB1_2
; %bb.62: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #168]
ldur d3, [x13, #-40]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB1_2
; %bb.63: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #176]
ldr d3, [x2, x10]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB1_2
; %bb.64: ; in Loop: Header=BB1_4 Depth=1
ldr d2, [x12, #184]
add x13, x2, x10
ldr d3, [x13, #40]
fmadd d1, d2, d3, d1
b LBB1_2
LBB1_65:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #448
stp x28, x27, [sp, #416] ; 16-byte Folded Spill
stp x29, x30, [sp, #432] ; 16-byte Folded Spill
add x29, sp, #432
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
mov x8, #0 ; =0x0
Lloh6:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh7:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
stur x9, [x29, #-24]
str xzr, [sp, #400]
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #368]
stp q0, q0, [sp, #336]
stp q0, q0, [sp, #304]
stp q0, q0, [sp, #272]
stp q0, q0, [sp, #240]
stp q0, q0, [sp, #208]
stp q0, q0, [sp, #160]
stp q0, q0, [sp, #128]
stp q0, q0, [sp, #96]
stp q0, q0, [sp, #64]
stp q0, q0, [sp, #32]
mov w9, #80 ; =0x50
mov w10, #96 ; =0x60
Lloh9:
adrp x11, l___const.main.A@PAGE
Lloh10:
add x11, x11, l___const.main.A@PAGEOFF
stp q0, q0, [sp]
mov x12, sp
add x13, sp, #208
mov x14, #4607182418800017408 ; =0x3ff0000000000000
movi d0, #0000000000000000
str xzr, [sp, #192]
b LBB2_4
LBB2_1: ; in Loop: Header=BB2_4 Depth=1
movi d1, #0000000000000000
LBB2_2: ; in Loop: Header=BB2_4 Depth=1
add x15, x11, x8
ldr d2, [x15, #160]
fsub d1, d2, d1
ldr d2, [x12, x8]
fdiv d1, d1, d2
add x15, x13, x8
str d1, [x15, #160]
LBB2_3: ; in Loop: Header=BB2_4 Depth=1
add x8, x8, #48
add x9, x9, #8
add x10, x10, #40
cmp x8, #240
b.eq LBB2_65
LBB2_4: ; =>This Inner Loop Header: Depth=1
movi d1, #0000000000000000
cbz x8, LBB2_9
; %bb.5: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d1, [x15, #-96]
add x16, x12, x9
ldur d2, [x16, #-80]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB2_9
; %bb.6: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-88]
ldur d3, [x16, #-40]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB2_9
; %bb.7: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d2, [x15, #-80]
ldr d3, [x12, x9]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB2_9
; %bb.8: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-72]
add x15, x12, x9
ldr d3, [x15, #40]
fmadd d1, d2, d3, d1
LBB2_9: ; in Loop: Header=BB2_4 Depth=1
ldr d2, [x11, x8]
fsub d1, d2, d1
str d1, [x12, x8]
cmp x8, #192
b.eq LBB2_38
; %bb.10: ; in Loop: Header=BB2_4 Depth=1
cbz x8, LBB2_15
; %bb.11: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d1, [x15, #-96]
add x16, x12, x9
ldur d2, [x16, #-72]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB2_16
; %bb.12: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-88]
ldur d3, [x16, #-32]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB2_16
; %bb.13: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d2, [x15, #-80]
add x16, x12, x9
ldr d3, [x16, #8]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB2_16
; %bb.14: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-72]
ldr d3, [x16, #48]
fmadd d1, d2, d3, d1
b LBB2_16
LBB2_15: ; in Loop: Header=BB2_4 Depth=1
movi d1, #0000000000000000
LBB2_16: ; in Loop: Header=BB2_4 Depth=1
add x15, x11, x8
ldr d2, [x15, #8]
fsub d1, d2, d1
add x15, x12, x8
str d1, [x15, #8]
cmp x8, #144
b.eq LBB2_38
; %bb.17: ; in Loop: Header=BB2_4 Depth=1
cbz x8, LBB2_22
; %bb.18: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d1, [x15, #-96]
add x16, x12, x9
ldur d2, [x16, #-64]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB2_23
; %bb.19: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-88]
ldur d3, [x16, #-24]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB2_23
; %bb.20: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d2, [x15, #-80]
add x16, x12, x9
ldr d3, [x16, #16]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB2_23
; %bb.21: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-72]
ldr d3, [x16, #56]
fmadd d1, d2, d3, d1
b LBB2_23
LBB2_22: ; in Loop: Header=BB2_4 Depth=1
movi d1, #0000000000000000
LBB2_23: ; in Loop: Header=BB2_4 Depth=1
add x15, x11, x8
ldr d2, [x15, #16]
fsub d1, d2, d1
add x15, x12, x8
str d1, [x15, #16]
cmp x8, #96
b.eq LBB2_38
; %bb.24: ; in Loop: Header=BB2_4 Depth=1
cbz x8, LBB2_29
; %bb.25: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d1, [x15, #-96]
add x16, x12, x9
ldur d2, [x16, #-56]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB2_30
; %bb.26: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-88]
ldur d3, [x16, #-16]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB2_30
; %bb.27: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d2, [x15, #-80]
add x16, x12, x9
ldr d3, [x16, #24]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB2_30
; %bb.28: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-72]
ldr d3, [x16, #64]
fmadd d1, d2, d3, d1
b LBB2_30
LBB2_29: ; in Loop: Header=BB2_4 Depth=1
movi d1, #0000000000000000
LBB2_30: ; in Loop: Header=BB2_4 Depth=1
add x15, x11, x8
ldr d2, [x15, #24]
fsub d1, d2, d1
add x15, x12, x8
str d1, [x15, #24]
cmp x8, #48
b.eq LBB2_38
; %bb.31: ; in Loop: Header=BB2_4 Depth=1
cbz x8, LBB2_36
; %bb.32: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d1, [x15, #-96]
add x16, x12, x9
ldur d2, [x16, #-48]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB2_37
; %bb.33: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-88]
ldur d3, [x16, #-8]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB2_37
; %bb.34: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d2, [x15, #-80]
add x16, x12, x9
ldr d3, [x16, #32]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB2_37
; %bb.35: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-72]
ldr d3, [x16, #72]
fmadd d1, d2, d3, d1
b LBB2_37
LBB2_36: ; in Loop: Header=BB2_4 Depth=1
movi d1, #0000000000000000
LBB2_37: ; in Loop: Header=BB2_4 Depth=1
add x15, x11, x8
ldr d2, [x15, #32]
fsub d1, d2, d1
add x15, x12, x8
str d1, [x15, #32]
LBB2_38: ; in Loop: Header=BB2_4 Depth=1
str x14, [x13, x8]
cmp x8, #192
b.eq LBB2_3
; %bb.39: ; in Loop: Header=BB2_4 Depth=1
cbz x8, LBB2_44
; %bb.40: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d1, [x15, #-56]
add x16, x12, x9
ldur d2, [x16, #-80]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB2_45
; %bb.41: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-48]
ldur d3, [x16, #-40]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB2_45
; %bb.42: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d2, [x15, #-40]
ldr d3, [x12, x9]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB2_45
; %bb.43: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-32]
add x15, x12, x9
ldr d3, [x15, #40]
fmadd d1, d2, d3, d1
b LBB2_45
LBB2_44: ; in Loop: Header=BB2_4 Depth=1
movi d1, #0000000000000000
LBB2_45: ; in Loop: Header=BB2_4 Depth=1
add x15, x11, x8
ldr d2, [x15, #40]
fsub d1, d2, d1
ldr d2, [x12, x8]
fdiv d1, d1, d2
add x15, x13, x8
str d1, [x15, #40]
cmp x8, #144
b.eq LBB2_3
; %bb.46: ; in Loop: Header=BB2_4 Depth=1
cbz x8, LBB2_51
; %bb.47: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldur d1, [x15, #-16]
add x16, x12, x9
ldur d2, [x16, #-80]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB2_52
; %bb.48: ; in Loop: Header=BB2_4 Depth=1
ldur d2, [x15, #-8]
ldur d3, [x16, #-40]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB2_52
; %bb.49: ; in Loop: Header=BB2_4 Depth=1
ldr d2, [x13, x10]
ldr d3, [x12, x9]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB2_52
; %bb.50: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldr d2, [x15, #8]
add x15, x12, x9
ldr d3, [x15, #40]
fmadd d1, d2, d3, d1
b LBB2_52
LBB2_51: ; in Loop: Header=BB2_4 Depth=1
movi d1, #0000000000000000
LBB2_52: ; in Loop: Header=BB2_4 Depth=1
add x15, x11, x8
ldr d2, [x15, #80]
fsub d1, d2, d1
ldr d2, [x12, x8]
fdiv d1, d1, d2
add x15, x13, x8
str d1, [x15, #80]
cmp x8, #96
b.eq LBB2_3
; %bb.53: ; in Loop: Header=BB2_4 Depth=1
cbz x8, LBB2_58
; %bb.54: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldr d1, [x15, #24]
add x16, x12, x9
ldur d2, [x16, #-80]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB2_59
; %bb.55: ; in Loop: Header=BB2_4 Depth=1
ldr d2, [x15, #32]
ldur d3, [x16, #-40]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB2_59
; %bb.56: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldr d2, [x15, #40]
ldr d3, [x12, x9]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB2_59
; %bb.57: ; in Loop: Header=BB2_4 Depth=1
ldr d2, [x15, #48]
add x15, x12, x9
ldr d3, [x15, #40]
fmadd d1, d2, d3, d1
b LBB2_59
LBB2_58: ; in Loop: Header=BB2_4 Depth=1
movi d1, #0000000000000000
LBB2_59: ; in Loop: Header=BB2_4 Depth=1
add x15, x11, x8
ldr d2, [x15, #120]
fsub d1, d2, d1
ldr d2, [x12, x8]
fdiv d1, d1, d2
add x15, x13, x8
str d1, [x15, #120]
cmp x8, #48
b.eq LBB2_3
; %bb.60: ; in Loop: Header=BB2_4 Depth=1
cbz x8, LBB2_1
; %bb.61: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldr d1, [x15, #64]
add x16, x12, x9
ldur d2, [x16, #-80]
fmadd d1, d1, d2, d0
cmp x8, #48
b.eq LBB2_2
; %bb.62: ; in Loop: Header=BB2_4 Depth=1
ldr d2, [x15, #72]
ldur d3, [x16, #-40]
fmadd d1, d2, d3, d1
cmp x8, #96
b.eq LBB2_2
; %bb.63: ; in Loop: Header=BB2_4 Depth=1
add x15, x13, x10
ldr d2, [x15, #80]
ldr d3, [x12, x9]
fmadd d1, d2, d3, d1
cmp x8, #144
b.eq LBB2_2
; %bb.64: ; in Loop: Header=BB2_4 Depth=1
ldr d2, [x15, #88]
add x15, x12, x9
ldr d3, [x15, #40]
fmadd d1, d2, d3, d1
b LBB2_2
LBB2_65:
Lloh11:
adrp x0, l_.str.3@PAGE
Lloh12:
add x0, x0, l_.str.3@PAGEOFF
Lloh13:
adrp x1, l___const.main.A@PAGE
Lloh14:
add x1, x1, l___const.main.A@PAGEOFF
bl _print_matrix
Lloh15:
adrp x0, l_.str.4@PAGE
Lloh16:
add x0, x0, l_.str.4@PAGEOFF
add x1, sp, #208
bl _print_matrix
Lloh17:
adrp x0, l_.str.5@PAGE
Lloh18:
add x0, x0, l_.str.5@PAGEOFF
mov x1, sp
bl _print_matrix
bl _libmin_success
ldur x8, [x29, #-24]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_67
; %bb.66:
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #432] ; 16-byte Folded Reload
ldp x28, x27, [sp, #416] ; 16-byte Folded Reload
add sp, sp, #448
ret
LBB2_67:
bl ___stack_chk_fail
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s =\n"
l_.str.1: ; @.str.1
.asciz "%8.4f "
l_.str.2: ; @.str.2
.asciz "\n"
.section __TEXT,__const
.p2align 3, 0x0 ; @__const.main.A
l___const.main.A:
.quad 0x4000000000000000 ; double 2
.quad 0xbff0000000000000 ; double -1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0xbff0000000000000 ; double -1
.quad 0x4000000000000000 ; double 2
.quad 0xbff0000000000000 ; double -1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0xbff0000000000000 ; double -1
.quad 0x4000000000000000 ; double 2
.quad 0xbff0000000000000 ; double -1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0xbff0000000000000 ; double -1
.quad 0x4000000000000000 ; double 2
.quad 0xbff0000000000000 ; double -1
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0x0000000000000000 ; double 0
.quad 0xbff0000000000000 ; double -1
.quad 0x4000000000000000 ; double 2
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "A"
l_.str.4: ; @.str.4
.asciz "L"
l_.str.5: ; @.str.5
.asciz "U"
.subsections_via_symbols
|
boyer-moore-search.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _badCharHeuristic ## -- Begin function badCharHeuristic
.p2align 4, 0x90
_badCharHeuristic: ## @badCharHeuristic
.cfi_startproc
## %bb.0:
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
movl %esi, %r15d
movq %rdi, %r14
movl $1024, %edx ## imm = 0x400
movq %rbx, %rdi
movl $255, %esi
callq _memset
testl %r15d, %r15d
jle LBB0_5
## %bb.1:
movl %r15d, %edx
movl %edx, %eax
andl $3, %eax
cmpl $4, %r15d
jae LBB0_6
## %bb.2:
xorl %ecx, %ecx
jmp LBB0_3
LBB0_6:
andl $-4, %edx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movsbq (%r14,%rcx), %rsi
movl %ecx, (%rbx,%rsi,4)
movsbq 1(%r14,%rcx), %rsi
leal 1(%rcx), %edi
movl %edi, (%rbx,%rsi,4)
movsbq 2(%r14,%rcx), %rsi
leal 2(%rcx), %edi
movl %edi, (%rbx,%rsi,4)
movsbq 3(%r14,%rcx), %rsi
leal 3(%rcx), %edi
movl %edi, (%rbx,%rsi,4)
addq $4, %rcx
cmpq %rdx, %rcx
jne LBB0_7
LBB0_3:
testq %rax, %rax
je LBB0_5
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movsbq (%r14,%rcx), %rdx
movl %ecx, (%rbx,%rdx,4)
incq %rcx
decq %rax
jne LBB0_4
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _search ## -- Begin function search
.p2align 4, 0x90
_search: ## @search
.cfi_startproc
## %bb.0:
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 $1048, %rsp ## imm = 0x418
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, -1080(%rbp) ## 8-byte Spill
movl %ecx, %r14d
movq %rdx, %r15
movl %esi, %r12d
movq %rdi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq -1072(%rbp), %rdi
movl $1024, %edx ## imm = 0x400
movl $255, %esi
callq _memset
testl %r14d, %r14d
jle LBB1_7
## %bb.1:
movl %r14d, %edx
movl %edx, %eax
andl $3, %eax
cmpl $4, %r14d
jae LBB1_3
## %bb.2:
xorl %ecx, %ecx
jmp LBB1_5
LBB1_3:
andl $-4, %edx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
movsbq (%r15,%rcx), %rsi
movl %ecx, -1072(%rbp,%rsi,4)
movsbq 1(%r15,%rcx), %rsi
leal 1(%rcx), %edi
movl %edi, -1072(%rbp,%rsi,4)
movsbq 2(%r15,%rcx), %rsi
leal 2(%rcx), %edi
movl %edi, -1072(%rbp,%rsi,4)
movsbq 3(%r15,%rcx), %rsi
leal 3(%rcx), %edi
movl %edi, -1072(%rbp,%rsi,4)
addq $4, %rcx
cmpq %rdx, %rcx
jne LBB1_4
LBB1_5:
testq %rax, %rax
je LBB1_7
.p2align 4, 0x90
LBB1_6: ## =>This Inner Loop Header: Depth=1
movsbq (%r15,%rcx), %rdx
movl %ecx, -1072(%rbp,%rdx,4)
incq %rcx
decq %rax
jne LBB1_6
LBB1_7:
movl %r12d, %eax
subl %r14d, %eax
js LBB1_17
## %bb.8:
movslq %r14d, %rcx
leaq -1(%r13), %rdx
xorl %esi, %esi
xorl %r8d, %r8d
.p2align 4, 0x90
LBB1_9: ## =>This Loop Header: Depth=1
## Child Loop BB1_10 Depth 2
movslq %esi, %r10
leaq (%rdx,%r10), %r11
movq %rcx, %r9
.p2align 4, 0x90
LBB1_10: ## Parent Loop BB1_9 Depth=1
## => This Inner Loop Header: Depth=2
testq %r9, %r9
jle LBB1_13
## %bb.11: ## in Loop: Header=BB1_10 Depth=2
leaq -1(%r9), %rdi
movl %edi, %ebx
movzbl (%r15,%rbx), %ebx
cmpb (%r11,%r9), %bl
movq %rdi, %r9
je LBB1_10
## %bb.12: ## in Loop: Header=BB1_9 Depth=1
leal (%rsi,%rdi), %r9d
movslq %r9d, %r9
movsbq (%r13,%r9), %r9
movl -1072(%rbp,%r9,4), %r9d
subl %r9d, %edi
cmpl $2, %edi
movl $1, %r9d
cmovll %r9d, %edi
jmp LBB1_15
.p2align 4, 0x90
LBB1_13: ## in Loop: Header=BB1_9 Depth=1
movq -1080(%rbp), %rdi ## 8-byte Reload
movl $1, (%rdi,%r10,4)
addl %r14d, %r10d
movl $1, %edi
cmpl %r12d, %r10d
jge LBB1_15
## %bb.14: ## in Loop: Header=BB1_9 Depth=1
movslq %r10d, %rdi
movsbq (%r13,%rdi), %r9
movl %r14d, %edi
subl -1072(%rbp,%r9,4), %edi
LBB1_15: ## in Loop: Header=BB1_9 Depth=1
cmpl %eax, %r8d
jge LBB1_17
## %bb.16: ## in Loop: Header=BB1_9 Depth=1
addl %edi, %esi
incl %r8d
cmpl %eax, %esi
jle LBB1_9
LBB1_17:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB1_19
## %bb.18:
addq $1048, %rsp ## imm = 0x418
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_19:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $1048, %rsp ## imm = 0x418
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq _inp_txt(%rip), %rdi
callq _libmin_strlen
movq %rax, %r14
leaq _inp_pat(%rip), %rdi
callq _libmin_strlen
movq %rax, %r15
leaq L_.str(%rip), %rdi
movl %r14d, %esi
movl %r15d, %edx
xorl %eax, %eax
callq _libmin_printf
movl %r14d, %ebx
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
testl %r14d, %r14d
jle LBB2_2
## %bb.1:
leaq _inp_txt(%rip), %rsi
movq %r12, %rdi
movq %rbx, %rdx
callq _memcpy
LBB2_2:
movq %r14, -1080(%rbp) ## 8-byte Spill
movq %rbx, -1088(%rbp) ## 8-byte Spill
movl %r15d, %ebx
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
testl %r15d, %r15d
jle LBB2_4
## %bb.3:
leaq _inp_pat(%rip), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq _memcpy
LBB2_4:
movq -1088(%rbp), %rax ## 8-byte Reload
leaq (,%rax,4), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
movq -1080(%rbp), %rax ## 8-byte Reload
testl %eax, %eax
jle LBB2_6
## %bb.5:
movl %eax, %esi
shlq $2, %rsi
movq %r13, %rdi
callq ___bzero
LBB2_6:
leaq -1072(%rbp), %rdi
movl $1024, %edx ## imm = 0x400
movl $255, %esi
callq _memset
testl %r15d, %r15d
jle LBB2_13
## %bb.7:
leaq -1(%rbx), %rcx
movl %r15d, %eax
andl $3, %eax
cmpq $3, %rcx
jae LBB2_9
## %bb.8:
xorl %ecx, %ecx
jmp LBB2_11
LBB2_9:
subq %rax, %rbx
xorl %ecx, %ecx
.p2align 4, 0x90
LBB2_10: ## =>This Inner Loop Header: Depth=1
movsbq (%r14,%rcx), %rdx
movl %ecx, -1072(%rbp,%rdx,4)
movsbq 1(%r14,%rcx), %rdx
leal 1(%rcx), %esi
movl %esi, -1072(%rbp,%rdx,4)
movsbq 2(%r14,%rcx), %rdx
leal 2(%rcx), %esi
movl %esi, -1072(%rbp,%rdx,4)
movsbq 3(%r14,%rcx), %rdx
leal 3(%rcx), %esi
movl %esi, -1072(%rbp,%rdx,4)
addq $4, %rcx
cmpq %rbx, %rcx
jne LBB2_10
LBB2_11:
testq %rax, %rax
je LBB2_13
.p2align 4, 0x90
LBB2_12: ## =>This Inner Loop Header: Depth=1
movsbq (%r14,%rcx), %rdx
movl %ecx, -1072(%rbp,%rdx,4)
incq %rcx
decq %rax
jne LBB2_12
LBB2_13:
movq -1080(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax
subl %r15d, %eax
js LBB2_23
## %bb.14:
movslq %r15d, %rcx
decq %rcx
xorl %edx, %edx
xorl %edi, %edi
.p2align 4, 0x90
LBB2_15: ## =>This Loop Header: Depth=1
## Child Loop BB2_16 Depth 2
movslq %edx, %r9
leaq (%r12,%r9), %r10
movq %rcx, %r11
movl %r15d, %r8d
.p2align 4, 0x90
LBB2_16: ## Parent Loop BB2_15 Depth=1
## => This Inner Loop Header: Depth=2
leaq 1(%r11), %rbx
testq %rbx, %rbx
jle LBB2_19
## %bb.17: ## in Loop: Header=BB2_16 Depth=2
movl %r11d, %ebx
movzbl (%r14,%rbx), %ebx
decl %r8d
leaq -1(%r11), %rsi
cmpb (%r10,%r11), %bl
movq %rsi, %r11
je LBB2_16
## %bb.18: ## in Loop: Header=BB2_15 Depth=1
leal (%rdx,%r8), %esi
movslq %esi, %rsi
movsbq (%r12,%rsi), %rsi
subl -1072(%rbp,%rsi,4), %r8d
cmpl $2, %r8d
movl $1, %esi
cmovll %esi, %r8d
jmp LBB2_21
.p2align 4, 0x90
LBB2_19: ## in Loop: Header=BB2_15 Depth=1
movl $1, (%r13,%r9,4)
addl %r15d, %r9d
movl $1, %r8d
cmpl -1080(%rbp), %r9d ## 4-byte Folded Reload
jge LBB2_21
## %bb.20: ## in Loop: Header=BB2_15 Depth=1
movslq %r9d, %rsi
movsbq (%r12,%rsi), %rsi
movl %r15d, %r8d
subl -1072(%rbp,%rsi,4), %r8d
LBB2_21: ## in Loop: Header=BB2_15 Depth=1
cmpl %eax, %edi
jge LBB2_23
## %bb.22: ## in Loop: Header=BB2_15 Depth=1
addl %r8d, %edx
incl %edi
cmpl %eax, %edx
jle LBB2_15
LBB2_23:
cmpl $0, -1080(%rbp) ## 4-byte Folded Reload
movq -1088(%rbp), %r15 ## 8-byte Reload
jle LBB2_28
## %bb.24:
leaq L_.str.1(%rip), %rbx
xorl %r14d, %r14d
jmp LBB2_25
.p2align 4, 0x90
LBB2_27: ## in Loop: Header=BB2_25 Depth=1
incq %r14
cmpq %r14, %r15
je LBB2_28
LBB2_25: ## =>This Inner Loop Header: Depth=1
cmpl $0, (%r13,%r14,4)
je LBB2_27
## %bb.26: ## in Loop: Header=BB2_25 Depth=1
movq %rbx, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _libmin_printf
jmp LBB2_27
LBB2_28:
callq _libmin_success
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB2_30
## %bb.29:
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_30:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _inp_pat ## @inp_pat
.p2align 4, 0x0
_inp_pat:
.asciz "NzZVOzZXNoGXMl8yxesyY"
.globl _inp_txt ## @inp_txt
.p2align 4, 0x0
_inp_txt:
.asciz "zJfMus2WzLnMr82T4bmuzKTNjcylzYfNiGjMssyBZc2PzZPMvMyXzJnMvMyjzZQgzYfMnMyxzKDNk82NzZVOzZXNoGXMl8yxesyYzJ3MnMy6zZlwzKTMusy5zY3Mr82aZcygzLvMoM2ccsyozKTNjcy6zJbNlMyWzJZkzKDMn8ytzKzMnc2facymzZbMqc2TzZTMpGHMoMyXzKzNicyZbs2azZwgzLvMnsywzZrNhWjMtc2JacyzzJ52zKLNh+G4mc2OzZ8t0onMrcypzLzNlG3MpMytzKtpzZXNh8ydzKZuzJfNmeG4jcyfIMyvzLLNlc2ex6vMn8yvzLDMss2ZzLvMnWYgzKrMsMywzJfMlsytzJjNmGPMps2NzLLMns2NzKnMmeG4pc2aYcyuzY7Mn8yZzZzGocypzLnNjnPMpC7MncydINKJWsyhzJbMnM2WzLDMo82JzJxhzqwerty42ZbMsM2ZzKzNoWzMssyrzLPNjcypZ8yhzJ/MvMyxzZrMnsyszYVvzJfNnC7Mnw==zKZIzKzMpMyXzKTNnWXNnCDMnMylzJ3Mu82NzJ/MgXfMlWjMlsyvzZNvzJ3NmcyWzY7MscyuINKJzLrMmcyezJ/NiFfMt8y8zK1hzLrMqs2NxK/NiM2VzK3NmcyvzJx0zLbMvMyuc8yYzZnNlsyVIMygnMyWIMywzYnMqc2HzZnMss2ezYVUzZbMvM2TzKrNomjNj82TzK7Mu2XMrMydzJ/NhSDMpMy5zJ1X"
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "n = %d, m = %d\n"
L_.str.1: ## @.str.1
.asciz "pattern occurs at shift = %d\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _badCharHeuristic ; -- Begin function badCharHeuristic
.p2align 2
_badCharHeuristic: ; @badCharHeuristic
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x21, x1
mov x20, x0
mov x0, x2
mov w1, #255 ; =0xff
mov w2, #1024 ; =0x400
bl _memset
cmp w21, #1
b.lt LBB0_3
; %bb.1:
mov x8, #0 ; =0x0
mov w9, w21
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrsb x10, [x20, x8]
str w8, [x19, x10, lsl #2]
add x8, x8, #1
cmp x9, x8
b.ne LBB0_2
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
.globl _search ; -- Begin function search
.p2align 2
_search: ; @search
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
sub sp, sp, #1040
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x4
mov x20, x3
mov x21, x2
mov x22, x1
mov x23, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
add x0, sp, #8
mov w1, #255 ; =0xff
mov w2, #1024 ; =0x400
bl _memset
cmp w20, #1
b.lt LBB1_8
; %bb.1:
mov w8, w20
cmp w20, #4
b.hs LBB1_3
; %bb.2:
mov x9, #0 ; =0x0
b LBB1_6
LBB1_3:
mov x10, #0 ; =0x0
and x9, x8, #0xfffffffc
add x11, sp, #8
LBB1_4: ; =>This Inner Loop Header: Depth=1
add w12, w10, #1
add w13, w10, #2
add w14, w10, #3
add x15, x21, x10
ldrsb x16, [x15]
ldrsb x17, [x15, #1]
ldrsb x0, [x15, #2]
ldrsb x15, [x15, #3]
str w10, [x11, x16, lsl #2]
str w12, [x11, x17, lsl #2]
str w13, [x11, x0, lsl #2]
str w14, [x11, x15, lsl #2]
add x10, x10, #4
cmp x9, x10
b.ne LBB1_4
; %bb.5:
cmp x9, x8
b.eq LBB1_8
LBB1_6:
add x10, sp, #8
LBB1_7: ; =>This Inner Loop Header: Depth=1
ldrsb x11, [x21, x9]
str w9, [x10, x11, lsl #2]
add x9, x9, #1
cmp x8, x9
b.ne LBB1_7
LBB1_8:
subs w8, w22, w20
b.mi LBB1_18
; %bb.9:
mov w13, #0 ; =0x0
mov w9, #0 ; =0x0
sxtw x10, w20
sub x11, x23, #1
add x12, sp, #8
LBB1_10: ; =>This Loop Header: Depth=1
; Child Loop BB1_11 Depth 2
sxtw x13, w13
add x15, x11, x13
mov x16, x10
LBB1_11: ; Parent Loop BB1_10 Depth=1
; => This Inner Loop Header: Depth=2
subs x14, x16, #1
b.lt LBB1_14
; %bb.12: ; in Loop: Header=BB1_11 Depth=2
ldrb w17, [x21, w14, uxtw]
ldrb w0, [x15, x16]
mov x16, x14
cmp w17, w0
b.eq LBB1_11
; %bb.13: ; in Loop: Header=BB1_10 Depth=1
add w15, w13, w14
ldrsb x15, [x23, w15, sxtw]
ldr w15, [x12, x15, lsl #2]
sub w14, w14, w15
cmp w14, #1
csinc w14, w14, wzr, gt
b LBB1_16
LBB1_14: ; in Loop: Header=BB1_10 Depth=1
mov w14, #1 ; =0x1
str w14, [x19, x13, lsl #2]
add x15, x13, w20, sxtw
cmp w15, w22
b.ge LBB1_16
; %bb.15: ; in Loop: Header=BB1_10 Depth=1
ldrsb x14, [x23, x15]
ldr w14, [x12, x14, lsl #2]
sub w14, w20, w14
LBB1_16: ; in Loop: Header=BB1_10 Depth=1
cmp w9, w8
b.ge LBB1_18
; %bb.17: ; in Loop: Header=BB1_10 Depth=1
add w9, w9, #1
add w13, w14, w13
cmp w13, w8
b.le LBB1_10
LBB1_18:
ldur x8, [x29, #-56]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_20
; %bb.19:
add sp, sp, #1040
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB1_20:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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
sub sp, sp, #1040
mov x19, sp
.cfi_def_cfa w29, 16
.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
Lloh6:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh7:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh9:
adrp x0, _inp_txt@PAGE
Lloh10:
add x0, x0, _inp_txt@PAGEOFF
bl _libmin_strlen
mov x21, x0
Lloh11:
adrp x0, _inp_pat@PAGE
Lloh12:
add x0, x0, _inp_pat@PAGEOFF
bl _libmin_strlen
mov x22, x0
stp x21, x0, [sp, #-16]!
Lloh13:
adrp x0, l_.str@PAGE
Lloh14:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
add sp, sp, #16
and x20, x21, #0xffffffff
mov x9, x20
Lloh15:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh16:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x20, #15
and x9, x9, #0x1fffffff0
sub x23, x8, x9
mov sp, x23
cmp w21, #1
b.lt LBB2_2
; %bb.1:
Lloh17:
adrp x1, _inp_txt@PAGE
Lloh18:
add x1, x1, _inp_txt@PAGEOFF
mov x0, x23
mov x2, x20
bl _memcpy
LBB2_2:
and x26, x22, #0xffffffff
mov x9, x26
Lloh19:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh20:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x26, #15
and x9, x9, #0x1fffffff0
sub x25, x8, x9
mov sp, x25
cmp w22, #1
b.lt LBB2_4
; %bb.3:
Lloh21:
adrp x1, _inp_pat@PAGE
Lloh22:
add x1, x1, _inp_pat@PAGEOFF
mov x0, x25
mov x2, x26
bl _memcpy
LBB2_4:
lsl x8, x20, #2
mov x9, x8
Lloh23:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh24:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x24, x9, x8
mov sp, x24
cmp w21, #1
b.lt LBB2_6
; %bb.5:
ubfiz x1, x21, #2, #32
mov x0, x24
bl _bzero
LBB2_6:
add x0, x19, #8
mov w1, #255 ; =0xff
mov w2, #1024 ; =0x400
bl _memset
cmp w22, #1
b.lt LBB2_14
; %bb.7:
cmp x26, #4
b.hs LBB2_9
; %bb.8:
mov x8, #0 ; =0x0
b LBB2_12
LBB2_9:
mov x10, #0 ; =0x0
and x9, x22, #0x3
sub x8, x26, x9
add x11, x19, #8
LBB2_10: ; =>This Inner Loop Header: Depth=1
add w12, w10, #1
add w13, w10, #2
add w14, w10, #3
add x15, x25, x10
ldrsb x16, [x15]
ldrsb x17, [x15, #1]
ldrsb x0, [x15, #2]
ldrsb x15, [x15, #3]
str w10, [x11, x16, lsl #2]
str w12, [x11, x17, lsl #2]
str w13, [x11, x0, lsl #2]
str w14, [x11, x15, lsl #2]
add x10, x10, #4
cmp x8, x10
b.ne LBB2_10
; %bb.11:
cbz x9, LBB2_14
LBB2_12:
add x9, x19, #8
LBB2_13: ; =>This Inner Loop Header: Depth=1
ldrsb x10, [x25, x8]
str w8, [x9, x10, lsl #2]
add x8, x8, #1
cmp x26, x8
b.ne LBB2_13
LBB2_14:
subs w8, w21, w22
b.mi LBB2_24
; %bb.15:
mov w12, #0 ; =0x0
mov w9, #0 ; =0x0
sxtw x10, w22
sub x10, x10, #1
add x11, x19, #8
LBB2_16: ; =>This Loop Header: Depth=1
; Child Loop BB2_17 Depth 2
sxtw x12, w12
add x14, x23, x12
mov x15, x10
mov x13, x22
LBB2_17: ; Parent Loop BB2_16 Depth=1
; => This Inner Loop Header: Depth=2
add x16, x15, #1
cmp x16, #1
b.lt LBB2_20
; %bb.18: ; in Loop: Header=BB2_17 Depth=2
ldrb w16, [x25, w15, uxtw]
ldrb w17, [x14, x15]
sub w13, w13, #1
sub x15, x15, #1
cmp w16, w17
b.eq LBB2_17
; %bb.19: ; in Loop: Header=BB2_16 Depth=1
add w14, w12, w13
ldrsb x14, [x23, w14, sxtw]
ldr w14, [x11, x14, lsl #2]
sub w13, w13, w14
cmp w13, #1
csinc w13, w13, wzr, gt
b LBB2_22
LBB2_20: ; in Loop: Header=BB2_16 Depth=1
mov w13, #1 ; =0x1
str w13, [x24, x12, lsl #2]
add x14, x12, w22, sxtw
cmp w14, w21
b.ge LBB2_22
; %bb.21: ; in Loop: Header=BB2_16 Depth=1
ldrsb x13, [x23, x14]
ldr w13, [x11, x13, lsl #2]
sub w13, w22, w13
LBB2_22: ; in Loop: Header=BB2_16 Depth=1
cmp w9, w8
b.ge LBB2_24
; %bb.23: ; in Loop: Header=BB2_16 Depth=1
add w9, w9, #1
add w12, w13, w12
cmp w12, w8
b.le LBB2_16
LBB2_24:
cmp w21, #1
b.lt LBB2_29
; %bb.25:
mov x22, #0 ; =0x0
Lloh25:
adrp x21, l_.str.1@PAGE
Lloh26:
add x21, x21, l_.str.1@PAGEOFF
b LBB2_27
LBB2_26: ; in Loop: Header=BB2_27 Depth=1
add x22, x22, #1
cmp x20, x22
b.eq LBB2_29
LBB2_27: ; =>This Inner Loop Header: Depth=1
ldr w8, [x24, x22, lsl #2]
cbz w8, LBB2_26
; %bb.28: ; in Loop: Header=BB2_27 Depth=1
str x22, [sp, #-16]!
mov x0, x21
bl _libmin_printf
add sp, sp, #16
b LBB2_26
LBB2_29:
bl _libmin_success
ldur x8, [x29, #-88]
Lloh27:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh28:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
cmp x9, x8
b.ne LBB2_31
; %bb.30:
mov w0, #0 ; =0x0
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
LBB2_31:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _inp_pat ; @inp_pat
_inp_pat:
.asciz "NzZVOzZXNoGXMl8yxesyY"
.globl _inp_txt ; @inp_txt
_inp_txt:
.asciz "zJfMus2WzLnMr82T4bmuzKTNjcylzYfNiGjMssyBZc2PzZPMvMyXzJnMvMyjzZQgzYfMnMyxzKDNk82NzZVOzZXNoGXMl8yxesyYzJ3MnMy6zZlwzKTMusy5zY3Mr82aZcygzLvMoM2ccsyozKTNjcy6zJbNlMyWzJZkzKDMn8ytzKzMnc2facymzZbMqc2TzZTMpGHMoMyXzKzNicyZbs2azZwgzLvMnsywzZrNhWjMtc2JacyzzJ52zKLNh+G4mc2OzZ8t0onMrcypzLzNlG3MpMytzKtpzZXNh8ydzKZuzJfNmeG4jcyfIMyvzLLNlc2ex6vMn8yvzLDMss2ZzLvMnWYgzKrMsMywzJfMlsytzJjNmGPMps2NzLLMns2NzKnMmeG4pc2aYcyuzY7Mn8yZzZzGocypzLnNjnPMpC7MncydINKJWsyhzJbMnM2WzLDMo82JzJxhzqwerty42ZbMsM2ZzKzNoWzMssyrzLPNjcypZ8yhzJ/MvMyxzZrMnsyszYVvzJfNnC7Mnw==zKZIzKzMpMyXzKTNnWXNnCDMnMylzJ3Mu82NzJ/MgXfMlWjMlsyvzZNvzJ3NmcyWzY7MscyuINKJzLrMmcyezJ/NiFfMt8y8zK1hzLrMqs2NxK/NiM2VzK3NmcyvzJx0zLbMvMyuc8yYzZnNlsyVIMygnMyWIMywzYnMqc2HzZnMss2ezYVUzZbMvM2TzKrNomjNj82TzK7Mu2XMrMydzJ/NhSDMpMy5zJ1X"
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "n = %d, m = %d\n"
l_.str.1: ; @.str.1
.asciz "pattern occurs at shift = %d\n"
.subsections_via_symbols
|
spirograph.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function spirograph
LCPI0_0:
.quad 0x400921fb54442d18 ## double 3.1415926535897931
LCPI0_3:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI0_1:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_2:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
LCPI0_4:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _spirograph
.p2align 4, 0x90
_spirograph: ## @spirograph
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $80, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movsd %xmm1, -64(%rbp) ## 8-byte Spill
testq %rdx, %rdx
je LBB0_3
## %bb.1:
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
addsd %xmm2, %xmm2
mulsd LCPI0_0(%rip), %xmm2
movq %rdx, %xmm3
punpckldq LCPI0_1(%rip), %xmm3 ## xmm3 = xmm3[0],mem[0],xmm3[1],mem[1]
subpd LCPI0_2(%rip), %xmm3
movapd %xmm3, %xmm1
unpckhpd %xmm3, %xmm1 ## xmm1 = xmm1[1],xmm3[1]
addsd %xmm3, %xmm1
divsd %xmm1, %xmm2
movsd %xmm2, -72(%rbp) ## 8-byte Spill
movsd LCPI0_3(%rip), %xmm2 ## xmm2 = mem[0],zero
movsd -64(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
subsd %xmm1, %xmm2
movsd %xmm2, -56(%rbp) ## 8-byte Spill
mulsd %xmm1, %xmm0
movapd LCPI0_4(%rip), %xmm1 ## xmm1 = [-0.0E+0,-0.0E+0]
movapd %xmm0, -112(%rbp) ## 16-byte Spill
xorpd %xmm0, %xmm1
movapd %xmm1, -96(%rbp) ## 16-byte Spill
xorpd %xmm0, %xmm0
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movsd %xmm0, -40(%rbp) ## 8-byte Spill
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_cos
movsd %xmm0, -48(%rbp) ## 8-byte Spill
movsd -56(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd -40(%rbp), %xmm0 ## 8-byte Folded Reload
divsd -64(%rbp), %xmm0 ## 8-byte Folded Reload
movsd %xmm0, -80(%rbp) ## 8-byte Spill
callq _libmin_cos
mulsd -112(%rbp), %xmm0 ## 16-byte Folded Reload
movsd -48(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd -56(%rbp), %xmm1 ## 8-byte Folded Reload
addsd %xmm0, %xmm1
movsd %xmm1, (%r15,%r12,8)
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_sin
movsd %xmm0, -48(%rbp) ## 8-byte Spill
movsd -80(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_sin
mulsd -96(%rbp), %xmm0 ## 16-byte Folded Reload
movsd -48(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd -56(%rbp), %xmm1 ## 8-byte Folded Reload
addsd %xmm0, %xmm1
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%r14,%r12,8)
incq %r12
addsd -72(%rbp), %xmm0 ## 8-byte Folded Reload
cmpq %r12, %rbx
jne LBB0_2
LBB0_3:
addq $80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function test
LCPI1_0:
.quad 0x3fd0000000000000 ## double 0.25
LCPI1_1:
.quad 0x3fe8000000000000 ## double 0.75
LCPI1_2:
.quad 0x3fcccccccccccccc ## double 0.22499999999999998
LCPI1_3:
.quad 0xbfcccccccccccccc ## double -0.22499999999999998
LCPI1_4:
.quad 0x3fc015bf9217271a ## double 0.12566370614359174
.section __TEXT,__text,regular,pure_instructions
.globl _test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $4000, %edi ## imm = 0xFA0
callq _libmin_malloc
movq %rax, %rbx
movl $4000, %edi ## imm = 0xFA0
callq _libmin_malloc
movq %rax, %r14
xorpd %xmm0, %xmm0
xorl %r15d, %r15d
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movsd %xmm0, -40(%rbp) ## 8-byte Spill
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_cos
movsd %xmm0, -48(%rbp) ## 8-byte Spill
movsd -40(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
movsd LCPI1_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm0, %xmm1
divsd LCPI1_1(%rip), %xmm1
movsd %xmm1, -56(%rbp) ## 8-byte Spill
movapd %xmm1, %xmm0
callq _libmin_cos
mulsd LCPI1_2(%rip), %xmm0
movsd -48(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd LCPI1_0(%rip), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rbx,%r15,8)
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_sin
movsd %xmm0, -48(%rbp) ## 8-byte Spill
movsd -56(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
callq _libmin_sin
mulsd LCPI1_3(%rip), %xmm0
movsd -48(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
mulsd LCPI1_0(%rip), %xmm1
addsd %xmm0, %xmm1
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm1, (%r14,%r15,8)
incq %r15
addsd LCPI1_4(%rip), %xmm0
cmpq $500, %r15 ## imm = 0x1F4
jne LBB1_1
## %bb.2:
xorl %r12d, %r12d
leaq L_.str(%rip), %r15
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
movsd (%rbx,%r12,8), %xmm0 ## xmm0 = mem[0],zero
movsd (%r14,%r12,8), %xmm1 ## xmm1 = mem[0],zero
movq %r15, %rdi
movb $2, %al
callq _libmin_printf
incq %r12
cmpq $500, %r12 ## imm = 0x1F4
jne LBB1_3
## %bb.4:
movq %rbx, %rdi
callq _libmin_free
movq %r14, %rdi
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _libmin_free ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _test
callq _libmin_success
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%.5lf, %.5lf\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _spirograph ; -- Begin function spirograph
.p2align 2
_spirograph: ; @spirograph
.cfi_startproc
; %bb.0:
cbz x2, LBB0_4
; %bb.1:
stp d15, d14, [sp, #-112]! ; 16-byte Folded Spill
stp d13, d12, [sp, #16] ; 16-byte Folded Spill
stp d11, d10, [sp, #32] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
.cfi_offset b10, -72
.cfi_offset b11, -80
.cfi_offset b12, -88
.cfi_offset b13, -96
.cfi_offset b14, -104
.cfi_offset b15, -112
mov x19, x2
fmov d8, d1
mov x20, x1
mov x21, x0
fadd d1, d2, d2
mov x8, #11544 ; =0x2d18
movk x8, #21572, lsl #16
movk x8, #8699, lsl #32
movk x8, #16393, lsl #48
fmov d2, x8
fmul d1, d1, d2
ucvtf d2, x2
fdiv d12, d1, d2
fmov d1, #1.00000000
fsub d13, d1, d8
fmul d14, d0, d8
fnmul d15, d0, d8
movi d9, #0000000000000000
LBB0_2: ; =>This Inner Loop Header: Depth=1
fmov d0, d9
bl _libmin_cos
fmov d10, d0
fmul d0, d13, d9
fdiv d11, d0, d8
fmov d0, d11
bl _libmin_cos
fmul d0, d14, d0
fmadd d0, d13, d10, d0
str d0, [x21], #8
fmov d0, d9
bl _libmin_sin
fmov d10, d0
fmov d0, d11
bl _libmin_sin
fmul d0, d0, d15
fmadd d0, d13, d10, d0
str d0, [x20], #8
fadd d9, d12, d9
subs x19, x19, #1
b.ne LBB0_2
; %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 d9, d8, [sp, #48] ; 16-byte Folded Reload
ldp d11, d10, [sp, #32] ; 16-byte Folded Reload
ldp d13, d12, [sp, #16] ; 16-byte Folded Reload
ldp d15, d14, [sp], #112 ; 16-byte Folded Reload
LBB0_4:
ret
.cfi_endproc
; -- End function
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp d13, d12, [sp, #16] ; 16-byte Folded Spill
stp d11, d10, [sp, #32] ; 16-byte Folded Spill
stp d9, d8, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset b8, -72
.cfi_offset b9, -80
.cfi_offset b10, -88
.cfi_offset b11, -96
.cfi_offset b12, -104
.cfi_offset b13, -112
mov w0, #4000 ; =0xfa0
bl _libmin_malloc
mov x19, x0
mov w0, #4000 ; =0xfa0
bl _libmin_malloc
mov x20, x0
mov x21, #0 ; =0x0
movi d8, #0000000000000000
fmov d11, #0.25000000
fmov d12, #0.75000000
mov x22, #-3689348814741910324 ; =0xcccccccccccccccc
movk x22, #16332, lsl #48
mov x23, #-3689348814741910324 ; =0xcccccccccccccccc
movk x23, #49100, lsl #48
mov x24, #10010 ; =0x271a
movk x24, #37399, lsl #16
movk x24, #5567, lsl #32
movk x24, #16320, lsl #48
LBB1_1: ; =>This Inner Loop Header: Depth=1
fmov d0, d8
bl _libmin_cos
fmov d9, d0
fmul d0, d8, d11
fdiv d10, d0, d12
fmov d0, d10
bl _libmin_cos
fmov d1, x22
fmul d0, d0, d1
fmadd d0, d9, d11, d0
str d0, [x19, x21]
fmov d0, d8
bl _libmin_sin
fmov d9, d0
fmov d0, d10
bl _libmin_sin
fmov d1, x23
fmul d0, d0, d1
fmadd d0, d9, d11, d0
str d0, [x20, x21]
fmov d0, x24
fadd d8, d8, d0
add x21, x21, #8
cmp x21, #4000
b.ne LBB1_1
; %bb.2:
mov x22, #0 ; =0x0
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr d0, [x19, x22]
ldr d1, [x20, x22]
stp d0, d1, [sp]
mov x0, x21
bl _libmin_printf
add x22, x22, #8
cmp x22, #4000
b.ne LBB1_3
; %bb.4:
mov x0, x19
bl _libmin_free
mov x0, x20
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
ldp d11, d10, [sp, #32] ; 16-byte Folded Reload
ldp d13, d12, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #128
b _libmin_free
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _test
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%.5lf, %.5lf\n"
.subsections_via_symbols
|
hanoi.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function main
LCPI0_0:
.long 0 ## 0x0
.long 1 ## 0x1
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_1:
.long 0 ## 0x0
.long 2 ## 0x2
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_2:
.long 0 ## 0x0
.long 3 ## 0x3
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_3:
.long 0 ## 0x0
.long 4 ## 0x4
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_4:
.long 0 ## 0x0
.long 5 ## 0x5
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_5:
.long 0 ## 0x0
.long 6 ## 0x6
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_6:
.long 0 ## 0x0
.long 7 ## 0x7
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_7:
.long 0 ## 0x0
.long 8 ## 0x8
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_8:
.long 0 ## 0x0
.long 9 ## 0x9
.long 0 ## 0x0
.long 0 ## 0x0
LCPI0_9:
.long 0 ## 0x0
.long 10 ## 0xa
.long 0 ## 0x0
.long 0 ## 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _libmin_printf
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [0,1,0,0]
movaps %xmm0, _num(%rip)
movq $0, _count(%rip)
movl $1, %edi
movl $1, %esi
movl $3, %edx
callq _mov
movq _count(%rip), %rdx
leaq L_.str.2(%rip), %rbx
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _libmin_printf
movaps LCPI0_1(%rip), %xmm0 ## xmm0 = [0,2,0,0]
movaps %xmm0, _num(%rip)
movq $0, _count(%rip)
movl $2, %edi
movl $1, %esi
movl $3, %edx
callq _mov
movq _count(%rip), %rdx
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _libmin_printf
movaps LCPI0_2(%rip), %xmm0 ## xmm0 = [0,3,0,0]
movaps %xmm0, _num(%rip)
movq $0, _count(%rip)
movl $3, %edi
movl $1, %esi
movl $3, %edx
callq _mov
movq _count(%rip), %rdx
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _libmin_printf
movaps LCPI0_3(%rip), %xmm0 ## xmm0 = [0,4,0,0]
movaps %xmm0, _num(%rip)
movq $0, _count(%rip)
movl $4, %edi
movl $1, %esi
movl $3, %edx
callq _mov
movq _count(%rip), %rdx
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _libmin_printf
movaps LCPI0_4(%rip), %xmm0 ## xmm0 = [0,5,0,0]
movaps %xmm0, _num(%rip)
movq $0, _count(%rip)
movl $5, %edi
movl $1, %esi
movl $3, %edx
callq _mov
movq _count(%rip), %rdx
movq %rbx, %rdi
movl $5, %esi
xorl %eax, %eax
callq _libmin_printf
movaps LCPI0_5(%rip), %xmm0 ## xmm0 = [0,6,0,0]
movaps %xmm0, _num(%rip)
movq $0, _count(%rip)
movl $6, %edi
movl $1, %esi
movl $3, %edx
callq _mov
movq _count(%rip), %rdx
movq %rbx, %rdi
movl $6, %esi
xorl %eax, %eax
callq _libmin_printf
movaps LCPI0_6(%rip), %xmm0 ## xmm0 = [0,7,0,0]
movaps %xmm0, _num(%rip)
movq $0, _count(%rip)
movl $7, %edi
movl $1, %esi
movl $3, %edx
callq _mov
movq _count(%rip), %rdx
movq %rbx, %rdi
movl $7, %esi
xorl %eax, %eax
callq _libmin_printf
movaps LCPI0_7(%rip), %xmm0 ## xmm0 = [0,8,0,0]
movaps %xmm0, _num(%rip)
movq $0, _count(%rip)
movl $8, %edi
movl $1, %esi
movl $3, %edx
callq _mov
movq _count(%rip), %rdx
movq %rbx, %rdi
movl $8, %esi
xorl %eax, %eax
callq _libmin_printf
movaps LCPI0_8(%rip), %xmm0 ## xmm0 = [0,9,0,0]
movaps %xmm0, _num(%rip)
movq $0, _count(%rip)
movl $9, %edi
movl $1, %esi
movl $3, %edx
callq _mov
movq _count(%rip), %rdx
movq %rbx, %rdi
movl $9, %esi
xorl %eax, %eax
callq _libmin_printf
movaps LCPI0_9(%rip), %xmm0 ## xmm0 = [0,10,0,0]
movaps %xmm0, _num(%rip)
movq $0, _count(%rip)
movl $10, %edi
movl $1, %esi
movl $3, %edx
callq _mov
movq _count(%rip), %rdx
movq %rbx, %rdi
movl $10, %esi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function mov
_mov: ## @mov
.cfi_startproc
## %bb.0:
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
## kill: def $edx killed $edx def $rdx
movq %rdx, -48(%rbp) ## 8-byte Spill
movl %esi, %ebx
cmpl $1, %edi
jne LBB1_3
## %bb.1:
movq _count(%rip), %rax
movslq -48(%rbp), %r14 ## 4-byte Folded Reload
jmp LBB1_2
LBB1_3:
movl %edi, %r15d
movslq -48(%rbp), %r14 ## 4-byte Folded Reload
decl %r15d
leaq _num(%rip), %r13
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
movl %ebx, %r12d
movq -48(%rbp), %rax ## 8-byte Reload
addl %r12d, %eax
movl $6, %ebx
subl %eax, %ebx
movl %r15d, %edi
movl %r12d, %esi
movl %ebx, %edx
callq _mov
movslq %r12d, %rax
decl (%r13,%rax,4)
incl (%r13,%r14,4)
movq _count(%rip), %rax
incq %rax
movq %rax, _count(%rip)
decl %r15d
jne LBB1_4
LBB1_2:
movslq %ebx, %rcx
leaq _num(%rip), %rdx
decl (%rdx,%rcx,4)
incl (%rdx,%r14,4)
incq %rax
movq %rax, _count(%rip)
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 "Towers of Hanoi Puzzle Test Program\n"
L_.str.1: ## @.str.1
.asciz "Disks Moves\n"
.zerofill __DATA,__bss,_num,16,4 ## @num
.zerofill __DATA,__bss,_count,8,3 ## @count
L_.str.2: ## @.str.2
.asciz "%3d %10ld\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ; -- Begin function main
lCPI0_0:
.long 0 ; 0x0
.long 1 ; 0x1
.long 0 ; 0x0
.long 0 ; 0x0
lCPI0_1:
.long 0 ; 0x0
.long 2 ; 0x2
.long 0 ; 0x0
.long 0 ; 0x0
lCPI0_2:
.long 0 ; 0x0
.long 3 ; 0x3
.long 0 ; 0x0
.long 0 ; 0x0
lCPI0_3:
.long 0 ; 0x0
.long 4 ; 0x4
.long 0 ; 0x0
.long 0 ; 0x0
lCPI0_4:
.long 0 ; 0x0
.long 5 ; 0x5
.long 0 ; 0x0
.long 0 ; 0x0
lCPI0_5:
.long 0 ; 0x0
.long 6 ; 0x6
.long 0 ; 0x0
.long 0 ; 0x0
lCPI0_6:
.long 0 ; 0x0
.long 7 ; 0x7
.long 0 ; 0x0
.long 0 ; 0x0
lCPI0_7:
.long 0 ; 0x0
.long 8 ; 0x8
.long 0 ; 0x0
.long 0 ; 0x0
lCPI0_8:
.long 0 ; 0x0
.long 9 ; 0x9
.long 0 ; 0x0
.long 0 ; 0x0
lCPI0_9:
.long 0 ; 0x0
.long 10 ; 0xa
.long 0 ; 0x0
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _libmin_printf
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
Lloh4:
adrp x8, lCPI0_0@PAGE
Lloh5:
ldr q0, [x8, lCPI0_0@PAGEOFF]
adrp x21, _num@PAGE
str q0, [x21, _num@PAGEOFF]
adrp x20, _count@PAGE
str xzr, [x20, _count@PAGEOFF]
mov w19, #1 ; =0x1
mov w22, #3 ; =0x3
mov w0, #1 ; =0x1
mov w1, #1 ; =0x1
mov w2, #3 ; =0x3
bl _mov
ldr x8, [x20, _count@PAGEOFF]
stp x19, x8, [sp]
Lloh6:
adrp x19, l_.str.2@PAGE
Lloh7:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x19
bl _libmin_printf
Lloh8:
adrp x8, lCPI0_1@PAGE
Lloh9:
ldr q0, [x8, lCPI0_1@PAGEOFF]
str q0, [x21, _num@PAGEOFF]
str xzr, [x20, _count@PAGEOFF]
mov w23, #2 ; =0x2
mov w0, #2 ; =0x2
mov w1, #1 ; =0x1
mov w2, #3 ; =0x3
bl _mov
ldr x8, [x20, _count@PAGEOFF]
stp x23, x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh10:
adrp x8, lCPI0_2@PAGE
Lloh11:
ldr q0, [x8, lCPI0_2@PAGEOFF]
str q0, [x21, _num@PAGEOFF]
str xzr, [x20, _count@PAGEOFF]
mov w0, #3 ; =0x3
mov w1, #1 ; =0x1
mov w2, #3 ; =0x3
bl _mov
ldr x8, [x20, _count@PAGEOFF]
stp x22, x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh12:
adrp x8, lCPI0_3@PAGE
Lloh13:
ldr q0, [x8, lCPI0_3@PAGEOFF]
str q0, [x21, _num@PAGEOFF]
str xzr, [x20, _count@PAGEOFF]
mov w22, #4 ; =0x4
mov w0, #4 ; =0x4
mov w1, #1 ; =0x1
mov w2, #3 ; =0x3
bl _mov
ldr x8, [x20, _count@PAGEOFF]
stp x22, x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh14:
adrp x8, lCPI0_4@PAGE
Lloh15:
ldr q0, [x8, lCPI0_4@PAGEOFF]
str q0, [x21, _num@PAGEOFF]
str xzr, [x20, _count@PAGEOFF]
mov w22, #5 ; =0x5
mov w0, #5 ; =0x5
mov w1, #1 ; =0x1
mov w2, #3 ; =0x3
bl _mov
ldr x8, [x20, _count@PAGEOFF]
stp x22, x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh16:
adrp x8, lCPI0_5@PAGE
Lloh17:
ldr q0, [x8, lCPI0_5@PAGEOFF]
str q0, [x21, _num@PAGEOFF]
str xzr, [x20, _count@PAGEOFF]
mov w22, #6 ; =0x6
mov w0, #6 ; =0x6
mov w1, #1 ; =0x1
mov w2, #3 ; =0x3
bl _mov
ldr x8, [x20, _count@PAGEOFF]
stp x22, x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh18:
adrp x8, lCPI0_6@PAGE
Lloh19:
ldr q0, [x8, lCPI0_6@PAGEOFF]
str q0, [x21, _num@PAGEOFF]
str xzr, [x20, _count@PAGEOFF]
mov w22, #7 ; =0x7
mov w0, #7 ; =0x7
mov w1, #1 ; =0x1
mov w2, #3 ; =0x3
bl _mov
ldr x8, [x20, _count@PAGEOFF]
stp x22, x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh20:
adrp x8, lCPI0_7@PAGE
Lloh21:
ldr q0, [x8, lCPI0_7@PAGEOFF]
str q0, [x21, _num@PAGEOFF]
str xzr, [x20, _count@PAGEOFF]
mov w22, #8 ; =0x8
mov w0, #8 ; =0x8
mov w1, #1 ; =0x1
mov w2, #3 ; =0x3
bl _mov
ldr x8, [x20, _count@PAGEOFF]
stp x22, x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh22:
adrp x8, lCPI0_8@PAGE
Lloh23:
ldr q0, [x8, lCPI0_8@PAGEOFF]
str q0, [x21, _num@PAGEOFF]
str xzr, [x20, _count@PAGEOFF]
mov w22, #9 ; =0x9
mov w0, #9 ; =0x9
mov w1, #1 ; =0x1
mov w2, #3 ; =0x3
bl _mov
ldr x8, [x20, _count@PAGEOFF]
stp x22, x8, [sp]
mov x0, x19
bl _libmin_printf
Lloh24:
adrp x8, lCPI0_9@PAGE
Lloh25:
ldr q0, [x8, lCPI0_9@PAGEOFF]
str q0, [x21, _num@PAGEOFF]
str xzr, [x20, _count@PAGEOFF]
mov w21, #10 ; =0xa
mov w0, #10 ; =0xa
mov w1, #1 ; =0x1
mov w2, #3 ; =0x3
bl _mov
ldr x8, [x20, _count@PAGEOFF]
stp x21, x8, [sp]
mov x0, x19
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
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 AdrpLdr Lloh24, Lloh25
.loh AdrpLdr Lloh22, Lloh23
.loh AdrpLdr Lloh20, Lloh21
.loh AdrpLdr Lloh18, Lloh19
.loh AdrpLdr Lloh16, Lloh17
.loh AdrpLdr Lloh14, Lloh15
.loh AdrpLdr Lloh12, Lloh13
.loh AdrpLdr Lloh10, Lloh11
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdr Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function mov
_mov: ; @mov
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
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 x20, x2
mov x19, x1
Lloh26:
adrp x24, _num@PAGE
Lloh27:
add x24, x24, _num@PAGEOFF
adrp x23, _count@PAGE
subs w21, w0, #1
b.ne LBB1_2
; %bb.1:
ldr x8, [x23, _count@PAGEOFF]
sxtw x25, w20
b LBB1_4
LBB1_2:
mov x8, x20
sxtw x25, w8
mov w26, #6 ; =0x6
lsl x27, x25, #2
LBB1_3: ; =>This Inner Loop Header: Depth=1
mov x22, x19
add w8, w19, w20
sub w19, w26, w8
mov x0, x21
mov x1, x22
mov x2, x19
bl _mov
sbfiz x8, x22, #2, #32
ldr w9, [x24, x8]
sub w9, w9, #1
str w9, [x24, x8]
ldr w8, [x24, x27]
add w8, w8, #1
str w8, [x24, x27]
ldr x8, [x23, _count@PAGEOFF]
add x8, x8, #1
str x8, [x23, _count@PAGEOFF]
subs w21, w21, #1
b.ne LBB1_3
LBB1_4:
sbfiz x9, x19, #2, #32
ldr w10, [x24, x9]
sub w10, w10, #1
str w10, [x24, x9]
lsl x9, x25, #2
ldr w10, [x24, x9]
add w10, w10, #1
str w10, [x24, x9]
add x8, x8, #1
str x8, [x23, _count@PAGEOFF]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh26, Lloh27
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Towers of Hanoi Puzzle Test Program\n"
l_.str.1: ; @.str.1
.asciz "Disks Moves\n"
.zerofill __DATA,__bss,_num,16,4 ; @num
.zerofill __DATA,__bss,_count,8,3 ; @count
l_.str.2: ; @.str.2
.asciz "%3d %10ld\n"
.subsections_via_symbols
|
murmur-hash.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _murmurhash ## -- Begin function murmurhash
.p2align 4, 0x90
_murmurhash: ## @murmurhash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %r9d
andl $-4, %r9d
movslq %r9d, %r8
leaq (%rdi,%r8), %rax
cmpl $4, %esi
jb LBB0_6
## %bb.1:
movl %esi, %ecx
shrl $2, %ecx
negl %ecx
movslq %ecx, %rcx
testb $4, %sil
je LBB0_3
## %bb.2:
movl (%rax,%rcx,4), %r10d
imull $-862048943, %r10d, %r11d ## imm = 0xCC9E2D51
imull $380141568, %r10d, %r10d ## imm = 0x16A88000
shrl $17, %r11d
orl %r10d, %r11d
imull $461845907, %r11d, %r10d ## imm = 0x1B873593
xorl %edx, %r10d
roll $13, %r10d
leal (%r10,%r10,4), %edx
addl $-430675100, %edx ## imm = 0xE6546B64
incq %rcx
LBB0_3:
cmpl $4, %r9d
je LBB0_6
## %bb.4:
addq %r8, %rdi
addq $4, %rdi
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -4(%rdi,%rcx,4), %r8d
imull $-862048943, %r8d, %r9d ## imm = 0xCC9E2D51
imull $380141568, %r8d, %r8d ## imm = 0x16A88000
shrl $17, %r9d
orl %r8d, %r9d
imull $461845907, %r9d, %r8d ## imm = 0x1B873593
xorl %edx, %r8d
roll $13, %r8d
movl (%rdi,%rcx,4), %edx
leal (%r8,%r8,4), %r8d
addl $-430675100, %r8d ## imm = 0xE6546B64
imull $-862048943, %edx, %r9d ## imm = 0xCC9E2D51
imull $380141568, %edx, %edx ## imm = 0x16A88000
shrl $17, %r9d
orl %edx, %r9d
imull $461845907, %r9d, %edx ## imm = 0x1B873593
xorl %r8d, %edx
roll $13, %edx
leal (%rdx,%rdx,4), %edx
addl $-430675100, %edx ## imm = 0xE6546B64
addq $2, %rcx
jne LBB0_5
LBB0_6:
movl %esi, %edi
andl $3, %edi
xorl %ecx, %ecx
cmpl $1, %edi
je LBB0_11
## %bb.7:
cmpl $2, %edi
je LBB0_10
## %bb.8:
cmpl $3, %edi
jne LBB0_12
## %bb.9:
movzbl 2(%rax), %ecx
shll $16, %ecx
LBB0_10:
movzbl 1(%rax), %edi
shll $8, %edi
orl %edi, %ecx
LBB0_11:
movzbl (%rax), %eax
xorl %ecx, %eax
imull $-862048943, %eax, %ecx ## imm = 0xCC9E2D51
imull $380141568, %eax, %eax ## imm = 0x16A88000
shrl $17, %ecx
orl %eax, %ecx
imull $461845907, %ecx, %eax ## imm = 0x1B873593
xorl %eax, %edx
LBB0_12:
xorl %esi, %edx
movl %edx, %eax
shrl $16, %eax
xorl %edx, %eax
imull $-2048144789, %eax, %eax ## imm = 0x85EBCA6B
movl %eax, %ecx
shrl $13, %ecx
xorl %eax, %ecx
imull $-1028477387, %ecx, %ecx ## imm = 0xC2B2AE35
movl %ecx, %eax
shrl $16, %eax
xorl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str(%rip), %rbx
movq %rbx, %rdi
callq _libmin_strlen
movslq %eax, %rdi
movq %rdi, %r10
andq $-4, %r10
leaq (%rbx,%r10), %rcx
xorl %edx, %edx
movl $0, %esi
cmpl $4, %edi
jb LBB1_7
## %bb.1:
movl %eax, %esi
shrl $2, %esi
negl %esi
movslq %esi, %rdi
movq %rax, %r8
shrq $2, %r8
movl %r8d, %r9d
andl $1073741823, %r9d ## imm = 0x3FFFFFFF
andl $1, %r8d
cmpq $1, %r9
jne LBB1_3
## %bb.2:
xorl %esi, %esi
jmp LBB1_5
LBB1_3:
subq %r8, %r9
addq %rbx, %r10
addq $4, %r10
xorl %esi, %esi
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
movl -4(%r10,%rdi,4), %r11d
movl (%r10,%rdi,4), %ebx
imull $-862048943, %r11d, %r14d ## imm = 0xCC9E2D51
imull $380141568, %r11d, %r11d ## imm = 0x16A88000
shrl $17, %r14d
orl %r11d, %r14d
imull $461845907, %r14d, %r11d ## imm = 0x1B873593
xorl %esi, %r11d
roll $13, %r11d
leal (%r11,%r11,4), %esi
addl $-430675100, %esi ## imm = 0xE6546B64
imull $-862048943, %ebx, %r11d ## imm = 0xCC9E2D51
imull $380141568, %ebx, %ebx ## imm = 0x16A88000
shrl $17, %r11d
orl %ebx, %r11d
imull $461845907, %r11d, %r11d ## imm = 0x1B873593
xorl %esi, %r11d
roll $13, %r11d
leal (%r11,%r11,4), %esi
addl $-430675100, %esi ## imm = 0xE6546B64
addq $2, %rdi
addq $-2, %r9
jne LBB1_4
LBB1_5:
testq %r8, %r8
je LBB1_7
## %bb.6:
movl (%rcx,%rdi,4), %edi
imull $-862048943, %edi, %r8d ## imm = 0xCC9E2D51
imull $380141568, %edi, %edi ## imm = 0x16A88000
shrl $17, %r8d
orl %edi, %r8d
imull $461845907, %r8d, %edi ## imm = 0x1B873593
xorl %esi, %edi
roll $13, %edi
leal (%rdi,%rdi,4), %esi
addl $-430675100, %esi ## imm = 0xE6546B64
LBB1_7:
movl %eax, %edi
andl $3, %edi
cmpl $1, %edi
je LBB1_12
## %bb.8:
cmpl $2, %edi
je LBB1_11
## %bb.9:
cmpl $3, %edi
jne LBB1_13
## %bb.10:
movzbl 2(%rcx), %edx
shll $16, %edx
LBB1_11:
movzbl 1(%rcx), %edi
shll $8, %edi
orl %edi, %edx
LBB1_12:
movzbl (%rcx), %ecx
xorl %edx, %ecx
imull $-862048943, %ecx, %edx ## imm = 0xCC9E2D51
imull $380141568, %ecx, %ecx ## imm = 0x16A88000
shrl $17, %edx
orl %ecx, %edx
imull $461845907, %edx, %ecx ## imm = 0x1B873593
xorl %ecx, %esi
LBB1_13:
xorl %eax, %esi
movl %esi, %eax
shrl $16, %eax
xorl %esi, %eax
imull $-2048144789, %eax, %eax ## imm = 0x85EBCA6B
movl %eax, %ecx
shrl $13, %ecx
xorl %eax, %ecx
imull $-1028477387, %ecx, %eax ## imm = 0xC2B2AE35
movl %eax, %edx
shrl $16, %edx
xorl %eax, %edx
leaq L_.str.1(%rip), %rdi
leaq L_.str(%rip), %rsi
xorl %r14d, %r14d
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.2(%rip), %rbx
movq %rbx, %rdi
callq _libmin_strlen
movslq %eax, %rsi
movq %rsi, %r9
andq $-4, %r9
leaq (%rbx,%r9), %rcx
movl $0, %edx
cmpl $4, %esi
jb LBB1_20
## %bb.14:
movl %eax, %edx
shrl $2, %edx
negl %edx
movslq %edx, %rsi
movq %rax, %rdi
shrq $2, %rdi
movl %edi, %r8d
andl $1073741823, %r8d ## imm = 0x3FFFFFFF
andl $1, %edi
cmpq $1, %r8
jne LBB1_16
## %bb.15:
xorl %edx, %edx
jmp LBB1_18
LBB1_16:
subq %rdi, %r8
addq %rbx, %r9
addq $4, %r9
xorl %edx, %edx
.p2align 4, 0x90
LBB1_17: ## =>This Inner Loop Header: Depth=1
movl -4(%r9,%rsi,4), %r10d
movl (%r9,%rsi,4), %r11d
imull $-862048943, %r10d, %ebx ## imm = 0xCC9E2D51
imull $380141568, %r10d, %r10d ## imm = 0x16A88000
shrl $17, %ebx
orl %r10d, %ebx
imull $461845907, %ebx, %r10d ## imm = 0x1B873593
xorl %edx, %r10d
roll $13, %r10d
leal (%r10,%r10,4), %edx
addl $-430675100, %edx ## imm = 0xE6546B64
imull $-862048943, %r11d, %r10d ## imm = 0xCC9E2D51
imull $380141568, %r11d, %r11d ## imm = 0x16A88000
shrl $17, %r10d
orl %r11d, %r10d
imull $461845907, %r10d, %r10d ## imm = 0x1B873593
xorl %edx, %r10d
roll $13, %r10d
leal (%r10,%r10,4), %edx
addl $-430675100, %edx ## imm = 0xE6546B64
addq $2, %rsi
addq $-2, %r8
jne LBB1_17
LBB1_18:
testq %rdi, %rdi
je LBB1_20
## %bb.19:
movl (%rcx,%rsi,4), %esi
imull $-862048943, %esi, %edi ## imm = 0xCC9E2D51
imull $380141568, %esi, %esi ## imm = 0x16A88000
shrl $17, %edi
orl %esi, %edi
imull $461845907, %edi, %esi ## imm = 0x1B873593
xorl %edx, %esi
roll $13, %esi
leal (%rsi,%rsi,4), %edx
addl $-430675100, %edx ## imm = 0xE6546B64
LBB1_20:
movl %eax, %esi
andl $3, %esi
cmpl $1, %esi
je LBB1_25
## %bb.21:
cmpl $2, %esi
je LBB1_24
## %bb.22:
cmpl $3, %esi
jne LBB1_26
## %bb.23:
movzbl 2(%rcx), %r14d
shll $16, %r14d
LBB1_24:
movzbl 1(%rcx), %esi
shll $8, %esi
orl %esi, %r14d
LBB1_25:
movzbl (%rcx), %ecx
xorl %r14d, %ecx
imull $-862048943, %ecx, %esi ## imm = 0xCC9E2D51
imull $380141568, %ecx, %ecx ## imm = 0x16A88000
shrl $17, %esi
orl %ecx, %esi
imull $461845907, %esi, %ecx ## imm = 0x1B873593
xorl %ecx, %edx
LBB1_26:
xorl %eax, %edx
movl %edx, %eax
shrl $16, %eax
xorl %edx, %eax
imull $-2048144789, %eax, %eax ## imm = 0x85EBCA6B
movl %eax, %ecx
shrl $13, %ecx
xorl %eax, %ecx
imull $-1028477387, %ecx, %eax ## imm = 0xC2B2AE35
movl %eax, %edx
shrl $16, %edx
xorl %eax, %edx
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
xorl %r14d, %r14d
xorl %eax, %eax
callq _libmin_printf
leaq L_.str.3(%rip), %rbx
movq %rbx, %rdi
callq _libmin_strlen
movslq %eax, %rsi
movq %rsi, %r9
andq $-4, %r9
leaq (%rbx,%r9), %rcx
movl $0, %edx
cmpl $4, %esi
jb LBB1_33
## %bb.27:
movl %eax, %edx
shrl $2, %edx
negl %edx
movslq %edx, %rsi
movq %rax, %rdi
shrq $2, %rdi
movl %edi, %r8d
andl $1073741823, %r8d ## imm = 0x3FFFFFFF
andl $1, %edi
cmpq $1, %r8
jne LBB1_29
## %bb.28:
xorl %edx, %edx
jmp LBB1_31
LBB1_29:
subq %rdi, %r8
addq %rbx, %r9
addq $4, %r9
xorl %edx, %edx
.p2align 4, 0x90
LBB1_30: ## =>This Inner Loop Header: Depth=1
movl -4(%r9,%rsi,4), %r10d
movl (%r9,%rsi,4), %r11d
imull $-862048943, %r10d, %ebx ## imm = 0xCC9E2D51
imull $380141568, %r10d, %r10d ## imm = 0x16A88000
shrl $17, %ebx
orl %r10d, %ebx
imull $461845907, %ebx, %r10d ## imm = 0x1B873593
xorl %edx, %r10d
roll $13, %r10d
leal (%r10,%r10,4), %edx
addl $-430675100, %edx ## imm = 0xE6546B64
imull $-862048943, %r11d, %r10d ## imm = 0xCC9E2D51
imull $380141568, %r11d, %r11d ## imm = 0x16A88000
shrl $17, %r10d
orl %r11d, %r10d
imull $461845907, %r10d, %r10d ## imm = 0x1B873593
xorl %edx, %r10d
roll $13, %r10d
leal (%r10,%r10,4), %edx
addl $-430675100, %edx ## imm = 0xE6546B64
addq $2, %rsi
addq $-2, %r8
jne LBB1_30
LBB1_31:
testq %rdi, %rdi
je LBB1_33
## %bb.32:
movl (%rcx,%rsi,4), %esi
imull $-862048943, %esi, %edi ## imm = 0xCC9E2D51
imull $380141568, %esi, %esi ## imm = 0x16A88000
shrl $17, %edi
orl %esi, %edi
imull $461845907, %edi, %esi ## imm = 0x1B873593
xorl %edx, %esi
roll $13, %esi
leal (%rsi,%rsi,4), %edx
addl $-430675100, %edx ## imm = 0xE6546B64
LBB1_33:
movl %eax, %esi
andl $3, %esi
cmpl $1, %esi
je LBB1_38
## %bb.34:
cmpl $2, %esi
je LBB1_37
## %bb.35:
cmpl $3, %esi
jne LBB1_39
## %bb.36:
movzbl 2(%rcx), %r14d
shll $16, %r14d
LBB1_37:
movzbl 1(%rcx), %esi
shll $8, %esi
orl %esi, %r14d
LBB1_38:
movzbl (%rcx), %ecx
xorl %r14d, %ecx
imull $-862048943, %ecx, %esi ## imm = 0xCC9E2D51
imull $380141568, %ecx, %ecx ## imm = 0x16A88000
shrl $17, %esi
orl %ecx, %esi
imull $461845907, %esi, %ecx ## imm = 0x1B873593
xorl %ecx, %edx
LBB1_39:
xorl %eax, %edx
movl %edx, %eax
shrl $16, %eax
xorl %edx, %eax
imull $-2048144789, %eax, %eax ## imm = 0x85EBCA6B
movl %eax, %ecx
shrl $13, %ecx
xorl %eax, %ecx
imull $-1028477387, %ecx, %eax ## imm = 0xC2B2AE35
movl %eax, %edx
shrl $16, %edx
xorl %eax, %edx
leaq L_.str.1(%rip), %rdi
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
callq _libmin_printf
callq _libmin_success
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "kinkajou"
L_.str.1: ## @.str.1
.asciz "murmurhash(\"%s\") = 0x%x\n"
L_.str.2: ## @.str.2
.asciz "The bringup-bench benchmark MURMUR made this."
L_.str.3: ## @.str.3
.asciz "It has to start somewhere, it has to start sometime, what better place than here? What better time than now?"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _murmurhash ; -- Begin function murmurhash
.p2align 2
_murmurhash: ; @murmurhash
.cfi_startproc
; %bb.0:
mov w9, #11601 ; =0x2d51
movk w9, #52382, lsl #16
mov w8, #13715 ; =0x3593
movk w8, #7047, lsl #16
mov w10, #32768 ; =0x8000
movk w10, #5800, lsl #16
and w11, w1, #0xfffffffc
add x11, x0, w11, sxtw
cmp w1, #4
b.lo LBB0_3
; %bb.1:
neg w12, w1, lsr #2
sxtw x12, w12
mov w13, #27492 ; =0x6b64
movk w13, #58964, lsl #16
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w14, [x11, x12, lsl #2]
mul w15, w14, w9
mul w14, w14, w10
orr w14, w14, w15, lsr #17
mul w14, w14, w8
eor w14, w14, w2
ror w14, w14, #19
add w14, w14, w14, lsl #2
add w2, w14, w13
adds x12, x12, #1
b.lo LBB0_2
LBB0_3:
mov w12, #0 ; =0x0
and w13, w1, #0x3
cmp w13, #1
b.eq LBB0_8
; %bb.4:
cmp w13, #2
b.eq LBB0_7
; %bb.5:
cmp w13, #3
b.ne LBB0_9
; %bb.6:
ldrb w12, [x11, #2]
lsl w12, w12, #16
LBB0_7:
ldrb w13, [x11, #1]
orr w12, w12, w13, lsl #8
LBB0_8:
ldrb w11, [x11]
eor w11, w12, w11
mul w9, w11, w9
mul w10, w11, w10
orr w9, w10, w9, lsr #17
mul w8, w9, w8
eor w2, w8, w2
LBB0_9:
eor w8, w2, w1
eor w8, w8, w8, lsr #16
mov w9, #51819 ; =0xca6b
movk w9, #34283, lsl #16
mul w8, w8, w9
eor w8, w8, w8, lsr #13
mov w9, #44597 ; =0xae35
movk w9, #49842, lsl #16
mul w8, w8, w9
eor w0, w8, w8, lsr #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov w23, #27492 ; =0x6b64
movk w23, #58964, lsl #16
mov w21, #11601 ; =0x2d51
movk w21, #52382, lsl #16
mov w20, #13715 ; =0x3593
movk w20, #7047, lsl #16
mov w22, #32768 ; =0x8000
movk w22, #5800, lsl #16
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _libmin_strlen
sxtw x8, w0
and x8, x8, #0xfffffffffffffffc
add x9, x19, x8
cmp w0, #4
b.hs LBB1_2
; %bb.1:
mov w8, #0 ; =0x0
b LBB1_4
LBB1_2:
mov w8, #0 ; =0x0
neg w10, w0, lsr #2
sxtw x10, w10
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr w11, [x9, x10, lsl #2]
mul w12, w11, w21
mul w11, w11, w22
orr w11, w11, w12, lsr #17
mul w11, w11, w20
eor w8, w11, w8
ror w8, w8, #19
add w8, w8, w8, lsl #2
add w8, w8, w23
adds x10, x10, #1
b.lo LBB1_3
LBB1_4:
mov w10, #0 ; =0x0
and w11, w0, #0x3
cmp w11, #1
b.eq LBB1_9
; %bb.5:
cmp w11, #2
b.eq LBB1_8
; %bb.6:
cmp w11, #3
b.ne LBB1_10
; %bb.7:
ldrb w10, [x9, #2]
lsl w10, w10, #16
LBB1_8:
ldrb w11, [x9, #1]
orr w10, w10, w11, lsl #8
LBB1_9:
ldrb w9, [x9]
eor w9, w10, w9
mul w10, w9, w21
mul w9, w9, w22
orr w9, w9, w10, lsr #17
mul w9, w9, w20
eor w8, w9, w8
LBB1_10:
mov w24, #44597 ; =0xae35
movk w24, #49842, lsl #16
mov w25, #51819 ; =0xca6b
movk w25, #34283, lsl #16
eor w8, w8, w0
eor w8, w8, w8, lsr #16
mul w8, w8, w25
eor w8, w8, w8, lsr #13
mul w8, w8, w24
eor w8, w8, w8, lsr #16
stp x19, x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
Lloh4:
adrp x19, l_.str.2@PAGE
Lloh5:
add x19, x19, l_.str.2@PAGEOFF
mov x0, x19
bl _libmin_strlen
sxtw x8, w0
and x8, x8, #0xfffffffffffffffc
add x9, x19, x8
cmp w0, #4
b.hs LBB1_12
; %bb.11:
mov w8, #0 ; =0x0
b LBB1_14
LBB1_12:
mov w8, #0 ; =0x0
neg w10, w0, lsr #2
sxtw x10, w10
LBB1_13: ; =>This Inner Loop Header: Depth=1
ldr w11, [x9, x10, lsl #2]
mul w12, w11, w21
mul w11, w11, w22
orr w11, w11, w12, lsr #17
mul w11, w11, w20
eor w8, w11, w8
ror w8, w8, #19
add w8, w8, w8, lsl #2
add w8, w8, w23
adds x10, x10, #1
b.lo LBB1_13
LBB1_14:
mov w10, #0 ; =0x0
and w11, w0, #0x3
cmp w11, #1
b.eq LBB1_19
; %bb.15:
cmp w11, #2
b.eq LBB1_18
; %bb.16:
cmp w11, #3
b.ne LBB1_20
; %bb.17:
ldrb w10, [x9, #2]
lsl w10, w10, #16
LBB1_18:
ldrb w11, [x9, #1]
orr w10, w10, w11, lsl #8
LBB1_19:
ldrb w9, [x9]
eor w9, w10, w9
mul w10, w9, w21
mul w9, w9, w22
orr w9, w9, w10, lsr #17
mul w9, w9, w20
eor w8, w9, w8
LBB1_20:
eor w8, w8, w0
eor w8, w8, w8, lsr #16
mul w8, w8, w25
eor w8, w8, w8, lsr #13
mul w8, w8, w24
eor w8, w8, w8, lsr #16
stp x19, x8, [sp]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
Lloh8:
adrp x19, l_.str.3@PAGE
Lloh9:
add x19, x19, l_.str.3@PAGEOFF
mov x0, x19
bl _libmin_strlen
sxtw x8, w0
and x8, x8, #0xfffffffffffffffc
add x9, x19, x8
cmp w0, #4
b.hs LBB1_22
; %bb.21:
mov w8, #0 ; =0x0
b LBB1_24
LBB1_22:
mov w8, #0 ; =0x0
neg w10, w0, lsr #2
sxtw x10, w10
LBB1_23: ; =>This Inner Loop Header: Depth=1
ldr w11, [x9, x10, lsl #2]
mul w12, w11, w21
mul w11, w11, w22
orr w11, w11, w12, lsr #17
mul w11, w11, w20
eor w8, w11, w8
ror w8, w8, #19
add w8, w8, w8, lsl #2
add w8, w8, w23
adds x10, x10, #1
b.lo LBB1_23
LBB1_24:
mov w10, #0 ; =0x0
and w11, w0, #0x3
cmp w11, #1
b.eq LBB1_29
; %bb.25:
cmp w11, #2
b.eq LBB1_28
; %bb.26:
cmp w11, #3
b.ne LBB1_30
; %bb.27:
ldrb w10, [x9, #2]
lsl w10, w10, #16
LBB1_28:
ldrb w11, [x9, #1]
orr w10, w10, w11, lsl #8
LBB1_29:
ldrb w9, [x9]
eor w9, w10, w9
mul w10, w9, w21
mul w9, w9, w22
orr w9, w9, w10, lsr #17
mul w9, w9, w20
eor w8, w9, w8
LBB1_30:
eor w8, w8, w0
eor w8, w8, w8, lsr #16
mul w8, w8, w25
eor w8, w8, w8, lsr #13
mul w8, w8, w24
eor w8, w8, w8, lsr #16
stp x19, x8, [sp]
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
bl _libmin_printf
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "kinkajou"
l_.str.1: ; @.str.1
.asciz "murmurhash(\"%s\") = 0x%x\n"
l_.str.2: ; @.str.2
.asciz "The bringup-bench benchmark MURMUR made this."
l_.str.3: ; @.str.3
.asciz "It has to start somewhere, it has to start sometime, what better place than here? What better time than now?"
.subsections_via_symbols
|
pi-calc.s
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl _c(%rip), %ecx
addl $-14, %ecx
movl %ecx, _c(%rip)
movq _b@GOTPCREL(%rip), %r14
movl %ecx, (%r14)
je LBB0_10
## %bb.1:
movq _d@GOTPCREL(%rip), %r15
leaq L_.str(%rip), %rbx
movq _h@GOTPCREL(%rip), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movl %eax, (%r15)
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl $0, (%r14)
movq _g@GOTPCREL(%rip), %rcx
movl $0, (%rcx)
cltd
idivl %edi
addl %eax, %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _libmin_printf
movl %eax, (%r12)
movl _c(%rip), %ecx
addl $-14, %ecx
movl %ecx, _c(%rip)
movl %ecx, (%r14)
je LBB0_10
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movl _f(%rip), %edi
movl (%r15), %eax
cltd
idivl %edi
movl %edx, %esi
movl %edx, (%r15)
movq _e@GOTPCREL(%rip), %rax
movl %edx, (%rax)
movl %ecx, %r8d
decl %r8d
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl (%r12), %r9d
movslq %edi, %rax
imulq $1717986919, %rax, %r10 ## imm = 0x66666667
movq %r10, %rax
shrq $63, %rax
sarq $33, %r10
addl %eax, %r10d
movslq %ecx, %rax
movq _a@GOTPCREL(%rip), %rdx
leaq (%rdx,%rax,4), %r11
addq $-4, %r11
leal -3(,%rcx,2), %r13d
movl %esi, %eax
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=2
imull %r8d, %eax
imull %edi, %ecx
addl %eax, %ecx
movl %ecx, %eax
cltd
idivl %r13d
movl %edx, (%r11)
addq $-4, %r11
addl $-2, %r13d
decl %r8d
je LBB0_8
LBB0_5: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl %r10d, %ecx
testl %r9d, %r9d
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movl (%r11), %ecx
jmp LBB0_7
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
movl %esi, %eax
jmp LBB0_9
LBB0_10:
callq _libmin_success
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _c ## @c
.p2align 2, 0x0
_c:
.long 52514 ## 0xcd22
.globl _f ## @f
.p2align 2, 0x0
_f:
.long 10000 ## 0x2710
.comm _b,4,2 ## @b
.comm _d,4,2 ## @d
.comm _e,4,2 ## @e
.comm _g,4,2 ## @g
.comm _h,4,2 ## @h
.comm _a,210056,4 ## @a
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%04d"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 14, 0 sdk_version 15, 2
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
adrp x20, _c@PAGE
ldr w8, [x20, _c@PAGEOFF]
subs w12, w8, #14
str w12, [x20, _c@PAGEOFF]
Lloh0:
adrp x21, _b@GOTPAGE
Lloh1:
ldr x21, [x21, _b@GOTPAGEOFF]
str w12, [x21]
b.eq LBB0_10
; %bb.1:
Lloh2:
adrp x22, _d@GOTPAGE
Lloh3:
ldr x22, [x22, _d@GOTPAGEOFF]
Lloh4:
adrp x23, _e@GOTPAGE
Lloh5:
ldr x23, [x23, _e@GOTPAGEOFF]
Lloh6:
adrp x24, _g@GOTPAGE
Lloh7:
ldr x24, [x24, _g@GOTPAGEOFF]
Lloh8:
adrp x19, l_.str@PAGE
Lloh9:
add x19, x19, l_.str@PAGEOFF
adrp x25, _f@PAGE
Lloh10:
adrp x26, _h@GOTPAGE
Lloh11:
ldr x26, [x26, _h@GOTPAGEOFF]
mov w27, #26215 ; =0x6667
movk w27, #26214, lsl #16
Lloh12:
adrp x28, _a@GOTPAGE
Lloh13:
ldr x28, [x28, _a@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
str w12, [x22]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
str wzr, [x21]
str wzr, [x24]
sdiv w8, w12, w8
add w8, w8, w9
str x8, [sp]
mov x0, x19
bl _libmin_printf
str w0, [x26]
ldr w8, [x20, _c@PAGEOFF]
subs w12, w8, #14
str w12, [x20, _c@PAGEOFF]
str w12, [x21]
b.eq LBB0_10
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr w8, [x25, _f@PAGEOFF]
ldr w9, [x22]
sdiv w10, w9, w8
msub w9, w10, w8, w9
str w9, [x22]
str w9, [x23]
subs w10, w12, #1
b.eq LBB0_9
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w11, [x26]
smull x13, w8, w27
lsr x14, x13, #63
asr x13, x13, #33
add w13, w13, w14
add x14, x28, w12, sxtw #2
sub x14, x14, #4
lsl w12, w12, #1
sub w15, w12, #3
mov x12, x9
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
mul w12, w12, w10
madd w16, w16, w8, w12
sdiv w12, w16, w15
msub w16, w12, w15, w16
str w16, [x14], #-4
sub w15, w15, #2
sub w10, w10, #1
cbz w10, LBB0_2
LBB0_7: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
mov x16, x13
cbz w11, LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
ldr w16, [x14]
b LBB0_6
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
mov x12, x9
b LBB0_3
LBB0_10:
bl _libmin_success
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _c ; @c
.p2align 2, 0x0
_c:
.long 52514 ; 0xcd22
.globl _f ; @f
.p2align 2, 0x0
_f:
.long 10000 ; 0x2710
.comm _b,4,2 ; @b
.comm _d,4,2 ; @d
.comm _e,4,2 ; @e
.comm _g,4,2 ; @g
.comm _h,4,2 ; @h
.comm _a,210056,2 ; @a
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%04d"
.subsections_via_symbols
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.