// File: /workspace/github_cpp_makefile_star2_O3/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:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq %rsi, %rax
orq %rdx, %rax
je 0x5ca8c
movq %rsi, %r14
movq %rsi, 0x10(%rsp)
testq %rsi, %rsi
jne 0x5c97e
leaq 0x33783(%rip), %rsi     # 0x900f6
movq %rdx, %rdi
callq 0x3b111
movq %rax, %r14
movl (%rbx), %edx
movl 0x4(%rbx), %ecx
movl 0x8(%rbx), %r8d
movl 0xc(%rbx), %r9d
leaq 0x34e71(%rip), %rsi     # 0x91803
movl $0x0, 0x8(%rsp)
movq %r14, %rdi
xorl %eax, %eax
callq 0x4750
movl 0xc(%rbx), %ecx
testl %ecx, %ecx
jle 0x5ca27
movq 0x18(%rbx), %r13
movl 0x8(%rbx), %eax
leaq 0x34e57(%rip), %r12     # 0x91810
testl %eax, %eax
jle 0x5ca19
movl 0x4(%rbx), %ecx
xorl %edx, %edx
testl %ecx, %ecx
jle 0x5ca10
movl %edx, 0xc(%rsp)
xorl %ebp, %ebp
cmpl $0x0, (%rbx)
jle 0x5c9f3
xorl %r15d, %r15d
movsd (%r13), %xmm0
addq $0x8, %r13
movq %r14, %rdi
movq %r12, %rsi
movb $0x1, %al
callq 0x4750
incl %r15d
cmpl (%rbx), %r15d
jl 0x5c9d4
movl $0xa, %edi
movq %r14, %rsi
callq 0x4640
incl %ebp
movl 0x4(%rbx), %ecx
cmpl %ecx, %ebp
jl 0x5c9cc
movl 0x8(%rbx), %eax
movl 0xc(%rsp), %edx
incl %edx
cmpl %eax, %edx
jl 0x5c9c2
movl 0xc(%rbx), %ecx
movl 0x8(%rsp), %edx
incl %edx
movl %edx, 0x8(%rsp)
cmpl %ecx, %edx
jl 0x5c9b9
cmpq $0x0, 0x10(%rsp)
je 0x5ca41
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %r14, %r14
je 0x5ca7c
movq 0x4b55b(%rip), %rax     # 0xa7fa8
cmpq %r14, (%rax)
je 0x5ca2f
movq 0x4b52f(%rip), %rax     # 0xa7f88
cmpq %r14, (%rax)
je 0x5ca2f
movq %r14, %rdi
callq 0x4550
testl %eax, %eax
je 0x5ca2f
leaq 0x3258b(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
jmp 0x5ca2f
leaq 0x3254f(%rip), %rdi     # 0x8efd2
xorl %eax, %eax
callq 0xbb10
jmp 0x5ca2f
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 0x11dbb(%rip), %rax     # 0x6e868
leaq 0x1318e(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x32658(%rip), %r11     # 0x8f11f
leaq 0x34cdb(%rip), %rsi     # 0x917a9
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc16a
addq $0x20, %rsp
leaq 0x4b166(%rip), %rsi     # 0xa7c50
movq 0x4b4df(%rip), %rdx     # 0xa7fd0
movq %r14, %rdi
callq 0x4910
movq %rax, %rbx
movq %r14, %rdi
callq 0x43c0
movq %rbx, %rdi
callq 0x4960