LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/tplinderoth[P]introDist/introDist.cpp
// Function: expect2PopDist(double, double)
double expect2PopDist (double p1, double p2) {
	/*
	 * expected distance between two populations
	 */

	// expected genotypes under HWE
	double eg1 = 2.0*p1*(1.0-p1) + 2.0*p1*p1;
	double eg2 = 2.0*p2*(1.0-p2) + 2.0*p2*p2;
	return fabs(eg1 - eg2)/2.0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movapd %xmm0, %xmm2
addsd %xmm0, %xmm2
movsd 0x4334(%rip), %xmm3     # 0xa008
movapd %xmm3, %xmm4
subsd %xmm0, %xmm4
mulsd %xmm2, %xmm0
mulsd %xmm2, %xmm4
addsd %xmm4, %xmm0
movapd %xmm1, %xmm2
addsd %xmm1, %xmm2
subsd %xmm1, %xmm3
mulsd %xmm2, %xmm1
mulsd %xmm2, %xmm3
addsd %xmm1, %xmm3
subsd %xmm3, %xmm0
andpd 0x4344(%rip), %xmm0     # 0xa050
mulsd 0x431c(%rip), %xmm0     # 0xa030
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/tplinderoth[P]introDist/introDist.cpp
// Function: calc3Dist(double, double, double, double)
double calc3Dist (double g1, double g2, double p1, double p2) {
	/*
	 * this calculates the average, expected distance between (possibly admixed) individuals and their population
	 * weighted by the distance between the distance between the (possibly admixed) individuals
	 *
	 * D_1 = (1-d(i1, i2)) * d({i1,p1}, {i2,p2})
	 *
	 * at site s:
	 * Distance between individuals: d(i1, i2) = |g(i1,s) - g(i2,s)|/2
	 * Average, expected distance between individual and pop: d({i1,p1}, {i1,p2}) = ( E[|g(i1,s) - g(p1,s)|] + E[|g(i2,s) - g(p2,s)|] )/4
	 *
	 * over N sites:
	 * D_N = 1/N * sum_from=1_to=N [ (1-d(i1,i2)) * d({i1,p1}, {i2,p2}) ]
	 */

	// expected genotypes under HWE
	double eg1 = 2.0*p1*(1.0-p1) + 2.0*p1*p1;
	double eg2 = 2.0*p2*(1.0-p2) + 2.0*p2*p2;

	// expected distance between individuals and populations
	double pdist = (fabs(g1-eg1) + fabs(g2-eg2))/4.0;

	// distance between individuals
	double idist = fabs(g1-g2)/2.0;

	// weighted distance statistic
	double d = (1.0-idist)*pdist;

	return (d);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movapd %xmm2, %xmm4
addsd %xmm2, %xmm4
movsd 0x20aa(%rip), %xmm6     # 0xa008
movapd %xmm6, %xmm5
movapd %xmm0, %xmm7
movapd 0x20e1(%rip), %xmm8     # 0xa050
subsd %xmm1, %xmm0
andpd %xmm8, %xmm0
mulsd 0x20a8(%rip), %xmm0     # 0xa028
addsd %xmm6, %xmm0
subsd %xmm2, %xmm6
mulsd %xmm4, %xmm2
mulsd %xmm4, %xmm6
addsd %xmm2, %xmm6
movapd %xmm3, %xmm2
addsd %xmm3, %xmm2
subsd %xmm3, %xmm5
mulsd %xmm2, %xmm3
mulsd %xmm2, %xmm5
addsd %xmm3, %xmm5
subsd %xmm6, %xmm7
andpd %xmm8, %xmm7
subsd %xmm5, %xmm1
andpd %xmm8, %xmm1
addsd %xmm1, %xmm7
mulsd 0x2056(%rip), %xmm7     # 0xa020
mulsd %xmm7, %xmm0
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/tplinderoth[P]introDist/generalUtils.cpp
// Function: getCString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
char* getCString (std::string s)
{
	size_t slen = s.length();
	char* cstring = new char[slen + 1];
	s.copy(cstring, slen, 0);
	cstring[slen] = '\0';

	return cstring;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %r14
leaq 0x1(%r14), %rdi
callq 0x3030
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x3060
movb $0x0, (%r15,%r14)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/tplinderoth[P]introDist/generalUtils.cpp
// Function: getFILE(std::basic_fstream<char, std::char_traits<char>>&, char const*, char const*)
bool getFILE(std::fstream &fp, const char* fname, const char* mode)
{
	int writeFile = 0;
	if (strcmp(mode, "out") == 0)
	{
		writeFile = 1;
		if(writeFile && fexists(fname))
		{
			fprintf(stderr,"File already exists: %s\n",fname);
			return false;
		}

		fp.open(fname, std::ios::out);
	}
	else if (strcmp(mode, "app") == 0)
		fp.open(fname, std::ios::app);
	else if (strcmp(mode, "in") == 0)
		fp.open(fname, std::ios::in);

	if( !fp )
	{
		fprintf(stderr,"Error opening FILE handle for file: %s\n",fname);
		fp.close();
		return false;
	}
	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x2024(%rip), %rsi      # 0xaca8
movq %rdx, %rdi
callq 0x3290
testl %eax, %eax
je 0x8cbd
leaq 0x202e(%rip), %rsi      # 0xacc5
movq %r15, %rdi
callq 0x3290
testl %eax, %eax
je 0x8cf5
leaq 0x201f(%rip), %rsi      # 0xacc9
movq %r15, %rdi
callq 0x3290
testl %eax, %eax
jne 0x8d05
movl $0x8, %edx
jmp 0x8cfa
leaq -0xa8(%rbp), %rsi
movq %rbx, %rdi
callq 0x31e0
movl $0x10, %edx
testl %eax, %eax
jne 0x8cfa
movq 0x52f4(%rip), %rax      # 0xdfd0
movq (%rax), %rdi
leaq 0x1fc6(%rip), %rsi      # 0xacac
xorl %r15d, %r15d
movq %rbx, %rdx
xorl %eax, %eax
callq 0x32a0
jmp 0x8d17
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x31f0
movq (%r14), %rax
movq -0x18(%rax), %rax
movb $0x1, %r15b
testb $0x5, 0x20(%r14,%rax)
jne 0x8d28
movl %r15d, %eax
addq $0x98, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x52a1(%rip), %rax      # 0xdfd0
movq (%rax), %rdi
leaq 0x1f93(%rip), %rsi      # 0xaccc
xorl %r15d, %r15d
movq %rbx, %rdx
xorl %eax, %eax
callq 0x32a0
movq %r14, %rdi
callq 0x3050
jmp 0x8d17
// File: /workspace/github_cpp_makefile_star2_O1/tplinderoth[P]introDist/generalUtils.cpp
// Function: readChunk(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, unsigned int*, int*, std::istream&)
bool readChunk (std::vector<std::string>& datavec, unsigned int* chunk, int* end, std::istream& is)
{
	unsigned int i = 0;
	std::string(line);
	size_t cap = 0;

	if (!datavec.empty())
	{
		cap = datavec.capacity();
		datavec.clear();
		if (datavec.capacity() < cap)
			datavec.reserve(cap);
	}
	while (i < *chunk)
	{
		if (getline(is, line))
		{
			datavec.push_back(line);
			++i;
		}
		else if (is.eof())
		{
			datavec.resize(i); // remove empty elements
			*end = 1;
			*chunk = i; // number of lines processed upon returning
			return(true);
		}
		else
		{
			fprintf(stderr, "Failed reading stream in readChunk function\n");
			return(false);
		}
	}
	return(true);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r13
movq %rdx, -0x30(%rbp)
movq %rsi, %rbx
movq %rdi, %r12
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq (%rdi), %rsi
cmpq 0x8(%rdi), %rsi
je 0x8de0
movq 0x10(%r12), %r14
subq %rsi, %r14
movq %r12, %rdi
callq 0x9448
movq 0x10(%r12), %rax
subq (%r12), %rax
cmpq %r14, %rax
jae 0x8de0
sarq $0x5, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x9224
movb $0x1, %r14b
cmpl $0x0, (%rbx)
je 0x8e60
xorl %r14d, %r14d
leaq -0x50(%rbp), %r15
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %edx
movq %r13, %rdi
movq %r15, %rsi
callq 0x33d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x8e35
movq %r12, %rdi
movq %r15, %rsi
callq 0x9316
incq %r14
cmpl (%rbx), %r14d
jb 0x8def
jmp 0x8e5d
movq (%r13), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x20(%r13,%rax)
je 0x8e8b
movq %r12, %rdi
movq %r14, %rsi
callq 0x9362
movq -0x30(%rbp), %rax
movl $0x1, (%rax)
movl %r14d, (%rbx)
movb $0x1, %r14b
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x8e79
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3220
movl %r14d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3431
xorl %r14d, %r14d
jmp 0x8e60
jmp 0x8e97
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x8eb3
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3220
movq %rbx, %rdi
callq 0x3390
// File: /workspace/github_cpp_makefile_star2_O1/tplinderoth[P]introDist/generalUtils.cpp
// Function: split(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char)
std::vector<std::string> split (const std::string& s, char delim)
{
        std::vector<std::string> elems;
        std::stringstream ss(s);
        std::string sholder;
        while (std::getline(ss, sholder, delim))
        {
                if (!sholder.empty())
                        elems.push_back(sholder);
        }
        return elems;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movl %edx, %r14d
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq -0x1d0(%rbp), %rdi
movl $0x18, %edx
callq 0x3310
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
movsbl %r14b, %r14d
leaq -0x1d0(%rbp), %r15
leaq -0x48(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl %r14d, %edx
callq 0x33d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x8f48
cmpq $0x0, -0x40(%rbp)
je 0x8f18
movq %rbx, %rdi
movq %r12, %rsi
callq 0x9316
jmp 0x8f18
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x8f5d
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3220
movq 0x504c(%rip), %rsi      # 0xdfb0
leaq -0x1d0(%rbp), %rdi
callq 0x3190
leaq -0x150(%rbp), %rdi
callq 0x30e0
movq %rbx, %rax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x8fcd
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x8fae
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3220
movq 0x4ffb(%rip), %rsi      # 0xdfb0
leaq -0x1d0(%rbp), %rdi
callq 0x3190
leaq -0x150(%rbp), %rdi
callq 0x30e0
movq %rbx, %rdi
callq 0x939a
movq %r14, %rdi
callq 0x3390
// File: /workspace/github_cpp_makefile_star2_O1/tplinderoth[P]introDist/generalUtils.cpp
// Function: AssertStyleException::what() const
const char* AssertStyleException::what() const throw()
{
        std::stringstream message;
        message << "Assert type exception occurred:\n";
        if (_error) message << _error;
        return message.str().c_str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, %r14
leaq -0x1b8(%rbp), %rdi
callq 0x3170
leaq -0x1a8(%rbp), %rbx
leaq 0x1c5a(%rip), %rsi      # 0xad21
movl $0x20, %edx
movq %rbx, %rdi
callq 0x3250
movq 0x8(%r14), %r14
testq %r14, %r14
je 0x90f3
movq %r14, %rdi
callq 0x3110
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x3250
leaq -0x1a0(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x3300
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x911f
movq -0x20(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x3220
movq 0x4e8a(%rip), %rsi      # 0xdfb0
leaq -0x1b8(%rbp), %rdi
callq 0x3190
leaq -0x138(%rbp), %rdi
callq 0x30e0
movq %rbx, %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rdi
callq 0x82bb
nop
// File: /workspace/github_cpp_makefile_star2_O1/tplinderoth[P]introDist/generalUtils.cpp
// Function: PreConditionException::what() const
const char* PreConditionException::what() const throw()
{
        std::stringstream message;
        message << "Precondition exception occurred:\n";
        if (_error) message << _error;
        return message.str().c_str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, %r14
leaq -0x1b8(%rbp), %rdi
callq 0x3170
leaq -0x1a8(%rbp), %rbx
leaq 0x1bad(%rip), %rsi      # 0xad42
movl $0x21, %edx
movq %rbx, %rdi
callq 0x3250
movq 0x8(%r14), %r14
testq %r14, %r14
je 0x91c1
movq %r14, %rdi
callq 0x3110
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x3250
leaq -0x1a0(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x3300
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x91ed
movq -0x20(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x3220
movq 0x4dbc(%rip), %rsi      # 0xdfb0
leaq -0x1b8(%rbp), %rdi
callq 0x3190
leaq -0x138(%rbp), %rdi
callq 0x30e0
movq %rbx, %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rdi
callq 0x82bb
nop
// File: /workspace/github_cpp_makefile_star2_O1/tdv[P]boss/boss/examples/construct_destroy/main.cpp
// Function: main
int main()
{
  try
  {
    Boss::Base<MyNs::Impl::Face_1_2_3>::Create(false);
    std::cout << std::endl;
    Boss::Base<MyNs::Impl::Face_1_2_3>::Create(true);
  }
  catch (std::exception const &e)
  {
    std::cerr << "Error: " << e.what() << std::endl;
  }
  return 0;
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
leaq 0xf(%rsp), %rsi
movb $0x0, (%rsi)
leaq 0x18(%rsp), %rdi
callq 0x171a8
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x170ca
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x18(%rsp)
leaq 0xe2386(%rip), %rdi     # 0xf9460
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x64fc0
movsbl %al, %esi
leaq 0xe236b(%rip), %rdi     # 0xf9460
callq 0x83970
movq %rax, %rdi
callq 0x82f40
leaq 0xf(%rsp), %rsi
movb $0x1, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x171a8
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x17124
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x10(%rsp)
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
retq
jmp 0x17137
movq %rax, %rdi
callq 0x1728c
jmp 0x17143
jmp 0x17143
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x1719d
movq %rbx, %rdi
callq 0x18790
movq %rax, %rbx
leaq 0xe21e3(%rip), %rdi     # 0xf9340
leaq 0xa4ea0(%rip), %rsi     # 0xbc004
movl $0x7, %edx
callq 0x83e70
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
leaq 0xe21c2(%rip), %rdi     # 0xf9340
movq %rax, %rsi
callq 0x843a0
movq %rax, %rdi
callq 0x83c80
callq 0x18800
jmp 0x1712d
movq %rax, %rbx
callq 0x18800
movq %rbx, %rdi
callq 0xb8cf0
jmp 0x17137
nop
// File: /workspace/github_cpp_makefile_star2_O1/tdv[P]boss/boss/include/core/base.h
// Function: void Boss::Private::FinalizeConstruct<MyNs::Impl::Face_1_2_3, true>::Construct<MyNs::Impl::Face_1_2_3>(MyNs::Impl::Face_1_2_3*)
static void Construct(ObjType *obj)
      {
        typedef typename T::BaseEntities BaseEntities;
        enum { BaseEntityCount = std::tuple_size<BaseEntities>::value - 1 };
        FinalizeConstructIter<BaseEntities, BaseEntityCount>::Construct(obj);
        CallFinalizeConstruct<HasFinalizeConstruct<T>::Has>::Call(obj);
      }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rdi), %r14
testq %rdi, %rdi
cmoveq %rdi, %r14
leaq 0x28(%rdi), %r15
cmoveq %rdi, %r15
movq %r14, %rdi
callq 0x17fd6
movb $0x1, %bpl
movb %bpl, 0x10(%r14)
movq %r15, %rdi
callq 0x1801a
movb %bpl, 0x10(%r15)
movq %rbx, %rdi
callq 0x18078
movb %bpl, 0x48(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/tdv[P]boss/boss/include/core/base.h
// Function: void Boss::Private::BeforeRelease<MyNs::Impl::Face_1_2_3, true>::Release<MyNs::Impl::Face_1_2_3>(MyNs::Impl::Face_1_2_3*)
static void Release(ObjType *obj)
      {
        typedef typename T::BaseEntities BaseEntities;
        enum { BaseEntityCount = std::tuple_size<BaseEntities>::value - 1 };
        CallBeforeRelease<HasBeforeRelease<T>::Has>::Call(obj);
        BeforeReleaseIter<BaseEntities, BaseEntityCount>::Release(obj);
      }

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpb $0x1, 0x48(%rdi)
jne 0x17e56
movq %rbx, %rdi
callq 0x17eb0
movb $0x0, 0x48(%rbx)
movq %rbx, %rdi
popq %rbx
jmp 0x17e64
nop
// File: /workspace/github_cpp_makefile_star2_O1/jBlinden[P]private-codis/ProtocolServer.cpp
// Function: main
int main(int argc, char **argv)
{
  if (argc < 4)
  {
    cout << "usage: ./ProtocolServer ProtocolArgsFile serverDataDir port" << endl;
    return 1;
  }

  srand(time(NULL));

  ServerLog("finished loading data from disk");

  int port = atoi(argv[3]);

  string pArgsFile(argv[1]);
  string serverDataDir(argv[2]);

  StartServer(port, pArgsFile, serverDataDir);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x90, %rsp
cmpl $0x3, %edi
jg 0x3923
movq 0x66fa(%rip), %rbx      # 0x9fd8
leaq 0x3ba3(%rip), %rsi      # 0x7488
movl $0x3b, %edx
movq %rbx, %rdi
callq 0x2290
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movl $0x1, %eax
jmp 0x3a36
movq %rsi, %rbx
xorl %edi, %edi
callq 0x21e0
movl %eax, %edi
callq 0x2200
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x3b80(%rip), %rsi      # 0x74c4
leaq 0x3b98(%rip), %rdx      # 0x74e3
leaq 0x10(%rsp), %rdi
callq 0x3b5e
leaq 0x10(%rsp), %rdi
callq 0x34e5
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x396e
callq 0x21f0
movq 0x18(%rbx), %rdi
callq 0x2330
movl %eax, %ebp
movq 0x8(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x20f0
movq 0x10(%rbx), %rsi
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x20f0
leaq 0x80(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x70(%rsp), %rdi
callq 0x3ace
leaq 0x60(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x3ace
leaq 0x70(%rsp), %rsi
leaq 0x50(%rsp), %rdx
movl %ebp, %edi
callq 0x35be
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x3a03
callq 0x21f0
movq 0x70(%rsp), %rdi
cmpq %r15, %rdi
je 0x3a12
callq 0x21f0
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a25
callq 0x21f0
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x3a34
callq 0x21f0
xorl %eax, %eax
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x3a5d
callq 0x21f0
jmp 0x3a5d
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r15, %rdi
je 0x3a71
callq 0x21f0
jmp 0x3a71
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a8d
callq 0x21f0
jmp 0x3a8d
jmp 0x3a8a
jmp 0x3a9e
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x3aa1
callq 0x21f0
jmp 0x3aa1
movq %rax, %rbx
movq %rbx, %rdi
callq 0x23a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/bummelbaerchen[P]e3dc/RscpExampleMain.cpp
// Function: ControlLoadData(SRscpFrameBuffer*, int, int)
int ControlLoadData(SRscpFrameBuffer * frameBuffer,int32_t Power,int32_t Mode ) {
    RscpProtocol protocol;
    SRscpValue rootValue;
    // The root container is create with the TAG ID 0 which is not used by any device.
    protocol.createContainerValue(&rootValue, 0);
    
    // request Power Meter information
    SRscpValue PMContainer;
//    Power = Power*-1;
    protocol.createContainerValue(&PMContainer, TAG_EMS_REQ_SET_POWER);
    protocol.appendValue(&PMContainer, TAG_EMS_REQ_SET_POWER_MODE,Mode);
    if (Mode > 0)
    protocol.appendValue(&PMContainer, TAG_EMS_REQ_SET_POWER_VALUE,Power);
    // append sub-container to root container
    protocol.appendValue(&rootValue, PMContainer);
    // free memory of sub-container as it is now copied to rootValue
    protocol.destroyValueData(PMContainer);
 
    
    
    
    // create buffer frame to send data to the S10
    protocol.createFrameAsBuffer(frameBuffer, rootValue.data, rootValue.length, true); // true to calculate CRC on for transfer
    // the root value object should be destroyed after the data is copied into the frameBuffer and is not needed anymore
    protocol.destroyValueData(rootValue);
    
    return 0;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movl %esi, 0x24(%rsp)
movl %edx, 0x20(%rsp)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x76c4
leaq 0x28(%rsp), %rdx
movl $0x0, (%rdx)
leaq 0xe(%rsp), %r9
movb $0xe, (%r9)
leaq 0x1c(%rsp), %r8
movw $0x0, (%r8)
leaq 0x39(%rsp), %rsi
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x80f0
leaq 0x1c(%rsp), %rdx
movl $0x1000030, (%rdx)      # imm = 0x1000030
leaq 0xd(%rsp), %r9
movb $0xe, (%r9)
leaq 0xe(%rsp), %r8
movw $0x0, (%r8)
leaq 0x10(%rsp), %rdi
leaq 0x28(%rsp), %rsi
xorl %ecx, %ecx
callq 0x80f0
leaq 0x1c(%rsp), %rdx
movl $0x1000031, (%rdx)      # imm = 0x1000031
leaq 0xe(%rsp), %r8
movw $0x4, (%r8)
leaq 0xd(%rsp), %r9
movb $0x6, (%r9)
leaq 0x10(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0x20(%rsp), %rcx
callq 0x82b2
cmpl $0x0, 0x20(%rsp)
jle 0x2556
leaq 0x1c(%rsp), %rdx
movl $0x1000032, (%rdx)      # imm = 0x1000032
leaq 0xe(%rsp), %r8
movw $0x4, (%r8)
leaq 0xd(%rsp), %r9
movb $0x6, (%r9)
leaq 0x10(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0x24(%rsp), %rcx
callq 0x82b2
leaq 0x10(%rsp), %rdi
leaq 0x39(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x7464
leaq 0x10(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x85d0
movq 0x40(%rsp), %rdx
movzwl 0x3e(%rsp), %ecx
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
movl $0x1, %r8d
callq 0x77ac
leaq 0x10(%rsp), %rdi
leaq 0x39(%rsp), %rsi
callq 0x85d0
leaq 0x10(%rsp), %rdi
callq 0x76d0
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %r14
retq
jmp 0x25c1
jmp 0x25c1
jmp 0x25c1
jmp 0x25c1
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x76d0
movq %rbx, %rdi
callq 0x2290
// File: /workspace/github_cpp_makefile_star2_O1/bummelbaerchen[P]e3dc/RscpProtocol.cpp
// Function: RscpProtocol::setHeaderTimestamp(SRscpFrame*)
bool RscpProtocol::setHeaderTimestamp(SRscpFrame *frame) {
	// sanity check
	if(frame == NULL) {
		return false;
	}

	bool bTimeSet = false;
	// get linux timestamp
	struct timeval timeVal;
	gettimeofday(&timeVal, NULL);
	// set frame timestamp
	frame->header.timestamp.seconds = timeVal.tv_sec;
	frame->header.timestamp.nanoseconds = timeVal.tv_usec * 1000;

	return bTimeSet;
}

// Assembly:
testq %rsi, %rsi
je 0x7713
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x2260
movq (%r14), %rax
movq %rax, 0x4(%rbx)
imull $0x3e8, 0x8(%r14), %eax # imm = 0x3E8
movl %eax, 0xc(%rbx)
addq $0x18, %rsp
popq %rbx
popq %r14
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/bummelbaerchen[P]e3dc/AES.cpp
// Function: AES::Encrypt(unsigned char const*, unsigned char*, unsigned int, AES::BlockMode)
void AES::Encrypt(const unsigned char * datain, unsigned char * dataout, uint32_t numBlocks, BlockMode mode)
	{
	if (0 == numBlocks)
		return;
	unsigned int blocksize = Nb*4;
	switch (mode)
		{
		case ECB :
			while (numBlocks)
				{
				EncryptBlock(datain,dataout);
				datain   += blocksize;
				dataout  += blocksize;
				--numBlocks;
				}
			break;
		case CBC :
			{
			unsigned char buffer[32]; // max blocksize
			memcpy(buffer,iv,blocksize); // clear out - todo - allow setting the Initialization Vector - needed for security
			while (numBlocks)
				{
				for (unsigned int pos = 0; pos < blocksize; ++pos)
					buffer[pos] ^= *datain++;
				EncryptBlock(buffer,dataout);
				memcpy(buffer,dataout,blocksize);
				dataout  += blocksize;
				--numBlocks;
				}
			}
			break;
		default :
			break;
		}
	}

// Assembly:
testl %ecx, %ecx
je 0xd0f2
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movl (%rdi), %eax
leal (,%rax,4), %ebp
cmpl $0x1, %r8d
je 0xd072
testl %r8d, %r8d
jne 0xd0e4
movl %ebp, %r13d
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x8b38
addq %r13, %r15
addq %r13, %r14
decl %ebx
jne 0xd058
jmp 0xd0e4
movq %rax, 0x8(%rsp)
movq %r12, (%rsp)
leaq 0x1ec(%r12), %rsi
movl %ebp, %r13d
leaq 0x10(%rsp), %rdi
movq %r13, %rdx
callq 0x2120
cmpl $0x1, %ebp
adcl $0x0, %ebp
cmpl $0x0, 0x8(%rsp)
je 0xd0bb
xorl %eax, %eax
movq (%rsp), %rdi
movb (%r15,%rax), %cl
xorb %cl, 0x10(%rsp,%rax)
incq %rax
cmpq %rax, %rbp
jne 0xd0a6
addq %rax, %r15
jmp 0xd0bf
movq (%rsp), %rdi
leaq 0x10(%rsp), %r12
movq %r12, %rsi
movq %r14, %rdx
callq 0x8b38
movq %r12, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x2120
addq %r13, %r14
decl %ebx
jne 0xd099
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/bummelbaerchen[P]e3dc/SocketConnection.cpp
// Function: SocketSendData(int, unsigned char const*, int)
int SocketSendData(int iSocket, const unsigned char * ucBuffer, int iLength)
{
    // sanity check
    if(iSocket < 0) {
        return iSocket;
    }

    int iSentBytes = 0;
    while(iLength)
    {
        long result = send(iSocket, ucBuffer, iLength, 0);
        if(result <= 0) {
            return -1;
        }
        iSentBytes += result;
        ucBuffer += result;
        iLength -= result;
    }
    return iSentBytes;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebx
testl %edi, %edi
js 0x12506
movl %edx, %ebp
movq %rsi, %r14
xorl %r15d, %r15d
testl %ebp, %ebp
je 0x12503
movslq %ebp, %rdx
movl %ebx, %edi
movq %r14, %rsi
xorl %ecx, %ecx
callq 0x20c0
testq %rax, %rax
movl $0x0, %ecx
cmovgq %rax, %rcx
addq %rcx, %r14
subl %ecx, %ebp
addl %ecx, %r15d
testq %rax, %rax
jg 0x124d0
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
jmp 0x12506
movl %r15d, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/Image.cpp
// Function: Image::set_dimensions(int, int)
void Image::set_dimensions(int width, int height){
    int scale = anti_alias + 1;
    orig_width = width;
    orig_height = height;
    image_width = width * scale;
    image_height = height * scale;
    red_pixels = Eigen::MatrixXd();
    green_pixels = Eigen::MatrixXd();
    blue_pixels = Eigen::MatrixXd();
    red_pixels.conservativeResize(image_width, image_height);
    green_pixels.conservativeResize(image_width, image_height);
    blue_pixels.conservativeResize(image_width, image_height);

    t_values = Eigen::MatrixXd();
    t_values.conservativeResize(image_width, image_height);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movl 0x4(%rdi), %eax
incl %eax
movl %esi, 0x8(%rdi)
movl %edx, 0xc(%rdi)
imull %eax, %esi
movl %esi, 0x10(%rdi)
imull %edx, %eax
movl %eax, 0x14(%rdi)
leaq 0x18(%rdi), %r14
movq 0x18(%rdi), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rbx)
xorl %r13d, %r13d
movq %r13, 0x28(%rbx)
callq 0x3320
leaq 0x30(%rbx), %r15
movq 0x30(%rbx), %rdi
movq %r13, 0x40(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rbx)
callq 0x3320
leaq 0x48(%rbx), %r12
movq 0x48(%rbx), %rdi
movq %r13, 0x58(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x48(%rbx)
callq 0x3320
movslq 0x10(%rbx), %rsi
movslq 0x14(%rbx), %rdx
movq %r14, %rdi
callq 0x4aa8
movslq 0x10(%rbx), %rsi
movslq 0x14(%rbx), %rdx
movq %r15, %rdi
callq 0x4aa8
movslq 0x10(%rbx), %rsi
movslq 0x14(%rbx), %rdx
movq %r12, %rdi
callq 0x4aa8
leaq 0xa8(%rbx), %r14
movq 0xa8(%rbx), %rdi
movq %r13, 0xb8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0xa8(%rbx)
callq 0x3320
movslq 0x10(%rbx), %rsi
movslq 0x14(%rbx), %rdx
movq %r14, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x4aa8
nop
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/Image.cpp
// Function: Image::Image(Image const&)
Image::Image(const Image&old_image){
    anti_alias = old_image.get_aa();
    int width = old_image.get_width();
    int height = old_image.get_height();
    set_dimensions(width, height);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movb $0x0, (%rdi)
addq $0x4, %rdi
movl $0xbc, %edx
xorl %esi, %esi
callq 0x3170
movl 0x4(%r14), %eax
movl %eax, 0x4(%rbx)
movl 0x8(%r14), %esi
movl 0xc(%r14), %edx
movq %rbx, %rdi
callq 0x3b2e
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
movq 0xa8(%rbx), %rdi
callq 0x3320
movq 0x90(%rbx), %rdi
callq 0x3320
movq 0x78(%rbx), %rdi
callq 0x3320
movq 0x60(%rbx), %rdi
callq 0x3320
movq 0x48(%rbx), %rdi
callq 0x3320
movq 0x30(%rbx), %rdi
callq 0x3320
movq 0x18(%rbx), %rdi
callq 0x3320
movq %r14, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/Image.cpp
// Function: Image::apply_focus_blur()
void Image::apply_focus_blur(){
    post_red_pixels = Eigen::MatrixXd(red_pixels);
    post_green_pixels = Eigen::MatrixXd(green_pixels);
    post_blue_pixels = Eigen::MatrixXd(blue_pixels);

    for (int x=0; x<image_width; x++){
        for (int y=0; y<image_height; y++){
            int blur = get_pixel_blur(x, y);
            blur_pixel(x, y, blur);
        }
    }
    red_pixels = Eigen::MatrixXd(post_red_pixels);
    green_pixels = Eigen::MatrixXd(post_green_pixels);
    blue_pixels = Eigen::MatrixXd(post_blue_pixels);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x18(%rdi), %rsi
movq %rsp, %r15
movq %r15, %rdi
callq 0x4fd2
leaq 0x60(%rbx), %r14
movq (%r15), %rax
movq 0x60(%rbx), %rdi
movq %rdi, (%r15)
movq %rax, 0x60(%rbx)
movups 0x68(%rbx), %xmm0
movups 0x8(%r15), %xmm1
movups %xmm0, 0x8(%r15)
movups %xmm1, 0x68(%rbx)
callq 0x3320
leaq 0x30(%rbx), %rsi
movq %rsp, %r12
movq %r12, %rdi
callq 0x4fd2
leaq 0x78(%rbx), %r15
movq (%r12), %rax
movq 0x78(%rbx), %rdi
movq %rdi, (%r12)
movq %rax, 0x78(%rbx)
movups 0x8(%r12), %xmm0
movups 0x80(%rbx), %xmm1
movups %xmm1, 0x8(%r12)
movups %xmm0, 0x80(%rbx)
callq 0x3320
leaq 0x48(%rbx), %rsi
movq %rsp, %r13
movq %r13, %rdi
callq 0x4fd2
leaq 0x90(%rbx), %r12
movq (%r13), %rax
movq 0x90(%rbx), %rdi
movq %rdi, (%r13)
movq %rax, 0x90(%rbx)
movups 0x8(%r13), %xmm0
movups 0x98(%rbx), %xmm1
movups %xmm1, 0x8(%r13)
movups %xmm0, 0x98(%rbx)
callq 0x3320
cmpl $0x0, 0x10(%rbx)
jle 0x4207
xorl %ebp, %ebp
cmpl $0x0, 0x14(%rbx)
jle 0x4200
xorl %r13d, %r13d
movq %rbx, %rdi
movl %ebp, %esi
movl %r13d, %edx
callq 0x46cc
movq %rbx, %rdi
movl %ebp, %esi
movl %r13d, %edx
movl %eax, %ecx
callq 0x4790
incl %r13d
cmpl 0x14(%rbx), %r13d
jl 0x41db
incl %ebp
cmpl 0x10(%rbx), %ebp
jl 0x41d2
movq %rsp, %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x4fd2
movq (%r13), %rax
movq 0x18(%rbx), %rdi
movq %rdi, (%r13)
movq %rax, 0x18(%rbx)
movups 0x20(%rbx), %xmm0
movups 0x8(%r13), %xmm1
movups %xmm0, 0x8(%r13)
movups %xmm1, 0x20(%rbx)
callq 0x3320
movq %rsp, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x4fd2
movq (%r14), %rax
movq 0x30(%rbx), %rdi
movq %rdi, (%r14)
movq %rax, 0x30(%rbx)
movups 0x8(%r14), %xmm0
movups 0x38(%rbx), %xmm1
movups %xmm1, 0x8(%r14)
movups %xmm0, 0x38(%rbx)
callq 0x3320
movq %rsp, %r14
movq %r14, %rdi
movq %r12, %rsi
callq 0x4fd2
movq (%r14), %rax
movq 0x48(%rbx), %rdi
movq %rdi, (%r14)
movq %rax, 0x48(%rbx)
movups 0x8(%r14), %xmm0
movups 0x50(%rbx), %xmm1
movups %xmm1, 0x8(%r14)
movups %xmm0, 0x50(%rbx)
callq 0x3320
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/Image.cpp
// Function: Image::convert_255(double)
int Image::convert_255(double value){
    // Convert a 0-1 double value to 0-255 int value
    if (value > 1)
        value = 1;
    if (value < 0)
        value = 0;
    value = value * 255.0;
    return int(value);
}

// Assembly:
movsd 0x119aa(%rip), %xmm1    # 0x16030
minsd %xmm0, %xmm1
xorpd %xmm0, %xmm0
maxsd %xmm1, %xmm0
mulsd 0x1199e(%rip), %xmm0    # 0x16038
cvttsd2si %xmm0, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/Image.cpp
// Function: Image::get_anti_alias_val(int, int, int, Eigen::Matrix<double, -1, -1, 0, -1, -1>*)
double Image::get_anti_alias_val(int index_x, int index_y, int scale, Eigen::MatrixXd* cur_color){
    double pixel_total = 0;
    int count = 0;
    for (int x=index_x*scale; x<(index_x+1)*scale; x++){
        for (int y=index_y*scale; y<(index_y+1)*scale; y++){
           pixel_total += (*cur_color)(x, y);
           count++;
        }
    }
    return pixel_total / count;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r9d
imull %esi, %r9d
incl %esi
imull %ecx, %esi
cmpl %esi, %r9d
jge 0x4a72
movl %ecx, %eax
imull %edx, %eax
incl %edx
imull %ecx, %edx
movslq %eax, %rdi
movslq %esi, %rsi
movslq %r9d, %r9
movslq %edx, %r10
leaq (,%r9,8), %r11
leaq (,%rdi,8), %rbx
xorpd %xmm0, %xmm0
xorl %ebp, %ebp
cmpl %edx, %eax
jge 0x4a5c
testq %r9, %r9
js 0x4a89
movq 0x8(%r8), %r14
cmpq %r9, %r14
jle 0x4a89
addl %ecx, %ebp
movq %rbx, %r15
imulq %r14, %r15
addq %r11, %r15
shlq $0x3, %r14
movq %rdi, %r12
testl %eax, %eax
js 0x4a89
cmpq %r12, 0x10(%r8)
jle 0x4a89
movq (%r8), %r13
addsd (%r13,%r15), %xmm0
incq %r12
addq %r14, %r15
cmpq %r12, %r10
jne 0x4a3d
incq %r9
addq $0x8, %r11
cmpq %rsi, %r9
jl 0x4a18
cvtsi2sd %ebp, %xmm1
divsd %xmm1, %xmm0
jmp 0x4a7a
movsd 0x115ce(%rip), %xmm0    # 0x16048
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x11a03(%rip), %rdi     # 0x16493
leaq 0x11a31(%rip), %rsi     # 0x164c8
leaq 0x11a53(%rip), %rcx     # 0x164f1
movl $0x16d, %edx            # imm = 0x16D
callq 0x31a0
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/Camera.cpp
// Function: Camera::set_bounds(double, double, double, double)
void Camera::set_bounds(double x1, double y1, double x2, double y2){
    near_bounding_left = x1;
    near_bounding_bottom = y1;
    near_bounding_right = x2;
    near_bounding_top = y2;
 }

// Assembly:
movsd %xmm0, 0xa8(%rdi)
movsd %xmm1, 0xb8(%rdi)
movsd %xmm2, 0xb0(%rdi)
movsd %xmm3, 0xc0(%rdi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/Camera.cpp
// Function: Camera::get_pixel_position(int, int)
Eigen::Vector3d Camera::get_pixel_position(int x_pixel, int y_pixel){

    double px = x_pixel / (pixel_width-1.0) * (near_bounding_right - near_bounding_left) + near_bounding_left;
    double py = y_pixel / (pixel_height-1.0) * (near_bounding_top - near_bounding_bottom) + near_bounding_bottom;

    Eigen::Vector3d pixpt = eye + (-1 * focal_length * z_axis) + (px * x_axis) + (py * y_axis);
    return pixpt;
}

// Assembly:
movq %rdi, %rax
movd %ecx, %xmm0
movd %edx, %xmm1
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
cvtdq2pd %xmm1, %xmm6
movupd 0xb0(%rsi), %xmm1
movupd 0xa8(%rsi), %xmm7
movsd 0x98(%rsi), %xmm3
movupd 0x8(%rsi), %xmm0
movapd %xmm3, %xmm2
unpcklpd %xmm3, %xmm2            # xmm2 = xmm2[0],xmm3[0]
movupd 0x80(%rsi), %xmm4
mulpd %xmm2, %xmm4
subpd %xmm4, %xmm0
movupd 0x50(%rsi), %xmm5
movupd 0x68(%rsi), %xmm4
movsd 0x18(%rsi), %xmm2
mulsd 0x90(%rsi), %xmm3
subsd %xmm3, %xmm2
cvtdq2pd (%rsi), %xmm8
movupd 0x60(%rsi), %xmm3
addpd 0x11354(%rip), %xmm8    # 0x168e0
divpd %xmm8, %xmm6
movhpd 0xc0(%rsi), %xmm1       # xmm1 = xmm1[0],mem[0]
movhpd 0xb8(%rsi), %xmm7       # xmm7 = xmm7[0],mem[0]
subpd %xmm7, %xmm1
mulpd %xmm6, %xmm1
addpd %xmm7, %xmm1
movapd %xmm1, %xmm6
movhpd 0x78(%rsi), %xmm3       # xmm3 = xmm3[0],mem[0]
mulpd %xmm1, %xmm3
unpcklpd %xmm1, %xmm1            # xmm1 = xmm1[0,0]
mulpd %xmm5, %xmm1
addpd %xmm0, %xmm1
unpckhpd %xmm6, %xmm6            # xmm6 = xmm6[1,1]
mulpd %xmm4, %xmm6
addpd %xmm1, %xmm6
movupd %xmm6, (%rdi)
addsd %xmm3, %xmm2
unpckhpd %xmm3, %xmm3            # xmm3 = xmm3[1,1]
addsd %xmm2, %xmm3
movsd %xmm3, 0x10(%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/Light.cpp
// Function: Light::Light(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Light::Light(std::string driver_line){
    // Light string: "light x_loc y_loc z_loc w r g b"
    std::stringstream driver(driver_line);
    double light_obj_doubles[8] = {};
    light_obj_doubles[7] = 0;
    std::string driver_type = "";
    driver >> driver_type;

    double temp = 0;
    int counter = 0;
    while (driver >> temp){
        light_obj_doubles[counter++] = temp;
    }
    if (counter < 7 || counter > 8){
        // The correct number of numbers were not found
        load_successful = false;
        return;
    }
    assign_values(light_obj_doubles);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movq %rdi, %rbx
movl $0x0, (%rdi)
movb $0x1, 0x40(%rdi)
leaq 0x78(%rsp), %rdi
movl $0x18, %edx
callq 0x3400
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x11430(%rip), %rdx     # 0x16c74
leaq 0x10(%rsp), %rdi
movq %rdx, %rsi
callq 0x5be2
leaq 0x78(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x3340
leaq 0x8(%rsp), %r14
movq $0x0, (%r14)
xorl %r13d, %r13d
leaq 0x78(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x31b0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x589f
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x30(%rsp,%r13,8)
incq %r13
jmp 0x5874
addl $-0x9, %r13d
cmpl $-0x3, %r13d
ja 0x58af
movb $0x0, 0x40(%rbx)
jmp 0x58bc
leaq 0x30(%rsp), %rsi
movq %rbx, %rdi
callq 0x594c
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x58d3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x1a6be(%rip), %rsi     # 0x1ff98
leaq 0x78(%rsp), %rdi
callq 0x3210
leaq 0xf8(%rsp), %rdi
callq 0x30e0
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x590b
jmp 0x590b
movq %rax, %rbx
jmp 0x5925
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x5925
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x1a66c(%rip), %rsi     # 0x1ff98
leaq 0x78(%rsp), %rdi
callq 0x3210
leaq 0xf8(%rsp), %rdi
callq 0x30e0
movq %rbx, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/Light.cpp
// Function: Light::assign_values(double*)
void Light::assign_values(double spec_nums[]){
    double x_cord = spec_nums[0];
    double y_cord = spec_nums[1];
    double z_cord = spec_nums[2];
    w_value = spec_nums[3];
    double red_color = spec_nums[4];
    double green_color = spec_nums[5];
    double blue_color = spec_nums[6];
    lighting_group = spec_nums[7];
    light_pos << x_cord, y_cord, z_cord;
    if (w_value == 0){
        light_pos = 1000000000 * light_pos;
    }
    light_color << red_color, green_color, blue_color;
}

// Assembly:
pushq %rbx
subq $0x50, %rsp
movq %rdi, %rbx
movsd (%rsi), %xmm0
movsd 0x8(%rsi), %xmm1
leaq 0x48(%rsp), %rax
movsd %xmm1, (%rax)
movsd 0x10(%rsi), %xmm1
movsd %xmm1, 0x40(%rsp)
movsd 0x18(%rsi), %xmm1
movsd %xmm1, 0x8(%rdi)
movsd 0x20(%rsi), %xmm1
movsd %xmm1, 0x28(%rsp)
movsd 0x28(%rsi), %xmm1
movsd %xmm1, 0x38(%rsp)
movsd 0x30(%rsi), %xmm1
movsd %xmm1, 0x30(%rsp)
cvttsd2si 0x38(%rsi), %ecx
movl %ecx, (%rdi)
leaq 0x10(%rdi), %rcx
leaq 0x8(%rsp), %rdi
movq %rcx, (%rdi)
movq $0x0, 0x8(%rdi)
movl $0x1, %ecx
movq %rcx, 0x10(%rdi)
movq %rcx, 0x18(%rdi)
movsd %xmm0, 0x10(%rbx)
movq %rax, %rsi
callq 0x5b26
leaq 0x40(%rsp), %rsi
movq %rax, %rdi
callq 0x5b26
movq 0x20(%rsp), %rax
addq 0x10(%rsp), %rax
cmpq $0x3, %rax
jne 0x5a94
cmpq $0x1, 0x18(%rsp)
jne 0x5a94
movsd 0x8(%rbx), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x5a33
jp 0x5a33
movupd 0x10(%rbx), %xmm0
mulpd 0x10f14(%rip), %xmm0    # 0x16930
movupd %xmm0, 0x10(%rbx)
movsd 0x20(%rbx), %xmm0
mulsd 0x10f12(%rip), %xmm0    # 0x16940
movsd %xmm0, 0x20(%rbx)
leaq 0x28(%rbx), %rax
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movl $0x1, %eax
movq %rax, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movsd 0x28(%rsp), %xmm0
movsd %xmm0, 0x28(%rbx)
leaq 0x38(%rsp), %rsi
callq 0x5b26
leaq 0x30(%rsp), %rsi
movq %rax, %rdi
callq 0x5b26
movq 0x20(%rsp), %rax
addq 0x10(%rsp), %rax
cmpq $0x3, %rax
jne 0x5a94
cmpq $0x1, 0x18(%rsp)
jne 0x5a94
addq $0x50, %rsp
popq %rbx
retq
leaq 0x10ead(%rip), %rdi     # 0x16948
leaq 0x10f44(%rip), %rsi     # 0x169e6
leaq 0x10f67(%rip), %rcx     # 0x16a10
movl $0x78, %edx
callq 0x31a0
movq 0x20(%rsp), %rcx
addq 0x10(%rsp), %rcx
cmpq $0x3, %rcx
jne 0x5acb
cmpq $0x1, 0x18(%rsp)
je 0x5ae8
callq 0x355f
movq 0x20(%rsp), %rcx
addq 0x10(%rsp), %rcx
cmpq $0x3, %rcx
jne 0x5af0
cmpq $0x1, 0x18(%rsp)
jne 0x5af0
movq %rax, %rdi
callq 0x34b0
callq 0x3541
nop
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/raytracer.cpp
// Function: create_directory(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void create_directory(std::string save_folder){
    //   ***** THIS USES LINUX SYSTEM CALLS, TO RUN ON WINDOWS REWRITE ******
    // Clear the saved render folder of previous contents
    char remove_command[80] = "rm -r ";
    strcat(remove_command, save_folder.c_str());
    if (0 == system(remove_command)){
        // The result of this command does not need to be handled as the following system command
        //   properly alerts to the same potential problem set.
        ;
    }

    char create_command[80] = "mkdir ";
    strcat(create_command, save_folder.c_str());
    if (0 == system(create_command)){
        std::cout << save_folder << " directory created successfully\n";
    } else{
        std::cout << save_folder << " directory creation failed\n";
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0xa0, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %r14
movaps %xmm0, (%r14)
movaps %xmm0, 0x40(%r14)
movaps %xmm0, 0x30(%r14)
movaps %xmm0, 0x20(%r14)
movaps %xmm0, 0x10(%r14)
movl $0x2d206d72, (%r14)     # imm = 0x2D206D72
movw $0x2072, %bp            # imm = 0x2072
movw %bp, 0x4(%r14)
movq (%rdi), %rsi
movq %r14, %rdi
callq 0x34c0
movq %r14, %rdi
callq 0x3270
movq %rsp, %r14
xorps %xmm0, %xmm0
movaps %xmm0, (%r14)
movaps %xmm0, 0x40(%r14)
movaps %xmm0, 0x30(%r14)
movaps %xmm0, 0x20(%r14)
movaps %xmm0, 0x10(%r14)
movl $0x69646b6d, (%r14)     # imm = 0x69646B6D
movw %bp, 0x4(%r14)
movq (%rbx), %rsi
movq %r14, %rdi
callq 0x34c0
movq %r14, %rdi
callq 0x3270
movl %eax, %ebp
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0x1a2b6(%rip), %rdi     # 0x1ffc8
callq 0x32f0
testl %ebp, %ebp
je 0x5d29
leaq 0x10ed9(%rip), %rsi     # 0x16bfb
movl $0x1b, %edx
jmp 0x5d35
leaq 0x10eaa(%rip), %rsi     # 0x16bda
movl $0x20, %edx
movq %rax, %rdi
callq 0x32f0
addq $0xa0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/raytracer.cpp
// Function: parse_int(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int&)
int parse_int(std::string str, int &status){
    int result = 0;
    try {
        result = stoi(str);
    }
    catch(std::invalid_argument& e){
        status = 1;
    }
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq (%rdi), %r15
callq 0x3040
movq %rax, %r14
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x3370
cmpq %r15, (%r12)
je 0x5daa
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x5db6
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x5db6
testl %ecx, %ecx
jne 0x5d9d
movl %ebp, (%r14)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10fdb(%rip), %rdi     # 0x16d8c
callq 0x3180
leaq 0x10fcf(%rip), %rdi     # 0x16d8c
callq 0x3390
cmpl $0x0, (%r14)
jne 0x5dcb
movl %ebp, (%r14)
movq %rax, %rdi
cmpl $0x1, %edx
jne 0x5de7
callq 0x3100
movl $0x1, (%rbx)
callq 0x3440
xorl %eax, %eax
jmp 0x5d9d
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/raytracer.cpp
// Function: parse_folder_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string parse_folder_name(std::string name){
    std::string result = "";
    for (auto c: name){
        if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')){
            result += c;
        }
    }
    return result;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
leaq 0x10e6b(%rip), %rdx     # 0x16c74
movq %rdx, %rsi
callq 0x5be2
movq 0x8(%r14), %r12
testq %r12, %r12
je 0x5e44
movq (%r14), %r14
xorl %r13d, %r13d
movb (%r14,%r13), %al
movl %eax, %ecx
andb $-0x21, %cl
addb $-0x41, %cl
cmpb $0x19, %cl
ja 0x5e3c
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3280
incq %r13
cmpq %r13, %r12
jne 0x5e20
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x5e67
movq (%r15), %rsi
incq %rsi
callq 0x32d0
movq %r14, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/raytracer.cpp
// Function: render_scene(Scene&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void render_scene(Scene &sc, int number_threads, std::string save_folder){
    RenderImage ri = RenderImage(&sc);
    while (sc.advance_frame()){
        ri.reset();
        if (number_threads > 1)
            multi_thread_render(ri, number_threads);
        else
            ri.render_tiles();
        ri.save_image(image_name(sc.get_current_frame(), save_folder));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xbff4
leaq 0x20(%rsp), %r13
movq %r14, %rdi
callq 0xefc0
testb %al, %al
je 0x6647
movq %r15, %rdi
callq 0xc06e
cmpl $0x2, %ebp
jl 0x65c0
movq %r15, %rdi
movl %ebp, %esi
callq 0x6494
jmp 0x65c8
movq %r15, %rdi
callq 0xc270
movq %r14, %rdi
callq 0xee52
movl %eax, %r12d
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x5760
movq %r13, %rdi
movl %r12d, %esi
movq %rsp, %rdx
callq 0x6207
movq %r15, %rdi
movq %r13, %rsi
callq 0xc1da
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x6623
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32d0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6597
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32d0
jmp 0x6597
leaq 0x50(%rsp), %rdi
callq 0x6bfa
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x6687
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32d0
jmp 0x6687
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x66a7
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32d0
jmp 0x66a7
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x6bfa
movq %rbx, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/raytracer.cpp
// Function: main
int main(int argc, char*argv[]){
    int number_threads = 1;
    std::string driver_file = "";
    std::string save_folder = "";
    int valid_args = parse_args(argc, argv, number_threads, driver_file, save_folder);
    if (valid_args != 0){
        return valid_args;
    }

    create_directory(save_folder);
    Scene sc(driver_file);
    render_scene(sc, number_threads, save_folder);
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x2f0, %rsp            # imm = 0x2F0
movq %rsi, %rbx
movl %edi, %ebp
movl $0x1, 0xc(%rsp)
leaq 0x40(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1058f(%rip), %r14     # 0x16c74
leaq 0x30(%rsp), %rdi
movq %r14, %rsi
movq %r14, %rdx
callq 0x5be2
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
movq %r14, %rdx
callq 0x5be2
leaq 0xc(%rsp), %rdx
leaq 0x30(%rsp), %rcx
leaq 0x10(%rsp), %r8
movl %ebp, %edi
movq %rbx, %rsi
callq 0x5e6f
movl %eax, %ebx
testl %eax, %eax
jne 0x682f
leaq 0xa0(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %rdi
callq 0x5760
leaq 0x90(%rsp), %rdi
callq 0x5c74
movq 0x90(%rsp), %rdi
cmpq %r14, %rdi
je 0x6782
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x32d0
leaq 0x80(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
leaq 0x70(%rsp), %rdi
callq 0x5760
leaq 0xb0(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0xe5a0
movq 0x70(%rsp), %rdi
cmpq %r14, %rdi
je 0x67d1
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x32d0
movl 0xc(%rsp), %ebx
leaq 0x60(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x5760
leaq 0xb0(%rsp), %rdi
leaq 0x50(%rsp), %rdx
movl %ebx, %esi
callq 0x6569
movq 0x50(%rsp), %rdi
cmpq %r14, %rdi
je 0x6820
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x32d0
leaq 0xb0(%rsp), %rdi
callq 0x6aae
xorl %ebx, %ebx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x6846
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x685d
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x32d0
movl %ebx, %eax
addq $0x2f0, %rsp            # imm = 0x2F0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r14, %rdi
je 0x688e
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x32d0
jmp 0x688e
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x6aae
jmp 0x68e0
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r14, %rdi
je 0x68e0
movq 0x80(%rsp), %rsi
jmp 0x68ce
jmp 0x68dd
movq %rax, %rbx
movq 0x90(%rsp), %rdi
cmpq %r14, %rdi
je 0x68e0
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x32d0
jmp 0x68e0
movq %rax, %rbx
jmp 0x68f7
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x68f7
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x690e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x32d0
movq %rbx, %rdi
callq 0x34b0