// File: /workspace/github_cpp_makefile_star2_O1/PeterDenton[P]Nu-Pert/src/Figures.cpp
// Function: Figures::Eigenvalues()
void Eigenvalues()
{
	double a;
	std::ofstream data[2];
	data[0].open("data/Eigenvalues_NO.txt");
	data[1].open("data/Eigenvalues_IO.txt");

	for (int i = 0; i < 2; i++)
	{
		set_ordering(i == 0);
		for (double Y = -40; Y <= 40; Y += 0.01)
		{
			a = Y * Y_to_a;
			data[i] << Y;
			data[i] << " " << Exact::M1sq(a) << " " << Exact::M2sq(a) << " " << Exact::M3sq(a);
			data[i] << " " << Check::l10(a) << " " << Check::l20(a) << " " << Check::l30(a);
			data[i] << std::endl;
		}
		data[i].close();
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x420, %rsp            # imm = 0x420
xorl %r14d, %r14d
leaq (%rsp,%r14), %rdi
addq $0x20, %rdi
callq 0x2280
addq $0x200, %r14            # imm = 0x200
cmpq $0x400, %r14            # imm = 0x400
jne 0xd51b
leaq 0x2999(%rip), %rsi      # 0xfed8
leaq 0x20(%rsp), %rdi
movl $0x10, %edx
callq 0x2050
leaq 0x220(%rsp), %rdi
leaq 0x2993(%rip), %rsi      # 0xfef0
movl $0x10, %edx
callq 0x2050
leaq 0x1dc2(%rip), %rax      # 0xf330
movsd (%rax), %xmm0
movsd %xmm0, 0x18(%rsp)
xorl %r12d, %r12d
leaq 0x26dc(%rip), %rbx      # 0xfc5e
xorl %edi, %edi
testq %r12, %r12
sete %dil
callq 0x3a4b
movq %r12, %rax
shlq $0x9, %rax
leaq (%rsp,%rax), %r14
addq $0x20, %r14
movsd 0x28b1(%rip), %xmm1     # 0xfe58
movq %r14, %rdi
movsd %xmm1, 0x10(%rsp)
movapd %xmm1, %xmm0
callq 0x2260
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x21c0
movsd 0x10(%rsp), %xmm0
mulsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
callq 0x45d0
movq %r14, %rdi
callq 0x2260
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x21c0
movsd 0x8(%rsp), %xmm0
callq 0x45e5
movq %r15, %rdi
callq 0x2260
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x21c0
movsd 0x8(%rsp), %xmm0
callq 0x45fa
movq %r15, %rdi
callq 0x2260
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x21c0
movsd 0x8(%rsp), %xmm0
callq 0x25a0
movq %r14, %rdi
callq 0x2260
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x21c0
movsd 0x8(%rsp), %xmm0
callq 0x276a
movq %r15, %rdi
callq 0x2260
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x21c0
movsd 0x8(%rsp), %xmm0
callq 0x2934
movq %r15, %rdi
callq 0x2260
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2100
movsd 0x10(%rsp), %xmm1
addsd 0x2788(%rip), %xmm1     # 0xfe60
movsd 0x2788(%rip), %xmm0     # 0xfe68
ucomisd %xmm1, %xmm0
jae 0xd5a7
movq %r14, %rdi
callq 0x2210
leaq 0x1(%r12), %rax
testq %r12, %r12
movq %rax, %r12
je 0xd582
movq 0x68be(%rip), %rax      # 0x13fc8
movq (%rax), %r14
movq 0x18(%rax), %r15
movq $-0x400, %r12           # imm = 0xFC00
leaq 0x318(%rsp), %rbx
movq %r14, -0xf8(%rbx)
movq -0x18(%r14), %rax
movq %r15, -0xf8(%rbx,%rax)
leaq -0xf0(%rbx), %rdi
callq 0x2150
movq %rbx, %rdi
callq 0x20a0
addq $-0x200, %rbx           # imm = 0xFE00
addq $0x200, %r12            # imm = 0x200
jne 0xd720
addq $0x420, %rsp            # imm = 0x420
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0xd790
movq %rax, %rbx
testq %r14, %r14
je 0xd7e7
leaq -0x1e0(%rsp), %r15
leaq (%r15,%r14), %rdi
callq 0x2220
addq $-0x200, %r14           # imm = 0xFE00
jne 0xd77a
jmp 0xd7e7
jmp 0xd790
movq %rax, %rbx
movq 0x682e(%rip), %rax      # 0x13fc8
movq (%rax), %r15
movq 0x18(%rax), %r12
movq $-0x400, %r13           # imm = 0xFC00
leaq 0x318(%rsp), %r14
movq %r15, -0xf8(%r14)
movq -0x18(%r15), %rax
movq %r12, -0xf8(%r14,%rax)
leaq -0xf0(%r14), %rdi
callq 0x2150
movq %r14, %rdi
callq 0x20a0
addq $-0x200, %r14           # imm = 0xFE00
addq $0x200, %r13            # imm = 0x200
jne 0xd7b0
movq %rbx, %rdi
callq 0x22b0