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

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movq %rdi, -0xd0(%rbp)
movq %rdi, %rax
movq %rax, -0xc8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
leaq 0x2a396(%rip), %rsi     # 0x58abc
callq 0x33560
testb $0x1, %al
jne 0x2e817
movb $0x1, -0x42(%rbp)
movl $0x70, %edi
callq 0x7180
movq -0xc0(%rbp), %rdi
movq %rax, -0xe0(%rbp)
xorl %esi, %esi
callq 0x277f0
movq %rax, -0xd8(%rbp)
jmp 0x2e75f
leaq -0x41(%rbp), %rdi
movq %rdi, -0xe8(%rbp)
callq 0x75f0
movq -0xe8(%rbp), %rdx
leaq 0x2a345(%rip), %rsi     # 0x58ac2
leaq -0x40(%rbp), %rdi
callq 0xf990
jmp 0x2e788
movq -0xd8(%rbp), %rsi
movq -0xe0(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0xac90
jmp 0x2e7a1
movq -0xe0(%rbp), %rdi
movb $0x0, -0x42(%rbp)
leaq 0x5a44d(%rip), %rsi     # 0x88c00
leaq -0xe4da(%rip), %rdx     # 0x202e0
callq 0x75c0
jmp 0x2eb3c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2e7fe
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2e7f5
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 0x2e806
jmp 0x2e812
movq -0xe0(%rbp), %rdi
callq 0x7230
jmp 0x2eb33
movq -0xc0(%rbp), %rdi
movl $0xe, -0x48(%rbp)
leaq -0x48(%rbp), %rsi
callq 0x31240
xorb $-0x1, %al
testb $0x1, %al
jne 0x2e839
jmp 0x2e91d
movb $0x1, -0x6a(%rbp)
movl $0x70, %edi
callq 0x7180
movq -0xc0(%rbp), %rdi
movq %rax, -0xf8(%rbp)
xorl %esi, %esi
callq 0x277f0
movq %rax, -0xf0(%rbp)
jmp 0x2e865
leaq -0x69(%rbp), %rdi
movq %rdi, -0x100(%rbp)
callq 0x75f0
movq -0x100(%rbp), %rdx
leaq 0x2a252(%rip), %rsi     # 0x58ad5
leaq -0x68(%rbp), %rdi
callq 0xf990
jmp 0x2e88e
movq -0xf0(%rbp), %rsi
movq -0xf8(%rbp), %rdi
leaq -0x68(%rbp), %rdx
callq 0xac90
jmp 0x2e8a7
movq -0xf8(%rbp), %rdi
movb $0x0, -0x6a(%rbp)
leaq 0x5a347(%rip), %rsi     # 0x88c00
leaq -0xe5e0(%rip), %rdx     # 0x202e0
callq 0x75c0
jmp 0x2eb3c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2e904
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2e8fb
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 0x2e90c
jmp 0x2e918
movq -0xf8(%rbp), %rdi
callq 0x7230
jmp 0x2eb33
movl $0x18, %edi
callq 0x72c0
movq %rax, %rdi
movq %rdi, -0x108(%rbp)
callq 0x336e0
movq -0x108(%rbp), %rsi
leaq -0x78(%rbp), %rdi
callq 0x33730
movq -0xc0(%rbp), %rsi
leaq -0x80(%rbp), %rdi
callq 0x2a9d0
jmp 0x2e958
leaq -0x78(%rbp), %rdi
callq 0x33760
movq %rax, %rdi
addq $0x8, %rdi
leaq -0x80(%rbp), %rsi
movq %rsi, -0x118(%rbp)
callq 0x8ee0
movq -0x118(%rbp), %rdi
callq 0x8f10
movq -0xc0(%rbp), %rdi
movl $0xf, -0x84(%rbp)
leaq -0x84(%rbp), %rsi
callq 0x31240
movb %al, -0x109(%rbp)
jmp 0x2e9a9
movb -0x109(%rbp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x2e9ba
jmp 0x2eac4
movb $0x1, -0xaa(%rbp)
movl $0x70, %edi
callq 0x7180
movq -0xc0(%rbp), %rdi
movq %rax, -0x128(%rbp)
xorl %esi, %esi
callq 0x277f0
movq %rax, -0x120(%rbp)
jmp 0x2e9e9
leaq -0xa9(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x75f0
movq -0x130(%rbp), %rdx
leaq 0x29f3c(%rip), %rsi     # 0x58946
leaq -0xa8(%rbp), %rdi
callq 0xf990
jmp 0x2ea18
movq -0x120(%rbp), %rsi
movq -0x128(%rbp), %rdi
leaq -0xa8(%rbp), %rdx
callq 0xac90
jmp 0x2ea34
movq -0x128(%rbp), %rdi
movb $0x0, -0xaa(%rbp)
leaq 0x5a1b7(%rip), %rsi     # 0x88c00
leaq -0xe770(%rip), %rdx     # 0x202e0
callq 0x75c0
jmp 0x2eb3c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2eb2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2eaab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x2ea9f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x71d0
leaq -0xa9(%rbp), %rdi
callq 0x7310
testb $0x1, -0xaa(%rbp)
jne 0x2eab6
jmp 0x2eac2
movq -0x128(%rbp), %rdi
callq 0x7230
jmp 0x2eb2a
movq -0xc0(%rbp), %rsi
leaq -0xb8(%rbp), %rdi
callq 0x2c540
jmp 0x2ead9
leaq -0x78(%rbp), %rdi
callq 0x33760
movq %rax, %rdi
addq $0x10, %rdi
leaq -0xb8(%rbp), %rsi
callq 0x8ee0
leaq -0xb8(%rbp), %rdi
callq 0x8f10
movq -0xd0(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x33780
leaq -0x78(%rbp), %rdi
callq 0x337d0
movq -0xc8(%rbp), %rax
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
leaq -0x78(%rbp), %rdi
callq 0x337d0
movq -0x18(%rbp), %rdi
callq 0x75e0
nopl (%rax)