// File: /workspace/github_cpp_makefile_star2_O3/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 0x4a0b3
movq %rsi, %rbx
cmpb $0x2d, (%rsi)
jne 0x4a002
movzbl 0x1(%rbx), %eax
cmpl $0x2e, %eax
je 0x49ff6
testl %eax, %eax
jne 0x4a002
movq 0x5dfab(%rip), %rax     # 0xa7fa8
movq (%rax), %rdi
jmp 0x4a014
leaq 0x452dc(%rip), %rsi     # 0x8f2e5
movq %rbx, %rdi
callq 0x45d0
movq %rax, %rdi
testq %rdi, %rdi
je 0x4a0f9
callq 0x4550
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x4a1e0
cmpq $0x0, 0x8(%rax)
jne 0x4a08f
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x4a1e0
cmpq $0x0, 0x8(%rax)
jne 0x4a08f
leaq 0x10(%rsp), %rdi
movq $0x0, 0x18(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
movb $0x0, 0x10(%rdi)
movq %rbx, %rsi
callq 0x3b580
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x4a6e6
cmpb $0x0, 0x20(%rsp)
jne 0x4a08f
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x4a08f
callq 0x4690
cmpq $0x0, 0x8(%r14)
je 0x4a137
cmpl $0x0, (%r14)
je 0x4a137
movq %r14, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %rbx
movl (%r14), %edx
movl 0x4(%r14), %ecx
movq 0x8(%r14), %r8
leaq 0x46026(%rip), %rsi     # 0x900f8
leaq 0x45046(%rip), %r9      # 0x8f11f
movq %rax, %rdi
xorl %eax, %eax
callq 0xc16a
leaq 0x5db66(%rip), %rsi     # 0xa7c50
movq 0x5dedf(%rip), %rdx     # 0xa7fd0
movq %rbx, %rdi
callq 0x4910
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
leaq 0x47075(%rip), %rsi     # 0x91182
leaq 0x451d1(%rip), %rcx     # 0x8f2e5
movq %rax, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x36908
leaq 0x5dbc8(%rip), %rsi     # 0xa7cf0
movq 0x5dea1(%rip), %rdx     # 0xa7fd0
movq %r14, %rdi
callq 0x4910
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r12
movl (%r14), %edx
movl 0x4(%r14), %ecx
movq 0x8(%r14), %r8
movq %rbx, (%rsp)
leaq 0x45ff4(%rip), %rsi     # 0x9014e
leaq 0x44fbe(%rip), %r9      # 0x8f11f
movq %rax, %rdi
xorl %eax, %eax
callq 0x36908
leaq 0x5db7e(%rip), %rsi     # 0xa7cf0
movq 0x5de57(%rip), %rdx     # 0xa7fd0
movq %r12, %rdi
callq 0x4910
movq %rdx, %r12
movq %rax, %r15
cmpb $0x0, 0x20(%rsp)
jne 0x4a19d
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x4a19d
callq 0x4690
cmpl $0x1, %r12d
jne 0x4a1d8
movq %r15, %rdi
callq 0x41d0
movq %r14, %rdi
callq 0x36bea
callq 0x48d0
jmp 0x4a08f
movq %rax, %r15
movq %r12, %rdi
jmp 0x4a1d3
movq %rax, %r15
movq %r14, %rdi
jmp 0x4a1d3
movq %rax, %r15
movq %rbx, %rdi
callq 0x43c0
movq %r15, %rdi
callq 0x4960