// File: /workspace/github_cpp_makefile_star2_O1/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::save_other(char const*, unsigned int) const
const CImg<T>& save_other(const char *const filename, const unsigned int quality=100) const {
      if (!filename)
        throw CImgArgumentException(_cimg_instance
                                    "save_other(): Specified filename is (null).",
                                    cimg_instance);
      if (is_empty()) { cimg::fempty(0,filename); return *this; }

      const unsigned int omode = cimg::exception_mode();
      bool is_saved = true;
      cimg::exception_mode() = 0;
      try { save_magick(filename); }
      catch (CImgException&) {
        try { save_imagemagick_external(filename,quality); }
        catch (CImgException&) {
          try { save_graphicsmagick_external(filename,quality); }
          catch (CImgException&) {
            is_saved = false;
          }
        }
      }
      cimg::exception_mode() = omode;
      if (!is_saved)
        throw CImgIOException(_cimg_instance
                              "save_other(): Failed to save file '%s'. Format is not natively supported, "
                              "and no external commands succeeded.",
                              cimg_instance,
                              filename);
      return *this;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x5f3b6
movq %rsi, %r14
cmpq $0x0, 0x18(%rbx)
je 0x5f34c
movdqu (%rbx), %xmm0
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %eax
testb %al, %al
jne 0x5f34c
movl %edx, %ebp
xorl %edi, %edi
xorl %esi, %esi
callq 0xc824
movl (%rax), %r15d
xorl %edi, %edi
xorl %esi, %esi
callq 0xc824
movl $0x0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x67018
xorl %edi, %edi
xorl %esi, %esi
callq 0xc824
movl %r15d, (%rax)
jmp 0x5f3a4
leaq 0x347da(%rip), %rsi     # 0x93b2d
movq %r14, %rdi
callq 0x3ceb3
testq %rax, %rax
je 0x5f396
movq 0x4dc41(%rip), %rcx     # 0xacfa8
cmpq %rax, (%rcx)
je 0x5f3a4
movq 0x4dc15(%rip), %rcx     # 0xacf88
cmpq %rax, (%rcx)
je 0x5f3a4
movq %rax, %rdi
callq 0x4540
testl %eax, %eax
je 0x5f3a4
leaq 0x34741(%rip), %rdi     # 0x93acc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb52
jmp 0x5f3a4
leaq 0x34705(%rip), %rdi     # 0x93aa2
xorl %eax, %eax
callq 0xbb52
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r15
movl (%rbx), %edx
movl 0x4(%rbx), %ecx
movl 0x8(%rbx), %r8d
movl 0xc(%rbx), %r9d
leaq 0x13f61(%rip), %rax     # 0x73338
leaq 0x15334(%rip), %r10     # 0x74712
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x347fe(%rip), %r11     # 0x93bef
leaq 0x38562(%rip), %rsi     # 0x9795a
movq %r15, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc196
addq $0x20, %rsp
leaq 0x4d80c(%rip), %rsi     # 0xacc20
movq 0x4dbb5(%rip), %rdx     # 0xacfd0
movq %r15, %rdi
callq 0x4900
movq %rax, %r12
cmpl $0x1, %edx
jne 0x5f53e
movl $0x1, %r13d
movq %r12, %rdi
callq 0x41d0
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x6718c
callq 0x48c0
jmp 0x5f33e
movq %rax, %r12
cmpl %r13d, %edx
jne 0x5f524
movq %r12, %rdi
callq 0x41d0
movb $0x1, %r12b
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x67676
callq 0x48c0
callq 0x48c0
xorl %edi, %edi
xorl %esi, %esi
callq 0xc824
movl %r15d, (%rax)
testb %r12b, %r12b
jne 0x5f3a4
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r15
movl (%rbx), %edx
movl 0x4(%rbx), %ecx
movl 0x8(%rbx), %r8d
movl 0xc(%rbx), %r9d
leaq 0x13e80(%rip), %rax     # 0x73338
leaq 0x15253(%rip), %r10     # 0x74712
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
leaq 0x34721(%rip), %r11     # 0x93bef
leaq 0x384df(%rip), %rsi     # 0x979b4
movq %r15, %rdi
xorl %eax, %eax
pushq %r14
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0x385b4
addq $0x20, %rsp
leaq 0x4d7fd(%rip), %rsi     # 0xaccf0
jmp 0x5f414
jmp 0x5f533
movq %rax, %r12
jmp 0x5f524
movq %rax, %r12
cmpl %r13d, %edx
jne 0x5f51f
movq %r12, %rdi
callq 0x41d0
callq 0x48c0
xorl %r12d, %r12d
jmp 0x5f478
movq %rax, %r12
callq 0x48c0
callq 0x48c0
jmp 0x5f53e
movq %rax, %rdi
callq 0xa08f
movq %rax, %r12
movq %r15, %rdi
callq 0x43b0
movq %r12, %rdi
callq 0x4950