// File: Eronana[P]strawberry/src/parser.cpp
// Function: Parser::ConditionalExpression()
AST_PTR Parser::ConditionalExpression()
{
    AST_PTR expr=LogicalORExpression();
    if(acceptEat(TOKEN_QUESTIONMARK))
    {
        DEF_AST_RET(ConditionalExpression);
        ret->expr=move(expr);
        ret->trueExpr=AssignmentExpression();
        if(!acceptEat(TOKEN_COLON))PARSER_ERROR("excepted ':' for conditional expression");
        ret->falseExpr=AssignmentExpression();
        RETURN_PTR;
    }
    else return expr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x98(%rbp)
movq %rdi, %rax
movq %rax, -0x90(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rsi
movq %rsi, -0x88(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x29160
movq -0x88(%rbp), %rdi
movl $0x2d, -0x1c(%rbp)
leaq -0x1c(%rbp), %rsi
callq 0x31240
movb %al, -0x7d(%rbp)
jmp 0x29774
movb -0x7d(%rbp), %al
testb $0x1, %al
jne 0x29780
jmp 0x299a4
movl $0x20, %edi
callq 0x72c0
movq %rax, -0xa0(%rbp)
jmp 0x29793
movq -0xa0(%rbp), %rdi
callq 0x32700
movq -0xa0(%rbp), %rsi
leaq -0x38(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0x32760
movq -0xa8(%rbp), %rdi
callq 0x32790
movq %rax, %rdi
addq $0x8, %rdi
leaq -0x18(%rbp), %rsi
callq 0x8ee0
movq -0x88(%rbp), %rsi
leaq -0x40(%rbp), %rdi
callq 0x29430
jmp 0x297e4
leaq -0x38(%rbp), %rdi
callq 0x32790
movq %rax, %rdi
addq $0x10, %rdi
leaq -0x40(%rbp), %rsi
movq %rsi, -0xb8(%rbp)
callq 0x8ee0
movq -0xb8(%rbp), %rdi
callq 0x8f10
movq -0x88(%rbp), %rdi
movl $0x2c, -0x44(%rbp)
leaq -0x44(%rbp), %rsi
callq 0x31240
movb %al, -0xa9(%rbp)
jmp 0x2982f
movb -0xa9(%rbp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x29840
jmp 0x29943
movb $0x1, -0x6a(%rbp)
movl $0x70, %edi
callq 0x7180
movq -0x88(%rbp), %rdi
movq %rax, -0xc8(%rbp)
xorl %esi, %esi
callq 0x277f0
movq %rax, -0xc0(%rbp)
jmp 0x2986c
leaq -0x69(%rbp), %rdi
movq %rdi, -0xd0(%rbp)
callq 0x75f0
movq -0xd0(%rbp), %rdx
leaq 0x2f158(%rip), %rsi     # 0x589e2
leaq -0x68(%rbp), %rdi
callq 0xf990
jmp 0x29895
movq -0xc0(%rbp), %rsi
movq -0xc8(%rbp), %rdi
leaq -0x68(%rbp), %rdx
callq 0xac90
jmp 0x298ae
movq -0xc8(%rbp), %rdi
movb $0x0, -0x6a(%rbp)
leaq 0x5f340(%rip), %rsi     # 0x88c00
leaq -0x95e7(%rip), %rdx     # 0x202e0
callq 0x75c0
jmp 0x299e6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x299d4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x29999
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2992d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x29924
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x71d0
leaq -0x69(%rbp), %rdi
callq 0x7310
testb $0x1, -0x6a(%rbp)
jne 0x29935
jmp 0x29941
movq -0xc8(%rbp), %rdi
callq 0x7230
jmp 0x29999
movq -0x88(%rbp), %rsi
leaq -0x78(%rbp), %rdi
callq 0x29430
jmp 0x29955
leaq -0x38(%rbp), %rdi
callq 0x32790
movq %rax, %rdi
addq $0x18, %rdi
leaq -0x78(%rbp), %rsi
callq 0x8ee0
leaq -0x78(%rbp), %rdi
callq 0x8f10
movq -0x98(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x327b0
movl $0x1, -0x7c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x32800
jmp 0x299bb
leaq -0x38(%rbp), %rdi
callq 0x32800
jmp 0x299d4
movq -0x98(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x30f70
movl $0x1, -0x7c(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x8f10
movq -0x90(%rbp), %rax
addq $0xd0, %rsp
popq %rbp
retq
leaq -0x18(%rbp), %rdi
callq 0x8f10
movq -0x28(%rbp), %rdi
callq 0x75e0
nopw %cs:(%rax,%rax)