// File: /workspace/github_c_makefile_star2_O2/hikalium[P]compilium/compilium.c
// Function: main
int main(int argc, char *argv[]) {
  struct Node *replacement_list = ParseCompilerArgs(argc, argv);
  const char *input = ReadFile(stdin);

  struct Node *tokens = Tokenize(input);

  fputs("Preprocess begin\n", stderr);
  Preprocess(&tokens, replacement_list);
  if (is_preprocess_only) {
    OutputTokenSequenceAsCSource(tokens);
    return 0;
  }

  fputs("Parse begin\n", stderr);
  struct Node *ast = Parse(&tokens);
  PrintASTNode(ast);
  fputc('\n', stderr);

  fputs("Analyze begin\n", stderr);
  struct SymbolEntry *ctx = Analyze(ast);
  PrintASTNode(ast);
  fputc('\n', stderr);

  Generate(ast, ctx);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movl %edi, %ebp
callq 0x3ea7
movq %rax, 0x8(%rsp)
leaq 0x7430(%rip), %rax      # 0xb8e4
movq %rax, 0xce9d(%rip)      # 0x11358
pushq $0x1
popq %r13
cmpl %ebp, %r13d
jge 0x4618
movslq %r13d, %r15
movq (%r14,%r15,8), %r12
movq %r12, %rdi
leaq 0x73f0(%rip), %rsi      # 0xb8c9
callq 0x2100
testl %eax, %eax
je 0x4553
movb (%r12), %bl
cmpb $0x2d, %bl
jne 0x44ff
cmpb $0x49, 0x1(%r12)
jne 0x44ff
cmpb $0x0, 0x2(%r12)
je 0x45cf
movq %r12, %rdi
leaq 0x7447(%rip), %rsi      # 0xb950
callq 0x2100
testl %eax, %eax
je 0x46f9
movq %r12, %rdi
leaq 0x7444(%rip), %rsi      # 0xb964
callq 0x2100
testl %eax, %eax
je 0x4595
cmpb $0x2d, %bl
jne 0x46e8
cmpb $0x45, 0x1(%r12)
jne 0x46e8
cmpb $0x0, 0x2(%r12)
jne 0x46e8
movb $0x1, 0xcdff(%rip)      # 0x11350
jmp 0x45c7
incl %r13d
movq 0x8(%r14,%r15,8), %r12
movq %r12, %rdi
leaq 0x7370(%rip), %rsi      # 0xb8d5
callq 0x2100
testl %eax, %eax
je 0x459c
movq %r12, %rdi
leaq 0x736e(%rip), %rsi      # 0xb8e6
callq 0x2100
testl %eax, %eax
jne 0x46fe
leaq 0x6d28(%rip), %rax      # 0xb2b4
movq %rax, 0xcdc5(%rip)      # 0x11358
jmp 0x45c7
callq 0x9d6e
jmp 0x45c7
leaq 0x7341(%rip), %rax      # 0xb8e4
movq %rax, 0xcdae(%rip)      # 0x11358
xorl %edi, %edi
xorl %esi, %esi
callq 0x3570
movq 0x8(%rsp), %rdi
leaq 0x731d(%rip), %rsi      # 0xb8dc
movq %rax, %rdx
callq 0x3f58
incl %r13d
jmp 0x44bf
movq 0x8(%r14,%r15,8), %r12
movq %r12, 0xcd85(%rip)      # 0x11360
testq %r12, %r12
je 0x4707
movq %r12, %rdi
callq 0x2080
cmpb $0x2f, -0x1(%r12,%rax)
jne 0x471d
incl %r13d
movq 0xc9f6(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
leaq 0x7332(%rip), %rsi      # 0xb93e
movq %r12, %rdx
xorl %eax, %eax
callq 0x2110
jmp 0x45c7
movq 0xc9b9(%rip), %rax      # 0x10fd8
movq (%rax), %rdi
callq 0x43f2
movq %rax, %rdi
callq 0x93d0
leaq 0x10(%rsp), %rbx
movq %rax, (%rbx)
movq 0xc9ba(%rip), %r15      # 0x10ff8
movq (%r15), %rsi
leaq 0x7253(%rip), %rdi      # 0xb89b
callq 0x20b0
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x7544
cmpb $0x1, 0xccef(%rip)      # 0x11350
jne 0x467e
movq 0x10(%rsp), %rdi
callq 0x8899
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%r15), %rsi
leaq 0x7225(%rip), %rdi      # 0xb8ad
callq 0x20b0
leaq 0x10(%rsp), %rdi
callq 0x7431
movq %rax, %rbx
movq %rax, %rdi
callq 0x3598
movq (%r15), %rsi
pushq $0xa
popq %rbp
movl %ebp, %edi
callq 0x20d0
movq (%r15), %rsi
leaq 0x7201(%rip), %rdi      # 0xb8ba
callq 0x20b0
movq %rbx, %rdi
callq 0x22cc
movq %rax, %r14
movq %rbx, %rdi
callq 0x3598
movq (%r15), %rsi
movl %ebp, %edi
callq 0x20d0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x47a7
jmp 0x466d
leaq 0x7289(%rip), %rdi      # 0xb978
movq %r12, %rsi
xorl %eax, %eax
callq 0x3bf8
callq 0x4144
leaq 0x71e7(%rip), %rdi      # 0xb8ec
jmp 0x46ef
leaq 0x71f1(%rip), %rdi      # 0xb8ff
leaq 0x6ef5(%rip), %rsi      # 0xb60a
pushq $0x2c
popq %rdx
callq 0x3cc4
leaq 0x71e8(%rip), %rdi      # 0xb90c
xorl %eax, %eax
callq 0x3bf8
nop