// File: /workspace/github_cpp_makefile_star2_O3/UTAP[P]APHTTP/utils/template_parser.cpp
// Function: TemplateParser::makeLocalTemplate()
void TemplateParser::makeLocalTemplate() {
  string templateContent = readFile(filePath);
  if (writeToFile(templateContent,
                  outputFolder + "/" + localTemplate(parserNum)) < 0)
    throw Server::Exception("Can not write template to local " + outputFolder +
                            "folder");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
leaq -0xb8(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%rdi), %rsi
movq 0x10(%rdi), %rdx
addq %rsi, %rdx
leaq -0xc8(%rbp), %r14
movq %r14, %rdi
callq 0x7dfa
leaq -0xe8(%rbp), %rdi
movq %r14, %rsi
callq 0xf22c
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
je 0x17008
callq 0x4310
leaq -0x58(%rbp), %r14
movq %r14, -0x10(%r14)
movq 0x8f79(%rip), %rsi      # 0x1ff90
movq 0x8f7a(%rip), %rdx      # 0x1ff98
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0x7dfa
leaq 0x27c8(%rip), %rsi      # 0x197f9
leaq -0x68(%rbp), %rdi
callq 0x45f0
movl (%rbx), %esi
leaq -0xa8(%rbp), %rdi
callq 0x14ddc
movq -0xa8(%rbp), %rsi
movq -0xa0(%rbp), %rdx
leaq -0x68(%rbp), %rdi
callq 0x4130
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x17083
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x1708a
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0x48(%rbp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0xe8(%rbp), %rdi
callq 0xf8ac
movl %eax, %ebx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x170c1
callq 0x4310
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x170d6
callq 0x4310
movq -0x68(%rbp), %rdi
cmpq %r14, %rdi
je 0x170e4
callq 0x4310
testl %ebx, %ebx
js 0x1710f
leaq -0xd8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x170fd
callq 0x4310
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x28, %edi
callq 0x41f0
movq %rax, %r14
leaq 0x27aa(%rip), %rsi      # 0x198cd
leaq 0x8e66(%rip), %rdx      # 0x1ff90
leaq -0x48(%rbp), %rdi
callq 0xa7d7
leaq 0x27b4(%rip), %rsi      # 0x198ee
leaq -0x48(%rbp), %rdi
callq 0x45f0
leaq -0x78(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x17165
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x17173
movq %rdx, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
movq 0x8(%rax), %rdx
leaq -0x88(%rbp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %r13b
movq %r14, %rdi
callq 0x138e0
xorl %r13d, %r13d
leaq 0x792a(%rip), %rsi      # 0x1ead0
leaq -0xf67b(%rip), %rdx     # 0x7b32
movq %r14, %rdi
callq 0x4570
movq %rax, %rbx
movq -0x88(%rbp), %rdi
cmpq %r12, %rdi
je 0x171c9
callq 0x4310
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x171d7
callq 0x4310
testb %r13b, %r13b
jne 0x171f4
jmp 0x17243
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x171f4
callq 0x4310
jmp 0x171f4
movq %rax, %rbx
movq %r14, %rdi
callq 0x4290
jmp 0x17243
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x17214
callq 0x4310
jmp 0x17214
movq %rax, %rbx
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17230
callq 0x4310
jmp 0x17230
jmp 0x1722d
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r14, %rdi
je 0x17243
callq 0x4310
jmp 0x17243
movq %rax, %rbx
leaq -0xd8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17258
callq 0x4310
movq %rbx, %rdi
callq 0x45a0
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
jne 0x17253
jmp 0x17258
nop