// File: manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::load_other(char const*)
CImg<T>& load_other(const char *const filename) {
      if (!filename)
        throw CImgArgumentException(_cimg_instance
                                    "load_other(): Specified filename is (null).",
                                    cimg_instance);

      const unsigned int omode = cimg::exception_mode();
      cimg::exception_mode() = 0;
      try { load_magick(filename); }
      catch (CImgException&) {
        try { load_imagemagick_external(filename); }
        catch (CImgException&) {
          try { load_graphicsmagick_external(filename); }
          catch (CImgException&) {
            try { load_cimg(filename); }
            catch (CImgException&) {
              try {
                std::fclose(cimg::fopen(filename,"rb"));
              } catch (CImgException&) {
                cimg::exception_mode() = omode;
                throw CImgIOException(_cimg_instance
                                      "load_other(): Failed to open file '%s'.",
                                      cimg_instance,
                                      filename);
              }
              cimg::exception_mode() = omode;
              throw CImgIOException(_cimg_instance
                                    "load_other(): Failed to recognize format of file '%s'.",
                                    cimg_instance,
                                    filename);
            }
          }
        }
      }
      cimg::exception_mode() = omode;
      return *this;
    }

// Assembly:
pushq %rbx
subq $0x130, %rsp            # imm = 0x130
movq %rdi, 0x128(%rsp)
movq %rsi, 0x120(%rsp)
movq 0x128(%rsp), %rax
movq %rax, 0xe0(%rsp)
cmpq $0x0, 0x120(%rsp)
jne 0x65cf3
movl $0x4008, %edi           # imm = 0x4008
callq 0x5240
movq %rax, %rcx
movq 0xe0(%rsp), %rax
movq %rcx, 0xb0(%rsp)
movl (%rax), %ecx
movl %ecx, 0xb8(%rsp)
movl 0x4(%rax), %ecx
movl %ecx, 0xbc(%rsp)
movl 0x8(%rax), %ecx
movl %ecx, 0xc0(%rsp)
movl 0xc(%rax), %ecx
movl %ecx, 0xc4(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0xc8(%rsp)
movb 0x10(%rax), %dl
leaq 0x82da1(%rip), %rcx     # 0xe89d2
leaq 0x63ea9(%rip), %rax     # 0xc9ae1
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, 0xd0(%rsp)
callq 0x118f0
movq %rax, 0xd8(%rsp)
jmp 0x65c56
movl 0xc4(%rsp), %r9d
movl 0xc0(%rsp), %r8d
movl 0xbc(%rsp), %ecx
movl 0xb8(%rsp), %edx
movq 0xb0(%rsp), %rdi
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %r10
movq 0xd8(%rsp), %r11
movq %rsp, %rax
movq %r11, 0x10(%rax)
movq %r10, 0x8(%rax)
movq %rsi, (%rax)
leaq 0x853e4(%rip), %rsi     # 0xeb08d
xorl %eax, %eax
callq 0x12220
jmp 0x65cb2
movq 0xb0(%rsp), %rdi
leaq 0x99e9f(%rip), %rsi     # 0xffb60
leaq -0x53868(%rip), %rdx    # 0x12460
callq 0x5920
movq 0xb0(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x118(%rsp)
movl %eax, 0x114(%rsp)
callq 0x53a0
jmp 0x661f6
callq 0x124b0
movl (%rax), %eax
movl %eax, 0x110(%rsp)
callq 0x124b0
movq 0xe0(%rsp), %rdi
movl $0x0, (%rax)
movq 0x120(%rsp), %rsi
callq 0x92060
jmp 0x65d23
jmp 0x66185
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x118(%rsp)
movl %eax, 0x114(%rsp)
movl 0x114(%rsp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x661f6
movq 0x118(%rsp), %rdi
callq 0x51e0
movq 0xe0(%rsp), %rdi
movq %rax, 0x108(%rsp)
movq 0x120(%rsp), %rsi
callq 0x92280
jmp 0x65d7c
jmp 0x66180
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x118(%rsp)
movl %eax, 0x114(%rsp)
movl 0x114(%rsp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x661ed
movq 0x118(%rsp), %rdi
callq 0x51e0
movq 0xe0(%rsp), %rdi
movq %rax, 0x100(%rsp)
movq 0x120(%rsp), %rsi
callq 0x92be0
jmp 0x65dd5
jmp 0x66177
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x118(%rsp)
movl %eax, 0x114(%rsp)
movl 0x114(%rsp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x661e4
movq 0x118(%rsp), %rdi
callq 0x51e0
movq 0xe0(%rsp), %rdi
movq %rax, 0xf8(%rsp)
movq 0x120(%rsp), %rsi
movl $0x7a, %edx
xorps %xmm0, %xmm0
callq 0x64c10
jmp 0x65e36
jmp 0x6616e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x118(%rsp)
movl %eax, 0x114(%rsp)
movl 0x114(%rsp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x661c5
movq 0x118(%rsp), %rdi
callq 0x51e0
movq %rax, 0xf0(%rsp)
movq 0x120(%rsp), %rdi
leaq 0x832d7(%rip), %rsi     # 0xe915e
callq 0x654a0
movq %rax, 0xa8(%rsp)
jmp 0x65e96
movq 0xa8(%rsp), %rdi
callq 0x5530
jmp 0x65ea5
jmp 0x6603b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x118(%rsp)
movl %eax, 0x114(%rsp)
movl 0x114(%rsp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x66165
movq 0x118(%rsp), %rdi
callq 0x51e0
movq %rax, 0xe8(%rsp)
movl 0x110(%rsp), %eax
movl %eax, 0x9c(%rsp)
callq 0x124b0
movq %rax, 0xa0(%rsp)
jmp 0x65f04
movq 0xa0(%rsp), %rax
movl 0x9c(%rsp), %ecx
movl %ecx, (%rax)
movl $0x4008, %edi           # imm = 0x4008
callq 0x5240
movq %rax, %rcx
movq 0xe0(%rsp), %rax
movq %rcx, 0x68(%rsp)
movl (%rax), %ecx
movl %ecx, 0x70(%rsp)
movl 0x4(%rax), %ecx
movl %ecx, 0x74(%rsp)
movl 0x8(%rax), %ecx
movl %ecx, 0x78(%rsp)
movl 0xc(%rax), %ecx
movl %ecx, 0x7c(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x80(%rsp)
movb 0x10(%rax), %dl
leaq 0x82a72(%rip), %rcx     # 0xe89d2
leaq 0x63b7a(%rip), %rax     # 0xc9ae1
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, 0x88(%rsp)
callq 0x118f0
movq %rax, 0x90(%rsp)
jmp 0x65f85
movl 0x7c(%rsp), %r9d
movl 0x78(%rsp), %r8d
movl 0x74(%rsp), %ecx
movl 0x70(%rsp), %edx
movq 0x68(%rsp), %rdi
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %r10
movq 0x90(%rsp), %r11
movq 0x120(%rsp), %rbx
movq %rsp, %rax
movq %rbx, 0x18(%rax)
movq %r11, 0x10(%rax)
movq %r10, 0x8(%rax)
movq %rsi, (%rax)
leaq 0x85112(%rip), %rsi     # 0xeb0e7
xorl %eax, %eax
callq 0x5c880
jmp 0x65fde
movq 0x68(%rsp), %rdi
leaq 0x99c86(%rip), %rsi     # 0xffc70
leaq -0x9531(%rip), %rdx     # 0x5cac0
callq 0x5920
jmp 0x6620b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x118(%rsp)
movl %eax, 0x114(%rsp)
jmp 0x6602f
movq 0x68(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x118(%rsp)
movl %eax, 0x114(%rsp)
callq 0x53a0
callq 0x58d0
jmp 0x66036
jmp 0x66165
movl 0x110(%rsp), %eax
movl %eax, 0x5c(%rsp)
callq 0x124b0
movq %rax, 0x60(%rsp)
jmp 0x66052
movq 0x60(%rsp), %rax
movl 0x5c(%rsp), %ecx
movl %ecx, (%rax)
movl $0x4008, %edi           # imm = 0x4008
callq 0x5240
movq %rax, %rcx
movq 0xe0(%rsp), %rax
movq %rcx, 0x28(%rsp)
movl (%rax), %ecx
movl %ecx, 0x30(%rsp)
movl 0x4(%rax), %ecx
movl %ecx, 0x34(%rsp)
movl 0x8(%rax), %ecx
movl %ecx, 0x38(%rsp)
movl 0xc(%rax), %ecx
movl %ecx, 0x3c(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x40(%rsp)
movb 0x10(%rax), %dl
leaq 0x8292d(%rip), %rcx     # 0xe89d2
leaq 0x63a35(%rip), %rax     # 0xc9ae1
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, 0x48(%rsp)
callq 0x118f0
movq %rax, 0x50(%rsp)
jmp 0x660c4
movl 0x3c(%rsp), %r9d
movl 0x38(%rsp), %r8d
movl 0x34(%rsp), %ecx
movl 0x30(%rsp), %edx
movq 0x28(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %r10
movq 0x50(%rsp), %r11
movq 0x120(%rsp), %rbx
movq %rsp, %rax
movq %rbx, 0x18(%rax)
movq %r11, 0x10(%rax)
movq %r10, 0x8(%rax)
movq %rsi, (%rax)
leaq 0x85032(%rip), %rsi     # 0xeb13d
xorl %eax, %eax
callq 0x5c880
jmp 0x66114
movq 0x28(%rsp), %rdi
leaq 0x99b50(%rip), %rsi     # 0xffc70
leaq -0x9667(%rip), %rdx     # 0x5cac0
callq 0x5920
jmp 0x6620b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x118(%rsp)
movl %eax, 0x114(%rsp)
jmp 0x66165
movq 0x28(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x118(%rsp)
movl %eax, 0x114(%rsp)
callq 0x53a0
callq 0x58d0
jmp 0x6616c
jmp 0x661c5
callq 0x58d0
jmp 0x66175
jmp 0x66177
callq 0x58d0
jmp 0x6617e
jmp 0x66180
callq 0x58d0
movl 0x110(%rsp), %eax
movl %eax, 0x24(%rsp)
callq 0x124b0
movl 0x24(%rsp), %edx
movq %rax, %rcx
movq 0xe0(%rsp), %rax
movl %edx, (%rcx)
addq $0x130, %rsp            # imm = 0x130
popq %rbx
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x118(%rsp)
movl %eax, 0x114(%rsp)
jmp 0x661e4
callq 0x58d0
jmp 0x661cc
jmp 0x661e4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x118(%rsp)
movl %eax, 0x114(%rsp)
jmp 0x661ed
callq 0x58d0
jmp 0x661eb
jmp 0x661ed
callq 0x58d0
jmp 0x661f4
jmp 0x661f6
movq 0x118(%rsp), %rdi
callq 0x5970
movq %rax, %rdi
callq 0xcb20
nopl (%rax,%rax)