LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/PeterDenton[P]Nu-Pert/src/Minimization.cpp
// Function: double gss_min<double>(double (*)(double, double const*), double, double, double, double*)
T gss_min(T (*f)(T, const T*), T a_initial, T b_initial, T tol, T *p)
{
	T gr = (sqrt(5.) - 1) / 2;
	T a = a_initial;
	T b = b_initial;
	T c = b - gr * (b - a);
	T d = a + gr * (b - a);
	while (std::abs(c - d) > tol)
	{
		if (f(c, p) < f(d, p))
		{
			b = d;
			d = c;
			c = b - gr * (b - a);
		}
		else
		{
			a = c;
			c = d;
			d = a + gr * (b - a);
		}
	}
	T ret = (b + a) / 2.;

	// Warns user in case final minimum is close to an edge
	if (std::abs(ret - a_initial) < 2 * tol or std::abs(b_initial - ret) < 2 * tol)
		EdgeCaseWarning W(a_initial, b_initial, ret);
	return ret;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %rbx
movapd %xmm1, %xmm4
movq %rdi, %r14
movapd %xmm1, %xmm5
subsd %xmm0, %xmm5
movsd 0x3db4(%rip), %xmm3     # 0xcb30
mulsd %xmm5, %xmm3
addsd %xmm1, %xmm3
mulsd 0x3dac(%rip), %xmm5     # 0xcb38
addsd %xmm0, %xmm5
movsd %xmm1, 0x18(%rsp)
movsd %xmm0, 0x20(%rsp)
movapd %xmm0, %xmm1
movsd %xmm2, 0x28(%rsp)
movsd %xmm4, 0x8(%rsp)
movapd %xmm3, %xmm0
subsd %xmm5, %xmm0
andpd 0x3704(%rip), %xmm0     # 0xc4c0
ucomisd %xmm2, %xmm0
jbe 0x8e66
movsd %xmm1, 0x38(%rsp)
movapd %xmm3, %xmm0
movq %rbx, %rdi
movsd %xmm3, 0x30(%rsp)
movsd %xmm5, 0x10(%rsp)
callq *%r14
movsd %xmm0, 0x40(%rsp)
movsd 0x10(%rsp), %xmm0
movq %rbx, %rdi
callq *%r14
ucomisd 0x40(%rsp), %xmm0
ja 0x8e35
movsd 0x10(%rsp), %xmm3
movsd 0x8(%rsp), %xmm4
movapd %xmm4, %xmm1
movsd 0x30(%rsp), %xmm0
subsd %xmm0, %xmm1
mulsd 0x3d1a(%rip), %xmm1     # 0xcb38
addsd %xmm0, %xmm1
movapd %xmm1, %xmm5
movapd %xmm0, %xmm1
movsd 0x28(%rsp), %xmm2
jmp 0x8dac
movsd 0x10(%rsp), %xmm4
movapd %xmm4, %xmm3
movsd 0x38(%rsp), %xmm1
subsd %xmm1, %xmm3
mulsd 0x3cdf(%rip), %xmm3     # 0xcb30
addsd %xmm4, %xmm3
movsd 0x28(%rsp), %xmm2
movsd 0x30(%rsp), %xmm5
jmp 0x8da6
addsd %xmm1, %xmm4
mulsd 0x3196(%rip), %xmm4     # 0xc008
movapd %xmm4, %xmm0
subsd 0x20(%rsp), %xmm0
andpd 0x363c(%rip), %xmm0     # 0xc4c0
addsd %xmm2, %xmm2
ucomisd %xmm0, %xmm2
ja 0x8ea6
movsd 0x18(%rsp), %xmm0
subsd %xmm4, %xmm0
andpd 0x3620(%rip), %xmm0     # 0xc4c0
ucomisd %xmm0, %xmm2
jbe 0x8ed7
leaq 0x48(%rsp), %rbx
movq %rbx, %rdi
movsd 0x20(%rsp), %xmm0
movsd 0x18(%rsp), %xmm1
movapd %xmm4, %xmm2
movsd %xmm4, 0x8(%rsp)
callq 0xac7c
movq %rbx, %rdi
callq 0xaa7a
movsd 0x8(%rsp), %xmm4
movapd %xmm4, %xmm0
addq $0xa8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/PeterDenton[P]Nu-Pert/src/Mixed.cpp
// Function: Mixed::s12msq(double, int)
double s12msq(double D, int order)
{
	double x = (pow(Check::l2(D, order), 2) - alpha() * Check::l2(D, order) + beta()) * Check::Dl31(D, order);
	double s12msq_n = -x;
	double s12msq_d = Check::Dl32(D, order) * (pow(Check::l1(D, order), 2) - alpha() * Check::l1(D, order) + beta()) - x;
	return s12msq_n / s12msq_d;
}

// Assembly:
pushq %rbx
subq $0x40, %rsp
movl %edi, %ebx
movsd %xmm0, 0x8(%rsp)
callq 0x26bf
mulsd %xmm0, %xmm0
movsd %xmm0, 0x10(%rsp)
callq 0x8ee8
movsd %xmm0, 0x28(%rsp)
movsd 0x8(%rsp), %xmm0
movl %ebx, %edi
callq 0x26bf
mulsd 0x28(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
callq 0x8f28
addsd 0x10(%rsp), %xmm0
movapd %xmm0, 0x10(%rsp)
movsd 0x8(%rsp), %xmm0
movl %ebx, %edi
callq 0x2a4f
movapd 0x10(%rsp), %xmm1
xorpd 0x2f84(%rip), %xmm1     # 0xc020
mulsd %xmm1, %xmm0
movsd %xmm0, 0x28(%rsp)
movsd 0x8(%rsp), %xmm0
movl %ebx, %edi
callq 0x2ac7
movsd %xmm0, 0x38(%rsp)
movsd 0x8(%rsp), %xmm0
movl %ebx, %edi
callq 0x250c
mulsd %xmm0, %xmm0
movsd %xmm0, 0x10(%rsp)
callq 0x8ee8
movsd %xmm0, 0x30(%rsp)
movsd 0x8(%rsp), %xmm0
movl %ebx, %edi
callq 0x250c
mulsd 0x30(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
callq 0x8f28
addsd 0x10(%rsp), %xmm0
mulsd 0x38(%rsp), %xmm0
movsd 0x28(%rsp), %xmm1
addsd %xmm1, %xmm0
divsd %xmm0, %xmm1
movapd %xmm1, %xmm0
addq $0x40, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/PeterDenton[P]Nu-Pert/src/Mixed.cpp
// Function: Mixed::cdeltam(double, double, int)
double cdeltam(double D, double delta, int order)
{
	// tmp
	double Et = E(D, order);
	double Ft = F(D, order);
	// denominator
	double densq1 = pow(Et, 2) * s23sq + pow(Ft, 2) * c23sq + 2 * Et * Ft * c23 * s23 * cos(delta);
	double densq2 = pow(Et, 2) * c23sq + pow(Ft, 2) * s23sq - 2 * Et * Ft * c23 * s23 * cos(delta);
	// numerator c23sq -> c23 typo corrected
	return ((pow(Et, 2) - pow(Ft, 2)) * cos(delta) * s23 * c23 + Et * Ft * (c23sq - s23sq)) / sqrt(densq1 * densq2);
}

// Assembly:
pushq %rbx
subq $0xa0, %rsp
movl %edi, %ebx
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, 0x10(%rsp)
callq 0x8f55
movaps %xmm0, 0x60(%rsp)
movsd 0x10(%rsp), %xmm0
movl %ebx, %edi
callq 0x8fe7
movapd %xmm0, 0x90(%rsp)
leaq 0x2f5c(%rip), %rax      # 0xc2a0
movsd (%rax), %xmm1
movaps %xmm1, 0x30(%rsp)
movapd 0x60(%rsp), %xmm1
movapd %xmm1, %xmm2
unpcklpd %xmm0, %xmm2            # xmm2 = xmm2[0],xmm0[0]
mulpd %xmm2, %xmm2
movapd %xmm2, 0x10(%rsp)
leaq 0x2f5c(%rip), %rax      # 0xc2c8
movsd (%rax), %xmm2
movaps %xmm2, 0x40(%rsp)
addsd %xmm1, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm1, 0x80(%rsp)
leaq 0x2f6b(%rip), %rax      # 0xc2f8
movsd (%rax), %xmm0
movaps %xmm0, 0x70(%rsp)
leaq 0x2f43(%rip), %rax      # 0xc2e0
movsd (%rax), %xmm0
movaps %xmm0, 0x50(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x2290
movaps %xmm0, 0x20(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x2290
movapd 0x2c57(%rip), %xmm7     # 0xc020
movapd 0x80(%rsp), %xmm8
xorpd %xmm8, %xmm7
movapd 0x30(%rsp), %xmm5
movapd %xmm5, %xmm1
movapd 0x40(%rsp), %xmm6
unpcklpd %xmm6, %xmm1            # xmm1 = xmm1[0],xmm6[0]
movapd 0x10(%rsp), %xmm4
movapd %xmm4, %xmm2
unpckhpd %xmm4, %xmm2            # xmm2 = xmm2[1],xmm4[1]
mulpd %xmm2, %xmm1
movapd %xmm4, %xmm3
movapd %xmm4, %xmm9
unpcklpd %xmm4, %xmm3            # xmm3 = xmm3[0],xmm4[0]
movapd %xmm6, %xmm4
unpcklpd %xmm5, %xmm4            # xmm4 = xmm4[0],xmm5[0]
mulpd %xmm3, %xmm4
addpd %xmm1, %xmm4
unpcklpd %xmm8, %xmm7            # xmm7 = xmm7[0],xmm8[0]
movapd 0x70(%rsp), %xmm1
unpcklpd %xmm1, %xmm1            # xmm1 = xmm1[0,0]
mulpd %xmm7, %xmm1
movapd 0x50(%rsp), %xmm3
unpcklpd %xmm3, %xmm3            # xmm3 = xmm3[0,0]
mulpd %xmm1, %xmm3
unpcklpd 0x20(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0]
mulpd %xmm3, %xmm0
addpd %xmm4, %xmm0
movapd %xmm0, 0x20(%rsp)
subsd %xmm2, %xmm9
movapd %xmm9, 0x10(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x2290
movapd %xmm0, %xmm2
mulsd 0x10(%rsp), %xmm2
mulsd 0x50(%rsp), %xmm2
movapd 0x60(%rsp), %xmm1
mulsd 0x90(%rsp), %xmm1
movapd 0x40(%rsp), %xmm0
subsd 0x30(%rsp), %xmm0
mulsd %xmm1, %xmm0
mulsd 0x70(%rsp), %xmm2
addsd %xmm0, %xmm2
movapd 0x20(%rsp), %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x94c2
sqrtsd %xmm0, %xmm0
jmp 0x94d3
movsd %xmm2, 0x8(%rsp)
callq 0x2120
movsd 0x8(%rsp), %xmm2
divsd %xmm0, %xmm2
movapd %xmm2, %xmm0
addq $0xa0, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/PeterDenton[P]Nu-Pert/src/Mixed.cpp
// Function: Mixed::sdeltam(double, double, int)
double sdeltam(double D, double delta, int order)
{
	// tmp
	double Et = E(D, order);
	double Ft = F(D, order);
	// denominator
	double densq1 = pow(Et, 2) * s23sq + pow(Ft, 2) * c23sq + 2 * Et * Ft * c23 * s23 * cos(delta);
	double densq2 = pow(Et, 2) * c23sq + pow(Ft, 2) * s23sq - 2 * Et * Ft * c23 * s23 * cos(delta);
	// numerator c23sq -> c23 typo corrected
	return ((pow(Et, 2) + pow(Ft, 2)) * sin(delta) * s23 * c23) / sqrt(densq1 * densq2);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x68, %rsp
movl %edi, %ebx
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, 0x20(%rsp)
callq 0x8f55
movaps %xmm0, 0x10(%rsp)
movsd 0x20(%rsp), %xmm0
movl %ebx, %edi
callq 0x8fe7
leaq 0x2d89(%rip), %rbx      # 0xc2a0
movapd 0x10(%rsp), %xmm2
movapd %xmm2, %xmm1
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
mulpd %xmm1, %xmm1
movapd %xmm1, 0x50(%rsp)
leaq 0x2d92(%rip), %r14      # 0xc2c8
addsd %xmm2, %xmm2
mulsd %xmm0, %xmm2
movapd %xmm2, 0x10(%rsp)
leaq 0x2dad(%rip), %rax      # 0xc2f8
movsd (%rax), %xmm0
movaps %xmm0, 0x20(%rsp)
leaq 0x2d85(%rip), %rax      # 0xc2e0
movsd (%rax), %xmm0
movaps %xmm0, 0x40(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x2290
movaps %xmm0, 0x30(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x2290
movapd 0x2a99(%rip), %xmm6     # 0xc020
movapd 0x10(%rsp), %xmm7
xorpd %xmm7, %xmm6
movsd (%r14), %xmm1
movsd (%rbx), %xmm2
movapd %xmm2, %xmm3
unpcklpd %xmm1, %xmm3            # xmm3 = xmm3[0],xmm1[0]
movapd 0x50(%rsp), %xmm5
movapd %xmm5, %xmm4
unpckhpd %xmm5, %xmm4            # xmm4 = xmm4[1],xmm5[1]
mulpd %xmm4, %xmm3
movapd %xmm4, %xmm8
movapd %xmm5, %xmm4
unpcklpd %xmm5, %xmm4            # xmm4 = xmm4[0],xmm5[0]
unpcklpd %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0]
mulpd %xmm4, %xmm1
addpd %xmm3, %xmm1
unpcklpd %xmm7, %xmm6            # xmm6 = xmm6[0],xmm7[0]
movapd 0x20(%rsp), %xmm2
unpcklpd %xmm2, %xmm2            # xmm2 = xmm2[0,0]
mulpd %xmm6, %xmm2
movapd 0x40(%rsp), %xmm3
unpcklpd %xmm3, %xmm3            # xmm3 = xmm3[0,0]
mulpd %xmm2, %xmm3
unpcklpd 0x30(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0]
mulpd %xmm3, %xmm0
addpd %xmm1, %xmm0
movapd %xmm0, 0x10(%rsp)
addsd %xmm5, %xmm8
movapd %xmm8, 0x30(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x2060
movapd %xmm0, %xmm2
mulsd 0x30(%rsp), %xmm2
mulsd 0x40(%rsp), %xmm2
mulsd 0x20(%rsp), %xmm2
movapd 0x10(%rsp), %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
mulsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x9650
sqrtsd %xmm0, %xmm0
jmp 0x9661
movsd %xmm2, 0x8(%rsp)
callq 0x2120
movsd 0x8(%rsp), %xmm2
divsd %xmm0, %xmm2
movapd %xmm2, %xmm0
addq $0x68, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/PeterDenton[P]Nu-Pert/src/Mixed.cpp
// Function: Mixed::Talphabetai(int, int, int, double, double, int)
std::complex<double> Talphabetai(int alpha, int beta, int i, double a, double delta, int order)
{
	assert (alpha >= 0 && alpha <= 2); // alpha valid for 0, 1, 2
	assert (beta >= 0 && beta <= 2); // beta valid for 0, 1, 2
	assert (i >= 0 && i <= 2); // i valid for 0, 1, 2

	Matrix<std::complex<double> > U = UMNSm(a, delta, order);
	return std::conj(U(alpha, i)) * U(beta, i);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
cmpl $0x3, %edi
jae 0x99e3
movl %esi, %ebx
cmpl $0x3, %esi
jae 0x99fc
movl %edx, %ebp
cmpl $0x3, %edx
jae 0x9a15
movl %edi, %r14d
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movl %ecx, %esi
callq 0x9671
movl %r14d, %esi
movl %ebp, %r14d
movq %r15, %rdi
movq %r14, %rdx
callq 0x87b0
movsd 0x8(%rax), %xmm0
xorps 0x2693(%rip), %xmm0     # 0xc020
movsd (%rax), %xmm1
movsd %xmm1, 0x10(%rsp)
movlps %xmm0, 0x18(%rsp)
movl %ebx, %esi
leaq 0x20(%rsp), %rdi
movq %r14, %rdx
callq 0x87b0
leaq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x3719
movsd %xmm0, 0x8(%rsp)
movsd %xmm1, (%rsp)
leaq 0x20(%rsp), %rdi
callq 0x87a2
movsd 0x8(%rsp), %xmm0
movsd (%rsp), %xmm1
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2795(%rip), %rdi      # 0xc17f
leaq 0x314f(%rip), %rsi      # 0xcb40
leaq 0x3156(%rip), %rcx      # 0xcb4e
pushq $0x76
jmp 0x9a2c
leaq 0x27e1(%rip), %rdi      # 0xc1e4
leaq 0x3136(%rip), %rsi      # 0xcb40
leaq 0x313d(%rip), %rcx      # 0xcb4e
pushq $0x77
jmp 0x9a2c
leaq 0x27df(%rip), %rdi      # 0xc1fb
leaq 0x311d(%rip), %rsi      # 0xcb40
leaq 0x3124(%rip), %rcx      # 0xcb4e
pushq $0x78
popq %rdx
callq 0x2100
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x87a2
movq %rbx, %rdi
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O2/PeterDenton[P]Nu-Pert/src/Progress.cpp
// Function: Progress_Bar::Progress_Bar()
Progress_Bar::Progress_Bar()
{
	progress = 0;
	bar_width = 55;
	start_time = time(NULL);
	elapsed_time = 0;
	N_stats = 0;
	update(0);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x70b1(%rip), %rax      # 0x10d98
movq %rax, (%rdi)
andq $0x0, 0x10(%rdi)
movl $0x37, 0x8(%rdi)
xorl %edi, %edi
callq 0x2160
cvtsi2sd %rax, %xmm0
movsd %xmm0, 0x18(%rbx)
andq $0x0, 0x20(%rbx)
andl $0x0, 0x670(%rbx)
xorpd %xmm0, %xmm0
movq %rbx, %rdi
popq %rbx
jmp 0x9d20
// File: /workspace/github_cpp_makefile_star2_O2/PeterDenton[P]Nu-Pert/src/Progress.cpp
// Function: Progress_Bar::~Progress_Bar()
Progress_Bar::~Progress_Bar()
{
	if (not Progress_Bar_visible)
		return;
	update(1);
	elapsed_time = time(NULL) - start_time;
	std::cerr << std::endl;
	std::cerr << "Elapsed time: " << elapsed_time << " ";
	if (Progress_Bar_statistics)
	{
		double sum = 0;
		double sumsq = 0;
		double res;
		for (int i = 0; i < N_stats; i++)
		{
			res = times[0][i] + times[1][i] - elapsed_time;
			sum += res;
			sumsq += pow(res, 2);
		}
		std::cerr << "Mean: " << sum / N_stats << " STD: " << sqrt(sumsq / N_stats - pow(sum / N_stats, 2)) << " N: " << N_stats;
	}
	std::cerr << std::endl;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
leaq 0x6e86(%rip), %rax      # 0x10d98
movq %rax, (%rdi)
cmpb $0x1, 0x729f(%rip)      # 0x111bb
jne 0xa0a0
movq %rdi, %rbx
movsd 0x20eb(%rip), %xmm0     # 0xc018
callq 0x9d20
xorl %edi, %edi
callq 0x2160
cvtsi2sd %rax, %xmm0
subsd 0x18(%rbx), %xmm0
movsd %xmm0, 0x20(%rbx)
movq 0x70a1(%rip), %rdi      # 0x10ff0
callq 0x20d0
movq 0x7095(%rip), %rdi      # 0x10ff0
leaq 0x2c9e(%rip), %rsi      # 0xcc00
callq 0x2190
movsd 0x20(%rbx), %xmm0
movq %rax, %rdi
callq 0x2240
leaq 0x2cb3(%rip), %rsi      # 0xcc2e
movq %rax, %rdi
callq 0x2190
cmpb $0x1, 0x7232(%rip)      # 0x111bc
jne 0xa094
movl 0x670(%rbx), %eax
movsd 0x20(%rbx), %xmm0
xorl %ecx, %ecx
testl %eax, %eax
cmovlel %ecx, %eax
xorpd %xmm1, %xmm1
movsd %xmm1, 0x10(%rsp)
movsd %xmm1, 0x8(%rsp)
cmpq %rcx, %rax
je 0x9ff3
movsd 0x30(%rbx,%rcx,8), %xmm1
addsd 0x350(%rbx,%rcx,8), %xmm1
subsd %xmm0, %xmm1
movsd 0x8(%rsp), %xmm2
addsd %xmm1, %xmm2
movsd %xmm2, 0x8(%rsp)
mulsd %xmm1, %xmm1
movsd 0x10(%rsp), %xmm2
addsd %xmm1, %xmm2
movsd %xmm2, 0x10(%rsp)
incq %rcx
jmp 0x9fb2
movq 0x6ff6(%rip), %rdi      # 0x10ff0
leaq 0x2c0e(%rip), %rsi      # 0xcc0f
callq 0x2190
cvtsi2sdl 0x670(%rbx), %xmm1
movsd 0x8(%rsp), %xmm0
divsd %xmm1, %xmm0
movq %rax, %rdi
callq 0x2240
leaq 0x2bef(%rip), %rsi      # 0xcc16
movq %rax, %rdi
callq 0x2190
movq %rax, %r14
cvtsi2sdl 0x670(%rbx), %xmm0
movsd 0x10(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd 0x8(%rsp), %xmm2
divsd %xmm0, %xmm2
mulsd %xmm2, %xmm2
subsd %xmm2, %xmm1
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
movapd %xmm1, %xmm0
jb 0xa06a
sqrtsd %xmm0, %xmm0
jmp 0xa06f
callq 0x2120
movq %r14, %rdi
callq 0x2240
leaq 0x2b9f(%rip), %rsi      # 0xcc1d
movq %rax, %rdi
callq 0x2190
movl 0x670(%rbx), %esi
movq %rax, %rdi
callq 0x2260
movq 0x6f55(%rip), %rdi      # 0x10ff0
callq 0x20d0
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rdi
callq 0xa137
// File: /workspace/github_cpp_makefile_star2_O2/PeterDenton[P]Nu-Pert/src/Progress.cpp
// Function: Progress_Bar::update(double, double, double, bool)
void Progress_Bar::update(double min, double max, double val, bool linear = true)
{
	if (linear)
		update((val - min) / (max - min));
	else
		update(log(val / min) / log(max / min));
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
testl %esi, %esi
je 0xa0dc
subsd %xmm0, %xmm2
subsd %xmm0, %xmm1
divsd %xmm1, %xmm2
jmp 0xa116
divsd %xmm0, %xmm2
movsd %xmm0, 0x10(%rsp)
movapd %xmm2, %xmm0
movsd %xmm1, 0x8(%rsp)
callq 0x2130
movsd %xmm0, 0x18(%rsp)
movsd 0x8(%rsp), %xmm0
divsd 0x10(%rsp), %xmm0
callq 0x2130
movsd 0x18(%rsp), %xmm2
divsd %xmm0, %xmm2
movq %rbx, %rdi
movapd %xmm2, %xmm0
addq $0x20, %rsp
popq %rbx
jmp 0x9d20
// File: /workspace/github_cpp_makefile_star2_O2/PeterDenton[P]Nu-Pert/src/Warning.cpp
// Function: IndexWarning::IndexWarning(int, int, double)
IndexWarning::IndexWarning(int _min, int _max, double _val)
: min(_min), max(_max), val(_val)
{
	name = "IndexWarning";
	std::ostringstream tmp;
	tmp << "Index range = [" << min << ", " << max << "], " << val << " was provided.";
	message = tmp.str();
	N_IndexWarning++;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movsd %xmm0, (%rsp)
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
callq 0xaa1c
movl %r14d, 0x48(%rbx)
movl %ebp, 0x4c(%rbx)
movsd (%rsp), %xmm0
movsd %xmm0, 0x50(%rbx)
leaq 0x21c8(%rip), %rsi      # 0xcd63
movq %rbx, %rdi
callq 0x22a0
leaq 0x28(%rsp), %rdi
callq 0x21e0
leaq 0x21bc(%rip), %rsi      # 0xcd70
leaq 0x28(%rsp), %rdi
callq 0x2190
movl 0x48(%rbx), %esi
movq %rax, %rdi
callq 0x2260
leaq 0x21b1(%rip), %rsi      # 0xcd81
movq %rax, %rdi
callq 0x2190
movl 0x4c(%rbx), %esi
movq %rax, %rdi
callq 0x2260
leaq 0x2196(%rip), %rsi      # 0xcd80
movq %rax, %rdi
callq 0x2190
movsd 0x50(%rbx), %xmm0
movq %rax, %rdi
callq 0x2240
leaq 0x217e(%rip), %rsi      # 0xcd84
movq %rax, %rdi
callq 0x2190
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x2230
addq $0x20, %rbx
leaq 0x8(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x21b0
movq %r14, %rdi
callq 0x20c0
incl 0x6589(%rip)            # 0x111c8
leaq 0x28(%rsp), %rdi
callq 0x2070
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
popq %r14
popq %rbp
retq
jmp 0xac5e
jmp 0xac59
movq %rax, %r14
jmp 0xac6b
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x2070
movq %rbx, %rdi
callq 0xaa7a
movq %r14, %rdi
callq 0x2280
nop
// File: /workspace/github_cpp_makefile_star2_O2/PeterDenton[P]Nu-Pert/src/Warning.cpp
// Function: EdgeCaseWarning::EdgeCaseWarning(double, double, double)
EdgeCaseWarning::EdgeCaseWarning(double _min, double _max, double _val)
: min(_min), max(_max), val(_val)
{
	name = "EdgeCaseWarning";
	std::ostringstream tmp;
	tmp << "Range = [" << min << ", " << max << "], " << val << " was returned.";
	message = tmp.str();
	N_EdgeCaseWarning++;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movsd %xmm2, 0x18(%rsp)
movsd %xmm1, 0x10(%rsp)
movsd %xmm0, 0x8(%rsp)
movq %rdi, %rbx
callq 0xaa1c
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x48(%rbx)
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x50(%rbx)
movsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x58(%rbx)
leaq 0x20cb(%rip), %rsi      # 0xcd93
movq %rbx, %rdi
callq 0x22a0
leaq 0x40(%rsp), %rdi
callq 0x21e0
leaq 0x20c2(%rip), %rsi      # 0xcda3
leaq 0x40(%rsp), %rdi
callq 0x2190
movsd 0x48(%rbx), %xmm0
movq %rax, %rdi
callq 0x2240
leaq 0x2082(%rip), %rsi      # 0xcd81
movq %rax, %rdi
callq 0x2190
movsd 0x50(%rbx), %xmm0
movq %rax, %rdi
callq 0x2240
leaq 0x2065(%rip), %rsi      # 0xcd80
movq %rax, %rdi
callq 0x2190
movsd 0x58(%rbx), %xmm0
movq %rax, %rdi
callq 0x2240
leaq 0x2076(%rip), %rsi      # 0xcdad
movq %rax, %rdi
callq 0x2190
leaq 0x48(%rsp), %rsi
leaq 0x20(%rsp), %rdi
callq 0x2230
addq $0x20, %rbx
leaq 0x20(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x21b0
movq %r14, %rdi
callq 0x20c0
incl 0x645c(%rip)            # 0x111cc
leaq 0x40(%rsp), %rdi
callq 0x2070
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
retq
jmp 0xad8e
jmp 0xad89
movq %rax, %r14
jmp 0xad9b
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x2070
movq %rbx, %rdi
callq 0xaa7a
movq %r14, %rdi
callq 0x2280
nop
// File: /workspace/github_cpp_makefile_star2_O2/PeterDenton[P]Nu-Pert/src/Warning.cpp
// Function: ProbabilityWarning::ProbabilityWarning(double*)
ProbabilityWarning::ProbabilityWarning(double *P)
{
	if (*P >= 0 and *P <= 1)
	{
		N_Warning--;
		warn = false;		
	}
	else
	{
		name = "ProbabilityWarning";
		std::ostringstream tmp;
		tmp << "P = " << *P << ", is outside of [0, 1]. Setting P to " << (*P < 0 ? 0 : 1) << ".";
		*P = (*P < 0 ? 0 : 1);
		message = tmp.str();
		N_ProbabilityWarning++;
	}
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rsi, %r14
movq %rdi, %rbx
callq 0xaa1c
movsd (%r14), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xaded
movsd 0x1240(%rip), %xmm1     # 0xc018
ucomisd %xmm0, %xmm1
jb 0xaded
decl 0x63e0(%rip)            # 0x111c4
movb $0x0, 0x40(%rbx)
jmp 0xaeaf
leaq 0x1fc8(%rip), %rsi      # 0xcdbc
movq %rbx, %rdi
callq 0x22a0
leaq 0x20(%rsp), %rdi
callq 0x21e0
leaq 0x1fc2(%rip), %rsi      # 0xcdcf
leaq 0x20(%rsp), %rdi
callq 0x2190
movsd (%r14), %xmm0
movq %rax, %rdi
callq 0x2240
leaq 0x1fa9(%rip), %rsi      # 0xcdd4
movq %rax, %rdi
callq 0x2190
xorpd %xmm0, %xmm0
xorl %esi, %esi
ucomisd (%r14), %xmm0
setbe %sil
movq %rax, %rdi
callq 0x2260
leaq 0x1f40(%rip), %rsi      # 0xcd91
movq %rax, %rdi
callq 0x2190
movsd (%r14), %xmm0
xorpd %xmm1, %xmm1
cmpnltsd %xmm1, %xmm0
movsd 0x11a9(%rip), %xmm1     # 0xc018
andpd %xmm0, %xmm1
movlpd %xmm1, (%r14)
leaq 0x28(%rsp), %rsi
movq %rsp, %rdi
callq 0x2230
addq $0x20, %rbx
movq %rsp, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x21b0
movq %r14, %rdi
callq 0x20c0
incl 0x632b(%rip)            # 0x111d0
leaq 0x20(%rsp), %rdi
callq 0x2070
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r14
retq
jmp 0xaec3
jmp 0xaebe
movq %rax, %r14
jmp 0xaed0
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x2070
movq %rbx, %rdi
callq 0xaa7a
movq %r14, %rdi
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O2/PeterDenton[P]Nu-Pert/src/Verify.cpp
// Function: main
int main()
{
//	set_Progress_Bar_visibility(true);

	std::ofstream out_file("data/Precision_Scan.txt", std::fstream::out);
	out_file << "Tilde basis:" << std::endl;
	out_file.close();
	Verify::Precision_Scan(&Tilde::Palphabeta, 0, 1e-2);
	Verify::Precision_Scan(&Tilde::Palphabeta, 1, 1e-2);

	out_file.open("data/Precision_Scan.txt", std::fstream::app);
	out_file << "Hat basis:" << std::endl;
	out_file.close();
	Verify::Precision_Scan(&Hat::Palphabeta, 0, 1e-2);
	Verify::Precision_Scan(&Hat::Palphabeta, 0, 1e-3);
	Verify::Precision_Scan(&Hat::Palphabeta, 1, 1e-2);
	Verify::Precision_Scan(&Hat::Palphabeta, 1, 1e-3);

	out_file.open("data/Precision_Scan.txt", std::fstream::app);
	out_file << "Check basis (GF):" << std::endl;
	out_file.close();
	Verify::Precision_Scan(&GF::Palphabeta, 0, 1e-2);
	Verify::Precision_Scan(&Check::Palphabeta, 0, 1e-2);
	Verify::Precision_Scan(&GF::Palphabeta, 0, 1e-3);
	Verify::Precision_Scan(&GF::Palphabeta, 1, 1e-3);

	out_file.close();
	return 0;
}

// Assembly:
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
leaq 0x1aa7(%rip), %rsi      # 0xce38
movq %rsp, %rbx
pushq $0x10
popq %rdx
movq %rbx, %rdi
callq 0x21a0
leaq 0x1ad3(%rip), %rsi      # 0xce79
movq %rbx, %rdi
callq 0x2190
movq %rax, %rdi
callq 0x20d0
movq %rsp, %rdi
callq 0x21f0
leaq -0xcb1(%rip), %rdi      # 0xa714
movsd 0x1a5b(%rip), %xmm0     # 0xce28
xorl %esi, %esi
callq 0xaf1d
leaq -0xcc7(%rip), %rdi      # 0xa714
pushq $0x1
popq %rsi
movsd 0x1a42(%rip), %xmm0     # 0xce28
callq 0xaf1d
leaq 0x1a46(%rip), %rsi      # 0xce38
movq %rsp, %rdi
pushq $0x1
popq %rdx
callq 0x2040
leaq 0x1a82(%rip), %rsi      # 0xce86
movq %rsp, %rdi
callq 0x2190
movq %rax, %rdi
callq 0x20d0
movq %rsp, %rdi
callq 0x21f0
leaq -0x473a(%rip), %rdi     # 0x6ce9
movsd 0x19fd(%rip), %xmm0     # 0xce28
xorl %esi, %esi
callq 0xaf1d
leaq -0x4750(%rip), %rdi     # 0x6ce9
movsd 0x19ef(%rip), %xmm0     # 0xce30
xorl %esi, %esi
callq 0xaf1d
leaq -0x4766(%rip), %rdi     # 0x6ce9
pushq $0x1
popq %rsi
movsd 0x19ce(%rip), %xmm0     # 0xce28
callq 0xaf1d
leaq -0x477d(%rip), %rdi     # 0x6ce9
pushq $0x1
popq %rsi
movsd 0x19bf(%rip), %xmm0     # 0xce30
callq 0xaf1d
leaq 0x19bb(%rip), %rsi      # 0xce38
movq %rsp, %rdi
pushq $0x1
popq %rdx
callq 0x2040
leaq 0x1a02(%rip), %rsi      # 0xce91
movq %rsp, %rdi
callq 0x2190
movq %rax, %rdi
callq 0x20d0
movq %rsp, %rdi
callq 0x21f0
leaq -0x55e8(%rip), %rdi     # 0x5ec6
movsd 0x1972(%rip), %xmm0     # 0xce28
xorl %esi, %esi
callq 0xaf1d
leaq -0x80ea(%rip), %rdi     # 0x33da
movsd 0x195c(%rip), %xmm0     # 0xce28
xorl %esi, %esi
callq 0xaf1d
leaq -0x5614(%rip), %rdi     # 0x5ec6
movsd 0x194e(%rip), %xmm0     # 0xce30
xorl %esi, %esi
callq 0xaf1d
leaq -0x562a(%rip), %rdi     # 0x5ec6
pushq $0x1
popq %rsi
movsd 0x1935(%rip), %xmm0     # 0xce30
callq 0xaf1d
movq %rsp, %rdi
callq 0x21f0
movq %rsp, %rdi
callq 0x2200
xorl %eax, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2200
movq %rbx, %rdi
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O2/jaldhar[P]Lets-Build-a-Simple-Interpreter/calc6.cc
// Function: Lexer::integer()
long Lexer::integer() {
    string result("");

    while (_current_char != '\0' && isdigit(_current_char)) {
        result += _current_char;
        advance();
    }

    return stol(result);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0xad5(%rip), %rsi       # 0x30ba
leaq 0x8(%rsp), %r14
leaq 0x7(%rsp), %rdx
movq %r14, %rdi
callq 0x2a3c
movsbl 0x10(%rbx), %eax
leal -0x30(%rax), %ecx
cmpl $0x9, %ecx
ja 0x2618
movsbl %al, %esi
movq %r14, %rdi
callq 0x2100
movq %rbx, %rdi
callq 0x2656
jmp 0x25f7
leaq 0x8(%rsp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x2a77
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2090
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x2641
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2090
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/jaldhar[P]Lets-Build-a-Simple-Interpreter/calc6.cc
// Function: Interpreter::expression()
long Interpreter::expression() {
    long result = term();

    while (_current_token.type == TOKENTYPE::PLUS ||
    _current_token.type == TOKENTYPE::MINUS) {
        Token token = _current_token;
        if (token.type == TOKENTYPE::PLUS) {
            eat(TOKENTYPE::PLUS);
            result += term();
        } else if (token.type == TOKENTYPE::MINUS) {
            eat(TOKENTYPE::MINUS);
            result -= term();
        }
    }

    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x26fc
movq %rax, %r14
pushq $0x2
popq %rbp
pushq $0x3
popq %r15
movl 0x8(%rbx), %eax
movl %eax, %ecx
andl $-0x2, %ecx
cmpl $0x2, %ecx
jne 0x26ed
movq %rbx, %rdi
cmpl $0x2, %eax
jne 0x26d8
movl %ebp, %esi
callq 0x2796
movq %rbx, %rdi
callq 0x26fc
addq %rax, %r14
jmp 0x26af
movl %r15d, %esi
callq 0x2796
movq %rbx, %rdi
callq 0x26fc
subq %rax, %r14
jmp 0x26af
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/jaldhar[P]Lets-Build-a-Simple-Interpreter/calc6.cc
// Function: Interpreter::term()
long Interpreter::term() {
    long result = factor();
                                                                      
    while (_current_token.type == TOKENTYPE::MUL
    || _current_token.type == TOKENTYPE::DIV) {
        Token token = _current_token;
        if (token.type == TOKENTYPE::MUL) {
            eat(TOKENTYPE::MUL);
            result *= factor();
        } else if (token.type == TOKENTYPE::DIV) {
            eat(TOKENTYPE::DIV);
            long rhs = factor();
            if (rhs == 0) {
                throw("Division by zero");
            }
            result /= rhs;
        }
    }

    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x2854
movq %rax, %r14
pushq $0x4
popq %rbp
pushq $0x5
popq %r15
movl 0x8(%rbx), %eax
movl %eax, %ecx
andl $-0x2, %ecx
cmpl $0x4, %ecx
jne 0x2764
movq %rbx, %rdi
cmpl $0x4, %eax
jne 0x273f
movl %ebp, %esi
callq 0x2796
movq %rbx, %rdi
callq 0x2854
imulq %rax, %r14
jmp 0x2715
movl %r15d, %esi
callq 0x2796
movq %rbx, %rdi
callq 0x2854
testq %rax, %rax
je 0x2772
movq %rax, %rcx
movq %r14, %rax
cqto
idivq %rcx
movq %rax, %r14
jmp 0x2715
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $0x8
popq %rdi
callq 0x20b0
leaq 0x964(%rip), %rcx       # 0x30e5
movq %rcx, (%rax)
movq 0x2825(%rip), %rsi      # 0x4fb0
movq %rax, %rdi
xorl %edx, %edx
callq 0x21b0
nop
// File: /workspace/github_cpp_makefile_star2_O2/jaldhar[P]Lets-Build-a-Simple-Interpreter/calc6.cc
// Function: Interpreter::eat(TOKENTYPE)
void Interpreter::eat(TOKENTYPE token_type) {
    if (_current_token.type == token_type) {
        _current_token = _lexer.get_next_token();
    } else {
        ostringstream out;
        out << "Error parsing input. Wanted: " << token_type;
        throw(out.str().c_str());
    }
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movl %esi, 0xc(%rsp)
cmpl %esi, 0x8(%rdi)
jne 0x27c6
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x23ec
movl %eax, 0x8(%rbx)
movq %rdx, 0x10(%rbx)
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r14
retq
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0x2160
leaq 0x8c3(%rip), %rsi       # 0x309d
movq %rbx, %rdi
callq 0x2140
leaq 0xc(%rsp), %rsi
movq %rax, %rdi
callq 0x231c
pushq $0x8
popq %rdi
callq 0x20b0
movq %rax, %r14
leaq 0x38(%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x2190
movq 0x10(%rsp), %rax
movq %rax, (%r14)
movq 0x2798(%rip), %rsi      # 0x4fb0
movq %r14, %rdi
xorl %edx, %edx
callq 0x21b0
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x2090
jmp 0x2841
movq %rax, %rbx
movq %r14, %rdi
callq 0x20e0
jmp 0x2841
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x2060
movq %rbx, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/jaldhar[P]Lets-Build-a-Simple-Interpreter/calc6.cc
// Function: Interpreter::factor()
long Interpreter::factor() {
    Token token = _current_token;
    
    if (token.type == TOKENTYPE::INTEGER) {
        eat(TOKENTYPE::INTEGER);
        return token.value;
    } else if (token.type == TOKENTYPE::LPAREN) {
        eat(TOKENTYPE::LPAREN);
        long result = expression();
        eat(TOKENTYPE::RPAREN);
        return result;
    } else {
        ostringstream out;
        out << "Error parsing input. Wanted: Integer or (";
        throw(out.str().c_str());
    }
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rdi, %rbx
movl 0x8(%rdi), %eax
cmpl $0x6, %eax
je 0x2876
cmpl $0x1, %eax
jne 0x28a5
movq 0x10(%rbx), %r14
pushq $0x1
jmp 0x288e
pushq $0x6
popq %rsi
movq %rbx, %rdi
callq 0x2796
movq %rbx, %rdi
callq 0x2696
movq %rax, %r14
pushq $0x7
popq %rsi
movq %rbx, %rdi
callq 0x2796
movq %r14, %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r14
retq
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x2160
leaq 0x802(%rip), %rsi       # 0x30bb
movq %rbx, %rdi
callq 0x2140
pushq $0x8
popq %rdi
callq 0x20b0
movq %rax, %r14
leaq 0x28(%rsp), %rsi
movq %rsp, %rdi
callq 0x2190
movq (%rsp), %rax
movq %rax, (%r14)
movq 0x26c9(%rip), %rsi      # 0x4fb0
movq %r14, %rdi
xorl %edx, %edx
callq 0x21b0
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2090
jmp 0x290e
movq %rax, %rbx
movq %r14, %rdi
callq 0x20e0
jmp 0x290e
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x2060
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/git-kale[P]CppContainer/container.cpp
// Function: stack_memory()
char *stack_memory()
{
    const int stackSize = 65536;
    auto *stack = new (std::nothrow) char[stackSize];

    if (stack == nullptr)
    { // Can't allocate memory from heap hence `new` will return null pointer
        printf("Memory allocation failed !! \n");
        exit(1);
    }

    return stack + stackSize; // As stack grows backward so we have to start from end of stack   {(end of stack)| *stack|-------> stackSize(start of stack)}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x2d41(%rip), %rsi      # 0x3fc8
movl $0x10000, %edi          # imm = 0x10000
callq 0x1110
testq %rax, %rax
je 0x129e
addq $0x10000, %rax          # imm = 0x10000
popq %rbp
retq
leaq 0xddb(%rip), %rdi       # 0x2080
callq 0x1100
pushq $0x1
popq %rdi
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O2/git-kale[P]CppContainer/container.cpp
// Function: jail(void*)
int jail(void *args)
{

    printf("Namastey from JAIL \n");
    printf("jail pid : %d\n", getpid());
    sethostname("Devil's Nest", 13);
    setup_vars();

    setup_root("./root");

    mount("proc", "/proc", "proc", 0, 0);

    auto runThis = [](void *args) -> int { run("/bin/sh"); };

    clone_process(runThis, SIGCHLD);

    umount("/proc");
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
leaq 0xdde(%rip), %rdi       # 0x209d
callq 0x1100
callq 0x10c0
leaq 0xd34(%rip), %rdi       # 0x2004
movl %eax, %esi
xorl %eax, %eax
callq 0x1030
leaq 0xd33(%rip), %rdi       # 0x2013
pushq $0xd
popq %rsi
callq 0x1040
callq 0x134a
leaq 0xd2c(%rip), %rdi       # 0x2020
callq 0x137e
leaq 0xd27(%rip), %rbx       # 0x2027
leaq 0xd21(%rip), %rdi       # 0x2028
movq %rbx, %rsi
movq %rdi, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x1130
callq 0x127c
leaq 0xb7(%rip), %rdi        # 0x13da
pushq $0x11
popq %rdx
movq %rax, %rsi
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x1120
xorl %edi, %edi
callq 0x10a0
movq %rbx, %rdi
callq 0x10b0
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/git-kale[P]CppContainer/container.cpp
// Function: main
int main(int argc, char **argv)
{

    printf("Namastey from main(), Waiting for JAIL.....\n");
    printf("parent pid : %d\n", getpid());

    clone_process(jail, CLONE_NEWPID | CLONE_NEWUTS | SIGCHLD);
    printf("Exitting from container.... \n");

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0xd12(%rip), %rdi       # 0x20b1
callq 0x1100
callq 0x10c0
leaq 0xcb7(%rip), %rdi       # 0x2067
movl %eax, %esi
xorl %eax, %eax
callq 0x1030
leaq -0x10e(%rip), %rdi      # 0x12b2
movl $0x24000011, %esi       # imm = 0x24000011
callq 0x13ea
leaq 0xd0c(%rip), %rdi       # 0x20dd
callq 0x1100
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/nmmmnu[P]HM3/test/test_glob.cc
// Function: main
int main(int argc, char **argv){
	if (argc < 2){
		print_usage(argv[0]);
		return 1;
	}

	const char *path = argv[1];

	MyGlob gl = getGlobSimulateMove(path);

	for(const StringRef &s : gl.getData())
		std::cout << s << '\n';

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x68, %rsp
cmpl $0x1, %edi
jg 0x130b
movq (%rsi), %rbx
leaq 0xd4f(%rip), %rdi       # 0x2033
callq 0x1130
leaq 0xd14(%rip), %rdi       # 0x2004
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1030
leaq 0xd39(%rip), %rdi       # 0x203a
callq 0x1130
pushq $0x1
popq %rax
jmp 0x1356
movq 0x8(%rsi), %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0x127c
movq 0x50(%r14), %rbx
movq 0x58(%r14), %r15
movq 0x2caf(%rip), %r14      # 0x3fd8
pushq $0xa
popq %rbp
cmpq %r15, %rbx
je 0x134c
movq %r14, %rdi
movq %rbx, %rsi
callq 0x13ba
movq %rax, %rdi
movl %ebp, %esi
callq 0x1100
addq $0x10, %rbx
jmp 0x132c
movq %rsp, %rdi
callq 0x13a4
xorl %eax, %eax
addq $0x68, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x13a4
movq %rbx, %rdi
callq 0x1140
// File: /workspace/github_cpp_makefile_star2_O2/nmmmnu[P]HM3/common/myglob.cc
// Function: MyGlob::swap(MyGlob&)
void MyGlob::swap(MyGlob &other){
	using std::swap;

	swap(globresults_,	other.globresults_	);
	swap(isOpen_,		other.isOpen_		);
	swap(data_,		other.data_		);
}

// Assembly:
movq %rsi, %rax
movq %rdi, %rdx
movabsq $0x9, %r8
leaq -0x48(%rsp), %r9
movq %r8, %rcx
movq %r9, %rdi
movq %rdx, %rsi
rep  movsq (%rsi), %es:(%rdi)
movq %r8, %rcx
movq %rdx, %rdi
movq %rax, %rsi
rep  movsq (%rsi), %es:(%rdi)
movq %r8, %rcx
movq %rax, %rdi
movq %r9, %rsi
rep  movsq (%rsi), %es:(%rdi)
movb 0x48(%rdx), %cl
movb 0x48(%rax), %sil
movb %sil, 0x48(%rdx)
movb %cl, 0x48(%rax)
addq $0x50, %rdx
addq $0x50, %rax
movq %rdx, %rdi
movq %rax, %rsi
jmp 0x15c0
// File: /workspace/github_cpp_makefile_star2_O2/nmmmnu[P]HM3/common/myglob.cc
// Function: MyGlob::open(StringRef const&)
bool MyGlob::open(const StringRef &path) noexcept{
	if (isOpen_)
		close();


	data_.clear();

	if (open_(path.data(), globresults_) == false)
		return false;

	isOpen_ = true;



	size_t i;
	for(i = 0; i < globresults_.gl_pathc; ++i){
		const char *filename = globresults_.gl_pathv[i];

		if (checkFile_( filename ))
			data_.push_back(filename);
	}



	return i > 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpb $0x1, 0x48(%rdi)
jne 0x14e1
movq %rbx, %rdi
callq 0x1562
movq 0x50(%rbx), %rax
cmpq %rax, 0x58(%rbx)
je 0x14ef
movq %rax, 0x58(%rbx)
movq 0x8(%r14), %rdi
movq %rbx, %rsi
callq 0x1586
testb %al, %al
je 0x1541
leaq 0x50(%rbx), %r14
movb $0x1, 0x48(%rbx)
xorl %r13d, %r13d
movq %rsp, %r15
cmpq (%rbx), %r13
jae 0x1545
movq 0x8(%rbx), %rax
movq (%rax,%r13,8), %r12
movq %r12, %rdi
callq 0x159a
testb %al, %al
je 0x153c
movq %r15, %rdi
movq %r12, %rsi
callq 0x1374
movq %r14, %rdi
movq %r15, %rsi
callq 0x15de
incq %r13
jmp 0x150d
xorl %eax, %eax
jmp 0x154b
testq %r13, %r13
setne %al
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rdi
callq 0x13d2
nop
// File: /workspace/github_cpp_makefile_star2_O2/nmmmnu[P]HM3/common/myglob.cc
// Function: MyGlob::close()
void MyGlob::close() noexcept{
	if (! isOpen_)
		return;

	globfree(& globresults_);
	data_.clear();

	isOpen_ = false;
}

// Assembly:
cmpb $0x1, 0x48(%rdi)
jne 0x1584
pushq %rbx
movq %rdi, %rbx
callq 0x1040
movq 0x50(%rbx), %rax
cmpq %rax, 0x58(%rbx)
je 0x157f
movq %rax, 0x58(%rbx)
movb $0x0, 0x48(%rbx)
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RGBD/RGBDTransform.cpp
// Function: gaps::RGBDTransformTextureToWorld(gaps::R2Point const&, gaps::R3Point&, gaps::RGBDSurface const*)
int RGBDTransformTextureToWorld(const R2Point& texture_position, R3Point& world_position, const RGBDSurface *surface)
{
  // Transform from position in texture coordinates to world coordinates
  R2Point surface_position;
  if (!RGBDTransformTextureToSurface(texture_position, surface_position, surface)) return 0;
  if (!RGBDTransformSurfaceToWorld(surface_position, world_position, surface)) return 0;
  return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x6663e
movq (%r14), %rax
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq *0x38(%rax)
testl %eax, %eax
je 0x157b9
movq (%r14), %rax
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq *0x48(%rax)
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
setne %al
jmp 0x157bb
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RGBD/RGBDTransform.cpp
// Function: gaps::RGBDTransformTextureToCamera(gaps::R2Point const&, gaps::R3Point&, gaps::RGBDSurface const*, gaps::RGBDImage const*)
int RGBDTransformTextureToCamera(const R2Point& texture_position, R3Point& camera_position, const RGBDSurface *surface, const RGBDImage *image)
{
  // Transform from position in texture coordinates to camera coordinates
  R3Point world_position;
  if (!RGBDTransformTextureToWorld(texture_position, world_position, surface)) return 0;
  if (!RGBDTransformWorldToCamera(world_position, camera_position, image)) return 0;
  return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
leaq 0x8(%rsp), %r13
movq %r13, %rdi
callq 0x45d4a
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x15769
testl %eax, %eax
je 0x15833
movq (%r14), %rax
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq *0xa8(%rax)
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
setne %al
jmp 0x15835
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RGBD/RGBDTransform.cpp
// Function: gaps::RGBDTransformWorldToImage(gaps::R3Point const&, gaps::R2Point&, gaps::RGBDImage const*)
int RGBDTransformWorldToImage(const R3Point& world_position, R2Point& image_position, const RGBDImage *image)
{
  // Transform from position in world coordinates to image coordinates
  R3Point camera_position;
  if (!RGBDTransformWorldToCamera(world_position, camera_position, image)) return 0;
  if (!RGBDTransformCameraToImage(camera_position, image_position, image)) return 0;
  return 1;

  // Return success
  return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rsp, %r12
movq %r12, %rdi
callq 0x45d4a
movq (%rbx), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq *0xa8(%rax)
testl %eax, %eax
je 0x158fa
movq %rsp, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x15a53
jmp 0x158fc
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RGBD/RGBDTransform.cpp
// Function: gaps::RGBDTransformSurfaceToCamera(gaps::R2Point const&, gaps::R3Point&, gaps::RGBDSurface const*, gaps::RGBDImage const*)
int RGBDTransformSurfaceToCamera(const R2Point& surface_position, R3Point& camera_position, const RGBDSurface *surface, const RGBDImage *image)
{
  // Transform from position in surface coordinates to camera coordinates
  R3Point world_position;
  if (!RGBDTransformSurfaceToWorld(surface_position, world_position, surface)) return 0;
  if (!RGBDTransformWorldToCamera(world_position, camera_position, image)) return 0;
  return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
leaq 0x8(%rsp), %r13
movq %r13, %rdi
callq 0x45d4a
movq (%r15), %rax
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq *0x48(%rax)
testl %eax, %eax
je 0x15975
movq (%r14), %rax
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq *0xa8(%rax)
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
setne %al
jmp 0x15977
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RGBD/RGBDTransform.cpp
// Function: gaps::RGBDTransformSurfaceToImage(gaps::R2Point const&, gaps::R2Point&, gaps::RGBDSurface const*, gaps::RGBDImage const*)
int RGBDTransformSurfaceToImage(const R2Point& surface_position, R2Point& image_position, const RGBDSurface *surface, const RGBDImage *image)
{
  // Transform from position in surface coordinates to image coordinates
  R3Point world_position;
  if (!RGBDTransformSurfaceToWorld(surface_position, world_position, surface)) return 0;
  if (!RGBDTransformWorldToImage(world_position, image_position, image)) return 0;
  return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %r12
leaq 0x8(%rsp), %r13
movq %r13, %rdi
callq 0x45d4a
movq (%r15), %rax
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq *0x48(%rax)
testl %eax, %eax
je 0x159d0
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x158b5
jmp 0x159d2
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RGBD/RGBDTransform.cpp
// Function: gaps::RGBDTransformWorldToTexture(gaps::R3Point const&, gaps::R2Point&, gaps::RGBDSurface const*)
int RGBDTransformWorldToTexture(const R3Point& world_position, R2Point& texture_position, const RGBDSurface *surface)
{
  // Transform from position in world coordinates to texture coordinates
  R2Point surface_position;
  if (!RGBDTransformWorldToSurface(world_position, surface_position, surface)) return 0;
  if (!RGBDTransformSurfaceToTexture(surface_position, texture_position, surface)) return 0;
  return 1;

  // Return success
  return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x6663e
movq (%r14), %rax
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq *0x50(%rax)
testl %eax, %eax
je 0x15a30
movq (%r14), %rax
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq *0x40(%rax)
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
setne %al
jmp 0x15a32
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RGBD/RGBDTransform.cpp
// Function: gaps::RGBDTransformCameraToImage(gaps::R3Point const&, gaps::R2Point&, gaps::RGBDImage const*)
int RGBDTransformCameraToImage(const R3Point& camera_position, R2Point& image_position, const RGBDImage *image)
{
  // Transform from position in camera coordinates to image coordinates
  if (!image->TransformCameraToImage(camera_position, image_position)) return 0;

  // Check pixel position
  int image_ix = (int) (image_position.X() + 0.5);
  if ((image_ix < 0) || (image_ix >= image->NPixels(RN_X))) return 0;
  int image_iy = (int) (image_position.Y() + 0.5);
  if ((image_iy < 0) || (image_iy >= image->NPixels(RN_Y))) return 0;

#if 0
  // Get/check point depth
  RNScalar point_depth = -camera_position[2];
  if (RNIsNegativeOrZero(point_depth)) return 0;

  // Check depth
  RNScalar image_depth = image->PixelDepth(image_ix, image_iy);
  if ((image_depth == R2_GRID_UNKNOWN_VALUE) || (image_depth == 0)) return 0;

  // If depth is not within 10% of image depth, then probably not 
  if (image_depth < 0.9 * point_depth) return 0;
  if (image_depth > 1.1 * point_depth) return 0;
#endif
  
  // Return success
  return 1;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %rsi
movq (%rdx), %rax
movq %rdx, %rdi
movq %r14, %rdx
callq *0x98(%rax)
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
je 0x15aaf
movsd (%r14), %xmm0
addsd 0x92594(%rip), %xmm0    # 0xa8018
cvttsd2si %xmm0, %ecx
testl %ecx, %ecx
js 0x15aaf
cmpl %ecx, 0x28(%rbx)
jle 0x15aaf
movsd 0x8(%r14), %xmm0
addsd 0x92579(%rip), %xmm0    # 0xa8018
cvttsd2si %xmm0, %ecx
testl %ecx, %ecx
js 0x15aaf
xorl %eax, %eax
cmpl %ecx, 0x2c(%rbx)
setg %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RGBD/RGBDTransform.cpp
// Function: gaps::RGBDTransformCameraToTexture(gaps::R3Point const&, gaps::R2Point&, gaps::RGBDImage const*, gaps::RGBDSurface const*)
int RGBDTransformCameraToTexture(const R3Point& camera_position, R2Point& texture_position, const RGBDImage *image, const RGBDSurface *surface)
{
  // Transform from position in camera coordinates to texture coordinates
  R3Point world_position;
  if (!RGBDTransformCameraToWorld(camera_position, world_position, image)) return 0;
  if (!RGBDTransformWorldToTexture(world_position, texture_position, surface)) return 0;
  return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %r12
leaq 0x8(%rsp), %r13
movq %r13, %rdi
callq 0x45d4a
movq (%r15), %rax
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq *0xa0(%rax)
testl %eax, %eax
je 0x15b05
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x159e0
jmp 0x15b07
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RGBD/RGBDTransform.cpp
// Function: gaps::RGBDTransformCameraToSurface(gaps::R3Point const&, gaps::R2Point&, gaps::RGBDImage const*, gaps::RGBDSurface const*)
int RGBDTransformCameraToSurface(const R3Point& camera_position, R2Point& surface_position, const RGBDImage *image, const RGBDSurface *surface)
{
  // Transform from position in camera coordinates to surface coordinates
  R3Point world_position;
  if (!RGBDTransformCameraToWorld(camera_position, world_position, image)) return 0;
  if (!RGBDTransformWorldToSurface(world_position, surface_position, surface)) return 0;
  return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
leaq 0x8(%rsp), %r13
movq %r13, %rdi
callq 0x45d4a
movq (%r15), %rax
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq *0xa0(%rax)
testl %eax, %eax
je 0x15b85
movq (%r14), %rax
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq *0x50(%rax)
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
setne %al
jmp 0x15b87
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq