// File: /workspace/github_cpp_makefile_star2_O2/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 0x49af3
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %r14
movq %rbx, %rdi
callq 0x8dc8
testb %al, %al
je 0x4999d
movq %r14, %rdi
movq %r12, %rsi
callq 0x465c3
jmp 0x49ae1
movq %r14, %r15
movq %r14, (%rsp)
testq %r14, %r14
jne 0x499bb
leaq 0x2b62d(%rip), %rsi     # 0x74fdd
movq %r12, %rdi
callq 0x2dca5
movq %rax, %r15
testb %bpl, %bpl
je 0x49aa3
movl 0xc(%rbx), %esi
leaq 0x18(%rsp), %rdi
pushq $0x1
popq %rcx
movl %ecx, %edx
movl %ecx, %r8d
callq 0x6caa
xorl %r12d, %r12d
xorl %ecx, %ecx
movslq 0x8(%rbx), %rax
cmpq %rax, %rcx
jge 0x49ac8
movq %rcx, 0x8(%rsp)
xorl %ebp, %ebp
xorl %ecx, %ecx
movslq 0x4(%rbx), %rax
cmpq %rax, %rcx
jge 0x49a92
movq %rcx, 0x10(%rsp)
xorl %r13d, %r13d
xorl %r14d, %r14d
movslq (%rbx), %rax
cmpq %rax, %r14
jge 0x49a81
movl %eax, %r8d
movl 0xc(%rbx), %esi
movl 0x4(%rbx), %r9d
movl 0x8(%rbx), %eax
testl %esi, %esi
movl $0x0, %ecx
cmovgl %esi, %ecx
movq 0x30(%rsp), %rdx
movq %r12, %rdi
imulq %r9, %rdi
addq %rbp, %rdi
imulq %r8, %rdi
addq %r13, %rdi
addq 0x18(%rbx), %rdi
imulq %r9, %rax
imulq %r8, %rax
shlq $0x3, %rax
xorl %r8d, %r8d
cmpq %r8, %rcx
je 0x49a6b
movsd (%rdi), %xmm0
movsd %xmm0, (%rdx,%r8,8)
incq %r8
addq %rax, %rdi
jmp 0x49a54
movq 0x30(%rsp), %rdi
movq %r15, %rdx
callq 0x489e9
incq %r14
addq $0x8, %r13
jmp 0x49a0c
movq 0x10(%rsp), %rcx
incq %rcx
addq $0x8, %rbp
jmp 0x499f4
movq 0x8(%rsp), %rcx
incq %rcx
addq $0x8, %r12
jmp 0x499de
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 0x489e9
jmp 0x49ad2
leaq 0x18(%rsp), %rdi
callq 0x6c96
cmpq $0x0, (%rsp)
jne 0x49ae1
movq %r15, %rdi
callq 0x2a2f8
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
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 0xacd4(%rip), %rax      # 0x547e8
leaq 0xc0a7(%rip), %r10      # 0x55bc2
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x2b571(%rip), %r11     # 0x7509f
leaq 0x2ef3f(%rip), %rsi     # 0x78a74
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0x9d52
addq $0x20, %rsp
leaq 0x4610f(%rip), %rsi     # 0x8fc60
movq 0x46480(%rip), %rdx     # 0x8ffd8
movq %r14, %rdi
callq 0x4910
movq %rax, %rbx
movq %r14, %rdi
callq 0x4390
jmp 0x49b7a
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x6c96
movq %rbx, %rdi
callq 0x4950