// File: 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
movq %rsp, %rbp
subq $0x1f0, %rsp            # imm = 0x1F0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x18(%rbp), %rcx
movb $0x0, 0x13e7c(%rcx)
cmpq $0x0, 0x8(%rax)
je 0xe86c
movq -0x70(%rbp), %rax
movq -0x18(%rbp), %rcx
movb $0x1, 0x360(%rcx)
movq 0x8(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0xf8a0
movq -0x18(%rbp), %rax
movb $0x0, 0x360(%rax)
movq -0x18(%rbp), %rsi
addq $0x368, %rsi            # imm = 0x368
movq -0x18(%rbp), %rdi
addq $0x418, %rdi            # imm = 0x418
addq $0x28, %rdi
callq 0x8060
movq -0x70(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0xeabe
movq -0x70(%rbp), %rax
movq -0x18(%rbp), %rcx
movb $0x0, 0x21a(%rcx)
movq 0x10(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0xfa00
movq -0x10(%rbp), %rdi
movq 0x796ab(%rip), %rsi     # 0x87f70
callq 0x8450
movq -0x10(%rbp), %rdi
movq 0x7969b(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x559ba(%rip), %rsi     # 0x6429e
callq 0x8400
movq %rax, %rdi
movq 0x7967d(%rip), %rsi     # 0x87f70
callq 0x8450
movq -0x10(%rbp), %rdi
movq 0x7966d(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x55993(%rip), %rsi     # 0x642a5
callq 0x8400
movq %rax, %rdi
movq 0x7964f(%rip), %rsi     # 0x87f70
callq 0x8450
movq -0x10(%rbp), %rdi
movq 0x7963f(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x5596f(%rip), %rsi     # 0x642af
callq 0x8400
movq %rax, %rdi
movq -0x18(%rbp), %rsi
addq $0x220, %rsi            # imm = 0x220
callq 0x83c0
movq %rax, %rdi
movq 0x7960e(%rip), %rsi     # 0x87f70
callq 0x8450
movq -0x10(%rbp), %rdi
movq 0x795fe(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x55937(%rip), %rsi     # 0x642b8
callq 0x8400
movq %rax, %rdi
leaq 0x5592f(%rip), %rsi     # 0x642bf
callq 0x8400
movq %rax, %rdi
movq 0x795d1(%rip), %rsi     # 0x87f70
callq 0x8450
movq -0x10(%rbp), %rdi
movq 0x795c1(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x558fa(%rip), %rsi     # 0x642b8
callq 0x8400
movq %rax, %rdi
leaq 0x558fb(%rip), %rsi     # 0x642c8
callq 0x8400
movq %rax, %rdi
movq 0x79594(%rip), %rsi     # 0x87f70
callq 0x8450
movq -0x10(%rbp), %rdi
movq 0x79584(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x558d9(%rip), %rsi     # 0x642d4
callq 0x8400
movq %rax, %rdi
movq -0x18(%rbp), %rsi
addq $0x220, %rsi            # imm = 0x220
callq 0x83c0
movq %rax, %rdi
movq 0x79553(%rip), %rsi     # 0x87f70
callq 0x8450
movq -0x10(%rbp), %rdi
movq 0x79543(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x5589f(%rip), %rsi     # 0x642db
callq 0x8400
movq %rax, %rdi
movq -0x18(%rbp), %rsi
addq $0x220, %rsi            # imm = 0x220
callq 0x83c0
movq %rax, %rdi
leaq 0x559df(%rip), %rsi     # 0x6443d
callq 0x8400
movq %rax, %rdi
leaq 0x55876(%rip), %rsi     # 0x642e3
callq 0x8400
movq %rax, %rdi
movq 0x794f4(%rip), %rsi     # 0x87f70
callq 0x8450
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
addq $0x220, %rsi            # imm = 0x220
callq 0x83c0
movq %rax, %rdi
leaq 0x55734(%rip), %rsi     # 0x641d3
callq 0x8400
movq %rax, %rdi
movq 0x794c2(%rip), %rsi     # 0x87f70
callq 0x8450
movq -0x18(%rbp), %rax
movb $0x1, 0x21a(%rax)
movq -0x18(%rbp), %rsi
addq $0x220, %rsi            # imm = 0x220
movq -0x18(%rbp), %rdi
addq $0x418, %rdi            # imm = 0x418
addq $0x8, %rdi
callq 0x8060
movq -0x18(%rbp), %rdi
addq $0x400, %rdi            # imm = 0x400
movq -0x18(%rbp), %rsi
addq $0x418, %rsi            # imm = 0x418
callq 0xfb00
movq -0x70(%rbp), %rax
movq -0x18(%rbp), %rcx
movl $0x0, 0x418(%rcx)
cmpq $0x0, 0x18(%rax)
je 0xeb13
jmp 0xeb13
movq -0x70(%rbp), %rax
cmpq $0x0, 0x20(%rax)
je 0xeb57
movq -0x70(%rbp), %rax
movq -0x18(%rbp), %rcx
movl $0xec, 0x308(%rcx)
movq -0x18(%rbp), %rcx
movb $0x1, 0x21b(%rcx)
movq 0x20(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0xfb70
movq -0x18(%rbp), %rax
movb $0x0, 0x21b(%rax)
movq -0x18(%rbp), %rax
movb $0x0, 0x4b0(%rax)
movq -0x18(%rbp), %rax
movl 0x4ac(%rax), %ecx
movq -0x18(%rbp), %rax
addl 0x308(%rax), %ecx
movl %ecx, 0x308(%rax)
movq -0x18(%rbp), %rax
movl $0x10, 0x4ac(%rax)
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
callq 0xbef0
cmpq $0x1, %rax
jb 0xecc8
movl $0x0, -0x1c(%rbp)
movslq -0x1c(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
callq 0xfd20
movq %rax, %rcx
movq -0x78(%rbp), %rax
cmpq %rcx, %rax
jae 0xecc6
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
callq 0xbef0
subq $0x1, %rax
movl %eax, -0x20(%rbp)
cmpl $0x0, -0x20(%rbp)
jl 0xecb6
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
movslq -0x20(%rbp), %rsi
callq 0xbf10
movq %rax, -0x80(%rbp)
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x1c(%rbp), %rsi
callq 0xfde0
movq -0x80(%rbp), %rdi
movq %rax, %rsi
addq $0x30, %rsi
callq 0xfd50
testb $0x1, %al
jne 0xec36
jmp 0xeca6
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x1c(%rbp), %rsi
callq 0xfde0
movl 0x50(%rax), %eax
subl $0x4, %eax
movl %eax, -0x88(%rbp)
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x1c(%rbp), %rsi
callq 0xfde0
movl -0x88(%rbp), %ecx
movl %ecx, 0x98(%rax)
movq -0x18(%rbp), %rax
movl 0x308(%rax), %eax
movl %eax, -0x84(%rbp)
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x1c(%rbp), %rsi
callq 0xfde0
movl -0x84(%rbp), %ecx
addl 0x50(%rax), %ecx
movl %ecx, 0x50(%rax)
jmp 0xeca8
movl -0x20(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0xebea
jmp 0xecb8
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0xebab
jmp 0xecc8
movq -0x10(%rbp), %rdi
movq 0x7929d(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x5560c(%rip), %rsi     # 0x642ee
callq 0x8400
movq %rax, %rdi
movq 0x7927f(%rip), %rsi     # 0x87f70
callq 0x8450
movq -0x10(%rbp), %rdi
movq 0x7926f(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x555ee(%rip), %rsi     # 0x642fe
callq 0x8400
movq %rax, %rdi
movq 0x79251(%rip), %rsi     # 0x87f70
callq 0x8450
movq -0x10(%rbp), %rdi
movq 0x79241(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x555ce(%rip), %rsi     # 0x6430c
callq 0x8400
movq %rax, %rdi
movq -0x18(%rbp), %rax
movl 0x308(%rax), %esi
addl $0x4, %esi
callq 0x8730
movq -0x10(%rbp), %rdi
movq 0x7920d(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x555ab(%rip), %rsi     # 0x6431d
callq 0x8400
movq %rax, %rdi
movq -0x18(%rbp), %rax
movl 0x308(%rax), %esi
callq 0x8730
movq %rax, %rdi
leaq 0x55593(%rip), %rsi     # 0x64326
callq 0x8400
movq -0x10(%rbp), %rdi
movq 0x791cd(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x5557a(%rip), %rsi     # 0x6432c
callq 0x8400
movq %rax, %rdi
movq -0x18(%rbp), %rax
movl 0x308(%rax), %esi
subl $0x4, %esi
callq 0x8730
movq %rax, %rdi
leaq 0x55550(%rip), %rsi     # 0x64326
callq 0x8400
movq -0x10(%rbp), %rdi
movq 0x7918a(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x55540(%rip), %rsi     # 0x64335
callq 0x8400
movq -0x18(%rbp), %rax
movl $0x0, 0xb8(%rax)
movl $0x0, -0x24(%rbp)
movslq -0x24(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
callq 0xfd20
movq %rax, %rcx
movq -0x90(%rbp), %rax
cmpq %rcx, %rax
jae 0xef7a
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x24(%rbp), %rsi
callq 0xfde0
cmpl $0x0, 0x98(%rax)
jne 0xeecb
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x24(%rbp), %rsi
callq 0xfde0
movq %rax, %rdi
addq $0x30, %rdi
movq -0x18(%rbp), %rsi
addq $0x220, %rsi            # imm = 0x220
callq 0xfd50
testb $0x1, %al
jne 0xee8b
jmp 0xeecb
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x24(%rbp), %rsi
callq 0xfde0
movq %rax, %rdi
addq $0x58, %rdi
leaq 0x55497(%rip), %rsi     # 0x64344
callq 0x9e30
testb $0x1, %al
jne 0xeeb8
jmp 0xeecb
movq -0x18(%rbp), %rax
movl 0xb8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0xb8(%rax)
movq -0x18(%rbp), %rax
cmpl $0x1, 0xb8(%rax)
jne 0xef6a
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x24(%rbp), %rsi
callq 0xfde0
cmpl $0x4, 0x98(%rax)
jne 0xef6a
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x24(%rbp), %rsi
callq 0xfde0
movq %rax, %rdi
addq $0x30, %rdi
movq -0x18(%rbp), %rsi
addq $0x220, %rsi            # imm = 0x220
callq 0xfd50
testb $0x1, %al
jne 0xef2a
jmp 0xef6a
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x24(%rbp), %rsi
callq 0xfde0
movq %rax, %rdi
addq $0x58, %rdi
leaq 0x553f8(%rip), %rsi     # 0x64344
callq 0x9e30
testb $0x1, %al
jne 0xef57
jmp 0xef6a
movq -0x18(%rbp), %rax
movl 0xb8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0xb8(%rax)
jmp 0xef6c
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0xee0f
movq -0x18(%rbp), %rax
cmpl $0x0, 0xb8(%rax)
je 0xefca
movq -0x10(%rbp), %rdi
movq 0x78fde(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x553a9(%rip), %rsi     # 0x6434a
callq 0x8400
movq %rax, %rdi
movq -0x18(%rbp), %rax
movl 0x308(%rax), %esi
addl $0x4, %esi
callq 0x8730
movq %rax, %rdi
leaq 0x55361(%rip), %rsi     # 0x64326
callq 0x8400
movq -0x18(%rbp), %rax
cmpl $0x2, 0xb8(%rax)
jne 0xf01a
movq -0x10(%rbp), %rdi
movq 0x78f8e(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x55365(%rip), %rsi     # 0x64356
callq 0x8400
movq %rax, %rdi
movq -0x18(%rbp), %rax
movl 0x308(%rax), %esi
addl $0x8, %esi
callq 0x8730
movq %rax, %rdi
leaq 0x55311(%rip), %rsi     # 0x64326
callq 0x8400
leaq -0x49(%rbp), %rdi
movq %rdi, -0x98(%rbp)
callq 0x8770
movq -0x98(%rbp), %rdx
leaq 0x55484(%rip), %rsi     # 0x644bc
leaq -0x48(%rbp), %rdi
callq 0x85a0
jmp 0xf043
leaq -0x49(%rbp), %rdi
callq 0x8480
movl $0x0, -0x60(%rbp)
movq -0x18(%rbp), %rax
movl 0xb8(%rax), %eax
addl $0x4, %eax
movl %eax, -0x64(%rbp)
cmpl $0x7, -0x64(%rbp)
jg 0xf35f
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
callq 0xfd20
movslq -0x60(%rbp), %rcx
cmpq %rcx, %rax
jbe 0xf0e2
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x60(%rbp), %rsi
callq 0xfde0
movq %rax, %rsi
addq $0x58, %rsi
leaq -0x48(%rbp), %rdi
callq 0x8060
jmp 0xf0ac
jmp 0xf0e2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x49(%rbp), %rdi
callq 0x8480
jmp 0xf761
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x8280
jmp 0xf761
leaq 0x5527a(%rip), %rsi     # 0x64363
leaq -0x48(%rbp), %rdi
callq 0x9e30
movb %al, -0x99(%rbp)
jmp 0xf0fa
movb -0x99(%rbp), %al
testb $0x1, %al
jne 0xf109
jmp 0xf1b6
movq -0x10(%rbp), %rdi
movq 0x78e5c(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0xa8(%rbp)
jmp 0xf122
movq -0xa8(%rbp), %rdi
leaq 0x55238(%rip), %rsi     # 0x64368
callq 0x8400
movq %rax, -0xb0(%rbp)
jmp 0xf13e
movq -0xb0(%rbp), %rdi
movl -0x64(%rbp), %esi
callq 0x8730
movq %rax, -0xb8(%rbp)
jmp 0xf156
movq -0xb8(%rbp), %rdi
leaq 0x552d9(%rip), %rsi     # 0x6443d
callq 0x8400
movq %rax, -0xc0(%rbp)
jmp 0xf172
movq -0xc0(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x308(%rax), %edx
movl -0x64(%rbp), %eax
movl %eax, %ecx
movl %edx, %eax
leal -0xc(%rax,%rcx,4), %esi
callq 0x8730
movq %rax, -0xc8(%rbp)
jmp 0xf19c
movq -0xc8(%rbp), %rdi
leaq 0x5517c(%rip), %rsi     # 0x64326
callq 0x8400
jmp 0xf1b1
jmp 0xf336
leaq 0x551b1(%rip), %rsi     # 0x6436e
leaq -0x48(%rbp), %rdi
callq 0x9e30
movb %al, -0xc9(%rbp)
jmp 0xf1ce
movb -0xc9(%rbp), %al
testb $0x1, %al
jne 0xf1dd
jmp 0xf28a
movq -0x10(%rbp), %rdi
movq 0x78d88(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0xd8(%rbp)
jmp 0xf1f6
movq -0xd8(%rbp), %rdi
leaq 0x55170(%rip), %rsi     # 0x64374
callq 0x8400
movq %rax, -0xe0(%rbp)
jmp 0xf212
movq -0xe0(%rbp), %rdi
movl -0x64(%rbp), %esi
callq 0x8730
movq %rax, -0xe8(%rbp)
jmp 0xf22a
movq -0xe8(%rbp), %rdi
leaq 0x55205(%rip), %rsi     # 0x6443d
callq 0x8400
movq %rax, -0xf0(%rbp)
jmp 0xf246
movq -0xf0(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x308(%rax), %edx
movl -0x64(%rbp), %eax
movl %eax, %ecx
movl %edx, %eax
leal -0xc(%rax,%rcx,4), %esi
callq 0x8730
movq %rax, -0xf8(%rbp)
jmp 0xf270
movq -0xf8(%rbp), %rdi
leaq 0x550a8(%rip), %rsi     # 0x64326
callq 0x8400
jmp 0xf285
jmp 0xf334
movq -0x10(%rbp), %rdi
movq 0x78cdb(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0x100(%rbp)
jmp 0xf2a3
movq -0x100(%rbp), %rdi
leaq 0x5544f(%rip), %rsi     # 0x64700
callq 0x8400
movq %rax, -0x108(%rbp)
jmp 0xf2bf
movq -0x108(%rbp), %rdi
movl -0x64(%rbp), %esi
callq 0x8730
movq %rax, -0x110(%rbp)
jmp 0xf2d7
movq -0x110(%rbp), %rdi
leaq 0x55158(%rip), %rsi     # 0x6443d
callq 0x8400
movq %rax, -0x118(%rbp)
jmp 0xf2f3
movq -0x118(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x308(%rax), %edx
movl -0x64(%rbp), %eax
movl %eax, %ecx
movl %edx, %eax
leal -0xc(%rax,%rcx,4), %esi
callq 0x8730
movq %rax, -0x120(%rbp)
jmp 0xf31d
movq -0x120(%rbp), %rdi
leaq 0x54ffb(%rip), %rsi     # 0x64326
callq 0x8400
jmp 0xf332
jmp 0xf334
jmp 0xf336
leaq 0x5517f(%rip), %rsi     # 0x644bc
leaq -0x48(%rbp), %rdi
callq 0x8590
jmp 0xf348
movl -0x60(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x60(%rbp)
movl -0x64(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x64(%rbp)
jmp 0xf063
movq -0x70(%rbp), %rax
movq -0x18(%rbp), %rcx
movl 0x308(%rcx), %edx
subl $0x4, %edx
movq -0x18(%rbp), %rcx
movl %edx, 0x2a8(%rcx)
cmpq $0x0, 0x20(%rax)
je 0xf39a
movq -0x70(%rbp), %rax
movq 0x20(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0xfb70
jmp 0xf398
jmp 0xf39a
movq -0x10(%rbp), %rdi
movq 0x78bcb(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0x128(%rbp)
jmp 0xf3b3
movq -0x128(%rbp), %rdi
leaq 0x54fb9(%rip), %rsi     # 0x6437a
callq 0x8400
jmp 0xf3c8
movq -0x10(%rbp), %rdi
movq 0x78b9d(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0x130(%rbp)
jmp 0xf3e1
movq -0x130(%rbp), %rdi
leaq 0x54f99(%rip), %rsi     # 0x64388
callq 0x8400
movq %rax, -0x138(%rbp)
jmp 0xf3fd
movq -0x138(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x308(%rax), %esi
addl $-0x4, %esi
callq 0x8730
movq %rax, -0x140(%rbp)
jmp 0xf41f
movq -0x140(%rbp), %rdi
leaq 0x54ef9(%rip), %rsi     # 0x64326
callq 0x8400
jmp 0xf434
movq -0x10(%rbp), %rdi
movq 0x78b31(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0x148(%rbp)
jmp 0xf44d
movq -0x148(%rbp), %rdi
leaq 0x54f36(%rip), %rsi     # 0x64391
callq 0x8400
movq %rax, -0x150(%rbp)
jmp 0xf469
movq -0x150(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x308(%rax), %esi
callq 0x8730
movq %rax, -0x158(%rbp)
jmp 0xf488
movq -0x158(%rbp), %rdi
leaq 0x54e90(%rip), %rsi     # 0x64326
callq 0x8400
jmp 0xf49d
movq -0x10(%rbp), %rdi
movq 0x78ac8(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0x160(%rbp)
jmp 0xf4b6
movq -0x160(%rbp), %rdi
leaq 0x54ed6(%rip), %rsi     # 0x6439a
callq 0x8400
movq %rax, -0x168(%rbp)
jmp 0xf4d2
movq -0x168(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x308(%rax), %esi
addl $0x4, %esi
callq 0x8730
jmp 0xf4ed
movq -0x10(%rbp), %rdi
movq 0x78a78(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0x170(%rbp)
jmp 0xf506
movq -0x170(%rbp), %rdi
leaq 0x54e96(%rip), %rsi     # 0x643aa
callq 0x8400
movq %rax, -0x178(%rbp)
jmp 0xf522
movq -0x178(%rbp), %rdi
movq 0x78a40(%rip), %rsi     # 0x87f70
callq 0x8450
jmp 0xf537
movq -0x10(%rbp), %rdi
movq 0x78a2e(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0x180(%rbp)
jmp 0xf550
movq -0x180(%rbp), %rdi
leaq 0x54e53(%rip), %rsi     # 0x643b1
callq 0x8400
movq %rax, -0x188(%rbp)
jmp 0xf56c
movq -0x188(%rbp), %rdi
movq 0x789f6(%rip), %rsi     # 0x87f70
callq 0x8450
jmp 0xf581
movq -0x10(%rbp), %rdi
movq 0x789e4(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0x190(%rbp)
jmp 0xf59a
movq -0x190(%rbp), %rdi
leaq 0x54e0e(%rip), %rsi     # 0x643b6
callq 0x8400
movq %rax, -0x198(%rbp)
jmp 0xf5b6
movq -0x198(%rbp), %rdi
movq 0x789ac(%rip), %rsi     # 0x87f70
callq 0x8450
jmp 0xf5cb
movq -0x10(%rbp), %rdi
movq 0x7899a(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0x1a0(%rbp)
jmp 0xf5e4
movq -0x1a0(%rbp), %rdi
leaq 0x54dd0(%rip), %rsi     # 0x643c2
callq 0x8400
movq %rax, -0x1a8(%rbp)
jmp 0xf600
movq -0x1a8(%rbp), %rdi
movq 0x78962(%rip), %rsi     # 0x87f70
callq 0x8450
jmp 0xf615
movq -0x10(%rbp), %rdi
movq 0x78950(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0x1b0(%rbp)
jmp 0xf62e
movq -0x1b0(%rbp), %rdi
leaq 0x54d94(%rip), %rsi     # 0x643d0
callq 0x8400
movq %rax, -0x1b8(%rbp)
jmp 0xf64a
movq -0x1b8(%rbp), %rdi
movq -0x18(%rbp), %rsi
addq $0x220, %rsi            # imm = 0x220
callq 0x83c0
movq %rax, -0x1c0(%rbp)
jmp 0xf66a
movq -0x1c0(%rbp), %rdi
movq 0x788f8(%rip), %rsi     # 0x87f70
callq 0x8450
jmp 0xf67f
movq -0x10(%rbp), %rdi
movq 0x788e6(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, -0x1c8(%rbp)
jmp 0xf698
movq -0x1c8(%rbp), %rdi
leaq 0x54d31(%rip), %rsi     # 0x643d7
callq 0x8400
movq %rax, -0x1d0(%rbp)
jmp 0xf6b4
movq -0x1d0(%rbp), %rdi
movq -0x18(%rbp), %rsi
addq $0x220, %rsi            # imm = 0x220
callq 0x83c0
movq %rax, -0x1d8(%rbp)
jmp 0xf6d4
movq -0x1d8(%rbp), %rdi
leaq 0x54cfd(%rip), %rsi     # 0x643df
callq 0x8400
movq %rax, -0x1e0(%rbp)
jmp 0xf6f0
movq -0x1e0(%rbp), %rdi
movq -0x18(%rbp), %rsi
addq $0x220, %rsi            # imm = 0x220
callq 0x83c0
movq %rax, -0x1e8(%rbp)
jmp 0xf710
movq -0x1e8(%rbp), %rdi
movq 0x78852(%rip), %rsi     # 0x87f70
callq 0x8450
jmp 0xf725
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
callq 0xbef0
cmpq $0x0, %rax
jbe 0xf74d
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
callq 0xfe00
jmp 0xf74f
jmp 0xf74f
leaq -0x48(%rbp), %rdi
callq 0x8280
addq $0x1f0, %rsp            # imm = 0x1F0
popq %rbp
retq
movq -0x58(%rbp), %rdi
callq 0x8760
nopw (%rax,%rax)