// File: manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::_save_dlm(_IO_FILE*, char const*) const
const CImg<T>& _save_dlm(std::FILE *const file, const char *const filename) const {
      if (!file && !filename)
        throw CImgArgumentException(_cimg_instance
                                    "save_dlm(): Specified filename is (null).",
                                    cimg_instance);
      if (is_empty()) { cimg::fempty(file,filename); return *this; }
      if (_depth>1)
        cimg::warn(_cimg_instance
                   "save_dlm(): Instance is volumetric, values along Z will be unrolled in file '%s'.",
                   cimg_instance,
                   filename?filename:"(FILE*)");
      if (_spectrum>1)
        cimg::warn(_cimg_instance
                   "save_dlm(): Instance is multispectral, values along C will be unrolled in file '%s'.",
                   cimg_instance,
                   filename?filename:"(FILE*)");

      std::FILE *const nfile = file?file:cimg::fopen(filename,"w");
      const T* ptrs = _data;
      cimg_forYZC(*this,y,z,c) {
        cimg_forX(*this,x) std::fprintf(nfile,"%.16g%s",(double)*(ptrs++),(x==width()-1)?"":",");
        std::fputc('\n',nfile);
      }
      if (!file) cimg::fclose(nfile);
      return *this;
    }

// Assembly:
subq $0x128, %rsp            # imm = 0x128
movq %rdi, 0x118(%rsp)
movq %rsi, 0x110(%rsp)
movq %rdx, 0x108(%rsp)
movq 0x118(%rsp), %rax
movq %rax, 0xd0(%rsp)
cmpq $0x0, 0x110(%rsp)
jne 0x9bf09
cmpq $0x0, 0x108(%rsp)
jne 0x9bf09
movl $0x4008, %edi           # imm = 0x4008
callq 0x5240
movq %rax, %rcx
movq 0xd0(%rsp), %rax
movq %rcx, 0xa0(%rsp)
movl (%rax), %ecx
movl %ecx, 0xa8(%rsp)
movl 0x4(%rax), %ecx
movl %ecx, 0xac(%rsp)
movl 0x8(%rax), %ecx
movl %ecx, 0xb0(%rsp)
movl 0xc(%rax), %ecx
movl %ecx, 0xb4(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0xb8(%rsp)
movb 0x10(%rax), %dl
leaq 0x4cb8b(%rip), %rcx     # 0xe89d2
leaq 0x2dc93(%rip), %rax     # 0xc9ae1
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, 0xc0(%rsp)
callq 0x118f0
movq %rax, 0xc8(%rsp)
jmp 0x9be6c
movl 0xb4(%rsp), %r9d
movl 0xb0(%rsp), %r8d
movl 0xac(%rsp), %ecx
movl 0xa8(%rsp), %edx
movq 0xa0(%rsp), %rdi
movq 0xb8(%rsp), %rsi
movq 0xc0(%rsp), %r10
movq 0xc8(%rsp), %r11
movq %rsp, %rax
movq %r11, 0x10(%rax)
movq %r10, 0x8(%rax)
movq %rsi, (%rax)
leaq 0x4f7dd(%rip), %rsi     # 0xeb69c
xorl %eax, %eax
callq 0x12220
jmp 0x9bec8
movq 0xa0(%rsp), %rdi
leaq 0x63c89(%rip), %rsi     # 0xffb60
leaq -0x89a7e(%rip), %rdx    # 0x12460
callq 0x5920
movq 0xa0(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
callq 0x53a0
jmp 0x9c301
movq 0xd0(%rsp), %rdi
callq 0x10320
testb $0x1, %al
jne 0x9bf1c
jmp 0x9bf46
movq 0x110(%rsp), %rdi
movq 0x108(%rsp), %rsi
callq 0x9c310
movq 0xd0(%rsp), %rax
movq %rax, 0x120(%rsp)
jmp 0x9c2f1
movq 0xd0(%rsp), %rax
cmpl $0x1, 0x8(%rax)
jbe 0x9c032
movq 0xd0(%rsp), %rax
movl (%rax), %ecx
movl %ecx, 0x78(%rsp)
movl 0x4(%rax), %ecx
movl %ecx, 0x7c(%rsp)
movl 0x8(%rax), %ecx
movl %ecx, 0x80(%rsp)
movl 0xc(%rax), %ecx
movl %ecx, 0x84(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x88(%rsp)
movb 0x10(%rax), %dl
leaq 0x2db4a(%rip), %rax     # 0xc9ae1
leaq 0x4ca34(%rip), %rcx     # 0xe89d2
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, 0x90(%rsp)
callq 0x118f0
movq %rax, 0x98(%rsp)
cmpq $0x0, 0x108(%rsp)
je 0x9bfd4
movq 0x108(%rsp), %rax
movq %rax, 0x70(%rsp)
jmp 0x9bfe2
leaq 0x4d4af(%rip), %rax     # 0xe948a
movq %rax, 0x70(%rsp)
jmp 0x9bfe2
movq 0x98(%rsp), %r10
movq 0x90(%rsp), %r11
movq 0x88(%rsp), %r9
movl 0x84(%rsp), %r8d
movl 0x80(%rsp), %ecx
movl 0x7c(%rsp), %edx
movl 0x78(%rsp), %esi
movq 0x70(%rsp), %rax
leaq 0x4f6d7(%rip), %rdi     # 0xeb6f4
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movb $0x0, %al
callq 0x117e0
movq 0xd0(%rsp), %rax
cmpl $0x1, 0xc(%rax)
jbe 0x9c100
movq 0xd0(%rsp), %rax
movl (%rax), %ecx
movl %ecx, 0x48(%rsp)
movl 0x4(%rax), %ecx
movl %ecx, 0x4c(%rsp)
movl 0x8(%rax), %ecx
movl %ecx, 0x50(%rsp)
movl 0xc(%rax), %ecx
movl %ecx, 0x54(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x58(%rsp)
movb 0x10(%rax), %dl
leaq 0x2da67(%rip), %rax     # 0xc9ae1
leaq 0x4c951(%rip), %rcx     # 0xe89d2
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, 0x60(%rsp)
callq 0x118f0
movq %rax, 0x68(%rsp)
cmpq $0x0, 0x108(%rsp)
je 0x9c0b1
movq 0x108(%rsp), %rax
movq %rax, 0x40(%rsp)
jmp 0x9c0bf
leaq 0x4d3d2(%rip), %rax     # 0xe948a
movq %rax, 0x40(%rsp)
jmp 0x9c0bf
movq 0x68(%rsp), %r10
movq 0x60(%rsp), %r11
movq 0x58(%rsp), %r9
movl 0x54(%rsp), %r8d
movl 0x50(%rsp), %ecx
movl 0x4c(%rsp), %edx
movl 0x48(%rsp), %esi
movq 0x40(%rsp), %rax
leaq 0x4f689(%rip), %rdi     # 0xeb774
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movb $0x0, %al
callq 0x117e0
cmpq $0x0, 0x110(%rsp)
je 0x9c11a
movq 0x110(%rsp), %rax
movq %rax, 0x38(%rsp)
jmp 0x9c133
movq 0x108(%rsp), %rdi
leaq 0x4de48(%rip), %rsi     # 0xe9f71
callq 0x654a0
movq %rax, 0x38(%rsp)
movq 0xd0(%rsp), %rax
movq 0x38(%rsp), %rcx
movq %rcx, 0xf0(%rsp)
movq 0x18(%rax), %rax
movq %rax, 0xe8(%rsp)
movl $0x0, 0xe4(%rsp)
movq 0xd0(%rsp), %rcx
movl 0xe4(%rsp), %eax
cmpl 0xc(%rcx), %eax
jge 0x9c2c9
movl $0x0, 0xe0(%rsp)
movq 0xd0(%rsp), %rcx
movl 0xe0(%rsp), %eax
cmpl 0x8(%rcx), %eax
jge 0x9c2b1
movl $0x0, 0xdc(%rsp)
movq 0xd0(%rsp), %rcx
movl 0xdc(%rsp), %eax
cmpl 0x4(%rcx), %eax
jge 0x9c299
movl $0x0, 0xd8(%rsp)
movq 0xd0(%rsp), %rcx
movl 0xd8(%rsp), %eax
cmpl (%rcx), %eax
jge 0x9c271
movq 0xd0(%rsp), %rdi
movq 0xf0(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, %rcx
addq $0x8, %rcx
movq %rcx, 0xe8(%rsp)
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
movl 0xd8(%rsp), %eax
movl %eax, 0x24(%rsp)
callq 0x89c0
movl 0x24(%rsp), %ecx
movq 0x28(%rsp), %rdi
movsd 0x30(%rsp), %xmm0
movl %eax, %esi
subl $0x1, %esi
leaq 0x4f5bf(%rip), %rdx     # 0xeb7ff
leaq 0x4c78b(%rip), %rax     # 0xe89d2
cmpl %esi, %ecx
cmoveq %rax, %rdx
leaq 0x4f5a3(%rip), %rsi     # 0xeb7f7
movb $0x1, %al
callq 0x5750
movl 0xd8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xd8(%rsp)
jmp 0x9c1c8
movq 0xf0(%rsp), %rsi
movl $0xa, %edi
callq 0x5630
movl 0xdc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xdc(%rsp)
jmp 0x9c1a5
jmp 0x9c29b
movl 0xe0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xe0(%rsp)
jmp 0x9c182
jmp 0x9c2b3
movl 0xe4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xe4(%rsp)
jmp 0x9c15f
cmpq $0x0, 0x110(%rsp)
jne 0x9c2e1
movq 0xf0(%rsp), %rdi
callq 0x5c6f0
movq 0xd0(%rsp), %rax
movq %rax, 0x120(%rsp)
movq 0x120(%rsp), %rax
addq $0x128, %rsp            # imm = 0x128
retq
movq 0x100(%rsp), %rdi
callq 0x5970
nop