// File: /workspace/github_cpp_makefile_star2_O1/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 0xa8af(%rip), %rsi      # 0x20a96
movq %r15, %rdi
callq 0x186fc
testb %al, %al
je 0x16316
movq %r15, %rdi
xorl %esi, %esi
callq 0x1288c
cmpl $0xe, (%rax)
jne 0x1637d
incl 0x20(%r15)
movl $0x20, %edi
callq 0x6220
movq %rax, %rbx
leaq 0x186a6(%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 0x146e0
movq %rbx, %rax
addq $0x8, %rax
movq (%rsp), %rcx
movq $0x0, (%rsp)
movq (%rax), %rdi
movq %rcx, (%rax)
testq %rdi, %rdi
je 0x16267
movq (%rdi), %rax
callq *0x28(%rax)
movq %r15, %rdi
xorl %esi, %esi
callq 0x1288c
cmpl $0xf, (%rax)
jne 0x163e1
incl 0x20(%r15)
movq %rsp, %rdi
movq %r15, %rsi
callq 0x1590e
movq (%rsp), %rax
movq $0x0, (%rsp)
movq 0x10(%rbx), %rdi
movq %rax, 0x10(%rbx)
testq %rdi, %rdi
je 0x162a8
movq (%rdi), %rax
callq *0x28(%rax)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x162b7
movq (%rdi), %rax
callq *0x28(%rax)
leaq 0xa807(%rip), %rsi      # 0x20ac5
movq %r15, %rdi
callq 0x18790
testb %al, %al
je 0x16303
movq %rsp, %rdi
movq %r15, %rsi
callq 0x1590e
movq (%rsp), %rax
movq $0x0, (%rsp)
movq 0x18(%rbx), %rdi
movq %rax, 0x18(%rbx)
testq %rdi, %rdi
je 0x162f4
movq (%rdi), %rax
callq *0x28(%rax)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x16303
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 0x1288c
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xa759(%rip), %rsi      # 0x20a99
leaq 0xa75f(%rip), %rdx      # 0x20aa6
movq %rsp, %rdi
callq 0xb1a2
movb $0x1, %bpl
movq %rsp, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7be0
xorl %ebp, %ebp
leaq 0x178cf(%rip), %rsi     # 0x2dc38
leaq -0x5914(%rip), %rdx     # 0x10a5c
movq %rbx, %rdi
callq 0x6440
jmp 0x16443
movl $0x70, %edi
callq 0x6140
movq %rax, %rbx
movq %r15, %rdi
xorl %esi, %esi
callq 0x1288c
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xa700(%rip), %rsi      # 0x20aa7
leaq 0xa707(%rip), %rdx      # 0x20ab5
movq %rsp, %rdi
callq 0xb1a2
movb $0x1, %bpl
movq %rsp, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7be0
xorl %ebp, %ebp
leaq 0x17868(%rip), %rsi     # 0x2dc38
leaq -0x597b(%rip), %rdx     # 0x10a5c
movq %rbx, %rdi
callq 0x6440
jmp 0x16443
movl $0x70, %edi
callq 0x6140
movq %rax, %r12
movq %r15, %rdi
xorl %esi, %esi
callq 0x1288c
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xa6ab(%rip), %rsi      # 0x20ab6
leaq 0xa6b2(%rip), %rdx      # 0x20ac4
movq %rsp, %rdi
callq 0xb1a2
movb $0x1, %bpl
movq %rsp, %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x7be0
xorl %ebp, %ebp
leaq 0x17804(%rip), %rsi     # 0x2dc38
leaq -0x59df(%rip), %rdx     # 0x10a5c
movq %r12, %rdi
callq 0x6440
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x16489
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6230
jmp 0x16489
jmp 0x16483
jmp 0x16464
jmp 0x1649a
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x164a0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6230
jmp 0x164a0
jmp 0x1649a
jmp 0x164b5
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x164b8
movq %r12, %rdi
callq 0x61c0
jmp 0x164b8
jmp 0x1649a
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x164c1
movq %rbx, %rdi
callq 0x61c0
jmp 0x164c1
jmp 0x164b5
jmp 0x164b5
jmp 0x164b5
movq %rax, %r14
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x28(%rax)
movq %r14, %rdi
callq 0x6450
nop