// File: /workspace/github_cpp_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
testq %rsi, %rsi
je 0x3d369
movq %rsi, %r14
xorl %edi, %edi
xorl %esi, %esi
callq 0xc824
movl (%rax), %ebp
xorl %edi, %edi
xorl %esi, %esi
callq 0xc824
movl $0x0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5b436
xorl %edi, %edi
xorl %esi, %esi
callq 0xc824
movl %ebp, (%rax)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
movl (%rbx), %edx
movl 0x4(%rbx), %ecx
movl 0x8(%rbx), %r8d
movl 0xc(%rbx), %r9d
leaq 0x35fae(%rip), %rax     # 0x73338
leaq 0x37381(%rip), %r10     # 0x74712
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x5684b(%rip), %r11     # 0x93bef
leaq 0x5892d(%rip), %rsi     # 0x95cd8
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc196
addq $0x20, %rsp
leaq 0x6f859(%rip), %rsi     # 0xacc20
movq 0x6fc02(%rip), %rdx     # 0xacfd0
movq %r14, %rdi
callq 0x4900
movq %rax, %r15
movq %r14, %rdi
callq 0x43b0
movq %r15, %rdi
callq 0x4950
movq %rax, %r15
cmpl $0x1, %edx
jne 0x3d3e1
movl $0x1, %r12d
movq %r15, %rdi
callq 0x41d0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5b4fc
callq 0x48c0
jmp 0x3d352
movq %rax, %r15
cmpl %r12d, %edx
jne 0x3d5e4
movq %r15, %rdi
callq 0x41d0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5bc64
callq 0x48c0
jmp 0x3d40a
movq %rax, %r15
jmp 0x3d5e4
movq %rax, %r15
cmpl %r12d, %edx
jne 0x3d5df
movq %r15, %rdi
callq 0x41d0
xorps %xmm0, %xmm0
movq %rbx, %rdi
movq %r14, %rsi
movl $0x7a, %edx
callq 0x3c76e
callq 0x48c0
jmp 0x3d433
movq %rax, %r15
jmp 0x3d5df
movq %rax, %r15
cmpl %r12d, %edx
jne 0x3d5da
movq %r15, %rdi
callq 0x41d0
leaq 0x56922(%rip), %rsi     # 0x93db5
movq %r14, %rdi
callq 0x3ceb3
movq %rax, %rdi
callq 0x4540
xorl %edi, %edi
xorl %esi, %esi
callq 0xc824
movl %ebp, (%rax)
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r12
movl (%rbx), %edx
movl 0x4(%rbx), %ecx
movl 0x8(%rbx), %r8d
movl 0xc(%rbx), %r9d
leaq 0x35e69(%rip), %rax     # 0x73338
leaq 0x3723c(%rip), %r10     # 0x74712
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
leaq 0x5670a(%rip), %r11     # 0x93bef
leaq 0x5889c(%rip), %rsi     # 0x95d88
movq %r12, %rdi
xorl %eax, %eax
pushq %r14
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0x385b4
addq $0x20, %rsp
leaq 0x6f7e6(%rip), %rsi     # 0xaccf0
movq 0x6fabf(%rip), %rdx     # 0xacfd0
movq %r12, %rdi
callq 0x4900
jmp 0x3d5c0
movq %rax, %r15
jmp 0x3d5d5
movq %rax, %r15
movq %r12, %rdi
callq 0x43b0
jmp 0x3d5d5
movq %rax, %r15
cmpl %r12d, %edx
jne 0x3d5d5
movq %r15, %rdi
callq 0x41d0
xorl %edi, %edi
xorl %esi, %esi
callq 0xc824
movl %ebp, (%rax)
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r12
movl (%rbx), %edx
movl 0x4(%rbx), %ecx
movl 0x8(%rbx), %r8d
movl 0xc(%rbx), %r9d
leaq 0x35dc2(%rip), %rax     # 0x73338
leaq 0x37195(%rip), %r10     # 0x74712
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
leaq 0x56663(%rip), %r11     # 0x93bef
leaq 0x5879f(%rip), %rsi     # 0x95d32
movq %r12, %rdi
xorl %eax, %eax
pushq %r14
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0x385b4
addq $0x20, %rsp
leaq 0x6f73f(%rip), %rsi     # 0xaccf0
movq 0x6fa18(%rip), %rdx     # 0xacfd0
movq %r12, %rdi
callq 0x4900
movq %rax, %r15
jmp 0x3d5d0
movq %rax, %r15
movq %r12, %rdi
callq 0x43b0
callq 0x48c0
callq 0x48c0
callq 0x48c0
callq 0x48c0
callq 0x48c0
jmp 0x3d3e1
movq %rax, %rdi
callq 0xa08f