// File: manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::assign(double const*, unsigned int, unsigned int, unsigned int, unsigned int, bool)
CImg<T>& assign(const T *const values, const unsigned int size_x, const unsigned int size_y,
                    const unsigned int size_z, const unsigned int size_c, const bool is_shared) {
      const unsigned long siz = (unsigned long)size_x*size_y*size_z*size_c;
      if (!values || !siz) return assign();
      if (!is_shared) { if (_is_shared) assign(); assign(values,size_x,size_y,size_z,size_c); }
      else {
        if (!_is_shared) {
          if (values+siz<_data || values>=_data+size()) assign();
          else cimg::warn(_cimg_instance
                          "assign(): Shared image instance has overlapping memory.",
                          cimg_instance);
        }
        _width = size_x; _height = size_y; _depth = size_z; _spectrum = size_c; _is_shared = true;
        _data = const_cast<T*>(values);
      }
      return *this;
    }

// Assembly:
subq $0x88, %rsp
movb 0x90(%rsp), %al
movq %rdi, 0x78(%rsp)
movq %rsi, 0x70(%rsp)
movl %edx, 0x6c(%rsp)
movl %ecx, 0x68(%rsp)
movl %r8d, 0x64(%rsp)
movl %r9d, 0x60(%rsp)
andb $0x1, %al
movb %al, 0x5f(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x48(%rsp)
movl 0x6c(%rsp), %eax
movl 0x68(%rsp), %ecx
imulq %rcx, %rax
movl 0x64(%rsp), %ecx
imulq %rcx, %rax
movl 0x60(%rsp), %ecx
imulq %rcx, %rax
movq %rax, 0x50(%rsp)
cmpq $0x0, 0x70(%rsp)
je 0x1109b
cmpq $0x0, 0x50(%rsp)
jne 0x110b2
movq 0x48(%rsp), %rdi
callq 0x11230
movq %rax, 0x80(%rsp)
jmp 0x1121a
testb $0x1, 0x5f(%rsp)
jne 0x110f4
movq 0x48(%rsp), %rax
testb $0x1, 0x10(%rax)
je 0x110ce
movq 0x48(%rsp), %rdi
callq 0x11230
movq 0x48(%rsp), %rdi
movq 0x70(%rsp), %rsi
movl 0x6c(%rsp), %edx
movl 0x68(%rsp), %ecx
movl 0x64(%rsp), %r8d
movl 0x60(%rsp), %r9d
callq 0x112a0
jmp 0x1120d
movq 0x48(%rsp), %rax
testb $0x1, 0x10(%rax)
jne 0x111e0
movq 0x48(%rsp), %rcx
movq 0x70(%rsp), %rax
movq 0x50(%rsp), %rdx
shlq $0x3, %rdx
addq %rdx, %rax
cmpq 0x18(%rcx), %rax
jb 0x11155
movq 0x48(%rsp), %rdi
movq 0x70(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x18(%rdi), %rax
movq %rax, 0x38(%rsp)
callq 0x117b0
movq 0x38(%rsp), %rcx
movq %rax, %rdx
movq 0x40(%rsp), %rax
shlq $0x3, %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jb 0x11161
movq 0x48(%rsp), %rdi
callq 0x11230
jmp 0x111de
movq 0x48(%rsp), %rax
movl (%rax), %ecx
movl %ecx, 0x18(%rsp)
movl 0x4(%rax), %ecx
movl %ecx, 0x1c(%rsp)
movl 0x8(%rax), %ecx
movl %ecx, 0x20(%rsp)
movl 0xc(%rax), %ecx
movl %ecx, 0x24(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x28(%rsp)
movb 0x10(%rax), %dl
leaq 0xb894d(%rip), %rax     # 0xc9ae1
leaq 0xd7837(%rip), %rcx     # 0xe89d2
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, 0x30(%rsp)
callq 0x118f0
movl 0x18(%rsp), %esi
movl 0x1c(%rsp), %edx
movl 0x20(%rsp), %ecx
movl 0x24(%rsp), %r8d
movq 0x28(%rsp), %r9
movq 0x30(%rsp), %r10
leaq 0xb88ad(%rip), %rdi     # 0xc9a7b
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
movb $0x0, %al
callq 0x117e0
jmp 0x111e0
movq 0x48(%rsp), %rax
movl 0x6c(%rsp), %ecx
movl %ecx, (%rax)
movl 0x68(%rsp), %ecx
movl %ecx, 0x4(%rax)
movl 0x64(%rsp), %ecx
movl %ecx, 0x8(%rax)
movl 0x60(%rsp), %ecx
movl %ecx, 0xc(%rax)
movb $0x1, 0x10(%rax)
movq 0x70(%rsp), %rcx
movq %rcx, 0x18(%rax)
movq 0x48(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0x80(%rsp), %rax
addq $0x88, %rsp
retq
nopw (%rax,%rax)