// File: /workspace/github_cpp_makefile_star2_O3/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 0x3b5cf
movq %rsi, %r14
xorl %edi, %edi
xorl %esi, %esi
callq 0xc7e5
movl (%rax), %ebp
xorl %edi, %edi
xorl %esi, %esi
callq 0xc7e5
movl $0x0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x588de
xorl %edi, %edi
xorl %esi, %esi
callq 0xc7e5
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 0x33278(%rip), %rax     # 0x6e868
leaq 0x3464b(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x53b15(%rip), %r11     # 0x8f11f
leaq 0x55bf7(%rip), %rsi     # 0x91208
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc16a
addq $0x20, %rsp
leaq 0x6c623(%rip), %rsi     # 0xa7c50
movq 0x6c99c(%rip), %rdx     # 0xa7fd0
movq %r14, %rdi
callq 0x4910
movq %rax, %r15
movq %r14, %rdi
callq 0x43c0
movq %r15, %rdi
callq 0x4960
movq %rdx, %r12
movq %rax, %r15
cmpl $0x1, %r12d
jne 0x3b647
movq %r15, %rdi
callq 0x41d0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x589a4
callq 0x48d0
jmp 0x3b5b8
movq %rax, %r15
cmpl %r12d, %edx
jne 0x3b848
movq %r15, %rdi
callq 0x41d0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x59104
callq 0x48d0
jmp 0x3b66e
movq %rax, %r15
jmp 0x3b848
movq %rax, %r15
cmpl %r12d, %edx
jne 0x3b843
movq %r15, %rdi
callq 0x41d0
xorps %xmm0, %xmm0
movq %rbx, %rdi
movq %r14, %rsi
movl $0x7a, %edx
callq 0x3a9ce
callq 0x48d0
jmp 0x3b697
movq %rax, %r15
jmp 0x3b843
movq %rax, %r15
cmpl %r12d, %edx
jne 0x3b83e
movq %r15, %rdi
callq 0x41d0
leaq 0x53bee(%rip), %rsi     # 0x8f2e5
movq %r14, %rdi
callq 0x3b111
movq %rax, %rdi
callq 0x4550
xorl %edi, %edi
xorl %esi, %esi
callq 0xc7e5
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 0x33135(%rip), %rax     # 0x6e868
leaq 0x34508(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
leaq 0x539d6(%rip), %r11     # 0x8f11f
leaq 0x55b68(%rip), %rsi     # 0x912b8
movq %r12, %rdi
xorl %eax, %eax
pushq %r14
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0x36908
addq $0x20, %rsp
leaq 0x6c582(%rip), %rsi     # 0xa7cf0
movq 0x6c85b(%rip), %rdx     # 0xa7fd0
movq %r12, %rdi
callq 0x4910
jmp 0x3b824
movq %rax, %r15
jmp 0x3b839
movq %rax, %r15
movq %r12, %rdi
callq 0x43c0
jmp 0x3b839
movq %rax, %r15
cmpl %r12d, %edx
jne 0x3b839
movq %r15, %rdi
callq 0x41d0
xorl %edi, %edi
xorl %esi, %esi
callq 0xc7e5
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 0x3308e(%rip), %rax     # 0x6e868
leaq 0x34461(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
leaq 0x5392f(%rip), %r11     # 0x8f11f
leaq 0x55a6b(%rip), %rsi     # 0x91262
movq %r12, %rdi
xorl %eax, %eax
pushq %r14
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0x36908
addq $0x20, %rsp
leaq 0x6c4db(%rip), %rsi     # 0xa7cf0
movq 0x6c7b4(%rip), %rdx     # 0xa7fd0
movq %r12, %rdi
callq 0x4910
movq %rax, %r15
jmp 0x3b834
movq %rax, %r15
movq %r12, %rdi
callq 0x43c0
callq 0x48d0
callq 0x48d0
callq 0x48d0
callq 0x48d0
callq 0x48d0
jmp 0x3b647
movq %rax, %rdi
callq 0xa02c