// File: /workspace/github_cpp_makefile_star2_O1/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImgDisplay::assign()
CImgDisplay& assign() {
      if (is_empty()) return flush();
      Display *const dpy = cimg::X11_attr().display;
      XLockDisplay(dpy);

      // Remove display window from event thread list.
      unsigned int i;
      for (i = 0; i<cimg::X11_attr().nb_wins && cimg::X11_attr().wins[i]!=this; ++i) {}
      for (; i<cimg::X11_attr().nb_wins-1; ++i) cimg::X11_attr().wins[i] = cimg::X11_attr().wins[i+1];
      --cimg::X11_attr().nb_wins;

      // Destroy window, image, colormap and title.
      if (_is_fullscreen && !_is_closed) _desinit_fullscreen();
      XDestroyWindow(dpy,_window);
      _window = 0;
#ifdef cimg_use_xshm
      if (_shminfo) {
        XShmDetach(dpy,_shminfo);
        XDestroyImage(_image);
        shmdt(_shminfo->shmaddr);
        shmctl(_shminfo->shmid,IPC_RMID,0);
        delete _shminfo;
        _shminfo = 0;
      } else
#endif
        XDestroyImage(_image);
      _data = 0; _image = 0;
      if (cimg::X11_attr().nb_bits==8) XFreeColormap(dpy,_colormap);
      _colormap = 0;
      XSync(dpy,0);

      // Reset display variables.
      delete[] _title;
      _width = _height = _normalization = _window_width = _window_height = 0;
      _window_x = _window_y = 0;
      _is_fullscreen = false;
      _is_closed = true;
      _min = _max = 0;
      _title = 0;
      flush();

      XUnlockDisplay(dpy);
      return *this;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, 0x18(%rdi)
je 0x1e602
cmpl $0x0, 0x1c(%rbx)
je 0x1e602
movb 0x917ba(%rip), %al      # 0xafcf0
testb %al, %al
je 0x1e811
movq 0x9179b(%rip), %r14     # 0xafce0
movq %r14, %rdi
callq 0x4280
xorl %r13d, %r13d
leaq 0x8f721(%rip), %r15     # 0xadc78
leaq 0x8effa(%rip), %rbp     # 0xad558
movb 0x9178c(%rip), %al      # 0xafcf0
testb %al, %al
je 0x1e592
movl %r13d, %r12d
cmpl 0x8f706(%rip), %r13d    # 0xadc78
jae 0x1e618
movb 0x91772(%rip), %al      # 0xafcf0
testb %al, %al
je 0x1e5ca
cmpq %rbx, 0x68(%r15,%r12,8)
je 0x1e618
incl %r13d
jmp 0x1e55e
leaq 0x91757(%rip), %rdi     # 0xafcf0
callq 0x49b0
testl %eax, %eax
je 0x1e568
movq %r15, %rdi
callq 0x21188
leaq 0x2c15(%rip), %rdi      # 0x211c6
movq %r15, %rsi
movq %rbp, %rdx
callq 0x44b0
leaq 0x9172d(%rip), %rdi     # 0xafcf0
callq 0x4330
jmp 0x1e568
leaq 0x9171f(%rip), %rdi     # 0xafcf0
callq 0x49b0
testl %eax, %eax
je 0x1e582
movq %r15, %rdi
callq 0x21188
leaq 0x2bdd(%rip), %rdi      # 0x211c6
movq %r15, %rsi
movq %rbp, %rdx
callq 0x44b0
leaq 0x916f5(%rip), %rdi     # 0xafcf0
callq 0x4330
jmp 0x1e582
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x20f04
leaq 0x8ef39(%rip), %rbp     # 0xad558
movb 0x916cb(%rip), %al      # 0xafcf0
testb %al, %al
je 0x1e662
movl 0x8f649(%rip), %ecx     # 0xadc78
decl %ecx
movb 0x916b9(%rip), %al      # 0xafcf0
cmpq %rcx, %r12
jae 0x1e714
testb %al, %al
je 0x1e69a
leal 0x1(%r12), %eax
movq 0x68(%r15,%rax,8), %r13
movb 0x9169c(%rip), %al      # 0xafcf0
testb %al, %al
je 0x1e6d5
movq %r13, 0x68(%r15,%r12,8)
incq %r12
jmp 0x1e61f
leaq 0x91687(%rip), %rdi     # 0xafcf0
callq 0x49b0
testl %eax, %eax
je 0x1e629
movq %r15, %rdi
callq 0x21188
leaq 0x2b45(%rip), %rdi      # 0x211c6
movq %r15, %rsi
movq %rbp, %rdx
callq 0x44b0
leaq 0x9165d(%rip), %rdi     # 0xafcf0
callq 0x4330
jmp 0x1e629
leaq 0x9164f(%rip), %rdi     # 0xafcf0
callq 0x49b0
testl %eax, %eax
je 0x1e644
movq %r15, %rdi
callq 0x21188
leaq 0x2b0d(%rip), %rdi      # 0x211c6
movq %r15, %rsi
movq %rbp, %rdx
callq 0x44b0
leaq 0x91625(%rip), %rdi     # 0xafcf0
callq 0x4330
jmp 0x1e644
leaq 0x91614(%rip), %rdi     # 0xafcf0
callq 0x49b0
testl %eax, %eax
je 0x1e658
movq %r15, %rdi
callq 0x21188
leaq 0x2ace(%rip), %rdi      # 0x211c6
movq %r15, %rsi
movq %rbp, %rdx
callq 0x44b0
leaq 0x915e6(%rip), %rdi     # 0xafcf0
callq 0x4330
jmp 0x1e658
testb %al, %al
je 0x1e85c
decl 0x8f556(%rip)           # 0xadc78
cmpb $0x1, 0x30(%rbx)
jne 0x1e739
cmpb $0x0, 0x460(%rbx)
jne 0x1e739
movq %rbx, %rdi
callq 0x20fc6
movq 0x4d0(%rbx), %rsi
movq %r14, %rdi
callq 0x4860
movq $0x0, 0x4d0(%rbx)
movq 0x4e8(%rbx), %rdi
callq *0x60(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x4e8(%rbx)
movb 0x91583(%rip), %al      # 0xafcf0
testb %al, %al
je 0x1e8a7
cmpl $0x8, 0x9156c(%rip)     # 0xafce8
jne 0x1e78d
movq 0x4e0(%rbx), %rsi
movq %r14, %rdi
callq 0x40b0
movq $0x0, 0x4e0(%rbx)
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
callq 0x4a20
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x1e7b3
callq 0x4680
movl %r15d, 0x44(%rbx)
movl 0x44(%rbx), %eax
movl %eax, 0x40(%rbx)
movl 0x40(%rbx), %eax
movl %eax, 0x20(%rbx)
movl %eax, 0x1c(%rbx)
movl %eax, 0x18(%rbx)
movl %r15d, 0x450(%rbx)
movl 0x450(%rbx), %eax
movl %eax, 0x44c(%rbx)
movb $0x0, 0x30(%rbx)
movb $0x1, 0x460(%rbx)
movq %r15, 0x28(%rbx)
movq %r15, 0x38(%rbx)
movq %rbx, %rdi
callq 0x20f04
movq %r14, %rdi
callq 0x41f0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x914d8(%rip), %rdi     # 0xafcf0
callq 0x49b0
testl %eax, %eax
je 0x1e53e
leaq 0x8f44c(%rip), %rdi     # 0xadc78
callq 0x21188
leaq 0x298e(%rip), %rdi      # 0x211c6
leaq 0x8f439(%rip), %rsi     # 0xadc78
leaq 0x8ed12(%rip), %rdx     # 0xad558
callq 0x44b0
leaq 0x9149e(%rip), %rdi     # 0xafcf0
callq 0x4330
jmp 0x1e53e
leaq 0x9148d(%rip), %rdi     # 0xafcf0
callq 0x49b0
testl %eax, %eax
je 0x1e71c
leaq 0x8f401(%rip), %rdi     # 0xadc78
callq 0x21188
leaq 0x2943(%rip), %rdi      # 0x211c6
leaq 0x8f3ee(%rip), %rsi     # 0xadc78
leaq 0x8ecc7(%rip), %rdx     # 0xad558
callq 0x44b0
leaq 0x91453(%rip), %rdi     # 0xafcf0
callq 0x4330
jmp 0x1e71c
leaq 0x91442(%rip), %rdi     # 0xafcf0
callq 0x49b0
testl %eax, %eax
je 0x1e775
leaq 0x8f3b6(%rip), %rdi     # 0xadc78
callq 0x21188
leaq 0x28f8(%rip), %rdi      # 0x211c6
leaq 0x8f3a3(%rip), %rsi     # 0xadc78
leaq 0x8ec7c(%rip), %rdx     # 0xad558
callq 0x44b0
leaq 0x91408(%rip), %rdi     # 0xafcf0
callq 0x4330
jmp 0x1e775
jmp 0x1e900
jmp 0x1e900
jmp 0x1e900
jmp 0x1e900
jmp 0x1e900
jmp 0x1e900
jmp 0x1e900
movq %rax, %rbx
leaq 0x913e6(%rip), %rdi     # 0xafcf0
callq 0x4310
movq %rbx, %rdi
callq 0x4950
nop