// File: manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::_save_ascii(_IO_FILE*, char const*) const
const CImg<T>& _save_ascii(std::FILE *const file, const char *const filename) const {
      if (!file && !filename)
        throw CImgArgumentException(_cimg_instance
                                    "save_ascii(): Specified filename is (null).",
                                    cimg_instance);
      std::FILE *const nfile = file?file:cimg::fopen(filename,"w");
      std::fprintf(nfile,"%u %u %u %u\n",_width,_height,_depth,_spectrum);
      const T* ptrs = _data;
      cimg_forYZC(*this,y,z,c) {
        cimg_forX(*this,x) std::fprintf(nfile,"%.16g ",(double)*(ptrs++));
        std::fputc('\n',nfile);
      }
      if (!file) cimg::fclose(nfile);
      return *this;
    }

// Assembly:
subq $0xa8, %rsp
movq %rdi, 0xa0(%rsp)
movq %rsi, 0x98(%rsp)
movq %rdx, 0x90(%rsp)
movq 0xa0(%rsp), %rax
movq %rax, 0x58(%rsp)
cmpq $0x0, 0x98(%rsp)
jne 0x9bc2d
cmpq $0x0, 0x90(%rsp)
jne 0x9bc2d
movl $0x4008, %edi           # imm = 0x4008
callq 0x5240
movq %rax, %rcx
movq 0x58(%rsp), %rax
movq %rcx, 0x28(%rsp)
movl (%rax), %ecx
movl %ecx, 0x30(%rsp)
movl 0x4(%rax), %ecx
movl %ecx, 0x34(%rsp)
movl 0x8(%rax), %ecx
movl %ecx, 0x38(%rsp)
movl 0xc(%rax), %ecx
movl %ecx, 0x3c(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x40(%rsp)
movb 0x10(%rax), %dl
leaq 0x4ce43(%rip), %rcx     # 0xe89d2
leaq 0x2df4b(%rip), %rax     # 0xc9ae1
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, 0x48(%rsp)
callq 0x118f0
movq %rax, 0x50(%rsp)
jmp 0x9bbae
movl 0x3c(%rsp), %r9d
movl 0x38(%rsp), %r8d
movl 0x34(%rsp), %ecx
movl 0x30(%rsp), %edx
movq 0x28(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %r10
movq 0x50(%rsp), %r11
movq %rsp, %rax
movq %r11, 0x10(%rax)
movq %r10, 0x8(%rax)
movq %rsi, (%rax)
leaq 0x4fa45(%rip), %rsi     # 0xeb62e
xorl %eax, %eax
callq 0x12220
jmp 0x9bbf2
movq 0x28(%rsp), %rdi
leaq 0x63f62(%rip), %rsi     # 0xffb60
leaq -0x897a5(%rip), %rdx    # 0x12460
callq 0x5920
movq 0x28(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x88(%rsp)
movl %eax, 0x84(%rsp)
callq 0x53a0
jmp 0x9bd93
cmpq $0x0, 0x98(%rsp)
je 0x9bc47
movq 0x98(%rsp), %rax
movq %rax, 0x20(%rsp)
jmp 0x9bc60
movq 0x90(%rsp), %rdi
leaq 0x4e31b(%rip), %rsi     # 0xe9f71
callq 0x654a0
movq %rax, 0x20(%rsp)
movq 0x58(%rsp), %rax
movq 0x20(%rsp), %rcx
movq %rcx, 0x78(%rsp)
movq 0x78(%rsp), %rdi
movl (%rax), %edx
movl 0x4(%rax), %ecx
movl 0x8(%rax), %r8d
movl 0xc(%rax), %r9d
leaq 0x4fa00(%rip), %rsi     # 0xeb688
movb $0x0, %al
callq 0x5750
movq 0x58(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x70(%rsp)
movl $0x0, 0x6c(%rsp)
movq 0x58(%rsp), %rcx
movl 0x6c(%rsp), %eax
cmpl 0xc(%rcx), %eax
jge 0x9bd71
movl $0x0, 0x68(%rsp)
movq 0x58(%rsp), %rcx
movl 0x68(%rsp), %eax
cmpl 0x8(%rcx), %eax
jge 0x9bd5f
movl $0x0, 0x64(%rsp)
movq 0x58(%rsp), %rcx
movl 0x64(%rsp), %eax
cmpl 0x4(%rcx), %eax
jge 0x9bd4d
movl $0x0, 0x60(%rsp)
movq 0x58(%rsp), %rcx
movl 0x60(%rsp), %eax
cmpl (%rcx), %eax
jge 0x9bd31
movq 0x78(%rsp), %rdi
movq 0x70(%rsp), %rax
movq %rax, %rcx
addq $0x8, %rcx
movq %rcx, 0x70(%rsp)
movsd (%rax), %xmm0
leaq 0x4f978(%rip), %rsi     # 0xeb695
movb $0x1, %al
callq 0x5750
movl 0x60(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x60(%rsp)
jmp 0x9bcef
movq 0x78(%rsp), %rsi
movl $0xa, %edi
callq 0x5630
movl 0x64(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x64(%rsp)
jmp 0x9bcd9
jmp 0x9bd4f
movl 0x68(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x68(%rsp)
jmp 0x9bcbf
jmp 0x9bd61
movl 0x6c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x6c(%rsp)
jmp 0x9bca5
cmpq $0x0, 0x98(%rsp)
jne 0x9bd86
movq 0x78(%rsp), %rdi
callq 0x5c6f0
movq 0x58(%rsp), %rax
addq $0xa8, %rsp
retq
movq 0x88(%rsp), %rdi
callq 0x5970