// File: /workspace/github_cpp_makefile_star2_O1/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::load_gzip_external(char const*)
CImg<T>& load_gzip_external(const char *const filename) {
      if (!filename)
        throw CImgIOException(_cimg_instance
                              "load_gzip_external(): Specified filename is (null).",
                              cimg_instance);
      std::fclose(cimg::fopen(filename,"rb"));            // Check if file exists.
      char command[1024] = { 0 }, filetmp[512] = { 0 }, body[512] = { 0 };
      const char
        *const ext = cimg::split_filename(filename,body),
        *const ext2 = cimg::split_filename(body,0);

      std::FILE *file = 0;
      do {
        if (!cimg::strcasecmp(ext,"gz")) {
          if (*ext2) cimg_snprintf(filetmp,sizeof(filetmp),"%s%c%s.%s",
                                   cimg::temporary_path(),cimg_file_separator,cimg::filenamerand(),ext2);
          else cimg_snprintf(filetmp,sizeof(filetmp),"%s%c%s",
                             cimg::temporary_path(),cimg_file_separator,cimg::filenamerand());
        } else {
          if (*ext) cimg_snprintf(filetmp,sizeof(filetmp),"%s%c%s.%s",
                                  cimg::temporary_path(),cimg_file_separator,cimg::filenamerand(),ext);
          else cimg_snprintf(filetmp,sizeof(filetmp),"%s%c%s",
                             cimg::temporary_path(),cimg_file_separator,cimg::filenamerand());
        }
        if ((file=std::fopen(filetmp,"rb"))!=0) cimg::fclose(file);
      } while (file);
      cimg_snprintf(command,sizeof(command),"%s -c \"%s\" > \"%s\"",
                    cimg::gunzip_path(),
                    CImg<charT>::string(filename)._system_strescape().data(),
                    CImg<charT>::string(filetmp)._system_strescape().data());
      cimg::system(command);
      if (!(file = std::fopen(filetmp,"rb"))) {
        cimg::fclose(cimg::fopen(filename,"r"));
        throw CImgIOException(_cimg_instance
                              "load_gzip_external(): Failed to load file '%s' with external command 'gunzip'.",
                              cimg_instance,
                              filename);

      } else cimg::fclose(file);
      load(filetmp);
      std::remove(filetmp);
      return *this;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x858, %rsp            # imm = 0x858
movq %rdi, %r12
testq %rsi, %rsi
je 0x3ccd0
movq %rsi, %r14
cmpb $0x2d, (%rsi)
jne 0x3c883
movzbl 0x1(%r14), %eax
cmpl $0x2e, %eax
je 0x3c877
testl %eax, %eax
jne 0x3c883
movq 0x7072a(%rip), %rax     # 0xacfa8
movq (%rax), %rdi
jmp 0x3c895
leaq 0x5752b(%rip), %rsi     # 0x93db5
movq %r14, %rdi
callq 0x45c0
movq %rax, %rdi
testq %rdi, %rdi
je 0x3cd47
callq 0x4540
leaq 0x450(%rsp), %rdi
movl $0x400, %edx            # imm = 0x400
xorl %esi, %esi
callq 0x4290
leaq 0x250(%rsp), %rdi
movl $0x200, %edx            # imm = 0x200
xorl %esi, %esi
callq 0x4290
leaq 0x50(%rsp), %rbx
movl $0x200, %edx            # imm = 0x200
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4290
movq %r14, %rax
movq %rax, %r15
movq %rax, %rdi
movl $0x2e, %esi
callq 0x41a0
incq %rax
cmpq %r14, %rax
jae 0x3c8e2
movq %r12, (%rsp)
cmpq %r14, %r15
je 0x3c924
movl %r14d, %r12d
notl %r12d
addl %r15d, %r12d
leaq 0x50(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x4430
movb $0x0, 0x50(%rsp,%r12)
jmp 0x3c93f
leaq 0x50(%rsp), %rdi
movq %r14, %rsi
callq 0x44d0
movq %r14, %rdi
callq 0x41e0
movq %rax, %r15
addq %r14, %r15
movq %rbx, %rax
movq %rax, %r12
movq %rax, %rdi
movl $0x2e, %esi
callq 0x41a0
incq %rax
cmpq %rbx, %rax
jae 0x3c942
movq %r14, 0x8(%rsp)
leaq 0x50(%rsp), %rax
cmpq %rax, %r12
jne 0x3c97b
leaq 0x50(%rsp), %rdi
callq 0x41e0
leaq (%rsp,%rax), %r12
addq $0x50, %r12
leaq 0x57625(%rip), %r14     # 0x93fa7
leaq 0x250(%rsp), %rbp
movq %r15, %rdi
callq 0x41e0
cmpl $0x2, %eax
movl $0x2, %ecx
cmovbl %eax, %ecx
incl %ecx
movl %eax, %eax
cmpq $0x2, %rax
movl $0x2, %edx
cmovaeq %rdx, %rax
incq %rax
xorl %edx, %edx
movzbl (%r15,%rdx), %edi
leal -0x5b(%rdi), %esi
leal 0x20(%rdi), %r8d
cmpb $-0x1a, %sil
movzbl %r8b, %esi
cmovbl %edi, %esi
movzbl (%rdx,%r14), %r8d
leal -0x5b(%r8), %edi
leal 0x20(%r8), %r9d
cmpb $-0x1a, %dil
movzbl %r9b, %edi
cmovbl %r8d, %edi
cmpb %dil, %sil
jne 0x3c9f1
incq %rdx
cmpl %edx, %eax
jne 0x3c9b3
movl %ecx, %edx
cmpl %ecx, %edx
je 0x3ca38
cmpb %dil, %sil
je 0x3ca38
movb (%r15), %r13b
xorl %edi, %edi
xorl %esi, %esi
callq 0x38039
movq %rax, %rbx
callq 0x384af
testb %r13b, %r13b
je 0x3ca82
subq $0x8, %rsp
movl $0x200, %esi            # imm = 0x200
movq %rbp, %rdi
leaq 0x58f5a(%rip), %rdx     # 0x95980
movq %rbx, %rcx
movl $0x2f, %r8d
movq %rax, %r9
xorl %eax, %eax
pushq %r15
jmp 0x3ca75
movb (%r12), %r13b
xorl %edi, %edi
xorl %esi, %esi
callq 0x38039
movq %rax, %rbx
callq 0x384af
testb %r13b, %r13b
je 0x3ca80
subq $0x8, %rsp
movl $0x200, %esi            # imm = 0x200
movq %rbp, %rdi
leaq 0x58f1b(%rip), %rdx     # 0x95980
movq %rbx, %rcx
movl $0x2f, %r8d
movq %rax, %r9
xorl %eax, %eax
pushq %r12
callq 0x4880
addq $0x10, %rsp
jmp 0x3caa4
jmp 0x3ca82
movl $0x200, %esi            # imm = 0x200
movq %rbp, %rdi
leaq 0x57095(%rip), %rdx     # 0x93b26
movq %rbx, %rcx
movl $0x2f, %r8d
movq %rax, %r9
xorl %eax, %eax
callq 0x4880
movq %rbp, %rdi
leaq 0x57307(%rip), %rsi     # 0x93db5
callq 0x45c0
testq %rax, %rax
je 0x3cafd
movq 0x704e9(%rip), %rcx     # 0xacfa8
cmpq %rax, (%rcx)
je 0x3c98a
movq 0x704b9(%rip), %rcx     # 0xacf88
cmpq %rax, (%rcx)
je 0x3c98a
movq %rax, %rdi
callq 0x4540
testl %eax, %eax
je 0x3c98a
leaq 0x56fdd(%rip), %rdi     # 0x93acc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb52
jmp 0x3c98a
xorl %edi, %edi
xorl %esi, %esi
callq 0x3d8c8
movq %rax, %rbx
movq 0x8(%rsp), %r13
movq %r13, %rdi
callq 0x41e0
leal 0x1(%rax), %edx
subq $0x8, %rsp
leaq 0x38(%rsp), %r15
movq %r15, %rdi
movq %r13, %rsi
movl $0x1, %ecx
movl $0x1, %r8d
movl $0x1, %r9d
pushq $0x0
callq 0x106cc
addq $0x10, %rsp
movq %r15, %rdi
callq 0x4b1dc
movq 0x18(%rax), %r15
leaq 0x250(%rsp), %r12
movq %r12, %rdi
callq 0x41e0
leal 0x1(%rax), %edx
subq $0x8, %rsp
leaq 0x18(%rsp), %rdi
movq %r12, %rsi
movl $0x1, %ecx
movl $0x1, %r8d
movl $0x1, %r9d
pushq $0x0
callq 0x106cc
addq $0x10, %rsp
leaq 0x10(%rsp), %rdi
callq 0x4b1dc
movq (%rsp), %r14
movq 0x18(%rax), %r9
leaq 0x58de6(%rip), %rdx     # 0x9598a
leaq 0x450(%rsp), %rdi
movl $0x400, %esi            # imm = 0x400
movq %rbx, %rcx
movq %r15, %r8
xorl %eax, %eax
callq 0x4880
cmpb $0x0, 0x20(%rsp)
jne 0x3cbd4
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x3cbd4
callq 0x4680
cmpb $0x0, 0x40(%rsp)
jne 0x3cbea
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x3cbea
callq 0x4680
leaq 0x450(%rsp), %rdi
callq 0x41e0
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
andq %rax, %rbx
je 0x3cc4f
addl $0x10, %eax
movq %rax, %rdi
callq 0x4040
movq %rax, %r15
leaq 0x450(%rsp), %rsi
movq %rax, %rdi
movq %rbx, %rdx
callq 0x4240
movabsq $0x7665642f203e3220, %rax # imm = 0x7665642F203E3220
movq %rax, (%r15,%rbx)
movabsq $0x6c6c756e2f7665, %rax # imm = 0x6C6C756E2F7665
movq %rax, 0x6(%r15,%rbx)
movq %r15, %rdi
callq 0x4480
movq %r15, %rdi
callq 0x4680
leaq 0x5715f(%rip), %rsi     # 0x93db5
leaq 0x250(%rsp), %rdi
callq 0x45c0
testq %rax, %rax
je 0x3cd71
movq 0x70335(%rip), %rcx     # 0xacfa8
cmpq %rax, (%rcx)
je 0x3cca0
movq 0x70309(%rip), %rcx     # 0xacf88
cmpq %rax, (%rcx)
je 0x3cca0
movq %rax, %rdi
callq 0x4540
testl %eax, %eax
je 0x3cca0
leaq 0x56e35(%rip), %rdi     # 0x93acc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb52
leaq 0x250(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3a1a4
movq %rbx, %rdi
callq 0x49a0
movq %r14, %rax
addq $0x858, %rsp            # imm = 0x858
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
movl (%r12), %edx
movl 0x4(%r12), %ecx
movl 0x8(%r12), %r8d
movl 0xc(%r12), %r9d
leaq 0x36641(%rip), %rax     # 0x73338
leaq 0x37a14(%rip), %r10     # 0x74712
cmpb $0x0, 0x10(%r12)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x56edc(%rip), %r11     # 0x93bef
leaq 0x58c04(%rip), %rsi     # 0x9591e
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%r12)
callq 0x385b4
addq $0x20, %rsp
leaq 0x6ffb8(%rip), %rsi     # 0xaccf0
movq 0x70291(%rip), %rdx     # 0xacfd0
movq %r14, %rdi
callq 0x4900
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r15
leaq 0x58ef7(%rip), %rsi     # 0x95c52
leaq 0x57053(%rip), %rcx     # 0x93db5
movq %rax, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x385b4
jmp 0x3cde1
leaq 0x4256b(%rip), %rsi     # 0x7f2e3
movq %r13, %rdi
callq 0x3ceb3
movq %rax, %rdi
callq 0x3845e
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r15
movl (%r14), %edx
movl 0x4(%r14), %ecx
movl 0x8(%r14), %r8d
movl 0xc(%r14), %r9d
leaq 0x3658d(%rip), %rax     # 0x73338
leaq 0x37960(%rip), %r10     # 0x74712
cmpb $0x0, 0x10(%r14)
cmovneq %rax, %r10
leaq 0x56e2d(%rip), %r11     # 0x93bef
leaq 0x58bd3(%rip), %rsi     # 0x9599c
movq %r15, %rdi
xorl %eax, %eax
pushq %r13
pushq %r11
pushq %r10
pushq 0x18(%r14)
callq 0x385b4
addq $0x20, %rsp
leaq 0x6ff08(%rip), %rsi     # 0xaccf0
movq 0x701e1(%rip), %rdx     # 0xacfd0
movq %r15, %rdi
callq 0x4900
jmp 0x3cdf9
movq %rax, %rbx
movq %r15, %rdi
jmp 0x3ce07
movq %rax, %rbx
movq %r14, %rdi
callq 0x43b0
jmp 0x3ce44
movq %rax, %rbx
cmpb $0x0, 0x20(%rsp)
jne 0x3ce2e
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x3ce2e
callq 0x4680
jmp 0x3ce2e
jmp 0x3ce2b
movq %rax, %rbx
cmpb $0x0, 0x40(%rsp)
jne 0x3ce44
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x3ce44
callq 0x4680
movq %rbx, %rdi
callq 0x4950