// File: /workspace/github_cpp_makefile_star2_O3/AndrewAlbert[P]Compiler-Theory/SourceCode/parser.cpp
// Function: Parser::IfStatement()
bool Parser::IfStatement(){
	/* flag to determine if at least one statement occured after 'then' and 'else' 
	 * type and size variables are unused but needed to perfrom the call to Expression(type, size) */
	bool flag;
	int type, size;
	string labelTrue, labelFalse, labelEnd;
	bool resyncEnabled = true;
	
	//determine if this is the start of an if statement
	if( !CheckToken(T_IF) ) return false;
	
	//get expression for conditional statement: '( <expression> )'
	if( !CheckToken(T_LPAREN) ) ReportLineError("expected '(' before condition in if statement");
	else if( !Expression(type, size) ) ReportLineError("Expected condition for if statement");
	else if (type != TYPE_BOOL) ReportLineError("Conditional expression in if statement must evaluate to type bool.");
	else if( !CheckToken(T_RPAREN) ) ReportLineError("expected ')' after condition in if statement");
	
	// GEN: Check result of expression
	labelTrue = generator->newLabel( "IfTrue" );
	labelFalse = generator->newLabel( "IfFalse" );
	labelEnd = generator->newLabel( "IfEnd" );
	generator->condBranch(labelTrue, labelFalse);;
	
	/* Get statements to be evaluated if the statement's expression evaluates to true. 
	 * There must be at least one statement following 'then'. */
	if( CheckToken(T_THEN) ){
		generator->placeLabel( labelTrue );
		flag = false;
		while(true){
			while( Statement() ){
				flag = true;
				if( !CheckToken(T_SEMICOLON) ) ReportLineError("expected ';' after statement in conditional statement's 'if' condition",true);
			}
			if( !flag ) ReportError("expected at least one statement after 'then' in conditional statement");
			
			// goto end if after true statement
			generator->branch(labelEnd);

			/* Get statements to be evaluated if the statement's expression evaluates to false. 
		 	 * There must be at least one statement if there is an 'else' case. */
			generator->placeLabel(labelFalse);
			if(CheckToken(T_ELSE)){
				flag = false;
				resyncEnabled = true;
				while(true){
					while( Statement() ){
						flag = true;
						if( !CheckToken(T_SEMICOLON) ) ReportLineError("Expected ';' after statement in conditional statement's 'else' condition.",true);
					}
					/* check for correct closure of statement: 'end if' */
					
					// goto end if after else statement
					generator->branch(labelEnd);

					if( CheckToken(T_END) ){
						generator->placeLabel(labelEnd);
						if( !flag ) ReportError("expected at least one statement after 'else' in conditional statement.");
						if( !CheckToken(T_IF) ) ReportFatalError("missing 'if' in the 'end if' closure of conditional statement");
						return true;
					}
					else if(resyncEnabled){
						resyncEnabled = false;
						ReportLineError("Bad Line. Unable to find valid statement or 'else' or 'end' reserved keywords.");
					}
					else{
						ReportFatalError("Parser resync failed. Unable to find valid statement, 'else' or 'end if' reserved keywords.");
						return true;
					}
				}
			}
			/* check for correct closure of statement: 'end if' */
			else if( CheckToken(T_END) ){
				generator->placeLabel(labelEnd);
				if( !CheckToken(T_IF) ) ReportFatalError("missing 'if' in the 'end if' closure of the if statement");
				return true;
			}
			else if(resyncEnabled){
				resyncEnabled = false;
				ReportLineError("Bad Line. Unable to find valid statement or 'else' or 'end' reserved keywords.");
			}
			else ReportFatalError("Parser resync failed. Unable to find valid statement, 'else' or 'end if' reserved keywords.");
		}
	}
	else ReportFatalError("Expected 'then' after condition in if statement.");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3d8, %rsp            # imm = 0x3D8
movq %rdi, %rbx
leaq 0x60(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x40(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x18(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movl $0x110, %esi            # imm = 0x110
callq 0x5c08
movl %eax, %ebp
testb %al, %al
je 0x93c3
movq %rbx, %rdi
movl $0x12d, %esi            # imm = 0x12D
callq 0x5c08
testb %al, %al
movb %bpl, 0x3(%rsp)
je 0x8a8c
leaq 0x2c(%rsp), %rsi
leaq 0x154(%rsp), %rdx
movq %rbx, %rdi
callq 0x858a
testb %al, %al
je 0x8ad5
cmpl $0x10c, 0x2c(%rsp)      # imm = 0x10C
jne 0x8b1b
movq %rbx, %rdi
movl $0x12e, %esi            # imm = 0x12E
callq 0x5c08
testb %al, %al
jne 0x8b6f
leaq 0x2c8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x112ac(%rip), %rsi     # 0x19d02
leaq 0x112d1(%rip), %rdx     # 0x19d2e
leaq 0x2b8(%rsp), %rdi
callq 0x3c42
leaq 0x2b8(%rsp), %rsi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x4e96
movq 0x2b8(%rsp), %rdi
jmp 0x8b5f
leaq 0x328(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x111ce(%rip), %rsi     # 0x19c6d
leaq 0x111f4(%rip), %rdx     # 0x19c9a
leaq 0x318(%rsp), %rdi
callq 0x3c42
leaq 0x318(%rsp), %rsi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x4e96
movq 0x318(%rsp), %rdi
jmp 0x8b5f
leaq 0x308(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x111b3(%rip), %rsi     # 0x19c9b
leaq 0x111cf(%rip), %rdx     # 0x19cbe
leaq 0x2f8(%rsp), %rdi
callq 0x3c42
leaq 0x2f8(%rsp), %rsi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x4e96
movq 0x2f8(%rsp), %rdi
jmp 0x8b5f
leaq 0x2e8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x11191(%rip), %rsi     # 0x19cbf
leaq 0x111cc(%rip), %rdx     # 0x19d01
leaq 0x2d8(%rsp), %rdi
callq 0x3c42
leaq 0x2d8(%rsp), %rsi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x4e96
movq 0x2d8(%rsp), %rdi
cmpq %r14, %rdi
je 0x8b6f
movq (%r14), %rsi
incq %rsi
callq 0x2200
movq 0x98(%rbx), %r14
leaq 0x2a8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x111a5(%rip), %rsi     # 0x19d2f
leaq 0x111a4(%rip), %rdx     # 0x19d35
leaq 0x298(%rsp), %rdi
callq 0x3c42
leaq 0xd0(%rsp), %rdi
leaq 0x298(%rsp), %rdx
movq %r14, %rsi
callq 0x15d26
leaq 0x50(%rsp), %rdi
leaq 0xd0(%rsp), %r14
movq %r14, %rsi
callq 0x2270
movq (%r14), %rdi
leaq 0xe0(%rsp), %r15
cmpq %r15, %rdi
je 0x8beb
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x298(%rsp), %rdi
cmpq %r12, %rdi
je 0x8c08
movq 0x2a8(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x98(%rbx), %r14
leaq 0x288(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x11113(%rip), %rsi     # 0x19d36
leaq 0x11113(%rip), %rdx     # 0x19d3d
leaq 0x278(%rsp), %rdi
callq 0x3c42
leaq 0xd0(%rsp), %rdi
leaq 0x278(%rsp), %rdx
movq %r14, %rsi
callq 0x15d26
leaq 0x30(%rsp), %rdi
leaq 0xd0(%rsp), %r14
movq %r14, %rsi
callq 0x2270
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x8c7c
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x278(%rsp), %rdi
cmpq %r12, %rdi
je 0x8c99
movq 0x288(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x98(%rbx), %r14
leaq 0x268(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1108a(%rip), %rsi     # 0x19d3e
leaq 0x11088(%rip), %rdx     # 0x19d43
leaq 0x258(%rsp), %rdi
callq 0x3c42
leaq 0xd0(%rsp), %rdi
leaq 0x258(%rsp), %rdx
movq %r14, %rsi
callq 0x15d26
leaq 0x8(%rsp), %rdi
leaq 0xd0(%rsp), %r14
movq %r14, %rsi
callq 0x2270
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x8d0d
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x258(%rsp), %rdi
cmpq %r12, %rdi
je 0x8d2a
movq 0x268(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x98(%rbx), %r14
leaq 0x248(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
addq %rsi, %rdx
leaq 0x238(%rsp), %rdi
callq 0x3bac
leaq 0x228(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
leaq 0x218(%rsp), %rdi
callq 0x3bac
leaq 0x238(%rsp), %rsi
leaq 0x218(%rsp), %rdx
movq %r14, %rdi
callq 0x165f8
movq 0x218(%rsp), %rdi
cmpq %r12, %rdi
je 0x8db3
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x238(%rsp), %rdi
cmpq %r15, %rdi
je 0x8dd0
movq 0x248(%rsp), %rsi
incq %rsi
callq 0x2200
movq %rbx, %rdi
movl $0x111, %esi            # imm = 0x111
callq 0x5c08
testb %al, %al
je 0x9499
movq 0x98(%rbx), %r14
leaq 0x208(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1f8(%rsp), %rdi
callq 0x3bac
leaq 0x1f8(%rsp), %rsi
movq %r14, %rdi
callq 0x15fc6
movq 0x1f8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8e3f
movq 0x208(%rsp), %rsi
incq %rsi
callq 0x2200
leaq 0x1e8(%rsp), %rbp
movb $0x1, %al
movl %eax, 0x4(%rsp)
xorl %r14d, %r14d
leaq 0x10eed(%rip), %r13     # 0x19d44
leaq 0x10f2c(%rip), %r15     # 0x19d8a
leaq 0x1d8(%rsp), %r12
movq %rbx, %rdi
callq 0x6efe
testb %al, %al
je 0x8ecb
movq %rbx, %rdi
movl $0x12c, %esi            # imm = 0x12C
callq 0x5c08
movb $0x1, %r14b
testb %al, %al
jne 0x8e66
movq %rbp, 0x1d8(%rsp)
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x3c42
movq %rbx, %rdi
movq %r12, %rsi
movl $0x1, %edx
callq 0x4e96
movq 0x1d8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8e66
movq 0x1e8(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x8e66
testb $0x1, %r14b
jne 0x8f2f
leaq 0x140(%rsp), %rax
movq %rax, 0x130(%rsp)
leaq 0x130(%rsp), %r15
movq %r15, %rdi
leaq 0x10e98(%rip), %rsi     # 0x19d8b
leaq 0x10ed6(%rip), %rdx     # 0x19dd0
callq 0x3c42
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5694
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x8f2f
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x98(%rbx), %r13
leaq 0xc0(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0xb0(%rsp), %rdi
callq 0x3bac
movq %r13, %rdi
leaq 0xb0(%rsp), %rsi
callq 0x16718
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x8f95
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x98(%rbx), %r13
leaq 0xa0(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %rdi
callq 0x3bac
movq %r13, %rdi
leaq 0x90(%rsp), %rsi
callq 0x15fc6
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x8ffb
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2200
movq %rbx, %rdi
movl $0x112, %esi            # imm = 0x112
callq 0x5c08
testb %al, %al
jne 0x90ba
movq %rbx, %rdi
movl $0x104, %esi            # imm = 0x104
callq 0x5c08
testb %al, %al
jne 0x934f
testb $0x1, 0x4(%rsp)
je 0x9462
leaq 0x100(%rsp), %rax
movq %rax, 0xf0(%rsp)
leaq 0xf0(%rsp), %r15
movq %r15, %rdi
leaq 0x10e4e(%rip), %rsi     # 0x19ea0
leaq 0x10e95(%rip), %rdx     # 0x19eee
callq 0x3c42
leaq 0x10cdf(%rip), %r13     # 0x19d44
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %edx
callq 0x4e96
leaq 0x10d0e(%rip), %r15     # 0x19d8a
movq 0xf0(%rsp), %rdi
movl $0x0, 0x4(%rsp)
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x8e66
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x2200
movl $0x0, 0x4(%rsp)
jmp 0x8e66
leaq 0x1c8(%rsp), %r14
movb $0x1, %al
movl %eax, 0x4(%rsp)
xorl %r13d, %r13d
leaq 0x10cff(%rip), %rbp     # 0x19dd1
leaq 0x10d41(%rip), %r15     # 0x19e1a
leaq 0x1b8(%rsp), %r12
movq %rbx, %rdi
callq 0x6efe
testb %al, %al
je 0x9146
movq %rbx, %rdi
movl $0x12c, %esi            # imm = 0x12C
callq 0x5c08
movb $0x1, %r13b
testb %al, %al
jne 0x90e1
movq %r14, 0x1b8(%rsp)
movq %r12, %rdi
movq %rbp, %rsi
movq %r15, %rdx
callq 0x3c42
movq %rbx, %rdi
movq %r12, %rsi
movl $0x1, %edx
callq 0x4e96
movq 0x1b8(%rsp), %rdi
cmpq %r14, %rdi
je 0x90e1
movq 0x1c8(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x90e1
movq 0x98(%rbx), %rbp
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x70(%rsp), %rdi
callq 0x3bac
movq %rbp, %rdi
leaq 0x70(%rsp), %rsi
callq 0x16718
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x91a0
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2200
movq %rbx, %rdi
movl $0x104, %esi            # imm = 0x104
callq 0x5c08
testb %al, %al
jne 0x924a
testb $0x1, 0x4(%rsp)
je 0x942b
leaq 0x120(%rsp), %rax
movq %rax, 0x110(%rsp)
leaq 0x110(%rsp), %r15
movq %r15, %rdi
leaq 0x10cbe(%rip), %rsi     # 0x19ea0
leaq 0x10d05(%rip), %rdx     # 0x19eee
callq 0x3c42
leaq 0x10bdc(%rip), %rbp     # 0x19dd1
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %edx
callq 0x4e96
leaq 0x10c0e(%rip), %r15     # 0x19e1a
movq 0x110(%rsp), %rdi
movl $0x0, 0x4(%rsp)
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x90e1
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x2200
movl $0x0, 0x4(%rsp)
jmp 0x90e1
movq 0x98(%rbx), %r14
leaq 0x1a8(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x198(%rsp), %rdi
callq 0x3bac
movb 0x3(%rsp), %bpl
leaq 0x198(%rsp), %rsi
movq %r14, %rdi
callq 0x15fc6
movq 0x198(%rsp), %rdi
cmpq %r15, %rdi
je 0x92a9
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x2200
testb $0x1, %r13b
jne 0x9303
leaq 0x188(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x10b59(%rip), %rsi     # 0x19e1b
leaq 0x10b98(%rip), %rdx     # 0x19e61
leaq 0x178(%rsp), %rdi
callq 0x3c42
leaq 0x178(%rsp), %rsi
movq %rbx, %rdi
callq 0x5694
movq 0x178(%rsp), %rdi
cmpq %r14, %rdi
je 0x9303
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x2200
movq %rbx, %rdi
movl $0x110, %esi            # imm = 0x110
callq 0x5c08
testb %al, %al
jne 0x93c3
leaq 0x3c8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x10b37(%rip), %rsi     # 0x19e62
leaq 0x10b6d(%rip), %rdx     # 0x19e9f
leaq 0x3b8(%rsp), %rdi
callq 0x3c42
leaq 0x3b8(%rsp), %rsi
movq %rbx, %rdi
callq 0x4a02
movq 0x98(%rbx), %r14
leaq 0x168(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x158(%rsp), %rdi
callq 0x3bac
movb 0x3(%rsp), %bpl
leaq 0x158(%rsp), %rsi
movq %r14, %rdi
callq 0x15fc6
movq 0x158(%rsp), %rdi
cmpq %r15, %rdi
je 0x93ae
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x2200
movq %rbx, %rdi
movl $0x110, %esi            # imm = 0x110
callq 0x5c08
testb %al, %al
je 0x94d0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x93df
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x93fb
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x9417
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x2200
movl %ebp, %eax
addq $0x3d8, %rsp            # imm = 0x3D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3a8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x10ab1(%rip), %rsi     # 0x19eef
leaq 0x10b05(%rip), %rdx     # 0x19f4a
leaq 0x398(%rsp), %rdi
callq 0x3c42
leaq 0x398(%rsp), %rsi
movq %rbx, %rdi
callq 0x4a02
leaq 0x368(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x10a7a(%rip), %rsi     # 0x19eef
leaq 0x10ace(%rip), %rdx     # 0x19f4a
leaq 0x358(%rsp), %rdi
callq 0x3c42
leaq 0x358(%rsp), %rsi
movq %rbx, %rdi
callq 0x4a02
leaq 0x348(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x10ad8(%rip), %rsi     # 0x19f84
leaq 0x10b01(%rip), %rdx     # 0x19fb4
leaq 0x338(%rsp), %rdi
callq 0x3c42
leaq 0x338(%rsp), %rsi
movq %rbx, %rdi
callq 0x4a02
leaq 0x388(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x10a68(%rip), %rsi     # 0x19f4b
leaq 0x10a99(%rip), %rdx     # 0x19f83
leaq 0x378(%rsp), %rdi
callq 0x3c42
leaq 0x378(%rsp), %rsi
movq %rbx, %rdi
callq 0x4a02
movq %rax, %rbx
movq 0x2b8(%rsp), %rdi
cmpq %r14, %rdi
je 0x98da
movq 0x2c8(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x2d8(%rsp), %rdi
cmpq %r14, %rdi
je 0x98da
movq 0x2e8(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x378(%rsp), %rdi
cmpq %r14, %rdi
je 0x98da
movq 0x388(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x2f8(%rsp), %rdi
cmpq %r14, %rdi
je 0x98da
movq 0x308(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x3b8(%rsp), %rdi
cmpq %r14, %rdi
je 0x98da
movq 0x3c8(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x178(%rsp), %rdi
cmpq %r14, %rdi
je 0x98da
movq 0x188(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x158(%rsp), %rdi
cmpq %r15, %rdi
je 0x98da
movq 0x168(%rsp), %rsi
jmp 0x98c9
movq %rax, %rbx
movq 0x338(%rsp), %rdi
cmpq %r14, %rdi
je 0x98da
movq 0x348(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x318(%rsp), %rdi
cmpq %r14, %rdi
je 0x98da
movq 0x328(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x198(%rsp), %rdi
cmpq %r15, %rdi
je 0x98da
movq 0x1a8(%rsp), %rsi
jmp 0x98c9
movq %rax, %rbx
movq 0x1f8(%rsp), %rdi
cmpq %r15, %rdi
je 0x98da
movq 0x208(%rsp), %rsi
jmp 0x98c9
movq %rax, %rbx
movq 0x218(%rsp), %rdi
cmpq %r12, %rdi
je 0x96bf
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x96bf
movq %rax, %rbx
movq 0x238(%rsp), %rdi
cmpq %r15, %rdi
je 0x98da
movq 0x248(%rsp), %rsi
jmp 0x98c9
movq %rax, %rbx
movq 0x258(%rsp), %rdi
cmpq %r12, %rdi
je 0x98da
movq 0x268(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x278(%rsp), %rdi
cmpq %r12, %rdi
je 0x98da
movq 0x288(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x298(%rsp), %rdi
cmpq %r12, %rdi
je 0x98da
movq 0x2a8(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x358(%rsp), %rdi
cmpq %r14, %rdi
je 0x98da
movq 0x368(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x398(%rsp), %rdi
cmpq %r14, %rdi
je 0x98da
movq 0x3a8(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
jmp 0x98d7
movq %rax, %rbx
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x98da
movq 0x140(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x98da
movq 0x100(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
jmp 0x98d7
movq %rax, %rbx
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x98da
movq 0x120(%rsp), %rsi
jmp 0x98c9
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x98da
movq 0x80(%rsp), %rsi
jmp 0x98c9
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x98da
movq 0xc0(%rsp), %rsi
jmp 0x98c9
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x98da
movq 0xa0(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
jmp 0x98d7
movq %rax, %rbx
movq 0x1b8(%rsp), %rdi
cmpq %r14, %rdi
je 0x98da
movq 0x1c8(%rsp), %rsi
jmp 0x98c9
jmp 0x98d7
movq %rax, %rbx
movq 0x1d8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x98da
movq 0x1e8(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x98da
jmp 0x98d7
jmp 0x98d7
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x98f6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x9912
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x992e
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x2200
movq %rbx, %rdi
callq 0x2330