LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: YSRKEN[P]Shioi/I401/./Board_helper.hpp
// Function: Board_helper::CalcOuterLoopMaxByDirection(Direction)
constexpr std::pair<array<size_t, 2>, size_t> CalcOuterLoopMaxByDirection(const Direction d) {
		//C++11 constexprではswitch文が使えないので致し方なし
		return (d < DiagR)
			? std::pair<array<size_t, 2>, size_t>{ { { kBoardSize, 0 }}, 1U }// Row(─) Column(│)
			: (d == DiagR)
				? std::pair<array<size_t, 2>, size_t>{ { { kBoardSize - 4, kBoardSize - 5}}, 2U }// Diagonally right(／)
				: (d == DiagL) 
					? std::pair<array<size_t, 2>, size_t>{ { { kBoardSize - 4, kBoardSize - 5}}, 2U }// Diagonally left(＼)
					: std::pair<array<size_t, 2>, size_t>{};
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x60(%rbp)
movb %sil, %al
movq %rdi, -0x58(%rbp)
movb %al, -0x1(%rbp)
movzbl -0x1(%rbp), %eax
cmpl $0x2, %eax
jge 0xda69
movq -0x60(%rbp), %rdi
movq $0xf, -0x18(%rbp)
movq $0x0, -0x10(%rbp)
movl $0x1, -0x1c(%rbp)
leaq -0x18(%rbp), %rsi
leaq -0x1c(%rbp), %rdx
callq 0xdd90
jmp 0xdadc
movzbl -0x1(%rbp), %eax
cmpl $0x2, %eax
jne 0xda9c
movq -0x60(%rbp), %rdi
movq $0xb, -0x30(%rbp)
movq $0xa, -0x28(%rbp)
movl $0x2, -0x34(%rbp)
leaq -0x30(%rbp), %rsi
leaq -0x34(%rbp), %rdx
callq 0xdd90
jmp 0xdada
movzbl -0x1(%rbp), %eax
cmpl $0x3, %eax
jne 0xdacf
movq -0x60(%rbp), %rdi
movq $0xb, -0x48(%rbp)
movq $0xa, -0x40(%rbp)
movl $0x2, -0x4c(%rbp)
leaq -0x48(%rbp), %rsi
leaq -0x4c(%rbp), %rdx
callq 0xdd90
jmp 0xdad8
movq -0x60(%rbp), %rdi
callq 0xddd0
jmp 0xdada
jmp 0xdadc
movq -0x58(%rbp), %rax
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: YSRKEN[P]Shioi/I401/./Board_helper.hpp
// Function: Board_helper::CalcInnerLoopMaxByDirection(Direction, unsigned long)
constexpr std::pair<array<size_t, 2>, size_t> CalcInnerLoopMaxByDirection(const Direction d, const size_t i) {
		//C++11 constexprではswitch文が使えないので致し方なし
		return (d < DiagR)
			? std::pair<array<size_t, 2>, size_t>{ { { kBoardSize, 0 }}, 1U }// Row(─) Column(│)
			: (d == DiagR)
				? std::pair<array<size_t, 2>, size_t>{ { { i + 5, kBoardSize - i - 1}}, 2U }// Diagonally right(／)
				: (d == DiagL) 
					? std::pair<array<size_t, 2>, size_t>{ { { kBoardSize - i, kBoardSize - i - 1} }, 2U }// Diagonally left(＼)
					: std::pair<array<size_t, 2>, size_t>{};
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x68(%rbp)
movb %sil, %al
movq %rdi, -0x60(%rbp)
movb %al, -0x1(%rbp)
movq %rdx, -0x10(%rbp)
movzbl -0x1(%rbp), %eax
cmpl $0x2, %eax
jge 0xdb70
movq -0x68(%rbp), %rdi
movq $0xf, -0x20(%rbp)
movq $0x0, -0x18(%rbp)
movl $0x1, -0x24(%rbp)
leaq -0x20(%rbp), %rsi
leaq -0x24(%rbp), %rdx
callq 0xdd90
jmp 0xdbfe
movzbl -0x1(%rbp), %eax
cmpl $0x2, %eax
jne 0xdbb0
movq -0x68(%rbp), %rdi
movq -0x10(%rbp), %rax
addq $0x5, %rax
movq %rax, -0x38(%rbp)
movl $0xf, %eax
subq -0x10(%rbp), %rax
subq $0x1, %rax
movq %rax, -0x30(%rbp)
movl $0x2, -0x3c(%rbp)
leaq -0x38(%rbp), %rsi
leaq -0x3c(%rbp), %rdx
callq 0xdd90
jmp 0xdbfc
movzbl -0x1(%rbp), %eax
cmpl $0x3, %eax
jne 0xdbf1
movq -0x68(%rbp), %rdi
movl $0xf, %eax
subq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
movl $0xf, %eax
subq -0x10(%rbp), %rax
subq $0x1, %rax
movq %rax, -0x48(%rbp)
movl $0x2, -0x54(%rbp)
leaq -0x50(%rbp), %rsi
leaq -0x54(%rbp), %rdx
callq 0xdd90
jmp 0xdbfa
movq -0x68(%rbp), %rdi
callq 0xddd0
jmp 0xdbfc
jmp 0xdbfe
movq -0x60(%rbp), %rax
addq $0x70, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: YSRKEN[P]Shioi/I401/./Board_helper.hpp
// Function: Board_helper::ToPositionByDirection(Direction, unsigned long, unsigned long)
constexpr std::pair<array<size_t, 2>, size_t> ToPositionByDirection(const Direction d, const size_t i, const size_t j) {
		//C++11 constexprではswitch文が使えないので致し方なし
		return (d < DiagR)
			? (d == Row)
				? std::pair<array<size_t, 2>, size_t>{ { { ToPosition(j, i), 0 }}, 1U }// Row(─)
				: std::pair<array<size_t, 2>, size_t>{ { { ToPosition(i, j), 0 } }, 1U }// Column(│)
			: (d == DiagR)
				? std::pair<array<size_t, 2>, size_t>{ { { ToPosition(i - j + 4, j), ToPosition(kBoardSize - 1 - j, i + j + 1)}}, 2U }// Diagonally right(／)
				: (d == DiagL) 
					? std::pair<array<size_t, 2>, size_t>{ { { ToPosition(i + j, j), ToPosition(j, i + j + 1) } }, 2U }// Diagonally left(＼)
					: std::pair<array<size_t, 2>, size_t>{};
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x88(%rbp)
movb %sil, %al
movq %rdi, -0x80(%rbp)
movb %al, -0x1(%rbp)
movq %rdx, -0x10(%rbp)
movq %rcx, -0x18(%rbp)
movzbl -0x1(%rbp), %eax
cmpl $0x2, %eax
jge 0xdcb5
movzbl -0x1(%rbp), %eax
cmpl $0x0, %eax
jne 0xdc7c
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x3100
movq -0x88(%rbp), %rdi
movq %rax, -0x28(%rbp)
movq $0x0, -0x20(%rbp)
movl $0x1, -0x2c(%rbp)
leaq -0x28(%rbp), %rsi
leaq -0x2c(%rbp), %rdx
callq 0xdd90
jmp 0xdcb0
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x3100
movq -0x88(%rbp), %rdi
movq %rax, -0x40(%rbp)
movq $0x0, -0x38(%rbp)
movl $0x1, -0x44(%rbp)
leaq -0x40(%rbp), %rsi
leaq -0x44(%rbp), %rdx
callq 0xdd90
jmp 0xdd76
movzbl -0x1(%rbp), %eax
cmpl $0x2, %eax
jne 0xdd12
movq -0x10(%rbp), %rdi
subq -0x18(%rbp), %rdi
addq $0x4, %rdi
movq -0x18(%rbp), %rsi
callq 0x3100
movq %rax, -0x58(%rbp)
movl $0xe, %edi
subq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq -0x18(%rbp), %rsi
addq $0x1, %rsi
callq 0x3100
movq -0x88(%rbp), %rdi
movq %rax, -0x50(%rbp)
movl $0x2, -0x5c(%rbp)
leaq -0x58(%rbp), %rsi
leaq -0x5c(%rbp), %rdx
callq 0xdd90
jmp 0xdd74
movzbl -0x1(%rbp), %eax
cmpl $0x3, %eax
jne 0xdd66
movq -0x10(%rbp), %rdi
addq -0x18(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x3100
movq %rax, -0x70(%rbp)
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq -0x18(%rbp), %rsi
addq $0x1, %rsi
callq 0x3100
movq -0x88(%rbp), %rdi
movq %rax, -0x68(%rbp)
movl $0x2, -0x74(%rbp)
leaq -0x70(%rbp), %rsi
leaq -0x74(%rbp), %rdx
callq 0xdd90
jmp 0xdd72
movq -0x88(%rbp), %rdi
callq 0xddd0
jmp 0xdd74
jmp 0xdd76
movq -0x80(%rbp), %rax
addq $0x90, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: YSRKEN[P]Shioi/I401/main.cpp
// Function: Board::CountStone()
size_t CountStone() {
		size_t sum = 0;
		for (size_t p : rep(kBoardSize * kBoardSize)) {
			if (board_[p] != Stone::None) ++sum;
		}
		return sum;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq $0x0, -0x10(%rbp)
movl $0xe1, %edi
callq 0x54a0
movq %rax, -0x28(%rbp)
movq %rdx, -0x20(%rbp)
leaq -0x28(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x54e0
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rdi
callq 0x5510
movq %rax, -0x38(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x5550
testb $0x1, %al
jne 0xde73
jmp 0xdeb1
leaq -0x30(%rbp), %rdi
callq 0x5580
movq -0x48(%rbp), %rdi
movq (%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rsi
callq 0x5590
movzbl (%rax), %eax
cmpl $0x0, %eax
je 0xdea4
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0xdea6
leaq -0x30(%rbp), %rdi
callq 0x55c0
jmp 0xde60
movq -0x10(%rbp), %rax
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: YSRKEN[P]Shioi/I401/main.cpp
// Function: Board::MatchPatternB(std::array<std::array<PackedStone, 5ul>, 2ul> const&, unsigned long, Direction, std::array<PackedStone, 2ul> const&) const
bool MatchPatternB(const Pattern &pattern, const size_t position, const Direction dir, const array<PackedStone, 2>& s1) const noexcept {
		//auto hoge1 = (s1[Side::Left] | Stone::None);
		//auto hoge2 = (s1[Side::Right] | Stone::None);
		return (
			kIterateTable[position][dir][Side::Left] >= s1[Side::Left].size() && pattern[Side::Left][s1[Side::Left].size()] == (s1[Side::Left] | Stone::None)
			&& kIterateTable[position][dir][Side::Right] >= s1[Side::Right].size() && pattern[Side::Right][s1[Side::Right].size()] == (s1[Side::Right] | Stone::None)
		);
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movb %cl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movb %al, -0x19(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x80(%rbp)
addq $0xe8, %rdi
movq -0x18(%rbp), %rsi
callq 0x12060
movq %rax, %rdi
movzbl -0x19(%rbp), %eax
movl %eax, %esi
callq 0x12090
movq %rax, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xdaf0
movq (%rax), %rax
movq %rax, -0x78(%rbp)
movq -0x28(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x120c0
movq %rax, %rdi
callq 0x11a40
movq -0x78(%rbp), %rcx
movq %rax, %rdx
xorl %eax, %eax
cmpq %rdx, %rcx
movb %al, -0x69(%rbp)
jb 0x11e65
movq -0x10(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x11900
movq %rax, -0x88(%rbp)
movq -0x28(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x120c0
movq %rax, %rdi
callq 0x11a40
movq -0x88(%rbp), %rdi
movq %rax, %rsi
callq 0x11930
movq %rax, %rsi
leaq -0x38(%rbp), %rdi
callq 0x117e0
movq -0x28(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x120c0
movq %rax, %rsi
leaq -0x48(%rbp), %rdi
xorl %edx, %edx
callq 0x3140
leaq -0x38(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x11890
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, -0x69(%rbp)
jne 0x11d90
jmp 0x11e65
movq -0x80(%rbp), %rdi
addq $0xe8, %rdi
movq -0x18(%rbp), %rsi
callq 0x12060
movq %rax, %rdi
movzbl -0x19(%rbp), %eax
movl %eax, %esi
callq 0x12090
movq %rax, %rdi
movl $0x1, %esi
callq 0xdaf0
movq (%rax), %rax
movq %rax, -0x90(%rbp)
movq -0x28(%rbp), %rdi
movl $0x1, %esi
callq 0x120c0
movq %rax, %rdi
callq 0x11a40
movq -0x90(%rbp), %rcx
movq %rax, %rdx
xorl %eax, %eax
cmpq %rdx, %rcx
movb %al, -0x69(%rbp)
jb 0x11e65
movq -0x10(%rbp), %rdi
movl $0x1, %esi
callq 0x11900
movq %rax, -0x98(%rbp)
movq -0x28(%rbp), %rdi
movl $0x1, %esi
callq 0x120c0
movq %rax, %rdi
callq 0x11a40
movq -0x98(%rbp), %rdi
movq %rax, %rsi
callq 0x11930
movq %rax, %rsi
leaq -0x58(%rbp), %rdi
callq 0x117e0
movq -0x28(%rbp), %rdi
movl $0x1, %esi
callq 0x120c0
movq %rax, %rsi
leaq -0x68(%rbp), %rdi
xorl %edx, %edx
callq 0x3140
leaq -0x58(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x11890
movb %al, -0x69(%rbp)
movb -0x69(%rbp), %al
andb $0x1, %al
addq $0xa0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: YSRKEN[P]Shioi/I401/main.cpp
// Function: Board::GetPatternW(unsigned long, Direction)
Pattern GetPatternW(const size_t position, const Direction dir) {
		const auto& pattern_length = kIterateTable[position][dir];
		Pattern pattern;
		for (auto s : { Side::Left, Side::Right }) {
			for (size_t i : rep(4)) {
				const int sign = (s == Side::Right) ? 1 : -1;
				pattern[s][i] = (pattern_length[s] <= i) 
					? ((i) ? pattern[s][i - 1U] | Stone::None : Stone::None)/* | Stone::None */
					: this->board_ | PackPattern(position, dir, sign, sign * (i + 1));
			}
		}
		return pattern;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0xb8(%rbp)
movb %cl, %al
movq %rdi, %rcx
movq %rcx, -0xc8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movb %al, -0x19(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
addq $0xe8, %rdi
movq -0x18(%rbp), %rsi
callq 0x56e0
movq %rax, %rdi
movzbl -0x19(%rbp), %eax
movl %eax, %esi
callq 0x5710
movq -0xb8(%rbp), %rdi
movq %rax, -0x28(%rbp)
callq 0x11410
movb $0x0, -0x42(%rbp)
movb $0x1, -0x41(%rbp)
leaq -0x42(%rbp), %rax
movq %rax, -0x40(%rbp)
movq $0x2, -0x38(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x11460
movq %rax, -0x50(%rbp)
movq -0x30(%rbp), %rdi
callq 0x11480
movq %rax, -0x58(%rbp)
movq -0x50(%rbp), %rax
cmpq -0x58(%rbp), %rax
je 0x15be3
movq -0x50(%rbp), %rax
movb (%rax), %al
movb %al, -0x59(%rbp)
movl $0x4, %edi
callq 0x114c0
movq %rax, -0x70(%rbp)
leaq -0x70(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
callq 0x114f0
movl %eax, -0x74(%rbp)
movq -0x68(%rbp), %rdi
callq 0x11520
movl %eax, -0x78(%rbp)
leaq -0x74(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x11550
testb $0x1, %al
jne 0x15abb
jmp 0x15bd0
leaq -0x74(%rbp), %rdi
callq 0x11570
movslq (%rax), %rax
movq %rax, -0x80(%rbp)
movzbl -0x59(%rbp), %edx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl $0x1, %ecx
cmpl $0x1, %edx
cmovel %ecx, %eax
movl %eax, -0x84(%rbp)
movq -0x28(%rbp), %rdi
movzbl -0x59(%rbp), %eax
movl %eax, %esi
callq 0xdaf0
movq (%rax), %rax
cmpq -0x80(%rbp), %rax
ja 0x15b49
cmpq $0x0, -0x80(%rbp)
je 0x15b39
movq -0xb8(%rbp), %rdi
movzbl -0x59(%rbp), %eax
movl %eax, %esi
callq 0x11580
movq %rax, %rdi
movq -0x80(%rbp), %rsi
subq $0x1, %rsi
callq 0x115b0
movq %rax, %rsi
leaq -0x98(%rbp), %rdi
xorl %edx, %edx
callq 0x3140
jmp 0x15b47
leaq -0x98(%rbp), %rdi
xorl %esi, %esi
callq 0x115e0
jmp 0x15b95
movq -0x18(%rbp), %rsi
movb -0x19(%rbp), %al
movl -0x84(%rbp), %ecx
movslq -0x84(%rbp), %rdx
movq -0x80(%rbp), %rdi
addq $0x1, %rdi
imulq %rdi, %rdx
movl %edx, %r8d
leaq -0xb0(%rbp), %rdi
movzbl %al, %edx
callq 0x11670
movq -0xc0(%rbp), %rsi
leaq -0x98(%rbp), %rdi
leaq -0xb0(%rbp), %rdx
callq 0x2880
movq -0xb8(%rbp), %rdi
movzbl -0x59(%rbp), %eax
movl %eax, %esi
callq 0x11580
movq %rax, %rdi
movq -0x80(%rbp), %rsi
callq 0x115b0
movq %rax, %rdi
leaq -0x98(%rbp), %rsi
callq 0x3200
leaq -0x74(%rbp), %rdi
callq 0x116b0
jmp 0x15aa5
jmp 0x15bd2
movq -0x50(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x50(%rbp)
jmp 0x15a60
movq -0xc8(%rbp), %rax
addq $0xd0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: ArashPartow[P]exprtk-extras/exprtk_truthtable_gen.cpp
// Function: main
int main(int argc, char* argv[])
{
   if (2 != argc)
   {
      printf("usage: exprtk_truthtable_gen <expression>\n");
      return 1;
   }

   truth_table_generator<double>(argv[1]);

   return 0;
}

// Assembly:
subq $0x58, %rsp
movl $0x0, 0x54(%rsp)
movl %edi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movl $0x2, %eax
cmpl 0x50(%rsp), %eax
je 0x11858b
leaq 0x335fc4(%rip), %rdi    # 0x44e53b
movb $0x0, %al
callq 0x111080
movl $0x1, 0x54(%rsp)
jmp 0x11861a
movq 0x48(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, (%rsp)
leaq 0x27(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x111670
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0x28(%rsp), %rdi
callq 0x118830
jmp 0x1185bc
leaq 0x28(%rsp), %rdi
callq 0x1188f0
jmp 0x1185c8
leaq 0x28(%rsp), %rdi
callq 0x1117a8
leaq 0x27(%rsp), %rdi
callq 0x111790
movl $0x0, 0x54(%rsp)
jmp 0x11861a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x18(%rsp)
movl %eax, 0x14(%rsp)
jmp 0x11860e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x18(%rsp)
movl %eax, 0x14(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x1117a8
leaq 0x27(%rsp), %rdi
callq 0x111790
jmp 0x118623
movl 0x54(%rsp), %eax
addq $0x58, %rsp
retq
movq 0x18(%rsp), %rdi
callq 0x111470
nopl (%rax)
// File: ArashPartow[P]exprtk-extras/./exprtk.hpp
// Function: exprtk::parser<double>::settings_store::disable_all_base_functions()
settings_store& disable_all_base_functions()
         {
            std::copy(details::base_function_list,
                      details::base_function_list + details::base_function_list_size,
                      std::insert_iterator<disabled_entity_set_t>
                         (disabled_func_set_, disabled_func_set_.begin()));
            return (*this);
         }

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq 0x40(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movq %rdi, %rax
addq $0x10, %rax
movq %rax, 0x8(%rsp)
addq $0x10, %rdi
callq 0x1252b0
movq 0x8(%rsp), %rsi
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rdx
leaq 0x30(%rsp), %rdi
callq 0x1252e0
movq 0x30(%rsp), %rdx
movq 0x38(%rsp), %rcx
leaq 0x5088be(%rip), %rdi    # 0x622360
movq %rdi, %rsi
addq $0x740, %rsi            # imm = 0x740
callq 0x125240
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x18(%rsp)
movq %rdx, 0x20(%rsp)
addq $0x48, %rsp
retq
nopl (%rax,%rax)
// File: ArashPartow[P]exprtk-extras/./exprtk.hpp
// Function: exprtk::parser<double>::settings_store::disable_all_control_structures()
settings_store& disable_all_control_structures()
         {
            std::copy(details::cntrl_struct_list,
                      details::cntrl_struct_list + details::cntrl_struct_list_size,
                      std::insert_iterator<disabled_entity_set_t>
                         (disabled_ctrl_set_, disabled_ctrl_set_.begin()));
            return (*this);
         }

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq 0x40(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movq %rdi, %rax
addq $0x40, %rax
movq %rax, 0x8(%rsp)
addq $0x40, %rdi
callq 0x1252b0
movq 0x8(%rsp), %rsi
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rdx
leaq 0x30(%rsp), %rdi
callq 0x1252e0
movq 0x30(%rsp), %rdx
movq 0x38(%rsp), %rcx
leaq 0x50909e(%rip), %rdi    # 0x622bc0
movq %rdi, %rsi
addq $0xc0, %rsi
callq 0x125240
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x18(%rsp)
movq %rdx, 0x20(%rsp)
addq $0x48, %rsp
retq
nopl (%rax,%rax)
// File: vividvilla[P]hackerrank/src/runningtime.cpp
// Function: getShifts(std::vector<int, std::allocator<int>>)
int getShifts(vector<int> ar) {
    int M = ar.size();
    int s = 0;

    for (int N = 2; N <= M; N++) {
        int el = ar[N - 1];
        for (int i = N - 1; i >= 0; i--) {
            if (i > 0 && ar[i - 1] > el) {
                ar[i] = ar[i - 1];
                s++;
            } else
                ar[i] = el;

            if (ar[i] <= el)
                break;
        }
    }

    return s;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x10(%rsp)
movq %rdi, 0x30(%rsp)
callq 0x1490
movl %eax, 0x2c(%rsp)
movl $0x0, 0x28(%rsp)
movl $0x2, 0x24(%rsp)
movl 0x24(%rsp), %eax
cmpl 0x2c(%rsp), %eax
jg 0x136e
movq 0x10(%rsp), %rdi
movl 0x24(%rsp), %eax
subl $0x1, %eax
movslq %eax, %rsi
callq 0x14b0
movl (%rax), %eax
movl %eax, 0x20(%rsp)
movl 0x24(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x1c(%rsp)
cmpl $0x0, 0x1c(%rsp)
jl 0x135c
cmpl $0x0, 0x1c(%rsp)
jle 0x1314
movq 0x10(%rsp), %rdi
movl 0x1c(%rsp), %eax
subl $0x1, %eax
movslq %eax, %rsi
callq 0x14b0
movl (%rax), %eax
cmpl 0x20(%rsp), %eax
jle 0x1314
movq 0x10(%rsp), %rdi
movl 0x1c(%rsp), %eax
subl $0x1, %eax
movslq %eax, %rsi
callq 0x14b0
movq 0x10(%rsp), %rdi
movl (%rax), %eax
movl %eax, 0xc(%rsp)
movslq 0x1c(%rsp), %rsi
callq 0x14b0
movl 0xc(%rsp), %ecx
movl %ecx, (%rax)
movl 0x28(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x28(%rsp)
jmp 0x1331
movq 0x10(%rsp), %rdi
movl 0x20(%rsp), %eax
movl %eax, 0x8(%rsp)
movslq 0x1c(%rsp), %rsi
callq 0x14b0
movl 0x8(%rsp), %ecx
movl %ecx, (%rax)
movq 0x10(%rsp), %rdi
movslq 0x1c(%rsp), %rsi
callq 0x14b0
movl (%rax), %eax
cmpl 0x20(%rsp), %eax
jg 0x134a
jmp 0x135c
jmp 0x134c
movl 0x1c(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x1c(%rsp)
jmp 0x12aa
jmp 0x135e
movl 0x24(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x24(%rsp)
jmp 0x1277
movl 0x28(%rsp), %eax
addq $0x38, %rsp
retq
nopw (%rax,%rax)
// File: vividvilla[P]hackerrank/src/runningtime.cpp
// Function: main
int main() {
    int s, x;
    cin >> s;

    vector<int> ar;
    for (int i = 0; i < s; i++) {
        cin >> x;
        ar.push_back(x);
    }

    cout << getShifts(ar) << endl;
}

// Assembly:
subq $0x68, %rsp
movl $0x0, 0x64(%rsp)
movq 0x3c4d(%rip), %rdi      # 0x4fe0
leaq 0x60(%rsp), %rsi
callq 0x1070
leaq 0x40(%rsp), %rdi
callq 0x14d0
movl $0x0, 0x3c(%rsp)
movl 0x3c(%rsp), %eax
cmpl 0x60(%rsp), %eax
jge 0x13fc
movq 0x3c20(%rip), %rdi      # 0x4fe0
leaq 0x5c(%rsp), %rsi
callq 0x1070
jmp 0x13cc
leaq 0x40(%rsp), %rdi
leaq 0x5c(%rsp), %rsi
callq 0x14e0
jmp 0x13dd
jmp 0x13df
movl 0x3c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3c(%rsp)
jmp 0x13af
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x30(%rsp)
movl %eax, 0x2c(%rsp)
jmp 0x1474
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x1550
jmp 0x140d
leaq 0x10(%rsp), %rdi
callq 0x1250
movl %eax, %esi
movq 0x3bb0(%rip), %rdi      # 0x4fd0
callq 0x10f0
movq %rax, 0x8(%rsp)
jmp 0x142c
movq 0x8(%rsp), %rdi
movq 0x3b88(%rip), %rsi      # 0x4fc0
callq 0x10c0
jmp 0x143f
leaq 0x10(%rsp), %rdi
callq 0x1650
leaq 0x40(%rsp), %rdi
callq 0x1650
movl 0x64(%rsp), %eax
addq $0x68, %rsp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x30(%rsp)
movl %eax, 0x2c(%rsp)
leaq 0x10(%rsp), %rdi
callq 0x1650
leaq 0x40(%rsp), %rdi
callq 0x1650
movq 0x30(%rsp), %rdi
callq 0x1100
nopl (%rax,%rax)
// File: bstrysko[P]IntelHexParser/src/IntelHexFile.cpp
// Function: operator<<(std::ostream&, IntelHexFile const&)
ostream& operator<<(ostream& os, const IntelHexFile& rhs)
{
	size_t lAddress = (rhs.addressToFileEntries.begin())->first;	
	size_t hAddress = ((rhs.addressToFileEntries.rbegin())->second).getEndAddress();
	size_t size = rhs.addressToFileEntries.size();

	os << "[Address Range: 0x" << hex << (size_t)lAddress << "-0x" << hex << (size_t)hAddress << ", Number of HexFileEntries: " << dec << size << "]";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0xb890
movq %rax, -0x20(%rbp)
leaq -0x20(%rbp), %rdi
callq 0xb8f0
movzwl (%rax), %eax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0xb760
leaq -0x30(%rbp), %rdi
callq 0xb390
movq %rax, %rdi
addq $0x8, %rdi
callq 0xc420
movzwl %ax, %eax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rdi
callq 0xbff0
movq %rax, -0x38(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x6340(%rip), %rsi      # 0x1302e
callq 0xba50
movq %rax, %rdi
movq 0xb2f3(%rip), %rsi      # 0x17ff0
callq 0xb2e0
movq %rax, %rdi
movq -0x18(%rbp), %rsi
callq 0xb1d0
movq %rax, %rdi
leaq 0x6329(%rip), %rsi      # 0x13041
callq 0xba50
movq %rax, %rdi
movq 0xb2c9(%rip), %rsi      # 0x17ff0
callq 0xb2e0
movq %rax, %rdi
movq -0x28(%rbp), %rsi
callq 0xb1d0
movq %rax, %rdi
leaq 0x6303(%rip), %rsi      # 0x13045
callq 0xba50
movq %rax, %rdi
movq 0xb277(%rip), %rsi      # 0x17fc8
callq 0xb2e0
movq %rax, %rdi
movq -0x38(%rbp), %rsi
callq 0xb1d0
movq %rax, %rdi
leaq 0x62f6(%rip), %rsi      # 0x13062
callq 0xba50
ud2
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: bstrysko[P]IntelHexParser/src/IntelHexFileEntry.cpp
// Function: IntelHexFileEntry::asciiHexTo64(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
uint64_t IntelHexFileEntry::asciiHexTo64(string s)
{
	stringstream o;
	o << hex << s;
	uint64_t v;
	o >> v;
	return v;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp            # imm = 0x1D0
movq %rsi, -0x1c0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x198(%rbp), %rdi
callq 0xb740
leaq -0x188(%rbp), %rdi
movq 0x84ac(%rip), %rsi      # 0x17ff0
callq 0xb2e0
movq %rax, -0x1b8(%rbp)
jmp 0xfb52
movq -0x1c0(%rbp), %rsi
movq -0x1b8(%rbp), %rdi
callq 0xb940
jmp 0xfb67
leaq -0x198(%rbp), %rdi
leaq -0x1b0(%rbp), %rsi
callq 0xbf00
jmp 0xfb7c
movq -0x1b0(%rbp), %rax
movq %rax, -0x1c8(%rbp)
leaq -0x198(%rbp), %rdi
callq 0xb800
movq -0x1c8(%rbp), %rax
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a0(%rbp)
movl %eax, -0x1a4(%rbp)
leaq -0x198(%rbp), %rdi
callq 0xb800
movq -0x1a0(%rbp), %rdi
callq 0xc2b0
// File: bstrysko[P]IntelHexParser/src/Program.cpp
// Function: Program::Program(std::map<unsigned short, IntelHexFileEntry, std::less<unsigned short>, std::allocator<std::pair<unsigned short const, IntelHexFileEntry>>> const&)
Program::Program(const map<uint16_t, IntelHexFileEntry>& addressToFileEntries)
{
	size_t hAddress = ((addressToFileEntries.rbegin())->second).getEndAddress();
	data.resize(hAddress);

	for(map<uint16_t, IntelHexFileEntry>::const_iterator it = addressToFileEntries.begin(); it != addressToFileEntries.end(); ++it)
	{
		size_t address = (size_t)it->first;
		IntelHexFileEntry entry = it->second;
		vector<uint8_t> entryData = entry.getData();

		for(size_t i = 0; i < entryData.size(); i++)
		{
			uint8_t v = entryData[i];
			data[address + i] = v;
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
movq %rdi, %rax
movq %rax, -0xb0(%rbp)
callq 0xb340
movq -0x10(%rbp), %rsi
leaq -0x20(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0xb760
movq -0xa8(%rbp), %rdi
callq 0xb390
movq %rax, -0xa0(%rbp)
jmp 0x104f6
movq -0xa0(%rbp), %rdi
addq $0x8, %rdi
callq 0xc420
movw %ax, -0xba(%rbp)
jmp 0x1050f
movq -0xb0(%rbp), %rdi
movw -0xba(%rbp), %ax
movzwl %ax, %eax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rsi
callq 0xbb60
jmp 0x1052f
movq -0x10(%rbp), %rdi
callq 0xb890
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
callq 0xb260
movq %rax, -0x40(%rbp)
leaq -0x38(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0xb830
testb $0x1, %al
jne 0x1055f
jmp 0x10683
leaq -0x38(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
callq 0xb8f0
movq -0xc8(%rbp), %rdi
movzwl (%rax), %eax
movq %rax, -0x48(%rbp)
callq 0xb8f0
movq %rax, %rsi
addq $0x8, %rsi
leaq -0x70(%rbp), %rdi
callq 0xbd30
jmp 0x10594
leaq -0x88(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0xc280
jmp 0x105a6
movq $0x0, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq -0x88(%rbp), %rdi
callq 0xc0e0
movq %rax, %rcx
movq -0xd0(%rbp), %rax
cmpq %rcx, %rax
jae 0x10660
movq -0x90(%rbp), %rsi
leaq -0x88(%rbp), %rdi
callq 0xb050
movq -0xb0(%rbp), %rdi
movb (%rax), %al
movb %al, -0x91(%rbp)
movb -0x91(%rbp), %al
movb %al, -0xd1(%rbp)
movq -0x48(%rbp), %rsi
addq -0x90(%rbp), %rsi
callq 0xb050
movb -0xd1(%rbp), %cl
movb %cl, (%rax)
movq -0x90(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x90(%rbp)
jmp 0x105b1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x1068c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0xb490
jmp 0x1068c
leaq -0x88(%rbp), %rdi
callq 0xb290
leaq -0x70(%rbp), %rdi
callq 0xb490
leaq -0x38(%rbp), %rdi
callq 0xb140
jmp 0x1053c
addq $0xe0, %rsp
popq %rbp
retq
movq -0xb8(%rbp), %rdi
callq 0xb290
movq -0x28(%rbp), %rdi
callq 0xc2b0
nopw %cs:(%rax,%rax)
// File: bstrysko[P]IntelHexParser/src/Program.cpp
// Function: Program::getPages(unsigned long)
vector<ProgramPage> Program::getPages(size_t pageSize)
{
	vector<ProgramPage> pages;

	for(size_t i = 0; i < data.size(); i+= pageSize)
	{
		size_t pageEndAddress = min(i + pageSize, data.size());

		vector<uint8_t> pageData(data.begin() +i, data.begin() + pageEndAddress);
		ProgramPage p(i, pageSize, pageData);
		pages.push_back(p);
	}

	return pages;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0xd0(%rbp)
movq %rdi, %rax
movq %rax, -0xc8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xc0(%rbp)
movb $0x0, -0x19(%rbp)
callq 0xb730
movq $0x0, -0x28(%rbp)
movq -0xc0(%rbp), %rdi
movq -0x28(%rbp), %rax
movq %rax, -0xd8(%rbp)
callq 0xc0e0
movq %rax, %rcx
movq -0xd8(%rbp), %rax
cmpq %rcx, %rax
jae 0x108b0
movq -0xc0(%rbp), %rdi
movq -0x28(%rbp), %rax
movq -0x18(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x38(%rbp)
callq 0xc0e0
movq %rax, -0x40(%rbp)
leaq -0x38(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0xb7f0
movq %rax, -0xe0(%rbp)
jmp 0x10773
movq -0xc0(%rbp), %rdi
movq -0xe0(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x30(%rbp)
callq 0xc270
movq %rax, -0x78(%rbp)
movq -0x28(%rbp), %rsi
leaq -0x78(%rbp), %rdi
callq 0xc200
movq -0xc0(%rbp), %rdi
movq %rax, -0x70(%rbp)
callq 0xc270
movq %rax, -0x88(%rbp)
movq -0x30(%rbp), %rsi
leaq -0x88(%rbp), %rdi
callq 0xc200
movq %rax, -0x80(%rbp)
leaq -0x89(%rbp), %rdi
movq %rdi, -0xe8(%rbp)
callq 0xba90
movq -0xe8(%rbp), %rcx
movq -0x70(%rbp), %rsi
movq -0x80(%rbp), %rdx
leaq -0x68(%rbp), %rdi
callq 0xc350
jmp 0x107f6
leaq -0x89(%rbp), %rdi
callq 0xb910
movq -0x28(%rbp), %rsi
movq -0x18(%rbp), %rdx
leaq -0xb8(%rbp), %rdi
leaq -0x68(%rbp), %rcx
callq 0xc4e0
jmp 0x1081c
movq -0xd0(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0xc430
jmp 0x10831
leaq -0xb8(%rbp), %rdi
callq 0xc210
leaq -0x68(%rbp), %rdi
callq 0xb290
movq -0x18(%rbp), %rax
addq -0x28(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x10714
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x108d6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x89(%rbp), %rdi
callq 0xb910
jmp 0x108d6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x108a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0xc210
leaq -0x68(%rbp), %rdi
callq 0xb290
jmp 0x108d6
movb $0x1, -0x19(%rbp)
testb $0x1, -0x19(%rbp)
jne 0x108c6
movq -0xd0(%rbp), %rdi
callq 0xbde0
movq -0xc8(%rbp), %rax
addq $0xf0, %rsp
popq %rbp
retq
movq -0xd0(%rbp), %rdi
callq 0xbde0
movq -0x48(%rbp), %rdi
callq 0xc2b0
nopl (%rax,%rax)
// File: bstrysko[P]IntelHexParser/src/Program.cpp
// Function: operator<<(std::ostream&, Program const&)
ostream& operator<<(ostream& os, const Program& rhs)
{
	os << "[Num Bytes: " << rhs.data.size() << ", Data: ";
	
	for(vector<uint8_t>::const_iterator it = rhs.data.begin(); it != rhs.data.end(); ++it)
	{
		uint8_t v = (*it);
		os << hex << (size_t)v;
	}

	os << dec << "]";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x2823(%rip), %rsi      # 0x1312e
callq 0xba50
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rdi
callq 0xc0e0
movq -0x30(%rbp), %rdi
movq %rax, %rsi
callq 0xb1d0
movq %rax, %rdi
leaq 0x2808(%rip), %rsi      # 0x1313b
callq 0xba50
movq -0x10(%rbp), %rdi
callq 0xbb30
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0xb550
movq %rax, -0x20(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0xb070
testb $0x1, %al
jne 0x10965
jmp 0x1099c
leaq -0x18(%rbp), %rdi
callq 0xbd20
movb (%rax), %al
movb %al, -0x21(%rbp)
movq -0x8(%rbp), %rdi
movq 0x7672(%rip), %rsi      # 0x17ff0
callq 0xb2e0
movq %rax, %rdi
movzbl -0x21(%rbp), %eax
movl %eax, %esi
callq 0xb1d0
leaq -0x18(%rbp), %rdi
callq 0xc360
jmp 0x10945
movq -0x8(%rbp), %rdi
movq 0x7621(%rip), %rsi      # 0x17fc8
callq 0xb2e0
movq %rax, %rdi
leaq 0x26ac(%rip), %rsi      # 0x13062
callq 0xba50
ud2
nopl (%rax)
// File: bstrysko[P]IntelHexParser/src/ProgramPage.cpp
// Function: ProgramPage::ProgramPage(unsigned long, unsigned long, std::vector<unsigned char, std::allocator<unsigned char>> const&)
ProgramPage::ProgramPage(size_t address, size_t pageSize, const vector<uint8_t>& pageData)
{
	this->address = address;
	this->pageSize = pageSize;
	data.resize(pageData.size());
	
	size_t startAddress = address % pageSize;

	for(size_t i = startAddress; i < (startAddress + pageData.size()); i++)
	{
		data[i] = pageData[i - startAddress];
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x50(%rbp)
addq $0x10, %rdi
movq %rdi, -0x48(%rbp)
callq 0xb340
movq -0x50(%rbp), %rax
movq -0x10(%rbp), %rcx
movq %rcx, (%rax)
movq -0x18(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x20(%rbp), %rdi
callq 0xc0e0
movq -0x48(%rbp), %rdi
movq %rax, %rsi
callq 0xbb60
jmp 0x121e7
movq -0x10(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %edx
divq -0x18(%rbp)
movq %rdx, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x20(%rbp), %rdi
callq 0xc0e0
movq -0x60(%rbp), %rcx
movq %rax, %rdx
movq -0x58(%rbp), %rax
addq %rdx, %rcx
cmpq %rcx, %rax
jae 0x1227c
movq -0x20(%rbp), %rdi
movq -0x40(%rbp), %rsi
subq -0x38(%rbp), %rsi
callq 0xb0f0
movq -0x50(%rbp), %rdi
movb (%rax), %al
movb %al, -0x61(%rbp)
addq $0x10, %rdi
movq -0x40(%rbp), %rsi
callq 0xb050
movb -0x61(%rbp), %cl
movb %cl, (%rax)
movq -0x40(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x40(%rbp)
jmp 0x121ff
movq -0x48(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0xb290
jmp 0x12282
addq $0x70, %rsp
popq %rbp
retq
movq -0x28(%rbp), %rdi
callq 0xc2b0
nopl (%rax,%rax)
// File: bstrysko[P]IntelHexParser/src/ProgramPage.cpp
// Function: operator<<(std::ostream&, ProgramPage const&)
ostream& operator<<(ostream& os, const ProgramPage& rhs)
{
	os << "[Start Address: 0x" << hex << rhs.address;
	os << ", End Address: 0x" << hex << (rhs.address+rhs.data.size());
	os << ", Size: " << rhs.data.size();
	os << ", Page Size: " << dec << rhs.pageSize;
	os << ", Data: ";

	for(vector<uint8_t>::const_iterator it = rhs.data.begin(); it != rhs.data.end(); ++it)
	{
		uint8_t v = *it;
		os << hex << (size_t)v;
	} 

	os << dec << "]";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
leaq 0xe04(%rip), %rsi       # 0x1318f
callq 0xba50
movq %rax, %rdi
movq 0x5c56(%rip), %rsi      # 0x17ff0
callq 0xb2e0
movq %rax, %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0xb1d0
movq -0x8(%rbp), %rdi
leaq 0xde9(%rip), %rsi       # 0x131a2
callq 0xba50
movq %rax, %rdi
movq 0x5c28(%rip), %rsi      # 0x17ff0
callq 0xb2e0
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rdi
addq $0x10, %rdi
callq 0xc0e0
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdi
addq %rax, %rsi
callq 0xb1d0
movq -0x8(%rbp), %rdi
leaq 0xdb0(%rip), %rsi       # 0x131b4
callq 0xba50
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rdi
addq $0x10, %rdi
callq 0xc0e0
movq -0x30(%rbp), %rdi
movq %rax, %rsi
callq 0xb1d0
movq -0x8(%rbp), %rdi
leaq 0xd8c(%rip), %rsi       # 0x131bd
callq 0xba50
movq %rax, %rdi
movq 0x5b88(%rip), %rsi      # 0x17fc8
callq 0xb2e0
movq %rax, %rdi
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rsi
callq 0xb1d0
movq -0x8(%rbp), %rdi
leaq 0xcdb(%rip), %rsi       # 0x1313b
callq 0xba50
movq -0x10(%rbp), %rdi
addq $0x10, %rdi
callq 0xbb30
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
addq $0x10, %rdi
callq 0xb550
movq %rax, -0x20(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0xb070
testb $0x1, %al
jne 0x1249a
jmp 0x124d1
leaq -0x18(%rbp), %rdi
callq 0xbd20
movb (%rax), %al
movb %al, -0x21(%rbp)
movq -0x8(%rbp), %rdi
movq 0x5b3d(%rip), %rsi      # 0x17ff0
callq 0xb2e0
movq %rax, %rdi
movzbl -0x21(%rbp), %eax
movl %eax, %esi
callq 0xb1d0
leaq -0x18(%rbp), %rdi
callq 0xc360
jmp 0x12476
movq -0x8(%rbp), %rdi
movq 0x5aec(%rip), %rsi      # 0x17fc8
callq 0xb2e0
movq %rax, %rdi
leaq 0xb77(%rip), %rsi       # 0x13062
callq 0xba50
ud2
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: kaityo256[P]minlex/minlex.cpp
// Function: mysort(unsigned __int128*)
void mysort(mbit v[9]) {
  int j;
  for (int i = 1; i < 9; i++) {
    mbit tmp = v[i];
    if (v[i - 1] < tmp) {
      j = i;
      do {
        v[j] = v[j - 1];
        j--;
      } while (j > 0 && v[j - 1] < tmp);
      v[j] = tmp;
    }
  }
}

// Assembly:
movq %rdi, -0x8(%rsp)
movl $0x1, -0x10(%rsp)
cmpl $0x9, -0x10(%rsp)
jge 0x24e4
movq -0x8(%rsp), %rcx
movslq -0x10(%rsp), %rdx
shlq $0x4, %rdx
movq (%rcx,%rdx), %rax
movq 0x8(%rcx,%rdx), %rcx
movq %rcx, -0x20(%rsp)
movq %rax, -0x28(%rsp)
movq -0x8(%rsp), %rax
movl -0x10(%rsp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
movq (%rax,%rcx), %rdx
movq 0x8(%rax,%rcx), %rax
movq -0x28(%rsp), %rsi
movq -0x20(%rsp), %rcx
subq %rsi, %rdx
sbbq %rcx, %rax
jae 0x24d2
jmp 0x242c
movl -0x10(%rsp), %eax
movl %eax, -0xc(%rsp)
movq -0x8(%rsp), %rax
movslq -0xc(%rsp), %rcx
movl %ecx, %edx
decl %edx
movslq %edx, %rsi
shlq $0x4, %rsi
movq (%rax,%rsi), %rdx
movq 0x8(%rax,%rsi), %rsi
shlq $0x4, %rcx
movq %rsi, 0x8(%rax,%rcx)
movq %rdx, (%rax,%rcx)
movl -0xc(%rsp), %eax
addl $-0x1, %eax
movl %eax, -0xc(%rsp)
xorl %eax, %eax
cmpl $0x0, -0xc(%rsp)
movb %al, -0x29(%rsp)
jle 0x24a9
movq -0x8(%rsp), %rax
movl -0xc(%rsp), %ecx
decl %ecx
movslq %ecx, %rcx
shlq $0x4, %rcx
movq (%rax,%rcx), %rdx
movq 0x8(%rax,%rcx), %rax
movq -0x28(%rsp), %rsi
movq -0x20(%rsp), %rcx
subq %rsi, %rdx
sbbq %rcx, %rax
setb %al
movb %al, -0x29(%rsp)
movb -0x29(%rsp), %al
testb $0x1, %al
jne 0x2434
movq -0x28(%rsp), %rdx
movq -0x20(%rsp), %rsi
movq -0x8(%rsp), %rax
movslq -0xc(%rsp), %rcx
shlq $0x4, %rcx
movq %rsi, 0x8(%rax,%rcx)
movq %rdx, (%rax,%rcx)
jmp 0x24d4
movl -0x10(%rsp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rsp)
jmp 0x23cd
retq
nopw %cs:(%rax,%rax)
// File: kaityo256[P]minlex/minlex.cpp
// Function: left_most_bit(unsigned __int128)
mbit left_most_bit(mbit v) {
  union ai {
    uint64_t a[2];
    mbit i;
  } ai;
  ai.i = v;
  if (ai.a[1]) {
    ai.a[0] = 0;
    ai.a[1] = 1ull << (63 - __builtin_clzl(ai.a[1]));
    return ai.i;
  }
  if (ai.a[0] == 0) return 0;
  return 1ull << (63 - __builtin_clzl(ai.a[0]));
}

// Assembly:
movq %rdi, -0x28(%rsp)
movq %rsi, -0x20(%rsp)
movq -0x28(%rsp), %rax
movq -0x20(%rsp), %rcx
movq %rcx, -0x30(%rsp)
movq %rax, -0x38(%rsp)
movq -0x38(%rsp), %rax
movq -0x30(%rsp), %rcx
movq %rcx, -0x40(%rsp)
movq %rax, -0x48(%rsp)
cmpq $0x0, -0x40(%rsp)
je 0x2563
movq $0x0, -0x48(%rsp)
lzcntq -0x40(%rsp), %rax
notb %al
movb %al, %cl
movl $0x1, %eax
shlxq %rcx, %rax, %rax
movq %rax, -0x40(%rsp)
movq -0x48(%rsp), %rax
movq -0x40(%rsp), %rcx
movq %rcx, -0x10(%rsp)
movq %rax, -0x18(%rsp)
jmp 0x25a2
cmpq $0x0, -0x48(%rsp)
jne 0x257f
movq $0x0, -0x10(%rsp)
movq $0x0, -0x18(%rsp)
jmp 0x25a2
lzcntq -0x48(%rsp), %rax
notb %al
movb %al, %cl
movl $0x1, %eax
shlxq %rcx, %rax, %rax
movq %rax, -0x18(%rsp)
movq $0x0, -0x10(%rsp)
movq -0x18(%rsp), %rax
movq -0x10(%rsp), %rdx
retq
nopl (%rax)
// File: kaityo256[P]minlex/minlex.cpp
// Function: show_bit(unsigned __int128)
void show_bit(mbit a) {
  for (int i = 0; i < 81; i++) {
    if (a & (mbit(1) << (80 - i))) {
      printf("1");
    } else {
      printf("0");
    }
  }
  printf("\n");
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rcx
movq %rcx, 0x18(%rsp)
movq %rax, 0x10(%rsp)
movl $0x0, 0xc(%rsp)
cmpl $0x51, 0xc(%rsp)
jge 0x264f
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
movb 0xc(%rsp), %dl
movb $0x50, %sil
subb %dl, %sil
movb %sil, %dil
movl $0x1, %edx
shlxq %rdi, %rdx, %rdi
xorl %edx, %edx
testb $0x40, %sil
movl %edx, %esi
movq %rdi, %rdx
cmovneq %rsi, %rdx
cmovneq %rdi, %rsi
andq %rsi, %rcx
andq %rdx, %rax
orq %rcx, %rax
je 0x2632
jmp 0x2622
leaq 0x69db(%rip), %rdi      # 0x9004
movb $0x0, %al
callq 0x2030
jmp 0x2640
leaq 0x6a1f(%rip), %rdi      # 0x9058
movb $0x0, %al
callq 0x2030
jmp 0x2642
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x25da
leaq 0x69b0(%rip), %rdi      # 0x9006
movb $0x0, %al
callq 0x2030
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: kaityo256[P]minlex/minlex.cpp
// Function: test()
void test(void) {
  std::string str = "207005000000340000150000009005000001040000320000016500000002084700000010010580000";
  std::string ans = "000000012000034005006007300001300007053080000080000100010005090200100000700400030";
  Sudoku g(str.c_str());
  MinlexSearcher s;
  g.show();
  std::string min = s.search(g);
  std::cout << min << std::endl;
  if (min == ans) {
    std::cout << "OK" << std::endl;
  } else {
    std::cout << "NG" << std::endl;
  }
}

// Assembly:
subq $0x388, %rsp            # imm = 0x388
leaq 0x367(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x2240
movq 0x28(%rsp), %rdx
leaq 0x68a3(%rip), %rsi      # 0x9008
leaq 0x368(%rsp), %rdi
callq 0x21c0
jmp 0x2774
leaq 0x367(%rsp), %rdi
callq 0x2190
leaq 0x32f(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x2240
movq 0x20(%rsp), %rdx
leaq 0x68bb(%rip), %rsi      # 0x905a
leaq 0x330(%rsp), %rdi
callq 0x21c0
jmp 0x27ae
leaq 0x32f(%rsp), %rdi
callq 0x2190
leaq 0x368(%rsp), %rdi
callq 0x2090
movq %rax, %rsi
leaq 0x230(%rsp), %rdi
callq 0x2b80
jmp 0x27da
leaq 0x50(%rsp), %rdi
callq 0x2c10
jmp 0x27e6
leaq 0x230(%rsp), %rdi
callq 0x2c40
jmp 0x27f5
leaq 0x30(%rsp), %rdi
leaq 0x50(%rsp), %rsi
leaq 0x230(%rsp), %rdx
callq 0x2cb0
jmp 0x280e
movq 0x97c3(%rip), %rdi      # 0xbfd8
leaq 0x30(%rsp), %rsi
callq 0x2130
movq %rax, 0x18(%rsp)
jmp 0x2826
movq 0x18(%rsp), %rdi
movq 0x9796(%rip), %rsi      # 0xbfc8
callq 0x2180
jmp 0x2839
leaq 0x30(%rsp), %rdi
leaq 0x330(%rsp), %rsi
callq 0x3030
testb $0x1, %al
jne 0x2854
jmp 0x2908
movq 0x977d(%rip), %rdi      # 0xbfd8
leaq 0x684a(%rip), %rsi      # 0x90ac
callq 0x2160
movq %rax, 0x10(%rsp)
jmp 0x286e
movq 0x10(%rsp), %rdi
movq 0x974e(%rip), %rsi      # 0xbfc8
callq 0x2180
jmp 0x2881
jmp 0x2937
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x358(%rsp)
movl %eax, 0x354(%rsp)
leaq 0x367(%rsp), %rdi
callq 0x2190
jmp 0x297d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x358(%rsp)
movl %eax, 0x354(%rsp)
leaq 0x32f(%rsp), %rdi
callq 0x2190
jmp 0x2970
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x358(%rsp)
movl %eax, 0x354(%rsp)
jmp 0x2963
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x358(%rsp)
movl %eax, 0x354(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x20c0
jmp 0x2963
movq 0x96c9(%rip), %rdi      # 0xbfd8
leaq 0x6799(%rip), %rsi      # 0x90af
callq 0x2160
movq %rax, 0x8(%rsp)
jmp 0x2922
movq 0x8(%rsp), %rdi
movq 0x969a(%rip), %rsi      # 0xbfc8
callq 0x2180
jmp 0x2935
jmp 0x2937
leaq 0x30(%rsp), %rdi
callq 0x20c0
leaq 0x330(%rsp), %rdi
callq 0x20c0
leaq 0x368(%rsp), %rdi
callq 0x20c0
addq $0x388, %rsp            # imm = 0x388
retq
leaq 0x330(%rsp), %rdi
callq 0x20c0
leaq 0x368(%rsp), %rdi
callq 0x20c0
movq 0x358(%rsp), %rdi
callq 0x2230
nopw (%rax,%rax)
// File: kaityo256[P]minlex/minlex.cpp
// Function: input(char const*)
void input(const char *filename) {
  std::string line;
  MinlexSearcher s;
  std::ifstream ifs(filename);
  while (getline(ifs, line)) {
    Sudoku g(line.c_str());
    std::cout << s.search(g) << std::endl;
  }
}

// Assembly:
subq $0x558, %rsp            # imm = 0x558
movq %rdi, 0x550(%rsp)
leaq 0x530(%rsp), %rdi
callq 0x21d0
leaq 0x350(%rsp), %rdi
callq 0x2c10
jmp 0x29bb
movq 0x550(%rsp), %rsi
leaq 0x138(%rsp), %rdi
movl $0x8, %edx
callq 0x2250
jmp 0x29d7
jmp 0x29d9
leaq 0x138(%rsp), %rdi
leaq 0x530(%rsp), %rsi
callq 0x2040
movq %rax, 0x18(%rsp)
jmp 0x29f5
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x21a0
movb %al, 0x17(%rsp)
jmp 0x2a0f
movb 0x17(%rsp), %al
testb $0x1, %al
jne 0x2a1c
jmp 0x2ad7
leaq 0x530(%rsp), %rdi
callq 0x2090
movq %rax, %rsi
leaq 0x40(%rsp), %rdi
callq 0x2b80
jmp 0x2a38
leaq 0x20(%rsp), %rdi
leaq 0x350(%rsp), %rsi
leaq 0x40(%rsp), %rdx
callq 0x2cb0
jmp 0x2a51
movq 0x9580(%rip), %rdi      # 0xbfd8
leaq 0x20(%rsp), %rsi
callq 0x2130
movq %rax, 0x8(%rsp)
jmp 0x2a69
movq 0x8(%rsp), %rdi
movq 0x9553(%rip), %rsi      # 0xbfc8
callq 0x2180
jmp 0x2a7c
leaq 0x20(%rsp), %rdi
callq 0x20c0
jmp 0x29d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x348(%rsp)
movl %eax, 0x344(%rsp)
jmp 0x2b06
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x348(%rsp)
movl %eax, 0x344(%rsp)
jmp 0x2af9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x348(%rsp)
movl %eax, 0x344(%rsp)
leaq 0x20(%rsp), %rdi
callq 0x20c0
jmp 0x2af9
leaq 0x138(%rsp), %rdi
callq 0x2050
leaq 0x530(%rsp), %rdi
callq 0x20c0
addq $0x558, %rsp            # imm = 0x558
retq
leaq 0x138(%rsp), %rdi
callq 0x2050
leaq 0x530(%rsp), %rdi
callq 0x20c0
movq 0x348(%rsp), %rdi
callq 0x2230
// File: kaityo256[P]minlex/minlex.cpp
// Function: main
int main(int argc, char **argv) {
  init_bits();
  if (argc > 1) {
    input(argv[1]);
  } else {
    std::cout << "Usage: ./minlex inputfile" << std::endl;
  }
}

// Assembly:
subq $0x18, %rsp
movl $0x0, 0x14(%rsp)
movl %edi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
callq 0x2670
cmpl $0x1, 0x10(%rsp)
jle 0x2b51
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x2990
jmp 0x2b73
movq 0x9480(%rip), %rdi      # 0xbfd8
leaq 0x6553(%rip), %rsi      # 0x90b2
callq 0x2160
movq %rax, %rdi
movq 0x945a(%rip), %rsi      # 0xbfc8
callq 0x2180
movl 0x14(%rsp), %eax
addq $0x18, %rsp
retq
nopl (%rax)
// File: kaityo256[P]minlex/minlex.cpp
// Function: Sudoku::Sudoku(char const*)
Sudoku(const char *str) {
    for (int i = 0; i < 81; i++) {
      data[i] = str[i] - '0';
      if (str[i] == '.') {
        data[i] = 0;
      }
    }
    array2bit();
  }

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movl $0x0, 0x14(%rsp)
cmpl $0x51, 0x14(%rsp)
jge 0x2bf7
movq 0x8(%rsp), %rax
movq 0x18(%rsp), %rcx
movslq 0x14(%rsp), %rdx
movsbl (%rcx,%rdx), %ecx
subl $0x30, %ecx
movb %cl, %dl
movslq 0x14(%rsp), %rcx
movb %dl, (%rax,%rcx)
movq 0x18(%rsp), %rax
movslq 0x14(%rsp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x2e, %eax
jne 0x2be8
movq 0x8(%rsp), %rax
movslq 0x14(%rsp), %rcx
movb $0x0, (%rax,%rcx)
jmp 0x2bea
movl 0x14(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x14(%rsp)
jmp 0x2ba0
movq 0x8(%rsp), %rdi
callq 0x30d0
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
// File: kaityo256[P]minlex/minlex.cpp
// Function: Sudoku::show()
void show(void) {
    bit2array();
    for (int i = 0; i < 81; i++) {
      printf("%c", data[i] + '0');
    }
    printf("\n");
  }

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x31f0
movl $0x0, 0xc(%rsp)
cmpl $0x51, 0xc(%rsp)
jge 0x2c91
movq (%rsp), %rax
movslq 0xc(%rsp), %rcx
movzbl (%rax,%rcx), %esi
addl $0x30, %esi
leaq 0x644f(%rip), %rdi      # 0x90cc
movb $0x0, %al
callq 0x2030
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x2c5f
leaq 0x636e(%rip), %rdi      # 0x9006
movb $0x0, %al
callq 0x2030
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
nop
// File: kaityo256[P]minlex/minlex.cpp
// Function: Sudoku::array2bit()
void array2bit(void) {
    for (int i = 0; i < 9; i++) {
      bdata[i] = 0;
    }
    for (int i = 0; i < 81; i++) {
      if (data[i] != 0) {
        bdata[data[i] - 1] |= mbit(1) << (80 - i);
      }
    }
  }

// Assembly:
movq %rdi, -0x8(%rsp)
movq -0x8(%rsp), %rax
movq %rax, -0x18(%rsp)
movl $0x0, -0xc(%rsp)
cmpl $0x9, -0xc(%rsp)
jge 0x311b
movq -0x18(%rsp), %rax
movslq -0xc(%rsp), %rcx
shlq $0x4, %rcx
movq $0x0, 0x68(%rax,%rcx)
movq $0x0, 0x60(%rax,%rcx)
movl -0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rsp)
jmp 0x30e7
movl $0x0, -0x10(%rsp)
cmpl $0x51, -0x10(%rsp)
jge 0x319d
movq -0x18(%rsp), %rax
movslq -0x10(%rsp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $0x0, %eax
je 0x318e
movq -0x18(%rsp), %rcx
movslq -0x10(%rsp), %rax
movb %al, %dl
movb $0x50, %sil
subb %dl, %sil
movb %sil, %dil
movl $0x1, %edx
shlxq %rdi, %rdx, %r8
xorl %edx, %edx
testb $0x40, %sil
movq %rdx, %rdi
cmovneq %r8, %rdi
cmovneq %rdx, %r8
movzbl (%rcx,%rax), %eax
shll $0x4, %eax
movq 0x50(%rax,%rcx), %rdx
movq 0x58(%rax,%rcx), %rsi
orq %r8, %rdx
orq %rdi, %rsi
movq %rsi, 0x58(%rax,%rcx)
movq %rdx, 0x50(%rax,%rcx)
jmp 0x3190
movl -0x10(%rsp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rsp)
jmp 0x3123
retq
nop
// File: kaityo256[P]minlex/minlex.cpp
// Function: Sudoku::bit2array()
void bit2array(void) {
    std::fill(&data[0], &data[81], 0);
    for (int i = 0; i < 81; i++) {
      for (int j = 0; j < 9; j++) {
        if (bdata[j] & (mbit(1) << i)) {
          data[80 - i] = j + 1;
          continue;
        }
      }
    }
  }

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq %rdi, %rsi
addq $0x51, %rsi
movl $0x0, 0x1c(%rsp)
leaq 0x1c(%rsp), %rdx
callq 0x32d0
movl $0x0, 0x18(%rsp)
cmpl $0x51, 0x18(%rsp)
jge 0x32c8
movl $0x0, 0x14(%rsp)
cmpl $0x9, 0x14(%rsp)
jge 0x32b6
movq 0x8(%rsp), %rcx
movslq 0x14(%rsp), %rdx
shlq $0x4, %rdx
movq 0x60(%rcx,%rdx), %rax
movq 0x68(%rcx,%rdx), %rcx
movb 0x18(%rsp), %sil
movb %sil, %dil
movl $0x1, %edx
shlxq %rdi, %rdx, %rdi
xorl %edx, %edx
testb $0x40, %sil
movl %edx, %esi
movq %rdi, %rdx
cmovneq %rsi, %rdx
cmovneq %rdi, %rsi
andq %rsi, %rcx
andq %rdx, %rax
orq %rcx, %rax
je 0x32a7
jmp 0x3288
movq 0x8(%rsp), %rax
movl 0x14(%rsp), %ecx
addl $0x1, %ecx
movb %cl, %dl
movl $0x50, %ecx
subl 0x18(%rsp), %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
jmp 0x32a9
jmp 0x32a9
movl 0x14(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x14(%rsp)
jmp 0x3237
jmp 0x32b8
movl 0x18(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x18(%rsp)
jmp 0x3224
addq $0x28, %rsp
retq
nopl (%rax)
// File: kaityo256[P]minlex/minlex.cpp
// Function: Sudoku::transpose()
Sudoku transpose(void) {
    bit2array();
    unsigned char data2[81];
    for (int i = 0; i < 9; i++) {
      for (int j = 0; j < 9; j++) {
        data2[j + i * 9] = data[i + j * 9];
      }
    }
    return Sudoku(data2);
  }

// Assembly:
subq $0x88, %rsp
movq %rdi, (%rsp)
movq %rdi, %rax
movq %rax, 0x8(%rsp)
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq 0x78(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x31f0
movl $0x0, 0x1c(%rsp)
cmpl $0x9, 0x1c(%rsp)
jge 0x3a50
movl $0x0, 0x18(%rsp)
cmpl $0x9, 0x18(%rsp)
jge 0x3a41
movq 0x10(%rsp), %rax
movl 0x1c(%rsp), %ecx
imull $0x9, 0x18(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %cl
movl 0x18(%rsp), %eax
imull $0x9, 0x1c(%rsp), %edx
addl %edx, %eax
cltq
movb %cl, 0x20(%rsp,%rax)
movl 0x18(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x18(%rsp)
jmp 0x3a06
jmp 0x3a43
movl 0x1c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1c(%rsp)
jmp 0x39f7
movq (%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0x6c30
movq 0x8(%rsp), %rax
addq $0x88, %rsp
retq
nopl (%rax,%rax)