// File: /workspace/github_cpp_makefile_star2_O1/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::_save_raw(_IO_FILE*, char const*, bool) const
const CImg<T>& _save_raw(std::FILE *const file, const char *const filename, const bool is_multiplexed) const {
      if (!file && !filename)
        throw CImgArgumentException(_cimg_instance
                                    "save_raw(): Specified filename is (null).",
                                    cimg_instance);
      if (is_empty()) { cimg::fempty(file,filename); return *this; }

      std::FILE *const nfile = file?file:cimg::fopen(filename,"wb");
      if (!is_multiplexed) cimg::fwrite(_data,size(),nfile);
      else {
        CImg<T> buf(_spectrum);
        cimg_forXYZ(*this,x,y,z) {
          cimg_forC(*this,c) buf[c] = (*this)(x,y,z,c);
          cimg::fwrite(buf._data,_spectrum,nfile);
        }
      }
      if (!file) cimg::fclose(nfile);
      return *this;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq %rsi, %rax
orq %rdx, %rax
je 0x64711
movq %rsi, %r14
cmpq $0x0, 0x18(%rbx)
je 0x6467f
movdqu (%rbx), %xmm0
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %eax
testb %al, %al
jne 0x6467f
movl %ecx, %ebp
movq %r14, %r15
testq %r14, %r14
jne 0x64568
leaq 0x2f5d0(%rip), %rsi     # 0x93b2d
movq %rdx, %rdi
callq 0x3ceb3
movq %rax, %r15
testb %bpl, %bpl
je 0x6468c
movq %r14, (%rsp)
movl 0xc(%rbx), %esi
leaq 0x18(%rsp), %rdi
movl $0x1, %edx
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x86d2
cmpl $0x0, 0x8(%rbx)
jle 0x64663
xorl %r12d, %r12d
xorl %ecx, %ecx
movq %rcx, 0x8(%rsp)
cmpl $0x0, 0x4(%rbx)
jle 0x6464a
xorl %ebp, %ebp
xorl %ecx, %ecx
movq %rcx, 0x10(%rsp)
movl (%rbx), %ecx
testl %ecx, %ecx
jle 0x64631
xorl %r13d, %r13d
xorl %r14d, %r14d
movslq 0xc(%rbx), %rax
testq %rax, %rax
jle 0x64613
movl %ecx, %ecx
movl 0x4(%rbx), %edi
movl 0x8(%rbx), %r8d
movq 0x30(%rsp), %rdx
movq %r12, %rsi
imulq %rdi, %rsi
addq %rbp, %rsi
imulq %rcx, %rsi
addq %r13, %rsi
addq 0x18(%rbx), %rsi
imulq %rdi, %rcx
imulq %r8, %rcx
shlq $0x3, %rcx
xorl %edi, %edi
movq (%rsi), %xmm0
movq %xmm0, (%rdx,%rdi,8)
incq %rdi
addq %rcx, %rsi
cmpq %rdi, %rax
jne 0x645ff
movq 0x30(%rsp), %rdi
movl %eax, %esi
movq %r15, %rdx
callq 0x629f4
incq %r14
movslq (%rbx), %rcx
addq $0x8, %r13
cmpq %rcx, %r14
jl 0x645c5
movq 0x10(%rsp), %rcx
incq %rcx
movslq 0x4(%rbx), %rax
addq $0x8, %rbp
cmpq %rax, %rcx
jl 0x645b4
movq 0x8(%rsp), %rcx
incq %rcx
movslq 0x8(%rbx), %rax
addq $0x8, %r12
cmpq %rax, %rcx
jl 0x645a1
cmpb $0x0, 0x28(%rsp)
jne 0x64679
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x64679
callq 0x4680
movq (%rsp), %r14
jmp 0x646af
movq %r14, %rdi
movq %rdx, %rsi
callq 0x5f9f0
jmp 0x646b4
movq 0x18(%rbx), %rdi
movl (%rbx), %eax
movl 0x4(%rbx), %ecx
imulq %rax, %rcx
movl 0x8(%rbx), %eax
movl 0xc(%rbx), %esi
imulq %rax, %rsi
imulq %rcx, %rsi
movq %r15, %rdx
callq 0x629f4
testq %r14, %r14
je 0x646c6
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %r15, %r15
je 0x64701
movq 0x488d6(%rip), %rax     # 0xacfa8
cmpq %r15, (%rax)
je 0x646b4
movq 0x488aa(%rip), %rax     # 0xacf88
cmpq %r15, (%rax)
je 0x646b4
movq %r15, %rdi
callq 0x4540
testl %eax, %eax
je 0x646b4
leaq 0x2f3d6(%rip), %rdi     # 0x93acc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb52
jmp 0x646b4
leaq 0x2f39a(%rip), %rdi     # 0x93aa2
xorl %eax, %eax
callq 0xbb52
jmp 0x646b4
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 0xec06(%rip), %rax      # 0x73338
leaq 0xffd9(%rip), %r10      # 0x74712
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x2f4a3(%rip), %r11     # 0x93bef
leaq 0x32e31(%rip), %rsi     # 0x97584
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc196
addq $0x20, %rsp
leaq 0x484b1(%rip), %rsi     # 0xacc20
movq 0x4885a(%rip), %rdx     # 0xacfd0
movq %r14, %rdi
callq 0x4900
movq %rax, %rbx
movq %r14, %rdi
callq 0x43b0
jmp 0x647a4
movq %rax, %rbx
cmpb $0x0, 0x28(%rsp)
jne 0x647a4
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x647a4
callq 0x4680
movq %rbx, %rdi
callq 0x4950