// File: /workspace/github_cpp_makefile_star2_O2/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 0x46075
movl %edx, %ebp
movq %rsi, %r14
movq %rbx, %rdi
callq 0x8dc8
testb %al, %al
je 0x4603e
xorl %edi, %edi
movq %r14, %rsi
callq 0x465c3
jmp 0x46063
callq 0x9eac
movl (%rax), %r13d
callq 0x9eac
andl $0x0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x4b7ac
callq 0x9eac
movl %r13d, (%rax)
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 0xe752(%rip), %rax      # 0x547e8
leaq 0xfb25(%rip), %r10      # 0x55bc2
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x2efef(%rip), %r11     # 0x7509f
leaq 0x32d93(%rip), %rsi     # 0x78e4a
movq %r15, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0x9d52
addq $0x20, %rsp
leaq 0x49b8d(%rip), %rsi     # 0x8fc60
movq 0x49efe(%rip), %rdx     # 0x8ffd8
movq %r15, %rdi
callq 0x4910
movq %rdx, %r15
movq %rax, %r12
cmpl $0x1, %r15d
jne 0x461f7
movq %r12, %rdi
callq 0x41d0
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x4b8c4
callq 0x48d0
jmp 0x4605b
movq %rax, %r12
cmpl %r15d, %edx
jne 0x461dd
movq %r12, %rdi
callq 0x41d0
movb $0x1, %r12b
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x4bbae
callq 0x48d0
callq 0x48d0
callq 0x9eac
movl %r13d, (%rax)
testb %r12b, %r12b
jne 0x46063
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 0xe677(%rip), %rax      # 0x547e8
leaq 0xfa4a(%rip), %r10      # 0x55bc2
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
leaq 0x2ef18(%rip), %r11     # 0x7509f
leaq 0x32d16(%rip), %rsi     # 0x78ea4
movq %r15, %rdi
xorl %eax, %eax
pushq %r14
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0x2a3de
addq $0x20, %rsp
leaq 0x49b54(%rip), %rsi     # 0x8fd00
jmp 0x460d3
jmp 0x461ec
movq %rax, %r12
jmp 0x461dd
movq %rax, %r12
cmpl %r15d, %edx
jne 0x461d8
movq %r12, %rdi
callq 0x41d0
callq 0x48d0
xorl %r12d, %r12d
jmp 0x46135
movq %rax, %r12
callq 0x48d0
callq 0x48d0
jmp 0x461f7
movq %rax, %rdi
callq 0x7f6f
movq %rax, %r12
movq %r15, %rdi
callq 0x4390
movq %r12, %rdi
callq 0x4950
nop