// File: /workspace/github_cpp_makefile_star2_O1/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImgList<double>::load_gif_external(char const*)
CImgList<T>& load_gif_external(const char *const filename) {
      if (!filename)
        throw CImgArgumentException(_cimglist_instance
                                    "load_gif_external(): Specified filename is (null).",
                                    cimglist_instance);
      std::fclose(cimg::fopen(filename,"rb"));            // Check if file exists.
      if (!_load_gif_external(filename,false))
        if (!_load_gif_external(filename,true))
          try { assign(CImg<T>().load_other(filename)); } catch (CImgException&) { assign(); }
      if (is_empty())
        throw CImgIOException(_cimglist_instance
                              "load_gif_external(): Failed to open file '%s'.",
                              cimglist_instance,filename);
      return *this;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r14
testq %rsi, %rsi
je 0x4bf7d
movq %rsi, %rbx
cmpb $0x2d, (%rsi)
jne 0x4bed4
movzbl 0x1(%rbx), %eax
cmpl $0x2e, %eax
je 0x4bec8
testl %eax, %eax
jne 0x4bed4
movq 0x610d9(%rip), %rax     # 0xacfa8
movq (%rax), %rdi
jmp 0x4bee6
leaq 0x47eda(%rip), %rsi     # 0x93db5
movq %rbx, %rdi
callq 0x45c0
movq %rax, %rdi
testq %rdi, %rdi
je 0x4bfb6
callq 0x4540
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x4c07e
cmpq $0x0, 0x8(%rax)
jne 0x4bf61
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x4c07e
cmpq $0x0, 0x8(%rax)
jne 0x4bf61
leaq 0x10(%rsp), %rdi
movq $0x0, 0x18(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
movb $0x0, 0x10(%rdi)
movq %rbx, %rsi
callq 0x3d31a
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x4c55c
cmpb $0x0, 0x20(%rsp)
jne 0x4bf61
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x4bf61
callq 0x4680
cmpq $0x0, 0x8(%r14)
je 0x4bfe0
cmpl $0x0, (%r14)
je 0x4bfe0
movq %r14, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r15
movl (%r14), %edx
movl 0x4(%r14), %ecx
movq 0x8(%r14), %r8
leaq 0x48c2c(%rip), %rsi     # 0x94bc8
leaq 0x47c4c(%rip), %r9      # 0x93bef
movq %rax, %rdi
xorl %eax, %eax
callq 0xc196
leaq 0x60c6c(%rip), %rsi     # 0xacc20
jmp 0x4c01b
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r15
leaq 0x49c88(%rip), %rsi     # 0x95c52
leaq 0x47de4(%rip), %rcx     # 0x93db5
movq %rax, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x385b4
jmp 0x4c014
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r15
movl (%r14), %edx
movl 0x4(%r14), %ecx
movq 0x8(%r14), %r8
movq %rbx, (%rsp)
leaq 0x48c1b(%rip), %rsi     # 0x94c1e
leaq 0x47be5(%rip), %r9      # 0x93bef
movq %rax, %rdi
xorl %eax, %eax
callq 0x385b4
leaq 0x60cd5(%rip), %rsi     # 0xaccf0
movq 0x60fae(%rip), %rdx     # 0xacfd0
movq %r15, %rdi
callq 0x4900
movq %rdx, %r15
movq %rax, %r12
cmpb $0x0, 0x20(%rsp)
jne 0x4c046
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x4c046
callq 0x4680
cmpl $0x1, %r15d
jne 0x4c075
movq %r12, %rdi
callq 0x41d0
movq %r14, %rdi
callq 0x38896
callq 0x48c0
jmp 0x4bf61
jmp 0x4c06a
jmp 0x4c06a
movq %rax, %r12
movq %r15, %rdi
callq 0x43b0
movq %r12, %rdi
callq 0x4950
nop