// File: /workspace/github_cpp_makefile_star2_O2/fondoger[P]C0-Compiler/src/symbol.cpp
// Function: readSymbol()
void readSymbol() 
{
goto_label:
    while (isBlankCharacter(ch))
        nextch();
    g_word_pos = g_pos - 1;
    if (std::isdigit(ch)) {
        readUnsignedInteger();
        return;
    }
    if (std::isalpha(ch) || ch == '_') {
        readIdentifier();
        return;
    }
    switch(ch) {
        case '\"': readString(); break;
        case '\'': readCharacter(); break;
        case '>': nextch();
                  if (ch == '=') {
                      g_sym = GEQ;
                      nextch();
                  } else g_sym = GTR;
                  break;
        case '<': nextch();
                  if (ch == '=') {
                      g_sym = LEQ;
                      nextch();
                  } else g_sym = LSS;
                  break;
        case '!': nextch();
                  if (ch != '=') {
                      std::cout << "operater ! is not allowed" 
                           << std::endl;
                      std::exit(1);
                  }
                  g_sym = NEQ;
                  nextch();
                  break;
        case '=': nextch();
                  if (ch == '=') {
                      g_sym = EQL;
                      nextch();
                  } else g_sym = BECOMES;
                  break;
        default: if (char2sym[(int)ch] == 0) {
                     error(ERR_UNSUPPORTED_CHARACTER);
                     nextch();
                     goto goto_label;
                 }
                 g_sym = char2sym[(int)ch];
                 nextch();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
leaq 0xd5f0(%rip), %rbx      # 0x20e10
leaq -0x70(%rbp), %r14
leaq -0x50(%rbp), %r15
movabsq $0x100000600, %r13      # imm = 0x100000600
movzbl 0xaa26(%rip), %r12d     # 0x1e260
cmpq $0x20, %r12
ja 0x1384a
btq %r12, %r13
jb 0x138ec
movsbl %r12b, %edi
movl 0x10e2c(%rip), %eax     # 0x24680
decl %eax
movl %eax, 0x10e2c(%rip)     # 0x24688
leal -0x30(%rdi), %eax
cmpl $0x9, %eax
jbe 0x138f6
callq 0x33f0
cmpb $0x5f, %r12b
je 0x13939
testl %eax, %eax
jne 0x13939
cmpl $0x21, %r12d
je 0x13b03
cmpl $0x3e, %r12d
je 0x13a67
cmpl $0x27, %r12d
je 0x13a88
cmpl $0x3c, %r12d
je 0x13b21
cmpl $0x3d, %r12d
je 0x13a46
cmpl $0x22, %r12d
je 0x139b8
movsbq %r12b, %rax
movl (%rbx,%rax,4), %eax
testl %eax, %eax
jne 0x13b3b
movq %r14, %rdi
leaq 0x3928(%rip), %rsi      # 0x171fc
movq %r15, %rdx
callq 0x30f0
movq %r14, %rdi
callq 0xa247
movq %r14, %rdi
callq 0x3498
callq 0x13c51
jmp 0x13832
andl $0x0, 0x10d3f(%rip)     # 0x2463c
leal -0x30(%r12), %eax
cmpb $0x9, %al
ja 0x1392a
movzbl %r12b, %eax
imull $0xa, 0x10d2b(%rip), %ecx # 0x2463c
addl %ecx, %eax
addl $-0x30, %eax
movl %eax, 0x10d20(%rip)     # 0x2463c
callq 0x13c51
movb 0xa938(%rip), %r12b     # 0x1e260
jmp 0x138fd
movl $0x11, 0x10cdc(%rip)    # 0x24610
jmp 0x13b9c
andq $0x0, 0x10cdf(%rip)     # 0x24620
movq 0x10cd0(%rip), %rax     # 0x24618
movb $0x0, (%rax)
leaq 0x10cc6(%rip), %rbx     # 0x24618
movsbl %r12b, %r14d
leal -0x30(%r14), %eax
cmpl $0xa, %eax
jb 0x13971
movl %r14d, %edi
callq 0x33f0
cmpb $0x5f, %r14b
je 0x13971
testl %eax, %eax
je 0x13998
movl %r14d, %edi
callq 0x3370
movb %al, 0xa8e1(%rip)       # 0x1e260
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3220
callq 0x13c51
movb 0xa8ca(%rip), %r12b     # 0x1e260
jmp 0x13952
leaq 0xd671(%rip), %rdi      # 0x21010
leaq 0x10c72(%rip), %rsi     # 0x24618
callq 0x13e7c
movl (%rax), %eax
movl %eax, 0x10c5d(%rip)     # 0x24610
jmp 0x13b9c
andq $0x0, 0x10c88(%rip)     # 0x24648
movq 0x10c79(%rip), %rax     # 0x24640
movb $0x0, (%rax)
leaq 0x10c6f(%rip), %rbx     # 0x24640
leaq 0x38b8(%rip), %r14      # 0x17290
leaq -0x90(%rbp), %r15
leaq -0x50(%rbp), %r12
callq 0x13c51
movzbl 0xa871(%rip), %eax      # 0x1e260
cmpl $0x22, %eax
je 0x13b8d
cmpl $0xa, %eax
je 0x13b67
movl %eax, %ecx
andb $-0x2, %cl
cmpb $0x20, %cl
sete %cl
leal -0x23(%rax), %edx
cmpb $0x5c, %dl
setb %dl
orb %cl, %dl
je 0x13a26
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3220
jmp 0x139e3
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x30f0
movq %r15, %rdi
callq 0xa247
movq %r15, %rdi
callq 0x3498
jmp 0x139e3
callq 0x13c51
cmpb $0x3d, 0xa80e(%rip)     # 0x1e260
jne 0x13b43
movl $0x17, 0x10bae(%rip)    # 0x24610
jmp 0x13b97
callq 0x13c51
cmpb $0x3d, 0xa7ed(%rip)     # 0x1e260
jne 0x13b4f
movl $0x1c, 0x10b8d(%rip)    # 0x24610
jmp 0x13b97
callq 0x13c51
movzbl 0xa7cc(%rip), %ebx      # 0x1e260
movl %ebx, %eax
addl $-0x2a, %eax
cmpl $0x35, %eax
ja 0x13bab
movabsq $0x2000000000002b, %rcx # imm = 0x2000000000002B
btq %rax, %rcx
jae 0x13bab
movb %bl, 0x10b7c(%rip)      # 0x24638
callq 0x13c51
cmpb $0x27, 0xa798(%rip)     # 0x1e260
je 0x13af4
movq 0xa4f7(%rip), %rdi      # 0x1dfc8
leaq 0x377a(%rip), %rsi      # 0x17252
callq 0x3280
movsbl 0xa77c(%rip), %esi      # 0x1e260
movq %rax, %rdi
callq 0x32f0
movq %rax, %rdi
callq 0x3130
movl $0x10, 0x10b12(%rip)    # 0x24610
jmp 0x13b97
callq 0x13c51
cmpb $0x3d, 0xa751(%rip)     # 0x1e260
jne 0x13bfc
movl $0x18, 0x10af1(%rip)    # 0x24610
jmp 0x13b97
callq 0x13c51
cmpb $0x3d, 0xa733(%rip)     # 0x1e260
jne 0x13b5b
movl $0x1a, 0x10ad7(%rip)    # 0x24610
jmp 0x13b97
movl %eax, 0x10acf(%rip)     # 0x24610
jmp 0x13b97
movl $0x23, 0x10ac3(%rip)    # 0x24610
jmp 0x13b9c
movl $0x1b, 0x10ab7(%rip)    # 0x24610
jmp 0x13b9c
movl $0x19, 0x10aab(%rip)    # 0x24610
jmp 0x13b9c
leaq 0x370b(%rip), %rsi      # 0x17279
leaq -0x50(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0x30f0
leaq -0x50(%rbp), %rdi
callq 0xa247
leaq -0x50(%rbp), %rdi
callq 0x3498
movl $0x12, 0x10a79(%rip)    # 0x24610
callq 0x13c51
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movsbl %bl, %edi
leal -0x30(%rdi), %eax
cmpl $0xa, %eax
jb 0x13ab6
callq 0x33f0
testl %eax, %eax
jne 0x13ab6
movq 0xa3fa(%rip), %rdi      # 0x1dfc8
leaq 0x365c(%rip), %rsi      # 0x17231
callq 0x3280
movsbl 0xa67f(%rip), %esi      # 0x1e260
movq %rax, %rdi
callq 0x32f0
movq %rax, %rdi
callq 0x3130
movb 0xa669(%rip), %bl       # 0x1e260
jmp 0x13ab6
movq 0xa3c5(%rip), %rdi      # 0x1dfc8
leaq 0x35d8(%rip), %rsi      # 0x171e2
callq 0x3280
movq %rax, %rdi
callq 0x3130
pushq $0x1
popq %rdi
callq 0x3300
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
jmp 0x13c3f
jmp 0x13c46
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
jmp 0x13c3f
jmp 0x13c46
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x3498
jmp 0x13c49
movq %rax, %rbx
movq %rbx, %rdi
callq 0x3430