// File: /workspace/github_cpp_makefile_star2_O1/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 0x7e12
leaq -0xe8(%rbp), %rdi
movq %r14, %rsi
callq 0xf2e8
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
je 0x17108
callq 0x4310
leaq -0x58(%rbp), %r14
movq %r14, -0x10(%r14)
movq 0x8e79(%rip), %rsi      # 0x1ff90
movq 0x8e7a(%rip), %rdx      # 0x1ff98
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0x7e12
leaq 0x26c8(%rip), %rsi      # 0x197f9
leaq -0x68(%rbp), %rdi
callq 0x45f0
movl (%rbx), %esi
leaq -0xa8(%rbp), %rdi
callq 0x14edc
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 0x17183
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x1718a
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 0xf96a
movl %eax, %ebx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x171c1
callq 0x4310
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x171d6
callq 0x4310
movq -0x68(%rbp), %rdi
cmpq %r14, %rdi
je 0x171e4
callq 0x4310
testl %ebx, %ebx
js 0x1720f
leaq -0xd8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x171fd
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 0x26aa(%rip), %rsi      # 0x198cd
leaq 0x8d66(%rip), %rdx      # 0x1ff90
leaq -0x48(%rbp), %rdi
callq 0xa815
leaq 0x26b4(%rip), %rsi      # 0x198ee
leaq -0x48(%rbp), %rdi
callq 0x45f0
leaq -0x78(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x17264
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x17272
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, %r12b
movq %r14, %rdi
callq 0x139e0
xorl %r12d, %r12d
leaq 0x782b(%rip), %rsi      # 0x1ead0
leaq -0xf762(%rip), %rdx     # 0x7b4a
movq %r14, %rdi
callq 0x4570
movq %rax, %rbx
movq -0x88(%rbp), %rdi
cmpq %r13, %rdi
je 0x172d0
callq 0x4310
jmp 0x172d0
movq %rax, %rbx
movb $0x1, %r12b
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x172e6
callq 0x4310
jmp 0x172e6
movq %rax, %rbx
movb $0x1, %r12b
testb %r12b, %r12b
je 0x1733a
movq %r14, %rdi
callq 0x4290
jmp 0x1733a
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x1730b
callq 0x4310
jmp 0x1730b
movq %rax, %rbx
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17327
callq 0x4310
jmp 0x17327
jmp 0x17324
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r14, %rdi
je 0x1733a
callq 0x4310
jmp 0x1733a
movq %rax, %rbx
leaq -0xd8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1734f
callq 0x4310
movq %rbx, %rdi
callq 0x45a0
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
jne 0x1734a
jmp 0x1734f