// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
subq $0x268, %rsp            # imm = 0x268
movq %rdi, %rbx
addq $0x28, %rdi
leaq 0x9108(%rip), %rsi      # 0x18f58
callq 0xb5fc
testl %eax, %eax
js 0x1011d
leaq 0x8fd4(%rip), %rsi      # 0x18e38
leaq 0x1c82(%rip), %rdx      # 0x11aed
leaq -0x278(%rbp), %r14
movq %r14, %rdi
callq 0x8107
leaq 0x9117(%rip), %rdx      # 0x18f98
leaq -0x38(%rbp), %rdi
movq %r14, %rsi
callq 0x8026
leaq 0x1980(%rip), %rdx      # 0x11814
leaq -0x98(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x7ffd
leaq -0x38(%rbp), %rdi
callq 0x4638
leaq -0x278(%rbp), %rdi
callq 0x4638
leaq 0x1a48(%rip), %rdx      # 0x11908
leaq -0xb8(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x7ffd
leaq 0x903e(%rip), %rdx      # 0x18f18
leaq -0xd8(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x8026
leaq 0x1a56(%rip), %rdx      # 0x1194a
leaq -0xf8(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x7ffd
leaq 0x904a(%rip), %rdx      # 0x18f58
leaq -0x118(%rbp), %rdi
leaq -0xf8(%rbp), %rsi
callq 0x8026
leaq 0x1a22(%rip), %rdx      # 0x1194a
leaq -0x138(%rbp), %rdi
leaq -0x118(%rbp), %rsi
callq 0x7ffd
leaq 0x8fb6(%rip), %rdx      # 0x18ef8
leaq -0x158(%rbp), %rdi
leaq -0x138(%rbp), %rsi
callq 0x8026
leaq 0x19b1(%rip), %rdx      # 0x1190d
leaq -0x178(%rbp), %rdi
leaq -0x158(%rbp), %rsi
callq 0x7ffd
leaq 0x9022(%rip), %rdx      # 0x18f98
leaq -0x198(%rbp), %rdi
leaq -0x178(%rbp), %rsi
callq 0x8026
leaq 0x8ec8(%rip), %rdx      # 0x18e58
leaq -0x1b8(%rbp), %rdi
leaq -0x198(%rbp), %rsi
callq 0x8026
leaq 0xa0(%rbx), %rdx
leaq -0x1d8(%rbp), %rdi
leaq -0x1b8(%rbp), %rsi
callq 0x8026
leaq 0x1945(%rip), %rdx      # 0x11909
leaq -0x1f8(%rbp), %rdi
leaq -0x1d8(%rbp), %rsi
callq 0x7ffd
leaq 0x8e1a(%rip), %rdx      # 0x18df8
leaq -0x218(%rbp), %rdi
leaq -0x1f8(%rbp), %rsi
callq 0x8026
leaq 0x8f60(%rip), %rdx      # 0x18f58
leaq -0x238(%rbp), %rdi
leaq -0x218(%rbp), %rsi
callq 0x8026
leaq -0x218(%rbp), %rdi
callq 0x4638
leaq -0x1f8(%rbp), %rdi
callq 0x4638
leaq -0x1d8(%rbp), %rdi
callq 0x4638
leaq -0x1b8(%rbp), %rdi
callq 0x4638
leaq -0x198(%rbp), %rdi
callq 0x4638
leaq -0x178(%rbp), %rdi
callq 0x4638
leaq -0x158(%rbp), %rdi
callq 0x4638
leaq -0x138(%rbp), %rdi
callq 0x4638
leaq -0x118(%rbp), %rdi
callq 0x4638
leaq -0xf8(%rbp), %rdi
callq 0x4638
leaq -0xd8(%rbp), %rdi
callq 0x4638
leaq -0xb8(%rbp), %rdi
callq 0x4638
leaq -0x98(%rbp), %rdi
callq 0x4638
addq $0x8, %rbx
leaq 0x1860(%rip), %rsi      # 0x11912
leaq -0x38(%rbp), %rdi
movq %rbx, %rdx
callq 0x804f
leaq -0x78(%rbp), %rdi
leaq -0x238(%rbp), %rsi
callq 0x4470
leaq -0x58(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x4470
leaq -0x78(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x10898
leaq -0x58(%rbp), %rdi
callq 0x4638
leaq -0x78(%rbp), %rdi
callq 0x4638
leaq -0x38(%rbp), %rdi
callq 0x4638
leaq -0x238(%rbp), %rdi
callq 0x4638
addq $0x268, %rsp            # imm = 0x268
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $0x28
popq %rdi
callq 0x4210
movq %rax, %r14
leaq 0x17b2(%rip), %rsi      # 0x118e1
leaq -0x258(%rbp), %rdi
leaq -0x38(%rbp), %rdx
callq 0x41a0
movb $0x1, %r15b
leaq -0x258(%rbp), %rsi
movq %r14, %rdi
callq 0xe304
xorl %r15d, %r15d
leaq 0x797d(%rip), %rsi      # 0x17ad8
leaq -0x9a4e(%rip), %rdx     # 0x6714
movq %r14, %rdi
callq 0x4560
movq %rax, %rbx
leaq -0x258(%rbp), %rdi
callq 0x4638
testb %r15b, %r15b
jne 0x10186
jmp 0x1027f
movq %rax, %rbx
movq %r14, %rdi
callq 0x42a0
jmp 0x1027f
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x4638
jmp 0x101a4
movq %rax, %rbx
leaq -0x78(%rbp), %rdi
callq 0x4638
jmp 0x101b2
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
callq 0x4638
jmp 0x101c0
movq %rax, %rbx
leaq -0x238(%rbp), %rdi
jmp 0x1027a
movq %rax, %rbx
leaq -0x218(%rbp), %rdi
callq 0x4638
jmp 0x101e0
movq %rax, %rbx
leaq -0x1f8(%rbp), %rdi
callq 0x4638
jmp 0x101f1
movq %rax, %rbx
leaq -0x1d8(%rbp), %rdi
callq 0x4638
jmp 0x10202
movq %rax, %rbx
leaq -0x1b8(%rbp), %rdi
callq 0x4638
jmp 0x10213
movq %rax, %rbx
leaq -0x198(%rbp), %rdi
callq 0x4638
leaq -0x178(%rbp), %rdi
callq 0x4638
leaq -0x158(%rbp), %rdi
callq 0x4638
leaq -0x138(%rbp), %rdi
callq 0x4638
leaq -0x118(%rbp), %rdi
callq 0x4638
leaq -0xf8(%rbp), %rdi
callq 0x4638
leaq -0xd8(%rbp), %rdi
callq 0x4638
leaq -0xb8(%rbp), %rdi
callq 0x4638
leaq -0x98(%rbp), %rdi
callq 0x4638
movq %rbx, %rdi
callq 0x4580
movq %rax, %rbx
jmp 0x1021f
movq %rax, %rbx
jmp 0x1022b
movq %rax, %rbx
jmp 0x10237
movq %rax, %rbx
jmp 0x10243
movq %rax, %rbx
jmp 0x1024f
movq %rax, %rbx
jmp 0x1025b
movq %rax, %rbx
jmp 0x10267
movq %rax, %rbx
jmp 0x10273
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
callq 0x4638
jmp 0x102c0
movq %rax, %rbx
leaq -0x278(%rbp), %rdi
jmp 0x1027a
nop