// File: /workspace/github_cpp_makefile_star2_O3/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 $0x178, %rsp            # imm = 0x178
movq 0x85ff(%rip), %rax      # 0xafb0
movq (%rax), %rcx
leaq 0x47bb(%rip), %rdi      # 0x7176
movl $0x2, %esi
movl $0x1, %edx
callq 0x2240
leaq 0xc0(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x80(%rsp), %r13
leaq 0x60(%rsp), %r15
leaq 0x20(%rsp), %r12
leaq 0x70(%rsp), %rbx
leaq 0x138(%rsp), %r14
leaq 0x50(%rsp), %rbp
movl $0x0, 0xc(%rsp)
callq 0x3210
testl %eax, %eax
je 0x2e60
movq %rbx, %rdi
movl %eax, %esi
callq 0x27ee
leaq 0xb0(%rsp), %rdi
movq %rbx, %rsi
callq 0x2150
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x2a4e
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x855b(%rip), %rax      # 0xafb0
movq (%rax), %rax
movq %rax, 0xf0(%rsp)
movq 0x8701(%rip), %rsi      # 0xb168
movq %r14, %rdi
callq 0x2695
movq %rbx, %rdi
movq %r14, %rsi
callq 0x25d9
movq 0x70(%rsp), %rbx
movq %r15, 0x50(%rsp)
movq 0xb0(%rsp), %rsi
movq 0xb8(%rsp), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x30e4
leaq 0x118(%rsp), %rdi
movq %rbp, %rsi
callq 0x25d9
movq %rbx, 0xe8(%rsp)
leaq 0x8692(%rip), %rax      # 0xb150
movl (%rax), %r14d
movl %r14d, %ebp
negl %ebp
cmovsl %r14d, %ebp
movl $0x1, %ebx
cmpl $0xa, %ebp
jb 0x2b15
movl $0x4, %ebx
movl %ebp, %eax
cmpl $0x63, %eax
jbe 0x2b0e
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x2b13
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x2b15
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebx
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x2adb
addl $-0x3, %ebx
jmp 0x2b15
addl $-0x2, %ebx
jmp 0x2b15
decl %ebx
movq 0x118(%rsp), %rax
movq %rax, 0xe0(%rsp)
shrl $0x1f, %r14d
leal (%rbx,%r14), %esi
movq %r12, 0x10(%rsp)
leaq 0x10(%rsp), %rdi
movl $0x2d, %edx
callq 0x2120
addq 0x10(%rsp), %r14
movq %r14, %rdi
movl %ebx, %esi
movl %ebp, %edx
callq 0x3076
movq 0x10(%rsp), %r14
leaq 0xa0(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x860a(%rip), %rsi      # 0xb178
movq 0x860b(%rip), %rdx      # 0xb180
addq %rsi, %rdx
leaq 0x90(%rsp), %rbx
movq %rbx, %rdi
callq 0x30e4
leaq 0xf8(%rsp), %rdi
movq %rbx, %rsi
callq 0x25d9
movq %r14, 0xd8(%rsp)
movl 0x859e(%rip), %ebp      # 0xb144
movl %ebp, %ebx
negl %ebx
cmovsl %ebp, %ebx
movl $0x1, %r12d
cmpl $0xa, %ebx
movl $0xd1b71759, %r14d      # imm = 0xD1B71759
jb 0x2bff
movl $0x4, %r12d
movl %ebx, %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, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x2bc6
addl $-0x3, %r12d
jmp 0x2bff
addl $-0x2, %r12d
jmp 0x2bff
decl %r12d
movq 0xf8(%rsp), %rax
movq %rax, 0xd0(%rsp)
shrl $0x1f, %ebp
leal (%r12,%rbp), %esi
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0x30(%rsp), %rdi
movl $0x2d, %edx
callq 0x2120
addq 0x30(%rsp), %rbp
movq %rbp, %rdi
movl %r12d, %esi
movl %ebx, %edx
callq 0x3076
movl 0x84f9(%rip), %ebp      # 0xb140
movl %ebp, %ebx
negl %ebx
cmovsl %ebp, %ebx
movl $0x1, %r12d
cmpl $0xa, %ebx
jb 0x2c9a
movl $0x4, %r12d
movl %ebx, %eax
cmpl $0x63, %eax
jbe 0x2c91
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x2c97
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x2c9a
movl %eax, %ecx
imulq %r14, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x2c61
addl $-0x3, %r12d
jmp 0x2c9a
addl $-0x2, %r12d
jmp 0x2c9a
decl %r12d
movq %r13, %r15
movq 0x30(%rsp), %r13
shrl $0x1f, %ebp
leal (%r12,%rbp), %esi
leaq 0x168(%rsp), %r14
movq %r14, 0x158(%rsp)
leaq 0x158(%rsp), %rdi
movl $0x2d, %edx
callq 0x2120
addq 0x158(%rsp), %rbp
movq %rbp, %rdi
movl %r12d, %esi
movl %ebx, %edx
callq 0x3076
movq 0xf0(%rsp), %rdi
leaq 0x448a(%rip), %rsi      # 0x7179
movq 0xe8(%rsp), %rdx
movq 0xe0(%rsp), %rcx
movq 0xd8(%rsp), %r8
movq 0xd0(%rsp), %r9
xorl %eax, %eax
pushq 0x158(%rsp)
pushq %r13
callq 0x2180
addq $0x10, %rsp
movq 0x158(%rsp), %rdi
cmpq %r14, %rdi
je 0x2d40
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
movq %r15, %r13
leaq 0x20(%rsp), %r12
leaq 0x70(%rsp), %rbx
leaq 0x138(%rsp), %r14
leaq 0x50(%rsp), %rbp
je 0x2d76
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
leaq 0x60(%rsp), %r15
je 0x2da0
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x2dc5
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x2ddc
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x2e01
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x2e18
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x2e32
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x2e57
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x20f0
incl 0xc(%rsp)
jmp 0x2a0d
leaq 0xb0(%rsp), %rsi
movl 0xc(%rsp), %edi
leaq 0xc0(%rsp), %rdx
callq 0x2270
xorl %eax, %eax
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x2eac
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x20f0
movq %r15, %r13
leaq 0x60(%rsp), %r15
jmp 0x2eb9
movq %rax, %rbx
leaq 0x20(%rsp), %r12
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x2ee8
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x20f0
jmp 0x2ee8
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x2f17
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x20f0
jmp 0x2f17
movq %rax, %rbx
jmp 0x2f2e
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x2f2e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x2f5d
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x20f0
jmp 0x2f5d
movq %rax, %rbx
jmp 0x2f74
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x2f74
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x20f0
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x2f95
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x20f0
jmp 0x2f95
jmp 0x2fbe
movq %rax, %rbx
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x2fc1
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x20f0
jmp 0x2fc1
jmp 0x2fbe
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x2fe6
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x20f0
movq %rbx, %rdi
callq 0x2200