// File: /workspace/github_cpp_makefile_star2_O2/YSRKEN[P]Shioi/I401/main.cpp
// Function: Board::CountRenB(std::array<std::array<PackedStone, 5ul>, 2ul> const&, unsigned long, Direction)
RenCount CountRenB(const Pattern &pattern, const size_t position, const Direction dir) {
		/* Count "Straight Shi-Shi" */
		/* 1. BO|BBB|OB   "Ryoutou-no-ShiShi"
		 * 2. BBO|BB|OBB  "Chouda-no-ShiShi"
		 * 3. BBBO|B|OBBB "Souryu-no-ShiShi"
		 * 一直線上に出来る四々で、両頭の四々・長蛇の四々・双龍の四々
		 */
		namespace p = packed_stone;
		{
			//BO|BBB|OB
			if (MatchPatternB(pattern, position, dir, {{ p::nb, p::bbnb }})) return RenCount(0, 2, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::bnb, p::bnb }})) return RenCount(0, 2, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::bbnb, p::nb }})) return RenCount(0, 2, 0);
			//BBO|BB|OBB
			if (MatchPatternB(pattern, position, dir, {{ p::nbb, p::bnbb }})) return RenCount(0, 2, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::bnbb, p::nbb }})) return RenCount(0, 2, 0);
			//BBBO|B|OBBB
			if (MatchPatternB(pattern, position, dir, {{ p::nbbb, p::nbbb }})) return RenCount(0, 2, 0);
		}
		// Count Shi-ren
		{
			if (MatchPatternB(pattern, position, dir, {{ p::n, p::bbbn }})) return RenCount(1, 0, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::bn, p::bbn }})) return RenCount(1, 0, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::bbbn, p::n }})) return RenCount(1, 0, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::bbn, p::bn }})) return RenCount(1, 0, 0);
		}
		// Count Katsu-Shi
		{
			//11110
			if (MatchPatternB(pattern, position, dir, {{ p::bbb, p::n }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::bb, p::bn }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::b, p::bbn }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, Side::Right, {{ p::bbbn }})) return RenCount(0, 1, 0);
			//11101
			if (MatchPatternB(pattern, position, dir, Side::Right, {{ p::nbbb }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::bb, p::nb }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::b, p::bnb }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, Side::Right, {{ p::bbnb }})) return RenCount(0, 1, 0);
			//11011
			if (MatchPatternB(pattern, position, dir, Side::Right, {{ p::bnbb }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::nbb, p::b }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, Side::Left, {{ p::bnbb }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::b, p::nbb }})) return RenCount(0, 1, 0);
			//10111
			if (MatchPatternB(pattern, position, dir, Side::Left, {{ p::nbbb }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::nb, p::bb }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::bnb, p::b }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, Side::Left, {{ p::bbnb }})) return RenCount(0, 1, 0);
			//01111
			if (MatchPatternB(pattern, position, dir, {{ p::n, p::bbb }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::bn, p::bb }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, {{ p::bbn, p::b }})) return RenCount(0, 1, 0);
			if (MatchPatternB(pattern, position, dir, Side::Left, {{ p::bbbn }})) return RenCount(0, 1, 0);
		}
		// Count Katsu-San
		{
			int offset1 = 0, offset2 = 0;
			while (true) {
				//011100
				if (MatchPatternB(pattern, position, dir, {{ p::bbn, p::nn }})) {
					offset1 = 1; offset2 = -3; break;
				}
				if (MatchPatternB(pattern, position, dir, {{ p::bn, p::bnn }})) {
					offset1 = 2; offset2 = -2; break;
				}
				if (MatchPatternB(pattern, position, dir, {{ p::n, p::bbnn }})) {
					offset1 = 3; offset2 = -1; break;
				}
				//011010
				if (MatchPatternB(pattern, position, dir, {{ p::nbbn, p::n }})) {
					offset1 = -1; break;
				}
				if (MatchPatternB(pattern, position, dir, {{ p::bn, p::nbn }})) {
					offset1 = 1; break;
				}
				if (MatchPatternB(pattern, position, dir, {{ p::n, p::bnbn }})) {
					offset1 = 2; break;
				}
				//010110
				if (MatchPatternB(pattern, position, dir, {{ p::n, p::nbbn }})) {
					offset1 = 1; break;
				}
				if (MatchPatternB(pattern, position, dir, {{ p::nbn, p::bn }})) {
					offset1 = -1; break;
				}
				if (MatchPatternB(pattern, position, dir, {{ p::bnbn, p::n }})) {
					offset1 = -2; break;
				}
				//001110
				if (MatchPatternB(pattern, position, dir, {{ p::nn, p::bbn }})) {
					offset1 = -1; offset2 = 3; break;
				}
				if (MatchPatternB(pattern, position, dir, {{ p::bnn, p::bn }})) {
					offset1 = -2; offset2 = 2; break;
				}
				if (MatchPatternB(pattern, position, dir, {{ p::bbnn, p::n }})) {
					offset1 = -3; offset2 = 1; break;
				}
				break;
			}
			auto GetPosition = [&position, &dir](int count) -> int {return position + kPositionoffset[dir] * count; };
			if (offset2 != 0) {
				int next_pos = GetPosition(offset2);
				if (next_pos >= 0 && static_cast<std::size_t>(next_pos) < kBoardSize * kBoardSize) {
					board_[position] = Stone::Black;
					auto valid_flg = IsValidMove(next_pos);
					board_[position] = Stone::None;
					if (valid_flg) return RenCount(0, 0, 1);
				}
			}
			if (offset1 != 0) {
				int next_pos = GetPosition(offset1);
				if (next_pos >= 0 && static_cast<std::size_t>(next_pos) < kBoardSize * kBoardSize) {
					board_[position] = Stone::Black;
					auto valid_flg = IsValidMove(next_pos);
					board_[position] = Stone::None;
					if (valid_flg) return RenCount(0, 0, 1);
				}
			}
		}
		return RenCount(0, 0, 0);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r8d, %ebp
