// File: manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<char>::CImg(char const*, unsigned int, unsigned int, unsigned int, unsigned int, bool)
CImg(const T *const values, const unsigned int size_x, const unsigned int size_y=1,
         const unsigned int size_z=1, const unsigned int size_c=1, const bool is_shared=false) {
      const unsigned long siz = (unsigned long)size_x*size_y*size_z*size_c;
      if (values && siz) {
        _width = size_x; _height = size_y; _depth = size_z; _spectrum = size_c; _is_shared = is_shared;
        if (_is_shared) _data = const_cast<T*>(values);
        else {
          try { _data = new T[siz]; } catch (...) {
            _width = _height = _depth = _spectrum = 0; _data = 0;
            throw CImgInstanceException(_cimg_instance
                                        "CImg(): Failed to allocate memory (%s) for image (%u,%u,%u,%u).",
                                        cimg_instance,
                                        cimg::strbuffersize(sizeof(T)*size_x*size_y*size_z*size_c),
                                        size_x,size_y,size_z,size_c);
          }
          std::memcpy(_data,values,siz*sizeof(T)); }
      } else { _width = _height = _depth = _spectrum = 0; _is_shared = false; _data = 0; }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xd0, %rsp
movb 0x100(%rsp), %al
movq %rdi, 0xc8(%rsp)
movq %rsi, 0xc0(%rsp)
movl %edx, 0xbc(%rsp)
movl %ecx, 0xb8(%rsp)
movl %r8d, 0xb4(%rsp)
movl %r9d, 0xb0(%rsp)
andb $0x1, %al
movb %al, 0xaf(%rsp)
movq 0xc8(%rsp), %rax
movq %rax, 0x88(%rsp)
movl 0xbc(%rsp), %eax
movl 0xb8(%rsp), %ecx
imulq %rcx, %rax
movl 0xb4(%rsp), %ecx
imulq %rcx, %rax
movl 0xb0(%rsp), %ecx
imulq %rcx, %rax
movq %rax, 0xa0(%rsp)
cmpq $0x0, 0xc0(%rsp)
je 0x1a1e0
cmpq $0x0, 0xa0(%rsp)
je 0x1a1e0
movq 0x88(%rsp), %rax
movl 0xbc(%rsp), %ecx
movl %ecx, (%rax)
movl 0xb8(%rsp), %ecx
movl %ecx, 0x4(%rax)
movl 0xb4(%rsp), %ecx
movl %ecx, 0x8(%rax)
movl 0xb0(%rsp), %ecx
movl %ecx, 0xc(%rax)
movb 0xaf(%rsp), %cl
andb $0x1, %cl
movb %cl, 0x10(%rax)
testb $0x1, 0x10(%rax)
je 0x19fc6
movq 0x88(%rsp), %rax
movq 0xc0(%rsp), %rcx
movq %rcx, 0x18(%rax)
jmp 0x1a1de
movq 0xa0(%rsp), %rdi
callq 0x5040
movq %rax, 0x80(%rsp)
jmp 0x19fdd
movq 0x88(%rsp), %rax
movq 0x80(%rsp), %rcx
movq %rcx, 0x18(%rax)
jmp 0x1a1b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x98(%rsp)
movl %eax, 0x94(%rsp)
movq 0x98(%rsp), %rdi
callq 0x51e0
movq 0x88(%rsp), %rax
movl $0x0, 0xc(%rax)
movl $0x0, 0x8(%rax)
movl $0x0, 0x4(%rax)
movl $0x0, (%rax)
movq $0x0, 0x18(%rax)
movl $0x4008, %edi           # imm = 0x4008
callq 0x5240
movq %rax, %rcx
movq 0x88(%rsp), %rax
movq %rcx, 0x50(%rsp)
movl (%rax), %ecx
movl %ecx, 0x58(%rsp)
movl 0x4(%rax), %ecx
movl %ecx, 0x5c(%rsp)
movl 0x8(%rax), %ecx
movl %ecx, 0x60(%rsp)
movl 0xc(%rax), %ecx
movl %ecx, 0x64(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x68(%rsp)
movb 0x10(%rax), %dl
leaq 0xce948(%rip), %rcx     # 0xe89d2
leaq 0xafa50(%rip), %rax     # 0xc9ae1
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, 0x70(%rsp)
callq 0x1c300
movq %rax, 0x78(%rsp)
jmp 0x1a0a9
movl 0xbc(%rsp), %eax
movl %eax, %edi
movl 0xb8(%rsp), %eax
imulq %rax, %rdi
movl 0xb4(%rsp), %eax
imulq %rax, %rdi
movl 0xb0(%rsp), %eax
imulq %rax, %rdi
callq 0x11dc0
movq %rax, 0x48(%rsp)
jmp 0x1a0df
movl 0x64(%rsp), %r9d
movl 0x60(%rsp), %r8d
movl 0x5c(%rsp), %ecx
movl 0x58(%rsp), %edx
movq 0x50(%rsp), %rdi
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %r10
movq 0x78(%rsp), %r11
movq 0x48(%rsp), %rbx
movl 0xbc(%rsp), %ebp
movl 0xb8(%rsp), %r14d
movl 0xb4(%rsp), %r15d
movl 0xb0(%rsp), %r12d
movq %rsp, %rax
movq %rax, 0x40(%rsp)
movl %r12d, 0x38(%rax)
movl %r15d, 0x30(%rax)
movl %r14d, 0x28(%rax)
movl %ebp, 0x20(%rax)
movq %rbx, 0x18(%rax)
movq %r11, 0x10(%rax)
movq %r10, 0x8(%rax)
movq %rsi, (%rax)
leaq 0xcdec3(%rip), %rsi     # 0xe8019
xorl %eax, %eax
callq 0x11fd0
jmp 0x1a15f
movq 0x50(%rsp), %rdi
leaq 0xe59dd(%rip), %rsi     # 0xffb48
leaq -0x7f62(%rip), %rdx     # 0x12210
callq 0x5920
jmp 0x1a234
movq 0x50(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x98(%rsp)
movl %eax, 0x94(%rsp)
callq 0x53a0
jmp 0x1a1b0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x98(%rsp)
movl %eax, 0x94(%rsp)
callq 0x58d0
jmp 0x1a1b7
jmp 0x1a21f
movq 0x88(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0xc0(%rsp), %rsi
movq 0xa0(%rsp), %rdx
shlq $0x0, %rdx
callq 0x5420
jmp 0x1a20f
movq 0x88(%rsp), %rax
movl $0x0, 0xc(%rax)
movl $0x0, 0x8(%rax)
movl $0x0, 0x4(%rax)
movl $0x0, (%rax)
movb $0x0, 0x10(%rax)
movq $0x0, 0x18(%rax)
addq $0xd0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x98(%rsp), %rdi
callq 0x5970
movq %rax, %rdi
callq 0xcb20
nopw %cs:(%rax,%rax)
nop