// File: 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 %rbx
subq $0xe0, %rsp
movq %rdi, 0xd0(%rsp)
movq %rsi, 0xc8(%rsp)
movl %edx, 0xc4(%rsp)
movq 0xd0(%rsp), %rax
movq %rax, 0x88(%rsp)
cmpq $0x0, 0xc8(%rsp)
jne 0x9b7da
movl $0x4008, %edi           # imm = 0x4008
callq 0x5240
movq %rax, %rcx
movq 0x88(%rsp), %rax
movq %rcx, 0x58(%rsp)
movl (%rax), %ecx
movl %ecx, 0x60(%rsp)
movl 0x4(%rax), %ecx
movl %ecx, 0x64(%rsp)
movl 0x8(%rax), %ecx
movl %ecx, 0x68(%rsp)
movl 0xc(%rax), %ecx
movl %ecx, 0x6c(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x70(%rsp)
movb 0x10(%rax), %dl
leaq 0x4d29c(%rip), %rcx     # 0xe89d2
leaq 0x2e3a4(%rip), %rax     # 0xc9ae1
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, 0x78(%rsp)
callq 0x118f0
movq %rax, 0x80(%rsp)
jmp 0x9b758
movl 0x6c(%rsp), %r9d
movl 0x68(%rsp), %r8d
movl 0x64(%rsp), %ecx
movl 0x60(%rsp), %edx
movq 0x58(%rsp), %rdi
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %r10
movq 0x80(%rsp), %r11
movq %rsp, %rax
movq %r11, 0x10(%rax)
movq %r10, 0x8(%rax)
movq %rsi, (%rax)
leaq 0x51638(%rip), %rsi     # 0xecdce
xorl %eax, %eax
callq 0x12220
jmp 0x9b79f
movq 0x58(%rsp), %rdi
leaq 0x643b5(%rip), %rsi     # 0xffb60
leaq -0x89352(%rip), %rdx    # 0x12460
callq 0x5920
movq 0x58(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb8(%rsp)
movl %eax, 0xb4(%rsp)
callq 0x53a0
jmp 0x9badd
movq 0x88(%rsp), %rdi
callq 0x10320
testb $0x1, %al
jne 0x9b7ed
jmp 0x9b813
movq 0xc8(%rsp), %rsi
xorl %eax, %eax
movl %eax, %edi
callq 0x9c310
movq 0x88(%rsp), %rax
movq %rax, 0xd8(%rsp)
jmp 0x9bacc
callq 0x124b0
movl (%rax), %eax
movl %eax, 0xb0(%rsp)
movb $0x1, 0xaf(%rsp)
callq 0x124b0
movq 0x88(%rsp), %rdi
movl $0x0, (%rax)
movq 0xc8(%rsp), %rsi
xorl %edx, %edx
callq 0xb46c0
jmp 0x9b84d
jmp 0x9b96b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb8(%rsp)
movl %eax, 0xb4(%rsp)
movl 0xb4(%rsp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x9badd
movq 0xb8(%rsp), %rdi
callq 0x51e0
movq 0x88(%rsp), %rdi
movq %rax, 0xa0(%rsp)
movq 0xc8(%rsp), %rsi
movl 0xc4(%rsp), %edx
callq 0xb4930
jmp 0x9b8ad
jmp 0x9b966
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb8(%rsp)
movl %eax, 0xb4(%rsp)
movl 0xb4(%rsp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x9ba93
movq 0xb8(%rsp), %rdi
callq 0x51e0
movq 0x88(%rsp), %rdi
movq %rax, 0x98(%rsp)
movq 0xc8(%rsp), %rsi
movl 0xc4(%rsp), %edx
callq 0xb4eb0
jmp 0x9b90d
jmp 0x9b95d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb8(%rsp)
movl %eax, 0xb4(%rsp)
movl 0xb4(%rsp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x9ba8a
movq 0xb8(%rsp), %rdi
callq 0x51e0
movq %rax, 0x90(%rsp)
movb $0x0, 0xaf(%rsp)
callq 0x58d0
jmp 0x9b95b
jmp 0x9b95d
callq 0x58d0
jmp 0x9b964
jmp 0x9b966
callq 0x58d0
movl 0xb0(%rsp), %eax
movl %eax, 0x54(%rsp)
callq 0x124b0
movl 0x54(%rsp), %ecx
movl %ecx, (%rax)
testb $0x1, 0xaf(%rsp)
jne 0x9babc
movl $0x4008, %edi           # imm = 0x4008
callq 0x5240
movq %rax, %rcx
movq 0x88(%rsp), %rax
movq %rcx, 0x20(%rsp)
movl (%rax), %ecx
movl %ecx, 0x28(%rsp)
movl 0x4(%rax), %ecx
movl %ecx, 0x2c(%rsp)
movl 0x8(%rax), %ecx
movl %ecx, 0x30(%rsp)
movl 0xc(%rax), %ecx
movl %ecx, 0x34(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x38(%rsp)
movb 0x10(%rax), %dl
leaq 0x4cffb(%rip), %rcx     # 0xe89d2
leaq 0x2e103(%rip), %rax     # 0xc9ae1
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, 0x40(%rsp)
callq 0x118f0
movq %rax, 0x48(%rsp)
jmp 0x9b9f6
movl 0x34(%rsp), %r9d
movl 0x30(%rsp), %r8d
movl 0x2c(%rsp), %ecx
movl 0x28(%rsp), %edx
movq 0x20(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %r10
movq 0x48(%rsp), %r11
movq 0xc8(%rsp), %rbx
movq %rsp, %rax
movq %rbx, 0x18(%rax)
movq %r11, 0x10(%rax)
movq %r10, 0x8(%rax)
movq %rsi, (%rax)
leaq 0x513eb(%rip), %rsi     # 0xece28
xorl %eax, %eax
callq 0x5c880
jmp 0x9ba46
movq 0x20(%rsp), %rdi
leaq 0x6421e(%rip), %rsi     # 0xffc70
leaq -0x3ef99(%rip), %rdx    # 0x5cac0
callq 0x5920
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb8(%rsp)
movl %eax, 0xb4(%rsp)
jmp 0x9ba8a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb8(%rsp)
movl %eax, 0xb4(%rsp)
jmp 0x9ba93
callq 0x58d0
jmp 0x9ba91
jmp 0x9ba93
callq 0x58d0
jmp 0x9ba9a
jmp 0x9badd
movq 0x20(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb8(%rsp)
movl %eax, 0xb4(%rsp)
callq 0x53a0
jmp 0x9badd
movq 0x88(%rsp), %rax
movq %rax, 0xd8(%rsp)
movq 0xd8(%rsp), %rax
addq $0xe0, %rsp
popq %rbx
retq
movq 0xb8(%rsp), %rdi
callq 0x5970
movq %rax, %rdi
callq 0xcb20
nopw %cs:(%rax,%rax)
nopl (%rax)