// File: gioannides[P]Language_Processors/src/../include/ast/ast_Expressions.cpp
// Function: PostFixExpression::render_asm(std::basic_ofstream<char, std::char_traits<char>>&, Context&)
inline void PostFixExpression::render_asm(std::ofstream& file,Context& contxt) {

			if(PostFixExpressionPtr != NULL) 
			{
				if(OPERATOR != NULL && IDENTIFIER == NULL) 
				{
					contxt.AssignmentOperator = *OPERATOR;

					if(!contxt.reading)
					{
						contxt.is_postfix= true;
					}					
					PostFixExpressionPtr->render_asm(file,contxt);
				}
				
				if(OPERATOR == NULL && AssignmentExpressionPtr == NULL && PrimaryExpressionPtr == NULL && IDENTIFIER == NULL)
				{ 	int offset = 0;
					int i = 0, j = 0;
					if(!contxt.reading)
					{
						for(i=contxt.Variables.size()-1; i>=0; i--) 
						{
							for (j=contxt.Scopes.size()-1; j>=0; j--)
							{
								if(contxt.Variables[i].scope == contxt.Scopes[j]) 
								{
									offset = contxt.Variables[i].offset;				
									i = -1;
									j = -1;
								}
							}
						}
						
						//file << "\n\tsw $31," << offset-(i*4) << "($sp)"; 
					}

					contxt.nested_function_calls++;
					contxt.is_function_call=true;
					
					
					PostFixExpressionPtr->render_asm(file,contxt);
					
					int search=0;
					for ( search=0; search<contxt.functions_declared.size(); search++)
					{
						if(contxt.functions_declared[search].name == contxt.Scopes[contxt.Scopes.size()-1])
						{
							break;
						}
					}
					int off;
					if(contxt.functions_declared[search].paramters_size > 16)
					{	
						off = contxt.functions_declared[search].paramters_size;
					}
						else 
					{
						off = 16;
					}
					//file << "\n offset =" << off << "\n";
					if(!contxt.reading){	
						if (offset<=0 || offset > contxt.totalStackArea-4){
							offset=116+120+off-4;
						}
						for(i=1; i<25; i++)
						{
							file << "\n\tsw $" << i << ", " << offset-(i*4) << "($sp)";
						}
						for(int j=1; j<31; j++)
						{
							file << "\n\tswc1 $f" << j << ", " << offset-100-(j-1)*4 << "($sp)";
						}
					}
					if(contxt.nested_function_calls>1 && !contxt.reading)
					{
						file << std::endl << "\taddiu $sp, $sp, -" << off;
						for(i=contxt.Variables.size()-1; i>=0; i--) {
							for (j=contxt.Scopes.size()-1; j>=0; j--)
							{
								if(contxt.Variables[i].scope == contxt.Scopes[j])
								{									
									contxt.Variables[i].offset += off;
								}
							}
						}
					}
					
					if(ArgumentExpressionListPtr != NULL){
					    contxt.argument_no.push_back(0);
						ArgumentExpressionListPtr->render_asm(file, contxt);
						contxt.argument_no.pop_back();
						//file << "the problem comes now!";
					}
					

					if(!contxt.reading && contxt.Scopes.size()){
						file << "\n\t.option pic";
						// file << std::endl << "\tlui\t$" << contxt.Regs+1 << ", %hi(" << contxt.Variables[good_index].id << ")";
						// file << std::endl << "\tlw\t$" << contxt.Regs+1 << ", %lo(" << contxt.Variables[good_index].id << ")($"<< contxt.Regs+1 << ")";                            	
						file <<  std::endl << "\tla $25," << contxt.Scopes[contxt.Scopes.size()-1];
						file << std::endl << "\tjalr $25";
						//file << std::endl << "\tjal " << contxt.Scopes[contxt.Scopes.size()-1];
						file << std::endl << "\tnop";
						contxt.Scopes.pop_back();
					}
					if(contxt.nested_function_calls>1 && !contxt.reading)
					{
						file << std::endl << "\taddiu $sp, $sp, " << off;
						for(i=contxt.Variables.size()-1; i>=0; i--) {
							for (j=contxt.Scopes.size()-1; j>=0; j--)
							{
								if(contxt.Variables[i].scope == contxt.Scopes[j])
								{									
									contxt.Variables[i].offset -= off;
								}
							}
						}
					}
					if(!contxt.reading){
						if(contxt.regType[2] != 'f'){
							file << "\n\tmove\t$25, $2"; 
						}
						else{
							file << std::endl << "\tmov.s\t$f0,$f2";
						}
						for(i=1; i<25; i++)
						{
							file << "\n\tlw $" << i << "," << offset-(i*4) << "($sp)";
						}
						for(int j=1; j<31; j++)
						{
							file << "\n\tlwc1 $f" << j << ", " << offset-100-(j-1)*4 << "($sp)";
						}
						//file << "\n\tlw $31," << offset-(i*4) << "($sp)"; 
						if(contxt.regType[contxt.Regs+1] != 'f'){
							file << "\n\tmove $" << contxt.Regs+1 << ", $25"; 
						}
						else{
							file << std::endl << "\tmov.s\t$f" << contxt.Regs+1 << ",$f0";
						}
					}
					contxt.nested_function_calls--;
				}
				if(AssignmentExpressionPtr != NULL){
					contxt.is_array=true;
					bool temp_lhs=contxt.lhs_of_assignment;
					contxt.lhs_of_assignment=0;
					if(!contxt.reading){
						//file << std::endl << "\tsw $25, " << contxt.totalStackArea << "($sp)";
						file << std::endl << "\tmove $25, $0"; 
					}
					contxt.Regs++;
					AssignmentExpressionPtr->render_asm(file,contxt);
					contxt.lhs_of_assignment=temp_lhs;
					if(!contxt.reading){
					file << std:: endl <<"\tmove $25, $" << contxt.Regs+1; // move the value of the 
					}//multiply $25 by word size here;--------------------------------------------
					contxt.Regs--;
					//contxt.global_offset=contxt.eval[contxt.Regs+1];
					//for(int i=0; i<7; i++){
					//	file << std::endl << "# " << contxt.eval[i];
					//}
					contxt.nested_arrays++;
					
					PostFixExpressionPtr->render_asm(file,contxt);
					
					if(!contxt.reading){
					//file << std::endl << "\tlw $25, " << contxt.totalStackArea << "($sp)";
					}
					contxt.nested_arrays--;
					contxt.is_array=false;

				}
			}
			if( PrimaryExpressionPtr != NULL ) {

				PrimaryExpressionPtr->render_asm(file,contxt);
				
			}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
cmpq $0x0, 0x20(%rax)
je 0x1f6ff
movq -0x48(%rbp), %rax
cmpq $0x0, 0x30(%rax)
je 0x1ed45
movq -0x48(%rbp), %rax
cmpq $0x0, 0x28(%rax)
jne 0x1ed45
movq -0x48(%rbp), %rax
movq 0x30(%rax), %rsi
movq -0x18(%rbp), %rdi
addq $0x318, %rdi            # imm = 0x318
callq 0x8060
movq -0x18(%rbp), %rax
testb $0x1, 0x21b(%rax)
jne 0x1ed30
movq -0x18(%rbp), %rax
movb $0x1, 0x5b0(%rax)
movq -0x48(%rbp), %rax
movq 0x20(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x1ecc0
movq -0x48(%rbp), %rax
cmpq $0x0, 0x30(%rax)
jne 0x1f5bc
movq -0x48(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x1f5bc
movq -0x48(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0x1f5bc
movq -0x48(%rbp), %rax
cmpq $0x0, 0x28(%rax)
jne 0x1f5bc
movl $0x0, -0x1c(%rbp)
movl $0x0, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movq -0x18(%rbp), %rax
testb $0x1, 0x21b(%rax)
jne 0x1ee6e
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
callq 0xfd20
subq $0x1, %rax
movl %eax, -0x20(%rbp)
cmpl $0x0, -0x20(%rbp)
jl 0x1ee6c
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
callq 0xbef0
subq $0x1, %rax
movl %eax, -0x24(%rbp)
cmpl $0x0, -0x24(%rbp)
jl 0x1ee5c
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x20(%rbp), %rsi
callq 0xfde0
addq $0x30, %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
movslq -0x24(%rbp), %rsi
callq 0xbf10
movq -0x50(%rbp), %rdi
movq %rax, %rsi
callq 0xfd50
testb $0x1, %al
jne 0x1ee27
jmp 0x1ee4f
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x20(%rbp), %rsi
callq 0xfde0
movl 0x50(%rax), %eax
movl %eax, -0x1c(%rbp)
movl $0xffffffff, -0x20(%rbp) # imm = 0xFFFFFFFF
movl $0xffffffff, -0x24(%rbp) # imm = 0xFFFFFFFF
jmp 0x1ee51
movl -0x24(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x1eddf
jmp 0x1ee5e
movl -0x20(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x1edbe
jmp 0x1ee6e
movq -0x48(%rbp), %rax
movq -0x18(%rbp), %rcx
movl 0x13e98(%rcx), %edx
addl $0x1, %edx
movl %edx, 0x13e98(%rcx)
movq -0x18(%rbp), %rcx
movb $0x1, 0x4b0(%rcx)
movq 0x20(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x1ecc0
movl $0x0, -0x28(%rbp)
movl $0x0, -0x28(%rbp)
movslq -0x28(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x18(%rbp), %rdi
addq $0x400, %rdi            # imm = 0x400
callq 0x1f7d0
movq %rax, %rcx
movq -0x58(%rbp), %rax
cmpq %rcx, %rax
jae 0x1ef41
movq -0x18(%rbp), %rdi
addq $0x400, %rdi            # imm = 0x400
movslq -0x28(%rbp), %rsi
callq 0x1f800
addq $0x8, %rax
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rax
addq $0x460, %rax            # imm = 0x460
movq %rax, -0x68(%rbp)
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
callq 0xbef0
movq -0x68(%rbp), %rdi
movq %rax, %rsi
subq $0x1, %rsi
callq 0xbf10
movq -0x60(%rbp), %rdi
movq %rax, %rsi
callq 0xfd50
testb $0x1, %al
jne 0x1ef2f
jmp 0x1ef31
jmp 0x1ef41
jmp 0x1ef33
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x1eeaf
movq -0x18(%rbp), %rdi
addq $0x400, %rdi            # imm = 0x400
movslq -0x28(%rbp), %rsi
callq 0x1f800
cmpl $0x10, (%rax)
jle 0x1ef75
movq -0x18(%rbp), %rdi
addq $0x400, %rdi            # imm = 0x400
movslq -0x28(%rbp), %rsi
callq 0x1f800
movl (%rax), %eax
movl %eax, -0x2c(%rbp)
jmp 0x1ef7c
movl $0x10, -0x2c(%rbp)
movq -0x18(%rbp), %rax
testb $0x1, 0x21b(%rax)
jne 0x1f085
cmpl $0x0, -0x1c(%rbp)
jle 0x1efa7
movl -0x1c(%rbp), %eax
movq -0x18(%rbp), %rcx
movl 0x308(%rcx), %ecx
subl $0x4, %ecx
cmpl %ecx, %eax
jle 0x1efb5
movl -0x2c(%rbp), %eax
addl $0xec, %eax
subl $0x4, %eax
movl %eax, -0x1c(%rbp)
movl $0x1, -0x20(%rbp)
cmpl $0x19, -0x20(%rbp)
jge 0x1f019
movq -0x10(%rbp), %rdi
leaq 0x45732(%rip), %rsi     # 0x646ff
callq 0x8400
movq %rax, %rdi
movl -0x20(%rbp), %esi
callq 0x8730
movq %rax, %rdi
leaq 0x459d5(%rip), %rsi     # 0x649bc
callq 0x8400
movq %rax, %rdi
movl -0x1c(%rbp), %esi
movl -0x20(%rbp), %eax
shll $0x2, %eax
subl %eax, %esi
callq 0x8730
movq %rax, %rdi
leaq 0x4531d(%rip), %rsi     # 0x64326
callq 0x8400
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x1efbc
movl $0x1, -0x30(%rbp)
cmpl $0x1f, -0x30(%rbp)
jge 0x1f083
movq -0x10(%rbp), %rdi
leaq 0x456d5(%rip), %rsi     # 0x64706
callq 0x8400
movq %rax, %rdi
movl -0x30(%rbp), %esi
callq 0x8730
movq %rax, %rdi
leaq 0x45971(%rip), %rsi     # 0x649bc
callq 0x8400
movq %rax, %rdi
movl -0x1c(%rbp), %esi
subl $0x64, %esi
movl -0x30(%rbp), %eax
subl $0x1, %eax
shll $0x2, %eax
subl %eax, %esi
callq 0x8730
movq %rax, %rdi
leaq 0x452b3(%rip), %rsi     # 0x64326
callq 0x8400
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x1f020
jmp 0x1f085
movq -0x18(%rbp), %rax
cmpl $0x1, 0x13e98(%rax)
jle 0x1f193
movq -0x18(%rbp), %rax
testb $0x1, 0x21b(%rax)
jne 0x1f193
movq -0x10(%rbp), %rdi
movq 0x68ebe(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x4564f(%rip), %rsi     # 0x64710
callq 0x8400
movq %rax, %rdi
movl -0x2c(%rbp), %esi
callq 0x8730
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
callq 0xfd20
subq $0x1, %rax
movl %eax, -0x20(%rbp)
cmpl $0x0, -0x20(%rbp)
jl 0x1f191
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
callq 0xbef0
subq $0x1, %rax
movl %eax, -0x24(%rbp)
cmpl $0x0, -0x24(%rbp)
jl 0x1f181
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x20(%rbp), %rsi
callq 0xfde0
addq $0x30, %rax
movq %rax, -0x70(%rbp)
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
movslq -0x24(%rbp), %rsi
callq 0xbf10
movq -0x70(%rbp), %rdi
movq %rax, %rsi
callq 0xfd50
testb $0x1, %al
jne 0x1f151
jmp 0x1f174
movl -0x2c(%rbp), %eax
movl %eax, -0x74(%rbp)
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x20(%rbp), %rsi
callq 0xfde0
movl -0x74(%rbp), %ecx
addl 0x50(%rax), %ecx
movl %ecx, 0x50(%rax)
jmp 0x1f176
movl -0x24(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x1f109
jmp 0x1f183
movl -0x20(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x1f0e8
jmp 0x1f193
movq -0x48(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0x1f1de
movq -0x18(%rbp), %rdi
addq $0x490, %rdi            # imm = 0x490
movl $0x0, -0x34(%rbp)
leaq -0x34(%rbp), %rsi
callq 0x1f820
movq -0x48(%rbp), %rax
movq 0x18(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x1f850
movq -0x18(%rbp), %rdi
addq $0x490, %rdi            # imm = 0x490
callq 0x15e90
movq -0x18(%rbp), %rax
testb $0x1, 0x21b(%rax)
jne 0x1f2ca
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
callq 0xbef0
cmpq $0x0, %rax
je 0x1f2ca
movq -0x10(%rbp), %rdi
leaq 0x4550f(%rip), %rsi     # 0x64723
callq 0x8400
movq -0x10(%rbp), %rdi
movq 0x68d4c(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x454fe(%rip), %rsi     # 0x64731
callq 0x8400
movq %rax, -0x80(%rbp)
movq -0x18(%rbp), %rax
addq $0x460, %rax            # imm = 0x460
movq %rax, -0x88(%rbp)
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
callq 0xbef0
movq -0x88(%rbp), %rdi
movq %rax, %rsi
subq $0x1, %rsi
callq 0xbf10
movq -0x80(%rbp), %rdi
movq %rax, %rsi
callq 0x83c0
movq -0x10(%rbp), %rdi
movq 0x68ce9(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x454a4(%rip), %rsi     # 0x6473a
callq 0x8400
movq -0x10(%rbp), %rdi
movq 0x68cca(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x450fc(%rip), %rsi     # 0x643b1
callq 0x8400
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
callq 0xfe00
movq -0x18(%rbp), %rax
cmpl $0x1, 0x13e98(%rax)
jle 0x1f3ed
movq -0x18(%rbp), %rax
testb $0x1, 0x21b(%rax)
jne 0x1f3ed
movq -0x10(%rbp), %rdi
movq 0x68c79(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x4543e(%rip), %rsi     # 0x64744
callq 0x8400
movq %rax, %rdi
movl -0x2c(%rbp), %esi
callq 0x8730
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
callq 0xfd20
subq $0x1, %rax
movl %eax, -0x20(%rbp)
cmpl $0x0, -0x20(%rbp)
jl 0x1f3eb
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
callq 0xbef0
subq $0x1, %rax
movl %eax, -0x24(%rbp)
cmpl $0x0, -0x24(%rbp)
jl 0x1f3db
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x20(%rbp), %rsi
callq 0xfde0
addq $0x30, %rax
movq %rax, -0x90(%rbp)
movq -0x18(%rbp), %rdi
addq $0x460, %rdi            # imm = 0x460
movslq -0x24(%rbp), %rsi
callq 0xbf10
movq -0x90(%rbp), %rdi
movq %rax, %rsi
callq 0xfd50
testb $0x1, %al
jne 0x1f3a0
jmp 0x1f3cb
movl -0x2c(%rbp), %eax
movl %eax, -0x94(%rbp)
movq -0x18(%rbp), %rdi
addq $0x240, %rdi            # imm = 0x240
movslq -0x20(%rbp), %rsi
callq 0xfde0
movl -0x94(%rbp), %edx
movl 0x50(%rax), %ecx
subl %edx, %ecx
movl %ecx, 0x50(%rax)
jmp 0x1f3cd
movl -0x24(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x1f34e
jmp 0x1f3dd
movl -0x20(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x1f32d
jmp 0x1f3ed
movq -0x18(%rbp), %rax
testb $0x1, 0x21b(%rax)
jne 0x1f5a9
movq -0x18(%rbp), %rax
movsbl 0x343(%rax), %eax
cmpl $0x66, %eax
je 0x1f420
movq -0x10(%rbp), %rdi
leaq 0x4533d(%rip), %rsi     # 0x64756
callq 0x8400
jmp 0x1f43f
movq -0x10(%rbp), %rdi
movq 0x68b45(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x4532b(%rip), %rsi     # 0x64765
callq 0x8400
movl $0x1, -0x20(%rbp)
cmpl $0x19, -0x20(%rbp)
jge 0x1f4a3
movq -0x10(%rbp), %rdi
leaq 0x4531d(%rip), %rsi     # 0x64774
callq 0x8400
movq %rax, %rdi
movl -0x20(%rbp), %esi
callq 0x8730
movq %rax, %rdi
leaq 0x44fcc(%rip), %rsi     # 0x6443d
callq 0x8400
movq %rax, %rdi
movl -0x1c(%rbp), %esi
movl -0x20(%rbp), %eax
shll $0x2, %eax
subl %eax, %esi
callq 0x8730
movq %rax, %rdi
leaq 0x44e93(%rip), %rsi     # 0x64326
callq 0x8400
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x1f446
movl $0x1, -0x38(%rbp)
cmpl $0x1f, -0x38(%rbp)
jge 0x1f50d
movq -0x10(%rbp), %rdi
leaq 0x452c0(%rip), %rsi     # 0x6477b
callq 0x8400
movq %rax, %rdi
movl -0x38(%rbp), %esi
callq 0x8730
movq %rax, %rdi
leaq 0x454e7(%rip), %rsi     # 0x649bc
callq 0x8400
movq %rax, %rdi
movl -0x1c(%rbp), %esi
subl $0x64, %esi
movl -0x38(%rbp), %eax
subl $0x1, %eax
shll $0x2, %eax
subl %eax, %esi
callq 0x8730
movq %rax, %rdi
leaq 0x44e29(%rip), %rsi     # 0x64326
callq 0x8400
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x1f4aa
movq -0x18(%rbp), %rax
movq -0x18(%rbp), %rcx
movl 0x310(%rcx), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsbl 0x341(%rax,%rcx), %eax
cmpl $0x66, %eax
je 0x1f564
movq -0x10(%rbp), %rdi
leaq 0x4524c(%rip), %rsi     # 0x64785
callq 0x8400
movq %rax, %rdi
movq -0x18(%rbp), %rax
movl 0x310(%rax), %esi
addl $0x1, %esi
callq 0x8730
movq %rax, %rdi
leaq 0x45231(%rip), %rsi     # 0x6478e
callq 0x8400
jmp 0x1f5a7
movq -0x10(%rbp), %rdi
movq 0x68a01(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x45216(%rip), %rsi     # 0x64794
callq 0x8400
movq %rax, %rdi
movq -0x18(%rbp), %rax
movl 0x310(%rax), %esi
addl $0x1, %esi
callq 0x8730
movq %rax, %rdi
leaq 0x451fc(%rip), %rsi     # 0x6479e
callq 0x8400
jmp 0x1f5a9
movq -0x18(%rbp), %rax
movl 0x13e98(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x13e98(%rax)
movq -0x48(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x1f6fd
movq -0x18(%rbp), %rax
movb $0x1, 0x13e94(%rax)
movq -0x18(%rbp), %rax
movb 0x1d2(%rax), %al
andb $0x1, %al
movb %al, -0x39(%rbp)
movq -0x18(%rbp), %rax
movb $0x0, 0x1d2(%rax)
movq -0x18(%rbp), %rax
testb $0x1, 0x21b(%rax)
jne 0x1f61c
movq -0x10(%rbp), %rdi
movq 0x68968(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x4518c(%rip), %rsi     # 0x647a3
callq 0x8400
movq -0x48(%rbp), %rax
movq -0x18(%rbp), %rcx
movl 0x310(%rcx), %edx
addl $0x1, %edx
movl %edx, 0x310(%rcx)
movq 0x10(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x13a40
movb -0x39(%rbp), %cl
movq -0x18(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x1d2(%rax)
movq -0x18(%rbp), %rax
testb $0x1, 0x21b(%rax)
jne 0x1f695
movq -0x10(%rbp), %rdi
movq 0x68904(%rip), %rsi     # 0x87f70
callq 0x8450
movq %rax, %rdi
leaq 0x45136(%rip), %rsi     # 0x647b1
callq 0x8400
movq %rax, %rdi
movq -0x18(%rbp), %rax
movl 0x310(%rax), %esi
addl $0x1, %esi
callq 0x8730
movq -0x48(%rbp), %rax
movq -0x18(%rbp), %rcx
movl 0x310(%rcx), %edx
addl $-0x1, %edx
movl %edx, 0x310(%rcx)
movq -0x18(%rbp), %rcx
movl 0x13e90(%rcx), %edx
addl $0x1, %edx
movl %edx, 0x13e90(%rcx)
movq 0x20(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x1ecc0
movq -0x18(%rbp), %rax
testb $0x1, 0x21b(%rax)
jne 0x1f6df
jmp 0x1f6df
movq -0x18(%rbp), %rax
movl 0x13e90(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x13e90(%rax)
movq -0x18(%rbp), %rax
movb $0x0, 0x13e94(%rax)
jmp 0x1f6ff
movq -0x48(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x1f71f
movq -0x48(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x1f8e0
addq $0xa0, %rsp
popq %rbp
retq
nopl (%rax,%rax)