// File: /workspace/github_cpp_makefile_star2_O1/ps-george[P]ansi_c_compiler/src/lexer/lexer_main.cpp
// Function: main
int main() {
  fprintf(stdout, "[\n");
  std::string Class;
  int tokens = 0;
  while (1) {
    yytokentype type = (yytokentype)yylex();
    if (!type) {
      break;
    }
    tokens++;
    Class = classname(type);
    // Replace 
    fprintf(stdout, "\t{\n\t\t\"Text\": %s,\n\t\t\"Class\": %s,\n\t\t\"StreamLine\": %s,\n\t\t\"SourceFile\": %s,\n\t\t\"SourceLine\": %s,\n\t\t\"SourceCol\": %s\n\t},\n",
            quote(escape_chars(*yylval.raw)).c_str(),
            quote(Class).c_str(),
            std::to_string(yylineno).c_str(),
            quote(yylfile).c_str(),
            std::to_string(yylsourcelino).c_str(),
            std::to_string(yylcolno).c_str());
  }
  fprintf(stdout, "\t{}\n]\n");
  fprintf(stderr, "Number of tokens: %d", tokens);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq 0x8606(%rip), %rax      # 0xafb0
movq (%rax), %rcx
leaq 0x47c2(%rip), %rdi      # 0x7176
movl $0x2, %esi
movl $0x1, %edx
callq 0x2240
leaq 0xb8(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x18(%rsp), %r15
leaq 0x38(%rsp), %r13
leaq 0x58(%rsp), %rbx
leaq 0x8(%rsp), %r14
leaq 0x128(%rsp), %r12
leaq 0x28(%rsp), %rbp
movl $0x0, (%rsp)
callq 0x3208
testl %eax, %eax
je 0x2e5c
movq %r14, %rdi
movl %eax, 0x4(%rsp)
movl %eax, %esi
callq 0x27e7
leaq 0xa8(%rsp), %rdi
movq %r14, %rsi
callq 0x2150
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2a44
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x8565(%rip), %rax      # 0xafb0
movq (%rax), %rax
movq %rax, 0xe0(%rsp)
movq 0x870b(%rip), %rsi      # 0xb168
movq %r12, %rdi
callq 0x2695
movq %r14, %rdi
movq %r12, %rsi
callq 0x25d9
movq 0x8(%rsp), %r14
movq %r13, 0x28(%rsp)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x30e6
leaq 0x108(%rsp), %rdi
movq %rbp, %rsi
callq 0x25d9
movq %r14, 0xd8(%rsp)
leaq 0x869c(%rip), %rax      # 0xb150
movl (%rax), %r14d
movl %r14d, %ebp
negl %ebp
cmovsl %r14d, %ebp
movl $0x1, %r12d
cmpl $0xa, %ebp
jb 0x2b11
movl $0x4, %r12d
movl %ebp, %eax
cmpl $0x63, %eax
jbe 0x2b08
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x2b0e
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x2b11
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x2ad3
addl $-0x3, %r12d
jmp 0x2b11
addl $-0x2, %r12d
jmp 0x2b11
decl %r12d
movq 0x108(%rsp), %rax
movq %rax, 0xd0(%rsp)
shrl $0x1f, %r14d
leal (%r12,%r14), %esi
leaq 0x78(%rsp), %rax
movq %rax, 0x68(%rsp)
leaq 0x68(%rsp), %rdi
movl $0x2d, %edx
callq 0x2120
addq 0x68(%rsp), %r14
movq %r14, %rdi
movl %r12d, %esi
movl %ebp, %edx
callq 0x3078
movq 0x68(%rsp), %rbp
leaq 0x98(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x8608(%rip), %rsi      # 0xb178
movq 0x8609(%rip), %rdx      # 0xb180
addq %rsi, %rdx
leaq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0x30e6
leaq 0xe8(%rsp), %rdi
movq %r14, %rsi
callq 0x25d9
movl 0x85a3(%rip), %r12d     # 0xb144
movl %r12d, %r13d
negl %r13d
cmovsl %r12d, %r13d
movl $0x1, %r15d
cmpl $0xa, %r13d
movl $0xd1b71759, %r14d      # imm = 0xD1B71759
jb 0x2bff
movl $0x4, %r15d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x2bf6
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x2bfc
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x2bff
movl %eax, %ecx
imulq %r14, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x2bc6
addl $-0x3, %r15d
jmp 0x2bff
addl $-0x2, %r15d
jmp 0x2bff
decl %r15d
movq 0xe8(%rsp), %rax
movq %rax, 0xc8(%rsp)
shrl $0x1f, %r12d
leal (%r15,%r12), %esi
movq %rbx, 0x48(%rsp)
leaq 0x48(%rsp), %rdi
movl $0x2d, %edx
callq 0x2120
addq 0x48(%rsp), %r12
movq %r12, %rdi
movl %r15d, %esi
movl %r13d, %edx
callq 0x3078
movl 0x84fb(%rip), %r12d     # 0xb140
movl %r12d, %r13d
negl %r13d
cmovsl %r12d, %r13d
movl $0x1, %r15d
cmpl $0xa, %r13d
jb 0x2c9d
movl $0x4, %r15d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x2c94
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x2c9a
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x2c9d
movl %eax, %ecx
imulq %r14, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x2c64
addl $-0x3, %r15d
jmp 0x2c9d
addl $-0x2, %r15d
jmp 0x2c9d
decl %r15d
movq %rbp, %r14
movq 0x48(%rsp), %rbx
shrl $0x1f, %r12d
leal (%r15,%r12), %esi
leaq 0x158(%rsp), %rbp
movq %rbp, 0x148(%rsp)
leaq 0x148(%rsp), %rdi
movl $0x2d, %edx
callq 0x2120
addq 0x148(%rsp), %r12
movq %r12, %rdi
movl %r15d, %esi
movl %r13d, %edx
callq 0x3078
movq 0xe0(%rsp), %rdi
leaq 0x4485(%rip), %rsi      # 0x7179
movq 0xd8(%rsp), %rdx
movq 0xd0(%rsp), %rcx
movq %r14, %r8
movq 0xc8(%rsp), %r9
xorl %eax, %eax
pushq 0x148(%rsp)
pushq %rbx
callq 0x2180
addq $0x10, %rsp
movq 0x148(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2d3f
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rbx
cmpq %rbx, %rdi
leaq 0x18(%rsp), %r15
leaq 0x38(%rsp), %r13
leaq 0x128(%rsp), %r12
leaq 0x28(%rsp), %rbp
je 0x2d72
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
leaq 0x8(%rsp), %r14
je 0x2d9c
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x2dc1
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2ddd
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x2e02
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x2e19
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2e30
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0x2e55
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x20f0
incl (%rsp)
movl 0x4(%rsp), %eax
testl %eax, %eax
jne 0x2a02
leaq 0xa8(%rsp), %rsi
movl (%rsp), %edi
leaq 0xb8(%rsp), %rdx
callq 0x2270
xorl %eax, %eax
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2eb4
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x20f0
jmp 0x2eb4
movq %rax, %rbx
leaq 0x18(%rsp), %r15
leaq 0x38(%rsp), %r13
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x2ee8
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x20f0
jmp 0x2ee8
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x2f17
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x20f0
jmp 0x2f17
movq %rax, %rbx
jmp 0x2f33
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2f33
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x2f5d
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x20f0
jmp 0x2f5d
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x2f7e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x20f0
jmp 0x2f7e
movq %rax, %rbx
jmp 0x2f95
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2f95
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0x2fc3
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x20f0
jmp 0x2fc3
jmp 0x2fc0
jmp 0x2fc0
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x2fe8
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x20f0
movq %rbx, %rdi
callq 0x2200