// File: /workspace/github_cpp_makefile_star2_O3/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 0x1e835
cmpl $0x0, 0x1c(%rbx)
je 0x1e835
movb 0x8c7b8(%rip), %al      # 0xaad00
testb %al, %al
je 0x1e84b
movq 0x8c799(%rip), %r14     # 0xaacf0
movq %r14, %rdi
callq 0x4280
xorl %r12d, %r12d
leaq 0x8a71f(%rip), %r15     # 0xa8c88
leaq 0x2cba(%rip), %r13      # 0x2122a
leaq 0x89fe9(%rip), %rbp     # 0xa8560
movb 0x8c783(%rip), %al      # 0xaad00
testb %al, %al
je 0x1e5aa
movl 0x8a701(%rip), %eax     # 0xa8c88
cmpq %rax, %r12
jae 0x1e713
movb 0x8c76a(%rip), %al      # 0xaad00
testb %al, %al
je 0x1e5de
cmpq %rbx, 0x68(%r15,%r12,8)
je 0x1e713
incq %r12
jmp 0x1e577
leaq 0x8c74f(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x1e581
movq %r15, %rdi
callq 0x211ec
movq %r13, %rdi
movq %r15, %rsi
movq %rbp, %rdx
callq 0x44c0
leaq 0x8c729(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x1e581
leaq 0x8c71b(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x1e59a
movq %r15, %rdi
callq 0x211ec
movq %r13, %rdi
movq %r15, %rsi
movq %rbp, %rdx
callq 0x44c0
leaq 0x8c6f5(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x1e59a
testb %al, %al
je 0x1e681
movq 0x70(%r15,%r12,8), %r13
movb 0x8c6df(%rip), %al      # 0xaad00
testb %al, %al
je 0x1e6c8
movq %r13, 0x68(%r15,%r12,8)
incq %r12
jmp 0x1e713
leaq 0x8c6c3(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x1e721
leaq 0x8a637(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq 0x2bcd(%rip), %rdi      # 0x2122a
leaq 0x8a624(%rip), %rsi     # 0xa8c88
leaq 0x89ef5(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x8c689(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x1e721
leaq 0x8c678(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x1e616
leaq 0x8a5f0(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq 0x2b86(%rip), %rdi      # 0x2122a
leaq 0x8a5dd(%rip), %rsi     # 0xa8c88
leaq 0x89eae(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x8c642(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x1e616
leaq 0x8c631(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x1e629
leaq 0x8a5a5(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq 0x2b3b(%rip), %rdi      # 0x2122a
leaq 0x8a592(%rip), %rsi     # 0xa8c88
leaq 0x89e63(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x8c5f7(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x1e629
movb 0x8c5e7(%rip), %al      # 0xaad00
testb %al, %al
je 0x1e636
movl 0x8a561(%rip), %ecx     # 0xa8c88
decl %ecx
movb 0x8c5d1(%rip), %al      # 0xaad00
cmpq %rcx, %r12
jb 0x1e612
testb %al, %al
je 0x1e896
decl 0x8a542(%rip)           # 0xa8c88
cmpb $0x1, 0x30(%rbx)
jne 0x1e75d
cmpb $0x0, 0x460(%rbx)
jne 0x1e75d
movq %rbx, %rdi
callq 0x2102a
movq 0x4d0(%rbx), %rsi
movq %r14, %rdi
callq 0x4870
movq $0x0, 0x4d0(%rbx)
movq 0x4e8(%rbx), %rdi
callq *0x60(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x4e8(%rbx)
movb 0x8c56f(%rip), %al      # 0xaad00
testb %al, %al
je 0x1e8e1
cmpl $0x8, 0x8c558(%rip)     # 0xaacf8
jne 0x1e7b1
movq 0x4e0(%rbx), %rsi
movq %r14, %rdi
callq 0x40b0
movq $0x0, 0x4e0(%rbx)
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
callq 0x4a30
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x1e7d7
callq 0x4690
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 0x20f68
movq %r14, %rdi
callq 0x41f0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x20f68
leaq 0x8c4ae(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x1e550
leaq 0x8a422(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq 0x29b8(%rip), %rdi      # 0x2122a
leaq 0x8a40f(%rip), %rsi     # 0xa8c88
leaq 0x89ce0(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x8c474(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x1e550
leaq 0x8c463(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x1e740
leaq 0x8a3d7(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq 0x296d(%rip), %rdi      # 0x2122a
leaq 0x8a3c4(%rip), %rsi     # 0xa8c88
leaq 0x89c95(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x8c429(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x1e740
leaq 0x8c418(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x1e799
leaq 0x8a38c(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq 0x2922(%rip), %rdi      # 0x2122a
leaq 0x8a379(%rip), %rsi     # 0xa8c88
leaq 0x89c4a(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x8c3de(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x1e799
jmp 0x1e93a
jmp 0x1e93a
jmp 0x1e93a
jmp 0x1e93a
jmp 0x1e93a
jmp 0x1e93a
jmp 0x1e93a
movq %rax, %rbx
leaq 0x8c3bc(%rip), %rdi     # 0xaad00
callq 0x4310
movq %rbx, %rdi
callq 0x4960
nop