// File: /workspace/github_cpp_makefile_star2_O3/gioannides[P]Language_Processors/src/../include/ast/ast_node.hpp
// Function: FunctionDefinition::render_asm(std::basic_ofstream<char, std::char_traits<char>>&, Context&)
void render_asm(std::ofstream& file, Context& contxt) {
			
			contxt.function_dec=false;
			if( DeclarationSpecifiersPtr != NULL ) {
				contxt.functionReturnType = true;
				DeclarationSpecifiersPtr->render_asm(file,contxt);			//check the return type
				contxt.functionReturnType = false;
			}
			contxt.funcion_temp.returnType=contxt.functionReturnTypetemp; 

			if( DeclaratorPtr != NULL ) {				//function_def.name and function_def.no_parameters are assigned here
				
				contxt.protect = false; //protect overwriting currennt scope global/function
				//contxt.max_offset = 0;
				DeclaratorPtr->render_asm(file,contxt);
				//std::cout << "end of declarator" << std::endl;
				file << std::endl;
				file << std::endl << "\t.text" << std::endl;
				file << std::endl << "\t.align\t2" << std::endl; 
				file << std::endl << "\t.globl\t" << contxt.funct_id << std::endl;
				file << std::endl << "\t.set\t" << "nomips16" << std::endl;
				file << std::endl << "\t.set\t" << "nomicromips" << std::endl;
				file << std::endl << "\t.ent\t" << contxt.funct_id << std::endl;
				file << std::endl << "\t.type\t" << contxt.funct_id << "," << " @function" << std::endl;
				file << contxt.funct_id << ":" << std::endl;
				contxt.protect = true;
			}
			//contxt.Scopes.push_back(contxt.funct_id);
			//contxt.funcion_temp.returnType=contxt.functionReturnTypetemp; 
			contxt.funcion_temp.name=contxt.funct_id;
			contxt.functions_declared.push_back(contxt.funcion_temp);
			contxt.funcion_temp.paramters_size=0;
			if( DeclarationListPtr != NULL ) {   			//( functions having const-correctness for example )
				//DeclarationListPtr->render_asm(file,contxt);
			}
			//std::cout << "start of compund" << contxt.funct_id << std::endl;
			if( CompoundStatementPtr != NULL ) { // function_def.area is calculated here
				contxt.totalStackArea = 12+104+120;
				contxt.reading = true;						// this flag is used to prevent writing asm on file<< while reading ahead
				CompoundStatementPtr->render_asm(file,contxt);  // ...(file,initialized,function)
				contxt.reading = false;
			}
			contxt.is_function_call=false;	
			//std:: cout << "\nmax_offset" << contxt.max_offset << " " <<  contxt.funct_id <<"\n";
			contxt.totalStackArea+=contxt.max_offset;
			//file << "\n max_offset = " << contxt.max_offset << "\n";
			contxt.max_offset=16;
			//print_scopes(contxt, file);
			if(contxt.Scopes.size()>=1){
				for (int k=0; k<contxt.Variables.size(); k++)
				{	for (int j=contxt.Scopes.size()-1; j>=0; j--)
					{			
						if(contxt.Scopes[j]==contxt.Variables[k].scope)
						{
							contxt.Variables[k].param_offset = contxt.Variables[k].offset-4;
							contxt.Variables[k].offset += contxt.totalStackArea;
						}
					}
				}
			}		
			//contxt.function_def.name = contxt.funct_id;
			//contxt.function_def.no_parameters = no_parameters; // private var in ParameterList
			//no_parameters = 0;
			//contxt.function_def.area = contxt.totalStackArea;
			
			//contxt.functions.push_back(contxt.function_def);
			file << std::endl << "\t.set noreorder" << std::endl;
			file << std::endl << "\t.set nomacro" << std::endl;
			
			file << std::endl << "\taddiu $sp,$sp,-"<< contxt.totalStackArea+4;
			file << std::endl << "\tsw $fp," << contxt.totalStackArea << "($sp)";
			file << std::endl << "\tsw $31," << contxt.totalStackArea-4 <<"($sp)";
			file << std::endl << "\tmove $fp,$sp\n";
			// file << std::endl << "\tlui $28,%hi(__gnu_local_gp)";
			// file << std::endl << "\taddiu $28,$28,%lo(__gnu_local_gp)";

			
			contxt.floatt=0;
			for(int i=0; i<contxt.Variables.size(); i++)
			{
				if(contxt.Variables[i].param_offset==0 && contxt.Variables[i].scope==contxt.funct_id && contxt.Variables[i].DataType == "float")
				{
					contxt.floatt++;
				}
				if(contxt.floatt==1 && contxt.Variables[i].param_offset==4 && contxt.Variables[i].scope==contxt.funct_id && contxt.Variables[i].DataType == "float")
				{
					contxt.floatt++;	
				}
			}
			if(contxt.floatt)
			{
				file << std::endl << "\tswc1\t$f12," <<  contxt.totalStackArea + 4*(4-3) << "($sp)"; 
			}
			if(contxt.floatt==2)
			{
				file << std::endl << "\tswc1 $f14, " << contxt.totalStackArea + 4*(5-3) << "($sp)"; 
			}

			std::string dataType = "";
			int j = 0;	
			for(int i=4+contxt.floatt; i<=7; i++) //shift by 4 all the parameters
			{
				if(contxt.Variables.size() > j){						
					dataType = contxt.Variables[j].DataType;
				}
						
				if(dataType == "char"){
					file << std::endl << "\tsb $" << i <<  "," << contxt.totalStackArea + 4*(i-3) << "($sp)";
				}
				else if(dataType == "short"){
					file << std::endl << "\tsh $" << i <<  "," << contxt.totalStackArea + 4*(i-3) << "($sp)";
				}
				else{
					file << std::endl << "\tsw $" << i <<  "," << contxt.totalStackArea + 4*(i-3) << "($sp)";
				}
				dataType = "";
				j++;
				
			}

			contxt.variable.offset=contxt.totalStackArea-4;
			if( CompoundStatementPtr != NULL ) {
				//contxt.reading = false;
				CompoundStatementPtr->render_asm(file,contxt);
				//contxt.reading = false;
			}

			file << std::endl << "\tmove $sp,$fp";
			file << std::endl << "\tlw $31," << contxt.totalStackArea-4 <<"($sp)";
			file << std::endl << "\tlw $fp," << contxt.totalStackArea << "($sp)";
			file << std::endl << "\taddiu $sp,$sp," << contxt.totalStackArea + 4;
			file << std::endl << "\tj $31" << std::endl;
			file << std::endl << "\tnop" << std::endl;
			file << std::endl << "\t.set macro" << std::endl;
			file << std::endl << "\t.set reorder" << std::endl;
			file << std::endl << "\t.end " << contxt.funct_id << std::endl;
			file << std::endl << "\t.size " << contxt.funct_id << ", .-" << contxt.funct_id << std::endl;
			//contxt.totalStackArea = 8;
			//print_variables(contxt, file);
			if(contxt.Scopes.size()>0){
					contxt.Scopes.pop_back(); //assign the variable the scope it is in
				}
				else 
				{
					//std::cout << "PROBLEMS with Scopes" << std::endl;
				}
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %r14
movq %rsi, %r13
movb $0x0, 0x13e7c(%rdx)
movq %rdi, 0x10(%rsp)
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0xd776
movb $0x1, 0x360(%r14)
movq %r13, %rsi
movq %r14, %rdx
callq 0xe9ac
movb $0x0, 0x360(%r14)
leaq 0x368(%r14), %rsi
leaq 0x418(%r14), %r12
leaq 0x440(%r14), %rdi
callq 0x71c0
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rbx
testq %rbx, %rbx
movq %r14, 0x8(%rsp)
movq %r13, (%rsp)
je 0xdc26
movb $0x0, 0x21a(%r14)
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rax
testq %rdi, %rdi
je 0xd81b
testq %rax, %rax
movq 0x8(%rsp), %r14
je 0xd833
movb $0x1, 0x2f4(%r14)
movq %r13, %rsi
movq %r14, %rdx
callq 0x2068c
movl 0x20(%r14), %eax
movl %eax, 0x2f8(%r14)
movl %eax, 0x2fc(%r14)
movq 0x10(%rbx), %rdi
movq %r13, %rsi
movq %r14, %rdx
callq 0x206f4
movl $0x0, 0x20(%r14)
movb $0x0, 0x2f4(%r14)
movq $0x0, 0x2f8(%r14)
jmp 0xd833
testq %rax, %rax
movq 0x8(%rsp), %r14
je 0xd833
movq %rax, %rdi
movq %r13, %rsi
movq %r14, %rdx
callq 0x206f4
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x29c52(%rip), %rsi     # 0x374df
movl $0x6, %edx
movq %rax, %rdi
callq 0x73a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x29bf3(%rip), %rsi     # 0x374e6
movl $0x9, %edx
movq %rax, %rdi
callq 0x73a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x29b97(%rip), %rsi     # 0x374f0
movl $0x8, %edx
movq %rax, %rdi
callq 0x73a0
movq 0x220(%r14), %rsi
movq 0x228(%r14), %rdx
movq %r15, %rdi
callq 0x73a0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r13
leaq 0x29b21(%rip), %r15     # 0x374f9
movl $0x6, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x73a0
leaq 0x29b11(%rip), %rsi     # 0x37500
movl $0x8, %edx
movq %r13, %rdi
callq 0x73a0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%rsp), %rax
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq (%rsp), %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq (%rsp), %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r13
movl $0x6, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x73a0
leaq 0x29a9e(%rip), %rsi     # 0x37509
movl $0xb, %edx
movq %r13, %rdi
callq 0x73a0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
movq (%rsp), %r13
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x29a3f(%rip), %rsi     # 0x37515
movl $0x6, %edx
movq %rax, %rdi
callq 0x73a0
movq 0x220(%r14), %rsi
movq 0x228(%r14), %rdx
movq %r15, %rdi
callq 0x73a0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x299c7(%rip), %rsi     # 0x3751c
movl $0x7, %edx
movq %rax, %rdi
callq 0x73a0
movq 0x220(%r14), %rsi
movq 0x228(%r14), %rdx
movq %r15, %rdi
callq 0x73a0
movq %rax, %r15
leaq 0x29afc(%rip), %rsi     # 0x3767e
movl $0x1, %edx
movq %rax, %rdi
callq 0x73a0
leaq 0x2998e(%rip), %rsi     # 0x37524
movl $0xa, %edx
movq %r15, %rdi
callq 0x73a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq 0x220(%r14), %rsi
movq 0x228(%r14), %rdx
movq %r13, %rdi
callq 0x73a0
movq %rax, %r15
leaq 0x2982c(%rip), %rsi     # 0x37416
movl $0x1, %edx
movq %rax, %rdi
callq 0x73a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movb $0x1, 0x21a(%r14)
leaq 0x220(%r14), %rsi
leaq 0x420(%r14), %rdi
movq %rsi, 0x28(%rsp)
callq 0x71c0
leaq 0x400(%r14), %rdi
movq %r12, %rsi
callq 0xea86
movl $0x0, 0x418(%r14)
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rdi
testq %rdi, %rdi
je 0xdc8c
movl $0xec, 0x308(%r14)
movb $0x1, 0x21b(%r14)
movq %r13, %rsi
movq %r14, %rdx
callq 0xeab0
movb $0x0, 0x21b(%r14)
movl 0x308(%r14), %ebp
addl 0x4ac(%r14), %ebp
movq 0x468(%r14), %rdx
movq 0x460(%r14), %rax
movb $0x0, 0x4b0(%r14)
movl %ebp, 0x308(%r14)
movl $0x10, 0x4ac(%r14)
subq %rax, %rdx
je 0xdda4
movq 0x8(%rsp), %rcx
movq 0x240(%rcx), %rsi
movq 0x248(%rcx), %rcx
movq %rsi, 0x60(%rsp)
subq %rsi, %rcx
je 0xdda4
shrq $0x5, %rdx
movq %rcx, %rsi
sarq $0x4, %rsi
movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3
imulq %rcx, %rsi
decl %edx
cmpq $0x1, %rsi
adcq $0x0, %rsi
movq %rsi, 0x18(%rsp)
leaq 0x1(%rdx), %rcx
movq %rcx, 0x58(%rsp)
movq %rdx, 0x20(%rsp)
movq %rdx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
addq $0x8, %rax
movq %rax, 0x50(%rsp)
xorl %ebx, %ebx
cmpl $0x0, 0x20(%rsp)
js 0xdd9a
imulq $0xb0, %rbx, %rax
movq 0x60(%rsp), %rcx
leaq (%rcx,%rax), %r14
movq 0x38(%rcx,%rax), %r15
movq 0x50(%rsp), %r12
movq 0x58(%rsp), %r13
cmpq %r15, (%r12)
jne 0xdd91
testq %r15, %r15
je 0xdd7d
movq 0x30(%r14), %rsi
movq -0x8(%r12), %rdi
movq %r15, %rdx
callq 0x7350
testl %eax, %eax
jne 0xdd91
movl 0x50(%r14), %eax
leal -0x4(%rax), %ecx
movl %ecx, 0x98(%r14)
addl %ebp, %eax
movl %eax, 0x50(%r14)
addq $-0x20, %r12
decq %r13
jg 0xdd5d
incq %rbx
cmpq 0x18(%rsp), %rbx
jne 0xdd37
movq (%rsp), %r13
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x29755(%rip), %rsi     # 0x3752f
movl $0xf, %edx
movq %rax, %rdi
callq 0x73a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x296ff(%rip), %rsi     # 0x3753f
movl $0xd, %edx
movq %rax, %rdi
callq 0x73a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x296a7(%rip), %rsi     # 0x3754d
movl $0x10, %edx
movq %rax, %rdi
callq 0x73a0
movq 0x8(%rsp), %rbx
movl 0x308(%rbx), %esi
addl $0x4, %esi
movq %r15, %rdi
callq 0x75c0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x29663(%rip), %rsi     # 0x3755e
movl $0x8, %edx
movq %rax, %rdi
callq 0x73a0
movl 0x308(%rbx), %esi
movq %r15, %rdi
callq 0x75c0
leaq 0x2964a(%rip), %r15     # 0x37567
movl $0x5, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x73a0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r12
leaq 0x2960e(%rip), %rsi     # 0x3756d
movl $0x8, %edx
movq %rax, %rdi
callq 0x73a0
movl 0x308(%rbx), %esi
addl $-0x4, %esi
movq %r12, %rdi
callq 0x75c0
movl $0x5, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x73a0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
leaq 0x295ba(%rip), %rsi     # 0x37576
movl $0xe, %edx
movq %rax, %rdi
callq 0x73a0
movl $0x0, 0xb8(%rbx)
movq 0x240(%rbx), %r12
cmpq %r12, 0x248(%rbx)
je 0xe1c1
movl $0x58, %r14d
xorl %ebp, %ebp
leaq 0x2958f(%rip), %r15     # 0x37585
cmpl $0x0, 0x40(%r12,%r14)
jne 0xe03d
movq -0x20(%r12,%r14), %rdx
cmpq 0x228(%rbx), %rdx
jne 0xe03d
testq %rdx, %rdx
je 0xe027
movq 0x28(%rsp), %rax
movq (%rax), %rsi
movq -0x28(%r12,%r14), %rdi
callq 0x7350
testl %eax, %eax
jne 0xe03d
addq %r14, %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x70c0
testl %eax, %eax
je 0xe0d0
movl 0xb8(%rbx), %eax
cmpl $0x1, %eax
jne 0xe098
movq 0x240(%rbx), %r12
cmpl $0x4, 0x40(%r12,%r14)
jne 0xe098
movq -0x20(%r12,%r14), %rdx
cmpq 0x228(%rbx), %rdx
jne 0xe098
testq %rdx, %rdx
je 0xe080
movq 0x28(%rsp), %rax
movq (%rax), %rsi
movq -0x28(%r12,%r14), %rdi
callq 0x7350
testl %eax, %eax
jne 0xe098
addq %r14, %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x70c0
testl %eax, %eax
jne 0xe098
incl 0xb8(%rbx)
incq %rbp
movq 0x240(%rbx), %r12
movq 0x248(%rbx), %rax
subq %r12, %rax
sarq $0x4, %rax
movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3
imulq %rcx, %rax
addq $0xb0, %r14
cmpq %rbp, %rax
ja 0xdff6
jmp 0xe0e3
movl 0xb8(%rbx), %eax
incl %eax
movl %eax, 0xb8(%rbx)
jmp 0xe043
cmpl $0x0, 0xb8(%rbx)
je 0xe1c1
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x29469(%rip), %rsi     # 0x3758b
movl $0xb, %edx
movq %rax, %rdi
callq 0x73a0
movl 0x308(%rbx), %esi
addl $0x4, %esi
movq %r15, %rdi
callq 0x75c0
leaq 0x29420(%rip), %rsi     # 0x37567
movl $0x5, %edx
movq %rax, %rdi
callq 0x73a0
cmpl $0x2, 0xb8(%rbx)
jne 0xe1c1
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x29408(%rip), %rsi     # 0x37597
movl $0xc, %edx
movq %rax, %rdi
callq 0x73a0
movl 0x308(%rbx), %esi
addl $0x8, %esi
movq %r15, %rdi
callq 0x75c0
leaq 0x293b3(%rip), %rsi     # 0x37567
movl $0x5, %edx
movq %rax, %rdi
callq 0x73a0
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x2952c(%rip), %rdx     # 0x376fd
leaq 0x30(%rsp), %rdi
movq %rdx, %rsi
callq 0x89e2
movl 0xb8(%rbx), %eax
cmpl $0x3, %eax
jg 0xe404
leal 0x4(%rax), %ecx
movq %rcx, 0x20(%rsp)
movl $0x4, %ecx
subl %eax, %ecx
movq %rcx, 0x18(%rsp)
leal 0x4(,%rax,4), %r13d
movl $0x58, %r14d
xorl %r12d, %r12d
movq 0x240(%rbx), %rsi
movq 0x248(%rbx), %rax
subq %rsi, %rax
sarq $0x4, %rax
movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3
imulq %rcx, %rax
cmpq %r12, %rax
jbe 0xe247
addq %r14, %rsi
leaq 0x30(%rsp), %rdi
callq 0x71c0
movq 0x20(%rsp), %rax
leaq (%rax,%r12), %r15
leaq 0x30(%rsp), %rbp
movq %rbp, %rdi
leaq 0x29345(%rip), %rsi     # 0x375a4
callq 0x70c0
testl %eax, %eax
je 0xe2ed
movq %rbp, %rdi
leaq 0x29339(%rip), %rsi     # 0x375af
callq 0x70c0
movq (%rsp), %rdx
movq (%rdx), %rcx
movq -0x18(%rcx), %rdi
addq %rdx, %rdi
testl %eax, %eax
je 0xe354
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq (%rsp), %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %rbp
movl $0x5, %edx
movq %rax, %rdi
leaq 0x29680(%rip), %rsi     # 0x37941
callq 0x73a0
movq %rbp, %rdi
movl %r15d, %esi
callq 0x75c0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2939b(%rip), %rsi     # 0x3767e
callq 0x73a0
jmp 0xe3ab
movq (%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq (%rsp), %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %rbp
movl $0x5, %edx
movq %rax, %rdi
leaq 0x2927e(%rip), %rsi     # 0x375a9
callq 0x73a0
movq %rbp, %rdi
movl %r15d, %esi
callq 0x75c0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x29331(%rip), %rsi     # 0x3767e
callq 0x73a0
jmp 0xe3ab
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq (%rsp), %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %rbp
movl $0x5, %edx
movq %rax, %rdi
leaq 0x29231(%rip), %rsi     # 0x375b5
callq 0x73a0
movq %rbp, %rdi
movl %r15d, %esi
callq 0x75c0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x292d8(%rip), %rsi     # 0x3767e
callq 0x73a0
movl 0x308(%rbx), %esi
addl %r13d, %esi
movq %r15, %rdi
callq 0x75c0
movl $0x5, %edx
movq %rax, %rdi
leaq 0x2919c(%rip), %rsi     # 0x37567
callq 0x73a0
movq 0x38(%rsp), %rdx
leaq 0x30(%rsp), %rdi
xorl %esi, %esi
leaq 0x2931a(%rip), %rcx     # 0x376fd
xorl %r8d, %r8d
callq 0x7520
incq %r12
addq $0xb0, %r14
addl $0x4, %r13d
cmpq %r12, 0x18(%rsp)
jne 0xe212
movl 0x308(%rbx), %eax
addl $-0x4, %eax
movl %eax, 0x2a8(%rbx)
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rdi
testq %rdi, %rdi
movq (%rsp), %r14
je 0xe430
movq %r14, %rsi
movq %rbx, %rdx
callq 0xeab0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
leaq 0x2915d(%rip), %rsi     # 0x375bb
movl $0xd, %edx
movq %rax, %rdi
callq 0x73a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x2912d(%rip), %rsi     # 0x375c9
movl $0x8, %edx
movq %rax, %rdi
callq 0x73a0
movl 0x308(%rbx), %esi
addl $-0x4, %esi
movq %r15, %rdi
callq 0x75c0
leaq 0x290a6(%rip), %rsi     # 0x37567
movl $0x5, %edx
movq %rax, %rdi
callq 0x73a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x290d3(%rip), %rsi     # 0x375d2
movl $0x8, %edx
movq %rax, %rdi
callq 0x73a0
movl 0x308(%rbx), %esi
movq %r15, %rdi
callq 0x75c0
leaq 0x29046(%rip), %rsi     # 0x37567
movl $0x5, %edx
movq %rax, %rdi
callq 0x73a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x2907c(%rip), %rsi     # 0x375db
movl $0xf, %edx
movq %rax, %rdi
callq 0x73a0
movl 0x308(%rbx), %esi
addl $0x4, %esi
movq %r15, %rdi
callq 0x75c0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x2903d(%rip), %rsi     # 0x375eb
movl $0x6, %edx
movq %rax, %rdi
callq 0x73a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x28fdf(%rip), %rsi     # 0x375f2
movl $0x4, %edx
movq %rax, %rdi
callq 0x73a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x28f7f(%rip), %rsi     # 0x375f7
movl $0xb, %edx
movq %rax, %rdi
callq 0x73a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x28f26(%rip), %rsi     # 0x37603
movl $0xd, %edx
movq %rax, %rdi
callq 0x73a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r15
leaq 0x28ecf(%rip), %rsi     # 0x37611
movl $0x6, %edx
movq %rax, %rdi
callq 0x73a0
movq 0x220(%rbx), %rsi
movq 0x228(%rbx), %rdx
movq %r15, %rdi
callq 0x73a0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq %rax, %r14
leaq 0x28e58(%rip), %rsi     # 0x37618
movl $0x7, %edx
movq %rax, %rdi
callq 0x73a0
movq 0x220(%rbx), %rsi
movq 0x228(%rbx), %rdx
movq %r14, %rdi
callq 0x73a0
movq %rax, %r14
leaq 0x28e33(%rip), %rsi     # 0x37620
movl $0x4, %edx
movq %rax, %rdi
callq 0x73a0
movq 0x220(%rbx), %rsi
movq 0x228(%rbx), %rdx
movq %r14, %rdi
callq 0x73a0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7300
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7220
movq 0x468(%rbx), %rax
cmpq 0x460(%rbx), %rax
je 0xe867
leaq -0x20(%rax), %rcx
movq %rcx, 0x468(%rbx)
movq -0x20(%rax), %rdi
addq $-0x10, %rax
cmpq %rax, %rdi
je 0xe867
callq 0x72e0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xe87b
callq 0x72e0
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xe88c
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xe8a3
callq 0x72e0
movq %rbx, %rdi
callq 0x75f0
nop