// File: /workspace/github_cpp_makefile_star2_O3/Eronana[P]strawberry/src/parser.cpp
// Function: Parser::IfStatement()
AST_PTR Parser::IfStatement()
{
    if(!acceptEat("if"))PARSER_ERROR("excepted 'if'");
    if(!acceptEat(TOKEN_LEFT_PAREN))PARSER_ERROR("expected a '('");
    DEF_AST_RET(IfStatement);
    ret->expr=Expression();
    if(!acceptEat(TOKEN_RIGHT_PAREN))PARSER_ERROR("expected a ')'");
    ret->statement=Statement();
    if(acceptEat("else"))ret->elseStatement=Statement();
    RETURN_PTR;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq 0xacd1(%rip), %rsi      # 0x20a96
movq %r15, %rdi
callq 0x1811e
testb %al, %al
je 0x15eec
movq %r15, %rdi
xorl %esi, %esi
callq 0x12884
cmpl $0xe, (%rax)
jne 0x15f53
incl 0x20(%r15)
movl $0x20, %edi
callq 0x6220
movq %rax, %rbx
leaq 0x18ac8(%rip), %rax     # 0x2e8c8
addq $0x10, %rax
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movq $0x0, 0x18(%rbx)
movq %rsp, %rdi
movq %r15, %rsi
callq 0x14434
movq %rbx, %rax
addq $0x8, %rax
movq (%rsp), %rcx
movq (%rax), %rdi
movq %rcx, (%rax)
testq %rdi, %rdi
je 0x15e3d
movq (%rdi), %rax
callq *0x28(%rax)
movq %r15, %rdi
xorl %esi, %esi
callq 0x12884
cmpl $0xf, (%rax)
jne 0x15fb7
incl 0x20(%r15)
movq %rsp, %rdi
movq %r15, %rsi
callq 0x1552e
movq (%rsp), %rax
movq $0x0, (%rsp)
movq 0x10(%rbx), %rdi
movq %rax, 0x10(%rbx)
testq %rdi, %rdi
je 0x15e8d
movq (%rdi), %rax
callq *0x28(%rax)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x15e8d
movq (%rdi), %rax
callq *0x28(%rax)
leaq 0xac31(%rip), %rsi      # 0x20ac5
movq %r15, %rdi
callq 0x181b2
testb %al, %al
je 0x15ed9
movq %rsp, %rdi
movq %r15, %rsi
callq 0x1552e
movq (%rsp), %rax
movq $0x0, (%rsp)
movq 0x18(%rbx), %rdi
movq %rax, 0x18(%rbx)
testq %rdi, %rdi
je 0x15ed9
movq (%rdi), %rax
callq *0x28(%rax)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x15ed9
movq (%rdi), %rax
callq *0x28(%rax)
movq %rbx, (%r14)
movq %r14, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x70, %edi
callq 0x6140
movq %rax, %rbx
movq %r15, %rdi
xorl %esi, %esi
callq 0x12884
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xab83(%rip), %rsi      # 0x20a99
leaq 0xab89(%rip), %rdx      # 0x20aa6
movq %rsp, %rdi
callq 0xb1b4
movb $0x1, %bpl
movq %rsp, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7bdc
xorl %ebp, %ebp
leaq 0x17cf9(%rip), %rsi     # 0x2dc38
leaq -0x5506(%rip), %rdx     # 0x10a40
movq %rbx, %rdi
callq 0x6440
jmp 0x16019
movl $0x70, %edi
callq 0x6140
movq %rax, %rbx
movq %r15, %rdi
xorl %esi, %esi
callq 0x12884
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xab2a(%rip), %rsi      # 0x20aa7
leaq 0xab31(%rip), %rdx      # 0x20ab5
movq %rsp, %rdi
callq 0xb1b4
movb $0x1, %bpl
movq %rsp, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7bdc
xorl %ebp, %ebp
leaq 0x17c92(%rip), %rsi     # 0x2dc38
leaq -0x556d(%rip), %rdx     # 0x10a40
movq %rbx, %rdi
callq 0x6440
jmp 0x16019
movl $0x70, %edi
callq 0x6140
movq %rax, %r12
movq %r15, %rdi
xorl %esi, %esi
callq 0x12884
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xaad5(%rip), %rsi      # 0x20ab6
leaq 0xaadc(%rip), %rdx      # 0x20ac4
movq %rsp, %rdi
callq 0xb1b4
movb $0x1, %bpl
movq %rsp, %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x7bdc
xorl %ebp, %ebp
leaq 0x17c2e(%rip), %rsi     # 0x2dc38
leaq -0x55d1(%rip), %rdx     # 0x10a40
movq %r12, %rdi
callq 0x6440
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x16032
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6230
testb %bpl, %bpl
jne 0x16066
jmp 0x16088
jmp 0x16063
jmp 0x1603f
jmp 0x16072
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x16058
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6230
testb %bpl, %bpl
jne 0x16075
jmp 0x16091
jmp 0x16072
jmp 0x16085
movq %rax, %r14
movq %r12, %rdi
callq 0x61c0
jmp 0x16088
jmp 0x16072
movq %rax, %r14
movq %rbx, %rdi
callq 0x61c0
jmp 0x16091
jmp 0x16085
jmp 0x16085
jmp 0x16085
movq %rax, %r14
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x28(%rax)
movq %r14, %rdi
callq 0x6450
nop