movq %rcx, %r14
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsp), %r8
movq $0x1, (%r8)
movq $0x2, 0x8(%r8)
movq $0x51, 0x10(%r8)
movq $0x4, 0x18(%r8)
movq %rsi, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6570
pushq $0x11
popq %rax
leaq 0x8(%rsp), %r8
movq %rax, (%r8)
pushq $0x3
popq %r12
movq %r12, 0x8(%r8)
movq %rax, 0x10(%r8)
movq %r12, 0x18(%r8)
movzbl %bpl, %ebp
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6570
leaq 0x8(%rsp), %r8
movq $0x51, (%r8)
movq $0x4, 0x8(%r8)
movq $0x1, 0x10(%r8)
movq $0x2, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6570
leaq 0x8(%rsp), %r8
movq $0x5, (%r8)
movq $0x3, 0x8(%r8)
movq $0x45, 0x10(%r8)
movq $0x4, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6570
leaq 0x8(%rsp), %r8
movq $0x45, (%r8)
movq $0x4, 0x8(%r8)
movq $0x5, 0x10(%r8)
movq $0x3, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6570
pushq $0x15
popq %rax
leaq 0x8(%rsp), %r8
movq %rax, (%r8)
pushq $0x4
popq %rcx
movq %rcx, 0x8(%r8)
movq %rax, 0x10(%r8)
movq %rcx, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
je 0x6593
andq $0x0, (%rbx)
movq $0x2, 0x8(%rbx)
andq $0x0, 0x10(%rbx)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8(%rsp), %r8
andq $0x0, (%r8)
movq $0x1, 0x8(%r8)
movq $0x54, 0x10(%r8)
movq $0x4, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6671
leaq 0x8(%rsp), %r8
movq $0x4, (%r8)
movq $0x2, 0x8(%r8)
movq $0x14, 0x10(%r8)
movq $0x3, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6671
leaq 0x8(%rsp), %r8
movq $0x54, (%r8)
movq $0x4, 0x8(%r8)
andq $0x0, 0x10(%r8)
movq $0x1, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6671
leaq 0x8(%rsp), %r8
movq $0x14, (%r8)
movq $0x3, 0x8(%r8)
movq $0x4, 0x10(%r8)
movq $0x2, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
je 0x6684
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x1, 0x10(%rbx)
jmp 0x6581
leaq 0x8(%rsp), %r8
movq $0x15, (%r8)
movq $0x3, 0x8(%r8)
andq $0x0, 0x10(%r8)
movq $0x1, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r8
movq $0x5, (%r8)
pushq $0x2
popq %rax
movq %rax, 0x8(%r8)
movq $0x4, 0x10(%r8)
movq %rax, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6a91
pushq $0x1
popq %rax
leaq 0x8(%rsp), %r8
movq %rax, (%r8)
movq %rax, 0x8(%r8)
movq $0x14, 0x10(%r8)
movq $0x3, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r9
movq $0x54, (%r9)
movq $0x4, 0x8(%r9)
pushq $0x1
popq %r8
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6fba
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r9
movq $0x15, (%r9)
movq $0x4, 0x8(%r9)
pushq $0x1
popq %r8
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6fba
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r8
movq $0x5, (%r8)
pushq $0x2
popq %rax
movq %rax, 0x8(%r8)
movq $0x1, 0x10(%r8)
movq %rax, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r8
pushq $0x1
popq %rax
movq %rax, (%r8)
movq %rax, 0x8(%r8)
movq $0x11, 0x10(%r8)
movq $0x3, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r9
movq $0x51, (%r9)
movq $0x4, 0x8(%r9)
pushq $0x1
popq %r8
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6fba
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r9
movq $0x45, (%r9)
movq $0x4, 0x8(%r9)
pushq $0x1
popq %r8
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
movl %r8d, 0x4(%rsp)
callq 0x6fba
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r8
movq $0x5, (%r8)
movq $0x3, 0x8(%r8)
pushq $0x1
popq %rax
movq %rax, 0x10(%r8)
movq %rax, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r9
movq $0x45, (%r9)
movq $0x4, 0x8(%r9)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0x6fba
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r8
pushq $0x1
popq %rax
movq %rax, (%r8)
movq %rax, 0x8(%r8)
movq $0x5, 0x10(%r8)
movq $0x3, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r9
movq $0x15, (%r9)
movq $0x4, 0x8(%r9)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0x6fba
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r8
movq $0x1, (%r8)
pushq $0x2
popq %rax
movq %rax, 0x8(%r8)
movq $0x5, 0x10(%r8)
movq %rax, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r8
movq $0x11, (%r8)
movq $0x3, 0x8(%r8)
pushq $0x1
popq %rax
movq %rax, 0x10(%r8)
movq %rax, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r9
movq $0x51, (%r9)
movq $0x4, 0x8(%r9)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0x6fba
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r8
andq $0x0, (%r8)
movq $0x1, 0x8(%r8)
movq $0x15, 0x10(%r8)
movq $0x3, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r8
movq $0x4, (%r8)
pushq $0x2
popq %rax
movq %rax, 0x8(%r8)
movq $0x5, 0x10(%r8)
movq %rax, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r8
movq $0x14, (%r8)
movq $0x3, 0x8(%r8)
pushq $0x1
popq %rax
movq %rax, 0x10(%r8)
movq %rax, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6a91
leaq 0x8(%rsp), %r9
movq $0x54, (%r9)
movq $0x4, 0x8(%r9)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0x6fba
testb %al, %al
je 0x6aa2
andq $0x0, (%rbx)
movq $0x1, 0x8(%rbx)
jmp 0x657c
leaq 0x8(%rsp), %r8
movq $0x14, (%r8)
movq $0x3, 0x8(%r8)
andq $0x0, 0x10(%r8)
movq $0x2, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
je 0x6ae2
movl $0xfffffffd, %r12d      # imm = 0xFFFFFFFD
jmp 0x6b6d
leaq 0x8(%rsp), %r8
movq $0x4, (%r8)
movq $0x2, 0x8(%r8)
movq $0x10, 0x10(%r8)
movq $0x3, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
je 0x6b27
movl $0xfffffffd, %r12d      # imm = 0xFFFFFFFD
incq %r12
pushq $0x2
jmp 0x6b68
leaq 0x8(%rsp), %r8
andq $0x0, (%r8)
movq $0x1, 0x8(%r8)
movq $0x50, 0x10(%r8)
movq $0x4, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
je 0x6bac
movl $0xfffffffd, %r12d      # imm = 0xFFFFFFFD
addq $0x2, %r12
pushq $0x3
popq %rax
movl %eax, 0x4(%rsp)
leaq 0x482c(%rip), %rax      # 0xb3a0
imulq (%rax,%rbp,8), %r12
addq %r14, %r12
cmpl $0xe0, %r12d
ja 0x6c5b
movzbl %r12b, %esi
movb $0x1, (%r15,%r14)
movq %r15, %rdi
callq 0x4884
movb $0x0, (%r15,%r14)
testb %al, %al
je 0x6c5b
jmp 0x6c96
leaq 0x8(%rsp), %r8
movq $0x14, (%r8)
movq $0x4, 0x8(%r8)
andq $0x0, 0x10(%r8)
movq $0x1, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
je 0x6be5
pushq $-0x1
jmp 0x6c56
leaq 0x8(%rsp), %r8
pushq $0x4
popq %rax
movq %rax, (%r8)
movq $0x2, 0x8(%r8)
movq %rax, 0x10(%r8)
movq $0x3, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
pushq $0x1
popq %rcx
movl %ecx, 0x4(%rsp)
testb %al, %al
jne 0x6c5b
leaq 0x8(%rsp), %r8
andq $0x0, (%r8)
movq $0x1, 0x8(%r8)
movq $0x44, 0x10(%r8)
movq $0x4, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
je 0x6ca9
pushq $0x2
popq %rax
movl %eax, 0x4(%rsp)
leaq 0x473e(%rip), %rcx      # 0xb3a0
movl 0x4(%rsp), %eax
imulq (%rcx,%rbp,8), %rax
addq %r14, %rax
cmpl $0xe0, %eax
ja 0x6e20
movzbl %al, %esi
movb $0x1, (%r15,%r14)
movq %r15, %rdi
callq 0x4884
movb $0x0, (%r15,%r14)
testb %al, %al
je 0x6e20
movq $0x1, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
jmp 0x6581
leaq 0x8(%rsp), %r8
andq $0x0, (%r8)
movq $0x1, 0x8(%r8)
movq $0x14, 0x10(%r8)
movq $0x4, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
jne 0x6c5b
leaq 0x8(%rsp), %r8
pushq $0x4
popq %rax
movq %rax, (%r8)
movq $0x3, 0x8(%r8)
movq %rax, 0x10(%r8)
movq $0x2, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
pushq $-0x1
popq %rcx
movl %ecx, 0x4(%rsp)
testb %al, %al
jne 0x6c5b
leaq 0x8(%rsp), %r8
movq $0x44, (%r8)
movq $0x4, 0x8(%r8)
andq $0x0, 0x10(%r8)
movq $0x1, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
je 0x6d5c
pushq $-0x2
jmp 0x6c56
leaq 0x8(%rsp), %r8
andq $0x0, (%r8)
movq $0x2, 0x8(%r8)
movq $0x14, 0x10(%r8)
movq $0x3, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
je 0x6d98
pushq $-0x1
jmp 0x6b68
leaq 0x8(%rsp), %r8
movq $0x10, (%r8)
movq $0x3, 0x8(%r8)
movq $0x4, 0x10(%r8)
movq $0x2, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
je 0x6ddb
pushq $-0x2
popq %rax
movl %eax, 0x4(%rsp)
pushq $0x2
jmp 0x6e19
leaq 0x8(%rsp), %r8
movq $0x50, (%r8)
movq $0x4, 0x8(%r8)
andq $0x0, 0x10(%r8)
movq $0x1, 0x18(%r8)
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x6f22
testb %al, %al
je 0x6e20
pushq $-0x3
popq %rax
movl %eax, 0x4(%rsp)
pushq $0x1
popq %r12
jmp 0x6b6d
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
jmp 0x657c
nop