LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/oknenavin[P]cxon/test/../src/cxon/lang/cbor/lib/std/valarray.hxx
// Function: cxon::cbor::imp::valarray_container_<unsigned char>::grow(unsigned long)
void grow(std::size_t n) {
                        CXON_ASSERT(n > a_.size(), "unexpected");
                        std::valarray<T> a(n);
#                           ifdef _MSC_VER // std::begin/std::end broken for empty std::valarray
                                for (std::size_t i = 0, is = a_.size(); i != is; ++i)
                                    a[i] = a_[i];
#                           else
                                std::copy(std::begin(a_), std::end(a_), std::begin(a));
#                           endif
                        a_.swap(a);
                    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r15
movq %rsi, %rdi
callq 0x5210
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x5140
movq (%r15), %r15
movq (%r15), %rax
movq 0x8(%r15), %rsi
leaq (%rsi,%rax), %rdx
testq %rax, %rax
cmoveq %rax, %rsi
cmoveq %rax, %rdx
subq %rsi, %rdx
je 0xd8f04
testq %rbx, %rbx
movq %r14, %rdi
cmoveq %rbx, %rdi
callq 0x5340
movq %rbx, (%r15)
movq 0x8(%r15), %rdi
movq %r14, 0x8(%r15)
popq %rbx
popq %r14
popq %r15
jmp 0x5200
nop
// File: /workspace/github_cpp_makefile_star2_O1/willprice[P]parallel-cpp-workshop/parallel_for.cpp
// Function: main
int main(int argc, char **argv)
{
    std::mutex m;

    auto values = std::vector<double>(10000);

    tbb::parallel_for(tbb::blocked_range<int>(0, values.size()),
      [&](tbb::blocked_range<int> r){
          m.lock();
          std::cout << "Range size " << (r.end() - r.begin())
                    << " from " << r.begin() << " to " << r.end() << std::endl;
          m.unlock();

          for (int i = r.begin(); i < r.end(); i++) {
              values[i] = std::sin(i * 0.001);
          };
    });

    double total = 0;

    for (auto value : values)
    {
        total += value;
    }

    std::cout << total << std::endl;

    return 0;
}

// Assembly:
pushq %rbx
subq $0xf0, %rsp
xorpd %xmm0, %xmm0
movapd %xmm0, 0x30(%rsp)
movapd %xmm0, 0x20(%rsp)
xorl %eax, %eax
movq %rax, 0x40(%rsp)
movq %rax, 0x10(%rsp)
movapd %xmm0, (%rsp)
movl $0x13880, %edi          # imm = 0x13880
callq 0x2100
movq %rax, (%rsp)
movq %rax, 0x8(%rsp)
leaq 0x13880(%rax), %rbx
movq %rbx, 0x10(%rsp)
movl $0x13880, %edx          # imm = 0x13880
movq %rax, %rdi
xorl %esi, %esi
callq 0x20a0
movq %rbx, 0x8(%rsp)
leaq 0x70(%rsp), %rdi
movw $0x401, 0xc(%rdi)       # imm = 0x401
xorpd %xmm0, %xmm0
movupd %xmm0, 0x20(%rdi)
movq $0x1, 0x40(%rdi)
callq 0x2170
leaq 0x18(%rsp), %rdi
movq $0x0, (%rdi)
movl $0x80, %esi
callq 0x2050
movq %rax, %rbx
xorpd %xmm0, %xmm0
movupd %xmm0, 0x28(%rax)
movupd %xmm0, 0x18(%rax)
movupd %xmm0, 0x8(%rax)
movq $0x0, 0x38(%rax)
leaq 0x2954(%rip), %rax      # 0x4d38
movq %rax, (%rbx)
movq $0x2710, 0x40(%rbx)     # imm = 0x2710
movq $0x1, 0x48(%rbx)
leaq 0x20(%rsp), %rax
movq %rax, 0x50(%rbx)
movq %rsp, %rax
movq %rax, 0x58(%rbx)
xorl %edi, %edi
callq 0x21e0
cltq
movabsq $0x3fffffffffffffff, %rcx # imm = 0x3FFFFFFFFFFFFFFF
andq %rax, %rcx
movl $0x0, 0x70(%rbx)
movb $0x5, 0x74(%rbx)
addq %rcx, %rcx
movq %rcx, 0x68(%rbx)
movq 0x18(%rsp), %rax
movq %rax, 0x78(%rbx)
leaq 0x60(%rsp), %rdx
movq $0x0, -0x10(%rdx)
movl $0x1, -0x8(%rdx)
movl $0x1, %eax
movq %rax, (%rdx)
movq %rax, 0x8(%rdx)
leaq 0x50(%rsp), %rax
movq %rax, 0x60(%rbx)
leaq 0x70(%rsp), %rcx
movq %rbx, %rdi
movq %rcx, %rsi
callq 0x2150
leaq 0x70(%rsp), %rdi
callq 0x2120
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
xorpd %xmm0, %xmm0
cmpq %rcx, %rax
je 0x2497
addsd (%rax), %xmm0
addq $0x8, %rax
jmp 0x2488
movq 0x2b3a(%rip), %rdi      # 0x4fd8
callq 0x2190
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x20f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x24e3
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2110
xorl %eax, %eax
addq $0xf0, %rsp
popq %rbx
retq
jmp 0x2501
jmp 0x2509
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x2120
jmp 0x250c
movq %rax, %rdi
callq 0x2a96
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2522
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2110
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/lagoproject[P]arti/analysis/analysis.cc
// Function: Open(char*)
int Open(char *nfi) {
  char tmpc[256];
  if (strncmp(nfi+strlen(nfi)-4,".bz2",4)==0) {
    if (iverbose)
      fprintf(stderr,"File '%s' ending by bz2, reading it via bzip2\n",nfi);
    snprintf(tmpc,256,"bzip2 -d -c %s",nfi);
    fi=popen(tmpc,"r");
  }
  else if((fi=fopen(nfi,"r")) == NULL) {
    if (iverbose)
      fprintf(stderr,"Can't open file '%s' - Switching to SDTIN\n",nfi);
    fi=stdin;
  }
  return 1;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdi, %rbx
callq 0x1070
leaq (%rbx,%rax), %rdi
addq $-0x4, %rdi
leaq 0x21be(%rip), %rsi      # 0x35eb
movl $0x4, %edx
callq 0x1080
testl %eax, %eax
je 0x146b
leaq 0x24a8(%rip), %rsi      # 0x38ea
movq %rbx, %rdi
callq 0x1130
movq %rax, 0x3d27(%rip)      # 0x5178
testq %rax, %rax
jne 0x14a6
cmpl $0x0, 0x6847(%rip)      # 0x7ca4
jne 0x14d3
movq 0x3b5a(%rip), %rax      # 0x4fc0
movq (%rax), %rax
jmp 0x149f
cmpl $0x0, 0x6832(%rip)      # 0x7ca4
jne 0x14b6
leaq 0x1c08(%rip), %rdx      # 0x3083
movq %rsp, %r14
movl $0x100, %esi            # imm = 0x100
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x11d0
leaq 0x2453(%rip), %rsi      # 0x38ea
movq %r14, %rdi
callq 0x1060
movq %rax, 0x3cd2(%rip)      # 0x5178
movl $0x1, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r14
retq
movq 0x3b13(%rip), %rax      # 0x4fd0
movq (%rax), %rdi
leaq 0x1b8d(%rip), %rsi      # 0x3054
movq %rbx, %rdx
xorl %eax, %eax
callq 0x11a0
jmp 0x1474
movq 0x3af6(%rip), %rax      # 0x4fd0
movq (%rax), %rdi
leaq 0x1bae(%rip), %rsi      # 0x3092
movq %rbx, %rdx
xorl %eax, %eax
callq 0x11a0
jmp 0x145f
// File: /workspace/github_cpp_makefile_star2_O1/lagoproject[P]arti/analysis/analysis.cc
// Function: curved(double, double)
void curved(double xp, double yp) {
	double d = r_earth + h;
	double t = sqrt(xp*xp + yp*yp)/d;
	double f = atan2(yp,xp);
	z = (d*cos(t) - r_earth)*cm2m;
	d *= sin(t);
	x = d*cos(f)*cm2m;
	y = d*sin(f)*cm2m;
}

// Assembly:
subq $0x18, %rsp
movapd %xmm1, %xmm3
movapd %xmm0, %xmm2
movsd 0x3a09(%rip), %xmm0     # 0x5150
addsd 0x6589(%rip), %xmm0     # 0x7cd8
movsd %xmm0, (%rsp)
mulsd %xmm1, %xmm1
movapd %xmm2, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x1774
sqrtsd %xmm0, %xmm0
jmp 0x1791
movsd %xmm2, 0x10(%rsp)
movsd %xmm3, 0x8(%rsp)
callq 0x10c0
movsd 0x8(%rsp), %xmm3
movsd 0x10(%rsp), %xmm2
divsd (%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
movapd %xmm3, %xmm0
movapd %xmm2, %xmm1
callq 0x1040
movsd %xmm0, 0x10(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x11f0
mulsd (%rsp), %xmm0
subsd 0x3989(%rip), %xmm0     # 0x5150
mulsd 0x3989(%rip), %xmm0     # 0x5158
movsd %xmm0, 0x64f9(%rip)     # 0x7cd0
movsd 0x8(%rsp), %xmm0
callq 0x1050
mulsd (%rsp), %xmm0
movsd %xmm0, (%rsp)
movsd 0x10(%rsp), %xmm0
callq 0x11f0
mulsd (%rsp), %xmm0
mulsd 0x3954(%rip), %xmm0     # 0x5158
movsd %xmm0, 0x64b4(%rip)     # 0x7cc0
movsd 0x10(%rsp), %xmm0
callq 0x1050
mulsd (%rsp), %xmm0
mulsd 0x3934(%rip), %xmm0     # 0x5158
movsd %xmm0, 0x649c(%rip)     # 0x7cc8
addq $0x18, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O1/TheStanian[P]Args/Args/Args.cpp
// Function: ArgsHandler::ArgsHandler(ArgsHandler const&)
ArgsHandler::ArgsHandler(const ArgsHandler &args) {
	arguments = args.arguments;
	flags = args.flags;
	startargs = args.startargs;
	execpath = args.execpath;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r12
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
leaq 0x18(%rdi), %r14
leaq 0x20(%rdi), %rcx
movl %eax, 0x20(%rdi)
movq %rax, 0x28(%rdi)
movq %rcx, 0x30(%rdi)
movq %rcx, 0x38(%rdi)
leaq 0x48(%rdi), %r15
leaq 0x60(%rdi), %r13
leaq 0x70(%rdi), %rbp
movups %xmm0, 0x40(%rdi)
movups %xmm0, 0x50(%rdi)
movq %rbp, 0x60(%rdi)
movq %rax, 0x68(%rdi)
movb %al, 0x70(%rdi)
leaq 0x80(%rdi), %rcx
movq %rcx, (%rsp)
leaq 0x88(%rdi), %rcx
movl %eax, 0x88(%rdi)
movq %rax, 0x90(%rdi)
movq %rcx, 0x98(%rdi)
movq %rcx, 0xa0(%rdi)
movq %rax, 0xa8(%rdi)
movb %al, 0xb0(%rdi)
callq 0x4a8c
leaq 0x18(%r12), %rsi
movq %r14, %rdi
callq 0x4e20
leaq 0x48(%r12), %rsi
movq %r15, %rdi
callq 0x4c06
addq $0x60, %r12
movq %r13, %rdi
movq %r12, %rsi
callq 0x20d0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r12
movq (%rsp), %rdi
callq 0x2c7a
movq (%r13), %rdi
cmpq %rbp, %rdi
je 0x3625
movq (%rbp), %rsi
incq %rsi
callq 0x2180
movq %r15, %rdi
movq %rbx, %rsi
callq 0x22d5
movq %r14, %rdi
callq 0x2cfc
movq %rbx, %rdi
callq 0x2bce
movq %r12, %rdi
callq 0x2290
// File: /workspace/github_cpp_makefile_star2_O1/TheStanian[P]Args/Args/Args.cpp
// Function: ArgsHandler::getFlagValueString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string ArgsHandler::getFlagValueString(std::string flag, std::string dflt) {
	if (hasFlag(flag)) {
		return flags.find(flag)->second.value;
	} else {
		return dflt;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r13
movq %r13, %rdi
callq 0x5342
movq %r12, %rdi
movq %r13, %rsi
callq 0x3648
movl %eax, %ebp
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x36eb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
testb %bpl, %bpl
je 0x371b
addq $0x18, %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x5f92
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq 0x60(%rax), %rsi
movq 0x68(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x5342
jmp 0x3758
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq (%r14), %rdx
leaq 0x10(%r14), %rax
cmpq %rax, %rdx
je 0x373a
movq %rdx, (%rbx)
movq (%rax), %rcx
movq %rcx, 0x10(%rbx)
jmp 0x3740
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x8(%r14), %rcx
movq %rcx, 0x8(%rbx)
movq %rax, (%r14)
movq $0x0, 0x8(%r14)
movb $0x0, 0x10(%r14)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3789
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
movq %rbx, %rdi
callq 0x2290
nop
// File: /workspace/github_cpp_makefile_star2_O1/TheStanian[P]Args/Args/Args.cpp
// Function: ArgsHandler::getFlagValueInt(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int)
int ArgsHandler::getFlagValueInt(std::string flag, int dflt) {
	if (hasFlag(flag)) {
		std::string flgstr = flags.find(flag)->second.value;
		int ret = dflt;
		try {
			ret = std::stoi(flgstr);
		} catch (std::invalid_argument &e) {
			// ret is still dflt, so all good.
		}
		return ret;
	} else {
		return dflt;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rsi), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0x5342
movq %r15, %rdi
movq %r12, %rsi
callq 0x3648
movl %eax, %ebp
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x37ec
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2180
testb %bpl, %bpl
je 0x3880
addq $0x18, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x5f92
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x60(%rax), %rsi
movq 0x68(%rax), %rdx
addq %rsi, %rdx
movq %rsp, %r14
movq %r14, %rdi
callq 0x5342
movq (%r14), %r15
callq 0x2050
movq %rax, %r14
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0x40(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x21f0
cmpq %r15, (%r12)
je 0x3891
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x389d
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x389d
testl %ecx, %ecx
jne 0x3868
movl %ebp, (%r14)
movl %eax, %ebx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x3880
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x392d(%rip), %rdi      # 0x71c5
callq 0x20e0
leaq 0x3921(%rip), %rdi      # 0x71c5
callq 0x2200
movq %rax, %r15
cmpl $0x0, (%r14)
jne 0x38b5
movl %ebp, (%r14)
cmpl $0x1, %edx
jne 0x38cc
movq %r15, %rdi
callq 0x20a0
callq 0x2270
jmp 0x386a
movq %rax, %r15
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x38f6
movq 0x10(%rsp), %rsi
jmp 0x38ee
movq %rax, %r15
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x38f6
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2180
movq %r15, %rdi
callq 0x2290
// File: /workspace/github_cpp_makefile_star2_O1/TheStanian[P]Args/Args/Args.cpp
// Function: ArgsHandler::getFlagValueDouble(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, double)
double ArgsHandler::getFlagValueDouble(std::string flag, double dflt) {
	if (hasFlag(flag)) {
		std::string flgstr = flags.find(flag)->second.value;
		double ret = dflt;
		try {
			ret = std::stod(flgstr);
		} catch (std::invalid_argument &e) {
			// ret is still dflt, so all good.
		}
		return ret;
	} else {
		return dflt;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movsd %xmm0, (%rsp)
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsi), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x5342
movq %r14, %rdi
movq %r15, %rsi
callq 0x3648
movl %eax, %ebp
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x395a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
testb %bpl, %bpl
je 0x39f3
addq $0x18, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5f92
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x60(%rax), %rsi
movq 0x68(%rax), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x5342
movq (%rbx), %rbx
callq 0x2050
movq %rax, %r14
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0x48(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2120
cmpq %rbx, (%r15)
je 0x3a05
movl (%r14), %eax
testl %eax, %eax
je 0x39d4
cmpl $0x22, %eax
jne 0x39d7
leaq 0x37fb(%rip), %rdi      # 0x71ca
callq 0x2200
movl %ebp, (%r14)
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x39f8
movq 0x18(%rsp), %rsi
incq %rsi
movsd %xmm0, (%rsp)
callq 0x2180
movsd (%rsp), %xmm0
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x37be(%rip), %rdi      # 0x71ca
callq 0x20e0
movq %rax, %rbx
cmpl $0x0, (%r14)
jne 0x3a1d
movl %ebp, (%r14)
cmpl $0x1, %edx
jne 0x3a39
movq %rbx, %rdi
callq 0x20a0
callq 0x2270
movsd (%rsp), %xmm0
jmp 0x39d7
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x3a64
movq 0x18(%rsp), %rsi
jmp 0x3a5c
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x3a64
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
movq %rbx, %rdi
callq 0x2290
// File: /workspace/github_cpp_makefile_star2_O1/TheStanian[P]Args/Args/Args.cpp
// Function: ArgsHandler::getFlagValueBool(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool)
bool ArgsHandler::getFlagValueBool(std::string flag, bool dflt) {
	if (hasFlag(flag)) {
			std::string flgstr = flags.find(flag)->second.value;
			bool ret = dflt;
			if (flgstr == "true") {
				ret = true;
			} else if (flgstr == "false") {
				ret = false;
			}
			return ret;
		} else {
			return dflt;
		}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rsi), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x5342
movq %r15, %rdi
movq %r12, %rsi
callq 0x3648
movl %eax, %ebp
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x3ac6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
testb %bpl, %bpl
je 0x3b43
addq $0x18, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x5f92
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x60(%rax), %rsi
movq 0x68(%rax), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x5342
leaq 0x3600(%rip), %rsi      # 0x7102
movq %r14, %rdi
callq 0x2080
testl %eax, %eax
je 0x3b2a
leaq 0x35f2(%rip), %rsi      # 0x7107
leaq 0x28(%rsp), %rdi
callq 0x2080
testl %eax, %eax
setne %al
andb %bl, %al
movl %eax, %ebx
jmp 0x3b2c
movb $0x1, %bl
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x3b43
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x3b6e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
movq %rbx, %rdi
callq 0x2290
// File: /workspace/github_cpp_makefile_star2_O1/TheStanian[P]Args/Args/Args.cpp
// Function: ArgsHandler::getFlagArguments(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::vector<std::string> ArgsHandler::getFlagArguments(std::string flag) {
	std::vector<std::string> flagArguments;
	if (!hasFlag(flag)) {
		return flagArguments;
	}

	for (int arg:(flags.find(flag)->second.arguments)) {
		flagArguments.push_back(arguments[arg]);
	}

	return flagArguments;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x5342
movq %rsp, %rsi
movq %r14, %rdi
callq 0x3648
movl %eax, %ebp
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x3bfc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
testb %bpl, %bpl
je 0x3c38
leaq 0x18(%r14), %rdi
movq %r15, %rsi
callq 0x5f92
movq 0x80(%rax), %r15
movq 0x88(%rax), %r12
cmpq %r12, %r15
je 0x3c38
movslq (%r15), %rsi
shlq $0x5, %rsi
addq (%r14), %rsi
movq %rbx, %rdi
callq 0x49d2
addq $0x4, %r15
jmp 0x3c1b
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3c67
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x3c6a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x3c6a
jmp 0x3c67
movq %rax, %r14
movq %rbx, %rdi
callq 0x2bce
movq %r14, %rdi
callq 0x2290
// File: /workspace/github_cpp_makefile_star2_O1/TheStanian[P]Args/Args/Args.cpp
// Function: ArgsHandler::getStartArguments[abi:cxx11]() const
std::vector<std::string> ArgsHandler::getStartArguments() const {
	std::vector<std::string> startArguments;

	for (int arg:startargs) {
		startArguments.push_back(arguments[arg]);
	}

	return startArguments;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x48(%rsi), %r15
movq 0x50(%rsi), %r12
cmpq %r12, %r15
je 0x3cbe
movq %rsi, %r14
movslq (%r15), %rsi
shlq $0x5, %rsi
addq (%r14), %rsi
movq %rbx, %rdi
callq 0x49d2
addq $0x4, %r15
cmpq %r12, %r15
jne 0x3ca3
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x2bce
movq %r14, %rdi
callq 0x2290
// File: /workspace/github_cpp_makefile_star2_O1/TheStanian[P]Args/Args/Args.cpp
// Function: ArgsHandler::getFlags[abi:cxx11]() const
std::vector<std::string> ArgsHandler::getFlags() const {
	std::vector<std::string> strflags;
	for (auto pair:flags) {
		strflags.push_back(pair.first);
	}
	return strflags;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x30(%rsi), %r15
addq $0x20, %r14
cmpq %r14, %r15
je 0x3db9
leaq 0x30(%rsp), %rbp
leaq 0x10(%rsp), %r13
movq %rsp, %r12
leaq 0x20(%r15), %rsi
movq %r12, %rdi
callq 0x4d66
movq %rbx, %rdi
movq %r12, %rsi
callq 0x49d2
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x3d5c
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x3d78
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3d8f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2180
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x3da5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
movq %r15, %rdi
callq 0x21c0
movq %rax, %r15
cmpq %r14, %rax
jne 0x3d2e
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x3ddb
movq %rax, %r14
movq %rsp, %rdi
callq 0x4dbc
movq %rbx, %rdi
callq 0x2bce
movq %r14, %rdi
callq 0x2290
nop
// File: /workspace/github_cpp_makefile_star2_O1/TheStanian[P]Args/Args/Args.cpp
// Function: Flag::Flag(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Flag::Flag(std::string input) {
	if (input.find("=") != input.npos) {
	name = input.substr(0, input.find_first_of("="));
	value = input.substr(input.find_first_of("=")+1);
	} else {
		name = input;
		value = "";
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %r13
movq %r13, (%rdi)
xorl %eax, %eax
movq %rax, 0x8(%rdi)
movb %al, 0x10(%rdi)
leaq 0x20(%rdi), %r14
leaq 0x30(%rdi), %rbp
movq %rbp, 0x20(%rdi)
movq %rax, 0x28(%rdi)
movb %al, 0x30(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rdi)
movq %rax, 0x50(%rdi)
leaq 0x32cb(%rip), %rsi      # 0x7100
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
callq 0x2280
cmpq $-0x1, %rax
je 0x3ef6
leaq 0x32ab(%rip), %rsi      # 0x7100
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
callq 0x2230
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x2190
leaq 0x8(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0x21d0
movq (%r12), %rdi
leaq 0x18(%rsp), %r12
cmpq %r12, %rdi
je 0x3ea1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x3258(%rip), %rsi      # 0x7100
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
callq 0x2230
leaq 0x1(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
movq $-0x1, %rcx
callq 0x2190
leaq 0x8(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x21d0
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x3f19
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x3f19
movq %rbx, %rdi
movq %r15, %rsi
callq 0x20d0
movq 0x28(%rbx), %rdx
leaq 0x321f(%rip), %rcx      # 0x712b
movq %r14, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x2250
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3f2c
jmp 0x3f2c
movq %rax, %r15
leaq 0x40(%rbx), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x3f47
movq 0x50(%rbx), %rsi
subq %rdi, %rsi
callq 0x2180
movq (%r14), %rdi
cmpq %rbp, %rdi
je 0x3f5b
movq (%rbp), %rsi
incq %rsi
callq 0x2180
movq (%rbx), %rdi
cmpq %r13, %rdi
je 0x3f6f
movq (%r13), %rsi
incq %rsi
callq 0x2180
movq %r15, %rdi
callq 0x2290
nop
// File: /workspace/github_cpp_makefile_star2_O1/Tumelo4[P]STACK-IN-CPP/Main.cpp
// Function: main
int main()
{
	Stack* stack = new Stack();
	stack->push(1);
	stack->push(2);
	stack->push(3);
	stack->push(4);
	stack->push(5);
	cout<<*stack<<"\n";

	while(!stack->isEmpty())
	{
		int data = stack->pop();
		if (!stack->isEmpty())
		{
			cout<<data<<",";
		}
		else
		{
			cout<<data;
		}
	}
	cout<<"\n";
	cout<<"Stack is empty: "<<stack->pop()<<"\n";
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $0x8, %edi
callq 0x405560
movq %rax, %rbx
movq %rax, %rdi
callq 0x404714
movq %rbx, %rdi
movl $0x1, %esi
callq 0x40475c
movq %rbx, %rdi
movl $0x2, %esi
callq 0x40475c
movq %rbx, %rdi
movl $0x3, %esi
callq 0x40475c
movq %rbx, %rdi
movl $0x4, %esi
callq 0x40475c
movq %rbx, %rdi
movl $0x5, %esi
callq 0x40475c
movq $0x5e3440, %rdi         # imm = 0x5E3440
movq %rbx, %rsi
callq 0x404801
leaq 0x1785b8(%rip), %rsi    # 0x57cbca
movl $0x1, %edx
movq %rax, %rdi
callq 0x46d310
movq %rbx, %rdi
callq 0x4047f4
testb %al, %al
jne 0x40467b
movq $0x5e3440, %r14         # imm = 0x5E3440
leaq 0x1719cb(%rip), %r15    # 0x576004
movq %rbx, %rdi
callq 0x4047c6
movl %eax, %r12d
movq %rbx, %rdi
callq 0x4047f4
movl %eax, %r13d
movq %r14, %rdi
movl %r12d, %esi
callq 0x46dbe0
testb %r13b, %r13b
jne 0x40466f
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x46d310
movq %rbx, %rdi
callq 0x4047f4
testb %al, %al
je 0x404639
movq $0x5e3440, %r15         # imm = 0x5E3440
leaq 0x178541(%rip), %r14    # 0x57cbca
movl $0x1, %edx
movq %r15, %rdi
movq %r14, %rsi
callq 0x46d310
leaq 0x171966(%rip), %rsi    # 0x576006
movl $0x10, %edx
movq %r15, %rdi
callq 0x46d310
movq %rbx, %rdi
callq 0x4047c6
movq %r15, %rdi
movl %eax, %esi
callq 0x46dbe0
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x46d310
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movl $0x8, %esi
movq %rbx, %rdi
callq 0x404860
movq %r14, %rdi
callq 0x4a5430
// File: /workspace/github_cpp_makefile_star2_O1/Tumelo4[P]STACK-IN-CPP/Stack.cpp
// Function: Stack::~Stack()
Stack::~Stack()
{
	while(top)
	{
		Node* tmp = top;
		top = top->next;
		delete tmp;
		tmp = NULL;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq (%rdi), %r14
testq %r14, %r14
je 0x404757
movq %rdi, %rbx
movq (%r14), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x404702
movl $0x10, %esi
movq %r14, %rdi
callq 0x404860
movq (%rbx), %r14
testq %r14, %r14
jne 0x404734
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Tumelo4[P]STACK-IN-CPP/Stack.cpp
// Function: Stack::push(int)
void Stack::push(int data)
{
	if (top)
	{
		Node* newNode = new Node(data);
		newNode->next = top;
		top = newNode;
	}
	else
	{
		top = new Node(data);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %r15d
movq %rdi, %r14
movq (%rdi), %r12
movl $0x10, %edi
callq 0x405560
movq %rax, %rbx
testq %r12, %r12
je 0x404795
movq %rbx, %rdi
movl %r15d, %esi
callq 0x4046f8
movq (%r14), %rax
movq %rax, (%rbx)
jmp 0x4047a0
movq %rbx, %rdi
movl %r15d, %esi
callq 0x4046f8
movq %rbx, (%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4047ae
movq %rax, %r14
movl $0x10, %esi
movq %rbx, %rdi
callq 0x404860
movq %r14, %rdi
callq 0x4a5430
// File: /workspace/github_cpp_makefile_star2_O1/Tumelo4[P]STACK-IN-CPP/Stack.cpp
// Function: operator<<(std::ostream&, Stack&)
ostream& operator<<(ostream &os, Stack&obj)
{
	for(Node* curr = obj.top; curr!= NULL; curr=curr->next)
	{
		if(curr->next != NULL)
		{
			os<<curr->getData()<<",";
		}
		else os<<curr->getData();
	}
	return os;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq (%rsi), %r14
testq %r14, %r14
je 0x404850
leaq 0x1717e6(%rip), %r15    # 0x576004
movq (%r14), %r12
movq %r14, %rdi
callq 0x404708
movq %rbx, %rdi
movl %eax, %esi
callq 0x46dbe0
testq %r12, %r12
je 0x404848
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x46d310
movq (%r14), %r14
testq %r14, %r14
jne 0x40481e
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O1/brianwu02[P]ImageProcessing/blur.cpp
// Function: main
int main(int argc, char** argv) {
    int xsz, ysz;
    imageP I1, I2, tmp_img;

    xsz = atoi(argv[2]);
    ysz = atoi(argv[3]);

    // bitwise operator to check if xsz & ysz are odd.
    if  (((xsz & 1 ) == 0) or ((ysz & 1) == 0)) {
        // xsz or ysz are even.
        cout << "xsz: " << xsz << endl;
        cout << "ysz: " << ysz << endl;
        cerr << "either xsz or ysz is not odd" << endl;
        exit(1);
    }


    I1 = IP_readImage(argv[1]);
    I2 = NEWIMAGE;
    tmp_img = NEWIMAGE;

    blur(I1, tmp_img, xsz, ysz, I2);

    cout << "done blurring" << endl;

    IP_saveImage(I2, argv[4]);

    IP_freeImage(I1);
    IP_freeImage(I2);
    IP_freeImage(tmp_img);

    cout << "done" << endl;
    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x10(%rsi), %rdi
callq 0x2180
movl %eax, %r14d
movq 0x18(%rbx), %rdi
callq 0x2180
movl %eax, %ebp
testb $0x1, %r14b
je 0x2444
movl %ebp, %eax
andl $0x1, %eax
je 0x2444
movq 0x8(%rbx), %rdi
callq 0x2924
movq %rax, %r15
movl $0x10, %edi
callq 0x2140
movq %rax, %r12
movl $0x10, %edi
callq 0x2140
movq %rax, %r13
movq %r15, %rdi
movq %rax, %rsi
movl %r14d, %edx
movl %ebp, %ecx
movq %r12, %r8
callq 0x24b3
movq 0x2c3a(%rip), %r14      # 0x4fd0
leaq 0xc90(%rip), %rsi       # 0x302d
movl $0xd, %edx
movq %r14, %rdi
callq 0x20f0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x20c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2090
movq 0x20(%rbx), %rsi
movq %r12, %rdi
callq 0x2b4a
movq %r15, %rdi
callq 0x2cfb
movq %r12, %rdi
callq 0x2cfb
movq %r13, %rdi
callq 0x2cfb
leaq 0xc3f(%rip), %rsi       # 0x303b
movl $0x4, %edx
movq %r14, %rdi
callq 0x20f0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x20c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2090
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2b85(%rip), %rbx      # 0x4fd0
leaq 0xbb2(%rip), %rsi       # 0x3004
movq %rbx, %rdi
callq 0x20d0
movq %rax, %rdi
movl %r14d, %esi
callq 0x2190
movq %rax, %rdi
callq 0x2070
leaq 0xb96(%rip), %rsi       # 0x300a
movq %rbx, %rdi
callq 0x20d0
movq %rax, %rdi
movl %ebp, %esi
callq 0x2190
movq %rax, %rdi
callq 0x2070
movq 0x2b5b(%rip), %rdi      # 0x4ff0
leaq 0xb74(%rip), %rsi       # 0x3010
callq 0x20d0
movq %rax, %rdi
callq 0x2070
movl $0x1, %edi
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/brianwu02[P]ImageProcessing/IPutil.cpp
// Function: IP_readImage(char*)
imageP
IP_readImage(char *file) 
{

	imageP	 I;
	int	 w, h, maxGray;
   	char  	 buf[1024];
	uchar	*out;

	// open binary file for reading
	ifstream inFile (file, ios::binary);
	
	// error checking
	if(!inFile) {
		cerr << "readImage: Can't open " << file << endl;
		exit(1);
	}

   	// verify that the image is in PGM format. 
   	inFile.getline(buf, 3);
   	if(strncmp(buf,"P5",2) && strncmp(buf,"P6",2)){
      		cerr << "The file " << file << " is not in PGM format" << endl;
      		inFile.close();
      		exit(1);
   	}

	// read width, height, and maximum gray value
	inFile >> w >> h >> maxGray;

	// skip over linefeed and carriage return
	inFile.getline(buf, 2);

	// allocate image and read file
	I = IP_allocImage(w, h, sizeof(uchar));
	out = I->image;
	inFile.read((char *) out, w*h);

	return (imageP) I;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x628, %rsp            # imm = 0x628
movq %rdi, %rbx
leaq 0x18(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x4, %edx
callq 0x21b0
movq (%r14), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x38(%rsp,%rax)
jne 0x2a43
leaq (%rsp,%rax), %rdi
addq $0x18, %rdi
movl $0xa, %esi
callq 0x20c0
movsbl %al, %ecx
leaq 0x18(%rsp), %rdi
leaq 0x220(%rsp), %rsi
movl $0x3, %edx
callq 0x21c0
movzwl 0x220(%rsp), %eax
cmpl $0x3550, %eax           # imm = 0x3550
je 0x299e
cmpl $0x3650, %eax           # imm = 0x3650
jne 0x2a7c
leaq 0x18(%rsp), %rbx
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x2080
leaq 0xc(%rsp), %rsi
movq %rax, %rdi
callq 0x2080
leaq 0x14(%rsp), %rsi
movq %rax, %rdi
callq 0x2080
movq 0x18(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x20c0
movsbl %al, %ecx
leaq 0x18(%rsp), %rdi
leaq 0x220(%rsp), %rsi
movl $0x2, %edx
callq 0x21c0
movl 0x10(%rsp), %edi
movl 0xc(%rsp), %esi
movl $0x1, %edx
callq 0x2ae3
movq %rax, %rbx
movq 0x8(%rax), %rsi
movslq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rdx
imulq %rax, %rdx
leaq 0x18(%rsp), %rdi
callq 0x2120
leaq 0x18(%rsp), %rdi
callq 0x2050
movq %rbx, %rax
addq $0x628, %rsp            # imm = 0x628
popq %rbx
popq %r14
retq
movq 0x25a6(%rip), %rdi      # 0x4ff0
leaq 0x60f(%rip), %rsi       # 0x3060
movl $0x16, %edx
callq 0x20f0
movq 0x258e(%rip), %rdi      # 0x4ff0
movq %rbx, %rsi
callq 0x20d0
movq %rax, %rdi
callq 0x2070
movl $0x1, %edi
callq 0x2110
movq 0x256d(%rip), %rdi      # 0x4ff0
leaq 0x5f0(%rip), %rsi       # 0x307a
movl $0x9, %edx
callq 0x20f0
movq 0x2555(%rip), %rdi      # 0x4ff0
movq %rbx, %rsi
callq 0x20d0
movq %rax, %rbx
leaq 0x5d7(%rip), %rsi       # 0x3084
movl $0x15, %edx
movq %rax, %rdi
callq 0x20f0
movq %rbx, %rdi
callq 0x2070
leaq 0x18(%rsp), %rdi
callq 0x2040
jmp 0x2a72
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x2050
movq %rbx, %rdi
callq 0x21a0
// File: /workspace/github_cpp_makefile_star2_O1/brianwu02[P]ImageProcessing/IPutil.cpp
// Function: IP_allocImage(int, int, int)
imageP
IP_allocImage(int w, int h, int s)
{
	uchar	*p;
	imageP	 I;

	// allocate memory
	I = (imageP ) malloc(sizeof(imageS));
	p = (uchar *) malloc(w * h * s);
	if(p == NULL) {
		cerr << "IP_allocImage: Insufficient memory\n";
		return ((imageP) NULL);
	}

	// init structure
	I->width  = w;
	I->height = h;
	I->image  = p;

	return(I);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %r15d
movl %esi, %ebp
movl %edi, %r14d
movl $0x10, %edi
callq 0x2140
movq %rax, %rbx
movl %ebp, %eax
imull %r14d, %eax
imull %r15d, %eax
movslq %eax, %rdi
callq 0x2140
testq %rax, %rax
je 0x2b22
movl %r14d, (%rbx)
movl %ebp, 0x4(%rbx)
movq %rax, 0x8(%rbx)
jmp 0x2b3c
movq 0x24c7(%rip), %rdi      # 0x4ff0
leaq 0x586(%rip), %rsi       # 0x30b6
movl $0x23, %edx
callq 0x20f0
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/brianwu02[P]ImageProcessing/IPutil.cpp
// Function: IP_saveImage(imageS*, char*)
void 
IP_saveImage(imageP I, char *file)
{

	uchar	*out;

	// open binary file for writing
	ofstream outFile(file, ios::binary);

	// error checking
	if (!outFile) {
		cerr << "IP_savePGM: Can't open " << file << endl;
		exit(1);
	}

	// save PGM header
	outFile <<"P5" << endl;
	outFile <<I->width<< " " << I->height << endl;
	outFile << "255" << endl;

	// save image data
	out = I->image;
	outFile.write((char *) out, I->width*I->height);
	outFile.close();

}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %r15
movq %r15, %rdi
movl $0x4, %edx
callq 0x20e0
movq (%r15), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%rsp,%rax)
jne 0x2caf
leaq 0x4f2(%rip), %rsi       # 0x3077
movq %rsp, %r14
movl $0x2, %edx
movq %r14, %rdi
callq 0x20f0
movq (%rsp), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x20c0
movsbl %al, %esi
movq %rsp, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2090
movl (%rbx), %esi
movq %rsp, %rdi
callq 0x2190
movq %rax, %r14
leaq 0x48d(%rip), %rsi       # 0x305e
movl $0x1, %edx
movq %rax, %rdi
callq 0x20f0
movl 0x4(%rbx), %esi
movq %r14, %rdi
callq 0x2190
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x20c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2090
leaq 0x498(%rip), %rsi       # 0x30b2
movq %rsp, %r14
movl $0x3, %edx
movq %r14, %rdi
callq 0x20f0
movq (%rsp), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x20c0
movsbl %al, %esi
movq %rsp, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2090
movq 0x8(%rbx), %rsi
movslq (%rbx), %rax
movslq 0x4(%rbx), %rdx
imulq %rax, %rdx
movq %rsp, %rdi
callq 0x2130
movq %rsp, %rdi
callq 0x2150
movq 0x2350(%rip), %rax      # 0x4fc8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x8(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, (%rsp,%rcx)
callq 0x20a0
leaq 0xf8(%rsp), %rdi
callq 0x2060
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r14
popq %r15
retq
movq 0x233a(%rip), %rdi      # 0x4ff0
leaq 0x3dd(%rip), %rsi       # 0x309a
movl $0x17, %edx
callq 0x20f0
movq 0x2322(%rip), %rdi      # 0x4ff0
movq %r14, %rsi
callq 0x20d0
movq %rax, %rdi
callq 0x2070
movl $0x1, %edi
callq 0x2110
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2160
movq %rbx, %rdi
callq 0x21a0
// File: /workspace/github_cpp_makefile_star2_O1/sweeterthancandy[P]linux_event_debugger/./event_monitor.h
// Function: event_monitor::event_monitor(boost::asio::io_context&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
explicit event_monitor(boost::asio::io_service& io, const std::string& dev)
                :io_(io)
                ,work_(io) // keep alive
                ,desc_(io)
                ,dev_(dev)
        {
                int fd = open(dev_.c_str(), O_RDONLY);
                if( fd < 0 ) 
                        BOOST_THROW_EXCEPTION(std::domain_error("unable to open file"));
                desc_.assign( fd );
        }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdx, %r12
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rsi, 0x10(%rdi)
movq 0x8(%rsi), %rax
movq %rax, 0x18(%rdi)
lock
incq 0xd0(%rax)
leaq 0x20(%rdi), %r14
movq %r14, %rdi
xorl %edx, %edx
callq 0x1b87a
leaq 0x68(%rbx), %r15
leaq 0x78(%rbx), %r13
movq %r13, 0x68(%rbx)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x12c3e
leaq 0xa0(%rbx), %rdi
leaq 0x18(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq 0x1b656
movq (%r15), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0xb3a0
movl %eax, 0x4(%rsp)
testl %eax, %eax
js 0x1b5a6
leaq 0x4(%rsp), %rsi
movq %r14, %rdi
callq 0x1b70e
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x124c1(%rip), %rsi     # 0x2da6e
leaq 0x8(%rsp), %rdi
callq 0xb2f0
leaq 0x124c4(%rip), %rax     # 0x2da82
leaq 0x18(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x124c7(%rip), %rax     # 0x2da94
movq %rax, 0x8(%rsi)
movq $0x19, 0x10(%rsi)
leaq 0x8(%rsp), %rdi
callq 0x1b6be
movq %rax, %r12
leaq 0x8(%rsp), %rdi
callq 0xb440
jmp 0x1b606
jmp 0x1b603
movq %rax, %r12
jmp 0x1b620
movq %rax, %r12
jmp 0x1b634
movq %rax, %r12
jmp 0x1b63c
movq %rax, %r12
leaq 0x2795b(%rip), %rax     # 0x42f68
movq %rax, 0xa0(%rbx)
leaq 0xb0(%rbx), %rdi
callq 0x1a4dc
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x1b634
movq (%r13), %rsi
incq %rsi
callq 0xb4d0
movq %r14, %rdi
callq 0x1c73e
leaq 0x18(%rbx), %rdi
callq 0x18636
movq %rbx, %rdi
callq 0x1b844
movq %r12, %rdi
callq 0xb860
nop
// File: /workspace/github_cpp_makefile_star2_O1/sweeterthancandy[P]linux_event_debugger/./event_monitor.h
// Function: event_monitor::start_read()
void start_read(){
                auto self = shared_from_this();
                boost::asio::async_read( desc_, boost::asio::buffer(ev_buffer_),
                        [this,self](const boost::system::error_code& ec, size_t n){
                                if( ec ){
                                        // must of been cancelled
                                 
                                } else {
                                        assert( n == sizeof(struct input_event) && "unexpected read size");
                                        sig_(dev_, *reinterpret_cast<struct input_event*>(ev_buffer_.data()));
                                        start_read();
                                }
                });
        }

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x30(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1cc8c
leaq 0x20(%rbx), %rax
leaq 0x88(%rbx), %rcx
movq %rcx, 0x20(%rsp)
movq $0x18, 0x28(%rsp)
movq %rbx, 0x8(%rsp)
movq (%r14), %rdx
movq 0x8(%r14), %rcx
movq %rdx, 0x10(%rsp)
movq %rcx, 0x18(%rsp)
testq %rcx, %rcx
je 0x1cc21
movq 0x2738d(%rip), %rdx     # 0x43fa0
cmpb $0x0, (%rdx)
je 0x1cc1d
incl 0x8(%rcx)
jmp 0x1cc21
lock
incl 0x8(%rcx)
leaq 0x40(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x8(%rsp), %rsi
leaq 0x20(%rsp), %rdx
leaq 0x7(%rsp), %rcx
callq 0x1cce2
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x1cc4c
callq 0x1a96e
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x1cc5b
callq 0x1a96e
addq $0x48, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x1cc75
callq 0x1a96e
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x1cc84
callq 0x1a96e
movq %rbx, %rdi
callq 0xb860
// File: /workspace/github_cpp_makefile_star2_O1/VanAndelInstitute[P]intent/main.cpp
// Function: readFour[abi:cxx11](zstr::istream&)
std::vector<std::string> readFour(zstr::istream &f)
{
  std::vector<std::string> lines;
  std::string line;
  for(int i = 0; i < 4; i++) {
    if(f.peek() != EOF ) {
      getline(f, line);
      lines.push_back(line);
    } else {
      lines.push_back("");
    }
  }
  return lines;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
leaq 0x38(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
movl $0x4, %ebp
leaq 0x18c4c(%rip), %r15     # 0x31439
leaq 0x8(%rsp), %r12
leaq 0x28(%rsp), %r13
movq %r14, %rdi
callq 0x6180
cmpl $-0x1, %eax
je 0x18833
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x6390
movsbl %al, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x66a0
movq %rbx, %rdi
movq %r13, %rsi
callq 0x1a226
jmp 0x18872
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r12, %rdi
movq %r15, %rsi
movq %r15, %rdx
callq 0x1be64
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1c7e6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x18872
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x63c0
decl %ebp
jne 0x187f7
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x18892
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x63c0
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x188ca
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x63c0
jmp 0x188ca
jmp 0x188c7
movq %rax, %r14
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x188e6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x63c0
movq %rbx, %rdi
callq 0x1a264
movq %r14, %rdi
callq 0x6660
// File: /workspace/github_cpp_makefile_star2_O1/VanAndelInstitute[P]intent/main.cpp
// Function: update_stats(std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l>>>, int, int, int, int, int, int)
void update_stats(std::chrono::steady_clock::time_point start, int a, int b, int c, int d, int e, int f) {
  auto now = std::chrono::steady_clock::now();
  int secs = std::chrono::duration_cast<std::chrono::seconds>(now - start).count();
  printf("|%11d|%11d|%11d|%11d|%11d|%11d| (in %d secs)\r", a, b, c, d, e, f, secs);
  fflush(stdout);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %ebx
movl %r8d, %ebp
movl %ecx, %r14d
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %r13
movl 0x40(%rsp), %eax
movq %rax, (%rsp)
callq 0x6520
subq %r13, %rax
movabsq $0x112e0be826d694b3, %rcx # imm = 0x112E0BE826D694B3
imulq %rcx
movq %rdx, %r10
movq %rdx, %rax
shrq $0x3f, %rax
shrq $0x1a, %r10
addl %eax, %r10d
leaq 0x188b5(%rip), %rdi     # 0x3138e
movl %r12d, %esi
movl %r15d, %edx
movl %r14d, %ecx
movl %ebp, %r8d
movl %ebx, %r9d
xorl %eax, %eax
pushq %r10
pushq 0x8(%rsp)
callq 0x6070
addq $0x10, %rsp
movq 0x26450(%rip), %rax     # 0x3ef50
movq (%rax), %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6490
// File: /workspace/github_cpp_makefile_star2_O1/VanAndelInstitute[P]intent/include/strict_fstream.hpp
// Function: strict_fstream::strerror[abi:cxx11]()
static std::string strerror()
{
    std::string buff(80, '\0');
#ifdef _WIN32
    if (strerror_s(&buff[0], buff.size(), errno) != 0)
    {
        buff = "Unknown error";
    }
#elif (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE
// XSI-compliant strerror_r()
    if (strerror_r(errno, &buff[0], buff.size()) != 0)
    {
        buff = "Unknown error";
    }
#elif __APPLE__ && __clang__ && ! _GNU_SOURCE
// XSI-compliant strerror_r()
    if (strerror_r(errno, &buff[0], buff.size()) != 0)
    {
        buff = "Unknown error";
    }
#else 
// GNU-specific strerror_r()
    auto p = strerror_r(errno, &buff[0], buff.size());
    std::string tmp(p, std::strlen(p));
    std::swap(buff, tmp);
#endif
    buff.resize(buff.find('\0'));
    return buff;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movl $0x50, %esi
xorl %edx, %edx
callq 0x6480
callq 0x6060
movl (%rax), %edi
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
callq 0x60d0
movq %rax, %r14
movq %rax, %rdi
callq 0x61b0
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq (%rax,%r14), %rdx
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x1be64
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x62d0
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6500
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x6110
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a116
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x63c0
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a144
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x63c0
jmp 0x1a144
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x1a157
movq (%r15), %rsi
incq %rsi
callq 0x63c0
movq %r14, %rdi
callq 0x6660
nop
// File: /workspace/github_cpp_makefile_star2_O1/VanAndelInstitute[P]intent/include/zstr.hpp
// Function: zstr::istreambuf::istreambuf(std::basic_streambuf<char, std::char_traits<char>>*, unsigned long, bool)
istreambuf(std::streambuf * _sbuf_p,
               std::size_t _buff_size = default_buff_size, bool _auto_detect = true)
        : sbuf_p(_sbuf_p),
          zstrm_p(nullptr),
          buff_size(_buff_size),
          auto_detect(_auto_detect),
          auto_detect_run(false),
          is_text(false)
    {
        assert(sbuf_p);
        in_buff = new char [buff_size];
        in_buff_start = in_buff;
        in_buff_end = in_buff;
        out_buff = new char [buff_size];
        setg(out_buff, out_buff, out_buff);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq 0x24551(%rip), %r13     # 0x3ef80
addq $0x10, %r13
movq %r13, (%rdi)
leaq 0x38(%rdi), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x28(%rdi)
movq %r14, %rdi
callq 0x66f0
leaq 0x23c50(%rip), %rax     # 0x3e6a8
movq %rax, (%rbx)
movq %r12, 0x40(%rbx)
movq $0x0, 0x68(%rbx)
movq %r15, 0x70(%rbx)
movb %bpl, 0x78(%rbx)
movw $0x0, 0x79(%rbx)
testq %r12, %r12
je 0x1aab5
movq %r15, %rdi
callq 0x6030
movq %rax, 0x48(%rbx)
movq %rax, 0x50(%rbx)
movq %rax, 0x58(%rbx)
movq %r15, %rdi
callq 0x6030
movq %rax, 0x60(%rbx)
movq %rax, 0x8(%rbx)
movq %rax, 0x10(%rbx)
movq %rax, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x16aaf(%rip), %rdi     # 0x3156b
leaq 0x16aaf(%rip), %rsi     # 0x31572
leaq 0x16ab9(%rip), %rcx     # 0x31583
movl $0x74, %edx
callq 0x6290
movq %rax, %r15
movq %r13, (%rbx)
movq %r14, %rdi
callq 0x6580
movq %r15, %rdi
callq 0x6660
// File: /workspace/github_cpp_makefile_star2_O1/VanAndelInstitute[P]intent/include/zstr.hpp
// Function: zstr::detail::z_stream_wrapper::~z_stream_wrapper()
~z_stream_wrapper()
    {
        if (is_input)
        {
            inflateEnd(this);
        }
        else
        {
            deflateEnd(this);
        }
    }

// Assembly:
pushq %rax
cmpb $0x1, 0x70(%rdi)
jne 0x1ae3a
callq 0x6410
jmp 0x1ae3f
callq 0x6250
popq %rax
retq
movq %rax, %rdi
callq 0x1a9dd
nop