// File: /workspace/github_cpp_makefile_star2_O3/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 0x619d8
movq %rsi, %r14
cmpq $0x0, 0x18(%rbx)
je 0x61946
movdqu (%rbx), %xmm0
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %eax
testb %al, %al
jne 0x61946
movl %ecx, %ebp
movq %r14, %r15
testq %r14, %r14
jne 0x61832
leaq 0x2d836(%rip), %rsi     # 0x8f05d
movq %rdx, %rdi
callq 0x3b111
movq %rax, %r15
testb %bpl, %bpl
je 0x61953
movq %r14, (%rsp)
movl 0xc(%rbx), %esi
leaq 0x18(%rsp), %rdi
movl $0x1, %edx
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x8666
movl 0x8(%rbx), %ecx
testl %ecx, %ecx
jle 0x6192a
movl 0x4(%rbx), %eax
xorl %r12d, %r12d
xorl %esi, %esi
testl %eax, %eax
jle 0x61917
movq %rsi, 0x8(%rsp)
movl (%rbx), %ecx
xorl %ebp, %ebp
xorl %esi, %esi
testl %ecx, %ecx
jle 0x618fc
movq %rsi, 0x10(%rsp)
xorl %r13d, %r13d
xorl %r14d, %r14d
movl 0xc(%rbx), %esi
movq 0x30(%rsp), %rdi
testl %esi, %esi
jle 0x618dd
movl %ecx, %eax
movl 0x4(%rbx), %edx
movl 0x8(%rbx), %r8d
movq %r12, %rcx
imulq %rdx, %rcx
addq %rbp, %rcx
imulq %rax, %rcx
addq %r13, %rcx
addq 0x18(%rbx), %rcx
imulq %rdx, %rax
imulq %r8, %rax
shlq $0x3, %rax
xorl %edx, %edx
movq (%rcx), %xmm0
movq %xmm0, (%rdi,%rdx,8)
incq %rdx
addq %rax, %rcx
cmpq %rdx, %rsi
jne 0x618c9
movq %r15, %rdx
callq 0x5fea8
incq %r14
movslq (%rbx), %rcx
addq $0x8, %r13
cmpq %rcx, %r14
jl 0x61891
movl 0x4(%rbx), %eax
movq 0x10(%rsp), %rsi
incq %rsi
movslq %eax, %rdx
addq $0x8, %rbp
cmpq %rdx, %rsi
jl 0x61882
movl 0x8(%rbx), %ecx
movq 0x8(%rsp), %rsi
incq %rsi
movslq %ecx, %rdx
addq $0x8, %r12
cmpq %rdx, %rsi
jl 0x6186f
cmpb $0x0, 0x28(%rsp)
jne 0x61940
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x61940
callq 0x4690
movq (%rsp), %r14
jmp 0x61976
movq %r14, %rdi
movq %rdx, %rsi
callq 0x5ce0e
jmp 0x6197b
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 0x5fea8
testq %r14, %r14
je 0x6198d
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %r15, %r15
je 0x619c8
movq 0x4660f(%rip), %rax     # 0xa7fa8
cmpq %r15, (%rax)
je 0x6197b
movq 0x465e3(%rip), %rax     # 0xa7f88
cmpq %r15, (%rax)
je 0x6197b
movq %r15, %rdi
callq 0x4550
testl %eax, %eax
je 0x6197b
leaq 0x2d63f(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
jmp 0x6197b
leaq 0x2d603(%rip), %rdi     # 0x8efd2
xorl %eax, %eax
callq 0xbb10
jmp 0x6197b
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 0xce6f(%rip), %rax      # 0x6e868
leaq 0xe242(%rip), %r10      # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x2d70c(%rip), %r11     # 0x8f11f
leaq 0x30fa4(%rip), %rsi     # 0x929be
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc16a
addq $0x20, %rsp
leaq 0x4621a(%rip), %rsi     # 0xa7c50
movq 0x46593(%rip), %rdx     # 0xa7fd0
movq %r14, %rdi
callq 0x4910
movq %rax, %rbx
movq %r14, %rdi
callq 0x43c0
jmp 0x61a6b
movq %rax, %rbx
cmpb $0x0, 0x28(%rsp)
jne 0x61a6b
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x61a6b
callq 0x4690
movq %rbx, %rdi
callq 0x4960