// File: /workspace/github_cpp_makefile_star2_O3/martinda3[P]Compiler/src/TCparser.cpp
// Function: toyc::TCparser::IfStatement()
ASstatement* TCparser::IfStatement() // WIP
	{
		// IfStatement --> IF LPAREN Expression RPAREN Statement [ ELSE Statement ]
		enteringDEBUG("If Statement");
		ASexpression* operand = NULL;
		ASstatement* operand2 = NULL;
		ASstatement* operand3 = NULL;
		accept(IF);
		accept(LPAREN);
		operand = Expression();
		accept(RPAREN);
		operand2 = Statement();
		if (buff->getTokenType() == ELSE)
		{
			enteringDEBUG("If Statement Additional");
			accept(ELSE);
			operand3 = Statement();
			exitingDEBUG("If Statement Additional");
			exitingDEBUG("If Statement");
			return new ASifState(operand, operand2, operand3);
		}
		exitingDEBUG("If Statement");
		return new ASifState(operand, operand2);
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rdi, %r15
leaq 0x90(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1c8ad(%rip), %rsi     # 0x2a28b
leaq 0x1c8b2(%rip), %rdx     # 0x2a297
leaq 0x80(%rsp), %rbx
movq %rbx, %rdi
callq 0xfc2a
movq %rbx, %rdi
callq 0xbaaa
movq 0x80(%rsp), %rdi
cmpq %r14, %rdi
je 0xda1a
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x8260
movq %r15, %rdi
movl $0x1, %esi
callq 0xc54c
movq %r15, %rdi
movl $0x1e, %esi
callq 0xc54c
movq %r15, %rdi
callq 0xd66a
movq %rax, %rbx
movq %r15, %rdi
movl $0x1f, %esi
callq 0xc54c
movq %r15, %rdi
callq 0xd92e
movq %rax, %r14
movq 0x8(%r15), %rdi
callq 0x17fcc
cmpl $0x4, %eax
jne 0xdb6a
leaq 0x70(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1c81f(%rip), %rsi     # 0x2a298
leaq 0x1c82f(%rip), %rdx     # 0x2a2af
leaq 0x60(%rsp), %r12
movq %r12, %rdi
callq 0xfc2a
movq %r12, %rdi
callq 0xbaaa
movq 0x60(%rsp), %rdi
cmpq %r13, %rdi
je 0xdaac
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8260
movq %r15, %rdi
movl $0x4, %esi
callq 0xc54c
movq %r15, %rdi
callq 0xd92e
movq %rax, %r15
leaq 0x50(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1c7c4(%rip), %rsi     # 0x2a298
leaq 0x1c7d4(%rip), %rdx     # 0x2a2af
leaq 0x40(%rsp), %r12
movq %r12, %rdi
callq 0xfc2a
movq %r12, %rdi
callq 0xbd0c
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0xdb07
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x8260
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1c774(%rip), %rsi     # 0x2a28b
leaq 0x1c779(%rip), %rdx     # 0x2a297
leaq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0xfc2a
movq %r12, %rdi
callq 0xbd0c
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0xdb4a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8260
movl $0x50, %edi
callq 0x8250
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %r15, %rcx
callq 0xac74
jmp 0xdbc6
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1c710(%rip), %rsi     # 0x2a28b
leaq 0x1c715(%rip), %rdx     # 0x2a297
movq %rsp, %r15
movq %r15, %rdi
callq 0xfc2a
movq %r15, %rdi
callq 0xbd0c
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0xdbab
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8260
movl $0x50, %edi
callq 0x8250
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xacf4
movq %r12, %rax
addq $0xa0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0xdbf0
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0xdc58
movq 0x30(%rsp), %rsi
jmp 0xdc50
movq %rax, %rbx
movl $0x50, %esi
movq %r12, %rdi
jmp 0xdc53
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0xdc58
movq 0x50(%rsp), %rsi
jmp 0xdc50
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0xdc58
movq 0x10(%rsp), %rsi
jmp 0xdc50
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r13, %rdi
je 0xdc58
movq 0x70(%rsp), %rsi
jmp 0xdc50
movq %rax, %rbx
movq 0x80(%rsp), %rdi
cmpq %r14, %rdi
je 0xdc58
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x8260
movq %rbx, %rdi
callq 0x8420