// File: /workspace/github_cpp_makefile_star2_O3/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 0x5c7b4
movq %rsi, %r14
cmpq $0x0, 0x18(%rbx)
je 0x5c74a
movdqu (%rbx), %xmm0
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %eax
testb %al, %al
jne 0x5c74a
movl %edx, %ebp
xorl %edi, %edi
xorl %esi, %esi
callq 0xc7e5
movl (%rax), %r13d
xorl %edi, %edi
xorl %esi, %esi
callq 0xc7e5
movl $0x0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x64310
xorl %edi, %edi
xorl %esi, %esi
callq 0xc7e5
movl %r13d, (%rax)
jmp 0x5c7a2
leaq 0x3290c(%rip), %rsi     # 0x8f05d
movq %r14, %rdi
callq 0x3b111
testq %rax, %rax
je 0x5c794
movq 0x4b843(%rip), %rcx     # 0xa7fa8
cmpq %rax, (%rcx)
je 0x5c7a2
movq 0x4b817(%rip), %rcx     # 0xa7f88
cmpq %rax, (%rcx)
je 0x5c7a2
movq %rax, %rdi
callq 0x4550
testl %eax, %eax
je 0x5c7a2
leaq 0x32873(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
jmp 0x5c7a2
leaq 0x32837(%rip), %rdi     # 0x8efd2
xorl %eax, %eax
callq 0xbb10
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 0x12093(%rip), %rax     # 0x6e868
leaq 0x13466(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x32930(%rip), %r11     # 0x8f11f
leaq 0x3659e(%rip), %rsi     # 0x92d94
movq %r15, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc16a
addq $0x20, %rsp
leaq 0x4b43e(%rip), %rsi     # 0xa7c50
movq 0x4b7b7(%rip), %rdx     # 0xa7fd0
movq %r15, %rdi
callq 0x4910
movq %rdx, %r15
movq %rax, %r12
cmpl $0x1, %r15d
jne 0x5c93a
movq %r12, %rdi
callq 0x41d0
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x64484
callq 0x48d0
jmp 0x5c73c
movq %rax, %r12
cmpl %r15d, %edx
jne 0x5c920
movq %r12, %rdi
callq 0x41d0
movb $0x1, %r12b
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x6496e
callq 0x48d0
callq 0x48d0
xorl %edi, %edi
xorl %esi, %esi
callq 0xc7e5
movl %r13d, (%rax)
testb %r12b, %r12b
jne 0x5c7a2
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 0x11fb4(%rip), %rax     # 0x6e868
leaq 0x13387(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
leaq 0x32855(%rip), %r11     # 0x8f11f
leaq 0x3651d(%rip), %rsi     # 0x92dee
movq %r15, %rdi
xorl %eax, %eax
pushq %r14
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0x36908
addq $0x20, %rsp
leaq 0x4b401(%rip), %rsi     # 0xa7cf0
jmp 0x5c812
jmp 0x5c92f
movq %rax, %r12
jmp 0x5c920
movq %rax, %r12
cmpl %r15d, %edx
jne 0x5c91b
movq %r12, %rdi
callq 0x41d0
callq 0x48d0
xorl %r12d, %r12d
jmp 0x5c874
movq %rax, %r12
callq 0x48d0
callq 0x48d0
jmp 0x5c93a
movq %rax, %rdi
callq 0xa02c
movq %rax, %r12
movq %r15, %rdi
callq 0x43c0
movq %r12, %rdi
callq 0x4960