// File: Eronana[P]strawberry/src/parser.cpp
// Function: Parser::ForStatement()
AST_PTR Parser::ForStatement()
{
    if(!acceptEat("for"))PARSER_ERROR("excepted 'for'");
    if(!acceptEat(TOKEN_LEFT_PAREN))PARSER_ERROR("expected a '('");
    DEF_AST_RET(ForStatement);
    ret->init=ForStatementInitial();
    if(!acceptEat(TOKEN_SEMICOLON))
    {
        ret->expr=Expression();
        if(!acceptEat(TOKEN_SEMICOLON))PARSER_ERROR("excepted a ';'");
    }
    if(!acceptEat(TOKEN_RIGHT_PAREN))
    {
        ret->loopExpr=Expression();
        if(!acceptEat(TOKEN_RIGHT_PAREN))PARSER_ERROR("excepted a ')'");
    }
    ret->statement=Statement();
    RETURN_PTR;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, -0x118(%rbp)
movq %rdi, %rax
movq %rax, -0x110(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x108(%rbp)
leaq 0x2b0b0(%rip), %rsi     # 0x58a96
callq 0x32c90
testb $0x1, %al
jne 0x2dad7
movb $0x1, -0x42(%rbp)
movl $0x70, %edi
callq 0x7180
movq -0x108(%rbp), %rdi
movq %rax, -0x128(%rbp)
xorl %esi, %esi
callq 0x277f0
movq %rax, -0x120(%rbp)
jmp 0x2da1f
leaq -0x41(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x75f0
movq -0x130(%rbp), %rdx
leaq 0x2b05d(%rip), %rsi     # 0x58a9a
leaq -0x40(%rbp), %rdi
callq 0xf990
jmp 0x2da48
movq -0x120(%rbp), %rsi
movq -0x128(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0xac90
jmp 0x2da61
movq -0x128(%rbp), %rdi
movb $0x0, -0x42(%rbp)
leaq 0x5b18d(%rip), %rsi     # 0x88c00
leaq -0xd79a(%rip), %rdx     # 0x202e0
callq 0x75c0
jmp 0x2e026
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2dabe
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2dab5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x71d0
leaq -0x41(%rbp), %rdi
callq 0x7310
testb $0x1, -0x42(%rbp)
jne 0x2dac6
jmp 0x2dad2
movq -0x128(%rbp), %rdi
callq 0x7230
jmp 0x2e01d
movq -0x108(%rbp), %rdi
movl $0xe, -0x48(%rbp)
leaq -0x48(%rbp), %rsi
callq 0x31240
xorb $-0x1, %al
testb $0x1, %al
jne 0x2daf9
jmp 0x2dbdd
movb $0x1, -0x6a(%rbp)
movl $0x70, %edi
callq 0x7180
movq -0x108(%rbp), %rdi
movq %rax, -0x140(%rbp)
xorl %esi, %esi
callq 0x277f0
movq %rax, -0x138(%rbp)
jmp 0x2db25
leaq -0x69(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x75f0
movq -0x148(%rbp), %rdx
leaq 0x2af30(%rip), %rsi     # 0x58a73
leaq -0x68(%rbp), %rdi
callq 0xf990
jmp 0x2db4e
movq -0x138(%rbp), %rsi
movq -0x140(%rbp), %rdi
leaq -0x68(%rbp), %rdx
callq 0xac90
jmp 0x2db67
movq -0x140(%rbp), %rdi
movb $0x0, -0x6a(%rbp)
leaq 0x5b087(%rip), %rsi     # 0x88c00
leaq -0xd8a0(%rip), %rdx     # 0x202e0
callq 0x75c0
jmp 0x2e026
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2dbc4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2dbbb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x71d0
leaq -0x69(%rbp), %rdi
callq 0x7310
testb $0x1, -0x6a(%rbp)
jne 0x2dbcc
jmp 0x2dbd8
movq -0x140(%rbp), %rdi
callq 0x7230
jmp 0x2e01d
movl $0x28, %edi
callq 0x72c0
movq %rax, %rdi
movq %rdi, -0x150(%rbp)
callq 0x33350
movq -0x150(%rbp), %rsi
leaq -0x78(%rbp), %rdi
callq 0x333c0
movq -0x108(%rbp), %rsi
leaq -0x80(%rbp), %rdi
callq 0x2d890
jmp 0x2dc18
leaq -0x78(%rbp), %rdi
callq 0x333f0
movq %rax, %rdi
addq $0x8, %rdi
leaq -0x80(%rbp), %rsi
movq %rsi, -0x160(%rbp)
callq 0x8ee0
movq -0x160(%rbp), %rdi
callq 0x8f10
movq -0x108(%rbp), %rdi
movl $0x29, -0x84(%rbp)
leaq -0x84(%rbp), %rsi
callq 0x31240
movb %al, -0x151(%rbp)
jmp 0x2dc69
movb -0x151(%rbp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x2dc7a
jmp 0x2de03
movq -0x108(%rbp), %rsi
leaq -0x90(%rbp), %rdi
callq 0x2a9d0
jmp 0x2dc8f
leaq -0x78(%rbp), %rdi
callq 0x333f0
movq %rax, %rdi
addq $0x10, %rdi
leaq -0x90(%rbp), %rsi
movq %rsi, -0x170(%rbp)
callq 0x8ee0
movq -0x170(%rbp), %rdi
callq 0x8f10
movq -0x108(%rbp), %rdi
movl $0x29, -0x94(%rbp)
leaq -0x94(%rbp), %rsi
callq 0x31240
movb %al, -0x161(%rbp)
jmp 0x2dce3
movb -0x161(%rbp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x2dcf4
jmp 0x2de01
movb $0x1, -0xba(%rbp)
movl $0x70, %edi
callq 0x7180
movq -0x108(%rbp), %rdi
movq %rax, -0x180(%rbp)
xorl %esi, %esi
callq 0x277f0
movq %rax, -0x178(%rbp)
jmp 0x2dd23
leaq -0xb9(%rbp), %rdi
movq %rdi, -0x188(%rbp)
callq 0x75f0
movq -0x188(%rbp), %rdx
leaq 0x2ad0f(%rip), %rsi     # 0x58a53
leaq -0xb8(%rbp), %rdi
callq 0xf990
jmp 0x2dd52
movq -0x178(%rbp), %rsi
movq -0x180(%rbp), %rdi
leaq -0xb8(%rbp), %rdx
callq 0xac90
jmp 0x2dd6e
movq -0x180(%rbp), %rdi
movb $0x0, -0xba(%rbp)
leaq 0x5ae7d(%rip), %rsi     # 0x88c00
leaq -0xdaaa(%rip), %rdx     # 0x202e0
callq 0x75c0
jmp 0x2e026
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2e014
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2dde5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2ddd9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x71d0
leaq -0xb9(%rbp), %rdi
callq 0x7310
testb $0x1, -0xba(%rbp)
jne 0x2ddf0
jmp 0x2ddfc
movq -0x180(%rbp), %rdi
callq 0x7230
jmp 0x2e014
jmp 0x2de03
movq -0x108(%rbp), %rdi
movl $0xf, -0xc0(%rbp)
leaq -0xc0(%rbp), %rsi
callq 0x31240
movb %al, -0x189(%rbp)
jmp 0x2de28
movb -0x189(%rbp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x2de39
jmp 0x2dfae
movq -0x108(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x2a9d0
jmp 0x2de4e
leaq -0x78(%rbp), %rdi
callq 0x333f0
movq %rax, %rdi
addq $0x18, %rdi
leaq -0xc8(%rbp), %rsi
movq %rsi, -0x198(%rbp)
callq 0x8ee0
movq -0x198(%rbp), %rdi
callq 0x8f10
movq -0x108(%rbp), %rdi
movl $0xf, -0xcc(%rbp)
leaq -0xcc(%rbp), %rsi
callq 0x31240
movb %al, -0x18a(%rbp)
jmp 0x2dea2
movb -0x18a(%rbp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x2deb3
jmp 0x2dfac
movb $0x1, -0xf2(%rbp)
movl $0x70, %edi
callq 0x7180
movq -0x108(%rbp), %rdi
movq %rax, -0x1a8(%rbp)
xorl %esi, %esi
callq 0x277f0
movq %rax, -0x1a0(%rbp)
jmp 0x2dee2
leaq -0xf1(%rbp), %rdi
movq %rdi, -0x1b0(%rbp)
callq 0x75f0
movq -0x1b0(%rbp), %rdx
leaq 0x2aa43(%rip), %rsi     # 0x58946
leaq -0xf0(%rbp), %rdi
callq 0xf990
jmp 0x2df11
movq -0x1a0(%rbp), %rsi
movq -0x1a8(%rbp), %rdi
leaq -0xf0(%rbp), %rdx
callq 0xac90
jmp 0x2df2d
movq -0x1a8(%rbp), %rdi
movb $0x0, -0xf2(%rbp)
leaq 0x5acbe(%rip), %rsi     # 0x88c00
leaq -0xdc69(%rip), %rdx     # 0x202e0
callq 0x75c0
jmp 0x2e026
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2df93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2df87
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0xf0(%rbp), %rdi
callq 0x71d0
leaq -0xf1(%rbp), %rdi
callq 0x7310
testb $0x1, -0xf2(%rbp)
jne 0x2df9e
jmp 0x2dfaa
movq -0x1a8(%rbp), %rdi
callq 0x7230
jmp 0x2e014
jmp 0x2dfae
movq -0x108(%rbp), %rsi
leaq -0x100(%rbp), %rdi
callq 0x2c540
jmp 0x2dfc3
leaq -0x78(%rbp), %rdi
callq 0x333f0
movq %rax, %rdi
addq $0x20, %rdi
leaq -0x100(%rbp), %rsi
callq 0x8ee0
leaq -0x100(%rbp), %rdi
callq 0x8f10
movq -0x118(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x33410
leaq -0x78(%rbp), %rdi
callq 0x33460
movq -0x110(%rbp), %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbp
retq
leaq -0x78(%rbp), %rdi
callq 0x33460
movq -0x18(%rbp), %rdi
callq 0x75e0
nopw %cs:(%rax,%rax)