// File: Eronana[P]strawberry/src/parser.cpp
// Function: Parser::SwitchStatement()
AST_PTR Parser::SwitchStatement()
{
    if(!acceptEat("switch"))PARSER_ERROR("excepted a 'switch'");
    if(!acceptEat(TOKEN_LEFT_PAREN))PARSER_ERROR("excepted a '('");
    DEF_AST_RET(SwitchStatement);
    ret->expr=Expression();
    if(!acceptEat(TOKEN_RIGHT_PAREN))PARSER_ERROR("excepted a ')'");
    ret->caseBlock=CaseBlock();
    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 0x28947(%rip), %rsi     # 0x58b7d
callq 0x340a0
testb $0x1, %al
jne 0x30327
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 0x3026f
leaq -0x41(%rbp), %rdi
movq %rdi, -0xe8(%rbp)
callq 0x75f0
movq -0xe8(%rbp), %rdx
leaq 0x288f7(%rip), %rsi     # 0x58b84
leaq -0x40(%rbp), %rdi
callq 0xf990
jmp 0x30298
movq -0xd8(%rbp), %rsi
movq -0xe0(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0xac90
jmp 0x302b1
movq -0xe0(%rbp), %rdi
movb $0x0, -0x42(%rbp)
leaq 0x5893d(%rip), %rsi     # 0x88c00
leaq -0xffea(%rip), %rdx     # 0x202e0
callq 0x75c0
jmp 0x3064c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x3030e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x30305
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 0x30316
jmp 0x30322
movq -0xe0(%rbp), %rdi
callq 0x7230
jmp 0x30643
movq -0xc0(%rbp), %rdi
movl $0xe, -0x48(%rbp)
leaq -0x48(%rbp), %rsi
callq 0x31240
xorb $-0x1, %al
testb $0x1, %al
jne 0x30349
jmp 0x3042d
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 0x30375
leaq -0x69(%rbp), %rdi
movq %rdi, -0x100(%rbp)
callq 0x75f0
movq -0x100(%rbp), %rdx
leaq 0x28742(%rip), %rsi     # 0x58ad5
leaq -0x68(%rbp), %rdi
callq 0xf990
jmp 0x3039e
movq -0xf0(%rbp), %rsi
movq -0xf8(%rbp), %rdi
leaq -0x68(%rbp), %rdx
callq 0xac90
jmp 0x303b7
movq -0xf8(%rbp), %rdi
movb $0x0, -0x6a(%rbp)
leaq 0x58837(%rip), %rsi     # 0x88c00
leaq -0x100f0(%rip), %rdx    # 0x202e0
callq 0x75c0
jmp 0x3064c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x30414
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x3040b
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 0x3041c
jmp 0x30428
movq -0xf8(%rbp), %rdi
callq 0x7230
jmp 0x30643
movl $0x18, %edi
callq 0x72c0
movq %rax, %rdi
movq %rdi, -0x108(%rbp)
callq 0x34170
movq -0x108(%rbp), %rsi
leaq -0x78(%rbp), %rdi
callq 0x341c0
movq -0xc0(%rbp), %rsi
leaq -0x80(%rbp), %rdi
callq 0x2a9d0
jmp 0x30468
leaq -0x78(%rbp), %rdi
callq 0x341f0
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 0x304b9
movb -0x109(%rbp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x304ca
jmp 0x305d4
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 0x304f9
leaq -0xa9(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x75f0
movq -0x130(%rbp), %rdx
leaq 0x2842c(%rip), %rsi     # 0x58946
leaq -0xa8(%rbp), %rdi
callq 0xf990
jmp 0x30528
movq -0x120(%rbp), %rsi
movq -0x128(%rbp), %rdi
leaq -0xa8(%rbp), %rdx
callq 0xac90
jmp 0x30544
movq -0x128(%rbp), %rdi
movb $0x0, -0xaa(%rbp)
leaq 0x586a7(%rip), %rsi     # 0x88c00
leaq -0x10280(%rip), %rdx    # 0x202e0
callq 0x75c0
jmp 0x3064c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x3063a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x305bb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x305af
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 0x305c6
jmp 0x305d2
movq -0x128(%rbp), %rdi
callq 0x7230
jmp 0x3063a
movq -0xc0(%rbp), %rsi
leaq -0xb8(%rbp), %rdi
callq 0x2fef0
jmp 0x305e9
leaq -0x78(%rbp), %rdi
callq 0x341f0
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 0x34210
leaq -0x78(%rbp), %rdi
callq 0x34260
movq -0xc8(%rbp), %rax
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
leaq -0x78(%rbp), %rdi
callq 0x34260
movq -0x18(%rbp), %rdi
callq 0x75e0
nopl (%rax)