LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/OtherCrashOverride[P]xu4enc/./M2M.h
// Function: M2M::GetEncodedData(void*)
int GetEncodedData(void* dataOut)
	{
		int result;


		// deque
		v4l2_plane planes[VIDEO_MAX_PLANES];

		v4l2_buffer buffer = { 0 };
		buffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
		buffer.memory = V4L2_MEMORY_MMAP;
		buffer.m.planes = planes;
		buffer.length = 1;

		int ret = ioctl(mfc_fd, VIDIOC_DQBUF, &buffer);
		if (ret != 0)
		{
			printf("Waiting on V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE buffer.\n");
			result = 0;
		}
		else
		{
			result = buffer.m.planes[0].bytesused;

			// Copy data
			BufferMapping mapping = outputBuffers[buffer.index];

			memcpy(dataOut, mapping.Start0, buffer.m.planes[0].bytesused);


			// Re-queue buffer
			ret = ioctl(mfc_fd, VIDIOC_QBUF, &buffer);
			if (ret != 0)
			{
				throw Exception("VIDIOC_QBUF failed.");
			}
		}

		return result;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x260, %rsp            # imm = 0x260
movq %rsi, %r15
movq %rdi, %r14
movl $0xc058560f, %eax       # imm = 0xC058560F
xorps %xmm0, %xmm0
leaq -0x80(%rbp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x30(%rdx)
movaps %xmm0, 0x40(%rdx)
movaps %xmm0, 0x20(%rdx)
movaps %xmm0, 0x10(%rdx)
movq $0x0, 0x50(%rdx)
movl $0x9, 0x4(%rdx)
movl $0x1, %ecx
movl %ecx, 0x3c(%rdx)
leaq -0x280(%rbp), %rsi
movq %rsi, 0x40(%rdx)
movl %ecx, 0x48(%rdx)
movl 0x8(%rdi), %edi
leaq 0x2(%rax), %rsi
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x2110
testl %eax, %eax
je 0x327a
leaq 0x228a(%rip), %rdi      # 0x54fd
callq 0x2160
jmp 0x32b7
leaq -0x80(%rbp), %r12
movq 0x40(%r12), %rax
movl (%rax), %ebx
movl (%r12), %eax
movq 0x38(%r14), %rcx
shlq $0x5, %rax
movq (%rcx,%rax), %rsi
movq %r15, %rdi
movq %rbx, %rdx
callq 0x20e0
movl 0x8(%r14), %edi
movl $0xc058560f, %esi       # imm = 0xC058560F
movq %r12, %rdx
xorl %eax, %eax
callq 0x2110
testl %eax, %eax
jne 0x32c9
movl %ebx, %eax
addq $0x260, %rsp            # imm = 0x260
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0x24d7
// File: /workspace/github_cpp_makefile_star2_O3/OtherCrashOverride[P]xu4enc/./M2M.h
// Function: M2M::~M2M()
~M2M()
	{
		// Stop output stream
		int val = (int)V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;

		int ret = ioctl(mfc_fd, VIDIOC_STREAMOFF, &val);
		if (ret != 0)
		{
			throw Exception("VIDIOC_STREAMOFF failed.");
		}

		// Stop input stream
		val = (int)V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;

		ret = ioctl(mfc_fd, VIDIOC_STREAMOFF, &val);
		if (ret != 0)
		{
			throw Exception("VIDIOC_STREAMOFF failed.");
		}


		close(mfc_fd);
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq -0xc(%rbp), %rdx
movl $0x9, (%rdx)
movl 0x8(%rdi), %edi
movl $0x40045613, %esi       # imm = 0x40045613
xorl %eax, %eax
callq 0x2110
testl %eax, %eax
jne 0x3345
leaq -0xc(%rbp), %rdx
movl $0xa, (%rdx)
movl 0x8(%rbx), %edi
movl $0x40045613, %esi       # imm = 0x40045613
xorl %eax, %eax
callq 0x2110
testl %eax, %eax
jne 0x3345
movl 0x8(%rbx), %edi
callq 0x21f0
leaq 0x58(%rbx), %rdi
callq 0x3f9c
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x3330
callq 0x20f0
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x333e
callq 0x20f0
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movl $0x8, %edi
callq 0x2090
movq %rax, %rbx
leaq 0x4a3f(%rip), %rax      # 0x7d98
movq %rax, (%rbx)
movq 0x4c75(%rip), %rax      # 0x7fd8
movq (%rax), %rdi
leaq 0x1dba(%rip), %rsi      # 0x5127
leaq 0x212a(%rip), %rdx      # 0x549e
xorl %eax, %eax
callq 0x2120
leaq 0x49ee(%rip), %rsi      # 0x7d70
movq 0x4c5f(%rip), %rdx      # 0x7fe8
movq %rbx, %rdi
callq 0x21b0
movq %rax, %rdi
callq 0x3ade
nop
// File: /workspace/github_cpp_makefile_star2_O3/OtherCrashOverride[P]xu4enc/./M2M.h
// Function: M2M::ApplyInputSettings()
void ApplyInputSettings()
	{
		// Apply capture settings
		v4l2_format format = { 0 };
		format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
		format.fmt.pix_mp.width = width;
		format.fmt.pix_mp.height = height;
		format.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_NV12M;
		format.fmt.pix_mp.num_planes = 2;

		int io = ioctl(mfc_fd, VIDIOC_S_FMT, &format);
		if (io < 0)
		{
			throw Exception("VIDIOC_S_FMT failed.");
		}

		fprintf(stderr, "v4l2_format: width=%d, height=%d, pixelformat=0x%x\n",
			format.fmt.pix.width, format.fmt.pix.height, format.fmt.pix.pixelformat);


		v4l2_streamparm streamParm = { 0 };
		streamParm.type = format.type;
		streamParm.parm.capture.timeperframe.numerator = 1;
		streamParm.parm.capture.timeperframe.denominator = fps;

		io = ioctl(mfc_fd, VIDIOC_S_PARM, &streamParm);
		if (io < 0)
		{
			throw Exception("VIDIOC_S_PARM failed.");
		}

		fprintf(stderr, "capture.timeperframe: numerator=%d, denominator=%d\n",
			streamParm.parm.capture.timeperframe.numerator,
			streamParm.parm.capture.timeperframe.denominator);


		SetProfile();

		SetBitrate(bitrate);
		
		SetGroupOfPictures(gop);
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rdi, %rbx
movl $0xc0cc5616, %r15d      # imm = 0xC0CC5616
leaq -0xe8(%rbp), %r14
movl $0xd0, %edx
movq %r14, %rdi
xorl %esi, %esi
callq 0x20b0
movl $0xa, (%r14)
movl 0xc(%rbx), %eax
movl %eax, 0x8(%r14)
movl 0x10(%rbx), %eax
movl %eax, 0xc(%r14)
movl $0x32314d4e, 0x10(%r14) # imm = 0x32314D4E
movb $0x2, 0xbc(%r14)
movl 0x8(%rbx), %edi
leaq 0x3ffef(%r15), %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x2110
testl %eax, %eax
js 0x34e3
movq 0x4bab(%rip), %r15      # 0x7fd8
movq (%r15), %rdi
movl -0xe0(%rbp), %edx
movl -0xdc(%rbp), %ecx
movl -0xd8(%rbp), %r8d
leaq 0x1ea3(%rip), %rsi      # 0x52ed
xorl %eax, %eax
callq 0x2120
leaq -0x1b0(%rbp), %r14
movl $0xc8, %edx
movq %r14, %rdi
xorl %esi, %esi
callq 0x20b0
movl -0xe8(%rbp), %eax
movl %eax, -0x4(%r14)
movl $0x1, 0x8(%r14)
movl 0x14(%rbx), %eax
movl %eax, 0xc(%r14)
movl 0x8(%rbx), %edi
leaq -0x1b4(%rbp), %rdx
movl $0xc0cc5616, %esi       # imm = 0xC0CC5616
xorl %eax, %eax
callq 0x2110
testl %eax, %eax
js 0x34e8
movq (%r15), %rdi
movl -0x1a8(%rbp), %edx
movl -0x1a4(%rbp), %ecx
leaq 0x1e87(%rip), %rsi      # 0x5337
xorl %eax, %eax
callq 0x2120
movq %rbx, %rdi
callq 0x3b0a
movl 0x18(%rbx), %esi
movq %rbx, %rdi
callq 0x3b7a
movl 0x1c(%rbx), %esi
movq %rbx, %rdi
callq 0x3be6
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x2543
callq 0x250d
nop
// File: /workspace/github_cpp_makefile_star2_O3/OtherCrashOverride[P]xu4enc/./M2M.h
// Function: M2M::ApplyOutputSettings()
void ApplyOutputSettings()
	{
		// Apply capture settings
		v4l2_format format = { 0 };
		format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
		format.fmt.pix_mp.width = width;
		format.fmt.pix_mp.height = height;
		format.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_H264;
		format.fmt.pix_mp.plane_fmt[0].sizeimage = width * height * 4;

		int io = ioctl(mfc_fd, VIDIOC_S_FMT, &format);
		if (io < 0)
		{
			throw Exception("VIDIOC_S_FMT failed.");
		}

		fprintf(stderr, "v4l2_format: width=%d, height=%d, pixelformat=0x%x\n",
			format.fmt.pix.width, format.fmt.pix.height, format.fmt.pix.pixelformat);

	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rdi, %rbx
leaq -0xe0(%rbp), %r14
movl $0xd0, %edx
movq %r14, %rdi
xorl %esi, %esi
callq 0x20b0
movl $0x9, (%r14)
movl 0xc(%rbx), %eax
movl %eax, 0x8(%r14)
movl 0x10(%rbx), %ecx
movl %ecx, 0xc(%r14)
movl $0x34363248, 0x10(%r14) # imm = 0x34363248
imull %ecx, %eax
shll $0x2, %eax
movl %eax, 0x1c(%r14)
movl 0x8(%rbx), %edi
movl $0xc0d05605, %esi       # imm = 0xC0D05605
movq %r14, %rdx
xorl %eax, %eax
callq 0x2110
testl %eax, %eax
js 0x37b7
movq 0x4851(%rip), %rax      # 0x7fd8
movq (%rax), %rdi
movl -0xd8(%rbp), %edx
movl -0xd4(%rbp), %ecx
movl -0xd0(%rbp), %r8d
leaq 0x1b49(%rip), %rsi      # 0x52ed
xorl %eax, %eax
callq 0x2120
addq $0xd0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
callq 0x2687
// File: /workspace/github_cpp_makefile_star2_O3/OtherCrashOverride[P]xu4enc/./M2M.h
// Function: M2M::SetProfile()
void SetProfile()
	{
		//V4L2_CID_MPEG_VIDEO_H264_PROFILE = V4L2_MPEG_VIDEO_H264_PROFILE_HIGH
		//V4L2_CID_MPEG_VIDEO_H264_LEVEL = V4L2_MPEG_VIDEO_H264_LEVEL_4_0

#if 1
		v4l2_ext_control ctrl[2] = { 0 };
		ctrl[0].id = V4L2_CID_MPEG_VIDEO_H264_PROFILE;
		ctrl[0].value = V4L2_MPEG_VIDEO_H264_PROFILE_MAIN;

		ctrl[1].id = V4L2_CID_MPEG_VIDEO_H264_LEVEL;
		ctrl[1].value = V4L2_MPEG_VIDEO_H264_LEVEL_4_0;

		v4l2_ext_controls ctrls = { 0 };
		ctrls.ctrl_class = V4L2_CTRL_CLASS_MPEG;
		ctrls.count = 2;
		ctrls.controls = ctrl;

		int io = ioctl(mfc_fd, VIDIOC_S_EXT_CTRLS, &ctrls);
		if (io != 0)
		{
			throw Exception("VIDIOC_S_EXT_CTRLS failed.");
		}
#endif

	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
xorps %xmm0, %xmm0
leaq -0x50(%rbp), %rax
movaps %xmm0, (%rax)
movaps %xmm0, 0x10(%rax)
movq $0x0, 0x20(%rax)
movl $0x990a6b, (%rax)       # imm = 0x990A6B
movl $0x2, 0xc(%rax)
movl $0x990a67, 0x14(%rax)   # imm = 0x990A67
movl $0xb, 0x20(%rax)
leaq -0x20(%rbp), %rdx
movups %xmm0, 0x8(%rdx)
movabsq $0x200990000, %rcx      # imm = 0x200990000
movq %rcx, (%rdx)
movq %rax, 0x18(%rdx)
movl 0x8(%rdi), %edi
movl $0xc0205648, %esi       # imm = 0xC0205648
xorl %eax, %eax
callq 0x2110
testl %eax, %eax
jne 0x3b75
addq $0x50, %rsp
popq %rbp
retq
callq 0x27df
// File: /workspace/github_cpp_makefile_star2_O3/OtherCrashOverride[P]xu4enc/./M2M.h
// Function: M2M::SetBitrate(int)
void SetBitrate(int value)
	{
		v4l2_ext_control ctrl[2] = { 0 };
		ctrl[0].id = V4L2_CID_MPEG_VIDEO_BITRATE;
		ctrl[0].value = value;

		ctrl[1].id = V4L2_CID_MPEG_VIDEO_FRAME_RC_ENABLE;
		ctrl[1].value = 1;

		v4l2_ext_controls ctrls = { 0 };
		ctrls.ctrl_class = V4L2_CTRL_CLASS_MPEG;
		ctrls.count = 2;
		ctrls.controls = ctrl;

		int io = ioctl(mfc_fd, VIDIOC_S_EXT_CTRLS, &ctrls);
		if (io != 0)
		{
			throw Exception("VIDIOC_S_EXT_CTRLS failed.");
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
xorps %xmm0, %xmm0
leaq -0x50(%rbp), %rax
movaps %xmm0, (%rax)
movaps %xmm0, 0x10(%rax)
movq $0x0, 0x20(%rax)
movl $0x9909cf, (%rax)       # imm = 0x9909CF
movl %esi, 0xc(%rax)
movl $0x9909d7, 0x14(%rax)   # imm = 0x9909D7
movl $0x1, 0x20(%rax)
leaq -0x20(%rbp), %rdx
movups %xmm0, 0x8(%rdx)
movabsq $0x200990000, %rcx      # imm = 0x200990000
movq %rcx, (%rdx)
movq %rax, 0x18(%rdx)
movl 0x8(%rdi), %edi
movl $0xc0205648, %esi       # imm = 0xC0205648
xorl %eax, %eax
callq 0x2110
testl %eax, %eax
jne 0x3be1
addq $0x50, %rsp
popq %rbp
retq
callq 0x2815
// File: /workspace/github_cpp_makefile_star2_O3/OtherCrashOverride[P]xu4enc/./M2M.h
// Function: M2M::SetGroupOfPictures(int)
void SetGroupOfPictures(int value)
	{
		v4l2_ext_control ctrl = { 0 };
		ctrl.id = V4L2_CID_MPEG_VIDEO_GOP_SIZE;
		ctrl.value = value;

		v4l2_ext_controls ctrls = { 0 };
		ctrls.ctrl_class = V4L2_CTRL_CLASS_MPEG;
		ctrls.count = 1;
		ctrls.controls = &ctrl;

		int io = ioctl(mfc_fd, VIDIOC_S_EXT_CTRLS, &ctrls);
		if (io != 0)
		{
			throw Exception("VIDIOC_S_EXT_CTRLS failed.");
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
xorps %xmm0, %xmm0
leaq -0x14(%rbp), %rax
movups %xmm0, 0x4(%rax)
movl $0x9909cb, (%rax)       # imm = 0x9909CB
movl %esi, 0xc(%rax)
leaq -0x38(%rbp), %rdx
movups %xmm0, 0x8(%rdx)
movabsq $0x100990000, %rcx      # imm = 0x100990000
movq %rcx, (%rdx)
movq %rax, 0x18(%rdx)
movl 0x8(%rdi), %edi
movl $0xc0205648, %esi       # imm = 0xC0205648
xorl %eax, %eax
callq 0x2110
testl %eax, %eax
jne 0x3c34
addq $0x40, %rsp
popq %rbp
retq
callq 0x284b
nop
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: splitString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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>>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int splitString(const std::string& str, std::vector<std::string>& ret, const std::string& delim)
{
	if (str.empty())
	{
		return 0;
	}

	string tmp;
	string::size_type start = 0U;
	string::size_type end = str.find(delim);
	while (end != std::string::npos)
	{
		tmp = str.substr(start, end - start);
		ret.push_back(tmp);
		start = end + delim.length();
		end = str.find(delim, start);
	}

	tmp = str.substr(start, end);

	if (!tmp.empty())
	{
		ret.push_back(tmp);
		tmp.clear();
	}

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, 0x20(%rsp)
cmpq $0x0, 0x8(%rdi)
je 0x3ad3
movq %rdx, %r15
movq %rdi, %r14
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq (%rdx), %rsi
movq 0x8(%rdx), %rcx
xorl %r12d, %r12d
xorl %edx, %edx
callq 0x3620
cmpq $-0x1, %rax
je 0x3a52
movq %rax, %rbx
xorl %r12d, %r12d
leaq 0x28(%rsp), %r13
movq %rsp, %rbp
movq %rbx, %rcx
subq %r12, %rcx
movq %r13, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x33b0
movq %rbp, %rdi
movq %r13, %rsi
callq 0x3450
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3a24
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x20(%rsp), %rdi
movq %rbp, %rsi
callq 0xbbe8
movq (%r15), %rsi
movq 0x8(%r15), %rcx
movq %rbx, %r12
addq %rcx, %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x3620
movq %rax, %rbx
cmpq $-0x1, %rax
jne 0x39e9
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
movq $-0x1, %rcx
callq 0x33b0
movq %rsp, %rdi
leaq 0x28(%rsp), %rbx
movq %rbx, %rsi
callq 0x3450
movq (%rbx), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3a93
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3390
cmpq $0x0, 0x8(%rsp)
je 0x3ab8
movq %rsp, %rsi
movq 0x20(%rsp), %rdi
callq 0xbbe8
movq $0x0, 0x8(%rsp)
movq (%rsp), %rax
movb $0x0, (%rax)
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x3ad3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3aea
jmp 0x3aea
jmp 0x3aea
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x3b08
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
movq %rbx, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: vectorFindAll(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>>>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
vector<int> vectorFindAll(const vector<string>& v, string value){
	vector<int>  indexVector;
	int vs=v.size();
	for( int i=0;i<vs;i++){
		if(v[i]==value){
            indexVector.push_back(i);
		}
	}
	if(indexVector.size()==0){
		indexVector.push_back(-1);
	}

	return indexVector;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x8(%rsi), %rbp
subq (%rsi), %rbp
shrq $0x5, %rbp
movl $0x0, (%rsp)
leaq 0x8(%rdi), %r13
testl %ebp, %ebp
jle 0x3d3d
movq %rdx, %r14
movq %rsi, %r15
xorl %r12d, %r12d
movslq %r12d, %rcx
movq (%r15), %rax
shlq $0x5, %rcx
movq 0x8(%rax,%rcx), %rdx
cmpq 0x8(%r14), %rdx
jne 0x3d1f
testq %rdx, %rdx
je 0x3cfd
addq %rcx, %rax
movq (%r14), %rsi
movq (%rax), %rdi
callq 0x33a0
testl %eax, %eax
jne 0x3d1f
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x3d14
movl %r12d, (%rsi)
addq $0x4, %rsi
movq %rsi, (%r13)
jmp 0x3d1f
movq %rbx, %rdi
movq %rsp, %rdx
callq 0xc88e
movl (%rsp), %r12d
incl %r12d
movl %r12d, (%rsp)
cmpl %ebp, %r12d
jl 0x3cd1
movq (%rbx), %rax
movq 0x8(%rbx), %rsi
cmpq %rax, %rsi
jne 0x3d6c
jmp 0x3d41
xorl %esi, %esi
xorl %eax, %eax
movl $0xffffffff, 0x4(%rsp)  # imm = 0xFFFFFFFF
cmpq 0x10(%rbx), %rax
je 0x3d5f
movl $0xffffffff, (%rsi)     # imm = 0xFFFFFFFF
addq $0x4, %rsi
movq %rsi, (%r13)
jmp 0x3d6c
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0xc9ca
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3d80
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x3d97
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x3390
movq %r14, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: vectorNonZeroAllIndex(std::vector<int, std::allocator<int>> const&)
vector<int> vectorNonZeroAllIndex(const vector<int>& v){
	vector<int> indexVector;
	int vs=v.size();
	for (int i = 0; i < vs; i++){
		if(v[i]>0){
			indexVector.push_back(i);
		}
	}
	if(indexVector.size()==0){
		indexVector.push_back(-1);
	}
	return indexVector;
}

// 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 0x8(%rsi), %r12
subq (%rsi), %r12
shrq $0x2, %r12
movl $0x0, (%rsp)
testl %r12d, %r12d
jle 0x3e50
movq %rsi, %r14
xorl %eax, %eax
movq %rsp, %r15
movslq %eax, %rcx
movq (%r14), %rdx
cmpl $0x0, (%rdx,%rcx,4)
jle 0x3e35
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x3e2a
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x3e35
movq %rbx, %rdi
movq %r15, %rdx
callq 0xc88e
movl (%rsp), %eax
incl %eax
movl %eax, (%rsp)
cmpl %r12d, %eax
jl 0x3e08
movq (%rbx), %rax
movq 0x8(%rbx), %rsi
cmpq %rax, %rsi
jne 0x3e7f
jmp 0x3e54
xorl %esi, %esi
xorl %eax, %eax
movl $0xffffffff, 0x4(%rsp)  # imm = 0xFFFFFFFF
cmpq 0x10(%rbx), %rax
je 0x3e72
movl $0xffffffff, (%rsi)     # imm = 0xFFFFFFFF
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x3e7f
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0xc9ca
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x3e90
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x3ea7
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x3390
movq %r14, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: vectorMatchCount(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>>>> const&, 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>>>> const&)
vector<int> vectorMatchCount(const vector<string>& v1, const vector<string>& v2){
	int vs1=v1.size();
	int vs2=v2.size();

	vector<int> c(vs1,0);
	for (int i = 0; i < vs2; ++i)
	{
		for (int j = 0; j < vs1; ++j)
		{
			if(v2[i]==v1[j]){
				c[j]++;
				break;
			}
		}
	}
	return c;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq 0x8(%rsi), %rax
subq (%rsi), %rax
movq 0x8(%rdx), %rbx
subq (%rdx), %rbx
shrq $0x5, %rbx
shrq $0x5, %rax
movq %rax, 0x20(%rsp)
movslq %eax, %rsi
leaq 0x44(%rsp), %rdx
movl $0x0, (%rdx)
leaq 0xf(%rsp), %rcx
movq %rdi, 0x10(%rsp)
callq 0xbc84
movq %rbx, 0x18(%rsp)
testl %ebx, %ebx
jle 0x4014
movq (%r15), %rax
movq %rax, 0x38(%rsp)
movq (%r14), %rcx
movq 0x10(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x28(%rsp)
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andq %rax, 0x18(%rsp)
movq 0x20(%rsp), %r12
andq %rax, %r12
addq $0x8, %rcx
movq %rcx, 0x30(%rsp)
xorl %ebp, %ebp
cmpl $0x0, 0x20(%rsp)
jle 0x400a
movq %rbp, %rax
shlq $0x5, %rax
movq 0x38(%rsp), %rcx
leaq (%rcx,%rax), %rbx
movq 0x8(%rcx,%rax), %r14
movq 0x30(%rsp), %r15
xorl %r13d, %r13d
cmpq (%r15), %r14
jne 0x3ff3
testq %r14, %r14
je 0x4001
movq -0x8(%r15), %rsi
movq (%rbx), %rdi
movq %r14, %rdx
callq 0x33a0
testl %eax, %eax
je 0x4001
incq %r13
addq $0x20, %r15
cmpq %r13, %r12
jne 0x3fd6
jmp 0x400a
movq 0x28(%rsp), %rax
incl (%rax,%r13,4)
incq %rbp
cmpq 0x18(%rsp), %rbp
jne 0x3fb2
movq 0x10(%rsp), %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: vectorExpandNonNegativeSum(std::vector<int, std::allocator<int>> const&, int)
vector<int> vectorExpandNonNegativeSum(const vector<int>& v,int total){
	vector<int> uv = v;

	if(uv.size() == 0) uv.push_back(total);
	else {
		int prevSum = vectorNonNegativeSum(v);
		if (total > prevSum) {
			float scale = (float)(total) / prevSum;
			for (unsigned int i=0; i<uv.size(); i++) {
				if (uv[i] >=0 ) {
					uv[i] = ceil(uv[i] * scale);
				}
			}
		}
	}
	return uv;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movl %edx, 0xc(%rsp)
callq 0xbe00
movq (%rbx), %r15
movq 0x8(%rbx), %rsi
movq %rsi, %r12
subq %r15, %r12
je 0x4185
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
testl %ecx, %ecx
jle 0x4197
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
xorl %esi, %esi
xorl %edi, %edi
xorl %edx, %edx
movl (%rax,%rdi,4), %r8d
testl %r8d, %r8d
cmovlel %esi, %r8d
addl %r8d, %edx
incq %rdi
cmpq %rdi, %rcx
jne 0x416d
jmp 0x4199
cmpq 0x10(%rbx), %rsi
je 0x41e5
movl %ebp, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x41f2
xorl %edx, %edx
cmpl %ebp, %edx
jge 0x41f2
cvtsi2ss %ebp, %xmm1
cvtsi2ss %edx, %xmm0
sarq $0x2, %r12
divss %xmm0, %xmm1
movss %xmm1, 0x8(%rsp)
xorl %r14d, %r14d
movl (%r15,%r14,4), %eax
testl %eax, %eax
js 0x41d8
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
mulss 0x8(%rsp), %xmm0
callq 0x3200
cvttss2si %xmm0, %eax
movl %eax, (%r15,%r14,4)
incq %r14
movl %r14d, %eax
cmpq %rax, %r12
ja 0x41b6
jmp 0x41f2
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
callq 0xc88e
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x4219
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x3390
movq %r14, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: currentDateTime[abi:cxx11]()
const std::string currentDateTime() {
    time_t     now = time(0);
    struct tm  tstruct;
    char       buf[80];
    tstruct = *localtime(&now);
    // Visit http://en.cppreference.com/w/cpp/chrono/c/strftime
    // for more information about date/time format
    strftime(buf, sizeof(buf), "%Y-%m-%d %X", &tstruct);

    return buf;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
xorl %edi, %edi
callq 0x3330
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
callq 0x3270
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups 0x20(%rax), %xmm2
leaq 0x60(%rsp), %rcx
movaps %xmm0, (%rcx)
movaps %xmm1, 0x10(%rcx)
movaps %xmm2, 0x20(%rcx)
movq 0x30(%rax), %rax
movq %rax, 0x30(%rcx)
leaq 0x9da9(%rip), %rdx      # 0xe053
leaq 0x10(%rsp), %r14
movl $0x50, %esi
movq %r14, %rdi
callq 0x32b0
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x3180
leaq (%rsp,%rax), %rdx
addq $0x10, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xc5ec
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: mkdirRecursive(char const*)
void mkdirRecursive(const char *dir) {
        char tmp[256];
        char *p = NULL;
        size_t len;

        snprintf(tmp, sizeof(tmp),"%s",dir);
        len = strlen(tmp);
        if(tmp[len - 1] == '/')
                tmp[len - 1] = 0;
        for(p = tmp + 1; *p; p++)
                if(*p == '/') {
                        *p = 0;
                        mkdir(tmp, S_IRWXU);
                        *p = '/';
                }
        mkdir(tmp, S_IRWXU);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
movq %rdi, %rcx
leaq 0x9b1a(%rip), %rdx      # 0xe069
xorl %ebp, %ebp
movq %rsp, %rbx
movl $0x100, %esi            # imm = 0x100
movq %rbx, %rdi
xorl %eax, %eax
callq 0x35a0
movq %rbx, %rdi
callq 0x3180
movzbl -0x1(%rax,%rbx), %ecx
cmpb $0x2f, %cl
cmovel %ebp, %ecx
movb %cl, -0x1(%rax,%rbx)
leaq 0x1(%rsp), %r14
movzbl (%r14), %eax
cmpl $0x2f, %eax
je 0x458e
testl %eax, %eax
jne 0x45a3
jmp 0x45a8
movb $0x0, (%r14)
movq %rbx, %rdi
movl $0x1c0, %esi            # imm = 0x1C0
callq 0x31a0
movb $0x2f, (%r14)
incq %r14
jmp 0x457f
movq %rsp, %rdi
movl $0x1c0, %esi            # imm = 0x1C0
callq 0x31a0
addq $0x100, %rsp            # imm = 0x100
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: writeFile(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::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool writeFile(string dir, string fileName, string content) {
	mkdirRecursive(dir.c_str());
	ofstream file;
	string fullPath = dir + fileName;
	file.open(fullPath.c_str(), ios::out | ios::trunc);
	if (file.is_open()) {
		file << content;
		file.close();
		return true;
	} else {
		return false;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x220, %rsp            # imm = 0x220
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq (%rdi), %rdi
callq 0x453a
leaq 0x20(%rsp), %rdi
callq 0x35f0
movq %rsp, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xbebd
movq (%rsp), %rsi
leaq 0x20(%rsp), %rdi
movl $0x30, %edx
callq 0x3070
leaq 0x90(%rsp), %rdi
callq 0x30c0
movl %eax, %ebx
testb %al, %al
je 0x4637
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0x20(%rsp), %rdi
callq 0x3400
leaq 0x20(%rsp), %rdi
callq 0x34d0
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4652
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0xe977(%rip), %rax      # 0x12fd0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x28(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x20(%rsp,%rcx)
callq 0x32f0
leaq 0x118(%rsp), %rdi
callq 0x3150
movl %ebx, %eax
addq $0x220, %rsp            # imm = 0x220
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
jmp 0x46b6
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x46b6
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x20(%rsp), %rdi
callq 0x3500
movq %rbx, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: readFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool readFile(string path, string &content) {
	std::ifstream file(path.c_str(), std::ifstream::in);
	if (file.is_open()) {
		std::stringstream buffer;
		buffer << file.rdbuf();
		content = buffer.str();
		file.close();
		return true;
	} else {
		return false;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x3b0, %rsp            # imm = 0x3B0
movq %rsi, %r14
movq (%rdi), %rsi
leaq 0x1a8(%rsp), %rdi
movl $0x8, %edx
callq 0x3680
leaq 0x220(%rsp), %rdi
callq 0x30c0
movl %eax, %ebx
testb %al, %al
je 0x477b
leaq 0x20(%rsp), %rdi
callq 0x3240
leaq 0x30(%rsp), %rdi
leaq 0x1b8(%rsp), %rsi
callq 0x30b0
leaq 0x38(%rsp), %rsi
movq %rsp, %rdi
callq 0x3580
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x3450
movq (%r15), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x4750
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x1a8(%rsp), %rdi
callq 0x30a0
movq 0xe84c(%rip), %rsi      # 0x12fb0
leaq 0x20(%rsp), %rdi
callq 0x3260
leaq 0xa0(%rsp), %rdi
callq 0x3150
leaq 0x1a8(%rsp), %rdi
callq 0x30e0
movl %ebx, %eax
addq $0x3b0, %rsp            # imm = 0x3B0
popq %rbx
popq %r14
popq %r15
retq
jmp 0x479e
movq %rax, %rbx
jmp 0x47bf
movq %rax, %rbx
movq 0xe808(%rip), %rsi      # 0x12fb0
leaq 0x20(%rsp), %rdi
callq 0x3260
leaq 0xa0(%rsp), %rdi
callq 0x3150
leaq 0x1a8(%rsp), %rdi
callq 0x30e0
movq %rbx, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: readFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool readFile(string path, int offset, int length, string &content) {
	std::ifstream file(path.c_str(), std::ifstream::in);
	if (file.is_open()) {
		char *buffer = new char [length];
		file.seekg(offset);
		file.read (buffer,length);

		std::stringstream ss;
		ss << buffer;
		content = ss.str();

		file.close();
		delete []buffer;
		return true;
	} else {
		return false;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x3b0, %rsp            # imm = 0x3B0
movq %rcx, %r15
movl %edx, %r14d
movl %esi, %ebp
movq (%rdi), %rsi
leaq 0x1a8(%rsp), %rdi
movl $0x8, %edx
callq 0x3680
leaq 0x220(%rsp), %rdi
callq 0x30c0
movl %eax, %ebx
testb %al, %al
je 0x48d8
movslq %r14d, %r12
movq %r12, %rdi
callq 0x3030
movq %rax, %r14
movslq %ebp, %rsi
leaq 0x1a8(%rsp), %rdi
xorl %edx, %edx
callq 0x3470
leaq 0x1a8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x3460
leaq 0x20(%rsp), %rdi
callq 0x3240
leaq 0x30(%rsp), %r12
movq %r14, %rdi
callq 0x3180
movq %r12, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x3400
leaq 0x38(%rsp), %rsi
movq %rsp, %rdi
callq 0x3580
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x3450
movq (%r12), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x48a5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x1a8(%rsp), %rdi
callq 0x30a0
movq %r14, %rdi
callq 0x3480
movq 0xe6ef(%rip), %rsi      # 0x12fb0
leaq 0x20(%rsp), %rdi
callq 0x3260
leaq 0xa0(%rsp), %rdi
callq 0x3150
leaq 0x1a8(%rsp), %rdi
callq 0x30e0
movl %ebx, %eax
addq $0x3b0, %rsp            # imm = 0x3B0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x48fb
jmp 0x491e
movq %rax, %rbx
movq 0xe6ab(%rip), %rsi      # 0x12fb0
leaq 0x20(%rsp), %rdi
callq 0x3260
leaq 0xa0(%rsp), %rdi
callq 0x3150
jmp 0x4921
movq %rax, %rbx
leaq 0x1a8(%rsp), %rdi
callq 0x30e0
movq %rbx, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: readFileToLines(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 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>>>>&)
bool readFileToLines(string path, vector<string> &content) {
	std::ifstream file(path.c_str(), std::ifstream::in);
	if (file.is_open()) {
		std::string line;
		while (std::getline(file, line)) {
			content.push_back(line);
		}

		file.close();
		return true;
	} else {
		return false;
	}

}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x230, %rsp            # imm = 0x230
movq %rsi, %r14
movq (%rdi), %rsi
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movl $0x8, %edx
callq 0x3680
leaq 0xa0(%rsp), %rdi
callq 0x30c0
movl %eax, %ebx
testb %al, %al
je 0x49ec
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq 0x8(%rsp), %r12
movq 0x28(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3360
movsbl %al, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x3690
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x49cb
movq %r14, %rdi
movq %r12, %rsi
callq 0xbbe8
jmp 0x498c
leaq 0x28(%rsp), %rdi
callq 0x30a0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x49ec
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x28(%rsp), %rdi
callq 0x30e0
movl %ebx, %eax
addq $0x230, %rsp            # imm = 0x230
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x4a0b
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4a25
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x28(%rsp), %rdi
callq 0x30e0
movq %rbx, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: readFileByLineNumber(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool readFileByLineNumber(string path, int offset, int length, string &content) {
	std::ifstream file(path.c_str(), std::ifstream::in);
	if (file.is_open()) {
		int lines_count =0;
		std::string line;
		std::stringstream ss;
		while (std::getline(file , line)) {
			if (lines_count >= offset && lines_count < offset + length) {
				ss << line << endl;
			}
			++lines_count;
			if (lines_count >= offset+length) break;
		}
		content = ss.str();
		file.close();
		return true;
	} else {
		return false;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3e8, %rsp            # imm = 0x3E8
movq %rcx, %r14
movl %edx, %ebp
movl %esi, %r15d
movq (%rdi), %rsi
leaq 0x1e0(%rsp), %r12
movq %r12, %rdi
movl $0x8, %edx
callq 0x3680
leaq 0x258(%rsp), %rdi
callq 0x30c0
movl %eax, %ebx
testb %al, %al
je 0x4bd0
movq %r14, 0x30(%rsp)
movb %bl, 0xf(%rsp)
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x58(%rsp), %rdi
callq 0x3240
addl %r15d, %ebp
cmpl $0x2, %ebp
movl $0x1, %r13d
cmovgel %ebp, %r13d
xorl %r14d, %r14d
movq 0x1e0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3360
movsbl %al, %edx
movq %r12, %rdi
leaq 0x10(%rsp), %rsi
callq 0x3690
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x4b4a
cmpl %r15d, %r14d
setl %al
cmpl %ebp, %r14d
setge %cl
orb %al, %cl
jne 0x4b3e
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0x68(%rsp), %rdi
callq 0x3400
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3220
incl %r14d
cmpl %r14d, %r13d
jne 0x4ab9
leaq 0x70(%rsp), %rsi
leaq 0x38(%rsp), %rdi
callq 0x3580
leaq 0x38(%rsp), %rbx
movq 0x30(%rsp), %rdi
movq %rbx, %rsi
callq 0x3450
movq (%rbx), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
movb 0xf(%rsp), %bl
je 0x4b89
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x1e0(%rsp), %rdi
callq 0x30a0
movq 0xe413(%rip), %rsi      # 0x12fb0
leaq 0x58(%rsp), %rdi
callq 0x3260
leaq 0xd8(%rsp), %rdi
callq 0x3150
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x4bd0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x1e0(%rsp), %rdi
callq 0x30e0
movl %ebx, %eax
addq $0x3e8, %rsp            # imm = 0x3E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4bfa
jmp 0x4bfa
movq %rax, %rbx
jmp 0x4c1b
movq %rax, %rbx
movq 0xe3ac(%rip), %rsi      # 0x12fb0
leaq 0x58(%rsp), %rdi
callq 0x3260
leaq 0xd8(%rsp), %rdi
callq 0x3150
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x4c37
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x1e0(%rsp), %rdi
callq 0x30e0
movq %rbx, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: getFileLength(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, long&)
bool getFileLength(string path,  long &size) {
	std::ifstream file(path.c_str(), std::ifstream::ate | std::ifstream::binary);
	if (file.is_open()) {
		size = file.tellg();
		file.close();
		return true;
	} else {
		return false;
	}
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rsi, %r14
movq (%rdi), %rsi
movq %rsp, %rdi
movl $0x6, %edx
callq 0x3680
leaq 0x78(%rsp), %rdi
callq 0x30c0
movl %eax, %ebx
testb %al, %al
je 0x4c8c
movq %rsp, %rdi
callq 0x3610
movq %rax, (%r14)
movq %rsp, %rdi
callq 0x30a0
movq %rsp, %rdi
callq 0x30e0
movl %ebx, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
retq
jmp 0x4ca3
movq %rax, %rbx
movq %rsp, %rdi
callq 0x30e0
movq %rbx, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: getFileLineNumber(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, long&)
bool getFileLineNumber(string path,  long &size) {
	std::size_t lines_count =0;
	std::string line;
	std::ifstream file(path.c_str());

	if (file.is_open()) {
		while (std::getline(file , line))
			++lines_count;
		size = lines_count;
		file.close();
		return true;
	} else {
		return false;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rsi, %r14
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
movq (%rdi), %rsi
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movl $0x8, %edx
callq 0x3680
leaq 0x98(%rsp), %rdi
callq 0x30c0
movl %eax, %ebx
testb %al, %al
je 0x4d51
xorl %ebp, %ebp
movq %rsp, %r12
movq 0x20(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3360
movsbl %al, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x3690
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x4d44
incq %rbp
jmp 0x4d0d
movq %rbp, (%r14)
leaq 0x20(%rsp), %rdi
callq 0x30a0
leaq 0x20(%rsp), %rdi
callq 0x30e0
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4d71
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
movl %ebx, %eax
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4d8c
movq %rax, %rbx
jmp 0x4d99
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x30e0
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4daf
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
movq %rbx, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: num2string[abi:cxx11](int)
string num2string(int val) {
	char buffer [33];
	memset(buffer, 0, sizeof(buffer));
	snprintf(buffer, sizeof(buffer), "%d", val);
	return buffer;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %esi, %ecx
movq %rdi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %r14
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
movb $0x0, 0x20(%r14)
leaq 0x928e(%rip), %rdx      # 0xe06c
movl $0x21, %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x35a0
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x3180
leaq (%rsp,%rax), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xc5ec
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: num2string[abi:cxx11](long)
string num2string(long val) {
	char buffer [33];
	memset(buffer, 0, sizeof(buffer));
	snprintf(buffer, sizeof(buffer), "%ld", val);
	return buffer;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %r14
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
movb $0x0, 0x20(%r14)
leaq 0x9231(%rip), %rdx      # 0xe06f
movl $0x21, %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x35a0
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x3180
leaq (%rsp,%rax), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xc5ec
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: findDelimitationCouplePosition(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::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long)
string::size_type findDelimitationCouplePosition(string s, string delim_l, string delim_r, string::size_type pos) {
	string::size_type pos1 = pos;
	string::size_type pos2 = pos;
	int c = 0, len_l = delim_l.length(), len_r = delim_r.length();
	do {
		pos1 = s.find(delim_l, pos1);
		pos2 = s.find(delim_r, pos2);
		if (pos2 == string::npos) break;
		if (pos1 < pos2) {
			c ++;
			pos1 += len_l;
		}
		else {
			c --;
			if (c <= 0) break;
			pos2 += len_r;
		}
	} while (true);
	return pos2;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rsi
movq 0x8(%r14), %rcx
movq 0x8(%rdx), %rax
movq %rax, 0x8(%rsp)
movq %rbp, %rdx
movq %rcx, %r12
callq 0x3620
movq %rax, %r13
movq (%rbx), %rsi
movq 0x8(%rbx), %rcx
movq %r15, %rdi
movq %rbp, %rdx
callq 0x3620
cmpq $-0x1, %rax
je 0x4f2b
movq %rax, %rbp
movslq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
movslq %r12d, %rax
movq %rax, 0x8(%rsp)
xorl %r12d, %r12d
cmpq %rbp, %r13
jae 0x4eed
incl %r12d
addq 0x8(%rsp), %r13
jmp 0x4efb
cmpl $0x2, %r12d
jl 0x4f34
decl %r12d
addq 0x10(%rsp), %rbp
movq (%r14), %rsi
movq 0x8(%r14), %rcx
movq %r15, %rdi
movq %r13, %rdx
callq 0x3620
movq %rax, %r13
movq (%rbx), %rsi
movq 0x8(%rbx), %rcx
movq %r15, %rdi
movq %rbp, %rdx
callq 0x3620
movq %rax, %rbp
cmpq $-0x1, %rax
jne 0x4ede
movq $-0x1, %rax
jmp 0x4f37
movq %rbp, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: listAllFileNames(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 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>>>>&)
bool listAllFileNames(string dirname, vector<string> &files) {
	DIR *dp;
	struct dirent *dirp;

	if((dp=opendir(dirname.c_str()))==NULL) {
	    //perror("opendir error");
	    return false;
	}

	while((dirp=readdir(dp))!=NULL) {
	    if((strcmp(dirp->d_name,".")==0)||(strcmp(dirp->d_name,"..")==0))
	                        continue;
	    string _file(dirp->d_name);
	    files.push_back(_file);
	}
	closedir(dp);
	return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq (%rdi), %rdi
callq 0x3530
movq %rax, %r14
testq %rax, %rax
je 0x5361
movq %r14, %rdi
callq 0x3540
testq %rax, %rax
je 0x5359
movq %rax, %r12
leaq 0x10(%rsp), %r13
movq %rsp, %r15
cmpb $0x2e, 0x13(%r12)
jne 0x5309
cmpb $0x0, 0x14(%r12)
je 0x5349
cmpb $0x2e, 0x14(%r12)
jne 0x5309
cmpb $0x0, 0x15(%r12)
je 0x5349
addq $0x13, %r12
movq %r13, (%rsp)
movq %r12, %rdi
callq 0x3180
leaq (%rax,%r12), %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0xc5ec
movq %rbx, %rdi
movq %r15, %rsi
callq 0xbbe8
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x5349
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
movq %r14, %rdi
callq 0x3540
movq %rax, %r12
testq %rax, %rax
jne 0x52e9
movq %r14, %rdi
callq 0x35b0
testq %r14, %r14
setne %al
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x538e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
movq %rbx, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: listAllFileNamesContain(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 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>>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool listAllFileNamesContain(string dirname, vector<string> &files, string contain) {
 	DIR *dp;
 	struct dirent *dirp;

 	if((dp=opendir(dirname.c_str()))==NULL) {
 	    perror("opendir error");
 	    return false;
 	}

 	while((dirp=readdir(dp))!=NULL) {
 	    if((strcmp(dirp->d_name,".")==0)||(strcmp(dirp->d_name,"..")==0))
 	                        continue;
 	    string _file(dirp->d_name);
 	    if(_file.find(contain) < _file.length())
 	    	 files.push_back(_file);
 	}
	closedir(dp);
 	return true;
 }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq (%rdi), %rdi
callq 0x3530
movq %rax, %rbx
testq %rax, %rax
je 0x5483
movq %rbx, %rdi
callq 0x3540
testq %rax, %rax
je 0x5466
movq %rax, %r13
leaq 0x18(%rsp), %rbp
leaq 0x8(%rsp), %r12
cmpb $0x2e, 0x13(%r13)
jne 0x53f8
cmpb $0x0, 0x14(%r13)
je 0x5452
cmpb $0x2e, 0x14(%r13)
jne 0x53f8
cmpb $0x0, 0x15(%r13)
je 0x5452
addq $0x13, %r13
movq %rbp, 0x8(%rsp)
movq %r13, %rdi
callq 0x3180
leaq (%rax,%r13), %rdx
movq %r12, %rdi
movq %r13, %rsi
callq 0xc5ec
movq (%r14), %rsi
movq 0x8(%r14), %rcx
movq %r12, %rdi
xorl %edx, %edx
callq 0x3620
cmpq 0x10(%rsp), %rax
jae 0x543b
movq %r15, %rdi
movq %r12, %rsi
callq 0xbbe8
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5452
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
movq %rbx, %rdi
callq 0x3540
movq %rax, %r13
testq %rax, %rax
jne 0x53dc
movq %rbx, %rdi
callq 0x35b0
testq %rbx, %rbx
setne %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8be9(%rip), %rdi      # 0xe073
callq 0x32e0
jmp 0x546e
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x54ab
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
movq %rbx, %rdi
callq 0x3640
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Utils.hpp
// Function: hash(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned int)
unsigned int hash(string str, unsigned int seed = 0) {
 	unsigned int hash = seed;
 	const char *s = str.c_str();
 	while (*s) {
 		hash = hash * 101  +  *s++;
 	}
 	return hash;
 }

// Assembly:
movl %esi, %eax
movq (%rdi), %rcx
movb (%rcx), %dl
testb %dl, %dl
je 0x54d2
incq %rcx
imull $0x65, %eax, %esi
movsbl %dl, %eax
addl %esi, %eax
movb (%rcx), %dl
incq %rcx
testb %dl, %dl
jne 0x54c1
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Logging.hpp
// Function: Logging::logVerbose(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Logging::logVerbose(const string &msg) {
	if (logging_mask < 1) {
		pthread_mutex_lock(&mutex_logging);
		cout << "[" << currentDateTime() << "][VERBOSE]: " << msg << endl;
		pthread_mutex_unlock(&mutex_logging);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
cmpl $0x0, 0xde94(%rip)      # 0x13388
jg 0x55b5
movq %rdi, %rbx
leaq 0xdec4(%rip), %rdi      # 0x133c8
callq 0x34f0
movq 0xdac8(%rip), %r14      # 0x12fd8
leaq 0x8d73(%rip), %rsi      # 0xe28a
movl $0x1, %edx
movq %r14, %rdi
callq 0x3400
movq %rsp, %r15
movq %r15, %rdi
callq 0x425f
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r14, %rdi
callq 0x3400
movq %rax, %r14
leaq 0x8b39(%rip), %rsi      # 0xe081
movl $0xc, %edx
movq %rax, %rdi
callq 0x3400
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x3400
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3220
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x55a9
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0xde18(%rip), %rdi      # 0x133c8
callq 0x3290
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x55dd
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
movq %rbx, %rdi
callq 0x3640
nop
// File: /workspace/github_cpp_makefile_star2_O3/sjtuwrk[P]SunwayMR/include/Logging.hpp
// Function: Logging::logDebug(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Logging::logDebug(const string &msg) {
	if (logging_mask < 2) {
		pthread_mutex_lock(&mutex_logging);
		cout << "[" << currentDateTime() << "][DEBUG]: " << msg << endl;
		pthread_mutex_unlock(&mutex_logging);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
cmpl $0x1, 0xdd92(%rip)      # 0x13388
jg 0x56b7
movq %rdi, %rbx
leaq 0xddc2(%rip), %rdi      # 0x133c8
callq 0x34f0
movq 0xd9c6(%rip), %r14      # 0x12fd8
leaq 0x8c71(%rip), %rsi      # 0xe28a
movl $0x1, %edx
movq %r14, %rdi
callq 0x3400
movq %rsp, %r15
movq %r15, %rdi
callq 0x425f
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r14, %rdi
callq 0x3400
movq %rax, %r14
leaq 0x8a44(%rip), %rsi      # 0xe08e
movl $0xa, %edx
movq %rax, %rdi
callq 0x3400
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x3400
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3220
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x56ab
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0xdd16(%rip), %rdi      # 0x133c8
callq 0x3290
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x56df
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3390
movq %rbx, %rdi
callq 0x3640
nop