LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/bestcoder12[P]Sudoku_Game/sudokusolver.cpp
// Function: safetyInGrid(s_brd::cell (*) [9], int, int, int)
bool safetyInGrid(cell t_board[9][9], int temp_num, int t_row, int t_col)
{
	int i = 0, j = 0;
	
	for (j = 0; j < 9; j++)
	{
		if (temp_num == t_board[t_row][j].get_Int())
		{
			return false;
		}
	}
	
	for (i = 0; i < 9; i++)
	{
		if (temp_num == t_board[i][t_col].get_Int())
		{
			return false;
		}
	}

	i = t_row - (t_row%3);
	j = t_col - (t_col%3);
	int row_lim = i+3;
	int col_lim = j+3;

	for (i = t_row - (t_row%3); i < row_lim; i++)
	{
		for (j = t_col - (t_col%3); j < col_lim; j++)
		{
			if (temp_num == t_board[i][j].get_Int())
			{
				return false;
			}
		}
	}
	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebp
movl %esi, %ebx
movq %rdi, %r14
movslq %edx, %r15
leaq (%r15,%r15,8), %rax
movq %rax, (%rsp)
leaq (%rdi,%rax,8), %r13
xorl %r12d, %r12d
leaq (%r12,%r13), %rdi
callq 0x2352
cmpl %ebx, %eax
je 0x3510
addq $0x8, %r12
cmpq $0x48, %r12
jne 0x3406
movslq %ebp, %rbp
leaq (%r14,%rbp,8), %r13
xorl %r12d, %r12d
leaq (%r12,%r13), %rdi
callq 0x2352
cmpl %ebx, %eax
je 0x3510
addq $0x48, %r12
cmpq $0x288, %r12            # imm = 0x288
jne 0x342b
imulq $0x55555556, %r15, %rax # imm = 0x55555556
movq %rax, %rcx
shrq $0x3f, %rcx
shrq $0x20, %rax
addl %ecx, %eax
leal (%rax,%rax,2), %ecx
subl %ecx, %r15d
imulq $0x55555556, %rbp, %rdx # imm = 0x55555556
movq %rdx, %rsi
shrq $0x3f, %rsi
shrq $0x20, %rdx
addl %esi, %edx
leal (%rdx,%rdx,2), %esi
movl %ebp, %edi
subl %esi, %edi
movslq %ecx, %rsi
leal (%rdx,%rdx,2), %ecx
addl $0x2, %ecx
movslq %ecx, %r13
leal 0x2(%rax,%rax,2), %eax
cltq
movq %rax, 0x10(%rsp)
movslq %edi, %rax
movq %rax, %r12
notq %r12
addq %rbp, %r12
shlq $0x3, %rbp
movq (%rsp), %rcx
leaq (,%rcx,8), %rcx
addq %rbp, %rcx
shlq $0x3, %rax
subq %rax, %rcx
movslq %r15d, %rax
shlq $0x3, %rax
leaq (%rax,%rax,8), %rax
subq %rax, %rcx
addq %rcx, %r14
xorl %ebp, %ebp
movq %r12, 0x8(%rsp)
movq %rsi, (%rsp)
movq %r14, %r15
movq %r15, %rdi
callq 0x2352
cmpl %ebx, %eax
je 0x3512
incq %r12
addq $0x8, %r15
cmpq %r13, %r12
jl 0x34da
movq (%rsp), %rcx
leaq 0x1(%rcx), %rsi
addq $0x48, %r14
cmpq 0x10(%rsp), %rcx
setge %bpl
movq 0x8(%rsp), %r12
jl 0x34d3
jmp 0x3512
xorl %ebp, %ebp
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/bestcoder12[P]Sudoku_Game/sudokusolver.cpp
// Function: s_brd::Sudoku::solveSudoku(s_brd::cell (*) [9])
bool Sudoku::solveSudoku(cell t_board[9][9])
{
	int row, col;
   
	/* If true all the cells are filled and the game is complete */
   	if (!findEmptyPlace(t_board,row,col))
	{
		return true;
   	}
  
	for (int num = 1; num <= 9; num++)
	{
		if (safetyInGrid(t_board, num, row, col))
		{
        
			this->board[row][col].set_Val(num,false);
         
			if (solveSudoku(t_board))	
        	{
           		return true;
        	}
         
        	this->board[row][col].set_Val(-1,true);
      	}
	}
	return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, (%rsp)
movb $0x1, %bpl
xorl %r15d, %r15d
movq %rsi, %r13
movq %r13, %r14
xorl %r12d, %r12d
movq %r14, %rdi
callq 0x2352
cmpl $-0x1, %eax
je 0x3588
incq %r12
addq $0x8, %r14
cmpq $0x9, %r12
jne 0x3549
cmpq $0x8, %r15
leaq 0x1(%r15), %rax
setb %bpl
addq $0x48, %r13
movq %rax, %r15
cmpq $0x9, %rax
jne 0x3543
movl $0x9, %r15d
movl $0x9, %r12d
movb $0x1, %r14b
testb $0x1, %bpl
je 0x35ff
movslq %r15d, %rax
movslq %r12d, %rcx
leaq (%rax,%rax,8), %rax
movq (%rsp), %rdx
leaq (%rdx,%rax,8), %rax
leaq (%rax,%rcx,8), %r13
movl $0x1, %ebp
movq %rbx, %rdi
movl %ebp, %esi
movl %r15d, %edx
movl %r12d, %ecx
callq 0x33df
testb %al, %al
je 0x35ee
movq %r13, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x234c
movq (%rsp), %rdi
movq %rbx, %rsi
callq 0x3528
testb %al, %al
jne 0x35ff
movq %r13, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0x1, %edx
callq 0x234c
cmpl $0x9, %ebp
leal 0x1(%rbp), %eax
setb %r14b
movl %eax, %ebp
cmpl $0xa, %eax
jne 0x35ac
andb $0x1, %r14b
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/bestcoder12[P]Sudoku_Game/sudokusolver.cpp
// Function: s_brd::Sudoku::init_gridPos()
void Sudoku::init_gridPos()
{
	srand(time(0));
	for (int i = 0; i < 81; i++)
	{
		this->gridPos[i] = i;
	}
	std::random_shuffle (this->gridPos, (this->gridPos)+81, genRandNum);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
xorl %r14d, %r14d
xorl %edi, %edi
callq 0x20e0
movl %eax, %edi
callq 0x20f0
movl %r14d, 0x514(%rbx,%r14,4)
incq %r14
cmpq $0x51, %r14
jne 0x3640
leaq 0x514(%rbx), %r14
addq $0x518, %rbx            # imm = 0x518
movl $0x2, %ebp
xorl %r15d, %r15d
leaq (%rbx,%r15), %r12
callq 0x2050
cltd
idivl %ebp
movslq %edx, %rax
leaq (%r14,%rax,4), %rax
cmpq %rax, %r12
je 0x368b
movl (%r12), %ecx
movl (%rax), %edx
movl %edx, (%r12)
movl %ecx, (%rax)
incl %ebp
addq $0x4, %r15
cmpq $0x140, %r15            # imm = 0x140
jne 0x3667
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/bestcoder12[P]Sudoku_Game/sudokusolver.cpp
// Function: s_brd::Sudoku::count_Sols(int&)
void Sudoku::count_Sols (int &num)
{
	int row, col;
	if (!findEmptyPlace(this->board, row, col))
	{
		num++;
		return;
	}
	std::default_random_engine defEngine(time(0));
	std::uniform_int_distribution<int> intDistro(1,9);
	int randNum = 0;

	for (int i = 0; i < 9 && num < 2; i++)
	{
		randNum = intDistro(defEngine);
		if (safetyInGrid(this->board,randNum,row,col))
		{
			this->board[row][col].set_Val(randNum,false);
			count_Sols(num);
		}

		this->board[row][col].set_Val(-1,true);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, 0x8(%rsp)
movb $0x1, %bl
xorl %r15d, %r15d
movq %rdi, 0x10(%rsp)
movq %rdi, %r14
movq %r14, %r13
xorl %r12d, %r12d
movq %r13, %rdi
callq 0x2352
cmpl $-0x1, %eax
je 0x3708
incq %r12
addq $0x8, %r13
cmpq $0x9, %r12
jne 0x36ca
cmpq $0x8, %r15
leaq 0x1(%r15), %rax
setb %bl
addq $0x48, %r14
movq %rax, %r15
cmpq $0x9, %rax
jne 0x36c4
movl $0x9, %r15d
movl $0x9, %r12d
testb $0x1, %bl
je 0x37f8
xorl %r14d, %r14d
xorl %edi, %edi
callq 0x20e0
movq %rax, %rcx
movabsq $0x200000005, %rdx      # imm = 0x200000005
mulq %rdx
movq %rcx, %rax
subq %rdx, %rax
shrq %rax
addq %rdx, %rax
shrq $0x1e, %rax
movq %rax, %rdx
shlq $0x1f, %rdx
subq %rdx, %rax
leaq (%rcx,%rax), %rdx
cmpq $0x1, %rdx
adcq %rcx, %rax
movq %rax, 0x18(%rsp)
movabsq $0x900000001, %rax      # imm = 0x900000001
movq %rax, 0x20(%rsp)
movq 0x8(%rsp), %rax
cmpl $0x1, (%rax)
jg 0x37ff
movslq %r15d, %rax
movslq %r12d, %rcx
leaq (%rax,%rax,8), %rax
movq 0x10(%rsp), %rdx
leaq (%rdx,%rax,8), %rax
leaq (%rax,%rcx,8), %r13
leaq 0x20(%rsp), %rbp
movq %rbp, %rdi
leaq 0x18(%rsp), %rsi
movq %rbp, %rdx
callq 0x38d4
movl %eax, %ebx
movq 0x10(%rsp), %rdi
movl %eax, %esi
movl %r15d, %edx
movl %r12d, %ecx
callq 0x33df
testb %al, %al
je 0x37d1
movq %r13, %rdi
movl %ebx, %esi
xorl %edx, %edx
callq 0x234c
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x36a4
movq %r13, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0x1, %edx
callq 0x234c
cmpl $0x7, %r14d
ja 0x37ff
incl %r14d
movq 0x8(%rsp), %rax
cmpl $0x2, (%rax)
jl 0x378e
jmp 0x37ff
movq 0x8(%rsp), %rax
incl (%rax)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/bestcoder12[P]Sudoku_Game/sudokusolver.cpp
// Function: s_brd::Sudoku::cell_remover()
void Sudoku::cell_remover()
{	
	this->init_gridPos();
	for (int i = 0; i < 81 - filled; i++)
	{
		int x = gridPos[i]/9;
		int y = gridPos[i]%9;
		int temp_num = this->board[x][y].get_Int();
		this->board[x][y].set_Val(-1,true);

		int numSols = 0;
		count_Sols(numSols);

		if (numSols != 1)
		{
			this->board[x][y].set_Val(temp_num,false);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
callq 0x3624
cmpl $0x50, 0x288(%rbx)
jg 0x38c6
xorl %r12d, %r12d
leaq 0xc(%rsp), %r14
movslq 0x514(%rbx,%r12,4), %rax
imulq $0x38e38e39, %rax, %rcx # imm = 0x38E38E39
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,8), %edx
subl %edx, %eax
movslq %ecx, %rcx
cltq
leaq (%rcx,%rcx,8), %rcx
leaq (%rbx,%rcx,8), %rcx
leaq (%rcx,%rax,8), %r15
movq %r15, %rdi
callq 0x2352
movl %eax, %ebp
movq %r15, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0x1, %edx
callq 0x234c
movl $0x0, 0xc(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x36a4
cmpl $0x1, 0xc(%rsp)
je 0x38ab
movq %r15, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x234c
incq %r12
movslq 0x288(%rbx), %rax
movl $0x51, %ecx
subq %rax, %rcx
cmpq %rcx, %r12
jl 0x3837
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/ninjabear[P]dr-doom/src/main.cpp
// Function: get_mode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
Mode get_mode(string& str) {
    if (str == "-h" || str == "--help") {
        return help;
    }

    if (str == "-v" || str == "--version") {
        return version;
    }

    if (str == "memory-cannon") {
        return memory;
    }

    if (str == "fork-bomb") {
        return fork_proc;
    }

    if (str == "halt-catch-fire") {
        return cpu;
    }

    if (str == "too-many-file-handles") {
        return file_handles;
    }

    if (str == "thread-bomb") {
        return thread_b;
    }

    return unknown;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x2700(%rip), %rsi      # 0x5132
callq 0x2070
movl $0x5, %ebp
testl %eax, %eax
je 0x2b0f
leaq 0x269f(%rip), %rsi      # 0x50ea
movq %rbx, %rdi
callq 0x2070
testl %eax, %eax
je 0x2b0f
leaq 0x26d3(%rip), %rsi      # 0x5135
movq %rbx, %rdi
callq 0x2070
movl $0x6, %ebp
testl %eax, %eax
je 0x2b0f
leaq 0x268a(%rip), %rsi      # 0x5108
movq %rbx, %rdi
callq 0x2070
testl %eax, %eax
je 0x2b0f
leaq 0x25b4(%rip), %rsi      # 0x5049
movq %rbx, %rdi
callq 0x2070
testl %eax, %eax
je 0x2af8
leaq 0x25b7(%rip), %rsi      # 0x505f
movq %rbx, %rdi
callq 0x2070
testl %eax, %eax
je 0x2afc
leaq 0x25b6(%rip), %rsi      # 0x5071
movq %rbx, %rdi
callq 0x2070
testl %eax, %eax
je 0x2b03
leaq 0x25bb(%rip), %rsi      # 0x5089
movq %rbx, %rdi
callq 0x2070
testl %eax, %eax
je 0x2b0a
leaq 0x25c6(%rip), %rsi      # 0x50a7
movq %rbx, %rdi
callq 0x2070
xorl %ecx, %ecx
testl %eax, %eax
setne %cl
leal (%rcx,%rcx,4), %ebp
addl $0x2, %ebp
jmp 0x2b0f
xorl %ebp, %ebp
jmp 0x2b0f
movl $0x1, %ebp
jmp 0x2b0f
movl $0x4, %ebp
jmp 0x2b0f
movl $0x3, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/ninjabear[P]dr-doom/src/cpu.cpp
// Function: consume_cpu()
void consume_cpu() {
    int max_cores = std::thread::hardware_concurrency();

    std::thread threads[max_cores];

    for (int i=0; i<max_cores; i++) {
        threads[i] = std::thread(consume_thread);
    }

    for (int i=0; i<max_cores; i++) { // this will never complete
        threads[i].join();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
callq 0x2250
movl %eax, %r12d
movq %rsp, %rbx
leaq 0xf(,%r12,8), %rcx
andq $-0x10, %rcx
subq %rcx, %rbx
movq %rbx, %rsp
testl %eax, %eax
je 0x3229
leaq (,%r12,8), %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x20f0
testl %r12d, %r12d
jle 0x325e
xorl %r13d, %r13d
leaq 0x8e(%rip), %r14        # 0x32c6
leaq -0x30(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x32c6
cmpq $0x0, (%rbx,%r13,8)
jne 0x32c1
movq -0x30(%rbp), %rax
movq %rax, (%rbx,%r13,8)
incq %r13
cmpq %r13, %r12
jne 0x323c
testl %r12d, %r12d
jle 0x327a
movq %r12, %r15
movq %rbx, %r14
movq %r14, %rdi
callq 0x22f0
addq $0x8, %r14
decq %r15
jne 0x3269
testq %r12, %r12
je 0x3291
shlq $0x3, %r12
cmpq $0x0, -0x8(%rbx,%r12)
jne 0x32c1
addq $-0x8, %r12
jne 0x3283
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x32a2
testq %r12, %r12
je 0x32b9
shlq $0x3, %r12
cmpq $0x0, -0x8(%rbx,%r12)
jne 0x32c1
addq $-0x8, %r12
jne 0x32ab
movq %rax, %rdi
callq 0x2320
callq 0x2060
// File: /workspace/github_cpp_makefile_star2_O1/ninjabear[P]dr-doom/src/memory.cpp
// Function: mt_consume_memory()
void mt_consume_memory() {   
    int max_cores = std::thread::hardware_concurrency();

    std::thread threads[max_cores];

    for (int i=0; i<max_cores; i++) {
        threads[i] = std::thread(consume_memory);
    }

    for (int i=0; i<max_cores; i++) { 
        threads[i].join();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
callq 0x2250
movl %eax, %r12d
movq %rsp, %rbx
leaq 0xf(,%r12,8), %rcx
andq $-0x10, %rcx
subq %rcx, %rbx
movq %rbx, %rsp
testl %eax, %eax
je 0x38c5
leaq (,%r12,8), %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x20f0
testl %r12d, %r12d
jle 0x38fa
xorl %r13d, %r13d
leaq 0x8e(%rip), %r14        # 0x3962
leaq -0x30(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x32c6
cmpq $0x0, (%rbx,%r13,8)
jne 0x395d
movq -0x30(%rbp), %rax
movq %rax, (%rbx,%r13,8)
incq %r13
cmpq %r13, %r12
jne 0x38d8
testl %r12d, %r12d
jle 0x3916
movq %r12, %r15
movq %rbx, %r14
movq %r14, %rdi
callq 0x22f0
addq $0x8, %r14
decq %r15
jne 0x3905
testq %r12, %r12
je 0x392d
shlq $0x3, %r12
cmpq $0x0, -0x8(%rbx,%r12)
jne 0x395d
addq $-0x8, %r12
jne 0x391f
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x393e
testq %r12, %r12
je 0x3955
shlq $0x3, %r12
cmpq $0x0, -0x8(%rbx,%r12)
jne 0x395d
addq $-0x8, %r12
jne 0x3947
movq %rax, %rdi
callq 0x2320
callq 0x2060
// File: /workspace/github_cpp_makefile_star2_O1/nmmmnu[P]HM3/net/test/test_redisprotocol.cc
// Function: main
int main(){
	net::protocol::RedisProtocol p;

	test(p, "*3\r\n$3\r\nSET\r\n$4\r\ncity\r\n$5\r\nSofia\r\n");

	test(p, "*2\r\n$3\r\nGET\r\n$4\r\ncity\r\n");

	test(p, "*92\r\n$3\r\nGET\r\n$4\r\ncity\r\n");
	test(p, "$2\r\n$3\r\nGET\r\n$4\r\ncity\r\n");
	test(p, "*2\r\n*3\r\nGET\r\n$4\r\ncity\r\n");

#if 0
	using Status = net::protocol::RedisProtocol::Status;

	const char *data = "*3\r\n$3\r\nSET\r\n$4\r\ncity\r\n$5\r\nSofia\r\n";

	for(int i = 0; i < 2500000; ++i){
		const auto &status = p(data);

		if (status == Status::BUFFER_NOT_READ)
			std::cout << "problem" << '\n';
	}
#endif
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x1302
leaq 0xd8f(%rip), %rsi       # 0x2004
movq %rbx, %rdi
callq 0x1348
leaq 0xda3(%rip), %rsi       # 0x2027
leaq 0x8(%rsp), %rdi
callq 0x1348
leaq 0xdaa(%rip), %rsi       # 0x203f
leaq 0x8(%rsp), %rdi
callq 0x1348
leaq 0xdb2(%rip), %rsi       # 0x2058
leaq 0x8(%rsp), %rdi
callq 0x1348
leaq 0xdb9(%rip), %rsi       # 0x2070
leaq 0x8(%rsp), %rdi
callq 0x1348
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x12d8
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x1090
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x12fa
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x1090
movq %rbx, %rdi
callq 0x10e0
// File: /workspace/github_cpp_makefile_star2_O1/nmmmnu[P]HM3/net/test/test_redisprotocol.cc
// Function: void test<net::protocol::RedisProtocol>(net::protocol::RedisProtocol&, char const*)
void test(PROTOCOL &p, const char *data){
	using Status = typename PROTOCOL::Status;

	const Status status = p(data);

	std::cout	<< "Result status: " << test_status(status) << '\n'
			<< '\n'
	;

	if (status == Status::OK)
		p.print();

	std::cout	<< "---(eof)---" << '\n'
			<< '\n'
	;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
testq %rsi, %rsi
je 0x1369
movq %rsi, %r15
movq %rsi, %rdi
callq 0x1040
jmp 0x1372
leaq 0xcb6(%rip), %r15       # 0x2026
xorl %eax, %eax
movq %rsp, %r14
movq %rax, (%r14)
movq %r15, 0x8(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1586
movl %eax, %ebp
movq 0x2c48(%rip), %r15      # 0x3fd8
leaq 0xd01(%rip), %rsi       # 0x2098
movl $0xf, %edx
movq %r15, %rdi
callq 0x10a0
cmpl $0x1, %ebp
leaq 0xd09(%rip), %rax       # 0x20b7
leaq 0xd07(%rip), %rcx       # 0x20bc
cmoveq %rax, %rcx
testl %ebp, %ebp
leaq 0xcf2(%rip), %r12       # 0x20b4
cmovneq %rcx, %r12
movq %r12, %rdi
callq 0x1040
movq %r15, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x10a0
movb $0xa, %r12b
movb %r12b, (%r14)
movq %rsp, %r14
movl $0x1, %edx
movq %r15, %rdi
movq %r14, %rsi
callq 0x10a0
movb %r12b, (%r14)
movq %rsp, %rsi
movl $0x1, %edx
movq %rax, %rdi
callq 0x10a0
testl %ebp, %ebp
jne 0x1414
movq %rbx, %rdi
callq 0x152c
movq 0x2bbd(%rip), %rbx      # 0x3fd8
leaq 0xc86(%rip), %rsi       # 0x20a8
movl $0xb, %edx
movq %rbx, %rdi
callq 0x10a0
movq %rsp, %r14
movb %r12b, (%r14)
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10a0
movb %r12b, (%r14)
movq %rsp, %rsi
movl $0x1, %edx
movq %rax, %rdi
callq 0x10a0
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/slafi[P]EventSystem/EventSystem/src/event.cpp
// Function: Events::Event::raise_event(Events::EventArgs*)
void Event::raise_event(EventArgs* args) {
		vector<unique_ptr<EventHandler>>::iterator func = this->_subscribed_handlers.begin();
		for (; func != this->_subscribed_handlers.end(); ++func) {
			if (*func != nullptr && (*func)->_id != 0) {
				(*func)->set_event_args(args);
				(*(*func))((*func)->get_event_args());
#if DEBUG_ENABLED
				std::cout << "Notifying event handler #: " << (*func)->_id << std::endl;
#endif
			}
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq (%rdi), %r12
cmpq 0x8(%rdi), %r12
je 0x36be
movq %rsi, %rbx
movq %rdi, %r14
movq (%r12), %rdi
testq %rdi, %rdi
je 0x36b4
cmpl $0x0, 0x28(%rdi)
je 0x36b4
movq %rbx, %rsi
callq 0x3bbe
movq (%r12), %r15
movq %r15, %rdi
callq 0x3afe
movq %r15, %rdi
movq %rax, %rsi
callq 0x3ad4
addq $0x8, %r12
cmpq 0x8(%r14), %r12
jne 0x3686
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/slafi[P]EventSystem/EventSystem/src/event.cpp
// Function: Events::Event::remove_handler(Events::EventHandler const&)
void Event::remove_handler(const EventHandler &handler) {
		vector<unique_ptr<EventHandler>>::iterator to_remove = this->_subscribed_handlers.begin();
		for (; to_remove != this->_subscribed_handlers.end(); ++to_remove) {
			if (*(*to_remove) == handler) {
#if DEBUG_ENABLED
				std::cout << "Removing event handler #: " << (*to_remove)->_id << std::endl;
#endif
				this->_subscribed_handlers.erase(to_remove);
				break;
			}
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq (%rdi), %r12
cmpq 0x8(%rdi), %r12
je 0x37a2
movq %rsi, %r14
movq %rdi, %rbx
movq %r12, %r15
negq %r15
movq (%r12), %rdi
movq %r14, %rsi
callq 0x3ba0
testb %al, %al
jne 0x37ab
addq $0x8, %r12
addq $-0x8, %r15
cmpq 0x8(%rbx), %r12
jne 0x3784
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
negq %r15
movq %rbx, %rdi
movq %r15, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x3a1e
nop
// File: /workspace/github_cpp_makefile_star2_O1/slafi[P]EventSystem/EventSystem/src/event_handler.cpp
// Function: Events::EventHandler::operator=(Events::EventHandler const&)
void EventHandler::operator=(const EventHandler &callback_func) {
		if (this->_callback_func == nullptr) {
			this->_callback_func = callback_func;
			this->_id = ++EventHandler::_witness_counter;
		}
		else {
			// Throw an exception to complain!
#if DEBUG_ENABLED
			std::cerr << "You cannot assign the event handler function again." << std::endl;
#endif
			throw new EventHandlerException("You cannot assign the event handler function again.");
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpq $0x0, 0x10(%rdi)
jne 0x3b3d
movq %rdi, %rbx
callq 0x3bc8
movl 0x4629(%rip), %eax      # 0x8150
incl %eax
movl %eax, 0x4621(%rip)      # 0x8150
movl %eax, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x8, %edi
callq 0x20a0
movq %rax, %rbx
movl $0x10, %edi
callq 0x2190
movq %rax, %r14
leaq 0x16fe(%rip), %rsi      # 0x525c
movq %rax, %rdi
callq 0x3f78
movq %r14, (%rbx)
leaq 0x41d0(%rip), %rsi      # 0x7d40
movq %rbx, %rdi
xorl %edx, %edx
callq 0x2210
movq %rax, %r15
movl $0x10, %esi
movq %r14, %rdi
callq 0x21a0
jmp 0x3b8f
movq %rax, %r15
movq %rbx, %rdi
callq 0x2110
movq %r15, %rdi
callq 0x2230
nop
// File: /workspace/github_cpp_makefile_star2_O1/slafi[P]EventSystem/EventSystem/src/event_args.cpp
// Function: Events::EventArgs::EventArgs()
EventArgs::EventArgs()
	{
		set_event_type(0);
		set_args(nullptr);

		// Assign timestamp automatically
		set_timestamp(format_timestamp());
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq 0x10(%rdi), %rbx
leaq 0x20(%rdi), %r15
movq %r15, 0x10(%rdi)
xorl %eax, %eax
movq %rax, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
movl $0x0, (%rdi)
movq %rax, 0x8(%rdi)
leaq -0x38(%rbp), %rdi
callq 0x3faa
leaq -0x38(%rbp), %rsi
movq %rbx, %rdi
callq 0x20c0
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3e2f
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x21a0
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3e5b
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x21a0
jmp 0x3e5b
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x3e6e
movq (%r15), %rsi
incq %rsi
callq 0x21a0
movq %r14, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O1/slafi[P]EventSystem/EventSystem/src/event_args.cpp
// Function: Events::EventArgs::EventArgs(int, std::map<int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<int>, std::allocator<std::pair<int const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>*)
EventArgs::EventArgs(int event_type, std::map<int, string>* args)
	{
		set_event_type(event_type);
		set_args(args);
		
		// Assign timestamp automatically
		set_timestamp(format_timestamp());
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq 0x10(%rdi), %rbx
leaq 0x20(%rdi), %r15
movq %r15, 0x10(%rdi)
movq $0x0, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
movl %esi, (%rdi)
movq %rdx, 0x8(%rdi)
leaq -0x38(%rbp), %rdi
callq 0x3faa
leaq -0x38(%rbp), %rsi
movq %rbx, %rdi
callq 0x20c0
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3eef
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x21a0
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3f1b
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x21a0
jmp 0x3f1b
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x3f2e
movq (%r15), %rsi
incq %rsi
callq 0x21a0
movq %r14, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O1/slafi[P]EventSystem/EventSystem/src/utils.cpp
// Function: Events::format_timestamp[abi:cxx11]()
std::string format_timestamp()
	{
		time_t rawtime;
		struct tm * timeInfo;
		char buffer[80];

		time(&rawtime);
		timeInfo = localtime(&rawtime);

		strftime(buffer, sizeof(buffer), "%d-%m-%Y %H:%M:%S", timeInfo);
		std::string str(buffer);

		return str;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq %rdi, %rbx
leaq -0x18(%rbp), %r14
movq %r14, %rdi
callq 0x2170
movq %r14, %rdi
callq 0x2120
leaq 0x12f7(%rip), %rdx      # 0x52ca
leaq -0x70(%rbp), %r14
movl $0x50, %esi
movq %r14, %rdi
movq %rax, %rcx
callq 0x2140
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x2090
leaq (%rax,%rbp), %rdx
addq $-0x70, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2fac
movq %rbx, %rax
addq $0x60, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/XuhuiSun95[P]Ticket-Booking-Service/client/ClientSocket.cpp
// Function: ClientSocket::Init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int const&)
void ClientSocket::Init(const std::string &ipaddress, const int &port) {

    if((mSockfd = socket(AF_INET, SOCK_STREAM, 0))<0) {
        std::cout << "Socket creation error" << std::endl;
        return;
    }
    memset(&mAddress, '0', sizeof(mAddress));

    mAddress.sin_family = AF_INET;
    mAddress.sin_port = htons(port);

    if(inet_pton(AF_INET, ipaddress.c_str(), &mAddress.sin_addr)<=0) {
        std::cout << "Invalid address/ Address not supported" << std::endl;
        return;
    }

    if(connect(mSockfd, (struct sockaddr *)&mAddress, sizeof(mAddress))<0) {
        std::cout << "Connection Failed" << std::endl;
        return;
    }

    mValid = true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movl $0x2, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x2050
movl %eax, 0x4(%rbx)
testl %eax, %eax
js 0x24f6
movaps 0x1b68(%rip), %xmm0     # 0x4010
movups %xmm0, 0xc(%rbx)
movw $0x2, 0xc(%rbx)
movzwl (%r15), %eax
rolw $0x8, %ax
movw %ax, 0xe(%rbx)
movq (%r14), %rsi
leaq 0x10(%rbx), %rdx
movl $0x2, %edi
callq 0x2270
testl %eax, %eax
jle 0x250b
leaq 0xc(%rbx), %rsi
movl 0x4(%rbx), %edi
movl $0x10, %edx
callq 0x2140
testl %eax, %eax
js 0x2520
movb $0x1, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x3ad3(%rip), %rbx      # 0x5fd0
leaq 0x1b1c(%rip), %rsi      # 0x4020
movl $0x15, %edx
jmp 0x2533
movq 0x3abe(%rip), %rbx      # 0x5fd0
leaq 0x1b1d(%rip), %rsi      # 0x4036
movl $0x26, %edx
jmp 0x2533
movq 0x3aa9(%rip), %rbx      # 0x5fd0
leaq 0x1b2f(%rip), %rsi      # 0x405d
movl $0x11, %edx
movq %rbx, %rdi
callq 0x21b0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2100
// File: /workspace/github_cpp_makefile_star2_O1/XuhuiSun95[P]Ticket-Booking-Service/client/ClientSocket.cpp
// Function: ClientSocket::RequestTicket(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void ClientSocket::RequestTicket(const std::string &message) {

    //  Delay 5 second to simulate the time for message passing
    std::cout << "Request send" << std::endl;
    std::this_thread::sleep_for(std::chrono::seconds(5));
    send(mSockfd, message.c_str(), message.length(), 0);

    mValread = read(mSockfd, buffer, 1024);
    std::cout << buffer << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r15
movq %rdi, %r14
movq 0x3a40(%rip), %rbx      # 0x5fd0
leaq 0x1ad8(%rip), %rsi      # 0x406f
movl $0xc, %edx
movq %rbx, %rdi
callq 0x21b0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq -0x30(%rbp), %r12
movq $0x5, (%r12)
movq $0x0, 0x8(%r12)
movq %r12, %rdi
movq %r12, %rsi
callq 0x2070
cmpl $-0x1, %eax
jne 0x25fa
callq 0x2040
cmpl $0x4, (%rax)
je 0x25e0
movl 0x4(%r14), %edi
movq (%r15), %rsi
movq 0x8(%r15), %rdx
xorl %ecx, %ecx
callq 0x20b0
movl 0x4(%r14), %edi
leaq 0x1c(%r14), %r15
movl $0x400, %edx            # imm = 0x400
movq %r15, %rsi
callq 0x21e0
movl %eax, 0x8(%r14)
movq %r15, %rdi
callq 0x20a0
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x21b0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/XuhuiSun95[P]Ticket-Booking-Service/client/UserInterface.cpp
// Function: UserInterface::UserInterface()
UserInterface::UserInterface() {

    std::cout << "==================================================" << std::endl;
    std::cout << "||"
              << std::setw(30) << std::right << "User Interface" 
              << std::setw(18) << std::right << "||" << std::endl;
    std::cout << "==================================================" << std::endl;

    mQuit = false;
    mServers = -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %r14
leaq 0x8(%rdi), %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movq $0x0, 0x18(%rdi)
movq 0x3928(%rip), %r15      # 0x5fd0
leaq 0x19cd(%rip), %rsi      # 0x407c
movl $0x32, %edx
movq %r15, %rdi
callq 0x21b0
movq (%r15), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq 0x38f6(%rip), %rdi      # 0x5fd0
callq 0x2030
movq %rax, %rdi
callq 0x2100
movq 0x38e2(%rip), %r15      # 0x5fd0
leaq 0x19ba(%rip), %rsi      # 0x40af
movl $0x2, %edx
movq %r15, %rdi
callq 0x21b0
movq (%r15), %rax
movq -0x18(%rax), %rcx
movq $0x1e, 0x10(%r15,%rcx)
movq -0x18(%rax), %rax
movl $0xffffff4f, %r12d      # imm = 0xFFFFFF4F
movl 0x18(%r15,%rax), %ecx
andl %r12d, %ecx
orl $0x80, %ecx
movl %ecx, 0x18(%r15,%rax)
leaq 0x197c(%rip), %rsi      # 0x40b2
movl $0xe, %edx
movq %r15, %rdi
callq 0x21b0
movq (%r15), %rax
movq -0x18(%rax), %rcx
movq $0x12, 0x10(%r15,%rcx)
movq -0x18(%rax), %rax
andl 0x18(%r15,%rax), %r12d
orl $0x80, %r12d
movl %r12d, 0x18(%r15,%rax)
leaq 0x1940(%rip), %rsi      # 0x40af
movl $0x2, %edx
movq %r15, %rdi
callq 0x21b0
movq (%r15), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq 0x3836(%rip), %rdi      # 0x5fd0
callq 0x2030
movq %rax, %rdi
callq 0x2100
movq 0x3822(%rip), %r15      # 0x5fd0
leaq 0x18c7(%rip), %rsi      # 0x407c
movl $0x32, %edx
movq %r15, %rdi
callq 0x21b0
movq (%r15), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq 0x37f0(%rip), %rdi      # 0x5fd0
callq 0x2030
movq %rax, %rdi
callq 0x2100
movb $0x0, (%r14)
movl $0xffffffff, 0x4(%r14)  # imm = 0xFFFFFFFF
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x328a
movq %r14, %rdi
callq 0x2240
nop
// File: /workspace/github_cpp_makefile_star2_O1/XuhuiSun95[P]Ticket-Booking-Service/client/UserInterface.cpp
// Function: UserInterface::Run()
void UserInterface::Run() {

    int opt = -1;

    while(!mQuit) {

        while(mServers<1)
            Init();

        OptionMessage();
        std::cin >> opt;
        if(!std::cin.good()) {

            std::cout << "Unknow option! Please enter again." << std::endl;
            std::cin.clear();
            std::cin.ignore(INT_MAX, '\n');
            continue;
        }

        switch(opt) {
            case 1:
                BuyTickets();
                break;
            case 2:
                mQuit = true;
                break;
            default:
                std::cout << "Unknow option! Please enter again." << std::endl;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $0xffffffff, -0x2c(%rbp) # imm = 0xFFFFFFFF
cmpb $0x0, (%rdi)
je 0x284d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdi, %rbx
movq 0x3789(%rip), %r14      # 0x5fe0
leaq -0x2c(%rbp), %r15
movq 0x376e(%rip), %r12      # 0x5fd0
leaq 0x1858(%rip), %r13      # 0x40c1
cmpl $0x0, 0x4(%rbx)
jg 0x2879
movq %rbx, %rdi
callq 0x2958
jmp 0x2869
callq 0x2d0e
movq %r14, %rdi
movq %r15, %rsi
callq 0x20e0
movq (%r14), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x20(%r14,%rax)
je 0x2901
movl $0x22, %edx
movq %r12, %rdi
movq %r13, %rsi
callq 0x21b0
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
xorl %esi, %esi
callq 0x2210
movl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
movq %r14, %rdi
movl $0xa, %edx
callq 0x20f0
cmpb $0x0, (%rbx)
je 0x2869
jmp 0x283e
movl -0x2c(%rbp), %eax
cmpl $0x2, %eax
je 0x2918
cmpl $0x1, %eax
jne 0x291d
movq %rbx, %rdi
callq 0x2de6
jmp 0x28f3
movb $0x1, (%rbx)
jmp 0x28f3
movl $0x22, %edx
movq %r12, %rdi
movq %r13, %rsi
callq 0x21b0
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
jmp 0x28f3
nop
// File: /workspace/github_cpp_makefile_star2_O1/XuhuiSun95[P]Ticket-Booking-Service/client/UserInterface.cpp
// Function: UserInterface::OptionMessage()
void UserInterface::OptionMessage() {

    std::cout << std::endl;
    std::cout << "1. Purchase Tickets" << std::endl;
    std::cout << "2. Quit" << std::endl;
    std::cout << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq 0x32b5(%rip), %rbx      # 0x5fd0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0x1438(%rip), %rsi      # 0x4181
movl $0x13, %edx
movq %rbx, %rdi
callq 0x21b0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0x1411(%rip), %rsi      # 0x4195
movl $0x7, %edx
movq %rbx, %rdi
callq 0x21b0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x2100
nop
// File: /workspace/github_cpp_makefile_star2_O1/XuhuiSun95[P]Ticket-Booking-Service/client/main.cpp
// Function: main
int main(int argc, char* argv[]) {

    UserInterface* user = new UserInterface();

    user->Run();

    delete user;

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl $0x20, %edi
callq 0x21a0
movq %rax, %rbx
movq %rax, %rdi
callq 0x2680
movq %rbx, %rdi
callq 0x2824
movq %rbx, %rdi
callq 0x2816
movq %rbx, %rdi
callq 0x2180
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x2180
movq %r14, %rdi
callq 0x2240
// File: /workspace/github_cpp_makefile_star2_O1/zgimbutas[P]mwrap/src/mwrap-ast.cc
// Function: print(_IO_FILE*, Expr*)
void print(FILE* fp, Expr* e)
{
    if (!e)
        return;
    fprintf(fp, "%s", e->value);
    if (e->next) {
        fprintf(fp, ", ");
        print(fp, e->next);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xfab0(%rip), %r15      # 0x15bd4
testq %rbx, %rbx
je 0x6157
movq 0x8(%rbx), %rdi
movq %r14, %rsi
callq 0x31d0
cmpq $0x0, 0x10(%rbx)
je 0x6157
movl $0x2, %esi
movl $0x1, %edx
movq %r15, %rdi
movq %r14, %rcx
callq 0x3370
movq 0x10(%rbx), %rbx
jmp 0x6124
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/zgimbutas[P]mwrap/src/mwrap-ast.cc
// Function: print(_IO_FILE*, TypeQual*)
void print(FILE* fp, TypeQual* q)
{
    if (!q)
        return;
    if (q->qual == 'a') {
        fprintf(fp, "[");
        print(fp, q->args);
        fprintf(fp, "]");
    } else
        fprintf(fp, "%c", q->qual);
}

// Assembly:
testq %rsi, %rsi
je 0x61a6
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movsbl (%rsi), %edi
cmpl $0x61, %edi
jne 0x619a
movl $0x5b, %edi
movq %rbx, %rsi
callq 0x3230
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x610d
movl $0x5d, %edi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x3230
retq
// File: /workspace/github_cpp_makefile_star2_O1/zgimbutas[P]mwrap/src/mwrap-ast.cc
// Function: print_args(_IO_FILE*, Var*)
void print_args(FILE* fp, Var* v)
{
    if (!v)
        return;
    print_devicespec(fp, v);
    print_iospec(fp, v);
    print_var(fp, v);
    if (v->next) {
        fprintf(fp, ", ");
        print_args(fp, v->next);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x78a2(%rip), %r15      # 0xdb01
leaq 0xf96e(%rip), %r12      # 0x15bd4
testq %rbx, %rbx
je 0x62be
cmpb $0x67, 0x9(%rbx)
jne 0x6286
movl $0x4, %esi
movl $0x1, %edx
movq %r15, %rdi
movq %r14, %rcx
callq 0x3370
movq %r14, %rdi
movq %rbx, %rsi
callq 0x61cd
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6209
cmpq $0x0, 0x30(%rbx)
je 0x62be
movl $0x2, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %r14, %rcx
callq 0x3370
movq 0x30(%rbx), %rbx
jmp 0x6266
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/zgimbutas[P]mwrap/src/mwrap-ast.cc
// Function: print(_IO_FILE*, Func*)
void print(FILE* fp, Func* f)
{
    if (!f)
        return;
    if (f->ret) {
        print_var(fp, f->ret);
        fprintf(fp, " = ");
    }
    if (f->thisv)
        fprintf(fp, "%s->%s.", f->thisv, f->classv);
    fprintf(fp, "%s(", f->funcv);
    print_args(fp, f->args);
    fprintf(fp, ");\n");
}

// Assembly:
testq %rsi, %rsi
je 0x6363
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x50(%rsi), %rsi
testq %rsi, %rsi
je 0x6307
movq %rbx, %rdi
callq 0x6209
leaq 0xf73a(%rip), %rdi      # 0x15a2f
movl $0x3, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x3370
movq 0x30(%r14), %rdx
testq %rdx, %rdx
je 0x6325
movq 0x38(%r14), %rcx
leaq 0x77fa(%rip), %rsi      # 0xdb15
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3270
movq 0x40(%r14), %rdx
leaq 0xf694(%rip), %rsi      # 0x159c4
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3270
movq 0x48(%r14), %rsi
movq %rbx, %rdi
callq 0x6247
leaq 0x105ce(%rip), %rdi     # 0x1691b
movl $0x3, %esi
movl $0x1, %edx
movq %rbx, %rcx
popq %rbx
popq %r14
popq %rbp
jmp 0x3370
retq
// File: /workspace/github_cpp_makefile_star2_O1/zgimbutas[P]mwrap/src/mwrap-ast.cc
// Function: id_string[abi:cxx11](TypeQual*)
string id_string(TypeQual* q)
{
    if (!q)
        return "";
    if (q->qual == 'a')
        return "[" + id_string(q->args) + "]";
    else
        return (string() + q->qual);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
testq %rsi, %rsi
je 0x64a9
movb (%rsi), %al
cmpb $0x61, %al
jne 0x64c7
movq 0x8(%rsi), %rsi
leaq -0x50(%rbp), %r14
movq %r14, %rdi
callq 0x6364
leaq 0x768a(%rip), %rcx      # 0xdafd
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x31e0
leaq -0x20(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6513
movq %rdx, -0x30(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x20(%rbp)
jmp 0x651a
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0xddc0(%rip), %rdx      # 0x14277
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x6cf6
jmp 0x65da
leaq -0x20(%rbp), %r14
movq %r14, -0x10(%r14)
movq $0x0, -0x8(%r14)
movb $0x0, (%r14)
movsbl %al, %r8d
leaq -0x30(%rbp), %rdi
movl $0x1, %ecx
xorl %esi, %esi
xorl %edx, %edx
callq 0x3340
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x6563
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x6569
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq -0x30(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x75c3(%rip), %rsi      # 0xdaff
callq 0x3360
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x658f
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x6595
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0x65da
movq -0x20(%rbp), %rsi
jmp 0x65d2
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0x65c1
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x3180
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x65da
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3180
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0x6615
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x3180
jmp 0x6615
movq %rax, %rbx
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0x662e
movq -0x20(%rbp), %rsi
jmp 0x6626
movq %rax, %rbx
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x662e
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3180
movq %rbx, %rdi
callq 0x32f0
// File: /workspace/github_cpp_makefile_star2_O1/zgimbutas[P]mwrap/src/mwrap-ast.cc
// Function: id_string[abi:cxx11](Var*)
string id_string(Var* v)
{
    if (!v)
        return "";

    string name;
    if (v->devicespec == 'c')
        name += "c ";
    else if (v->devicespec == 'g')
        name += "g ";

    if (v->iospec == 'i')
        name += "i ";
    else if (v->iospec == 'o')
        name += "o ";
    else
        name += "io ";
    name += promote_int(v->basetype);
    name += id_string(v->qual);
    if (v->tinfo == VT_const) {
        name += " ";
        name += v->name;
    }
    if (v->next) {
        name += ", ";
        name += id_string(v->next);
    }
    return name;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
testq %rsi, %rsi
je 0x667a
movq %rsi, %r14
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
movzbl 0x9(%rsi), %eax
cmpl $0x67, %eax
je 0x6691
cmpl $0x63, %eax
jne 0x66a0
leaq 0x74a5(%rip), %rsi      # 0xdb1d
jmp 0x6698
leaq 0xdbf6(%rip), %rdx      # 0x14277
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x6cf6
jmp 0x6782
leaq 0x7488(%rip), %rsi      # 0xdb20
movq %rbx, %rdi
callq 0x3360
movb 0x8(%r14), %al
cmpb $0x6f, %al
leaq 0x747a(%rip), %rcx      # 0xdb27
leaq 0x7472(%rip), %rdx      # 0xdb26
cmoveq %rcx, %rdx
cmpb $0x69, %al
leaq 0x7462(%rip), %rsi      # 0xdb23
cmovneq %rdx, %rsi
movq %rbx, %rdi
callq 0x3360
movq 0x10(%r14), %rdi
callq 0x598c
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3360
movq 0x18(%r14), %rsi
leaq -0x40(%rbp), %rdi
callq 0x6443
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
movq %rbx, %rdi
callq 0x30b0
leaq -0x30(%rbp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x6718
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3180
cmpl $0x13, 0x20(%r14)
jne 0x673a
leaq 0xf26e(%rip), %rsi      # 0x15994
movq %rbx, %rdi
callq 0x3360
movq 0x28(%r14), %rsi
movq %rbx, %rdi
callq 0x3360
cmpq $0x0, 0x30(%r14)
je 0x6782
leaq 0xf48c(%rip), %rsi      # 0x15bd4
movq %rbx, %rdi
callq 0x3360
movq 0x30(%r14), %rsi
leaq -0x40(%rbp), %rdi
callq 0x6636
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
movq %rbx, %rdi
callq 0x30b0
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x6782
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3180
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
jne 0x67b2
jmp 0x67c5
jmp 0x67c2
movq %rax, %r14
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x67c5
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x3180
jmp 0x67c5
jmp 0x67c2
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x67d8
movq (%r15), %rsi
incq %rsi
callq 0x3180
movq %r14, %rdi
callq 0x32f0
// File: /workspace/github_cpp_makefile_star2_O1/zgimbutas[P]mwrap/src/mwrap-ast.cc
// Function: id_string[abi:cxx11](Func*)
string id_string(Func* f)
{
    if (!f)
        return "";

    string name;
    if (f->ret) {
        name += id_string(f->ret);
        name += " = ";
    }
    if (f->thisv) {
        name += f->thisv;
        name += "->";
        name += f->classv;
        name += ".";
    }
    name += f->funcv;
    name += "(";
    name += id_string(f->args);
    name += ")";
    return name;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
testq %rsi, %rsi
je 0x68f6
movq %rsi, %r14
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
movq 0x50(%rsi), %rsi
testq %rsi, %rsi
je 0x6859
leaq -0x38(%rbp), %rdi
callq 0x6636
movq -0x38(%rbp), %rsi
movq -0x30(%rbp), %rdx
movq %rbx, %rdi
callq 0x30b0
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x684a
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3180
leaq 0xf1de(%rip), %rsi      # 0x15a2f
movq %rbx, %rdi
callq 0x3360
movq 0x30(%r14), %rsi
testq %rsi, %rsi
je 0x6894
movq %rbx, %rdi
callq 0x3360
leaq 0xf0a8(%rip), %rsi      # 0x15919
movq %rbx, %rdi
callq 0x3360
movq 0x38(%r14), %rsi
movq %rbx, %rdi
callq 0x3360
leaq 0x728f(%rip), %rsi      # 0xdb1b
movq %rbx, %rdi
callq 0x3360
movq 0x40(%r14), %rsi
movq %rbx, %rdi
callq 0x3360
leaq 0xf1bf(%rip), %rsi      # 0x15a66
movq %rbx, %rdi
callq 0x3360
movq 0x48(%r14), %rsi
leaq -0x38(%rbp), %rdi
callq 0x6636
movq -0x38(%rbp), %rsi
movq -0x30(%rbp), %rdx
movq %rbx, %rdi
callq 0x30b0
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x68e5
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3180
leaq 0x10e44(%rip), %rsi     # 0x17730
movq %rbx, %rdi
callq 0x3360
jmp 0x6908
leaq 0xd97a(%rip), %rdx      # 0x14277
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x6cf6
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x691a
jmp 0x693a
movq %rax, %r14
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x693d
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x3180
jmp 0x693d
jmp 0x693a
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x6950
movq (%r15), %rsi
incq %rsi
callq 0x3180
movq %r14, %rdi
callq 0x32f0
// File: /workspace/github_cpp_makefile_star2_O1/zgimbutas[P]mwrap/src/mwrap-ast.cc
// Function: destroy(Expr*)
void destroy(Expr* e)
{
    if (!e)
        return;
    destroy(e->next);
    delete[] e->value;
    delete e;
}

// Assembly:
testq %rdi, %rdi
je 0x6990
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
callq 0x6958
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x697d
callq 0x3240
movl $0x18, %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x3180
retq
// File: /workspace/github_cpp_makefile_star2_O1/zgimbutas[P]mwrap/src/mwrap-ast.cc
// Function: destroy(Var*)
void destroy(Var* v)
{
    if (!v) 
        return;
    destroy(v->next);
    destroy(v->qual);
    delete[] v->basetype;
    delete[] v->name;
    delete v;
}

// Assembly:
testq %rdi, %rdi
je 0x6a0b
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x69bc
movq 0x18(%rbx), %rdi
callq 0x6991
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x69ea
callq 0x3240
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x69f8
callq 0x3240
movl $0x38, %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x3180
retq
// File: /workspace/github_cpp_makefile_star2_O1/zgimbutas[P]mwrap/src/mwrap-ast.cc
// Function: destroy(Func*)
void destroy(Func* f)
{
    while (f) {
        Func* oldf = f;
        f = f->next;

        destroy(oldf->same_next);
        destroy(oldf->ret);
        if (oldf->thisv)
            delete[] oldf->thisv;
        if (oldf->classv)
            delete[] oldf->classv;
        delete[] oldf->funcv;
        destroy(oldf->args);
        delete oldf;
    }
}

// Assembly:
testq %rdi, %rdi
je 0x6a98
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x58(%rbx), %r14
movq 0x60(%rbx), %rdi
callq 0x6a0c
movq 0x50(%rbx), %rdi
callq 0x69bc
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x6a43
callq 0x3240
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x6a51
callq 0x3240
movq 0x40(%rbx), %rdi
testq %rdi, %rdi
je 0x6a5f
callq 0x3240
movq 0x48(%rbx), %rdi
callq 0x69bc
movq (%rbx), %rdi
leaq 0x10(%rbx), %rax
cmpq %rax, %rdi
je 0x6a7f
movq (%rax), %rsi
incq %rsi
callq 0x3180
movl $0x68, %esi
movq %rbx, %rdi
callq 0x3180
movq %r14, %rbx
testq %r14, %r14
jne 0x6a1f
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/zgimbutas[P]mwrap/src/mwrap-ast.cc
// Function: destroy_inherits()
void destroy_inherits()
{
    map<string,InheritsDecl*>::iterator i = class_decls.begin();
    for (; i != class_decls.end(); ++i) {
        destroy(i->second);
        i->second = NULL;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq 0x1598e(%rip), %rbx     # 0x1c460
leaq 0x15977(%rip), %r14     # 0x1c450
cmpq %r14, %rbx
je 0x6aff
movq 0x40(%rbx), %rdi
callq 0x6a99
movq $0x0, 0x40(%rbx)
movq %rbx, %rdi
callq 0x3110
movq %rax, %rbx
cmpq %r14, %rax
jne 0x6ade
popq %rbx
popq %r14
popq %rbp
retq