// File: manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImgDisplay& cimg_library::CImgDisplay::assign<unsigned char>(cimg_library::CImg<unsigned char> const&, char const*, unsigned int, bool, bool)
CImgDisplay& assign(const CImg<T>& img, const char *const title=0,
                        const unsigned int normalization_type=3,
                        const bool fullscreen_flag=false, const bool closed_flag=false) {
      if (!img) return assign();
      CImg<T> tmp;
      const CImg<T>& nimg = (img._depth==1)?img:(tmp=img.get_projections2d((img._width-1)/2,
                                                                           (img._height-1)/2,
                                                                           (img._depth-1)/2));
      _assign(nimg._width,nimg._height,title,normalization_type,fullscreen_flag,closed_flag);
      if (_normalization==2) _min = (float)nimg.min_max(_max);
      return render(nimg).paint();
    }

// Assembly:
subq $0xd8, %rsp
movl %r8d, 0x38(%rsp)
movl %ecx, %eax
movl 0x38(%rsp), %ecx
movl %eax, 0x3c(%rsp)
movq %rdx, %rax
movl 0x3c(%rsp), %edx
movq %rax, 0x40(%rsp)
movq %rsi, %rax
movq 0x40(%rsp), %rsi
movq %rax, 0x48(%rsp)
movq %rdi, %r8
movq 0x48(%rsp), %rdi
movb %r9b, %al
movq %r8, 0xc8(%rsp)
movq %rdi, 0xc0(%rsp)
movq %rsi, 0xb8(%rsp)
movl %edx, 0xb4(%rsp)
andb $0x1, %cl
movb %cl, 0xb3(%rsp)
andb $0x1, %al
movb %al, 0xb2(%rsp)
movq 0xc8(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0xc0(%rsp), %rdi
callq 0x20360
cmpq $0x0, %rax
jne 0x32913
movq 0x50(%rsp), %rdi
callq 0x32b00
movq %rax, 0xd0(%rsp)
jmp 0x32adb
leaq 0x90(%rsp), %rdi
callq 0x156b0
movq 0xc0(%rsp), %rax
movl 0x8(%rax), %eax
movb $0x0, 0x5b(%rsp)
cmpl $0x1, %eax
jne 0x32944
movq 0xc0(%rsp), %rax
movq %rax, 0x30(%rsp)
jmp 0x32999
movq 0xc0(%rsp), %rsi
movl (%rsi), %edx
movl 0x4(%rsi), %ecx
decl %edx
shrl %edx
decl %ecx
shrl %ecx
movl 0x8(%rsi), %r8d
decl %r8d
shrl %r8d
leaq 0x68(%rsp), %rdi
callq 0x32d60
jmp 0x3296f
movb $0x1, 0x5b(%rsp)
leaq 0x90(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x33300
movq %rax, 0x28(%rsp)
jmp 0x3298d
movq 0x28(%rsp), %rax
movq %rax, 0x30(%rsp)
jmp 0x32999
movq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
testb $0x1, 0x5b(%rsp)
jne 0x329ac
jmp 0x329b6
leaq 0x68(%rsp), %rdi
callq 0x15650
movq 0x50(%rsp), %rdi
movq 0x20(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x88(%rsp), %rax
movl (%rax), %esi
movl 0x4(%rax), %edx
movq 0xb8(%rsp), %rcx
movl 0xb4(%rsp), %r8d
movzbl 0xb3(%rsp), %r9d
movzbl 0xb2(%rsp), %r10d
andl $0x1, %r10d
movq %rsp, %rax
movl %r10d, (%rax)
andl $0x1, %r9d
callq 0x33360
jmp 0x32a0c
movq 0x50(%rsp), %rax
cmpl $0x2, 0x20(%rax)
jne 0x32a7f
movq 0x50(%rsp), %rsi
movq 0x88(%rsp), %rdi
addq $0x2c, %rsi
callq 0x34080
movq %rax, 0x18(%rsp)
jmp 0x32a34
movq 0x50(%rsp), %rax
movq 0x18(%rsp), %rcx
movzbl (%rcx), %ecx
cvtsi2ss %ecx, %xmm0
movss %xmm0, 0x28(%rax)
jmp 0x32a7f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x60(%rsp)
movl %eax, 0x5c(%rsp)
jmp 0x32acc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x60(%rsp)
movl %eax, 0x5c(%rsp)
testb $0x1, 0x5b(%rsp)
jne 0x32a73
jmp 0x32a7d
leaq 0x68(%rsp), %rdi
callq 0x15650
jmp 0x32acc
movq 0x50(%rsp), %rdi
movq 0x88(%rsp), %rsi
xorl %edx, %edx
callq 0x34280
movq %rax, 0x10(%rsp)
jmp 0x32a9a
movq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x370c0
movq %rax, 0x8(%rsp)
jmp 0x32ab0
movq 0x8(%rsp), %rax
movq %rax, 0xd0(%rsp)
leaq 0x90(%rsp), %rdi
callq 0x15650
jmp 0x32adb
leaq 0x90(%rsp), %rdi
callq 0x15650
jmp 0x32aeb
movq 0xd0(%rsp), %rax
addq $0xd8, %rsp
retq
movq 0x60(%rsp), %rdi
callq 0x5970
nopw %cs:(%rax,%rax)
nop