// File: /workspace/github_c_makefile_star2_O0/g3ida[P]g3idaCompiler/parse.c
// Function: factor
exprType factor(void)
{
    exprType t = Void;
    int p;
    switch (token) {
    case NUM :
        EMETTRE("empiler %d\n", atoi(lexeme));
        accepter(NUM);
        t = Integer;
        break;
    case ID :
        EMETTRE("valeurd %s\n",lexeme);
        if((p = idExists(lexeme)) == -1) {
            ERROR_MSG("variable '%s' undeclared\n", lexeme);
        }
        t = idTable[p].type;
        accepter(ID);
      break;
    case LPAREN:
        accepter(LPAREN);
        t = simple_expr();
        accepter(RPAREN);
        break;
    default:
        EMETTRE("halte\n");
        ERROR_MSG("unexprected symbol '");
        printSymbole(token,lexeme);
        printf("' \n");
        printSymbole(token,lexeme);
        token = analLex();
        break;
    }
    return t;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x0, -0x4(%rbp)
movl 0x467f(%rip), %eax      # 0x6b64
movl %eax, -0xc(%rbp)
testl %eax, %eax
je 0x254a
jmp 0x24ee
movl -0xc(%rbp), %eax
subl $0x1, %eax
je 0x2509
jmp 0x24f8
movl -0xc(%rbp), %eax
subl $0x11, %eax
je 0x25ec
jmp 0x260d
movq 0x4648(%rip), %rax      # 0x6b58
movq %rax, -0x18(%rbp)
leaq 0x4665(%rip), %rdi      # 0x6b80
callq 0x10f0
movq -0x18(%rbp), %rdi
movl %eax, %edx
leaq 0x1d7c(%rip), %rsi      # 0x42a9
movb $0x0, %al
callq 0x10b0
movl $0x1, %edi
callq 0x1490
movl $0x1, -0x4(%rbp)
jmp 0x26a6
movq 0x4607(%rip), %rdi      # 0x6b58
leaq 0x1d5d(%rip), %rsi      # 0x42b5
leaq 0x4621(%rip), %rdx      # 0x6b80
movb $0x0, %al
callq 0x10b0
leaq 0x4613(%rip), %rdi      # 0x6b80
callq 0x1210
movl %eax, -0x8(%rbp)
cmpl $-0x1, %eax
jne 0x25c8
leaq 0x3b1f(%rip), %rax      # 0x60a0
movl (%rax), %esi
leaq 0x1b43(%rip), %rdi      # 0x40cd
movb $0x0, %al
callq 0x1080
leaq 0x1d29(%rip), %rdi      # 0x42c1
leaq 0x45e1(%rip), %rsi      # 0x6b80
movb $0x0, %al
callq 0x1080
leaq 0x3c37(%rip), %rax      # 0x61e4
movl (%rax), %ecx
addl $0x1, %ecx
leaq 0x3c2b(%rip), %rax      # 0x61e4
movl %ecx, (%rax)
leaq 0x3c1e(%rip), %rax      # 0x61e0
movl $0x1, (%rax)
movslq -0x8(%rbp), %rcx
leaq 0x3c1d(%rip), %rax      # 0x61f0
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
movl %eax, -0x4(%rbp)
xorl %edi, %edi
callq 0x1490
jmp 0x26a6
movl $0x11, %edi
callq 0x1490
callq 0x21c0
movl %eax, -0x4(%rbp)
movl $0x12, %edi
callq 0x1490
jmp 0x26a6
movq 0x4544(%rip), %rdi      # 0x6b58
leaq 0x1cc0(%rip), %rsi      # 0x42db
movb $0x0, %al
callq 0x10b0
leaq 0x3a77(%rip), %rax      # 0x60a0
movl (%rax), %esi
leaq 0x1a9b(%rip), %rdi      # 0x40cd
movb $0x0, %al
callq 0x1080
leaq 0x1ca2(%rip), %rdi      # 0x42e2
movb $0x0, %al
callq 0x1080
leaq 0x3b96(%rip), %rax      # 0x61e4
movl (%rax), %ecx
addl $0x1, %ecx
leaq 0x3b8a(%rip), %rax      # 0x61e4
movl %ecx, (%rax)
leaq 0x3b7d(%rip), %rax      # 0x61e0
movl $0x1, (%rax)
movl 0x44f5(%rip), %edi      # 0x6b64
leaq 0x450a(%rip), %rsi      # 0x6b80
callq 0x26b0
leaq 0x1c75(%rip), %rdi      # 0x42f7
movb $0x0, %al
callq 0x1080
movl 0x44d5(%rip), %edi      # 0x6b64
leaq 0x44ea(%rip), %rsi      # 0x6b80
callq 0x26b0
callq 0x29e0
movl %eax, 0x44be(%rip)      # 0x6b64
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nop