LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/canzarlab[P]Trajan/src/match.cpp
// Function: valid(std::pair<int, int>, std::pair<int, int>, array2d&, array2d&)
bool valid(pair<int, int> a, pair<int, int> b, array2d& D1, array2d& D2)
{
    int i = get<0>(a), j = get<0>(b);
    int x = get<1>(a), y = get<1>(b);
    bool c2 = (D1(j, i) || D1(i, j)) == (D2(x, y) || D2(y, x));
    bool c1 = (D1(i, j) == D2(x, y)); // assuming c2 is satisfied
    bool c0 = (i != j && x != y);
    return c0 && c1 && c2;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rax
shrq $0x20, %rax
movq %rsi, %r8
shrq $0x20, %r8
movl 0x4(%rdx), %r9d
movl %r9d, %r10d
imull %esi, %r10d
addl %edi, %r10d
movslq %r10d, %r11
movq 0x8(%rdx), %rdx
movl $0x1, %r10d
cmpl $0x0, (%rdx,%r11,4)
movl $0x1, %r11d
jne 0x4cf8
movl %r9d, %r11d
imull %edi, %r11d
addl %esi, %r11d
movslq %r11d, %rbx
xorl %r11d, %r11d
cmpl $0x0, (%rdx,%rbx,4)
setne %r11b
movl 0x4(%rcx), %ebx
movl %ebx, %ebp
imull %eax, %ebp
addl %r8d, %ebp
movslq %ebp, %r15
movq 0x8(%rcx), %r14
movl (%r14,%r15,4), %ecx
testl %ecx, %ecx
jne 0x4d27
imull %r8d, %ebx
addl %eax, %ebx
movslq %ebx, %rbx
xorl %r10d, %r10d
cmpl $0x0, (%r14,%rbx,4)
setne %r10b
cmpl %r10d, %r11d
sete %r10b
imull %edi, %r9d
addl %esi, %r9d
movslq %r9d, %r9
cmpl %esi, %edi
setne %sil
cmpl %r8d, %eax
setne %al
andb %sil, %al
cmpl %ecx, (%rdx,%r9,4)
sete %cl
andb %r10b, %al
andb %cl, %al
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/canzarlab[P]Trajan/src/match.cpp
// Function: array2d::transpose() const
array2d transpose() const
    {
        array2d D(m, n);
        for (int i = 0; i < n; ++i)
            for (int j = 0; j < m; ++j)
                D(j, i) = (*this)(i, j);
        return D;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %edx
movl 0x4(%rsi), %esi
movl $0x80000000, %ecx       # imm = 0x80000000
callq 0x5864
cmpl $0x0, (%r14)
jle 0x5859
movq 0x8(%r14), %rax
movq 0x8(%rbx), %rcx
xorl %edx, %edx
movl 0x4(%r14), %edi
testl %edi, %edi
jle 0x5852
xorl %esi, %esi
imull %edx, %edi
movslq %edi, %rdi
addq %rsi, %rdi
movl (%rax,%rdi,4), %edi
movl 0x4(%rbx), %r8d
imull %esi, %r8d
addl %edx, %r8d
movslq %r8d, %r8
movl %edi, (%rcx,%r8,4)
movl 0x4(%r14), %edi
incq %rsi
cmpl %edi, %esi
jl 0x5829
incl %edx
cmpl (%r14), %edx
jl 0x581f
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/canzarlab[P]Trajan/src/read_csv.cpp
// Function: CSVReader::getStringData[abi:cxx11](int, int)
std::vector<std::vector<std::string> > CSVReader::getStringData(int from_row, int to_row)
{
	std::ifstream file(fileName);

	std::vector<std::vector<std::string> > dataList;

	std::string line = "";
	// Iterate through each line and split the content using delimeter
    int count = 0;
	while (getline(file, line))
	{
        if (count >= to_row) {
            break;
        }
		std::vector<std::string> vec;
        if (count >= from_row){
            boost::algorithm::split(vec, line, boost::is_any_of(delimeter));
            dataList.push_back(vec);
        }
        count ++;
	}
	// Close the File
	file.close();

	return dataList;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x278, %rsp            # imm = 0x278
movl %ecx, %ebp
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x70(%rsp), %r12
movq %r12, %rdi
movl $0x8, %edx
callq 0x3350
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq %rbx, (%rsp)
movq $0x0, 0x10(%rbx)
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3050(%rip), %rdx      # 0xb068
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0x7176
xorl %r13d, %r13d
leaq 0x50(%rsp), %rbx
movq 0x70(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3210
movsbl %al, %edx
movq %r12, %rdi
leaq 0x8(%rsp), %rsi
callq 0x3410
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x80f2
cmpl %ebp, %r13d
jge 0x80f2
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movq $0x0, 0x60(%rsp)
cmpl %r14d, %r13d
jl 0x80e2
movq 0x20(%r15), %rax
movq 0x28(%r15), %rcx
addq %rax, %rcx
movq %rax, 0x40(%rsp)
movq %rcx, 0x48(%rsp)
leaq 0x28(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x8b06
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movl $0x1, %ecx
callq 0x8897
cmpq $0x11, 0x38(%rsp)
jb 0x80d6
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x80d6
callq 0x32a0
movq (%rsp), %rdi
movq %rbx, %rsi
callq 0x8a2c
incl %r13d
movq %rbx, %rdi
callq 0x6866
jmp 0x802d
leaq 0x70(%rsp), %rdi
callq 0x3080
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x8118
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
leaq 0x70(%rsp), %rdi
callq 0x3090
movq (%rsp), %rax
addq $0x278, %rsp            # imm = 0x278
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x816a
movq %rax, %rbx
jmp 0x8189
movq %rax, %rbx
cmpq $0x11, 0x38(%rsp)
jb 0x815e
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x815e
callq 0x32a0
jmp 0x815e
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x6866
jmp 0x816d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x8189
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
movq (%rsp), %rdi
callq 0x8a58
leaq 0x70(%rsp), %rdi
callq 0x3090
movq %rbx, %rdi
callq 0x33e0
// File: /workspace/github_cpp_makefile_star2_O1/canzarlab[P]Trajan/src/read_csv.cpp
// Function: CSVReader::getDoubleFromStringData(int, int)
std::vector<std::vector<double> > CSVReader::getDoubleFromStringData(int from_row, int to_row) {
    vector<vector<double> > data;
    std::vector<std::vector<string> > dataList = getStringData();
    for (int i = from_row; i < std::min(to_row, (int) dataList.size()); ++i)
    {
        vector<double> temp;
        for (const auto & u: dataList.at(i))
        {
            temp.push_back(std::stod(u));
        }
        data.push_back(temp);
    }
    return data;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %ecx, %ebp
movl %edx, %ebx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, (%rsp)
movq $0x0, 0x10(%rdi)
leaq 0x28(%rsp), %rdi
xorl %edx, %edx
movl $0xf4240, %ecx          # imm = 0xF4240
callq 0x7fc8
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rdx
cmpl %ebp, %edx
movl %ebp, %ecx
cmovll %edx, %ecx
cmpl %ebx, %ecx
jle 0x831e
movslq %ebx, %rbx
leaq 0x50(%rsp), %r12
movl %ebp, 0xc(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
cmpq %rbx, %rdx
jbe 0x8353
movq %rbx, 0x40(%rsp)
leaq (%rbx,%rbx,2), %rcx
movq (%rax,%rcx,8), %r13
movq 0x8(%rax,%rcx,8), %r15
cmpq %r15, %r13
je 0x82bb
callq 0x3060
movq %rax, %rbx
movq (%r13), %rbp
movl (%rbx), %r14d
movl $0x0, (%rbx)
movq %rbp, %rdi
movq %r12, %rsi
callq 0x31d0
cmpq %rbp, 0x50(%rsp)
je 0x833b
movl (%rbx), %eax
testl %eax, %eax
je 0x827f
cmpl $0x22, %eax
jne 0x8282
jmp 0x8347
movl %r14d, (%rbx)
movsd %xmm0, 0x48(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x82a3
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x82b2
leaq 0x10(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xa8e0
addq $0x20, %r13
cmpq %r15, %r13
jne 0x824c
movq (%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x8a9a
movl 0xc(%rsp), %ebp
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
movq 0x40(%rsp), %rbx
je 0x82e9
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3230
incq %rbx
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rdx
cmpl %ebp, %edx
movl %ebp, %ecx
cmovll %edx, %ecx
movslq %ecx, %rcx
cmpq %rcx, %rbx
jl 0x8213
leaq 0x28(%rsp), %rdi
callq 0x8a58
movq (%rsp), %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2f0d(%rip), %rdi      # 0xb24f
callq 0x3160
leaq 0x2f01(%rip), %rdi      # 0xb24f
callq 0x32f0
leaq 0x2f18(%rip), %rdi      # 0xb272
movq %rbx, %rsi
xorl %eax, %eax
callq 0x3320
movq %rax, %r15
jmp 0x839e
jmp 0x836d
jmp 0x836d
movq %rax, %r15
jmp 0x837d
movq %rax, %r15
cmpl $0x0, (%rbx)
jne 0x837d
movl %r14d, (%rbx)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x8394
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3230
leaq 0x28(%rsp), %rdi
callq 0x8a58
movq (%rsp), %rdi
callq 0x6428
movq %r15, %rdi
callq 0x33e0
nop
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/main.cpp
// Function: traverse_world(world const&, std::function<void (int, int, int)>)
void traverse_world(const world &w, std::function<void(int, int, int)> f) {
	int cx, cy, cz;
	for (cz=0; cz<32; ++cz) {
		for (cx=0; cx<32; ++cx) {
			for (cy=0; cy<16; ++cy) {
				if (w.has_world_data(cx, cy, cz)) {
					int x, y, z;
					for (z=0; z<16; ++z) {
						for (x=0; x<16; ++x) {
							for (y=0; y<16; ++y) {
								f((cx << 4) | x, (cy << 4) | y, (cz << 4) | z);
							}
						}
					}
				}
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
movq %rdi, 0x18(%rsp)
xorl %ecx, %ecx
movl %ecx, %eax
shll $0x4, %eax
movq %rax, 0x20(%rsp)
xorl %esi, %esi
movl %ecx, 0xc(%rsp)
movl %esi, %eax
shll $0x4, %eax
movq %rax, 0x30(%rsp)
xorl %r12d, %r12d
xorl %edx, %edx
movl %esi, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movl %edx, 0x14(%rsp)
callq 0x52f6
testb %al, %al
je 0x2615
xorl %ecx, %ecx
movq 0x20(%rsp), %rax
movq %rcx, 0x28(%rsp)
leal (%rcx,%rax), %r13d
xorl %ebp, %ebp
movq 0x30(%rsp), %rax
leal (%rax,%rbp), %r14d
xorl %r15d, %r15d
leal (%r12,%r15), %edx
movq %rbx, %rdi
movl %r14d, %esi
movl %r13d, %ecx
callq 0x33b8
incl %r15d
cmpl $0x10, %r15d
jne 0x25e7
incl %ebp
cmpl $0x10, %ebp
jne 0x25db
movq 0x28(%rsp), %rcx
incl %ecx
cmpl $0x10, %ecx
jne 0x25cb
movl 0x14(%rsp), %edx
incl %edx
addl $0x10, %r12d
cmpl $0x10, %edx
movl 0xc(%rsp), %ecx
movl 0x10(%rsp), %esi
jne 0x25b7
incl %esi
cmpl $0x20, %esi
jne 0x25a4
incl %ecx
cmpl $0x20, %ecx
jne 0x2594
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/chunk.cpp
// Function: need_progress(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int need_progress(int stage, string name) {
	if (stage == 0 && name == "") return 1;
	else if (stage == 1 && name == "Level") return 2;
	else if (stage == 2 && name == "Sections") return 3;
	else if (stage == 3 && name == "Palette") return 4;
	else if (stage == 4 && name == "Properties") return 5;
	return stage;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebx
cmpl $0x4, %edi
ja 0x3ce6
movq %rsi, %r14
movl %ebx, %eax
leaq 0x46c1(%rip), %rcx      # 0x82e0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x4935(%rip), %rsi      # 0x8564
movq %r14, %rdi
callq 0x2050
testl %eax, %eax
je 0x3ce1
leal -0x1(%rbx), %eax
cmpl $0x3, %eax
ja 0x3ce6
leaq 0x46a2(%rip), %rcx      # 0x82f4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x472e(%rip), %rsi      # 0x8390
movq %r14, %rdi
callq 0x2050
testl %eax, %eax
je 0x3cda
cmpl $0x4, %ebx
je 0x3cb2
cmpl $0x3, %ebx
je 0x3c9a
cmpl $0x2, %ebx
jne 0x3ce6
leaq 0x4712(%rip), %rsi      # 0x8396
movq %r14, %rdi
callq 0x2050
testl %eax, %eax
je 0x3cd3
cmpl $0x4, %ebx
je 0x3cb2
cmpl $0x3, %ebx
jne 0x3ce6
leaq 0x46fe(%rip), %rsi      # 0x839f
movq %r14, %rdi
callq 0x2050
testl %eax, %eax
je 0x3ccc
cmpl $0x4, %ebx
jne 0x3ce6
leaq 0x46ee(%rip), %rsi      # 0x83a7
movq %r14, %rdi
callq 0x2050
testl %eax, %eax
jne 0x3ce6
movl $0x5, %ebx
jmp 0x3ce6
movl $0x4, %ebx
jmp 0x3ce6
movl $0x3, %ebx
jmp 0x3ce6
movl $0x2, %ebx
jmp 0x3ce6
movl $0x1, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/chunk.cpp
// Function: chunk::init()
void chunk::init() {
	this->block = 0;
	this->y = 255;
	this->palette.clear();
	this->world_data = new byte *[16];
	this->attr = 0;
	memset(this->world_data, 0, sizeof(byte *) * 16);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x0, 0xc(%rdi)
movl $0xff, 0x4(%rdi)
movq 0x18(%rdi), %rax
cmpq %rax, 0x20(%rdi)
je 0x4484
movq %rax, 0x20(%rbx)
movl $0x80, %edi
callq 0x2030
movq %rax, 0x30(%rbx)
movl $0x0, 0x10(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x70(%rax)
movups %xmm0, 0x60(%rax)
movups %xmm0, 0x50(%rax)
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/chunk.cpp
// Function: chunk::flush_section()
void chunk::flush_section() {
	if (0 <= this->y && this->y < 16) {
		if (!this->br.init_needed()) {
			if (this->world_data[this->y]) {
				fprintf(stderr, "Error: duplicate section y = %d; did you edit the world using hex editor?\n", this->y);
				throw DUPLICATE_Y_SECTION_ERROR;
			}
			this->world_data[this->y] = new byte[4096];
			const int needed_bit = this->palette.size() < 2U ? 4 : std::max(4, 32 - __builtin_clz((int)this->palette.size() - 1));
			for (int i=0; i<4096; ++i) {
				int x = this->br.read(needed_bit);
				this->world_data[this->y][i] = this->palette[x];
			}
		}
	}
	this->block = 0;
	this->y = 255;
	this->palette.clear();
	this->br.init(nullptr);
#ifdef CHUNK_DEBUG
	printf("section end\n");
#endif
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
cmpl $0xf, 0x4(%rdi)
ja 0x456a
leaq 0x38(%rbx), %r14
movq %r14, %rdi
callq 0x4f36
testb %al, %al
jne 0x456a
movq 0x30(%rbx), %r12
movslq 0x4(%rbx), %r15
cmpq $0x0, (%r12,%r15,8)
jne 0x459e
movl $0x1000, %edi           # imm = 0x1000
callq 0x2030
movq %rax, (%r12,%r15,8)
movq 0x20(%rbx), %rax
subq 0x18(%rbx), %rax
sarq $0x2, %rax
movl $0x4, %ebp
cmpq $0x2, %rax
jb 0x4538
decl %eax
bsrl %eax, %eax
xorl $-0x20, %eax
addl $0x21, %eax
cmpl $0x5, %eax
cmovael %eax, %ebp
xorl %r15d, %r15d
movq %r14, %rdi
movl %ebp, %esi
callq 0x4ea8
cltq
movq 0x18(%rbx), %rcx
movq 0x30(%rbx), %rdx
movb (%rcx,%rax,4), %al
movslq 0x4(%rbx), %rcx
movq (%rdx,%rcx,8), %rcx
movb %al, (%rcx,%r15)
incq %r15
cmpq $0x1000, %r15           # imm = 0x1000
jne 0x453b
movl $0x0, 0xc(%rbx)
movl $0xff, 0x4(%rbx)
movq 0x18(%rbx), %rax
cmpq %rax, 0x20(%rbx)
je 0x4586
movq %rax, 0x20(%rbx)
addq $0x38, %rbx
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x4f2a
movl %r15d, %edi
callq 0x23c0
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/chunk.cpp
// Function: chunk::flush_block()
void chunk::flush_block() {
	this->palette.push_back(this->block);
	// attribute validation
	const int attributes[] = {
		0, 0, 0, 0, ATTR_POWER | ATTR_EAST | ATTR_WEST | ATTR_SOUTH | ATTR_NORTH /* wire */,
		ATTR_LIT /* torch */, ATTR_LIT | ATTR_FACING /* wall torch */,
		ATTR_FACING | ATTR_MODE | ATTR_POWERED /* comparator */,
		ATTR_DELAY | ATTR_FACING | ATTR_LOCKED | ATTR_POWERED,
		ATTR_DELAY | ATTR_FACING | ATTR_LOCKED | ATTR_POWERED /* repeater */,
		ATTR_LIT /* lamp */, ATTR_FACE | ATTR_FACING | ATTR_POWERED /* lever */, 0
	};
	if (attributes[this->block >> 4] != this->attr) {
		fprintf(stderr, "Error: block has missing or extra attribute; did you edit the world using hex editor?\n");
		throw ATTR_MISMATCH_ERROR;
	}
#ifdef CHUNK_DEBUG
	printf("block = %02X\n", this->block);
#endif
	this->block = 0;
	this->attr = 0;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rdi), %rsi
cmpq 0x28(%rdi), %rsi
je 0x45c3
movl 0xc(%rbx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x20(%rbx)
jmp 0x45d0
leaq 0xc(%rbx), %rdx
leaq 0x18(%rbx), %rdi
callq 0x34c4
movl 0xc(%rbx), %eax
sarl $0x4, %eax
cltq
leaq 0x3d61(%rip), %rcx      # 0x8340
movl (%rcx,%rax,4), %eax
cmpl 0x10(%rbx), %eax
jne 0x45f1
movq $0x0, 0xc(%rbx)
popq %rbx
retq
callq 0x23fa
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/chunk.cpp
// Function: chunk::~chunk()
chunk::~chunk() {
	if (this->world_data) {
		int i;
		for (i=0; i<16; ++i) {
			if (this->world_data[i]) {
				delete [](this->world_data[i]);
			}
		}
		delete []this->world_data;
		this->world_data = nullptr;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, 0x30(%rdi)
je 0x4c70
xorl %r14d, %r14d
movq 0x30(%rbx), %rax
movq (%rax,%r14,8), %rdi
testq %rdi, %rdi
je 0x4c51
callq 0x21c0
incq %r14
cmpq $0x10, %r14
jne 0x4c3f
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x4c68
callq 0x21c0
movq $0x0, 0x30(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x4c8c
movq 0x28(%rbx), %rsi
subq %rdi, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2150
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/chunk.cpp
// Function: chunk::getXYZ(int, int, int)
byte chunk::getXYZ(int x, int y, int z) {
	if (!this->world_data) return AIR;
	int idx = y >> 4;
	if (!this->world_data[idx]) return AIR;
	return this->world_data[idx][((y & 15) << 8) | ((z & 15) << 4) | (x & 15)];
}

// Assembly:
movq 0x30(%rdi), %rax
testq %rax, %rax
je 0x4cc5
movl %edx, %edi
sarl $0x4, %edi
movslq %edi, %rdi
movq (%rax,%rdi,8), %rax
testq %rax, %rax
je 0x4cc5
andl $0xf, %edx
shll $0x8, %edx
shll $0x4, %ecx
movzbl %cl, %ecx
andl $0xf, %esi
orl %edx, %esi
orl %ecx, %esi
movb (%rax,%rsi), %al
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/chunk.cpp
// Function: chunk::troubleshoot(int, int)
bool chunk::troubleshoot(int x, int z) {
	const int target = (int)this->palette.size();
	if (0 <= this->y && this->y < 16 && !this->br.init_needed()) {
		for (int i=0; i<4096; ++i) {
			int x = this->br.read(this->troubleshoot_bit);
			if (x == target) {
				const int y_coord = (this->y << 4) | (i >> 8);
				if (0 <= y_coord && y_coord < 256) {
					fprintf(stderr, "exact location might be (%d, %d, %d)\n", (x << 4) | (i & 15), y_coord, (z << 4) | ((i >> 4) & 15));
				} else {
					fprintf(stderr, "exact location might be (%d, ?, %d)\n", (x << 4) | (i & 15), (z << 4) | ((i >> 4) & 15));
				}
				return true;
			}
		}
	}
	return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
cmpl $0xf, 0x4(%rdi)
ja 0x4d30
movl %edx, %ebp
movq %rdi, %r14
movq 0x20(%rdi), %r12
subq 0x18(%rdi), %r12
leaq 0x38(%rdi), %r15
movq %r15, %rdi
callq 0x4f36
xorl %ebx, %ebx
testb %al, %al
jne 0x4d32
shrq $0x2, %r12
movl 0x14(%r14), %esi
movq %r15, %rdi
callq 0x4ea8
cmpl %r12d, %eax
je 0x4d3d
incl %ebx
cmpl $0x1000, %ebx           # imm = 0x1000
jne 0x4d15
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl 0x4(%r14), %edx
shll $0x4, %edx
movl %ebx, %ecx
shrl $0x8, %ecx
orl %edx, %ecx
testl %edx, %edx
setns %dl
cmpl $0x100, %ecx            # imm = 0x100
setl %sil
andb %dl, %sil
movq 0x727c(%rip), %rdx      # 0xbfe0
movq (%rdx), %rdi
shll $0x4, %eax
movl %ebx, %edx
andl $0xf, %edx
orl %eax, %edx
shll $0x4, %ebp
shrl $0x4, %ebx
andl $0xf, %ebx
orl %ebp, %ebx
cmpb $0x1, %sil
jne 0x4d95
leaq 0x389b(%rip), %rsi      # 0x8624
movl %ebx, %r8d
xorl %eax, %eax
callq 0x21d0
jmp 0x4da5
leaq 0x38ae(%rip), %rsi      # 0x864a
movl %ebx, %ecx
xorl %eax, %eax
callq 0x21d0
movb $0x1, %bl
jmp 0x4d32
nop
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/predicate.cpp
// Function: bytes_to_string[abi:cxx11](unsigned char const*, int)
string bytes_to_string(const byte *data, int len) {
	char *str = new char[len + 1];
	memcpy(str, data, len);
	str[len] = 0;
	string res(str);
	delete []str;
	return res;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
leal 0x1(%r14), %eax
movslq %eax, %rdi
callq 0x2030
movq %rax, %r12
movslq %r14d, %r14
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x2100
movb $0x0, (%r12,%r14)
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r12, %rdi
callq 0x2090
leaq (%rax,%r12), %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3434
movq %r12, %rdi
callq 0x21c0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/bitstream.cpp
// Function: bitreader::read(int)
int bitreader::read(int bit) {
	int x = 0, u = 0;
	if (this->remaining < bit) {
		x = this->temp;
		bit -= this->remaining;
		u = this->remaining;
		this->remaining = 64;
		this->temp = 0;
		for (int i=0; i<8; ++i) {
			(this->temp <<= 8) |= this->data[this->pos++];
		}
	}
	x |= (this->temp & ((1ULL << bit) - 1)) << u;
	this->temp >>= bit;
	this->remaining -= bit;
	return x;
}

// Assembly:
movl 0xc(%rdi), %edx
cmpl %edx, %esi
jle 0x4efa
movq 0x10(%rdi), %rax
movl $0x40, 0xc(%rdi)
movq $0x0, 0x10(%rdi)
movslq 0x8(%rdi), %r8
leal 0x1(%r8), %ecx
addq (%rdi), %r8
xorl %r9d, %r9d
xorl %r10d, %r10d
leal (%rcx,%r9), %r11d
movl %r11d, 0x8(%rdi)
movzbl (%r8,%r9), %r11d
shlq $0x8, %r10
orq %r11, %r10
movq %r10, 0x10(%rdi)
incq %r9
cmpl $0x8, %r9d
jne 0x4ed3
subl %edx, %esi
cltq
jmp 0x4efe
xorl %eax, %eax
xorl %edx, %edx
movq $-0x1, %r8
movl %esi, %ecx
shlq %cl, %r8
movq 0x10(%rdi), %r9
notl %r8d
andl %r9d, %r8d
movl %edx, %ecx
shlq %cl, %r8
orl %r8d, %eax
movl %esi, %ecx
shrq %cl, %r9
movq %r9, 0x10(%rdi)
subl %esi, 0xc(%rdi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/world.cpp
// Function: world::getXYZ(int, int, int) const
byte world::getXYZ(int x, int y, int z) const {
	if (!(0 <= x && x < 512 && 0 <= y && y < 255 && 0 <= z && z < 512)) return AIR;
	if (!this->world_data) return AIR;
	int idx = ((x >> 4) & 31) | (((z >> 4) & 31) << 5);
	if (!this->world_data[idx]) return AIR;
	return this->world_data[idx]->getXYZ(x, y, z);
}

// Assembly:
cmpl $0xff, %edx
setae %al
movl %ecx, %r8d
orl %esi, %r8d
cmpl $0x200, %r8d            # imm = 0x200
setae %r8b
orb %al, %r8b
jne 0x529b
movq (%rdi), %rax
testq %rax, %rax
je 0x529b
movl %esi, %edi
shrl $0x4, %edi
movl %ecx, %r8d
andl $0x1f0, %r8d            # imm = 0x1F0
leal (%rdi,%r8,2), %edi
movq (%rax,%rdi,8), %rdi
testq %rdi, %rdi
jne 0x4c94
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/world.cpp
// Function: world::~world()
world::~world() {
	if (this->world_data) {
		int i;
		for (i=0; i<1024; ++i) {
			if (this->world_data[i]) {
				delete this->world_data[i];
			}
		}
		delete []this->world_data;
		this->world_data = nullptr;
	}
}

// Assembly:
cmpq $0x0, (%rdi)
je 0x52f5
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %r15d, %r15d
movq (%rbx), %rax
movq (%rax,%r15,8), %r14
testq %r14, %r14
je 0x52d0
movq %r14, %rdi
callq 0x4c2e
movl $0x50, %esi
movq %r14, %rdi
callq 0x2150
incq %r15
cmpq $0x400, %r15            # imm = 0x400
jne 0x52af
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x52e9
callq 0x21c0
movq $0x0, (%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/world.cpp
// Function: world::has_world_data(int, int, int) const
bool world::has_world_data(int cx, int cy, int cz) const {
	if (!(0 <= cx && cx < 32 && 0 <= cy && cy < 16 && 0 <= cz && cz < 32)) return false;
	if (!this->world_data) return false;
	if (!this->world_data[(cz << 5) | cx]) return false;
	return this->world_data[(cz << 5) | cx]->has_world_data(cy);
}

// Assembly:
cmpl $0x10, %edx
setae %al
movl %ecx, %r8d
orl %esi, %r8d
cmpl $0x20, %r8d
setae %r8b
orb %al, %r8b
jne 0x532c
movq (%rdi), %rax
testq %rax, %rax
je 0x532c
shll $0x5, %ecx
orl %esi, %ecx
movq (%rax,%rcx,8), %rdi
testq %rdi, %rdi
je 0x532c
movl %edx, %esi
jmp 0x4cc8
xorl %eax, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/analyze.cpp
// Function: test_facing(world const&, int, int, int, std::function<bool (world const&, int, int, int)>)
bool test_facing(const world &w, int x, int y, int z, std::function<bool(const world &, int, int, int)> f) {
	byte b = w.getXYZ(x, y, z);
	switch (b & 3) {
		case EAST:
			++x;
			break;
		case WEST:
			--x;
			break;
		case SOUTH:
			++z;
			break;
		case NORTH:
			--z;
			break;
	}
	return f(w, x, y, z);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %r8, %r14
movl %ecx, %ebx
movl %edx, %ebp
movl %esi, %r15d
movq %rdi, %r12
callq 0x5254
andb $0x3, %al
movzbl %al, %eax
leaq 0x336e(%rip), %rcx      # 0x8700
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
incl %r15d
jmp 0x53ab
incl %ebx
jmp 0x53ab
decl %r15d
jmp 0x53ab
decl %ebx
movq %r14, %rdi
movq %r12, %rsi
movl %r15d, %edx
movl %ebp, %ecx
movl %ebx, %r8d
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x79c8
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/check.cpp
// Function: is_redstone_component(world const&, int, int, int)
bool is_redstone_component(const world &w, int x, int y, int z) {
	byte fetched = w.getXYZ(x, y, z);
	if ((fetched & BLOCK_ONLY) == REDSTONE_WALL_TORCH || (fetched & BLOCK_ONLY) == LEVER) {
		switch (fetched & 3) {
			case EAST: --x; break;
			case WEST: ++x; break;
			case SOUTH: --z; break;
			case NORTH: ++z; break;
		}
		if (!is_opaque(w.getXYZ(x, y, z))) {
			throw NO_SUPPORTING_BLOCK_ERROR;
		}
		return true;
	} else if ((fetched & BLOCK_ONLY) == REDSTONE_WIRE || (fetched & BLOCK_ONLY) == REDSTONE_TORCH || is_repeater(fetched) || (fetched & BLOCK_ONLY) == COMPARATOR) {
		if (!is_opaque(w.getXYZ(x, y-1, z))) {
			throw NO_SUPPORTING_BLOCK_ERROR;
		}
		return true;
	}
	return (fetched & BLOCK_ONLY) == REDSTONE_LAMP;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebx
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %r15
callq 0x5254
movzbl %al, %edi
leal -0x40(%rdi), %eax
shrl $0x4, %eax
cmpl $0x2, %eax
jb 0x7b38
cmpl $0x7, %eax
je 0x7b07
cmpl $0x2, %eax
jne 0x7b1f
andl $0x3, %edi
leaq 0x1107(%rip), %rax      # 0x8c18
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
decl %r14d
jmp 0x7b3a
movl %edi, %r12d
andl $-0x10, %r12d
callq 0x7cf3
xorb $0x1, %al
cmpl $0x70, %r12d
setne %cl
testb %al, %cl
jne 0x7b6f
decl %ebp
movq %r15, %rdi
movl %r14d, %esi
movl %ebp, %edx
movl %ebx, %ecx
callq 0x5254
movzbl %al, %edi
callq 0x7cfe
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
je 0x7b7b
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
decl %ebx
jmp 0x7b3a
incl %r14d
jmp 0x7b3a
incl %ebx
jmp 0x7b3a
cmpl $0xa0, %r12d
sete %al
jmp 0x7b59
movl $0x4, %edi
callq 0x20a0
movl $0xfffffffa, (%rax)     # imm = 0xFFFFFFFA
movq 0x4436(%rip), %rsi      # 0xbfc8
movq %rax, %rdi
xorl %edx, %edx
callq 0x2210
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/block.cpp
// Function: block_to_string[abi:cxx11](unsigned char)
string block_to_string(byte block) {
	switch (block & BLOCK_ONLY) {
		case AIR: return "air";
		case BEDROCK: return "bedrock";
		case STONE: return "stone";
		case SANDSTONE: return "sandstone";
		case REDSTONE_WIRE: return "redstone_wire";
		case REDSTONE_TORCH:
		case REDSTONE_WALL_TORCH: return "redstone_torch";
		case COMPARATOR: return "comparator";
		case REPEATER:
		case REPEATER | 16: return "repeater";
		case REDSTONE_LAMP: return "redstone_lamp";
		case LEVER: return "lever";
		case CONCRETE: return "concrete";
	}
	return "unknown";
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
shrb $0x4, %sil
cmpb $0xc, %sil
ja 0x7c8c
movzbl %sil, %eax
leaq 0x106f(%rip), %rcx      # 0x8c28
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x848(%rip), %rsi       # 0x8418
leaq 0x84f(%rip), %rdx       # 0x8426
jmp 0x7ce6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x865(%rip), %rsi       # 0x844f
leaq 0x866(%rip), %rdx       # 0x8457
jmp 0x7ce6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x88b(%rip), %rsi       # 0x848f
leaq 0x889(%rip), %rdx       # 0x8494
jmp 0x7ce6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x883(%rip), %rsi       # 0x84a1
leaq 0x884(%rip), %rdx       # 0x84a9
jmp 0x7ce6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x7c8(%rip), %rsi       # 0x8400
leaq 0x7ce(%rip), %rdx       # 0x840d
jmp 0x7ce6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x810(%rip), %rsi       # 0x8462
leaq 0x813(%rip), %rdx       # 0x846c
jmp 0x7ce6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x770(%rip), %rsi       # 0x83dc
leaq 0x76e(%rip), %rdx       # 0x83e1
jmp 0x7ce6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x769(%rip), %rsi       # 0x83ec
leaq 0x76b(%rip), %rdx       # 0x83f5
jmp 0x7ce6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0xfc2(%rip), %rsi       # 0x8c5c
leaq 0xfc2(%rip), %rdx       # 0x8c63
jmp 0x7ce6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x70b(%rip), %rsi       # 0x83bc
leaq 0x707(%rip), %rdx       # 0x83bf
jmp 0x7ce6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x702(%rip), %rsi       # 0x83ca
leaq 0x702(%rip), %rdx       # 0x83d1
jmp 0x7ce6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x798(%rip), %rsi       # 0x8477
leaq 0x79e(%rip), %rdx       # 0x8484
movq %rbx, %rdi
callq 0x3434
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/kipa00[P]AplusB-mc/compiler/color.cpp
// Function: color_to_int(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int color_to_int(string s) {
	if (s == "white") return 0;
	else if (s == "orange") return 1;
	else if (s == "magenta") return 2;
	else if (s == "light_blue") return 3;
	else if (s == "yellow") return 4;
	else if (s == "lime") return 5;
	else if (s == "pink") return 6;
	else if (s == "gray") return 7;
	else if (s == "light_gray") return 8;
	else if (s == "cyan") return 9;
	else if (s == "purple") return 10;
	else if (s == "blue") return 11;
	else if (s == "brown") return 12;
	else if (s == "green") return 13;
	else if (s == "red") return 14;
	else if (s == "black") return 15;
	return -1;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0xf3d(%rip), %rsi       # 0x8c64
callq 0x2050
testl %eax, %eax
je 0x7e8e
leaq 0xf2f(%rip), %rsi       # 0x8c6a
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7e92
leaq 0xf1f(%rip), %rsi       # 0x8c71
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7e99
leaq 0xf10(%rip), %rsi       # 0x8c79
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7ea0
leaq 0xf04(%rip), %rsi       # 0x8c84
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7ea7
leaq 0xef4(%rip), %rsi       # 0x8c8b
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7eae
leaq 0xee2(%rip), %rsi       # 0x8c90
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7eb5
leaq 0xed6(%rip), %rsi       # 0x8c9b
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7ebc
leaq 0xeb9(%rip), %rsi       # 0x8c95
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7ec3
leaq 0xead(%rip), %rsi       # 0x8ca0
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7eca
leaq 0xe9b(%rip), %rsi       # 0x8ca5
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7ed1
leaq 0xe5e(%rip), %rsi       # 0x8c7f
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7ed8
leaq 0xe74(%rip), %rsi       # 0x8cac
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7edf
leaq 0xe63(%rip), %rsi       # 0x8cb2
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7ee6
leaq 0x69c(%rip), %rsi       # 0x8502
movq %rbx, %rdi
callq 0x2050
testl %eax, %eax
je 0x7eed
leaq 0xe3f(%rip), %rsi       # 0x8cb8
movq %rbx, %rdi
callq 0x2050
movl %eax, %ecx
xorl %eax, %eax
negl %ecx
sbbl %eax, %eax
orl $0xf, %eax
jmp 0x7ef2
xorl %eax, %eax
jmp 0x7ef2
movl $0x1, %eax
jmp 0x7ef2
movl $0x2, %eax
jmp 0x7ef2
movl $0x3, %eax
jmp 0x7ef2
movl $0x4, %eax
jmp 0x7ef2
movl $0x5, %eax
jmp 0x7ef2
movl $0x6, %eax
jmp 0x7ef2
movl $0x7, %eax
jmp 0x7ef2
movl $0x8, %eax
jmp 0x7ef2
movl $0x9, %eax
jmp 0x7ef2
movl $0xa, %eax
jmp 0x7ef2
movl $0xb, %eax
jmp 0x7ef2
movl $0xc, %eax
jmp 0x7ef2
movl $0xd, %eax
jmp 0x7ef2
movl $0xe, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/smuething[P]dune-cxx11/17-unique_ptr.cc
// Function: main
int main()
{
  std::shared_ptr<int> p1(new int(3));
  std::shared_ptr<int> p2(std::move(p1));
  assert(*p2 == 3);
  return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movl $0x4, %edi
callq 0x1060
movl $0x3, (%rax)
leaq 0x8(%rsp), %rbx
movq %rax, -0x8(%rbx)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x12b2
movq -0x8(%rbx), %rax
movq (%rbx), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, -0x8(%rbx)
cmpl $0x3, (%rax)
jne 0x1219
testq %rdi, %rdi
je 0x1202
callq 0x1238
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x1211
callq 0x1238
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
retq
leaq 0xde4(%rip), %rdi       # 0x2004
leaq 0xde6(%rip), %rsi       # 0x200d
leaq 0xdf0(%rip), %rcx       # 0x201e
movl $0x8, %edx
callq 0x1050
// File: /workspace/github_cpp_makefile_star2_O1/zhjw1998[P]Merkle-Tree/src/../include/picosha2.h
// Function: void picosha2::hash256_hex_string<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void hash256_hex_string(InIter first, InIter last, std::string& hex_str) {
    byte_t hashed[k_digest_size];
    hash256(first, last, hashed, hashed + k_digest_size);
    std::ostringstream oss;
    output_hex(hashed, hashed + k_digest_size, oss);
    hex_str.assign(oss.str());
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rdx, %rbx
leaq 0x40(%rsp), %r14
leaq 0x20(%rsp), %r15
movq %r15, %rdx
movq %r14, %rcx
movl $0x100000, %r8d         # imm = 0x100000
callq 0x3c26
leaq 0x40(%rsp), %r12
movq %r12, %rdi
callq 0x21c0
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x3b7d
leaq 0x48(%rsp), %rsi
movq %rsp, %rdi
callq 0x21f0
movq %rsp, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x21b0
movq (%r14), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x3b1a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2170
movq 0x74af(%rip), %rsi      # 0xafd0
leaq 0x40(%rsp), %rdi
callq 0x20a0
leaq 0xb0(%rsp), %rdi
callq 0x2060
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x3b49
movq %rax, %rbx
movq 0x747d(%rip), %rsi      # 0xafd0
leaq 0x40(%rsp), %rdi
callq 0x20a0
leaq 0xb0(%rsp), %rdi
callq 0x2060
movq %rbx, %rdi
callq 0x2240
// File: /workspace/github_cpp_makefile_star2_O1/zhjw1998[P]Merkle-Tree/src/../include/picosha2.h
// Function: void picosha2::output_hex<unsigned char*>(unsigned char*, unsigned char*, std::ostream&)
void output_hex(InIter first, InIter last, std::ostream& os) {
    os.setf(std::ios::hex, std::ios::basefield);
    while (first != last) {
        os.width(2);
        os.fill('0');
        os << static_cast<unsigned int>(*first);
        ++first;
    }
    os.setf(std::ios::dec, std::ios::basefield);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq (%rdx), %rax
movq -0x18(%rax), %rax
movl 0x18(%rdx,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x18(%rdx,%rax)
cmpq %rsi, %rdi
je 0x3c05
movq %rsi, %r14
movq %rdi, %r15
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movq $0x2, 0x10(%rbx,%rcx)
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %r12
cmpb $0x0, 0xe1(%rbx,%rax)
jne 0x3be8
movq %r12, %rdi
movl $0x20, %esi
callq 0x2150
movb %al, 0xe0(%r12)
movb $0x1, 0xe1(%r12)
movb $0x30, 0xe0(%r12)
movzbl (%r15), %esi
movq %rbx, %rdi
callq 0x20f0
incq %r15
cmpq %r14, %r15
jne 0x3ba8
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbx,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%rbx,%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/zhjw1998[P]Merkle-Tree/src/../include/picosha2.h
// Function: void picosha2::impl::hash256_impl<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, unsigned char*>(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, unsigned char*, unsigned char*, int, std::random_access_iterator_tag)
void hash256_impl(RaIter first, RaIter last, OutIter first2, OutIter last2, int,
                  std::random_access_iterator_tag) {
    hash256_one_by_one hasher;
    // hasher.init();
    hasher.process(first, last);
    hasher.finish();
    hasher.get_hash_bytes(first2, last2);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x78, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %rdx
movq %rdi, %rsi
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
cmpq $0x0, 0x8(%rsp)
je 0x3c5a
movq $0x0, 0x8(%rsp)
movq %rsp, %rdi
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x18(%rdi)
movaps 0x3744(%rip), %xmm0     # 0x73b0
movups %xmm0, 0x38(%rdi)
movaps 0x3749(%rip), %xmm0     # 0x73c0
movups %xmm0, 0x48(%rdi)
movaps 0x374e(%rip), %xmm0     # 0x73d0
movups %xmm0, 0x58(%rdi)
movaps 0x3753(%rip), %xmm0     # 0x73e0
movups %xmm0, 0x68(%rdi)
callq 0x3d30
movq %rsp, %rdi
callq 0x3e36
leaq 0x38(%rsp), %rdx
movl $0x38, %eax
cmpq %rbx, %r14
je 0x3cde
movl $0x18, %ecx
xorl %esi, %esi
movq (%rdx), %rdi
shrq %cl, %rdi
movb %dil, (%r14,%rsi)
leaq 0x1(%rsi), %rdi
cmpq $0x2, %rsi
ja 0x3cdb
leaq (%r14,%rsi), %r8
incq %r8
addq $-0x8, %rcx
movq %rdi, %rsi
cmpq %rbx, %r8
jne 0x3cb4
addq %rdi, %r14
leaq (%rsp,%rax), %rdx
addq $0x8, %rdx
addq $0x8, %rax
cmpq $0x78, %rax
jne 0x3ca8
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x3d06
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2170
addq $0x78, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x3d27
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2170
movq %rbx, %rdi
callq 0x2240
nop
// File: /workspace/github_cpp_makefile_star2_O1/zhjw1998[P]Merkle-Tree/src/../include/picosha2.h
// Function: void picosha2::hash256_one_by_one::process<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>)
void process(RaIter first, RaIter last) {
        add_to_data_length(std::distance(first, last));
        std::copy(first, last, std::back_inserter(buffer_));
        std::size_t i = 0;
        for (; i + 64 <= buffer_.size(); i += 64) {
            detail::hash256_block(h_, buffer_.begin() + i,
                                  buffer_.begin() + i + 64);
        }
        buffer_.erase(buffer_.begin(), buffer_.begin() + i);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
subq %rsi, %r14
addq %r14, 0x18(%rdi)
movl $0x3, %eax
xorl %ecx, %ecx
addq (%rbx,%rax,8), %rcx
movq %rcx, (%rbx,%rax,8)
cmpq $0x10000, %rcx          # imm = 0x10000
jb 0x3d79
movzwl %cx, %edx
shrq $0x10, %rcx
movq %rdx, (%rbx,%rax,8)
incq %rax
cmpq $0x7, %rax
jne 0x3d54
testq %r14, %r14
jle 0x3da4
incq %r14
leaq 0xf(%rsp), %r12
movb (%r15), %al
movb %al, 0xf(%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x4178
incq %r15
decq %r14
cmpq $0x1, %r14
jg 0x3d86
movq (%rbx), %r14
movq 0x8(%rbx), %rdx
movq %rdx, %rax
subq %r14, %rax
cmpq $0x40, %rax
jae 0x3dbc
xorl %r15d, %r15d
jmp 0x3df6
leaq 0x38(%rbx), %r12
xorl %r15d, %r15d
movq %r15, %r13
leaq (%r14,%r15), %rdx
addq $0x40, %rdx
addq %r15, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x3f08
movq (%rbx), %r14
movq 0x8(%rbx), %rdx
movq %rdx, %rax
subq %r14, %rax
addq $0x40, %r15
subq $-0x80, %r13
cmpq %rax, %r13
jbe 0x3dc3
testq %r15, %r15
je 0x3e27
addq %r14, %r15
cmpq %r15, %rdx
je 0x3e11
subq %r15, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2210
movq 0x8(%rbx), %rax
movq %rax, %rcx
subq %r15, %rcx
addq %rcx, %r14
cmpq %r14, %rax
je 0x3e27
movq %r14, 0x8(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/zhjw1998[P]Merkle-Tree/src/../include/picosha2.h
// Function: picosha2::hash256_one_by_one::finish()
void finish() {
        byte_t temp[64];
        std::fill(temp, temp + 64, 0);
        std::size_t remains = buffer_.size();
        std::copy(buffer_.begin(), buffer_.end(), temp);
        temp[remains] = 0x80;

        if (remains > 55) {
            std::fill(temp + remains + 1, temp + 64, 0);
            detail::hash256_block(h_, temp, temp + 64);
            std::fill(temp, temp + 64 - 4, 0);
        } else {
            std::fill(temp + remains + 1, temp + 64 - 4, 0);
        }

        write_data_bit_length(&(temp[56]));
        detail::hash256_block(h_, temp, temp + 64);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movaps %xmm0, (%rsp)
movq (%rdi), %rsi
movq 0x8(%rdi), %r15
subq %rsi, %r15
je 0x3e6f
movq %rsp, %rdi
movq %r15, %rdx
callq 0x2210
leaq 0x40(%rsp), %r14
movb $-0x80, (%rsp,%r15)
leaq 0x1(%r15), %rax
cmpq $0x38, %r15
jb 0x3ec6
cmpq $0x40, %rax
je 0x3e9c
leaq (%rsp,%rax), %rdi
movl $0x3f, %edx
subq %r15, %rdx
xorl %esi, %esi
callq 0x20c0
leaq 0x38(%rbx), %rdi
movq %rsp, %r15
movq %r15, %rsi
movq %r14, %rdx
callq 0x4296
xorps %xmm0, %xmm0
movups %xmm0, 0x2c(%r15)
movaps %xmm0, 0x20(%r15)
movaps %xmm0, 0x10(%r15)
movaps %xmm0, (%r15)
jmp 0x3edf
cmpq $0x3c, %rax
je 0x3edf
leaq (%rsp,%rax), %rdi
movl $0x3b, %edx
subq %r15, %rdx
xorl %esi, %esi
callq 0x20c0
leaq 0x38(%rsp), %rsi
movq %rbx, %rdi
callq 0x4506
addq $0x38, %rbx
movq %rsp, %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x4296
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/zhjw1998[P]Merkle-Tree/src/merkle_tree.cpp
// Function: MerkleTree::deleteTree(Node*, bool)
void MerkleTree::deleteTree(Node* node, bool deleaf) {
    if (node) {
        if(node->left) deleteTree(node->left, deleaf);
        if(node->right) deleteTree(node->right, deleaf);
        if(deleaf || node->left || node->right) {
            delete node;
            node = nullptr;    
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x5197
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rsi), %rsi
movzbl %bpl, %r15d
testq %rsi, %rsi
je 0x5142
movq %r14, %rdi
movl %r15d, %edx
callq 0x5116
movq 0x28(%rbx), %rsi
testq %rsi, %rsi
je 0x5156
movq %r14, %rdi
movl %r15d, %edx
callq 0x5116
testb %bpl, %bpl
jne 0x5169
cmpq $0x0, 0x20(%rbx)
jne 0x5169
cmpq $0x0, 0x28(%rbx)
je 0x5197
movq (%rbx), %rdi
leaq 0x10(%rbx), %rax
cmpq %rax, %rdi
je 0x5180
movq (%rax), %rsi
incq %rsi
callq 0x2170
movl $0x30, %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2170
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/zhjw1998[P]Merkle-Tree/src/merkle_tree.cpp
// Function: MerkleTree::MakeEmpty(TrieTreeNode*)
void MerkleTree::MakeEmpty(TrieTreeNode *treeNode){
    if (treeNode != nullptr){
        for (int i = 0; i < SIZE; i++){
            MakeEmpty(treeNode->child[i]);
        }
        delete treeNode;
    }
    treeNode = nullptr;
}

// Assembly:
testq %rsi, %rsi
je 0x51df
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl $0x2, %r15d
movq (%rbx,%r15,8), %rsi
movq %r14, %rdi
callq 0x51a2
incq %r15
cmpq $0x12, %r15
jne 0x51b8
movl $0x90, %esi
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2170
retq
// File: /workspace/github_cpp_makefile_star2_O1/zhjw1998[P]Merkle-Tree/src/merkle_tree.cpp
// Function: MerkleTree::printTree(Node*, int)
void MerkleTree::printTree(Node* node, int index) {
    if (node) {
        if (node->left) {
            printTree(node->left, index + 4);
        }
        if (index) {
            std::cout << std::setw(index);
        }
        std::cout << node->hash[0] << "\n";
        if (node->right) {
             printTree(node->right, index + 4);
        }
    }
}

// Assembly:
testq %rsi, %rsi
je 0x5282
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movq 0x20(%rsi), %rsi
testq %rsi, %rsi
je 0x5218
leal 0x4(%rbx), %edx
movq %r14, %rdi
callq 0x51ea
testl %ebx, %ebx
je 0x5232
movq 0x5db5(%rip), %rax      # 0xafd8
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movslq %ebx, %rdx
movq %rdx, 0x10(%rax,%rcx)
movq (%r15), %rax
movb (%rax), %al
leaq 0xf(%rsp), %rsi
movb %al, (%rsi)
movq 0x5d93(%rip), %rdi      # 0xafd8
movl $0x1, %edx
callq 0x2190
leaq 0x2463(%rip), %rsi      # 0x76b9
movl $0x1, %edx
movq %rax, %rdi
callq 0x2190
movq 0x28(%r15), %rsi
testq %rsi, %rsi
je 0x5279
addl $0x4, %ebx
movq %r14, %rdi
movl %ebx, %edx
callq 0x51ea
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/zhjw1998[P]Merkle-Tree/src/merkle_tree.cpp
// Function: MerkleTree::containsNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool MerkleTree::containsNode(const std::string& data){
    std::vector<Node*> leaves = getLeaves();
    for(auto leaf : leaves){
        if(leaf->hash == data) return true;
    }
    return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r15
movq %rdi, %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0x5316
movq (%r14), %rbx
movq 0x8(%r14), %r12
cmpq %r12, %rbx
setne %bpl
je 0x52eb
movq (%r15), %r14
movq 0x8(%r15), %r15
movq %rbx, %r13
movq (%r13), %rax
movq 0x8(%rax), %rdx
cmpq %r15, %rdx
jne 0x52de
testq %rdx, %rdx
je 0x52eb
movq (%rax), %rdi
movq %r14, %rsi
callq 0x2180
testl %eax, %eax
je 0x52eb
addq $0x8, %r13
cmpq %r12, %r13
setne %bpl
jne 0x52bd
testq %rbx, %rbx
je 0x5300
movq 0x10(%rsp), %rsi
subq %rbx, %rsi
movq %rbx, %rdi
callq 0x2170
andb $0x1, %bpl
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/zhjw1998[P]Merkle-Tree/src/merkle_tree.cpp
// Function: MerkleTree::getLeaves()
std::vector<Node*> MerkleTree::getLeaves(){
    std::deque<Node*> dq;
    Node* front = this->root;
    dq.push_back(front);
    while(!dq.empty()){
        Node* front = dq.front();
        if(!(front->left) && !(front->right)) break;
        dq.pop_front();
        if(front->left) dq.push_back(front->left);
        if(front->right) dq.push_back(front->right);
    }
    return std::vector<Node*>(dq.begin(), dq.end());
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xb0, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r15
movaps %xmm0, 0x40(%r15)
movaps %xmm0, 0x30(%r15)
movaps %xmm0, 0x20(%r15)
movaps %xmm0, 0x10(%r15)
movaps %xmm0, (%r15)
movq %r15, %rdi
xorl %esi, %esi
callq 0x6132
movq (%r14), %rax
movq %rax, 0x68(%rsp)
movq 0x30(%r15), %rcx
movq 0x40(%r15), %rdx
addq $-0x8, %rdx
cmpq %rdx, %rcx
je 0x5376
movq %rax, (%rcx)
addq $0x8, 0x40(%rsp)
jmp 0x5385
leaq 0x10(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x64b4
movq 0x20(%rsp), %rax
cmpq %rax, 0x40(%rsp)
je 0x5472
leaq 0x10(%rsp), %r14
movq (%rax), %r15
cmpq $0x0, 0x20(%r15)
jne 0x53af
cmpq $0x0, 0x28(%r15)
je 0x5472
movq 0x30(%rsp), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x53c3
addq $0x8, %rax
jmp 0x53f5
movq 0x28(%rsp), %rdi
movl $0x200, %esi            # imm = 0x200
callq 0x2170
movq 0x38(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x38(%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x28(%rsp)
leaq 0x200(%rax), %rcx
movq %rcx, 0x30(%rsp)
leaq 0x20(%r15), %rsi
movq %rax, 0x20(%rsp)
movq (%rsi), %rax
testq %rax, %rax
je 0x542c
movq 0x40(%rsp), %rcx
movq 0x50(%rsp), %rdx
addq $-0x8, %rdx
cmpq %rdx, %rcx
je 0x5424
movq %rax, (%rcx)
addq $0x8, 0x40(%rsp)
jmp 0x542c
movq %r14, %rdi
callq 0x64b4
movq 0x28(%r15), %rax
testq %rax, %rax
je 0x5462
movq 0x40(%rsp), %rcx
movq 0x50(%rsp), %rdx
addq $-0x8, %rdx
cmpq %rdx, %rcx
je 0x5453
movq %rax, (%rcx)
addq $0x8, 0x40(%rsp)
jmp 0x5462
addq $0x28, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x64b4
movq 0x20(%rsp), %rax
cmpq %rax, 0x40(%rsp)
jne 0x539a
movaps 0x20(%rsp), %xmm0
movaps 0x30(%rsp), %xmm1
movaps 0x40(%rsp), %xmm2
movaps 0x50(%rsp), %xmm3
leaq 0x90(%rsp), %rsi
movups %xmm0, (%rsi)
movups %xmm1, 0x10(%rsi)
leaq 0x70(%rsp), %rdx
movups %xmm2, (%rdx)
movups %xmm3, 0x10(%rdx)
leaq 0xf(%rsp), %rcx
movq %rbx, %rdi
callq 0x5f72
leaq 0x10(%rsp), %rdi
callq 0x6464
movq %rbx, %rax
addq $0xb0, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x54cc
jmp 0x54cc
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x6464
movq %rbx, %rdi
callq 0x2240
nop