LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/ProgramIterator.h
// Function: ProgramIterator<400ul, 32ul, 12ul, 32ul>::NextIteratorSizes()
bool NextIteratorSizes()
	{
		int_fast32_t iteratorSizesIdx;
	restart:;
		iteratorSizesIdx = iteratorCount - 2;
		while (iteratorSizesIdx >= 0)
		{
			if (remainingSize == 0)
			{
				remainingSize += iteratorSizes[iteratorSizesIdx];
				assert(iteratorSizesIdx >= 0 && iteratorSizesIdx < max_program_size);
				iteratorSizes[iteratorSizesIdx] = 0;
				iteratorSizesIdx--;
			}
			else
			{
				assert(iteratorSizesIdx >= 0 && iteratorSizesIdx < max_program_size);
#ifdef MAX_FIRST_SIZE
				if (iteratorSizesIdx == 0 && iteratorSizes[0] >= MAX_FIRST_SIZE)
					return false;
#endif
				iteratorSizes[iteratorSizesIdx]++;
				assert(iteratorCount - 1 >= 0 && iteratorCount - 1 < max_program_size);
				remainingSize--;
#ifdef NO_ENDING
				if (remainingSize != 0) goto restart;
#endif
				iteratorSizes[iteratorCount - 1] = remainingSize;
				return true;
			}
		}
		return false;
	}

// Assembly:
pushq %rax
movq 0x20(%rdi), %rax
addq $-0x2, %rax
js 0x5ee2
movq %rax, %rcx
cmpq $0x0, 0x3e28(%rdi)
jne 0x5ea7
movq 0x28(%rdi,%rcx,8), %rdx
movq %rdx, 0x3e28(%rdi)
cmpq $0x20, %rax
jae 0x5ee6
movq $0x0, 0x28(%rdi,%rcx,8)
addq $-0x1, %rcx
jb 0x5e7a
jmp 0x5ee2
cmpq $0x20, %rcx
jae 0x5f05
testq %rcx, %rcx
jne 0x5eb9
cmpq $0x0, 0x28(%rdi)
jg 0x5ee2
incq 0x28(%rdi,%rcx,8)
movq 0x20(%rdi), %rax
leaq -0x1(%rax), %rcx
cmpq $0x20, %rcx
jae 0x5f24
decq 0x3e28(%rdi)
jne 0x5e71
movq $0x0, 0x20(%rdi,%rax,8)
movb $0x1, %al
jmp 0x5ee4
xorl %eax, %eax
popq %rcx
retq
leaq 0x345a(%rip), %rdi      # 0x9347
leaq 0x3365(%rip), %rsi      # 0x9259
leaq 0x3489(%rip), %rcx      # 0x9384
movl $0x1db, %edx            # imm = 0x1DB
callq 0x2120
leaq 0x343b(%rip), %rdi      # 0x9347
leaq 0x3346(%rip), %rsi      # 0x9259
leaq 0x346a(%rip), %rcx      # 0x9384
movl $0x1e1, %edx            # imm = 0x1E1
callq 0x2120
leaq 0x34e0(%rip), %rdi      # 0x940b
leaq 0x3327(%rip), %rsi      # 0x9259
leaq 0x344b(%rip), %rcx      # 0x9384
movl $0x1e7, %edx            # imm = 0x1E7
callq 0x2120
nop
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/ProgramIterator.h
// Function: ProgramIterator<400ul, 32ul, 12ul, 32ul>::SetJumps()
void SetJumps()
	{
		uint_fast32_t leftBracketStack[max_program_size];

		for (uint_fast32_t i = 0; i < iteratorCount - 1; i++)
		{
			if (brackets[i].bracket == Bracket::LEFT)
			{
				leftBracketStack[brackets[i].depth] = i;
			}
			else
			{
				uint_fast32_t lbracket = leftBracketStack[brackets[i - 1].depth];
				jumps[i].zero = jumps[lbracket].zero = i + 1;
				jumps[i].nonzero = jumps[lbracket].nonzero = lbracket + 1;
			}
		}
	}

