// File: /workspace/github_cpp_makefile_star2_O3/CMU-SAFARI[P]Register-Interval/main.cpp
// Function: split_abstract_basic_blocks(std::vector<basicBlock*, std::allocator<basicBlock*>>)
vector<basicBlock*> split_abstract_basic_blocks(vector<basicBlock*> ABBs){
	basicBlock *temp, *temp2;
	vector<basicBlock*> controling_basicBlocks;
	string q = "Controling_basicBlock";
	int p = 0;
        
        vector<basicBlock*> basic_blocks;

	//**********************Splitting Codes and Constructing new BBs***********************
	string str, str2;
	int found1 = 0;
	int found2 = 0;
	int foundtemp = 0;
	int foundExit = 0;
	for(int i = 0; i < ABBs.size(); i++){
		str = ABBs[i]->get_code();
		char tt = 'A';
		found1 = 0;
		found2 = str.find("<exit", found1);
		
		while(found2 != string::npos){
			str2.clear();
			for(int j = found1; j < found2; j++){
				str2 = str2 + str[j];
			}

			foundExit = str2.find("EXIT", 0);
			foundtemp = str2.find(";", 0);

			if(foundExit == string::npos){
				if(str2.find(";", foundtemp + 1) == string::npos && str2.find("@P0", 0) != string::npos){
					temp2 = new basicBlock();
					temp2->set_code(str2);
					temp2->set_name(q + std::to_string(p));
					p++;
					temp2->set_controling();
					controling_basicBlocks.push_back(temp2);

					temp->set_control_basicBlock(temp2);
				}
				else{
					temp = new basicBlock(ABBs[i]->getID());
					temp->set_code(str2);
					if(found1 == 0)
						temp->set_name(ABBs[i]->get_name());
					else{
						temp->set_name(ABBs[i]->get_name()+tt);
						tt++;
					}
					basic_blocks.push_back(temp);
				}
			}

			found1 = found2+1;
			found2 = str.find("<exit", found1);
		}

		str2.clear();
		for(int j = found1; j < str.size(); j++){
			str2 = str2 + str[j];
		}

		foundExit = str2.find("EXIT", 0);
		foundtemp = str2.find(";", 0);
		if(foundExit == string::npos){
			if(str2.find(";", foundtemp + 1) == string::npos && str2.find("@P0", 0) != string::npos){
				temp2 = new basicBlock();
				temp2->set_code(str2);
				temp2->set_name(q + std::to_string(p));
				p++;
				temp2->set_controling();
				controling_basicBlocks.push_back(temp2);

				temp->set_control_basicBlock(temp2);
			}
			else{
				temp = new basicBlock(ABBs[i]->getID());
				temp->set_code(str2);
				if(found1 == 0)
					temp->set_name(ABBs[i]->get_name());
				else{
					temp->set_name(ABBs[i]->get_name()+tt);
					tt++;
				}
				basic_blocks.push_back(temp);
			}
		}
	}
	//***********************************************************************************

	//*********************Setting Predecessors and Successors***************************
	vector<basicBlock*> P, S;
	bool isNextBB;
	int firstID;
	int lastID;
	string name;
	for(int i = 0; i < ABBs.size(); i++){
		P = ABBs[i]->get_predecessors();
		S = ABBs[i]->get_successors();

		int count = 0;
		for(int k = 0; k < basic_blocks.size(); k++){
			if(basic_blocks[k]->get_ABB() == ABBs[i]->getID()){
				if(count == 0)
					firstID = k;
				count++;
			}
		}
		lastID = firstID + count - 1;


		for(int j = 0; j < S.size(); j++){
			if(S[j]->getID() == ABBs[i]->getID()+1){
				basic_blocks[lastID]->add_successor(basic_blocks[lastID+1]);
				basic_blocks[lastID+1]->add_predecessor(basic_blocks[lastID]);
			}
		}

		for(int j = firstID; j < lastID; j++){
			basic_blocks[j]->add_successor(basic_blocks[j+1]);
			basic_blocks[j+1]->add_predecessor(basic_blocks[j]);
		}

		for(int j = firstID; j <= lastID; j++){
			if(basic_blocks[j]->get_controling_basicBlock() != nullptr){
				str = (basic_blocks[j]->get_controling_basicBlock())->get_code();
				for(int k = 0; k < basic_blocks.size(); k++){
					name = basic_blocks[k]->get_name();
					if(str.find(name, 0) != string::npos && name.size() != 0){
						basic_blocks[j]->add_successor(basic_blocks[k]);
						basic_blocks[k]->add_predecessor(basic_blocks[j]);
					}
				}
			}
		}
	}
        
        return basic_blocks;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x248, %rsp            # imm = 0x248
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, -0xf0(%rbp)
movq $0x0, -0xe0(%rbp)
leaq -0x140(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x35c9(%rip), %rsi      # 0xb03f
leaq 0x35d7(%rip), %rdx      # 0xb054
leaq -0x150(%rbp), %rdi
callq 0xaa48
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
xorl %ecx, %ecx
movq %rbx, -0x30(%rbp)
movq %rcx, 0x10(%rbx)
leaq -0x100(%rbp), %rax
movq %rax, -0x10(%rax)
movq %rcx, -0x8(%rax)
movb %cl, (%rax)
leaq -0xa0(%rbp), %rax
movq %rax, -0x10(%rax)
movq %rcx, -0x8(%rax)
movq $0x0, -0x38(%rbp)
movb %cl, (%rax)
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq %rax, %rcx
movq %r14, -0x68(%rbp)
je 0x85de
leaq -0x60(%rbp), %r15
xorl %ebx, %ebx
movq %rbx, -0x40(%rbp)
movq (%rax,%rbx,8), %rax
leaq -0x50(%rbp), %rbx
movq %rbx, -0x60(%rbp)
movq 0x28(%rax), %rsi
movq 0x30(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x975c
leaq -0x110(%rbp), %rdi
movq %r15, %rsi
callq 0x2270
movq -0x60(%rbp), %rdi
cmpq %rbx, %rdi
je 0x7b1d
callq 0x21c0
movl $0x5, %ecx
leaq -0x110(%rbp), %rdi
leaq 0x3525(%rip), %rsi      # 0xb055
xorl %edx, %edx
callq 0x2360
movb $0x41, -0x90(%rbp)
cmpl $-0x1, %eax
jne 0x7b4a
xorl %ebx, %ebx
jmp 0x809a
xorl %r13d, %r13d
movb $0x41, -0x90(%rbp)
movl %eax, %ecx
movq $0x0, -0xa8(%rbp)
movq -0xb0(%rbp), %rax
movb $0x0, (%rax)
movq %rcx, -0x70(%rbp)
movl %ecx, %r14d
subl %r13d, %r14d
jle 0x7be6
movslq %r13d, %r12
movq -0x110(%rbp), %rax
movb (%rax,%r12), %bl
leaq -0x50(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x975c
movq -0x58(%rbp), %rsi
movsbl %bl, %r8d
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
callq 0x2390
leaq -0xb0(%rbp), %rdi
movq %r15, %rsi
callq 0x2270
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x7bde
callq 0x21c0
incq %r12
decl %r14d
jne 0x7b7a
movl $0x4, %ecx
leaq -0xb0(%rbp), %rbx
movq %rbx, %rdi
leaq 0x345f(%rip), %rsi      # 0xb05b
xorl %edx, %edx
callq 0x2360
movq %rax, %r14
movl $0x1, %ecx
movq %rbx, %rdi
leaq 0x3518(%rip), %r12      # 0xb12d
movq %r12, %rsi
xorl %edx, %edx
callq 0x2360
cmpl $-0x1, %r14d
jne 0x806d
shlq $0x20, %rax
movabsq $0x100000000, %rcx      # imm = 0x100000000
addq %rcx, %rax
sarq $0x20, %rax
movl $0x1, %ecx
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x2360
cmpq $-0x1, %rax
leaq -0x1e0(%rbp), %rbx
je 0x7d60
movl $0xf8, %edi
callq 0x21e0
movq %rax, %r14
movq -0x68(%rbp), %rax
movq (%rax), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl (%rax), %esi
movq %r14, %rdi
callq 0x2d6a
movq %r14, -0x80(%rbp)
leaq -0x220(%rbp), %rax
movq %rax, -0x230(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x230(%rbp), %rdi
callq 0x975c
movq %r14, %rdi
leaq -0x230(%rbp), %rsi
callq 0x2e24
movq -0x230(%rbp), %rdi
leaq -0x220(%rbp), %rax
cmpq %rax, %rdi
je 0x7cde
callq 0x21c0
movq -0x80(%rbp), %r14
testl %r13d, %r13d
je 0x7e5e
movq -0x68(%rbp), %rax
movq (%rax), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
leaq -0x50(%rbp), %rcx
movq %rcx, -0x60(%rbp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x975c
movq -0x58(%rbp), %rsi
movsbl -0x90(%rbp), %r8d
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
callq 0x2390
movq %rbx, -0x1f0(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7ebf
movq %rdx, -0x1f0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x1e0(%rbp)
jmp 0x7ec5
movl $0x3, %ecx
leaq -0xb0(%rbp), %rdi
leaq 0x32ed(%rip), %rsi      # 0xb060
xorl %edx, %edx
callq 0x2360
cmpq $-0x1, %rax
je 0x7c62
movl $0xf8, %edi
callq 0x21e0
movq %rax, %r14
movq %rax, %rdi
callq 0x2b18
movq %r14, -0x78(%rbp)
leaq -0x260(%rbp), %rax
movq %rax, -0x270(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x270(%rbp), %rdi
callq 0x975c
movq %r14, %rdi
leaq -0x270(%rbp), %rsi
callq 0x2e24
movq -0x270(%rbp), %rdi
leaq -0x260(%rbp), %rax
cmpq %rax, %rdi
je 0x7def
callq 0x21c0
movq -0x78(%rbp), %r12
movq -0x38(%rbp), %rax
movl %eax, %r13d
negl %r13d
cmovsl %eax, %r13d
movl $0x1, %r14d
cmpl $0xa, %r13d
jb 0x7f51
movl $0x4, %r14d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x7f48
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x7f4e
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x7f51
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x7e1a
addl $-0x3, %r14d
jmp 0x7f51
movq -0x68(%rbp), %rax
movq (%rax), %rax
movq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
leaq -0x200(%rbp), %rcx
movq %rcx, -0x210(%rbp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq -0x210(%rbp), %rdi
callq 0x975c
addq $0x8, %r14
movq %r14, %rdi
leaq -0x210(%rbp), %rsi
callq 0x2120
movq -0x210(%rbp), %rdi
leaq -0x200(%rbp), %rax
cmpq %rax, %rdi
je 0x7f1b
callq 0x21c0
jmp 0x7f1b
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, -0x1e8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
addq $0x8, %r14
movq %r14, %rdi
leaq -0x1f0(%rbp), %rsi
callq 0x2120
movq -0x1f0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x7f03
callq 0x21c0
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x7f15
callq 0x21c0
incb -0x90(%rbp)
movq -0x30(%rbp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x7f3a
movq -0x80(%rbp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rdi)
jmp 0x806d
leaq -0x80(%rbp), %rdx
callq 0x9efe
jmp 0x806d
addl $-0x2, %r14d
jmp 0x7f51
decl %r14d
movq -0x38(%rbp), %rbx
shrl $0x1f, %ebx
leal (%r14,%rbx), %esi
leaq -0x50(%rbp), %rax
movq %rax, -0x60(%rbp)
movq %r15, %rdi
movl $0x2d, %edx
callq 0x2250
movl %ebx, %edi
addq -0x60(%rbp), %rdi
movl %r14d, %esi
movl %r13d, %edx
callq 0x96e9
movq -0x150(%rbp), %rcx
movq -0x148(%rbp), %r8
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2220
leaq -0x240(%rbp), %rbx
movq %rbx, -0x250(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7fcc
movq %rdx, -0x250(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x240(%rbp)
jmp 0x7fd2
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, -0x248(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
addq $0x8, %r12
movq %r12, %rdi
leaq -0x250(%rbp), %rsi
callq 0x2120
movq -0x250(%rbp), %rdi
cmpq %rbx, %rdi
je 0x8010
callq 0x21c0
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x8022
callq 0x21c0
movq -0x78(%rbp), %rax
movb $0x1, 0x50(%rax)
movq -0xe8(%rbp), %rsi
cmpq -0xe0(%rbp), %rsi
je 0x8047
movq %rax, (%rsi)
addq $0x8, -0xe8(%rbp)
jmp 0x8057
leaq -0xf0(%rbp), %rdi
leaq -0x78(%rbp), %rdx
callq 0x9efe
movq -0x38(%rbp), %rax
incl %eax
movq %rax, -0x38(%rbp)
movq -0x80(%rbp), %rax
movq -0x78(%rbp), %rcx
movq %rcx, 0x58(%rax)
movq -0x70(%rbp), %rbx
incl %ebx
movslq %ebx, %rdx
movl $0x5, %ecx
leaq -0x110(%rbp), %rdi
leaq 0x2fcc(%rip), %rsi      # 0xb055
callq 0x2360
movl %ebx, %r13d
cmpl $-0x1, %eax
jne 0x7b54
movq $0x0, -0xa8(%rbp)
movq -0xb0(%rbp), %rax
movb $0x0, (%rax)
movq %rbx, -0x70(%rbp)
movslq %ebx, %r14
cmpq %r14, -0x108(%rbp)
leaq -0x1a0(%rbp), %r12
jbe 0x8136
movq -0x110(%rbp), %rax
movb (%rax,%r14), %bl
leaq -0x50(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x975c
movq -0x58(%rbp), %rsi
movsbl %bl, %r8d
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
callq 0x2390
leaq -0xb0(%rbp), %rdi
movq %r15, %rsi
callq 0x2270
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x812a
callq 0x21c0
incq %r14
cmpq %r14, -0x108(%rbp)
ja 0x80c6
movl $0x4, %ecx
leaq -0xb0(%rbp), %rbx
movq %rbx, %rdi
leaq 0x2f0f(%rip), %rsi      # 0xb05b
xorl %edx, %edx
callq 0x2360
movq %rax, %r14
movl $0x1, %ecx
movq %rbx, %rdi
leaq 0x2fc8(%rip), %r13      # 0xb12d
movq %r13, %rsi
xorl %edx, %edx
callq 0x2360
cmpl $-0x1, %r14d
jne 0x82ad
shlq $0x20, %rax
movabsq $0x100000000, %rcx      # imm = 0x100000000
addq %rcx, %rax
sarq $0x20, %rax
movl $0x1, %ecx
movq %rbx, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x2360
cmpq $-0x1, %rax
je 0x82b6
movl $0xf8, %edi
callq 0x21e0
movq -0x40(%rbp), %rbx
movq %rax, %r14
movq -0x68(%rbp), %rax
movq (%rax), %rax
movq (%rax,%rbx,8), %rax
movl (%rax), %esi
movq %r14, %rdi
callq 0x2d6a
movq %r14, -0x80(%rbp)
leaq -0x180(%rbp), %rax
movq %rax, -0x190(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x190(%rbp), %rdi
callq 0x975c
movq %r14, %rdi
leaq -0x190(%rbp), %rsi
callq 0x2e24
movq -0x190(%rbp), %rdi
leaq -0x180(%rbp), %rax
cmpq %rax, %rdi
je 0x8227
callq 0x21c0
movq -0x80(%rbp), %r14
cmpl $0x0, -0x70(%rbp)
je 0x83bb
movq -0x68(%rbp), %rax
movq (%rax), %rax
movq (%rax,%rbx,8), %rax
leaq -0x50(%rbp), %rcx
movq %rcx, -0x60(%rbp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x975c
movq -0x58(%rbp), %rsi
movsbl -0x90(%rbp), %r8d
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
callq 0x2390
leaq -0x120(%rbp), %rsi
movq %rsi, -0x130(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x840e
movq %rdx, -0x130(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x120(%rbp)
jmp 0x8414
movq -0x40(%rbp), %rbx
jmp 0x85bd
movl $0x3, %ecx
leaq -0xb0(%rbp), %rdi
leaq 0x2d97(%rip), %rsi      # 0xb060
xorl %edx, %edx
callq 0x2360
cmpq $-0x1, %rax
je 0x81ab
movl $0xf8, %edi
callq 0x21e0
movq %rax, %r14
movq %rax, %rdi
callq 0x2b18
movq %r14, -0x78(%rbp)
leaq -0x1c0(%rbp), %rax
movq %rax, -0x1d0(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x1d0(%rbp), %rdi
callq 0x975c
movq %r14, %rdi
leaq -0x1d0(%rbp), %rsi
callq 0x2e24
movq %r12, %r13
movq -0x1d0(%rbp), %rdi
leaq -0x1c0(%rbp), %rax
cmpq %rax, %rdi
je 0x8348
callq 0x21c0
movq -0x78(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x38(%rbp), %rax
movl %eax, %r12d
negl %r12d
cmovsl %eax, %r12d
movl $0x1, %r14d
cmpl $0xa, %r12d
jb 0x84a1
movl $0x4, %r14d
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x8498
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x849e
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x84a1
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x8377
addl $-0x3, %r14d
jmp 0x84a1
movq -0x68(%rbp), %rax
movq (%rax), %rax
movq (%rax,%rbx,8), %rax
leaq -0x160(%rbp), %rcx
movq %rcx, -0x170(%rbp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq -0x170(%rbp), %rdi
callq 0x975c
addq $0x8, %r14
movq %r14, %rdi
leaq -0x170(%rbp), %rsi
callq 0x2120
movq -0x170(%rbp), %rdi
leaq -0x160(%rbp), %rax
jmp 0x8461
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x128(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
addq $0x8, %r14
movq %r14, %rdi
leaq -0x130(%rbp), %rsi
callq 0x2120
movq -0x130(%rbp), %rdi
leaq -0x120(%rbp), %rax
cmpq %rax, %rdi
je 0x8459
callq 0x21c0
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x846b
callq 0x21c0
movq -0x30(%rbp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x848a
movq -0x80(%rbp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rdi)
jmp 0x85bd
leaq -0x80(%rbp), %rdx
callq 0x9efe
jmp 0x85bd
addl $-0x2, %r14d
jmp 0x84a1
decl %r14d
movq -0x38(%rbp), %rbx
shrl $0x1f, %ebx
leal (%r14,%rbx), %esi
leaq -0x50(%rbp), %rax
movq %rax, -0x60(%rbp)
movq %r15, %rdi
movl $0x2d, %edx
callq 0x2250
movl %ebx, %edi
addq -0x60(%rbp), %rdi
movl %r14d, %esi
movl %r12d, %edx
callq 0x96e9
movq -0x150(%rbp), %rcx
movq -0x148(%rbp), %r8
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2220
movq %r13, -0x1b0(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq -0x40(%rbp), %rbx
je 0x8519
movq %rdx, -0x1b0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x1a0(%rbp)
jmp 0x8521
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x1a8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x70(%rbp), %rdi
addq $0x8, %rdi
leaq -0x1b0(%rbp), %rsi
callq 0x2120
movq -0x1b0(%rbp), %rdi
cmpq %r13, %rdi
je 0x8560
callq 0x21c0
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x8572
callq 0x21c0
movq -0x78(%rbp), %rax
movb $0x1, 0x50(%rax)
movq -0xe8(%rbp), %rsi
cmpq -0xe0(%rbp), %rsi
je 0x8597
movq %rax, (%rsi)
addq $0x8, -0xe8(%rbp)
jmp 0x85a7
leaq -0xf0(%rbp), %rdi
leaq -0x78(%rbp), %rdx
callq 0x9efe
movq -0x38(%rbp), %rax
incl %eax
movq %rax, -0x38(%rbp)
movq -0x80(%rbp), %rax
movq -0x78(%rbp), %rcx
movq %rcx, 0x58(%rax)
incq %rbx
movq -0x68(%rbp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %rbx, %rdx
ja 0x7add
leaq -0x50(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq $0x0, -0x8(%rdx)
movb $0x0, (%rdx)
cmpq %rax, %rcx
je 0x8997
xorl %r14d, %r14d
leaq -0xd0(%rbp), %r12
movq %rcx, -0x38(%rbp)
xorl %esi, %esi
xorl %r13d, %r13d
movq -0x30(%rbp), %r15
movq %rsi, %rbx
movq (%rax,%r14,8), %rsi
addq $0x60, %rsi
movq %r12, %rdi
callq 0x8ecc
movq -0xd0(%rbp), %rax
movq %rax, -0x88(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0xd0(%rbp)
movq $0x0, -0xc0(%rbp)
testq %r13, %r13
je 0x8665
movq %r13, %rdi
callq 0x21c0
movq -0xd0(%rbp), %rdi
testq %rdi, %rdi
je 0x8665
callq 0x21c0
movq -0x68(%rbp), %rax
movq (%rax), %rax
movq (%rax,%r14,8), %rsi
addq $0x78, %rsi
movq %r12, %rdi
callq 0x8ecc
movq -0xd0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xc8(%rbp), %r13
xorps %xmm0, %xmm0
movaps %xmm0, -0xd0(%rbp)
movq $0x0, -0xc0(%rbp)
testq %rbx, %rbx
movq -0x38(%rbp), %r12
je 0x86c5
movq %rbx, %rdi
callq 0x21c0
movq -0xd0(%rbp), %rdi
testq %rdi, %rdi
je 0x86c5
callq 0x21c0
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
movq %r14, -0x90(%rbp)
je 0x8720
sarq $0x3, %rcx
movq -0x68(%rbp), %rdx
movq (%rdx), %rdx
movq (%rdx,%r14,8), %rdx
movl (%rdx), %edx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %esi, %esi
xorl %r14d, %r14d
movl %esi, %edi
testl %r14d, %r14d
je 0x8700
movl %r12d, %edi
movq (%rax,%rsi,8), %r8
xorl %r9d, %r9d
cmpl %edx, 0x4c(%r8)
cmovel %edi, %r12d
sete %r9b
addl %r9d, %r14d
incq %rsi
cmpq %rsi, %rcx
jne 0x86f6
jmp 0x8723
xorl %r14d, %r14d
leal (%r14,%r12), %eax
leal (%r14,%r12), %ebx
decl %ebx
cltq
movq %rax, -0x70(%rbp)
movq -0x40(%rbp), %rax
subq %rax, %r13
je 0x87b4
sarq $0x3, %r13
movslq %ebx, %rcx
movq %rcx, -0x38(%rbp)
cmpq $0x1, %r13
adcq $0x0, %r13
xorl %r15d, %r15d
movq (%rax,%r15,8), %rax
movq -0x68(%rbp), %rcx
movq (%rcx), %rcx
movq -0x90(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movl (%rcx), %ecx
incl %ecx
cmpl %ecx, (%rax)
jne 0x87a8
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq -0x38(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
callq 0x2f1c
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -0x38(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
callq 0x2eae
incq %r15
cmpq %r15, %r13
movq -0x40(%rbp), %rax
jne 0x8752
movl %ebx, %eax
movslq %r12d, %rbx
cmpl %eax, %r12d
movq %r12, -0x38(%rbp)
cmovgl %r12d, %eax
movslq %eax, %r13
movq %rbx, %r15
cmpq %r15, %r13
je 0x87fc
movq -0x30(%rbp), %r12
movq (%r12), %rax
movq (%rax,%r15,8), %rdi
movq 0x8(%rax,%r15,8), %rsi
callq 0x2f1c
movq (%r12), %rax
movq (%rax,%r15,8), %rsi
movq 0x8(%rax,%r15,8), %rdi
incq %r15
callq 0x2eae
jmp 0x87ca
testl %r14d, %r14d
movq -0x30(%rbp), %r15
jle 0x8928
movq (%r15), %rax
movq (%rax,%rbx,8), %rcx
movq 0x58(%rcx), %rcx
testq %rcx, %rcx
je 0x891b
leaq -0xc0(%rbp), %r14
movq %r14, -0xd0(%rbp)
movq 0x28(%rcx), %rsi
movq 0x30(%rcx), %rdx
addq %rsi, %rdx
leaq -0xd0(%rbp), %r12
movq %r12, %rdi
callq 0x975c
leaq -0x110(%rbp), %rdi
movq %r12, %rsi
callq 0x2270
movq -0xd0(%rbp), %rdi
cmpq %r14, %rdi
je 0x8865
callq 0x21c0
movq (%r15), %rax
cmpq %rax, 0x8(%r15)
je 0x891b
xorl %r14d, %r14d
movq (%rax,%r14,8), %rax
leaq -0xc0(%rbp), %r13
movq %r13, -0xd0(%rbp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq -0xd0(%rbp), %r12
movq %r12, %rdi
callq 0x975c
leaq -0x60(%rbp), %rdi
movq %r12, %rsi
callq 0x2270
movq -0xd0(%rbp), %rdi
cmpq %r13, %rdi
je 0x88be
callq 0x21c0
movq -0x60(%rbp), %rsi
movq -0x58(%rbp), %rcx
leaq -0x110(%rbp), %rdi
xorl %edx, %edx
callq 0x2360
cmpq $-0x1, %rax
je 0x8901
cmpq $0x0, -0x58(%rbp)
je 0x8901
movq (%r15), %rax
movq (%rax,%rbx,8), %rdi
movq (%rax,%r14,8), %rsi
callq 0x2f1c
movq (%r15), %rax
movq (%rax,%r14,8), %rdi
movq (%rax,%rbx,8), %rsi
callq 0x2eae
incq %r14
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r14, %rcx
ja 0x8875
incq %rbx
cmpq -0x70(%rbp), %rbx
jl 0x880c
movq -0x90(%rbp), %r14
incq %r14
movq -0x68(%rbp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movq -0x40(%rbp), %rdx
movq %rdx, %rsi
movq -0x88(%rbp), %rbx
movq %rbx, %r13
cmpq %r14, %rcx
leaq -0xd0(%rbp), %r12
ja 0x8611
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x897b
callq 0x21c0
movq -0x40(%rbp), %rdx
testq %rdx, %rdx
je 0x8988
movq %rdx, %rdi
callq 0x21c0
testq %rbx, %rbx
je 0x899b
movq %rbx, %rdi
callq 0x21c0
jmp 0x899b
movq -0x30(%rbp), %r15
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x89b3
callq 0x21c0
movq -0x110(%rbp), %rdi
leaq -0x100(%rbp), %rax
cmpq %rax, %rdi
je 0x89cb
callq 0x21c0
movq -0x150(%rbp), %rdi
leaq -0x140(%rbp), %rax
cmpq %rax, %rdi
je 0x89e3
callq 0x21c0
movq -0xf0(%rbp), %rdi
testq %rdi, %rdi
je 0x89f4
callq 0x21c0
movq %r15, %rax
addq $0x248, %rsp            # imm = 0x248
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x8c1f
movq %rax, %r14
movq -0x1b0(%rbp), %rdi
cmpq %r13, %rdi
jne 0x8ac5
jmp 0x8ae7
jmp 0x8ae4
jmp 0x8bc3
movq %rax, %r14
movq -0x1d0(%rbp), %rdi
leaq -0x1c0(%rbp), %rax
jmp 0x8b4d
movq %rax, %r14
movq -0x170(%rbp), %rdi
leaq -0x160(%rbp), %rax
jmp 0x8b4d
movq %rax, %r14
movq -0x130(%rbp), %rdi
leaq -0x120(%rbp), %rax
cmpq %rax, %rdi
jne 0x8ac5
jmp 0x8ae7
jmp 0x8ae4
jmp 0x8bc3
movq %rax, %r14
movq -0x190(%rbp), %rdi
leaq -0x180(%rbp), %rax
jmp 0x8b4d
movq %rax, %r14
movq %rbx, -0x40(%rbp)
jmp 0x8b7e
movq %rax, %r14
movq %rbx, -0x40(%rbp)
jmp 0x8b77
jmp 0x8bc3
jmp 0x8bc3
movq %rax, %r14
movq -0x250(%rbp), %rdi
cmpq %rbx, %rdi
je 0x8ae7
callq 0x21c0
jmp 0x8ae7
movq %rax, %r14
movq -0x270(%rbp), %rdi
leaq -0x260(%rbp), %rax
jmp 0x8b4d
jmp 0x8bc3
movq %rax, %r14
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
jmp 0x8b4d
movq %rax, %r14
movq -0x210(%rbp), %rdi
leaq -0x200(%rbp), %rax
jmp 0x8b4d
jmp 0x8bc3
movq %rax, %r14
movq -0x1f0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x8b22
callq 0x21c0
jmp 0x8b22
movq %rax, %r14
movq -0x30(%rbp), %r15
leaq -0x50(%rbp), %rax
movq -0x60(%rbp), %rdi
cmpq %rax, %rdi
jne 0x8bbc
jmp 0x8bca
movq %rax, %r14
movq -0x230(%rbp), %rdi
leaq -0x220(%rbp), %rax
cmpq %rax, %rdi
je 0x8bc6
callq 0x21c0
jmp 0x8bc6
jmp 0x8b74
jmp 0x8ba8
jmp 0x8bc3
movq %rax, %r14
movq -0x30(%rbp), %r15
jmp 0x8b77
jmp 0x8bc3
movq %rax, %r14
movq %r12, %r15
jmp 0x8b77
jmp 0x8b74
movq %rax, %r14
movq -0x88(%rbp), %r13
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x8b90
callq 0x21c0
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x8b9e
callq 0x21c0
testq %r13, %r13
je 0x8bca
movq %r13, %rdi
jmp 0x8bbc
movq %rax, %r14
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
movq -0x30(%rbp), %r15
je 0x8bca
callq 0x21c0
jmp 0x8bca
movq %rax, %r14
movq -0x30(%rbp), %r15
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x8be2
callq 0x21c0
movq -0x110(%rbp), %rdi
leaq -0x100(%rbp), %rax
cmpq %rax, %rdi
je 0x8bfa
callq 0x21c0
movq (%r15), %rdi
testq %rdi, %rdi
je 0x8c07
callq 0x21c0
movq -0x150(%rbp), %rdi
leaq -0x140(%rbp), %rax
cmpq %rax, %rdi
je 0x8c1f
callq 0x21c0
movq -0xf0(%rbp), %rdi
testq %rdi, %rdi
je 0x8c30
callq 0x21c0
movq %r14, %rdi
callq 0x2370