// File: /workspace/github_cpp_makefile_star2_O2/Doug0855[P]TigerZone/Board.cpp
// Function: Board::checkPlacement(Tile, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::vector< std::pair<int, int> > Board::checkPlacement(Tile tile, int i, int j, std::string openFaces)
{
	std::vector< std::pair<int, int> > places;
	if (openFaces == "up"){
		for (int ii = 0; ii < 4; ii++)
		{
			// if the bottom face of the tile we're trying to place equals the top face of the tile on the board
			// and it equals the faces of all the other surrounding tiles
			if (m_board[i][j]->getUpFace()->faceEquals(*tile.getDownFace()) &&
				 (m_board[i - 1][j - 1] == NULL || m_board[i - 1][j - 1]->getRightFace()->faceEquals(*tile.getLeftFace())) &&
				 (m_board[i - 1][j + 1] == NULL || m_board[i - 1][j + 1]->getLeftFace()->faceEquals(*tile.getRightFace())) &&
				 (m_board[i - 2][j] == NULL || m_board[i - 2][j]->getDownFace()->faceEquals(*tile.getUpFace())))
			{
				places.push_back(std::pair<int, int>(i - 1, j));
				break;
			}
			tile.rotate();
		}
	}
	else if (openFaces == "down")
	{
		for (int ii = 0; ii < 4; ii++)
		{
			// same thing as above but with down
			if ((m_board[i + 2][j] == NULL || m_board[i + 2][j]->getUpFace()->faceEquals(*tile.getDownFace())) &&
				 (m_board[i + 1][j - 1] == NULL || m_board[i + 1][j - 1]->getRightFace()->faceEquals(*tile.getLeftFace())) &&
				 (m_board[i + 1][j + 1] == NULL || m_board[i + 1][j + 1]->getLeftFace()->faceEquals(*tile.getRightFace())) &&
				 (m_board[i][j]->getDownFace()->faceEquals(*tile.getUpFace())))
			{
				//debugging std::cout<<"Checking down face equals"<<m_board[i][j]->getDownFace()->faceEquals(*tile.getUpFace())<<std::endl;
				//debugging std::cout<<"Down face type: "<<m_board[i][j]->getDownFaceType()<<std::endl;
				//debugging std::cout<<"Tile up face type: "<<tile.getUpFaceType()<<std::endl;
				places.push_back(std::pair<int, int>(i + 1, j));
				break;
			}
			tile.rotate();
		}
	}
	else if (openFaces == "left")
	{
		for (int ii = 0; ii < 4; ii++)
		{
			// same thing as above but with left
			if ((m_board[i + 1][j - 1] == NULL || m_board[i + 1][j - 1]->getUpFace()->faceEquals(*tile.getDownFace())) &&
				 (m_board[i][j - 2] == NULL || m_board[i][j - 2]->getRightFace()->faceEquals(*tile.getLeftFace())) &&
				 (m_board[i][j]->getLeftFace()->faceEquals(*tile.getRightFace())) &&
				 (m_board[i - 1][j - 1] == NULL || m_board[i - 1][j - 1]->getDownFace()->faceEquals(*tile.getUpFace())))
			{
				// std::cout<<"Can connect to left face at i,j"<<std::endl;
				places.push_back(std::pair<int, int>(i, j - 1));
				break;
			}
			tile.rotate();
		}
	}
	else if (openFaces == "right")
	{
		for (int ii = 0; ii < 4; ii++)
		{
			// same thing as above but with right
			if ((m_board[i + 1][j + 1] == NULL || m_board[i + 1][j + 1]->getUpFace()->faceEquals(*tile.getDownFace())) &&
				 (m_board[i][j]->getRightFace()->faceEquals(*tile.getLeftFace())) &&
				 (m_board[i][j + 2] == NULL || m_board[i][j + 2]->getLeftFace()->faceEquals(*tile.getRightFace())) &&
				 (m_board[i - 1][j + 1] == NULL || m_board[i - 1][j + 1]->getDownFace()->faceEquals(*tile.getUpFace())))
			{
				// std::cout<<"Can connect to right face at i,j"<<std::endl;
				places.push_back(std::pair<int, int>(i, j + 1));
				break;
			}
			tile.rotate();
		}
	}
	return places;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2f8, %rsp            # imm = 0x2F8
movq %r9, %rbx
movl %r8d, %r14d
movl %ecx, %r12d
movq %rdx, %r13
movq %rsi, -0x40(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, -0x80(%rbp)
andq $0x0, 0x10(%rdi)
leaq 0x74b5(%rip), %rsi      # 0x127fd
movq %r9, %rdi
callq 0x6261
movslq %r12d, %r15
movl %r14d, -0x2c(%rbp)
movslq %r14d, %rcx
movq %rcx, -0x70(%rbp)
testb %al, %al
movq %r13, -0x68(%rbp)
je 0xb555
leaq 0x38(%r13), %rax
movq %rax, -0x38(%rbp)
decl %r12d
movl %r12d, -0x44(%rbp)
movslq %r12d, %rax
leaq 0x60(%r13), %rcx
movq %rcx, -0x90(%rbp)
leaq 0x88(%r13), %rcx
movq %rcx, -0x88(%rbp)
leaq 0x10(%r13), %rcx
movq %rcx, -0xa0(%rbp)
pushq $0x4
popq %r13
imulq $0x18, %r15, %rcx
movq %rcx, -0x60(%rbp)
leaq -0x230(%rbp), %r15
imulq $0x18, %rax, %rax
movq %rax, -0x78(%rbp)
leaq -0x2f8(%rbp), %rbx
leaq -0x320(%rbp), %r12
subl $0x1, %r13d
jb 0xbb8b
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq -0x60(%rbp), %rcx
movq (%rax,%rcx), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %r14
movq %r15, %rdi
movq -0x38(%rbp), %rsi
callq 0x659a
addq $0x10, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x11786
testb %al, %al
je 0xb4f2
movq %r12, %r14
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq -0x78(%rbp), %rcx
movq (%rax,%rcx), %rcx
movq -0x70(%rbp), %rdx
movq -0x8(%rcx,%rdx,8), %rdx
movq %rdx, -0x58(%rbp)
testq %rdx, %rdx
je 0xb472
leaq -0x208(%rbp), %rdi
movq -0x90(%rbp), %rsi
callq 0x659a
movq -0x58(%rbp), %rax
leaq 0x88(%rax), %rdi
leaq -0x208(%rbp), %rsi
callq 0x11786
testb %al, %al
je 0xb500
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq -0x78(%rbp), %rcx
movq (%rax,%rcx), %rcx
movq -0x70(%rbp), %rdx
movq 0x8(%rcx,%rdx,8), %rcx
movq %rcx, -0x50(%rbp)
testq %rcx, %rcx
je 0xb4ae
movq %r14, %rdi
movq -0x88(%rbp), %rsi
callq 0x659a
movq -0x50(%rbp), %rax
leaq 0x60(%rax), %rdi
movq %r14, %rsi
callq 0x11786
testb %al, %al
je 0xb505
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq -0x60(%rbp), %rcx
movq -0x30(%rax,%rcx), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %r14
testq %r14, %r14
je 0xb50a
movq %rbx, %r15
movq %rbx, %rdi
movq -0xa0(%rbp), %rsi
callq 0x659a
addq $0x38, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x11786
movl %eax, %r14d
movq %r15, %rdi
callq 0x11768
jmp 0xb50d
movq %r15, %rdi
callq 0x11768
movq -0x68(%rbp), %rdi
jmp 0xb54b
xorl %r14d, %r14d
jmp 0xb52a
xorl %r14d, %r14d
jmp 0xb514
movb $0x1, %r14b
cmpq $0x0, -0x50(%rbp)
je 0xb51c
movq %r12, %rdi
callq 0x11768
cmpq $0x0, -0x58(%rbp)
leaq -0x230(%rbp), %r15
je 0xb536
leaq -0x208(%rbp), %rdi
callq 0x11768
movq %r15, %rdi
callq 0x11768
testb %r14b, %r14b
movq -0x68(%rbp), %rdi
jne 0xb93f
callq 0x10e82
jmp 0xb3c9
movl %r12d, -0x44(%rbp)
leaq 0x72a0(%rip), %rsi      # 0x12800
movq %rbx, %rdi
callq 0x6261
testb %al, %al
je 0xb758
movq -0x68(%rbp), %rcx
leaq 0x38(%rcx), %rax
movq %rax, -0x58(%rbp)
movl -0x44(%rbp), %eax
incl %eax
movl %eax, -0x44(%rbp)
cltq
leaq 0x60(%rcx), %rdx
movq %rdx, -0x78(%rbp)
leaq 0x88(%rcx), %rdx
movq %rdx, -0x88(%rbp)
addq $0x10, %rcx
movq %rcx, -0x90(%rbp)
pushq $0x4
popq %rbx
imulq $0x18, %r15, %rcx
movq %rcx, -0x60(%rbp)
imulq $0x18, %rax, %r13
leaq -0x1e0(%rbp), %r12
movq %r13, -0x50(%rbp)
subl $0x1, %ebx
jb 0xbb8b
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq -0x60(%rbp), %rcx
movq 0x30(%rax,%rcx), %rcx
movq -0x70(%rbp), %rdx
movq (%rcx,%rdx,8), %r15
testq %r15, %r15
je 0xb612
movq %r12, %rdi
movq -0x58(%rbp), %rsi
callq 0x659a
movq -0x68(%rbp), %r14
leaq 0x10(%r15), %rdi
movq %r12, %rsi
callq 0x11786
testb %al, %al
je 0xb6e8
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq (%rax,%r13), %rcx
movq -0x70(%rbp), %rdx
movq -0x8(%rcx,%rdx,8), %r12
testq %r12, %r12
je 0xb65a
leaq -0x280(%rbp), %r14
movq %r14, %rdi
movq -0x78(%rbp), %rsi
callq 0x659a
leaq 0x88(%r12), %rdi
movq %r14, %rsi
callq 0x11786
testb %al, %al
je 0xb6f2
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq (%rax,%r13), %rcx
movq -0x70(%rbp), %rdx
movq 0x8(%rcx,%rdx,8), %r13
testq %r13, %r13
je 0xb695
leaq -0x258(%rbp), %r14
movq %r14, %rdi
movq -0x88(%rbp), %rsi
callq 0x659a
leaq 0x60(%r13), %rdi
movq %r14, %rsi
callq 0x11786
testb %al, %al
je 0xb6f7
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq %r15, -0x38(%rbp)
movq -0x60(%rbp), %rcx
movq (%rax,%rcx), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %r14
leaq -0x2d0(%rbp), %r15
movq %r15, %rdi
movq -0x90(%rbp), %rsi
callq 0x659a
addq $0x38, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x11786
movl %eax, %r14d
movq %r15, %rdi
callq 0x11768
testq %r13, %r13
je 0xb749
movq -0x50(%rbp), %r13
movq -0x38(%rbp), %r15
jmp 0xb6fe
movq %r12, %rdi
callq 0x11768
jmp 0xb73c
xorl %r14d, %r14d
jmp 0xb70f
xorl %r14d, %r14d
movq -0x50(%rbp), %r13
leaq -0x258(%rbp), %rdi
callq 0x11768
testq %r12, %r12
je 0xb71b
leaq -0x280(%rbp), %rdi
callq 0x11768
testq %r15, %r15
leaq -0x1e0(%rbp), %r12
je 0xb72f
movq %r12, %rdi
callq 0x11768
testb %r14b, %r14b
movq -0x68(%rbp), %r14
jne 0xbb36
movq %r14, %rdi
callq 0x10e82
jmp 0xb5c1
testq %r12, %r12
movq -0x50(%rbp), %r13
movq -0x38(%rbp), %r15
jne 0xb70f
jmp 0xb71b
leaq 0x70a6(%rip), %rsi      # 0x12805
movq %rbx, %rdi
callq 0x6261
testb %al, %al
je 0xb95f
movl -0x2c(%rbp), %eax
decl %eax
movl %eax, -0x2c(%rbp)
cltq
movq %rax, -0x58(%rbp)
movq -0x68(%rbp), %rax
leaq 0x38(%rax), %rcx
movq %rcx, -0x50(%rbp)
leaq 0x60(%rax), %rcx
movq %rcx, -0x90(%rbp)
leaq 0x88(%rax), %rcx
movq %rcx, -0x78(%rbp)
addq $0x10, %rax
movq %rax, -0x88(%rbp)
pushq $0x4
popq %r14
imulq $0x18, %r15, %r12
leaq -0x2a8(%rbp), %r13
leaq -0x118(%rbp), %rbx
subl $0x1, %r14d
jb 0xbb8b
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax,%r12), %rcx
movq -0x58(%rbp), %rdx
movq (%rcx,%rdx,8), %r15
testq %r15, %r15
je 0xb812
leaq -0x140(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x659a
leaq 0x10(%r15), %rdi
leaq -0x140(%rbp), %rsi
callq 0x11786
testb %al, %al
je 0xb8de
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq (%rax,%r12), %rax
movq -0x70(%rbp), %rcx
movq -0x10(%rax,%rcx,8), %rcx
movq %rcx, -0x60(%rbp)
testq %rcx, %rcx
je 0xb85d
movq %rbx, %rdi
movq -0x90(%rbp), %rsi
callq 0x659a
movq -0x60(%rbp), %rax
leaq 0x88(%rax), %rdi
movq %rbx, %rsi
callq 0x11786
testb %al, %al
je 0xb8f0
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq (%rax,%r12), %rax
movq %r15, -0x38(%rbp)
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rbx
movq %r13, %r15
movq %r13, %rdi
movq -0x78(%rbp), %rsi
callq 0x659a
addq $0x60, %rbx
movq %rbx, %rdi
movq %r15, %rsi
movq -0x38(%rbp), %r15
callq 0x11786
testb %al, %al
je 0xb8ec
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq -0x18(%rax,%r12), %rax
movq -0x58(%rbp), %rcx
movq (%rax,%rcx,8), %rbx
testq %rbx, %rbx
je 0xb8f4
leaq -0x1b8(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0x659a
addq $0x38, %rbx
movq %rbx, %rdi
leaq -0x1b8(%rbp), %rsi
callq 0x11786
movl %eax, %ebx
leaq -0x1b8(%rbp), %rdi
callq 0x11768
jmp 0xb8f6
leaq -0x140(%rbp), %rdi
callq 0x11768
jmp 0xb931
xorl %ebx, %ebx
jmp 0xb8f6
xorl %ebx, %ebx
jmp 0xb905
movb $0x1, %bl
movq %r13, %rdi
callq 0x11768
cmpq $0x0, -0x60(%rbp)
je 0xb911
leaq -0x118(%rbp), %rdi
callq 0x11768
testq %r15, %r15
je 0xb922
leaq -0x140(%rbp), %rdi
callq 0x11768
testb %bl, %bl
leaq -0x118(%rbp), %rbx
jne 0xbb53
movq -0x68(%rbp), %rdi
callq 0x10e82
jmp 0xb7c0
leaq -0x98(%rbp), %rsi
movl -0x44(%rbp), %eax
movl %eax, (%rsi)
movl -0x2c(%rbp), %eax
movl %eax, 0x4(%rsi)
movq -0x80(%rbp), %rdi
callq 0xf1ce
jmp 0xbb8b
leaq 0x6ea4(%rip), %rsi      # 0x1280a
movq %rbx, %rdi
callq 0x6261
testb %al, %al
je 0xbb8b
pushq $0x4
popq %r13
movl -0x2c(%rbp), %eax
incl %eax
movl %eax, -0x2c(%rbp)
cltq
movq %rax, -0x60(%rbp)
movq -0x68(%rbp), %rax
leaq 0x38(%rax), %rcx
movq %rcx, -0x38(%rbp)
leaq 0x60(%rax), %rcx
movq %rcx, -0x58(%rbp)
leaq 0x88(%rax), %rcx
movq %rcx, -0x50(%rbp)
addq $0x10, %rax
movq %rax, -0x78(%rbp)
imulq $0x18, %r15, %r15
leaq -0xc8(%rbp), %r14
subl $0x1, %r13d
jb 0xbb8b
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax,%r15), %rcx
movq -0x60(%rbp), %rdx
movq (%rcx,%rdx,8), %r12
testq %r12, %r12
je 0xba11
leaq -0xf0(%rbp), %rdi
movq -0x38(%rbp), %rsi
callq 0x659a
movq -0x68(%rbp), %rbx
leaq 0x10(%r12), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x11786
testb %al, %al
je 0xbad5
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq (%rax,%r15), %rax
movq -0x70(%rbp), %rcx
movq %r14, %rbx
movq (%rax,%rcx,8), %r14
movq %rbx, %rdi
movq -0x58(%rbp), %rsi
callq 0x659a
addq $0x88, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x11786
testb %al, %al
je 0xbad0
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq (%rax,%r15), %rcx
movq -0x70(%rbp), %rdx
movq 0x10(%rcx,%rdx,8), %rbx
testq %rbx, %rbx
je 0xba8a
leaq -0x190(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x659a
leaq 0x60(%rbx), %rdi
leaq -0x190(%rbp), %rsi
callq 0x11786
testb %al, %al
je 0xbae3
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq -0x18(%rax,%r15), %rax
movq -0x60(%rbp), %rcx
movq (%rax,%rcx,8), %r14
testq %r14, %r14
je 0xbae8
leaq -0x168(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x659a
addq $0x38, %r14
movq %r14, %rdi
leaq -0x168(%rbp), %rsi
callq 0x11786
movl %eax, %r14d
leaq -0x168(%rbp), %rdi
callq 0x11768
jmp 0xbaeb
xorl %r14d, %r14d
jmp 0xbafc
leaq -0xf0(%rbp), %rdi
callq 0x11768
jmp 0xbb29
xorl %r14d, %r14d
jmp 0xbaf0
movb $0x1, %r14b
testq %rbx, %rbx
je 0xbafc
leaq -0x190(%rbp), %rdi
callq 0x11768
leaq -0xc8(%rbp), %rdi
callq 0x11768
testq %r12, %r12
je 0xbb19
leaq -0xf0(%rbp), %rdi
callq 0x11768
testb %r14b, %r14b
movq -0x68(%rbp), %rbx
leaq -0xc8(%rbp), %r14
jne 0xbb70
movq %rbx, %rdi
callq 0x10e82
jmp 0xb9ba
leaq -0x98(%rbp), %rsi
movl -0x44(%rbp), %eax
movl %eax, (%rsi)
movl -0x2c(%rbp), %eax
movl %eax, 0x4(%rsi)
movq -0x80(%rbp), %rdi
callq 0xf1ce
jmp 0xbb8b
leaq -0x98(%rbp), %rsi
movl -0x44(%rbp), %eax
movl %eax, (%rsi)
movl -0x2c(%rbp), %eax
movl %eax, 0x4(%rsi)
movq -0x80(%rbp), %rdi
callq 0xf1ce
jmp 0xbb8b
leaq -0x98(%rbp), %rsi
movl -0x44(%rbp), %eax
movl %eax, (%rsi)
movl -0x2c(%rbp), %eax
movl %eax, 0x4(%rsi)
movq -0x80(%rbp), %rdi
callq 0xf1ce
movq -0x80(%rbp), %rax
addq $0x2f8, %rsp            # imm = 0x2F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xbd4a
jmp 0xbd4a
jmp 0xbd4a
jmp 0xbd4a
movq %rax, %r14
leaq -0x168(%rbp), %rdi
callq 0x11768
jmp 0xbbc9
movq %rax, %r14
testq %rbx, %rbx
jne 0xbbd3
jmp 0xbc15
movq %rax, %r14
leaq -0x190(%rbp), %rdi
callq 0x11768
jmp 0xbc15
movq %rax, %r14
leaq -0x1b8(%rbp), %rdi
callq 0x11768
jmp 0xbc50
movq %rax, %r14
jmp 0xbc2a
movq %rax, %r14
jmp 0xbc21
movq %r15, -0x38(%rbp)
movq %rax, %r14
jmp 0xbc63
movq %rax, %r14
testq %r15, %r15
jne 0xbc7e
jmp 0xbd4d
movq %rax, %r14
leaq -0xc8(%rbp), %rdi
callq 0x11768
testq %r12, %r12
je 0xbd4d
leaq -0xf0(%rbp), %rdi
jmp 0xbd43
movq %rax, %r14
jmp 0xbc5c
movq %r15, -0x38(%rbp)
movq %rax, %r14
jmp 0xbca3
movq %r15, -0x38(%rbp)
movq %rax, %r14
jmp 0xbcaf
movq %rax, %r14
leaq -0x2a8(%rbp), %rdi
callq 0x11768
cmpq $0x0, -0x60(%rbp)
je 0xbc6f
leaq -0x118(%rbp), %rdi
callq 0x11768
cmpq $0x0, -0x38(%rbp)
jne 0xbc7e
jmp 0xbd4d
movq %rax, %r14
leaq -0x140(%rbp), %rdi
jmp 0xbd43
movq %rax, %r14
leaq -0x2d0(%rbp), %rdi
callq 0x11768
jmp 0xbc9e
movq %rax, %r14
testq %r13, %r13
je 0xbcaf
leaq -0x258(%rbp), %rdi
callq 0x11768
testq %r12, %r12
jne 0xbcdc
jmp 0xbce8
movq %rax, %r14
leaq -0x2f8(%rbp), %rdi
callq 0x11768
jmp 0xbcca
movq %rax, %r14
cmpq $0x0, -0x50(%rbp)
jne 0xbcfe
jmp 0xbd0f
jmp 0xbd4a
movq %r15, -0x38(%rbp)
movq %rax, %r14
leaq -0x280(%rbp), %rdi
callq 0x11768
cmpq $0x0, -0x38(%rbp)
jne 0xbd1b
jmp 0xbd4d
movq %rax, %r14
testq %r15, %r15
jne 0xbd1b
jmp 0xbd4d
movq %rax, %r14
leaq -0x320(%rbp), %rdi
callq 0x11768
jmp 0xbd0f
movq %rax, %r14
cmpq $0x0, -0x58(%rbp)
jne 0xbd27
jmp 0xbd3c
movq %rax, %r14
leaq -0x1e0(%rbp), %rdi
jmp 0xbd43
movq %rax, %r14
leaq -0x208(%rbp), %rdi
callq 0x11768
jmp 0xbd3c
jmp 0xbd4a
jmp 0xbd4a
movq %rax, %r14
leaq -0x230(%rbp), %rdi
callq 0x11768
jmp 0xbd4d
movq %rax, %r14
movq -0x80(%rbp), %rdi
callq 0xaca8
movq %r14, %rdi
callq 0x33c0