// Assembly:
movq 0x20(%rdi), %rax
decq %rax
je 0x5fb7
subq $0x88, %rsp
leaq 0x3e30(%rdi), %rcx
addq $0x4030, %rdi           # imm = 0x4030
xorl %edx, %edx
movq %rdx, %rsi
shlq $0x4, %rsi
cmpl $0x1, (%rcx,%rsi)
jne 0x5f82
addq %rcx, %rsi
movq 0x8(%rsi), %rsi
movq %rdx, -0x80(%rsp,%rsi,8)
incq %rdx
jmp 0x5fab
movq -0x8(%rsi,%rcx), %r8
movq -0x80(%rsp,%r8,8), %r8
incq %rdx
movq %r8, %r9
shlq $0x4, %r9
movq %rdx, (%rdi,%r9)
movq %rdx, (%rdi,%rsi)
incq %r8
movq %r8, 0x8(%rdi,%r9)
movq %r8, 0x8(%rdi,%rsi)
cmpq %rax, %rdx
jne 0x5f64
addq $0x88, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/ProgramSearch.h
// Function: ProgramSearch<ProgramIterator<400ul, 32ul, 12ul, 32ul>, DataCache<32ul, 12ul>>::CountSize()
void CountSize()
	{
		PIteratorT iterator;
		iterator.SetCache(&cache);
		iterator.SetDivisionTable(&divisionTable);

		std::cout << " Calculating program count for size " << programSize << "...\r" << std::flush;
		programSizeCount = iterator.TotalCount(programSize);
		std::cout << std::endl << " Completed program count calculation for size " << programSize << std::endl;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x4578, %rsp           # imm = 0x4578
movq %rdi, %rbx
movl $0x128, %eax            # imm = 0x128
movq $0x0, (%rsp,%rax)
addq $0x1e8, %rax            # imm = 0x1E8
cmpq $0x3e28, %rax           # imm = 0x3E28
jne 0x5fce
xorps %xmm0, %xmm0
movups %xmm0, 0x4258(%rsp)
movups %xmm0, 0x4248(%rsp)
movq $0x0, 0x4268(%rsp)
leaq 0x8(%rbx), %rax
movq %rax, (%rsp)
movl $0x128, %ecx            # imm = 0x128
movq %rax, (%rsp,%rcx)
addq $0x1e8, %rcx            # imm = 0x1E8
cmpq $0x3e28, %rcx           # imm = 0x3E28
jne 0x6010
leaq 0x1f8(%rbx), %rax
movq %rsp, %r15
movq %rax, 0x4460(%r15)
movq 0x6f9c(%rip), %r14      # 0xcfd8
leaq 0x356f(%rip), %rsi      # 0x95b2
movl $0x24, %edx
movq %r14, %rdi
callq 0x2270
movq 0x85a20(%rbx), %rsi
movq %r14, %rdi
callq 0x2140
movq %rax, %r12
leaq 0x356e(%rip), %rsi      # 0x95d7
movl $0x4, %edx
movq %rax, %rdi
callq 0x2270
movq %r12, %rdi
callq 0x2150
movq 0x85a20(%rbx), %rsi
movq %r15, %rdi
callq 0x6f30
movq %rax, 0x85a28(%rbx)
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq %rax, %r14
leaq 0x3517(%rip), %rsi      # 0x95dc
movl $0x2e, %edx
movq %rax, %rdi
callq 0x2270
movq 0x85a20(%rbx), %rsi
movq %r14, %rdi
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
addq $0x4578, %rsp           # imm = 0x4578
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/ProgramIterator.h
// Function: ProgramIterator<400ul, 32ul, 12ul, 32ul>::TotalCount(unsigned long)
uint_fast64_t TotalCount(uint_fast32_t programSize)
	{
		uint_fast64_t result = 0;
		
		Start(programSize, 0, 1);
		while (true)
		{
			uint_fast64_t iteratorsResult = 1;
			for (uint_fast32_t i = 0; i < iteratorCount; i++)
			{
				iteratorsResult *= iterators[0].SizeCount(iteratorSizes[i]);
			}
			result += iteratorsResult;

			while (!NextBrackets())
			{
				if (!NextValidIteratorSizes(threadDelta))
				{
					return result;
				}
				bracketIdx = 0;
			}
		}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
xorl %r14d, %r14d
movl $0x1, %ecx
xorl %edx, %edx
callq 0x59e0
leaq 0x128(%rbx), %r15
cmpq $0x0, 0x20(%rbx)
movl $0x1, %r12d
je 0x6f7c
xorl %r13d, %r13d
movq 0x28(%rbx,%r13,8), %rsi
movq %r15, %rdi
callq 0x6fb6
imulq %rax, %r12
incq %r13
cmpq 0x20(%rbx), %r13
jb 0x6f62
addq %r12, %r14
movq %rbx, %rdi
callq 0x5bfe
testb %al, %al
jne 0x6f52
movq 0x10(%rbx), %rsi
movq %rbx, %rdi
callq 0x5aca
testb %al, %al
je 0x6fa8
movq $0x0, 0x4230(%rbx)
jmp 0x6f7f
movq %r14, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/LinearIterator.h
// Function: LinearIterator<32ul, 12ul, 32ul>::SizeCount(unsigned long)
uint_fast64_t SizeCount(uint_fast32_t programSize)
	{
		uint_fast32_t stackSize = programSize == 0 ? 1 : (programSize - 1) / cache_size + 1;
		uint_fast32_t firstCacheSize = programSize == 0 ? 0 : (programSize - 1) % cache_size + 1;

		uint_fast32_t cacheSizeCount = cache->SizeCount(cache_size);
		uint_fast64_t result = cache->SizeCount(firstCacheSize);
		for (uint_fast32_t i = 1; i < stackSize; i++)
		{
			result *= cacheSizeCount;
		}
		return result;
	}

// Assembly:
testq %rsi, %rsi
je 0x6fe6
decq %rsi
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
movq %rsi, %rax
mulq %rcx
shrq $0x3, %rdx
leaq 0x1(%rdx), %rcx
shlq $0x2, %rdx
leaq (%rdx,%rdx,2), %rax
subq %rax, %rsi
incq %rsi
jmp 0x6fed
movl $0x1, %ecx
xorl %esi, %esi
movq (%rdi), %rdi
movq 0x88(%rdi,%rsi,8), %rdx
movq 0x90(%rdi,%rsi,8), %rax
addq 0x100(%rdi,%rsi,8), %rax
addq 0xf8(%rdi,%rsi,8), %rdx
subq %rdx, %rax
cmpq $0x2, %rcx
jb 0x7044
movq 0xe8(%rdi), %rsi
movq 0xf0(%rdi), %rdx
addq 0x160(%rdi), %rdx
addq 0x158(%rdi), %rsi
subq %rsi, %rdx
decq %rcx
imulq %rdx, %rax
decq %rcx
jne 0x703b
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/ProgramIterator.h
// Function: ProgramIterator<400ul, 32ul, 12ul, 32ul>::Next()
bool Next()
	{
		serializeLock.lock();
		while (!NextIterators())
		{
			int_fast64_t iteratorsCount = 1;
			for (uint_fast32_t i = 0; i < iteratorCount; i++)
			{
				iteratorsCount *= iterators[0].SizeCount(iteratorSizes[i]);
			}
			currentCount += iteratorsCount;

			while (!NextBrackets())
			{
				if (!NextValidIteratorSizes(threadDelta))
				{
					serializeLock.unlock();
					return false;
				}
				bracketIdx = 0;
			}
			iteratorIdx = 0;
			iterators[0].Start(iteratorSizes[0]);
			lastExecutionMaxProgramIdx = iteratorCount - 1;
		}
		serializeLock.unlock();
		return true;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x4248(%rdi), %rbx
movq %rbx, %rdi
callq 0x22d0
testl %eax, %eax
jne 0x7139
movq %r14, %rdi
callq 0x7612
movb $0x1, %bpl
testb %al, %al
jne 0x7120
leaq 0x128(%r14), %r15
cmpq $0x0, 0x20(%r14)
je 0x70b1
movl $0x1, %r12d
xorl %r13d, %r13d
movq 0x28(%r14,%r13,8), %rsi
movq %r15, %rdi
callq 0x6fb6
imulq %rax, %r12
incq %r13
cmpq 0x20(%r14), %r13
jb 0x7095
jmp 0x70b7
movl $0x1, %r12d
addq %r12, 0x4270(%r14)
movq %r14, %rdi
callq 0x5bfe
testb %al, %al
jne 0x70e7
movq 0x10(%r14), %rsi
movq %r14, %rdi
callq 0x5aca
testb %al, %al
je 0x711e
movq $0x0, 0x4230(%r14)
jmp 0x70be
movq $0x0, 0x4238(%r14)
movq 0x28(%r14), %rsi
movq %r15, %rdi
callq 0x5dc8
movq 0x20(%r14), %rax
decq %rax
movq %rax, 0x4470(%r14)
movq %r14, %rdi
callq 0x7612
testb %al, %al
je 0x7085
jmp 0x7120
xorl %ebp, %ebp
movq %rbx, %rdi
callq 0x2170
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %eax, %edi
callq 0x2130
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/ProgramIterator.h
// Function: ProgramIterator<400ul, 32ul, 12ul, 32ul>::GetProgram()
char* GetProgram()
	{
		char* output = currentProgram;
		for (uint32_t i = 0; i < iteratorCount; i++)
		{
			char* iterProg = iterators[i].GetProgram();
			strcpy(output, iterProg); 
			output += strlen(output);
			if (i < iteratorCount - 1)
			{
				output[0] = brackets[i].bracket == Bracket::LEFT ? '[' : brackets[i].bracket == Bracket::RIGHT ? ']' : '_';
			}
			output++;
			assert(output <= currentProgram + sizeof(currentProgram));
		}
		output[0] = '\0';
		return currentProgram;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x4478(%rdi), %r15
cmpq $0x0, 0x20(%rdi)
movq %r15, 0x8(%rsp)
je 0x7206
movq %rdi, %r14
leaq 0x128(%rdi), %r12
leaq 0x3e30(%rdi), %rax
movq %rax, 0x10(%rsp)
movl $0x4478, %r13d          # imm = 0x4478
movl $0x1, %ebp
xorl %ebx, %ebx
movq 0x8(%rsp), %r15
imulq $0x1e8, %rbx, %rdi      # imm = 0x1E8
addq %r12, %rdi
callq 0x791a
movq %r15, %rdi
movq %rax, %rsi
callq 0x21f0
movq %r15, %rdi
callq 0x20c0
addq %r13, %rax
movq 0x20(%r14), %rcx
decq %rcx
cmpq %rbx, %rcx
jbe 0x71e7
shlq $0x4, %rbx
movq 0x10(%rsp), %rcx
movl (%rcx,%rbx), %ecx
cmpl $0x2, %ecx
setne %dl
addb %dl, %dl
orb $0x5d, %dl
cmpl $0x1, %ecx
movzbl %dl, %ecx
movl $0x5b, %edx
cmovel %edx, %ecx
movb %cl, (%r14,%rax)
cmpq $0x4578, %rax           # imm = 0x4578
jge 0x721e
leaq (%r14,%rax), %r15
incq %r15
incq %rax
movl %ebp, %ebx
incl %ebp
movq %rax, %r13
cmpq %rbx, 0x20(%r14)
ja 0x718d
movb $0x0, (%r15)
movq 0x8(%rsp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2417(%rip), %rdi      # 0x963c
leaq 0x202d(%rip), %rsi      # 0x9259
leaq 0x243b(%rip), %rcx      # 0x966e
movl $0x3ab, %edx            # imm = 0x3AB
callq 0x2120
nop
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/ProgramSearch.h
// Function: ProgramSearch<ProgramIterator<400ul, 32ul, 12ul, 32ul>, DataCache<32ul, 12ul>>::SaveFindStringProgress()
void SaveFindStringProgress()
	{
		lock.lock();

		std::string filename = Filename();
		std::ofstream file(filename, std::ofstream::trunc);
		
		file << programSize << "\n";
		int64_t elapsed = std::chrono::duration_cast<std::chrono::seconds>(std::chrono::system_clock::now() - sizeStart).count();
		file << elapsed << "\n\n";

		for (uint_fast32_t i = 0; i < THREAD_COUNT; i++)
		{
			iterators[i].Serialize(file);
			file << "\n\n";
		}
		file.close();

		lock.unlock();
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rdi, %rbx
leaq 0x5fba(%rip), %rdi      # 0xd210
callq 0x22d0
testl %eax, %eax
jne 0x73a3
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4d6a
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
movl $0x20, %edx
callq 0x23d0
movq 0x85a20(%rbx), %rsi
leaq 0x28(%rsp), %rdi
callq 0x2140
leaq 0x2453(%rip), %rsi      # 0x96f0
movl $0x1, %edx
movq %rax, %rdi
callq 0x2270
callq 0x2040
subq 0x85a30(%rbx), %rax
movabsq $0x112e0be826d694b3, %rcx # imm = 0x112E0BE826D694B3
imulq %rcx
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x1a, %rdx
addq %rdx, %rsi
leaq 0x28(%rsp), %rdi
callq 0x2200
leaq 0x240d(%rip), %rsi      # 0x96ef
movl $0x2, %edx
movq %rax, %rdi
callq 0x2270
addq $0x401f8, %rbx          # imm = 0x401F8
xorl %r12d, %r12d
leaq 0x28(%rsp), %r14
leaq 0x23ea(%rip), %r15      # 0x96ef
leaq (%rbx,%r12), %rdi
movq %r14, %rsi
callq 0x79c4
movl $0x2, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2270
addq $0x4578, %r12           # imm = 0x4578
cmpq $0x45780, %r12          # imm = 0x45780
jne 0x7305
leaq 0x28(%rsp), %rdi
callq 0x22b0
leaq 0x5ece(%rip), %rdi      # 0xd210
callq 0x2170
movq 0x5c82(%rip), %rax      # 0xcfd0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x30(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x28(%rsp,%rcx)
callq 0x21a0
leaq 0x120(%rsp), %rdi
callq 0x2090
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7394
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl %eax, %edi
callq 0x2130
movq %rax, %rbx
jmp 0x73c0
jmp 0x73b3
jmp 0x73b3
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x22e0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x73db
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq %rbx, %rdi
callq 0x23a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/ProgramIterator.h
// Function: ProgramIterator<400ul, 32ul, 12ul, 32ul>::NextIterators()
bool NextIterators()
	{
		if (iteratorIdx == iteratorCount - 1 && !lastExecutionSuccessful)
		{
			iteratorIdx = lastExecutionMaxProgramIdx;
		}

		while (iteratorIdx >= 0)
		{
			if (NextSingleIterator())
			{
				if (iteratorIdx == iteratorCount - 1)
				{
					return true;
				}
				iteratorIdx++;
				iterators[iteratorIdx].Start(iteratorSizes[iteratorIdx]);
			}
			else
			{
				iteratorIdx--;
			}
		}
		return false;
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x4238(%rdi), %rax
movq 0x20(%rdi), %rcx
decq %rcx
cmpq %rcx, %rax
jne 0x7643
cmpb $0x0, 0x4468(%rbx)
jne 0x7643
movq 0x4470(%rbx), %rax
movq %rax, 0x4238(%rbx)
testq %rax, %rax
js 0x76a5
leaq 0x128(%rbx), %r14
movq %rbx, %rdi
callq 0x76b4
movq 0x4238(%rbx), %rcx
testb %al, %al
je 0x7696
movq 0x20(%rbx), %rax
decq %rax
cmpq %rax, %rcx
je 0x76a9
leaq 0x1(%rcx), %rax
movq %rax, 0x4238(%rbx)
imulq $0x1e8, %rax, %rdi      # imm = 0x1E8
addq %r14, %rdi
movq 0x30(%rbx,%rcx,8), %rsi
callq 0x5dc8
movq 0x4238(%rbx), %rcx
jmp 0x76a0
decq %rcx
movq %rcx, 0x4238(%rbx)
testq %rcx, %rcx
jns 0x764f
xorl %eax, %eax
jmp 0x76ab
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/ProgramIterator.h
// Function: ProgramIterator<400ul, 32ul, 12ul, 32ul>::NextSingleIterator()
bool NextSingleIterator()
	{
		while (iterators[iteratorIdx].Next())
		{
#if defined INITIAL_ZERO || defined INITIAL_DATA_SYMMETRIC
			// Check that the first iterator has a right delta
			if (iteratorIdx <= firstIteratorWithNonZeroDataDelta)
			{
				int_fast32_t dataDelta = iterators[iteratorIdx].DataDelta();
				if (dataDelta < 0)
				{
					continue;
				}
				else if (dataDelta > 0)
				{
					firstIteratorWithNonZeroDataDelta = iteratorIdx;
				}
				else
				{
					firstIteratorWithNonZeroDataDelta = iteratorIdx + 1;
				}
			}
#endif

#ifdef INITIAL_ZERO
			// Do not permit guaranteed 0 after initial iterator or meaningless movements at the beginning
			auto& data = iterators[0].Data();
			if (iteratorIdx == 0 && (data.data[data.idx + cache_data_size / 2] == 0 || data.data[cache_data_size / 2] == 0))
			{
				continue;
			}
#endif

			// Remove patterns equivalent to [+]
			// Note that while [+*] and [-*] are not necessarily equivalent in behavior to [+], the cases in which they are not equivalent are always infinite loops and so can be safely pruned
			if (
				iteratorIdx > 0
				&& brackets[iteratorIdx - 1].bracket == Bracket::LEFT
				&& brackets[iteratorIdx].bracket == Bracket::RIGHT
				&&
				(
					// Do not permit [-*] with any amount of minuses
					iterators[iteratorIdx].Data().data[cache_data_size / 2] == 256 - iteratorSizes[iteratorIdx]
					// Do not permit [+*] with more than 1 plus
					|| iteratorSizes[iteratorIdx] > 1 && iterators[iteratorIdx].Data().data[cache_data_size / 2] == iteratorSizes[iteratorIdx]
				)
			)
			{
				continue;
			}

			return true;
		}
		return false;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
imulq $0x1e8, 0x4238(%rdi), %rax # imm = 0x1E8
addq %rax, %rdi
addq $0x128, %rdi            # imm = 0x128
callq 0x77a8
testb %al, %al
je 0x779b
leaq 0x3e30(%rbx), %r14
leaq 0x128(%rbx), %r15
movq 0x4238(%rbx), %rcx
cmpq 0x4240(%rbx), %rcx
jg 0x771f
imulq $0x1e8, %rcx, %rax      # imm = 0x1E8
movq 0x58(%r15,%rax), %rax
testq %rax, %rax
js 0x7784
cmpq $0x1, %rax
movq %rcx, %rax
adcq $0x0, %rax
movq %rax, 0x4240(%rbx)
testq %rcx, %rcx
je 0x776a
movb $0x1, %al
jle 0x779d
movq %rcx, %rdx
shlq $0x4, %rdx
cmpl $0x1, -0x10(%rdx,%r14)
jne 0x779d
cmpl $0x2, (%r14,%rdx)
jne 0x779d
imulq $0x1e8, %rcx, %rdx      # imm = 0x1E8
movzbl 0x48(%r15,%rdx), %edx
movq 0x28(%rbx,%rcx,8), %rsi
movl $0x100, %edi            # imm = 0x100
subq %rsi, %rdi
cmpq %rdx, %rdi
je 0x7784
cmpq $0x2, %rsi
jl 0x779d
cmpq %rdx, %rsi
je 0x7784
jmp 0x779d
movq 0x180(%rbx), %rax
cmpb $0x0, 0x170(%rbx,%rax)
je 0x7784
cmpb $0x0, 0x170(%rbx)
jne 0x77a3
imulq $0x1e8, %rcx, %rdi      # imm = 0x1E8
addq %r15, %rdi
callq 0x77a8
testb %al, %al
jne 0x76ec
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
movb $0x1, %al
jmp 0x779d
nop
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/LinearIterator.h
// Function: LinearIterator<32ul, 12ul, 32ul>::Next()
bool Next()
	{
		if (first)
		{
			first = false;
			for (int i = stackSize - 1; i >= 0; i--) CalcData(i);
			return true;
		}
		return Inc();
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpb $0x1, 0xe0(%rdi)
jne 0x77e4
movb $0x0, 0xe0(%rbx)
movl 0x8(%rbx), %eax
decl %eax
js 0x77da
movl %eax, %r14d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5886
addq $-0x1, %r14
jb 0x77c9
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x77f4
nop
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/LinearIterator.h
// Function: LinearIterator<32ul, 12ul, 32ul>::Inc()
bool Inc()
	{
		if (IncSingle(indexStack[0], balancedStack[0], firstCacheSize))
		{
			CalcData(0);
			return true;
		}
		for (uint_fast32_t i = 1; i < stackSize; i++)
		{
			if (IncSingle(indexStack[i], balancedStack[i], cache_size))
			{
				for (int j = i; j >= 0; j--) CalcData(j);
				return true;
			}
		}
		return false;
	}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rcx
movq 0x10(%rdi), %rax
movb 0x30(%rdi), %sil
leaq 0x88(%rcx), %rdx
addq $0xf8, %rcx
testb %sil, %sil
movq %rcx, %rdi
cmovneq %rdx, %rdi
movq 0x18(%rbx), %r8
incq %r8
cmpq 0x8(%rdi,%rax,8), %r8
movq %r8, 0x18(%rbx)
jb 0x7846
testb %sil, %sil
je 0x7858
testq %rax, %rax
je 0x7864
movq (%rcx,%rax,8), %rax
movq %rax, 0x18(%rbx)
movb $0x0, 0x30(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5886
movb $0x1, %bpl
jmp 0x78d8
movq (%rdx,%rax,8), %rax
movq %rax, 0x18(%rbx)
movb $0x1, 0x30(%rbx)
cmpq $0x2, 0x8(%rbx)
jb 0x78d6
movl $0x31, %r14d
movb (%rbx,%r14), %cl
movq (%rbx), %rax
leaq 0x160(%rax), %rdx
leaq 0xf0(%rax), %rsi
testb %cl, %cl
cmovneq %rsi, %rdx
movq -0x168(%rbx,%r14,8), %rsi
incq %rsi
cmpq (%rdx), %rsi
movq %rsi, -0x168(%rbx,%r14,8)
jb 0x78f3
testb %cl, %cl
je 0x78b1
cmpq $0x0, 0x10(%rbx)
je 0x78c5
jmp 0x78df
movq 0xe8(%rax), %rax
movq %rax, -0x168(%rbx,%r14,8)
movb $0x1, (%rbx,%r14)
leaq 0x1(%r14), %rax
addq $-0x2f, %r14
cmpq 0x8(%rbx), %r14
movq %rax, %r14
jb 0x7871
xorl %ebp, %ebp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
movq 0x158(%rax), %rax
movq %rax, -0x168(%rbx,%r14,8)
movb $0x0, (%rbx,%r14)
addq $-0x30, %r14
movb $0x1, %bpl
testl %r14d, %r14d
js 0x78d8
andl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5886
addq $-0x1, %r14
jb 0x7906
jmp 0x78d8
nop
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/LinearIterator.h
// Function: LinearIterator<32ul, 12ul, 32ul>::GetProgram()
char* GetProgram()
	{
		uint_fast32_t pIndex = 0;

		for (int i = static_cast<int>(stackSize - 1); i >= 0; i--)
		{
			uint_fast32_t idx = indexStack[i];
			uint_fast32_t size = i == 0 ? firstCacheSize : cache_size;
			
			char* part;
			if (balancedStack[i])
				part = cache->programsBalanced.data() + (idx * cache_size);
			else
				part = cache->programsUnbalanced.data() + (idx * cache_size);
			
			memcpy(currentProgram + pIndex, part, size * sizeof(char));
			pIndex += size;
		}
		currentProgram[pIndex] = '\0';
		return currentProgram;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x8(%rdi), %eax
decl %eax
js 0x799f
leaq 0xe1(%rbx), %r15
movl %eax, %r12d
addq $0x30, %r12
xorl %ebp, %ebp
movl $0x58, %r13d
movl $0xc, %r14d
cmpq $0x30, %r12
jne 0x7955
movq 0x10(%rbx), %r14
movq -0x168(%rbx,%r12,8), %rax
leaq (%rax,%rax,2), %rsi
shlq $0x2, %rsi
cmpb $0x0, (%rbx,%r12)
movl $0x70, %eax
cmovneq %r13, %rax
movq (%rbx), %rcx
addq (%rcx,%rax), %rsi
leaq (%r15,%rbp), %rdi
movq %r14, %rdx
callq 0x2190
addq %rbp, %r14
leaq -0x1(%r12), %rax
addq $-0x30, %r12
movq %r14, %rbp
testq %r12, %r12
movq %rax, %r12
jg 0x7945
jmp 0x79a2
xorl %r14d, %r14d
movb $0x0, 0xe1(%rbx,%r14)
addq $0xe1, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/LinearIterator.h
// Function: LinearIterator<32ul, 12ul, 32ul>::Serialize(std::ostream&)
void Serialize(std::ostream& output)
	{
		output << stackSize << " " << firstCacheSize << " ";
		for (uint_fast32_t i = 0; i < max_stack_size; i++)
		{
			output << indexStack[i] << " ";
		}
		for (uint_fast32_t i = 0; i < max_stack_size; i++)
		{
			output << balancedStack[i] << " ";
		}
		output << first;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rsi
movq %rbx, %rdi
callq 0x2140
movq %rax, %r12
leaq 0x1394(%rip), %r15      # 0x911e
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x2270
movq 0x10(%r14), %rsi
movq %r12, %rdi
callq 0x2140
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x2270
xorl %r12d, %r12d
movq 0x18(%r14,%r12,8), %rsi
movq %rbx, %rdi
callq 0x2140
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x2270
incq %r12
cmpq $0x3, %r12
jne 0x7db9
movq $-0x3, %r12
leaq 0x1331(%rip), %r15      # 0x911e
movzbl 0x33(%r14,%r12), %esi
movq %rbx, %rdi
callq 0x2360
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x2270
incq %r12
jne 0x7ded
movzbl 0xe0(%r14), %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2360
nop
// File: /workspace/github_cpp_makefile_star2_O3/ksabry[P]bfbrute/src/ModDivisionTable.cpp
// Function: ModDivisionTable::ModDivisionTable()
ModDivisionTable::ModDivisionTable()
{
	for (uint_fast32_t d = 0; d < 256; d++)
	{
		for (uint_fast32_t k = 0; k < 256; k++)
		{
			table[d][k] = -1;
		}
	}

	for (int k = 1; k < 256; k++)
	{
		table[0][k] = 0;
		
		uint8_t mult = k;
		int cnt = 1;
		while (mult)
		{
			table[mult][256 - k] = cnt;
			cnt++;
			mult += k;
		}
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x40000, %edx          # imm = 0x40000
movl $0xff, %esi
callq 0x2100
movl $0x1, %eax
movl $0x0, (%rbx,%rax,4)
movl $0x100, %ecx            # imm = 0x100
subq %rax, %rcx
movl $0x1, %edx
movl %eax, %esi
movl %esi, %edi
shlq $0xa, %rdi
addq %rbx, %rdi
movl %edx, (%rdi,%rcx,4)
incl %edx
addl %eax, %esi
andl $0xff, %esi
jne 0x8762
incq %rax
cmpq $0x100, %rax            # imm = 0x100
jne 0x874c
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/Se6[P]CmdLineArgs/./CmdLineArgs.h
// Function: CmdLineArgs::CmdLineArgs(int, char**, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool)
CmdLineArgs::CmdLineArgs(int argc, char **argv, const std::string &usage_intro, bool allow_set_with_equal)
    :usage_intro_(usage_intro)
{
    for(int i=1; i<argc; ++i) {
        if (allow_set_with_equal) {
            auto vec = split(argv[i], '=');
            args_.reserve(args_.size() + vec.size());
            args_.insert(args_.end(), vec.begin(), vec.end());
        } else {
            args_.push_back(argv[i]);
        }
    }

    usage_intro_ += "\nOptions are:";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %r8d, %ebp
movq %rdx, %r15
movl %esi, %r14d
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
addq $0x18, %rdi
leaq 0x28(%rbx), %rax
movq %rax, 0x30(%rsp)
movq %rax, 0x18(%rbx)
movq (%rcx), %rsi
movq 0x8(%rcx), %rdx
addq %rsi, %rdx
movq %rdi, 0x38(%rsp)
callq 0x7060
leaq 0x48(%rbx), %rax
movq %rax, 0x28(%rsp)
movq %rax, 0x38(%rbx)
xorl %eax, %eax
movq %rax, 0x40(%rbx)
movb $0x0, 0x48(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x58(%rbx)
movq %rax, 0x68(%rbx)
cmpl $0x2, %r14d
jl 0x3839
movl %r14d, %r13d
movl $0x1, %r14d
leaq 0x8(%rsp), %r12
testb %bpl, %bpl
je 0x37f5
movq (%r15,%r14,8), %rsi
movq %r12, %rdi
leaq 0x7(%rsp), %rdx
callq 0x6374
leaq 0x40(%rsp), %rdi
movq %r12, %rsi
movl $0x3d, %edx
callq 0x35cc
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x37af
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3220
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x5, %rax
movq 0x48(%rsp), %rsi
subq 0x40(%rsp), %rsi
sarq $0x5, %rsi
addq %rax, %rsi
movq %rbx, %rdi
callq 0x63b2
movq 0x8(%rbx), %rsi
movq 0x40(%rsp), %rdx
movq 0x48(%rsp), %rcx
movq %rbx, %rdi
callq 0x742e
leaq 0x40(%rsp), %rdi
callq 0x6316
jmp 0x382d
movq (%r15,%r14,8), %rsi
movq %r12, %rdi
leaq 0x40(%rsp), %rdx
callq 0x6374
movq %rbx, %rdi
movq %r12, %rsi
callq 0x787c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x382d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3220
incq %r14
cmpq %r14, %r13
jne 0x3767
leaq 0x67e4(%rip), %rsi      # 0xa024
movq 0x38(%rsp), %rdi
callq 0x33e0
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3862
movq %rax, %r14
jmp 0x38dc
jmp 0x3862
movq %rax, %r14
jmp 0x3899
jmp 0x388c
jmp 0x386b
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3899
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3220
jmp 0x3899
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x6316
leaq 0x58(%rbx), %rdi
callq 0x649a
movq 0x38(%rbx), %rdi
cmpq 0x28(%rsp), %rdi
je 0x38bd
movq 0x28(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3220
movq 0x38(%rsp), %rax
movq (%rax), %rdi
cmpq 0x30(%rsp), %rdi
je 0x38dc
movq 0x30(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3220
movq %rbx, %rdi
callq 0x6316
movq %r14, %rdi
callq 0x33a0
// File: /workspace/github_cpp_makefile_star2_O3/Se6[P]CmdLineArgs/./CmdLineArgs.h
// Function: CmdLineArgs::findLongName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::vector<std::string>::iterator CmdLineArgs::findLongName(const std::string &name)
{
    std::vector<std::string>::iterator pos;
    bool found = false;

    for( pos=args_.begin(); pos!=args_.end(); ++pos ) {

        if( pos->size()<3 || pos->substr(0,2) != "--")
            continue;

        if( pos->substr(2) == name.substr(0,pos->size()-2) ){
            found = true;
            break;
        }
    }

    return found ? pos : args_.end();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, 0x20(%rsp)
movq (%rdi), %r14
movq 0x8(%rdi), %rax
cmpq %rax, %r14
je 0x3a1d
movq %rdi, %r15
leaq 0x10(%rsp), %rbx
movq %rsp, %r12
leaq 0x6725(%rip), %r13      # 0xa046
cmpq $0x3, 0x8(%r14)
jb 0x3a0c
movl $0x2, %ecx
movq %r12, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x3240
movq %r12, %rdi
movq %r13, %rsi
callq 0x3070
movl %eax, %ebp
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x3961
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3220
testl %ebp, %ebp
jne 0x3a0c
movl $0x2, %edx
movq %r12, %rdi
movq %r14, %rsi
movq $-0x1, %rcx
callq 0x3240
movq 0x8(%r14), %rcx
addq $-0x2, %rcx
leaq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rsi
xorl %edx, %edx
callq 0x3240
movq 0x8(%rsp), %rdx
cmpq 0x30(%rsp), %rdx
jne 0x39c3
movq 0x28(%rsp), %rbp
testq %rdx, %rdx
je 0x39cd
movq (%rsp), %rdi
movq %rbp, %rsi
callq 0x3230
testl %eax, %eax
sete %r13b
jmp 0x39d0
movq 0x28(%rsp), %rbp
xorl %r13d, %r13d
jmp 0x39d0
movb $0x1, %r13b
leaq 0x38(%rsp), %rax
cmpq %rax, %rbp
je 0x39ea
movq 0x38(%rsp), %rsi
incq %rsi
movq %rbp, %rdi
callq 0x3220
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x3a00
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3220
testb %r13b, %r13b
leaq 0x663c(%rip), %r13      # 0xa046
jne 0x3a2c
addq $0x20, %r14
movq 0x8(%r15), %rax
cmpq %rax, %r14
jne 0x3921
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rax
jmp 0x3a1d
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x3a4a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3220
movq %r14, %rdi
callq 0x33a0
// File: /workspace/github_cpp_makefile_star2_O3/Se6[P]CmdLineArgs/./CmdLineArgs.h
// Function: CmdLineArgs::findShortName[abi:cxx11](char)
std::vector<std::string>::iterator CmdLineArgs::findShortName(char name)
{
    if(name==' ')
        return args_.end();

    std::vector<std::string>::iterator pos;
    bool found = false;

    for(pos=args_.begin(); pos!=args_.end(); ++pos){

        if( pos->size()<2 || (*pos)[0] != '-')
            continue;

        if((*pos)[1] == '-')
            continue;

        std::string::size_type idx = pos->find(name,1);
        if( idx != std::string::npos ) {
            found = true;
            break;
        }
    }

    return found ? pos : args_.end();
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpb $0x20, %sil
jne 0x3a65
movq 0x8(%rbx), %rax
jmp 0x3aac
movq (%rbx), %r14
movq 0x8(%rbx), %rax
cmpq %rax, %r14
je 0x3aac
movsbl %sil, %ebp
cmpq $0x2, 0x8(%r14)
jb 0x3aa3
movq (%r14), %rcx
cmpb $0x2d, (%rcx)
jne 0x3aa3
cmpb $0x2d, 0x1(%rcx)
je 0x3aa3
movl $0x1, %edx
movq %r14, %rdi
movl %ebp, %esi
callq 0x3290
cmpq $-0x1, %rax
jne 0x3ab1
movq 0x8(%rbx), %rax
addq $0x20, %r14
cmpq %rax, %r14
jne 0x3a75
popq %rbx
popq %r14
popq %rbp
retq
movq %r14, %rax
jmp 0x3aac
// File: /workspace/github_cpp_makefile_star2_O3/Se6[P]CmdLineArgs/./CmdLineArgs.h
// Function: CmdLineArgs::getFlag(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int CmdLineArgs::getFlag(const std::string &long_name, char short_name, const std::string &desc)
{
    addUsage(long_name,short_name,"",desc);

    int nb=0;

    // First search the long names:
    auto pos = findLongName(long_name);
    while(pos != args_.end()){
        ++nb;
        pos = args_.erase(pos);
        pos = findLongName(long_name);
    }

    // Then search the short names:
    pos = findShortName(short_name);
    while(pos != args_.end()){
        ++nb;
        if(pos->size()==2)
            pos = args_.erase(pos);
        else
            pos->erase(pos->find(short_name,1),1);
        pos = findShortName(short_name);
    }

    return nb;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r12
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x670e(%rip), %rdx      # 0xa1ee
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %rdx, %rsi
callq 0x7134
movq %rbx, %rdi
movq %r15, %rsi
movl %r14d, %edx
movq %r13, %rcx
movq %r12, %r8
callq 0x3be6
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3b1b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3220
movq %rbx, %rdi
movq %r15, %rsi
callq 0x38ec
cmpq 0x8(%rbx), %rax
je 0x3b4e
xorl %ebp, %ebp
incl %ebp
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7a8c
movq %rbx, %rdi
movq %r15, %rsi
callq 0x38ec
cmpq 0x8(%rbx), %rax
jne 0x3b2e
jmp 0x3b50
xorl %ebp, %ebp
movsbl %r14b, %r14d
movq %rbx, %rdi
movl %r14d, %esi
callq 0x3a52
cmpq 0x8(%rbx), %rax
je 0x3bb2
movq %rax, %r15
cmpq $0x2, 0x8(%r15)
jne 0x3b7c
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7a8c
jmp 0x3b9c
movl $0x1, %edx
movq %r15, %rdi
movl %r14d, %esi
callq 0x3290
movl $0x1, %edx
movq %r15, %rdi
movq %rax, %rsi
callq 0x3050
movq %rbx, %rdi
movl %r14d, %esi
callq 0x3a52
movq %rax, %r15
incl %ebp
cmpq 0x8(%rbx), %rax
jne 0x3b68
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3bdd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3220
movq %rbx, %rdi
callq 0x33a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/Se6[P]CmdLineArgs/./CmdLineArgs.h
// Function: CmdLineArgs::getUnparsedOpts[abi:cxx11]()
std::vector<std::string> CmdLineArgs::getUnparsedOpts()
{
    std::vector<std::string> unparsed;
    for( auto &arg: args_ )
        if( arg[0] == '-' )
            unparsed.push_back(arg);
    return unparsed;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq (%rsi), %r14
movq 0x8(%rsi), %r15
cmpq %r15, %r14
je 0x5159
movq (%r14), %rax
cmpb $0x2d, (%rax)
jne 0x5153
movq %rbx, %rdi
movq %r14, %rsi
callq 0x62d8
addq $0x20, %r14
jmp 0x513b
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x6316
movq %r14, %rdi
callq 0x33a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/Se6[P]CmdLineArgs/./CmdLineArgs.h
// Function: CmdLineArgs::throwIfUnparsed()
void CmdLineArgs::throwIfUnparsed()
{
    std::vector<std::string> unparsed = getUnparsedOpts();
    if( !unparsed.empty() ) {
        std::string msg("\nError: unparsed options: ");
        for( auto &arg: unparsed )
            msg += arg + " ";
        throw std::runtime_error(msg);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rsi
leaq 0x40(%rsp), %rbx
movq %rbx, %rdi
callq 0x511e
movq (%rbx), %rax
cmpq 0x8(%rbx), %rax
jne 0x5300
leaq 0x40(%rsp), %rdi
callq 0x6316
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x30(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x4dc5(%rip), %rsi      # 0xa0d5
leaq 0x4dd8(%rip), %rdx      # 0xa0ef
leaq 0x20(%rsp), %rdi
callq 0x7134
movq 0x40(%rsp), %rbp
movq 0x48(%rsp), %r12
cmpq %r12, %rbp
jne 0x5360
movl $0x10, %edi
callq 0x30f0
movq %rax, %r14
leaq 0x20(%rsp), %rsi
movq %rax, %rdi
callq 0x3330
movq 0x8c9f(%rip), %rsi      # 0xdff0
movq 0x8c60(%rip), %rdx      # 0xdfb8
movq %r14, %rdi
callq 0x3380
leaq 0x10(%rsp), %r13
movq %rsp, %rbx
leaq 0x4d3b(%rip), %r14      # 0xa0aa
leaq 0x20(%rsp), %r15
movq %r13, (%rsp)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x7060
movq %rbx, %rdi
movq %r14, %rsi
callq 0x33e0
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rdi
callq 0x3080
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x53bd
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3220
addq $0x20, %rbp
cmpq %r12, %rbp
jne 0x5374
jmp 0x5330
jmp 0x53cd
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x53fa
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3220
jmp 0x53fa
jmp 0x53ea
movq %rax, %rbx
jmp 0x53fa
movq %rax, %rbx
movq %r14, %rdi
callq 0x3190
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x541b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3220
jmp 0x541b
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x6316
movq %rbx, %rdi
callq 0x33a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/Worthy-Wang[P]Warcraft3-StartWar/City.cpp
// Function: warcraft::compBeforeFight(std::shared_ptr<warcraft::Weapon>, std::shared_ptr<warcraft::Weapon>)
bool compBeforeFight(WeaponPtr lhs, WeaponPtr rhs)
{
    if (lhs->getType() < rhs->getType())
        return true;
    else if (lhs->getType() == ARROW && lhs->getType() == rhs->getType() && lhs->getDurability() < rhs->getDurability())
        return true;
    else
        return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rcx
movl 0x8(%rcx), %edi
movq (%rsi), %rdx
movl 0x8(%rdx), %esi
movb $0x1, %al
cmpl %esi, %edi
jl 0x45e8
xorl $0x2, %edi
xorl $0x2, %esi
orl %edi, %esi
jne 0x45e6
movq 0x38(%rcx), %rcx
cmpq 0x38(%rdx), %rcx
jb 0x45e8
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Worthy-Wang[P]Warcraft3-StartWar/City.cpp
// Function: warcraft::City::Battle()
bool City::Battle()
{
    //城市中没有对立的两武士，决斗失败
    if (!redWarrior.get() || !blueWarrior.get())
        return false;

    /****************************战前准备*******************************/
    //排列好武器
    vector<WeaponPtr> &redWeaponLib = redWarrior->getWeapons();
    if (!redWeaponLib.empty())
    std::sort(redWeaponLib.begin(), redWeaponLib.end(), compBeforeFight);
    
    vector<WeaponPtr> &blueWeaponLib = blueWarrior->getWeapons();
    if (!blueWeaponLib.empty())
    std::sort(blueWeaponLib.begin(), blueWeaponLib.end(), compBeforeFight);

    //如果双方都没有武器，则视为平局
    if (0 == redWeaponLib.size() && 0 == blueWeaponLib.size())
    {
        bothAlive();
        return true; //决斗成功
    }

    /****************************战中*******************************/
    //偶数编号城市，蓝方先攻击
    if (0 == _id % 2)
        blueWarriorAttackFirst();
    //奇数编号城市，红方先攻击
    else
        redWarriorAttackFirst();

    return true; //决斗成功
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdi), %r13
testq %r13, %r13
je 0x46fd
movq %rdi, %rbx
movq 0x18(%rdi), %r12
testq %r12, %r12
je 0x46fd
movq 0x40(%r13), %r14
movq 0x48(%r13), %r15
cmpq %r15, %r14
je 0x468e
movq %r15, %rax
subq %r14, %rax
sarq $0x4, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
leaq -0xb2(%rip), %r12       # 0x45bc
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rcx
callq 0x58e7
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x59ba
movq 0x18(%rbx), %r12
movq 0x40(%r12), %r14
movq 0x48(%r12), %r15
cmpq %r15, %r14
je 0x46d8
movq %r15, %rax
subq %r14, %rax
sarq $0x4, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
leaq -0xff(%rip), %rcx       # 0x45bc
movq %r14, %rdi
movq %r15, %rsi
callq 0x58e7
movq %r14, %rdi
movq %r15, %rsi
leaq -0x117(%rip), %rdx      # 0x45bc
callq 0x59ba
movq 0x48(%r13), %rax
cmpq 0x40(%r13), %rax
jne 0x46ee
movq 0x48(%r12), %rax
cmpq 0x40(%r12), %rax
je 0x470b
testb $0x1, (%rbx)
jne 0x4701
movq %rbx, %rdi
callq 0x4724
jmp 0x4713
xorl %eax, %eax
jmp 0x4715
movq %rbx, %rdi
callq 0x49ca
jmp 0x4713
movq %rbx, %rdi
callq 0x53a2
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Worthy-Wang[P]Warcraft3-StartWar/City.cpp
// Function: warcraft::City::judgeResult(bool&, bool&)
bool City::judgeResult(bool &redHpFlag, bool &blueHpFlag)
{
    //如果双方的HP都没有变化，则平局
    if (false == redHpFlag && false == blueHpFlag)
    {
        bothAlive();
        return true;
    }

    else if (redWarrior->getHp() <= 0 && blueWarrior->getHp() <= 0)
    {
        bothdie();
        return true;
    }
    else if (redWarrior->getHp() <= 0)
    {
        win(blueWarrior, redWarrior);
        return true;
    }
    else if (blueWarrior->getHp() <= 0)
    {
        win(redWarrior, blueWarrior);
        return true;
    }
    else
        return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x48, %rsp
movb (%rdx), %al
orb (%rsi), %al
jne 0x5247
callq 0x53a2
movb $0x1, %bl
jmp 0x535a
movq 0x8(%rdi), %rax
movq 0x18(%rdi), %rcx
cmpl $0x0, 0x38(%rax)
movl 0x38(%rcx), %edx
jle 0x5263
testl %edx, %edx
jle 0x5289
xorl %ebx, %ebx
jmp 0x535a
testl %edx, %edx
jle 0x52ab
movq %rcx, -0x48(%rbp)
movq 0x20(%rdi), %rcx
movq %rcx, -0x40(%rbp)
testq %rcx, %rcx
je 0x52ba
movq 0x11d49(%rip), %rdx     # 0x16fc8
cmpb $0x0, (%rdx)
je 0x52b2
incl 0x8(%rcx)
jmp 0x52ba
movq %rax, -0x28(%rbp)
movq 0x10(%rdi), %rax
movq %rax, -0x20(%rbp)
testq %rax, %rax
je 0x52e4
movq 0x11d27(%rip), %rdx     # 0x16fc8
cmpb $0x0, (%rdx)
je 0x52dc
incl 0x8(%rax)
jmp 0x52e4
callq 0x5556
jmp 0x5240
lock
incl 0x8(%rcx)
movq 0x8(%rdi), %rax
movq %rax, -0x38(%rbp)
movq 0x10(%rdi), %rax
movq %rax, -0x30(%rbp)
testq %rax, %rax
je 0x530a
movq 0x11cf6(%rip), %rcx     # 0x16fc8
cmpb $0x0, (%rcx)
je 0x5306
incl 0x8(%rax)
jmp 0x530a
lock
incl 0x8(%rax)
movq 0x18(%rdi), %rcx
movq %rcx, -0x18(%rbp)
movq 0x20(%rdi), %rax
movq %rax, -0x10(%rbp)
testq %rax, %rax
je 0x532f
movq 0x11ccc(%rip), %rcx     # 0x16fc8
cmpb $0x0, (%rcx)
je 0x532b
incl 0x8(%rax)
jmp 0x532f
lock
incl 0x8(%rax)
leaq -0x48(%rbp), %rsi
leaq -0x38(%rbp), %rdx
callq 0x4c70
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x5325
callq 0x57a8
movq -0x40(%rbp), %rdi
jmp 0x534e
lock
incl 0x8(%rax)
leaq -0x28(%rbp), %rsi
leaq -0x18(%rbp), %rdx
callq 0x4c70
movq -0x10(%rbp), %rdi
testq %rdi, %rdi
je 0x534a
callq 0x57a8
movq -0x20(%rbp), %rdi
movb $0x1, %bl
testq %rdi, %rdi
je 0x535a
callq 0x57a8
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
movq -0x10(%rbp), %rdi
testq %rdi, %rdi
je 0x5374
callq 0x57a8
movq -0x20(%rbp), %rdi
jmp 0x538f
movq %rax, %rbx
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x538b
callq 0x57a8
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x5399
callq 0x57a8
movq %rbx, %rdi
callq 0x4230
nop
// File: /workspace/github_cpp_makefile_star2_O3/Worthy-Wang[P]Warcraft3-StartWar/GameConfig.cpp
// Function: warcraft::GameConfig::readFromStream(std::istream&)
void GameConfig::readFromStream(std::istream &is)
{
    while (is.good())
    {
        nextGroupId(); //每一次读新数据组时 Case 组数++
        InitData group;
        //读取第一行 组数
        size_t caseNum;
        is >> caseNum;

        //读取第二行 基地生命元 城市数 Lion每前进一步的降低的忠诚度  截止时间
        is >> group._initBaseHp;
        is >> group._cityNum;
        is >> group._lionReduceLoyalty;
        is >> group._deadline;

        //读取第三行 武士初始生命值 
        for (size_t i = 0; i < _initWarriorOrder.size(); i++)
            is >> group._initWarriorHp[GameConfig::getInstance()->_initWarriorOrder[i]];
        
        //读取第四行 武士初始攻击力 
        for (size_t i = 0; i < _initWarriorOrder.size(); i++)
            is >> group._initWarriorAttack[GameConfig::getInstance()->_initWarriorOrder[i]];

        _groups.push_back(std::move(group));
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq (%rsi), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x20(%rsi,%rax)
jne 0x64d6
movq %rsi, %r15
movq %rdi, %r12
leaq -0x90(%rbp), %rbx
leaq 0x18(%rdi), %rax
movq %rax, -0x30(%rbp)
leaq -0xb0(%rbp), %r14
incq 0x10dc7(%rip)           # 0x17150
xorl %ecx, %ecx
movl %ecx, -0x88(%rbp)
movq %rcx, -0x80(%rbp)
leaq -0x88(%rbp), %rax
movq %rax, -0x78(%rbp)
movq %rax, -0x70(%rbp)
movq %rcx, -0x68(%rbp)
movl %ecx, -0x58(%rbp)
movq %rcx, -0x50(%rbp)
leaq -0x58(%rbp), %rax
movq %rax, -0x48(%rbp)
movq %rax, -0x40(%rbp)
movq %rcx, -0x38(%rbp)
movq %r15, %rdi
leaq -0xb8(%rbp), %rsi
callq 0x40c0
movq %r15, %rdi
movq %r14, %rsi
callq 0x40c0
movq %r15, %rdi
leaq -0xa8(%rbp), %rsi
callq 0x40c0
movq %r15, %rdi
leaq -0xa0(%rbp), %rsi
callq 0x40c0
movq %r15, %rdi
leaq -0x98(%rbp), %rsi
callq 0x40c0
movq 0x8(%r12), %rax
cmpq (%r12), %rax
je 0x649f
xorl %r13d, %r13d
xorl %r14d, %r14d
movq 0x10d36(%rip), %rax     # 0x17158
movq (%rax), %rsi
addq %r13, %rsi
movq %rbx, %rdi
callq 0x681a
movq %r15, %rdi
movq %rax, %rsi
callq 0x40c0
incq %r14
movq (%r12), %rax
movq 0x8(%r12), %rcx
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x2, %rdx
addq $0x4, %r13
cmpq %rdx, %r14
jb 0x641b
cmpq %rax, %rcx
je 0x649f
xorl %r13d, %r13d
xorl %r14d, %r14d
movq 0x10cec(%rip), %rax     # 0x17158
movq (%rax), %rsi
addq %r13, %rsi
leaq -0x60(%rbp), %rdi
callq 0x681a
movq %r15, %rdi
movq %rax, %rsi
callq 0x40c0
movq 0x8(%r12), %rax
subq (%r12), %rax
incq %r14
sarq $0x2, %rax
addq $0x4, %r13
cmpq %rax, %r14
jb 0x6465
movq -0x30(%rbp), %rdi
leaq -0xb0(%rbp), %r14
movq %r14, %rsi
callq 0x6bd6
leaq -0x60(%rbp), %rdi
callq 0x696e
movq %rbx, %rdi
callq 0x696e
movq (%r15), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x20(%r15,%rax)
je 0x6382
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x64ec
jmp 0x64ec
movq %rax, %r15
leaq -0x60(%rbp), %rdi
callq 0x696e
movq %rbx, %rdi
callq 0x696e
movq %r15, %rdi
callq 0x4230
// File: /workspace/github_cpp_makefile_star2_O3/Worthy-Wang[P]Warcraft3-StartWar/GameConfig.cpp
// Function: warcraft::GameConfig::readFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void GameConfig::readFromFile(const string filename)
{
    std::ifstream ifs(filename, std::ifstream::in);
    if (!ifs.good())
    {
        cout << filename << " GameConfig::readFromFile ERROR!" << endl;
        exit(-1);
    }
    readFromStream(ifs);
    ifs.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x220(%rbp), %r15
movq %r15, %rdi
movl $0x8, %edx
callq 0x41f0
movq (%r15), %rax
movq -0x18(%rax), %rax
cmpl $0x0, -0x200(%rbp,%rax)
jne 0x6578
leaq -0x220(%rbp), %rsi
movq %rbx, %rdi
callq 0x6340
leaq -0x220(%rbp), %rdi
callq 0x4050
leaq -0x220(%rbp), %rdi
callq 0x4060
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq 0x10a4a(%rip), %rdi     # 0x16fd0
callq 0x4190
movq %rax, %rbx
leaq 0x9b0d(%rip), %rsi      # 0x100a2
movl $0x20, %edx
movq %rax, %rdi
callq 0x4190
movq %rbx, %rdi
callq 0x40a0
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x41b0
movq %rax, %rbx
leaq -0x220(%rbp), %rdi
callq 0x4060
movq %rbx, %rdi
callq 0x4230
nop
// File: /workspace/github_cpp_makefile_star2_O3/Worthy-Wang[P]Warcraft3-StartWar/TestWarcraft.cpp
// Function: test1()
void test1()
{
    //勇士生命值，攻击力赋值顺序
    vector<WarriorType> initWarriorOrder{DRAGON, NINJA, ICEMAN, LION, WOLF};
    GameConfig::getInstance()->setInitWarriorOrder(initWarriorOrder.begin(), initWarriorOrder.end());
    GameConfig::getInstance()->readFromFile("warcraft.conf");
    GameConfig::getInstance()->print();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movups 0x47a8(%rip), %xmm0     # 0x10910
leaq -0x70(%rbp), %rsi
movaps %xmm0, (%rsi)
movl $0x4, 0x10(%rsi)
leaq -0x58(%rbp), %rbx
leaq -0x19(%rbp), %rcx
movl $0x5, %edx
movq %rbx, %rdi
callq 0xca02
leaq 0xafc6(%rip), %r14      # 0x17158
movq (%r14), %rdi
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
callq 0xca48
movq (%r14), %rbx
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x4771(%rip), %rsi      # 0x10924
leaq 0x4777(%rip), %rdx      # 0x10931
leaq -0x40(%rbp), %rdi
callq 0x8bbc
leaq -0x40(%rbp), %rsi
movq %rbx, %rdi
callq 0x6508
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0xc1e4
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x4170
movq (%r14), %rdi
callq 0x65cc
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0xc201
movq -0x48(%rbp), %rsi
subq %rdi, %rsi
callq 0x4170
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0xc22b
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x4170
jmp 0xc22b
jmp 0xc228
movq %rax, %rbx
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0xc240
movq -0x48(%rbp), %rsi
subq %rdi, %rsi
callq 0x4170
movq %rbx, %rdi
callq 0x4230