// File: /workspace/github_cpp_makefile_star2_O3/UTAP[P]APHTTP/utils/template_parser.cpp
// Function: TemplateParser::TemplateParser(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
TemplateParser::TemplateParser(string _filePath) {
  filePath = _filePath;
  variableCount = 0;
  programName = to_string(TemplateParser::lastParserNum) + SysCmd::fileExtention;
  parserNum = TemplateParser::lastParserNum++;
  code = "";
  parseTemplate();
  makeExecutableTemplate();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %r14
addq $0x8, %rdi
leaq 0x18(%r14), %rax
movq %rax, -0x58(%rbp)
movq %rax, 0x8(%r14)
xorl %eax, %eax
movq %rax, 0x10(%r14)
movb %al, 0x18(%r14)
leaq 0x28(%r14), %rcx
movq %rcx, -0x38(%rbp)
leaq 0x38(%r14), %rcx
movq %rcx, -0x50(%rbp)
movq %rcx, 0x28(%r14)
movq %rax, 0x30(%r14)
movb %al, 0x38(%r14)
leaq 0x50(%r14), %rcx
movl $0x0, 0x50(%r14)
movq %rax, 0x58(%r14)
movq %rcx, 0x60(%r14)
movq %rcx, 0x68(%r14)
movq %rax, 0x70(%r14)
leaq 0x90(%r14), %rcx
movq %rcx, -0x48(%rbp)
movq %rcx, 0x80(%r14)
movq %rax, 0x88(%r14)
movb %al, 0x90(%r14)
leaq 0xa0(%r14), %rcx
movq %rcx, -0x30(%rbp)
leaq 0xb0(%r14), %rcx
movq %rcx, -0x40(%rbp)
movq %rcx, 0xa0(%r14)
movq %rax, 0xa8(%r14)
movb %al, 0xb0(%r14)
movq %rdi, -0x60(%rbp)
callq 0x4220
movl $0x0, 0x78(%r14)
movl 0xaf75(%rip), %r13d     # 0x1ffd0
movl %r13d, %ebx
negl %ebx
cmovsl %r13d, %ebx
movl $0x1, %r15d
cmpl $0xa, %ebx
jb 0x150b8
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebx, %ecx
cmpl $0x63, %ecx
jbe 0x150af
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x150b5
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x150b8
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1507c
addl $-0x3, %r15d
jmp 0x150b8
addl $-0x2, %r15d
jmp 0x150b8
decl %r15d
shrl $0x1f, %r13d
leal (%r15,%r13), %esi
leaq -0x70(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x80(%rbp), %rdi
movl $0x2d, %edx
callq 0x43d0
leaq -0x80(%rbp), %r12
addq (%r12), %r13
movq %r13, %rdi
movl %r15d, %esi
movl %ebx, %edx
callq 0x7cb1
movq 0xad7e(%rip), %rsi      # 0x1fe70
movq 0xad7f(%rip), %rdx      # 0x1fe78
movq %r12, %rdi
callq 0x4130
leaq -0x90(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1512e
movq %rdx, -0xa0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x90(%rbp)
jmp 0x15135
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0xa0(%rbp), %rbx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x30(%rbp), %rdi
movq %rbx, %rsi
callq 0x4400
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x1516c
callq 0x4310
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x1517e
callq 0x4310
movl 0xae4c(%rip), %eax      # 0x1ffd0
leal 0x1(%rax), %ecx
movl %ecx, 0xae43(%rip)      # 0x1ffd0
movl %eax, (%r14)
movq 0x30(%r14), %rdx
leaq 0x4439(%rip), %rcx      # 0x195d4
movq -0x38(%rbp), %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x44f0
movq %r14, %rdi
callq 0x15250
movq %r14, %rdi
callq 0x164d8
movq %r14, %rdi
callq 0x16510
movq %r14, %rdi
callq 0x16fac
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x151f4
callq 0x4310
jmp 0x151f4
jmp 0x151f1
movq %rax, %rbx
movq -0x30(%rbp), %rax
movq (%rax), %rdi
cmpq -0x40(%rbp), %rdi
je 0x15206
callq 0x4310
movq 0x80(%r14), %rdi
addq $0x48, %r14
cmpq -0x48(%rbp), %rdi
je 0x1521c
callq 0x4310
movq %r14, %rdi
callq 0x7d60
movq -0x38(%rbp), %rax
movq (%rax), %rdi
cmpq -0x50(%rbp), %rdi
je 0x15236
callq 0x4310
movq -0x60(%rbp), %rax
movq (%rax), %rdi
cmpq -0x58(%rbp), %rdi
je 0x15248
callq 0x4310
movq %rbx, %rdi
callq 0x45a0