// File: /workspace/github_cpp_makefile_star2_O3/UTAP[P]APHTTP/utils/template_parser.cpp
// Function: TemplateParser::compileCode()
void TemplateParser::compileCode() {
  if (writeToFile(code, toCompileFile) < 0)
    throw Server::Exception("Can not write generated template code!");

  string cmd = mkdirNoErrors(outputFolder) + " && " + cc + " " + toCompileFile +
               " " + utilitiesPath + " -o " + outputFolder + SysCmd::slash + programName +
               "&& " + SysCmd::rm + toCompileFile;
  string error = "Can not compile template " + filePath;
  TemplateUtils::runSystemCommand(cmd, error);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x268, %rsp            # imm = 0x268
movq %rdi, %rbx
addq $0x28, %rdi
leaq 0x9a1e(%rip), %rsi      # 0x1ff50
callq 0xf8ac
testl %eax, %eax
js 0x16d1d
leaq -0x218(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x98df(%rip), %rsi      # 0x1fe30
movq 0x98e0(%rip), %rdx      # 0x1fe38
addq %rsi, %rdx
leaq -0x228(%rbp), %r14
movq %r14, %rdi
callq 0x7dfa
leaq 0x3590(%rip), %rsi      # 0x19b01
movq %r14, %rdi
callq 0x45f0
movq 0x9a10(%rip), %rsi      # 0x1ff90
movq 0x9a11(%rip), %rdx      # 0x1ff98
leaq -0x228(%rbp), %rdi
callq 0x4130
leaq -0x38(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x165b7
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x165be
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq -0x48(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x3248(%rip), %rsi      # 0x19828
callq 0x45f0
leaq -0x198(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x16612
movq %rdx, -0x1a8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x198(%rbp)
jmp 0x1661a
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x1a0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x16642
callq 0x4310
movq -0x228(%rbp), %rdi
cmpq %r15, %rdi
je 0x16653
callq 0x4310
leaq 0x32c2(%rip), %rsi      # 0x1991c
leaq -0x1a8(%rbp), %rdi
callq 0x45f0
leaq -0x78(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1668d
movq %rdx, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0x16693
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x88(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x9858(%rip), %rsi      # 0x1ff10
movq 0x9859(%rip), %rdx      # 0x1ff18
callq 0x4130
leaq -0x98(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x166f1
movq %rdx, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0x166f7
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0xa8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x3242(%rip), %rsi      # 0x1995e
callq 0x45f0
leaq -0xb8(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1674e
movq %rdx, -0xc8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xb8(%rbp)
jmp 0x16754
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0xc8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x97d7(%rip), %rsi      # 0x1ff50
movq 0x97d8(%rip), %rdx      # 0x1ff58
callq 0x4130
leaq -0xd8(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x167b2
movq %rdx, -0xe8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xd8(%rbp)
jmp 0x167b8
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0xe8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x3181(%rip), %rsi      # 0x1995e
callq 0x45f0
leaq -0xf8(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1680f
movq %rdx, -0x108(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xf8(%rbp)
jmp 0x16815
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x108(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x96b6(%rip), %rsi      # 0x1fef0
movq 0x96b7(%rip), %rdx      # 0x1fef8
callq 0x4130
leaq -0x118(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x16873
movq %rdx, -0x128(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x118(%rbp)
jmp 0x16879
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x128(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x3083(%rip), %rsi      # 0x19921
callq 0x45f0
leaq -0x138(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x168d0
movq %rdx, -0x148(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x138(%rbp)
jmp 0x168d6
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x148(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x9695(%rip), %rsi      # 0x1ff90
movq 0x9696(%rip), %rdx      # 0x1ff98
callq 0x4130
leaq -0x158(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x16934
movq %rdx, -0x168(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x158(%rbp)
jmp 0x1693a
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x168(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x94f1(%rip), %rsi      # 0x1fe50
movq 0x94f2(%rip), %rdx      # 0x1fe58
callq 0x4130
leaq -0x178(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x16998
movq %rdx, -0x188(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x178(%rbp)
jmp 0x1699e
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x188(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0xa0(%rbx), %rsi
movq 0xa8(%rbx), %rdx
callq 0x4130
leaq -0x1b8(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x169fc
movq %rdx, -0x1c8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x1b8(%rbp)
jmp 0x16a03
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0x1c8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2ef5(%rip), %rsi      # 0x1991d
callq 0x45f0
leaq -0x1d8(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x16a5b
movq %rdx, -0x1e8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x1d8(%rbp)
jmp 0x16a63
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq %r13, %r14
movq 0x8(%rax), %rdx
leaq -0x1e8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x9365(%rip), %rsi      # 0x1fdf0
movq 0x9366(%rip), %rdx      # 0x1fdf8
callq 0x4130
leaq -0x1f8(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x16ac4
movq %rdx, -0x208(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x1f8(%rbp)
jmp 0x16acc
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq -0x208(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x945f(%rip), %rsi      # 0x1ff50
movq 0x9460(%rip), %rdx      # 0x1ff58
callq 0x4130
leaq -0x58(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x16b21
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0x16b27
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x60(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x208(%rbp), %rdi
cmpq %r13, %rdi
je 0x16b4f
callq 0x4310
movq -0x1e8(%rbp), %rdi
cmpq %r12, %rdi
je 0x16b60
callq 0x4310
movq -0x1c8(%rbp), %rdi
cmpq %r15, %rdi
je 0x16b71
callq 0x4310
movq -0x188(%rbp), %rdi
leaq -0x178(%rbp), %rax
cmpq %rax, %rdi
leaq -0x78(%rbp), %r15
je 0x16b8d
callq 0x4310
movq -0x168(%rbp), %rdi
leaq -0x158(%rbp), %rax
cmpq %rax, %rdi
je 0x16ba5
callq 0x4310
movq -0x148(%rbp), %rdi
leaq -0x138(%rbp), %rax
cmpq %rax, %rdi
je 0x16bbd
callq 0x4310
movq -0x128(%rbp), %rdi
leaq -0x118(%rbp), %rax
cmpq %rax, %rdi
je 0x16bd5
callq 0x4310
movq -0x108(%rbp), %rdi
leaq -0xf8(%rbp), %rax
cmpq %rax, %rdi
je 0x16bed
callq 0x4310
movq -0xe8(%rbp), %rdi
leaq -0xd8(%rbp), %rax
cmpq %rax, %rdi
je 0x16c05
callq 0x4310
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0x16c1d
callq 0x4310
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x16c35
callq 0x4310
movq -0x88(%rbp), %rdi
cmpq %r15, %rdi
je 0x16c46
callq 0x4310
movq -0x1a8(%rbp), %rdi
cmpq %r14, %rdi
je 0x16c57
callq 0x4310
addq $0x8, %rbx
leaq 0x2cc4(%rip), %rsi      # 0x19926
leaq -0x48(%rbp), %rdi
movq %rbx, %rdx
callq 0xa7d7
leaq -0x258(%rbp), %r14
movq %r14, -0x10(%r14)
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
addq %rsi, %rdx
leaq -0x268(%rbp), %rdi
callq 0x7dfa
leaq -0x238(%rbp), %r15
movq %r15, -0x10(%r15)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
addq %rsi, %rdx
leaq -0x248(%rbp), %rdi
callq 0x7dfa
leaq -0x268(%rbp), %rdi
leaq -0x248(%rbp), %rsi
callq 0x17a86
movq -0x248(%rbp), %rdi
cmpq %r15, %rdi
je 0x16cd6
callq 0x4310
movq -0x268(%rbp), %rdi
cmpq %r14, %rdi
je 0x16ce7
callq 0x4310
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x16cf9
callq 0x4310
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x16d0b
callq 0x4310
addq $0x268, %rsp            # imm = 0x268
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x28, %edi
callq 0x41f0
movq %rax, %r14
leaq -0x278(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x2bb9(%rip), %rsi      # 0x198f5
leaq 0x2bd8(%rip), %rdx      # 0x1991b
leaq -0x288(%rbp), %rdi
callq 0x6f56
movb $0x1, %r12b
leaq -0x288(%rbp), %rsi
movq %r14, %rdi
callq 0x138e0
xorl %r12d, %r12d
leaq 0x7d65(%rip), %rsi      # 0x1ead0
leaq -0xf240(%rip), %rdx     # 0x7b32
movq %r14, %rdi
callq 0x4570
movq %rax, %rbx
movq -0x288(%rbp), %rdi
cmpq %r15, %rdi
je 0x16d8e
callq 0x4310
testb %r12b, %r12b
jne 0x16d9b
jmp 0x16f5d
movq %rax, %rbx
movq %r14, %rdi
callq 0x4290
jmp 0x16f5d
movq %rax, %rbx
movq -0x248(%rbp), %rdi
cmpq %r15, %rdi
je 0x16dc1
callq 0x4310
jmp 0x16dc1
movq %rax, %rbx
movq -0x268(%rbp), %rdi
cmpq %r14, %rdi
je 0x16dd7
callq 0x4310
jmp 0x16dd7
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x16dee
callq 0x4310
jmp 0x16dee
movq %rax, %rbx
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
jne 0x16f58
jmp 0x16f5d
movq %rax, %rbx
movq -0x208(%rbp), %rdi
cmpq %r13, %rdi
je 0x16e1d
callq 0x4310
jmp 0x16e1d
movq %rax, %rbx
movq -0x1e8(%rbp), %rdi
cmpq %r12, %rdi
je 0x16e36
callq 0x4310
jmp 0x16e36
movq %r13, %r14
movq %rax, %rbx
movq -0x1c8(%rbp), %rdi
cmpq %r15, %rdi
je 0x16e4f
callq 0x4310
jmp 0x16e4f
movq %r13, %r14
movq %rax, %rbx
movq -0x188(%rbp), %rdi
leaq -0x178(%rbp), %rax
cmpq %rax, %rdi
je 0x16e6f
callq 0x4310
jmp 0x16e6f
movq %r13, %r14
movq %rax, %rbx
movq -0x168(%rbp), %rdi
leaq -0x158(%rbp), %rax
cmpq %rax, %rdi
je 0x16e8f
callq 0x4310
jmp 0x16e8f
movq %r13, %r14
movq %rax, %rbx
movq -0x148(%rbp), %rdi
leaq -0x138(%rbp), %rax
cmpq %rax, %rdi
je 0x16eaf
callq 0x4310
jmp 0x16eaf
movq %r13, %r14
movq %rax, %rbx
movq -0x128(%rbp), %rdi
leaq -0x118(%rbp), %rax
cmpq %rax, %rdi
je 0x16ecf
callq 0x4310
jmp 0x16ecf
movq %r13, %r14
movq %rax, %rbx
movq -0x108(%rbp), %rdi
leaq -0xf8(%rbp), %rax
cmpq %rax, %rdi
je 0x16eef
callq 0x4310
jmp 0x16eef
movq %r13, %r14
movq %rax, %rbx
movq -0xe8(%rbp), %rdi
leaq -0xd8(%rbp), %rax
cmpq %rax, %rdi
je 0x16f07
callq 0x4310
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0x16f1f
callq 0x4310
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x16f37
callq 0x4310
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x16f4c
callq 0x4310
movq -0x1a8(%rbp), %rdi
cmpq %r14, %rdi
je 0x16f5d
callq 0x4310
movq %rbx, %rdi
callq 0x45a0
movq %r13, %r14
movq %rax, %rbx
jmp 0x16f07
movq %r13, %r14
movq %rax, %rbx
jmp 0x16f1f
movq %r13, %r14
movq %rax, %rbx
jmp 0x16f37
movq %r13, %r14
movq %rax, %rbx
jmp 0x16f4c
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x16f9d
callq 0x4310
jmp 0x16f9d
jmp 0x16f9a
movq %rax, %rbx
movq -0x228(%rbp), %rdi
cmpq %r15, %rdi
jne 0x16f58
jmp 0x16f5d
nop