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

      std::FILE *const nfile = file?file:cimg::fopen(filename,"r");
      char delimiter[256] = { 0 }, tmp[256] = { 0 };
      unsigned int cdx = 0, dx = 0, dy = 0;
      int err = 0;
      double val;
      assign(256,256);
      while ((err = std::fscanf(nfile,"%lf%255[^0-9.+-]",&val,delimiter))>0) {
        if (err>0) (*this)(cdx++,dy) = (T)val;
        if (cdx>=_width) resize(3*_width/2,_height,1,1,0);
        char c = 0;
        if (!std::sscanf(delimiter,"%255[^\n]%c",tmp,&c) || c=='\n') {
          dx = cimg::max(cdx,dx);
          if (++dy>=_height) resize(_width,3*_height/2,1,1,0);
          cdx = 0;
        }
      }
      if (cdx && err==1) { dx = cdx; ++dy; }
      if (!dx || !dy) {
        if (!file) cimg::fclose(nfile);
        throw CImgIOException(_cimg_instance
                              "load_dlm(): Invalid DLM file '%s'.",
                              cimg_instance,
                              filename?filename:"(FILE*)");
      }
      resize(dx,dy,1,1,0);
      if (!file) cimg::fclose(nfile);
      return *this;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rdi, %rbx
movq %rsi, %rax
orq %rdx, %rax
je 0x3c2b2
movq %rdx, %r15
movq %rsi, %r14
movq %rsi, 0x8(%rsp)
testq %rsi, %rsi
jne 0x3c022
leaq 0x3e7fc(%rip), %rsi     # 0x7a813
movq %r15, %rdi
callq 0x3b111
movq %rax, %r14
movq %r15, 0x18(%rsp)
leaq 0x120(%rsp), %r15
movl $0x100, %edx            # imm = 0x100
movq %r15, %rdi
xorl %esi, %esi
callq 0x4290
leaq 0x20(%rsp), %rdi
movl $0x100, %edx            # imm = 0x100
xorl %esi, %esi
callq 0x4290
movq %rbx, %rdi
movl $0x100, %esi            # imm = 0x100
movl $0x100, %edx            # imm = 0x100
movl $0x1, %ecx
movl $0x1, %r8d
callq 0xbbfc
leaq 0x53674(%rip), %rsi     # 0x8f6e7
leaq 0x10(%rsp), %rdx
movq %r14, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0x49f0
testl %eax, %eax
jle 0x3c231
leaq 0x120(%rsp), %r12
xorl %ebp, %ebp
xorl %r13d, %r13d
xorl %r15d, %r15d
movsd 0x10(%rsp), %xmm0
movq 0x18(%rbx), %rcx
movl (%rbx), %eax
movl %eax, %edx
imull %ebp, %edx
addl %r15d, %edx
incl %r15d
movsd %xmm0, (%rcx,%rdx,8)
cmpl %eax, %r15d
jb 0x3c0f2
leal (%rax,%rax,2), %esi
shrl %esi
movl 0x4(%rbx), %edx
subq $0x8, %rsp
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
xorps %xmm3, %xmm3
movq %rbx, %rdi
movl $0x1, %ecx
movl $0x1, %r8d
xorl %r9d, %r9d
pushq $0x0
callq 0x3c334
addq $0x10, %rsp
movb $0x0, 0x7(%rsp)
movq %r12, %rdi
leaq 0x535f7(%rip), %rsi     # 0x8f6f8
leaq 0x20(%rsp), %rdx
leaq 0x7(%rsp), %rcx
xorl %eax, %eax
callq 0x4540
testl %eax, %eax
je 0x3c11d
cmpb $0xa, 0x7(%rsp)
jne 0x3c166
cmpl %r13d, %r15d
cmoval %r15d, %r13d
incl %ebp
movl 0x4(%rbx), %eax
xorl %r15d, %r15d
cmpl %eax, %ebp
jb 0x3c166
movl (%rbx), %esi
leal (%rax,%rax,2), %edx
shrl %edx
subq $0x8, %rsp
xorl %r15d, %r15d
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
xorps %xmm3, %xmm3
movq %rbx, %rdi
movl $0x1, %ecx
movl $0x1, %r8d
xorl %r9d, %r9d
pushq $0x0
callq 0x3c334
addq $0x10, %rsp
movq %r14, %rdi
leaq 0x53577(%rip), %rsi     # 0x8f6e7
leaq 0x10(%rsp), %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x49f0
testl %eax, %eax
jg 0x3c09d
testl %r13d, %r13d
je 0x3c231
testl %ebp, %ebp
je 0x3c231
subq $0x8, %rsp
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
xorps %xmm3, %xmm3
movq %rbx, %rdi
movl %r13d, %esi
movl %ebp, %edx
movl $0x1, %ecx
movl $0x1, %r8d
xorl %r9d, %r9d
pushq $0x0
callq 0x3c334
addq $0x10, %rsp
cmpq $0x0, 0x8(%rsp)
je 0x3c1e6
movq %rbx, %rax
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %r14, %r14
je 0x3c221
movq 0x6bdb6(%rip), %rax     # 0xa7fa8
cmpq %r14, (%rax)
je 0x3c1d1
movq 0x6bd8a(%rip), %rax     # 0xa7f88
cmpq %r14, (%rax)
je 0x3c1d1
movq %r14, %rdi
callq 0x4550
testl %eax, %eax
je 0x3c1d1
leaq 0x52de6(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
jmp 0x3c1d1
leaq 0x52daa(%rip), %rdi     # 0x8efd2
xorl %eax, %eax
callq 0xbb10
jmp 0x3c1d1
cmpq $0x0, 0x8(%rsp)
jne 0x3c241
movq %r14, %rdi
callq 0x367a9
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
leaq 0x32613(%rip), %rax     # 0x6e868
leaq 0x339e6(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
movq 0x18(%rsp), %rax
testq %rax, %rax
movl (%rbx), %edx
movl 0x4(%rbx), %ecx
movl 0x8(%rbx), %r8d
movl 0xc(%rbx), %r9d
leaq 0x53391(%rip), %r11     # 0x8f611
cmovneq %rax, %r11
leaq 0x52e94(%rip), %r15     # 0x8f11f
leaq 0x53471(%rip), %rsi     # 0x8f703
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r15
pushq %r10
pushq 0x18(%rbx)
callq 0x36908
addq $0x20, %rsp
leaq 0x6ba40(%rip), %rsi     # 0xa7cf0
jmp 0x3c310
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 0x32595(%rip), %rax     # 0x6e868
leaq 0x33968(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x52e32(%rip), %r11     # 0x8f11f
leaq 0x5339b(%rip), %rsi     # 0x8f68f
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc16a
addq $0x20, %rsp
leaq 0x6b940(%rip), %rsi     # 0xa7c50
movq 0x6bcb9(%rip), %rdx     # 0xa7fd0
movq %r14, %rdi
callq 0x4910
jmp 0x3c321
movq %rax, %rbx
movq %r14, %rdi
callq 0x43c0
movq %rbx, %rdi
callq 0x4960