// File: /workspace/github_cpp_makefile_star2_O3/YSRKEN[P]Shioi/I401/main.cpp
// Function: Board::FindNormalMove(unsigned long, bool)
Result FindNormalMove(const size_t depth, bool debug_flg = false) {
		vector<size_t> next_move;
		next_move.reserve(kBoardSize * kBoardSize);
		int max_score = -kScoreInf2;
		if (depth == 0) {
			if (turn_ == Stone::Black) {
				for (size_t p : rep(kBoardSize * kBoardSize)) {
					if (board_[p] != Stone::None) continue;
					// Judge valid move
					bool cho_ren_flg = false;
					size_t sum_4_strong = 0, sum_4_normal = 0, sum_3 = 0;
					for (uint8_t dir = 0; dir < Direction::Directions; ++dir) {
						auto move_pattern = GetPatternB(p, static_cast<Direction>(dir));
						if (Board_helper::IsChorenB(move_pattern)) {
							cho_ren_flg = true;
							break;
						}
						size_t s4s, s4n, s3;
						std::tie(s4s, s4n, s3) = CountRenB(move_pattern, p, static_cast<Direction>(dir));
						sum_4_strong += s4s;
						sum_4_normal += s4n;
						sum_3 += s3;
					}
					if (cho_ren_flg || sum_4_strong + sum_4_normal >= 2 || sum_3 >= 2) continue;
					if (sum_4_strong == 1) return Result(p, true);
					// Find enemy's Shioi
					board_[p] = turn_;
					auto result = FindShioiMove(EnemyTurn(turn_), kShioiDepth2);
					board_[p] = Stone::None;
					// Don't block Shioi : Normal Score
					const int score = (result.second) ? -kScoreInf : CalcScore(p, turn_);
					if (max_score < score) {
						max_score = score;
						if (debug_flg) std::cerr << endl << "  " << score << " : ";
						next_move.clear();
					}
					if (max_score == score) {
						if (debug_flg) std::cerr << PositionToString(p) << ", ";
						next_move.push_back(p);
					}
				}
			}else{
				for (size_t p : rep(kBoardSize * kBoardSize)) {
					if (board_[p] != Stone::None) continue;
					size_t sum_4_strong = 0, sum_4_normal = 0, sum_3 = 0;
					for (uint8_t dir = 0; dir < Direction::Directions; ++dir) {
						auto move_pattern = GetPatternB(p, static_cast<Direction>(dir));
						if (Board_helper::IsChorenB(move_pattern)) return Result(p, true);
						size_t s4s, s4n, s3;
						std::tie(s4s, s4n, s3) = CountRenB(move_pattern, p, static_cast<Direction>(dir));
						sum_4_strong += s4s;
						sum_4_normal += s4n;
						sum_3 += s3;
					}
					if (sum_4_strong >= 1 || sum_4_normal >= 2) return Result(p, true);
					// Find enemy's Shioi
					board_[p] = turn_;
					auto result = FindShioiMove(EnemyTurn(turn_), kShioiDepth2);
					board_[p] = Stone::None;
					// Don't block Shioi : Normal Score
					const int score = (result.second) ? -kScoreInf : CalcScore(p, turn_);
					if (max_score < score) {
						max_score = score;
						if (debug_flg) std::cerr << endl << "  " << score << " : ";
						next_move.clear();
					}
					if (max_score == score) {
						if (debug_flg) std::cerr << PositionToString(p) << ", ";
						next_move.push_back(p);
					}
				}
			}
		}
		else {
			vector<Score> next_move2;
			auto range = GetRange();
			if (turn_ == Stone::Black) {
				for (size_t y : rep(range[1], range[3])) {
					for (size_t x : rep(range[0], range[2])) {
						size_t p = ToPosition(x, y);
						if (board_[p] != Stone::None) continue;
						// Judge valid move
						bool cho_ren_flg = false;
						size_t sum_4_strong = 0, sum_4_normal = 0, sum_3 = 0;
						for (uint8_t dir = 0; dir < Direction::Directions; ++dir) {
							auto move_pattern = GetPatternB(p, static_cast<Direction>(dir));
							if (Board_helper::IsChorenB(move_pattern)) {
								cho_ren_flg = true;
								break;
							}
							size_t s4s, s4n, s3;
							std::tie(s4s, s4n, s3) = CountRenB(move_pattern, p, static_cast<Direction>(dir));
							sum_4_strong += s4s;
							sum_4_normal += s4n;
							sum_3 += s3;
						}
						if (cho_ren_flg || sum_4_strong + sum_4_normal >= 2 || sum_3 >= 2) continue;
						if (sum_4_strong == 1) return Result(p, true);
						// Find enemy's Shioi
						board_[p] = Stone::Black;
						auto result = FindShioiMove(Stone::White, kShioiDepth2);
						board_[p] = Stone::None;
						if (result.second) {
							// Don't block Shioi
							next_move2.emplace_back(p, -kScoreInf);
						}
						else {
							// Normal Score
							next_move2.emplace_back(p, kTenGenDist[p]);
						}
					}
				}
			}
			else {
				for (size_t y : rep(range[1], range[3])) {
					for (size_t x : rep(range[0], range[2])) {
						size_t p = ToPosition(x, y);
						if (board_[p] != Stone::None) continue;
						size_t sum_4_strong = 0, sum_4_normal = 0, sum_3 = 0;
						for (uint8_t dir = 0; dir < Direction::Directions; ++dir) {
							auto move_pattern = GetPatternB(p, static_cast<Direction>(dir));
							if (Board_helper::IsChorenB(move_pattern)) return Result(p, true);
							size_t s4s, s4n, s3;
							std::tie(s4s, s4n, s3) = CountRenB(move_pattern, p, static_cast<Direction>(dir));
							sum_4_strong += s4s;
							sum_4_normal += s4n;
							sum_3 += s3;
						}
						if (sum_4_strong >= 1 || sum_4_normal >= 2) return Result(p, true);
						// Find enemy's Shioi
						board_[p] = Stone::White;
						auto result = FindShioiMove(Stone::Black, kShioiDepth2);
						board_[p] = Stone::None;
						if (result.second) {
							// Don't block Shioi
							next_move2.emplace_back(p, -kScoreInf);
						}
						else {
							// Normal Score
							next_move2.emplace_back(p, kTenGenDist[p]);
						}
					}
				}
			}
			std::sort(next_move2.begin(), next_move2.end(), [](const Score &a, const Score &b) {return a.second > b.second; });
			for (auto &it : next_move2) {
				board_[it.first] = turn_;
				int score = -NegaMax(EnemyTurn(turn_), depth - 1, -kScoreInf2, kScoreInf2) + CalcScore(it.first, turn_);
				board_[it.first] = Stone::None;
				if (score == kScoreInf) return Result(it.first, true);
				if (max_score < score) {
					max_score = score;
					if (debug_flg) std::cerr << endl << "  " << score << " : ";
					next_move.clear();
				}
				if (max_score == score) {
					if (debug_flg) std::cerr << PositionToString(it.first) << ", ";
					next_move.push_back(it.first);
				}
			}
		}
		if (max_score == -kScoreInf) return Result(kBoardSize * kBoardSize, false);
		return (next_move.size() == 0 ? Result(0, false) : Result(next_move[RandInt(next_move.size())], true));
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movl %edx, 0x24(%rsp)
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl $0xe1, %esi
callq 0x9396
testq %rbx, %rbx
movq %r14, 0x8(%rsp)
je 0x5790
movq %rbx, 0xb8(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
leaq 0x80(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7690
cmpb $0x1, 0xe1(%r14)
movq 0x8(%rbx), %rax
movq 0x18(%rbx), %rcx
jne 0x5a05
cmpq %rcx, %rax
je 0x5a0e
leaq 0x3928(%r14), %rdx
movq %rdx, 0xc0(%rsp)
leaq 0xc8(%rsp), %r13
movq %rcx, 0x78(%rsp)
movq %rax, 0x68(%rsp)
movq 0x80(%rsp), %rbx
movq 0x90(%rsp), %rbp
cmpq %rbp, %rbx
jne 0x5632
movq 0x68(%rsp), %rax
incq %rax
movq 0x78(%rsp), %rcx
cmpq %rcx, %rax
jne 0x5601
jmp 0x5a0e
movq 0x68(%rsp), %rax
leaq (%rax,%rax,4), %rax
leaq (%rax,%rax,2), %r12
movq %rbp, 0x70(%rsp)
movq %r12, 0x28(%rsp)
leaq (%rbx,%r12), %rax
movq %rax, 0x18(%rsp)
cmpb $0x0, (%r14,%rax)
jne 0x575d
movq %rbx, 0x10(%rsp)
xorl %r15d, %r15d
xorl %ebp, %ebp
xorl %r14d, %r14d
xorl %ebx, %ebx
movq 0x18(%rsp), %rdx
movzbl %bl, %r12d
movq %r13, %rdi
movq 0x8(%rsp), %rsi
movl %r12d, %ecx
callq 0x66fe
movq %r13, %rdi
callq 0x683c
testb %al, %al
jne 0x574e
movq 0x18(%rsp), %rcx
leaq 0xa0(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r13, %rdx
movl %r12d, %r8d
callq 0x69e0
addq 0xb0(%rsp), %r15
addq 0xa8(%rsp), %rbp
addq 0xa0(%rsp), %r14
incb %bl
cmpb $0x4, %bl
jne 0x566c
addq %r15, %rbp
cmpq $0x1, %rbp
movq 0x10(%rsp), %rbx
movq 0x70(%rsp), %rbp
movq 0x28(%rsp), %r12
ja 0x575d
cmpq $0x1, %r14
ja 0x575d
movq 0x18(%rsp), %r12
cmpq $0x1, %r15
je 0x5fda
movq 0x8(%rsp), %rdi
movb $0x1, (%rdi,%r12)
movl $0x3, %edx
movl $0x2, %esi
callq 0x4f7e
movq 0x28(%rsp), %r12
movq 0x18(%rsp), %rax
movq 0x8(%rsp), %rcx
movb $0x0, (%rcx,%rax)
testb $0x1, %dl
je 0x5773
movl $0xfffffc18, 0xc8(%rsp) # imm = 0xFFFFFC18
leaq 0x30(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movq %r13, %rdx
callq 0x9612
jmp 0x575d
movq 0x10(%rsp), %rbx
movq 0x70(%rsp), %rbp
movq 0x28(%rsp), %r12
incq %rbx
cmpq %rbp, %rbx
movq 0x8(%rsp), %r14
jne 0x5649
jmp 0x561b
movq 0xc0(%rsp), %rcx
leaq (%rcx,%rax,8), %rdx
leaq 0x30(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x963a
jmp 0x575d
cmpb $0x1, 0xe1(%r14)
jne 0x5c34
movl $0xfffffc17, 0x10(%rsp) # imm = 0xFFFFFC17
xorl %r12d, %r12d
leaq 0xc8(%rsp), %r15
movq %r12, 0x30(%rsp)
cmpb $0x0, (%r14,%r12)
jne 0x5948
movq %r12, 0x28(%rsp)
xorl %ebp, %ebp
xorl %r12d, %r12d
xorl %r14d, %r14d
xorl %r13d, %r13d
movq 0x30(%rsp), %rdx
movzbl %r13b, %ebx
movq %r15, %rdi
movq 0x8(%rsp), %rsi
movl %ebx, %ecx
callq 0x66fe
movq %r15, %rdi
callq 0x683c
testb %al, %al
jne 0x593e
movq 0x30(%rsp), %rcx
leaq 0x80(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
movl %ebx, %r8d
callq 0x69e0
addq 0x90(%rsp), %rbp
addq 0x88(%rsp), %r12
addq 0x80(%rsp), %r14
incb %r13b
cmpb $0x4, %r13b
jne 0x57d1
addq %rbp, %r12
cmpq $0x1, %r12
ja 0x593e
cmpq $0x1, %r14
movq 0x28(%rsp), %r12
ja 0x595d
cmpq $0x1, %rbp
movq 0x8(%rsp), %r14
je 0x5e63
movb 0xe1(%r14), %al
movq 0x30(%rsp), %rcx
movb %al, (%r14,%rcx)
xorl %esi, %esi
cmpb $0x1, %al
sete %sil
incl %esi
movl $0x3, %edx
movq %r14, %rdi
callq 0x4f7e
movq 0x30(%rsp), %rsi
movb $0x0, (%r14,%rsi)
movl $0xfffffc18, %ebx       # imm = 0xFFFFFC18
testb $0x1, %dl
jne 0x58af
movzbl 0xe1(%r14), %edx
movq %r14, %rdi
callq 0x9432
movl %eax, %ebx
cmpl %ebx, 0x10(%rsp)
jge 0x5964
cmpb $0x0, 0x24(%rsp)
je 0x5927
movq 0x9721(%rip), %rcx      # 0xefe8
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq 0x9703(%rip), %rdi      # 0xefe8
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq %rax, %rbp
movl $0x2, %edx
movq %rax, %rdi
leaq 0x5ad7(%rip), %rsi      # 0xb3db
callq 0x2210
movq %rbp, %rdi
movl %ebx, %esi
callq 0x2320
movl $0x3, %edx
movq %rax, %rdi
leaq 0x5887(%rip), %rsi      # 0xb1a9
callq 0x2210
movq 0x50(%rsp), %rax
cmpq %rax, 0x58(%rsp)
je 0x5938
movq %rax, 0x58(%rsp)
movl %ebx, 0x10(%rsp)
jmp 0x5966
movq 0x8(%rsp), %r14
movq 0x28(%rsp), %r12
incq %r12
cmpq $0xe1, %r12
jne 0x57b1
jmp 0x600f
movq 0x8(%rsp), %r14
jmp 0x5948
jne 0x5948
cmpb $0x0, 0x24(%rsp)
je 0x59cf
movq 0x30(%rsp), %rsi
movq %r15, %rdi
callq 0x270c
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
movq 0x9657(%rip), %rdi      # 0xefe8
callq 0x2210
movl $0x2, %edx
movq %rax, %rdi
leaq 0x5a39(%rip), %rsi      # 0xb3de
callq 0x2210
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x59cf
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21f0
movq 0x58(%rsp), %rsi
cmpq 0x60(%rsp), %rsi
je 0x59f1
movq 0x30(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x58(%rsp)
jmp 0x5948
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x9db8
jmp 0x5948
cmpq %rcx, %rax
jne 0x5e6f
movq 0x30(%rsp), %r13
movq 0x38(%rsp), %rbx
movl $0xfffffc17, 0x10(%rsp) # imm = 0xFFFFFC17
movb $0x1, %bpl
cmpq %rbx, %r13
je 0x5c2f
movq %rbx, %rax
subq %r13, %rax
sarq $0x4, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r13, %rdi
movq %rbx, %rsi
callq 0xa0dc
movq %r13, %rdi
movq %rbx, %rsi
callq 0xa1e0
movq 0x30(%rsp), %r13
movq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
cmpq %rax, %r13
movq 0xb8(%rsp), %rdx
je 0x5c2f
decq %rdx
movl $0xfffffc17, 0x10(%rsp) # imm = 0xFFFFFC17
movb 0xe1(%r14), %al
movq (%r13), %rcx
movb %al, (%r14,%rcx)
xorl %esi, %esi
cmpb $0x1, %al
sete %sil
incl %esi
movq %r14, %rdi
movq %rdx, %rbp
movl $0xfffffc17, %ecx       # imm = 0xFFFFFC17
movl $0x3e9, %r8d            # imm = 0x3E9
callq 0x9662
movl %eax, %r15d
movq (%r13), %rsi
movzbl 0xe1(%r14), %edx
movq %r14, %rdi
callq 0x9432
movl %eax, %ebx
subl %r15d, %ebx
movq (%r13), %r12
movb $0x0, (%r14,%r12)
cmpl $0x3e8, %ebx            # imm = 0x3E8
setne %al
movl %eax, 0x8(%rsp)
je 0x5fea
cmpl %ebx, 0x10(%rsp)
jge 0x5b7a
cmpb $0x0, 0x24(%rsp)
je 0x5b63
movq 0x94e5(%rip), %rcx      # 0xefe8
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq 0x94c7(%rip), %rdi      # 0xefe8
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq %rax, %r15
movl $0x2, %edx
movq %rax, %rdi
leaq 0x589b(%rip), %rsi      # 0xb3db
callq 0x2210
movq %r15, %rdi
movl %ebx, %esi
callq 0x2320
movl $0x3, %edx
movq %rax, %rdi
leaq 0x564b(%rip), %rsi      # 0xb1a9
callq 0x2210
movq 0x50(%rsp), %rax
cmpq %rax, 0x58(%rsp)
je 0x5b74
movq %rax, 0x58(%rsp)
movl %ebx, 0x10(%rsp)
jmp 0x5b80
jne 0x5c18
cmpb $0x0, 0x24(%rsp)
je 0x5bed
movq (%r13), %rsi
leaq 0xc8(%rsp), %rdi
callq 0x270c
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
movq 0x9439(%rip), %rdi      # 0xefe8
callq 0x2210
movl $0x2, %edx
movq %rax, %rdi
leaq 0x581b(%rip), %rsi      # 0xb3de
callq 0x2210
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x5bed
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21f0
movq 0x58(%rsp), %rsi
cmpq 0x60(%rsp), %rsi
je 0x5c0b
movq (%r13), %rax
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x58(%rsp)
jmp 0x5c18
leaq 0x50(%rsp), %rdi
movq %r13, %rdx
callq 0x9db8
addq $0x10, %r13
cmpq 0x28(%rsp), %r13
movq %rbp, %rdx
jne 0x5a84
jmp 0x5fea
jmp 0x5ff3
movl $0xfffffc17, 0x10(%rsp) # imm = 0xFFFFFC17
xorl %r13d, %r13d
leaq 0xc8(%rsp), %r15
movq %r13, 0x30(%rsp)
cmpb $0x0, (%r14,%r13)
je 0x5c64
incq %r13
cmpq $0xe1, %r13
jne 0x5c47
jmp 0x600f
xorl %r14d, %r14d
xorl %ebp, %ebp
xorl %r12d, %r12d
movq 0x30(%rsp), %rdx
movzbl %r12b, %ebx
movq %r15, %rdi
movq 0x8(%rsp), %rsi
movl %ebx, %ecx
callq 0x66fe
movq %r15, %rdi
callq 0x683c
testb %al, %al
jne 0x5e63
movq 0x30(%rsp), %rcx
leaq 0x80(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
movl %ebx, %r8d
callq 0x69e0
addq 0x90(%rsp), %r14
addq 0x88(%rsp), %rbp
incb %r12b
cmpb $0x4, %r12b
jne 0x5c6c
testq %r14, %r14
jne 0x5e63
cmpq $0x2, %rbp
jae 0x5e63
movq 0x8(%rsp), %r14
movb 0xe1(%r14), %al
movq 0x30(%rsp), %rcx
movb %al, (%r14,%rcx)
xorl %esi, %esi
cmpb $0x1, %al
sete %sil
incl %esi
movl $0x3, %edx
movq %r14, %rdi
callq 0x4f7e
movq 0x30(%rsp), %rsi
movb $0x0, (%r14,%rsi)
movl $0xfffffc18, %ebx       # imm = 0xFFFFFC18
testb $0x1, %dl
jne 0x5d2f
movzbl 0xe1(%r14), %edx
movq %r14, %rdi
callq 0x9432
movl %eax, %ebx
cmpl %ebx, 0x10(%rsp)
jge 0x5dbe
cmpb $0x0, 0x24(%rsp)
je 0x5da7
movq 0x92a1(%rip), %rcx      # 0xefe8
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq 0x9283(%rip), %rdi      # 0xefe8
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq %rax, %rbp
movl $0x2, %edx
movq %rax, %rdi
leaq 0x5657(%rip), %rsi      # 0xb3db
callq 0x2210
movq %rbp, %rdi
movl %ebx, %esi
callq 0x2320
movl $0x3, %edx
movq %rax, %rdi
leaq 0x5407(%rip), %rsi      # 0xb1a9
callq 0x2210
movq 0x50(%rsp), %rax
cmpq %rax, 0x58(%rsp)
je 0x5db8
movq %rax, 0x58(%rsp)
movl %ebx, 0x10(%rsp)
jmp 0x5dc4
jne 0x5c53
cmpb $0x0, 0x24(%rsp)
je 0x5e2d
movq 0x30(%rsp), %rsi
movq %r15, %rdi
callq 0x270c
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
movq 0x91f9(%rip), %rdi      # 0xefe8
callq 0x2210
movl $0x2, %edx
movq %rax, %rdi
leaq 0x55db(%rip), %rsi      # 0xb3de
callq 0x2210
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x5e2d
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21f0
movq 0x58(%rsp), %rsi
cmpq 0x60(%rsp), %rsi
je 0x5e4f
movq 0x30(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x58(%rsp)
jmp 0x5c53
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x9db8
jmp 0x5c53
movq 0x30(%rsp), %r12
movb $0x1, %bl
jmp 0x6021
leaq 0x3928(%r14), %rdx
movq %rdx, 0x70(%rsp)
leaq 0xc8(%rsp), %rbx
movq %rcx, 0x78(%rsp)
movq %rax, 0x68(%rsp)
movq 0x80(%rsp), %r15
movq 0x90(%rsp), %r12
cmpq %r12, %r15
jne 0x5eb9
movq 0x68(%rsp), %rax
incq %rax
movq 0x78(%rsp), %rcx
cmpq %rcx, %rax
jne 0x5e88
jmp 0x5a0e
movq 0x68(%rsp), %rax
leaq (%rax,%rax,4), %rax
leaq (%rax,%rax,2), %r13
movq %r12, 0x10(%rsp)
movq %r13, 0x28(%rsp)
leaq (%r15,%r13), %rax
movq %rax, 0x18(%rsp)
cmpb $0x0, (%r14,%rax)
je 0x5eea
incq %r15
cmpq %r12, %r15
jne 0x5ed0
jmp 0x5ea2
xorl %ebp, %ebp
xorl %r14d, %r14d
xorl %r13d, %r13d
movq 0x18(%rsp), %rdx
movzbl %bpl, %r12d
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movl %r12d, %ecx
callq 0x66fe
movq %rbx, %rdi
callq 0x683c
testb %al, %al
jne 0x5fd5
movq 0x18(%rsp), %rcx
leaq 0xa0(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %rbx, %rdx
movl %r12d, %r8d
callq 0x69e0
addq 0xb0(%rsp), %r13
addq 0xa8(%rsp), %r14
incb %bpl
cmpb $0x4, %bpl
jne 0x5ef2
movq 0x18(%rsp), %r12
testq %r13, %r13
jne 0x5fda
cmpq $0x1, %r14
ja 0x5fda
movq 0x8(%rsp), %r14
movb $0x2, (%r14,%r12)
movl $0x3, %edx
movq %r14, %rdi
movl $0x1, %esi
callq 0x4f7e
movq 0x10(%rsp), %r12
movq 0x28(%rsp), %r13
movq 0x18(%rsp), %rax
movb $0x0, (%r14,%rax)
testb $0x1, %dl
je 0x5fb8
movl $0xfffffc18, 0xc8(%rsp) # imm = 0xFFFFFC18
leaq 0x30(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movq %rbx, %rdx
callq 0x9612
jmp 0x5ee0
movq 0x70(%rsp), %rcx
leaq (%rcx,%rax,8), %rdx
leaq 0x30(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x963a
jmp 0x5ee0
movq 0x18(%rsp), %r12
movl $0xfffffc17, 0x10(%rsp) # imm = 0xFFFFFC17
movl $0x0, 0x8(%rsp)
movq 0x30(%rsp), %r13
movl 0x8(%rsp), %ebp
testq %r13, %r13
je 0x6008
movq 0x40(%rsp), %rsi
subq %r13, %rsi
movq %r13, %rdi
callq 0x21f0
movb $0x1, %bl
testb %bpl, %bpl
je 0x6021
cmpl $0xfffffc18, 0x10(%rsp) # imm = 0xFFFFFC18
jne 0x602d
movl $0xe1, %r12d
xorl %ebx, %ebx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
jne 0x6070
jmp 0x607d
movq 0x50(%rsp), %rdi
movq 0x58(%rsp), %rax
subq %rdi, %rax
je 0x6094
sarq $0x3, %rax
decq %rax
leaq 0xc8(%rsp), %rdi
movq $0x0, (%rdi)
movq %rax, 0x8(%rdi)
leaq 0xa523(%rip), %rsi      # 0x10580
movq %rdi, %rdx
callq 0x649e
movq 0x50(%rsp), %rdi
movq (%rdi,%rax,8), %r12
movb $0x1, %bl
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %r12, %rax
movl %ebx, %edx
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r12d, %r12d
xorl %ebx, %ebx
jmp 0x6026
jmp 0x6114
jmp 0x611b
jmp 0x60ab
jmp 0x6114
jmp 0x6114
jmp 0x6114
jmp 0x611b
jmp 0x6114
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x6135
movq 0xd8(%rsp), %rsi
incq %rsi
jmp 0x6130
jmp 0x611b
jmp 0x6114
jmp 0x611b
jmp 0x6114
jmp 0x6114
jmp 0x611b
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x611e
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21f0
jmp 0x611e
jmp 0x611b
jmp 0x611b
jmp 0x6114
jmp 0x611b
jmp 0x611b
jmp 0x6114
jmp 0x6114
movq %rax, %rbx
jmp 0x6135
jmp 0x611b
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x6135
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x21f0
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x614c
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2330