// File: /workspace/github_cpp_makefile_star2_O1/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 %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, %r14d
movq %rdi, %r13
movl %edx, %eax
movl %ecx, %ecx
imulq %rax, %rcx
movl %r8d, %eax
movl %r9d, %ebp
imulq %rax, %rbp
imulq %rcx, %rbp
testq %rsi, %rsi
setne %al
testq %rbp, %rbp
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x10739
movl %r9d, %r12d
movl %r8d, %r15d
movq %rsi, %rbx
movb 0x60(%rsp), %al
movq %rdx, 0x20(%rsp)
movl %edx, (%r13)
movl %r14d, 0x4(%r13)
movl %r8d, 0x8(%r13)
movl %r9d, 0xc(%r13)
movb %al, 0x10(%r13)
testb %al, %al
je 0x1075d
movq %rbx, 0x18(%r13)
jmp 0x1074e
movq $0x0, 0x18(%r13)
xorps %xmm0, %xmm0
movups %xmm0, (%r13)
movb $0x0, 0x10(%r13)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %rdi
callq 0x4040
movq %rax, 0x18(%r13)
movq %rax, %rdi
movq %rbx, %rsi
movq %rbp, %rdx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4430
movq %rax, %rdi
callq 0x41d0
movq $0x0, 0x18(%r13)
xorps %xmm0, %xmm0
movups %xmm0, (%r13)
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, (%rsp)
movl (%r13), %ebx
movl 0x4(%r13), %eax
movl %eax, 0x14(%rsp)
movl 0x8(%r13), %eax
movl %eax, 0x10(%rsp)
movl 0xc(%r13), %eax
movl %eax, 0xc(%rsp)
movq 0x18(%r13), %rax
movq %rax, 0x18(%rsp)
movb 0x10(%r13), %r13b
movq %rbp, %rdi
callq 0xbeb1
movq %rax, %r10
leaq 0x62b52(%rip), %rax     # 0x73338
leaq 0x63f25(%rip), %r11     # 0x74712
testb %r13b, %r13b
cmovneq %rax, %r11
leaq 0x6eae5(%rip), %r13     # 0x7f2e0
leaq 0x82448(%rip), %rsi     # 0x92c4a
movq (%rsp), %rdi
movl %ebx, %edx
movl 0x14(%rsp), %ecx
movl 0x10(%rsp), %r8d
movl 0xc(%rsp), %r9d
xorl %eax, %eax
pushq %r12
pushq %r15
pushq %r14
pushq 0x38(%rsp)
pushq %r10
pushq %r13
pushq %r11
pushq 0x50(%rsp)
callq 0xbfd8
addq $0x40, %rsp
leaq 0x9c3cc(%rip), %rsi     # 0xacc08
movq 0x9c78d(%rip), %rdx     # 0xacfd0
movq (%rsp), %rdi
callq 0x4900
movq %rax, %rbx
jmp 0x1085d
movq %rax, %rbx
movq (%rsp), %rdi
callq 0x43b0
callq 0x48c0
movq %rbx, %rdi
callq 0x4950
movq %rax, %rdi
callq 0xa08f