LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImgDisplay::_map_window()
void _map_window() {
      Display *const dpy = cimg::X11_attr().display;
      bool is_exposed = false, is_mapped = false;
      XWindowAttributes attr;
      XEvent event;
      XMapRaised(dpy,_window);
      do { // Wait for the window to be mapped.
        XWindowEvent(dpy,_window,StructureNotifyMask | ExposureMask,&event);
        switch (event.type) {
        case MapNotify : is_mapped = true; break;
        case Expose : is_exposed = true; break;
        }
      } while (!is_exposed || !is_mapped);
      do { // Wait for the window to be visible.
        XGetWindowAttributes(dpy,_window,&attr);
        if (attr.map_state!=IsViewable) { XSync(dpy,0); cimg::sleep(10); }
      } while (attr.map_state!=IsViewable);
      _window_x = attr.x;
      _window_y = attr.y;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x160, %rsp            # imm = 0x160
movq %rdi, %rbx
movb 0x873d6(%rip), %al      # 0xaad00
testb %al, %al
je 0x23a02
movq 0x873b7(%rip), %r14     # 0xaacf0
movq 0x4d0(%rbx), %rsi
movq %r14, %rdi
callq 0x4a40
xorl %ebp, %ebp
leaq 0xa0(%rsp), %r15
xorl %r12d, %r12d
movq 0x4d0(%rbx), %rsi
movl $0x28000, %edx          # imm = 0x28000
movq %r14, %rdi
movq %r15, %rcx
callq 0x40e0
movl 0xa0(%rsp), %eax
cmpl $0xc, %eax
je 0x23982
cmpl $0x13, %eax
jne 0x23985
movb $0x1, %r12b
jmp 0x23985
movb $0x1, %bpl
movl %ebp, %eax
andb %r12b, %al
testb $0x1, %al
je 0x23955
leaq 0x18(%rsp), %r15
leaq 0x8(%rsp), %r12
movq 0x4d0(%rbx), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0x4970
cmpl $0x2, 0x74(%rsp)
je 0x239de
movq %r14, %rdi
xorl %esi, %esi
callq 0x4a30
movq $0x0, 0x8(%rsp)
movq $0x989680, 0x10(%rsp)   # imm = 0x989680
movq %r12, %rdi
xorl %esi, %esi
callq 0x4130
cmpl $0x2, 0x74(%rsp)
jne 0x23998
movl 0x18(%rsp), %eax
movl %eax, 0x44c(%rbx)
movl 0x1c(%rsp), %eax
movl %eax, 0x450(%rbx)
addq $0x160, %rsp            # imm = 0x160
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x872f7(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x23932
leaq 0x8526b(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq -0x27ff(%rip), %rdi     # 0x2122a
leaq 0x85258(%rip), %rsi     # 0xa8c88
leaq 0x84b29(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x872bd(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x23932
movq %rax, %rbx
leaq 0x872a9(%rip), %rdi     # 0xaad00
callq 0x4310
movq %rbx, %rdi
callq 0x4960
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImgDisplay::_paint(bool)
void _paint(const bool wait_expose=true) {
      if (_is_closed || !_image) return;
      Display *const dpy = cimg::X11_attr().display;
      if (wait_expose) { // Send an expose event sticked to display window to force repaint.
        XEvent event;
        event.xexpose.type = Expose;
        event.xexpose.serial = 0;
        event.xexpose.send_event = 1;
        event.xexpose.display = dpy;
        event.xexpose.window = _window;
        event.xexpose.x = 0;
        event.xexpose.y = 0;
        event.xexpose.width = width();
        event.xexpose.height = height();
        event.xexpose.count = 0;
        XSendEvent(dpy,_window,0,0,&event);
      } else { // Repaint directly (may be called from the expose event).
        GC gc = DefaultGC(dpy,DefaultScreen(dpy));
#ifdef cimg_use_xshm
        if (_shminfo) XShmPutImage(dpy,_window,gc,_image,0,0,0,0,_width,_height,1);
        else XPutImage(dpy,_window,gc,_image,0,0,0,0,_width,_height);
#else
        XPutImage(dpy,_window,gc,_image,0,0,0,0,_width,_height);
#endif
      }
    }

// Assembly:
pushq %rbp
pushq %rbx
subq $0xc8, %rsp
cmpb $0x0, 0x460(%rdi)
jne 0x2429b
movq %rdi, %rbx
cmpq $0x0, 0x4e8(%rdi)
je 0x2429b
movl %esi, %ebp
movb 0x86abf(%rip), %al      # 0xaad00
testb %al, %al
je 0x242ef
movq 0x86aa0(%rip), %rdi     # 0xaacf0
testb %bpl, %bpl
je 0x242a5
leaq 0x8(%rsp), %r8
movl $0xc, (%r8)
xorl %eax, %eax
movq %rax, 0x8(%r8)
movl $0x1, 0x10(%r8)
movq %rdi, 0x18(%r8)
movq 0x4d0(%rbx), %rsi
movq %rsi, 0x20(%r8)
movq %rax, 0x28(%r8)
movq 0x18(%rbx), %rax
movq %rax, 0x30(%r8)
movl $0x0, 0x38(%r8)
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x40d0
addq $0xc8, %rsp
popq %rbx
popq %rbp
retq
movq 0xe8(%rdi), %rax
movslq 0xe0(%rdi), %rcx
shlq $0x7, %rcx
movq 0x48(%rax,%rcx), %rdx
movq 0x4d0(%rbx), %rsi
movq 0x4e8(%rbx), %rcx
movl 0x18(%rbx), %eax
movl 0x1c(%rbx), %r10d
xorl %r11d, %r11d
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %r10
pushq %rax
pushq %r11
pushq %r11
callq 0x4aa0
addq $0xe8, %rsp
jmp 0x242a2
leaq 0x86a0a(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x24249
leaq 0x8497e(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq -0x30ec(%rip), %rdi     # 0x2122a
leaq 0x8496b(%rip), %rsi     # 0xa8c88
leaq 0x8423c(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x869d0(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x24249
movq %rax, %rbx
leaq 0x869bc(%rip), %rdi     # 0xaad00
callq 0x4310
movq %rbx, %rdi
callq 0x4960
nop
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImgDisplay::set_button(unsigned int, bool)
CImgDisplay& set_button(const unsigned int button, const bool is_pressed=true) {
      const unsigned int buttoncode = button==1?1:button==2?2:button==3?4:0;
      if (is_pressed) _button |= buttoncode; else _button &= ~buttoncode;
      _is_event = buttoncode?true:false;
      if (buttoncode) {
#if cimg_display==1
        pthread_cond_broadcast(&cimg::X11_attr().wait_event);
#elif cimg_display==2
        SetEvent(cimg::Win32_attr().wait_event);
#endif
      }
      return *this;
    }

// Assembly:
pushq %rbx
movq %rdi, %rbx
leal -0x1(%rsi), %ecx
xorl %eax, %eax
cmpl $0x3, %esi
sete %al
shll $0x2, %eax
cmpl $0x2, %ecx
cmovbl %esi, %eax
testl %edx, %edx
je 0x24373
orl %eax, 0x48(%rbx)
jmp 0x2437a
movl %eax, %ecx
notl %ecx
andl %ecx, 0x48(%rbx)
testl %eax, %eax
setne 0x463(%rbx)
je 0x2439b
movb 0x86975(%rip), %al      # 0xaad00
testb %al, %al
je 0x243a0
leaq 0x84902(%rip), %rdi     # 0xa8c98
callq 0x4180
movq %rbx, %rax
popq %rbx
retq
leaq 0x86959(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x2438f
leaq 0x848d1(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq -0x3199(%rip), %rdi     # 0x2122a
leaq 0x848be(%rip), %rsi     # 0xa8c88
leaq 0x8418f(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x86923(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x2438f
movq %rax, %rbx
leaq 0x86912(%rip), %rdi     # 0xaad00
callq 0x4310
movq %rbx, %rdi
callq 0x4960
nop
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImgDisplay::set_wheel(int)
CImgDisplay& set_wheel(const int amplitude) {
      _wheel+=amplitude;
      _is_event = amplitude?true:false;
      if (amplitude) {
#if cimg_display==1
        pthread_cond_broadcast(&cimg::X11_attr().wait_event);
#elif cimg_display==2
        SetEvent(cimg::Win32_attr().wait_event);
#endif
      }
      return *this;
    }

// Assembly:
pushq %rbx
movq %rdi, %rbx
addl %esi, 0x45c(%rdi)
testl %esi, %esi
setne 0x463(%rdi)
je 0x24427
movb 0x868e9(%rip), %al      # 0xaad00
testb %al, %al
je 0x2442c
leaq 0x84876(%rip), %rdi     # 0xa8c98
callq 0x4180
movq %rbx, %rax
popq %rbx
retq
leaq 0x868cd(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x2441b
leaq 0x84845(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq -0x3225(%rip), %rdi     # 0x2122a
leaq 0x84832(%rip), %rsi     # 0xa8c88
leaq 0x84103(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x86897(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x2441b
movq %rax, %rbx
leaq 0x86886(%rip), %rdi     # 0xaad00
callq 0x4310
movq %rbx, %rdi
callq 0x4960
nop
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<unsigned char>::default_LUT256()
static const CImg<Tuchar>& default_LUT256() {
      static CImg<Tuchar> colormap;
      cimg::mutex(8);
      if (!colormap) {
        colormap.assign(1,256,1,3);
        for (unsigned int index = 0, r = 16; r<256; r+=32)
          for (unsigned int g = 16; g<256; g+=32)
            for (unsigned int b = 32; b<256; b+=64) {
              colormap(0,index,0) = (Tuchar)r;
              colormap(0,index,1) = (Tuchar)g;
              colormap(0,index++,2) = (Tuchar)b;
            }
      }
      cimg::mutex(8,0);
      return colormap;
    }

// Assembly:
pushq %rax
movb 0x8635f(%rip), %al      # 0xaad50
testb %al, %al
je 0x24afa
movb 0x840a9(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x24b04
leaq 0x83cda(%rip), %rdi     # 0xa86e8
callq 0x47a0
cmpq $0x0, 0x8632d(%rip)     # 0xaad48
jne 0x24adb
leaq 0x86308(%rip), %rdi     # 0xaad30
movl $0x1, %esi
movl $0x100, %edx            # imm = 0x100
movl $0x1, %ecx
movl $0x3, %r8d
callq 0x104de
xorl %ecx, %ecx
movl $0x10, %eax
movl $0x10, %edx
movl %ecx, %esi
leal 0x4(%rsi), %ecx
movl $0xffffff00, %edi       # imm = 0xFFFFFF00
movq 0x862e9(%rip), %r9      # 0xaad48
movl %esi, %r8d
movl 0x862c7(%rip), %r10d    # 0xaad30
imulq %r8, %r10
movb %al, (%r9,%r10)
movl 0x862b8(%rip), %r9d     # 0xaad30
movl 0x862b5(%rip), %r10d    # 0xaad34
imulq %r9, %r10
imulq %r8, %r9
addq 0x862ba(%rip), %r9      # 0xaad48
movb %dl, (%r10,%r9)
incl %esi
movl 0x86295(%rip), %r9d     # 0xaad30
imulq %r9, %r8
movl 0x8628e(%rip), %r10d    # 0xaad34
addq 0x8629b(%rip), %r8      # 0xaad48
imulq %r9, %r10
leal 0x20(%rdi), %r9d
movb %r9b, (%r8,%r10,2)
addl $0x40, %edi
jne 0x24a58
leal 0x20(%rdx), %esi
cmpl $0xe0, %edx
movl %esi, %edx
jb 0x24a4e
leal 0x20(%rax), %edx
cmpl $0xe0, %eax
movl %edx, %eax
jb 0x24a49
movb 0x83fc7(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x24b0e
leaq 0x83bfc(%rip), %rdi     # 0xa86e8
callq 0x43f0
leaq 0x86238(%rip), %rax     # 0xaad30
popq %rcx
retq
callq 0x501f
jmp 0x249f9
callq 0x5072
jmp 0x24a07
callq 0x50c2
jmp 0x24ae5
nop
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: double const& cimg_library::CImg<double>::max_min<double>(double&) const
const T& max_min(t& min_val) const {
      if (is_empty())
        throw CImgInstanceException(_cimg_instance
                                    "max_min(): Empty instance.",
                                    cimg_instance);
      const T *ptr_max = _data;
      T max_value = *ptr_max, min_value = max_value;
      cimg_for(*this,ptrs,T) {
        const T val = *ptrs;
        if (val>max_value) { max_value = val; ptr_max = ptrs; }
        if (val<min_value) min_value = val;
      }
      min_val = (t)min_value;
      return *ptr_max;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0x5f006
movl (%rbx), %edx
testl %edx, %edx
je 0x5f006
movl 0x4(%rbx), %ecx
testl %ecx, %ecx
je 0x5f006
movl 0x8(%rbx), %r8d
testl %r8d, %r8d
je 0x5f006
movl 0xc(%rbx), %edi
testl %edi, %edi
je 0x5f006
imulq %rdx, %rcx
imulq %r8, %rdi
movsd (%rax), %xmm0
imulq %rcx, %rdi
testq %rdi, %rdi
jle 0x5eff6
leaq (%rax,%rdi,8), %rcx
movq %rax, %rdx
movapd %xmm0, %xmm2
movsd (%rdx), %xmm1
ucomisd %xmm0, %xmm1
movapd %xmm1, %xmm3
maxsd %xmm0, %xmm3
cmovaq %rdx, %rax
minsd %xmm2, %xmm1
addq $0x8, %rdx
movapd %xmm3, %xmm0
movapd %xmm1, %xmm2
cmpq %rcx, %rdx
jb 0x5efcb
jmp 0x5effa
movapd %xmm0, %xmm1
movsd %xmm1, (%rsi)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
movl (%rbx), %edx
movl 0x4(%rbx), %ecx
movl 0x8(%rbx), %r8d
movl 0xc(%rbx), %r9d
leaq 0xf841(%rip), %rax      # 0x6e868
leaq 0x10c14(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x300de(%rip), %r11     # 0x8f11f
leaq 0x2f997(%rip), %rsi     # 0x8e9df
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xbfac
addq $0x20, %rsp
leaq 0x48bd4(%rip), %rsi     # 0xa7c38
movq 0x48f65(%rip), %rdx     # 0xa7fd0
movq %r14, %rdi
callq 0x4910
movq %rax, %rbx
movq %r14, %rdi
callq 0x43c0
movq %rbx, %rdi
callq 0x4960
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImgDisplay::show()
CImgDisplay& show() {
      if (is_empty() || !_is_closed) return *this;
      Display *const dpy = cimg::X11_attr().display;
      XLockDisplay(dpy);
      if (_is_fullscreen) _init_fullscreen();
      _map_window();
      _is_closed = false;
      XUnlockDisplay(dpy);
      return paint();
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, 0x18(%rdi)
je 0x35475
cmpl $0x0, 0x1c(%rbx)
je 0x35475
movb 0x460(%rbx), %al
cmpb $0x1, %al
jne 0x35475
movb 0x758d7(%rip), %al      # 0xaad00
testb %al, %al
je 0x35480
movq 0x758bc(%rip), %r14     # 0xaacf0
movq %r14, %rdi
callq 0x4280
cmpb $0x1, 0x30(%rbx)
jne 0x3544a
movq %rbx, %rdi
callq 0x233e2
movq %rbx, %rdi
callq 0x23912
movb $0x0, 0x460(%rbx)
movq %r14, %rdi
callq 0x41f0
movq %rbx, %rdi
movl $0x1, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x20ec2
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x75879(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x3542d
leaq 0x737f1(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq -0x14279(%rip), %rdi    # 0x2122a
leaq 0x737de(%rip), %rsi     # 0xa8c88
leaq 0x730af(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x75843(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x3542d
movq %rax, %rbx
leaq 0x7582f(%rip), %rdi     # 0xaad00
callq 0x4310
movq %rbx, %rdi
callq 0x4960
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImgDisplay& cimg_library::CImgDisplay::display<unsigned char>(cimg_library::CImg<unsigned char> const&)
CImgDisplay& display(const CImg<T>& img) {
      if (!img)
        throw CImgArgumentException(_cimgdisplay_instance
                                    "display(): Empty specified image.",
                                    cimgdisplay_instance);
      if (is_empty()) return assign(img);
      return render(img).paint(false);
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
cmpq $0x0, 0x18(%rsi)
je 0x35531
cmpl $0x0, 0x18(%r14)
je 0x35515
cmpl $0x0, 0x1c(%r14)
je 0x35515
movq %r14, %rdi
xorl %edx, %edx
callq 0x1fab2
movq %rax, %rdi
xorl %esi, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x20ec2
movq %r14, %rdi
xorl %edx, %edx
movl $0x3, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1e3b2
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %rbx
movl 0x18(%r14), %edx
movq 0x38(%r14), %rax
testq %rax, %rax
movl $0x5b, %r9d
movl $0x22, %esi
cmovnel %esi, %r9d
movl 0x1c(%r14), %ecx
leaq 0x5929a(%rip), %r10     # 0x8e7fd
cmovneq %rax, %r10
movl 0x20(%r14), %r8d
movl $0x5d, %r11d
cmovnel %esi, %r11d
leaq 0x5951f(%rip), %rsi     # 0x8ea9b
movq %rbx, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0xc16a
addq $0x10, %rsp
leaq 0x726bb(%rip), %rsi     # 0xa7c50
movq 0x72a34(%rip), %rdx     # 0xa7fd0
movq %rbx, %rdi
callq 0x4910
movq %rax, %r14
movq %rbx, %rdi
callq 0x43c0
movq %r14, %rdi
callq 0x4960
nop
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImgDisplay::assign(unsigned int, unsigned int, char const*, unsigned int, bool, bool)
CImgDisplay& assign(const unsigned int dimw, const unsigned int dimh, const char *const title=0,
                        const unsigned int normalization_type=3,
                        const bool fullscreen_flag=false, const bool closed_flag=false) {
      if (!dimw || !dimh) return assign();
      _assign(dimw,dimh,title,normalization_type,fullscreen_flag,closed_flag);
      _min = _max = 0;
      std::memset(_data,0,(cimg::X11_attr().nb_bits==8?sizeof(unsigned char):
                           (cimg::X11_attr().nb_bits==16?sizeof(unsigned short):sizeof(unsigned int)))*
                  (unsigned long)_width*_height);
      return paint();
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testl %esi, %esi
setne %al
testl %edx, %edx
setne %dil
testb %dil, %al
je 0x35938
movzbl 0x20(%rsp), %eax
movl %eax, (%rsp)
movzbl %r9b, %r9d
movq %rbx, %rdi
callq 0x1ed6a
movq $0x0, 0x28(%rbx)
movq 0x4f0(%rbx), %r14
movb 0x75428(%rip), %al      # 0xaad00
testb %al, %al
je 0x35947
movl $0x1, %eax
cmpl $0x8, 0x75410(%rip)     # 0xaacf8
je 0x3590c
movb 0x75410(%rip), %al      # 0xaad00
testb %al, %al
je 0x3598e
xorl %eax, %eax
cmpl $0x10, 0x753f7(%rip)    # 0xaacf8
setne %al
leaq 0x2(,%rax,2), %rax
movl 0x18(%rbx), %ecx
movl 0x1c(%rbx), %edx
imulq %rax, %rcx
imulq %rcx, %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x4290
movq %rbx, %rdi
movl $0x1, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x20ec2
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1e520
leaq 0x753b2(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x358dc
leaq 0x7332a(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq -0x14740(%rip), %rdi    # 0x2122a
leaq 0x73317(%rip), %rsi     # 0xa8c88
leaq 0x72be8(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x7537c(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x358dc
leaq 0x7536b(%rip), %rdi     # 0xaad00
callq 0x49c0
testl %eax, %eax
je 0x358f8
leaq 0x732df(%rip), %rdi     # 0xa8c88
callq 0x211ec
leaq -0x1478b(%rip), %rdi    # 0x2122a
leaq 0x732cc(%rip), %rsi     # 0xa8c88
leaq 0x72b9d(%rip), %rdx     # 0xa8560
callq 0x44c0
leaq 0x75331(%rip), %rdi     # 0xaad00
callq 0x4330
jmp 0x358f8
jmp 0x359db
movq %rax, %rbx
leaq 0x7531b(%rip), %rdi     # 0xaad00
callq 0x4310
movq %rbx, %rdi
callq 0x4960
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::cimg::wait(unsigned int)
inline unsigned int wait(const unsigned int milliseconds) {
      cimg::mutex(3);
      static unsigned long timer = 0;
      if (!timer) timer = cimg::time();
      cimg::mutex(3,0);
      return _wait(milliseconds,timer);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edi, %ebx
movb 0x730a5(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x35b4d
leaq 0x72c0e(%rip), %rdi     # 0xa8620
callq 0x47a0
cmpq $0x0, 0x75361(%rip)     # 0xaad80
jne 0x35a5b
movq %rsp, %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x48b0
movabsq $0x20c49ba5e353f7cf, %rax # imm = 0x20C49BA5E353F7CF
imulq 0x8(%r14)
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x7, %rdx
addq %rax, %rdx
imulq $0x3e8, (%r14), %rax    # imm = 0x3E8
addq %rdx, %rax
movq %rax, 0x75325(%rip)     # 0xaad80
movb 0x73047(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x35b57
leaq 0x72bb0(%rip), %rdi     # 0xa8620
callq 0x43f0
cmpq $0x0, 0x75303(%rip)     # 0xaad80
jne 0x35ab9
movq %rsp, %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x48b0
movabsq $0x20c49ba5e353f7cf, %rax # imm = 0x20C49BA5E353F7CF
imulq 0x8(%r14)
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x7, %rdx
addq %rax, %rdx
imulq $0x3e8, (%r14), %rax    # imm = 0x3E8
addq %rdx, %rax
movq %rax, 0x752c7(%rip)     # 0xaad80
xorl %r14d, %r14d
movq %rsp, %r15
movq %r15, %rdi
xorl %esi, %esi
callq 0x48b0
movabsq $0x20c49ba5e353f7cf, %rax # imm = 0x20C49BA5E353F7CF
imulq 0x8(%r15)
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x7, %rdx
addq %rax, %rdx
imulq $0x3e8, (%r15), %rax    # imm = 0x3E8
addq %rdx, %rax
movl %ebx, %ecx
addq 0x75288(%rip), %rcx     # 0xaad80
cmpq %rax, %rcx
jbe 0x35b39
movl %ecx, %r14d
subl %eax, %r14d
movq %rcx, 0x75276(%rip)     # 0xaad80
imulq $0x10624dd3, %r14, %rax # imm = 0x10624DD3
shrq $0x26, %rax
movq %rsp, %rdi
movq %rax, (%rdi)
imull $0x3e8, %eax, %eax      # imm = 0x3E8
movl %r14d, %ecx
subl %eax, %ecx
imull $0xf4240, %ecx, %eax    # imm = 0xF4240
movq %rax, 0x8(%rdi)
xorl %esi, %esi
callq 0x4130
jmp 0x35b40
movq %rax, 0x75240(%rip)     # 0xaad80
movl %r14d, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
callq 0x5112
jmp 0x35a0b
callq 0x5162
jmp 0x35a69
nop
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::cimg::fclose(_IO_FILE*)
inline int fclose(std::FILE *file) {
      if (!file) warn("cimg::fclose(): Specified file is (null).");
      if (!file || file==stdin || file==stdout) return 0;
      const int errn = std::fclose(file);
      if (errn!=0) warn("cimg::fclose(): Error code %d returned during file closing.",
                        errn);
      return errn;
    }

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x367ea
movq 0x717f0(%rip), %rax     # 0xa7fa8
xorl %ebx, %ebx
cmpq %rdi, (%rax)
je 0x367fa
movq 0x717c2(%rip), %rax     # 0xa7f88
cmpq %rdi, (%rax)
je 0x367fa
callq 0x4550
testl %eax, %eax
je 0x367fa
movl %eax, %ebp
leaq 0x5881f(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
movl %ebp, %ebx
jmp 0x367fa
leaq 0x587e1(%rip), %rdi     # 0x8efd2
xorl %ebx, %ebx
xorl %eax, %eax
callq 0xbb10
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::cimg::strcasecmp(char const*, char const*)
inline int strcasecmp(const char *const str1, const char *const str2) {
      if (!str1) return str2?-1:0;
      const unsigned int
        l1 = (unsigned int)std::strlen(str1),
        l2 = (unsigned int)std::strlen(str2);
      return cimg::strncasecmp(str1,str2,1+(l1<l2?l1:l2));
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
testq %rdi, %rdi
je 0x399fd
movq %rdi, %r14
callq 0x41e0
movq %rax, %r15
movq %rbx, %rdi
callq 0x41e0
movq %rax, %rcx
cmpl %ecx, %r15d
cmovbl %r15d, %ecx
xorl %eax, %eax
movl %ecx, %edx
incl %edx
je 0x39a04
xorl %esi, %esi
movl $0x0, %edi
movl $0x0, %eax
cmpl $0x7ffffffe, %ecx       # imm = 0x7FFFFFFE
ja 0x399f6
movl %edx, %ecx
xorl %edi, %edi
movzbl (%r14,%rdi), %eax
leal -0x5b(%rax), %r8d
leal 0x20(%rax), %r9d
cmpb $-0x1a, %r8b
movzbl %r9b, %r8d
cmovbl %eax, %r8d
movsbl %r8b, %eax
movzbl (%rbx,%rdi), %r8d
leal -0x5b(%r8), %r9d
leal 0x20(%r8), %r10d
cmpb $-0x1a, %r9b
movzbl %r10b, %r9d
cmovbl %r8d, %r9d
movsbl %r9b, %r8d
subl %r8d, %eax
jne 0x399f6
incq %rdi
cmpl %edi, %ecx
jne 0x399ac
xorl %eax, %eax
movl %edx, %edi
cmpl %edx, %edi
cmovel %esi, %eax
jmp 0x39a04
xorl %eax, %eax
negq %rbx
sbbl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::load_exr(char const*)
CImg<T>& load_exr(const char *const filename) {
      if (!filename)
        throw CImgArgumentException(_cimg_instance
                                    "load_exr(): Specified filename is (null).",
                                    cimg_instance);

#ifndef cimg_use_openexr
      return load_other(filename);
#else
      Imf::RgbaInputFile file(filename);
      Imath::Box2i dw = file.dataWindow();
      const int
        inwidth = dw.max.x - dw.min.x + 1,
        inheight = dw.max.y - dw.min.y + 1;
      Imf::Array2D<Imf::Rgba> pixels;
      pixels.resizeErase(inheight,inwidth);
      file.setFrameBuffer(&pixels[0][0] - dw.min.x - dw.min.y*inwidth, 1, inwidth);
      file.readPixels(dw.min.y, dw.max.y);
      assign(inwidth,inheight,1,4);
      T *ptr_r = data(0,0,0,0), *ptr_g = data(0,0,0,1), *ptr_b = data(0,0,0,2), *ptr_a = data(0,0,0,3);
      cimg_forXY(*this,x,y) {
        *(ptr_r++) = (T)pixels[y][x].r;
        *(ptr_g++) = (T)pixels[y][x].g;
        *(ptr_b++) = (T)pixels[y][x].b;
        *(ptr_a++) = (T)pixels[y][x].a;
      }
      return *this;
#endif
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
testq %rsi, %rsi
je 0x39b3f
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3b580
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %rbx
movl (%r14), %edx
movl 0x4(%r14), %ecx
movl 0x8(%r14), %r8d
movl 0xc(%r14), %r9d
leaq 0x34d06(%rip), %rax     # 0x6e868
leaq 0x360d9(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%r14)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x555a2(%rip), %r11     # 0x8f11f
leaq 0x563f1(%rip), %rsi     # 0x8ff75
movq %rbx, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%r14)
callq 0xc16a
addq $0x20, %rsp
leaq 0x6e0af(%rip), %rsi     # 0xa7c50
movq 0x6e428(%rip), %rdx     # 0xa7fd0
movq %rbx, %rdi
callq 0x4910
movq %rax, %r14
movq %rbx, %rdi
callq 0x43c0
movq %r14, %rdi
callq 0x4960
nop
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::load_parrec(char const*, char, float)
CImg<T>& load_parrec(const char *const filename, const char axis='c', const float align=0) {
      CImgList<T> list;
      list.load_parrec(filename);
      if (list._width==1) return list[0].move_to(*this);
      return assign(list.get_append(axis,align));
    }

// Assembly:
pushq %rbp
pushq %rbx
subq $0x48, %rsp
movss %xmm0, 0xc(%rsp)
movl %edx, %ebp
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
callq 0x4bd46
cmpl $0x1, 0x10(%rsp)
jne 0x3a896
movq 0x18(%rsp), %rdi
movq %rbx, %rsi
callq 0xb678
movq %rax, %rbx
jmp 0x3a8e7
movsbl %bpl, %edx
leaq 0x28(%rsp), %rdi
leaq 0x10(%rsp), %rsi
movss 0xc(%rsp), %xmm0
callq 0xb0a4
movq 0x40(%rsp), %rsi
movl 0x28(%rsp), %edx
movl 0x2c(%rsp), %ecx
movl 0x30(%rsp), %r8d
movl 0x34(%rsp), %r9d
movq %rbx, %rdi
callq 0xb880
movq %rax, %rbx
cmpb $0x0, 0x38(%rsp)
jne 0x3a8e7
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x3a8e7
callq 0x4690
leaq 0x10(%rsp), %rdi
callq 0xb6ea
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
cmpb $0x0, 0x38(%rsp)
jne 0x3a91b
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x3a91b
callq 0x4690
jmp 0x3a91b
jmp 0x3a918
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xb6ea
movq %rbx, %rdi
callq 0x4960
nop
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::load_minc2(char const*)
CImg<T>& load_minc2(const char *const filename) {
      if (!filename)
        throw CImgArgumentException(_cimg_instance
                                    "load_minc2(): Specified filename is (null).",
                                    cimg_instance);
#ifndef cimg_use_minc2
      return load_other(filename);
#else
      minc::minc_1_reader rdr;
      rdr.open(filename);
      assign(rdr.ndim(1)?rdr.ndim(1):1,
             rdr.ndim(2)?rdr.ndim(2):1,
             rdr.ndim(3)?rdr.ndim(3):1,
             rdr.ndim(4)?rdr.ndim(4):1);
      if(typeid(T)==typeid(unsigned char))
        rdr.setup_read_byte();
      else if(typeid(T)==typeid(int))
        rdr.setup_read_int();
      else if(typeid(T)==typeid(double))
        rdr.setup_read_double();
      else
        rdr.setup_read_float();
      minc::load_standard_volume(rdr, this->_data);
      return *this;
#endif
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
testq %rsi, %rsi
je 0x3a949
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3b580
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %rbx
movl (%r14), %edx
movl 0x4(%r14), %ecx
movl 0x8(%r14), %r8d
movl 0xc(%r14), %r9d
leaq 0x33efc(%rip), %rax     # 0x6e868
leaq 0x352cf(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%r14)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x54798(%rip), %r11     # 0x8f11f
leaq 0x55d93(%rip), %rsi     # 0x90721
movq %rbx, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%r14)
callq 0xc16a
addq $0x20, %rsp
leaq 0x6d2a5(%rip), %rsi     # 0xa7c50
movq 0x6d61e(%rip), %rdx     # 0xa7fd0
movq %rbx, %rdi
callq 0x4910
movq %rax, %r14
movq %rbx, %rdi
callq 0x43c0
movq %r14, %rdi
callq 0x4960
nop
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::load_cimg(char const*, char, float)
CImg<T>& load_cimg(const char *const filename, const char axis='z', const float align=0) {
      CImgList<T> list;
      list.load_cimg(filename);
      if (list._width==1) return list[0].move_to(*this);
      return assign(list.get_append(axis,align));
    }

// Assembly:
pushq %rbp
pushq %rbx
subq $0x48, %rsp
movss %xmm0, 0xc(%rsp)
movl %edx, %ebp
movq %rsi, %rdx
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
xorl %esi, %esi
callq 0x53904
cmpl $0x1, 0x10(%rsp)
jne 0x3aa0d
movq 0x18(%rsp), %rdi
movq %rbx, %rsi
callq 0xb678
movq %rax, %rbx
jmp 0x3aa5e
movsbl %bpl, %edx
leaq 0x28(%rsp), %rdi
leaq 0x10(%rsp), %rsi
movss 0xc(%rsp), %xmm0
callq 0xb0a4
movq 0x40(%rsp), %rsi
movl 0x28(%rsp), %edx
movl 0x2c(%rsp), %ecx
movl 0x30(%rsp), %r8d
movl 0x34(%rsp), %r9d
movq %rbx, %rdi
callq 0xb880
movq %rax, %rbx
cmpb $0x0, 0x38(%rsp)
jne 0x3aa5e
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x3aa5e
callq 0x4690
leaq 0x10(%rsp), %rdi
callq 0xb6ea
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
cmpb $0x0, 0x38(%rsp)
jne 0x3aa92
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x3aa92
callq 0x4690
jmp 0x3aa92
jmp 0x3aa8f
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xb6ea
movq %rbx, %rdi
callq 0x4960
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::cimg::fopen(char const*, char const*)
inline std::FILE *fopen(const char *const path, const char *const mode) {
      if (!path)
        throw CImgArgumentException("cimg::fopen(): Specified file path is (null).");
      if (!mode)
        throw CImgArgumentException("cimg::fopen(): File '%s', specified mode is (null).",
                                    path);
      std::FILE *res = 0;
      if (*path=='-' && (!path[1] || path[1]=='.')) {
        res = (*mode=='r')?stdin:stdout;
#if cimg_OS==2
        if (*mode && mode[1]=='b') { // Force stdin/stdout to be in binary mode.
          if (_setmode(_fileno(res),0x8000)==-1) res = 0;
        }
#endif
      } else res = std::fopen(path,mode);
      if (!res) throw CImgIOException("cimg::fopen(): Failed to open file '%s' with mode '%s'.",
                                      path,mode);
      return res;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x3b16b
movq %rsi, %r15
movq %rdi, %r14
testq %rsi, %rsi
je 0x3b18b
cmpb $0x2d, (%r14)
jne 0x3b149
movzbl 0x1(%r14), %eax
cmpl $0x2e, %eax
je 0x3b13a
testl %eax, %eax
jne 0x3b149
cmpb $0x72, (%r15)
jne 0x3b156
movq 0x6ce61(%rip), %rax     # 0xa7fa8
jmp 0x3b15d
movq %r14, %rdi
movq %r15, %rsi
callq 0x45d0
jmp 0x3b160
movq 0x6ce2b(%rip), %rax     # 0xa7f88
movq (%rax), %rax
testq %rax, %rax
je 0x3b1b5
popq %rbx
popq %r14
popq %r15
retq
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %rbx
leaq 0x55fa1(%rip), %rsi     # 0x91120
movq %rax, %rdi
xorl %eax, %eax
callq 0xc16a
jmp 0x3b1ac
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %rbx
leaq 0x55faf(%rip), %rsi     # 0x9114e
movq %rax, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0xc16a
leaq 0x6ca9d(%rip), %rsi     # 0xa7c50
jmp 0x3b1e0
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %rbx
leaq 0x55fb9(%rip), %rsi     # 0x91182
movq %rax, %rdi
movq %r14, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x36908
leaq 0x6cb10(%rip), %rsi     # 0xa7cf0
movq 0x6cde9(%rip), %rdx     # 0xa7fd0
movq %rbx, %rdi
callq 0x4910
jmp 0x3b1f3
jmp 0x3b1f3
movq %rax, %r14
movq %rbx, %rdi
callq 0x43c0
movq %r14, %rdi
callq 0x4960
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::cimg::curl_path(char const*, bool)
inline const char *curl_path(const char *const user_path=0, const bool reinit_path=false) {
      static char *s_path = 0;
      cimg::mutex(7);
      if (reinit_path) { delete[] s_path; s_path = 0; }
      if (user_path) {
        if (!s_path) s_path = new char[1024];
        std::memset(s_path,0,1024);
        std::strncpy(s_path,user_path,1023);
      } else if (!s_path) {
        s_path = new char[1024];
        std::memset(s_path,0,1024);
        bool path_found = false;
        std::FILE *file = 0;
#if cimg_OS==2
        if (!path_found) {
          std::strcpy(s_path,".\\curl.exe");
          if ((file=std::fopen(s_path,"r"))!=0) { cimg::fclose(file); path_found = true; }
        }
        if (!path_found) std::strcpy(s_path,"curl.exe");
#else
        if (!path_found) {
          std::strcpy(s_path,"./curl");
          if ((file=std::fopen(s_path,"r"))!=0) { cimg::fclose(file); path_found = true; }
        }
        if (!path_found) std::strcpy(s_path,"curl");
#endif
        winformat_string(s_path);
      }
      cimg::mutex(7,0);
      return s_path;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movb 0x6d23f(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x3b9ab
leaq 0x6ce48(%rip), %rdi     # 0xa86c0
callq 0x47a0
testb %bpl, %bpl
je 0x3b89e
movq 0x6f637(%rip), %rdi     # 0xaaec0
testq %rdi, %rdi
je 0x3b893
callq 0x4690
movq $0x0, 0x6f622(%rip) # 0xaaec0
movq 0x6f61b(%rip), %r14     # 0xaaec0
testq %rbx, %rbx
je 0x3b8e4
testq %r14, %r14
jne 0x3b8c3
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %r14
movq %rax, 0x6f5fd(%rip)     # 0xaaec0
movl $0x400, %edx            # imm = 0x400
movq %r14, %rdi
xorl %esi, %esi
callq 0x4290
movl $0x3ff, %edx            # imm = 0x3FF
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4240
jmp 0x3b8e9
testq %r14, %r14
je 0x3b90f
movb 0x6d1b9(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x3b9b5
leaq 0x6cdc2(%rip), %rdi     # 0xa86c0
callq 0x43f0
movq 0x6f5b6(%rip), %rax     # 0xaaec0
popq %rbx
popq %r14
popq %rbp
retq
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %rbx
movq %rax, 0x6f59d(%rip)     # 0xaaec0
leaq 0x7(%rax), %rdi
movl $0x3f9, %edx            # imm = 0x3F9
xorl %esi, %esi
callq 0x4290
movl $0x75632f2e, (%rbx)     # imm = 0x75632F2E
movl $0x6c7275, 0x3(%rbx)    # imm = 0x6C7275
leaq 0x3eecc(%rip), %rsi     # 0x7a813
movq %rbx, %rdi
callq 0x45d0
testq %rax, %rax
je 0x3b995
movq 0x6c64d(%rip), %rcx     # 0xa7fa8
cmpq %rax, (%rcx)
je 0x3b8e9
movq 0x6c621(%rip), %rcx     # 0xa7f88
cmpq %rax, (%rcx)
je 0x3b8e9
movq %rax, %rdi
callq 0x4550
testl %eax, %eax
je 0x3b8e9
leaq 0x53675(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
jmp 0x3b8e9
movq 0x6f524(%rip), %rax     # 0xaaec0
movb $0x0, 0x4(%rax)
movl $0x6c727563, (%rax)     # imm = 0x6C727563
jmp 0x3b8e9
callq 0x54dc
jmp 0x3b871
callq 0x552c
jmp 0x3b8f7
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::cimg::wget_path(char const*, bool)
inline const char *wget_path(const char *const user_path=0, const bool reinit_path=false) {
      static char *s_path = 0;
      cimg::mutex(7);
      if (reinit_path) { delete[] s_path; s_path = 0; }
      if (user_path) {
        if (!s_path) s_path = new char[1024];
        std::memset(s_path,0,1024);
        std::strncpy(s_path,user_path,1023);
      } else if (!s_path) {
        s_path = new char[1024];
        std::memset(s_path,0,1024);
        bool path_found = false;
        std::FILE *file = 0;
#if cimg_OS==2
        if (!path_found) {
          std::strcpy(s_path,".\\wget.exe");
          if ((file=std::fopen(s_path,"r"))!=0) { cimg::fclose(file); path_found = true; }
        }
        if (!path_found) std::strcpy(s_path,"wget.exe");
#else
        if (!path_found) {
          std::strcpy(s_path,"./wget");
          if ((file=std::fopen(s_path,"r"))!=0) { cimg::fclose(file); path_found = true; }
        }
        if (!path_found) std::strcpy(s_path,"wget");
#endif
        winformat_string(s_path);
      }
      cimg::mutex(7,0);
      return s_path;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movb 0x6d0da(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x3bb10
leaq 0x6cce3(%rip), %rdi     # 0xa86c0
callq 0x47a0
testb %bpl, %bpl
je 0x3ba03
movq 0x6f4da(%rip), %rdi     # 0xaaec8
testq %rdi, %rdi
je 0x3b9f8
callq 0x4690
movq $0x0, 0x6f4c5(%rip) # 0xaaec8
movq 0x6f4be(%rip), %r14     # 0xaaec8
testq %rbx, %rbx
je 0x3ba49
testq %r14, %r14
jne 0x3ba28
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %r14
movq %rax, 0x6f4a0(%rip)     # 0xaaec8
movl $0x400, %edx            # imm = 0x400
movq %r14, %rdi
xorl %esi, %esi
callq 0x4290
movl $0x3ff, %edx            # imm = 0x3FF
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4240
jmp 0x3ba4e
testq %r14, %r14
je 0x3ba74
movb 0x6d054(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x3bb1a
leaq 0x6cc5d(%rip), %rdi     # 0xa86c0
callq 0x43f0
movq 0x6f459(%rip), %rax     # 0xaaec8
popq %rbx
popq %r14
popq %rbp
retq
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %rbx
movq %rax, 0x6f440(%rip)     # 0xaaec8
leaq 0x7(%rax), %rdi
movl $0x3f9, %edx            # imm = 0x3F9
xorl %esi, %esi
callq 0x4290
movl $0x67772f2e, (%rbx)     # imm = 0x67772F2E
movl $0x746567, 0x3(%rbx)    # imm = 0x746567
leaq 0x3ed67(%rip), %rsi     # 0x7a813
movq %rbx, %rdi
callq 0x45d0
testq %rax, %rax
je 0x3bafa
movq 0x6c4e8(%rip), %rcx     # 0xa7fa8
cmpq %rax, (%rcx)
je 0x3ba4e
movq 0x6c4bc(%rip), %rcx     # 0xa7f88
cmpq %rax, (%rcx)
je 0x3ba4e
movq %rax, %rdi
callq 0x4550
testl %eax, %eax
je 0x3ba4e
leaq 0x53510(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
jmp 0x3ba4e
movq 0x6f3c7(%rip), %rax     # 0xaaec8
movb $0x0, 0x4(%rax)
movl $0x74656777, (%rax)     # imm = 0x74656777
jmp 0x3ba4e
callq 0x557c
jmp 0x3b9d6
callq 0x55cc
jmp 0x3ba5c
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::cimg::gunzip_path(char const*, bool)
inline const char *gunzip_path(const char *const user_path=0, const bool reinit_path=false) {
      static char *s_path = 0;
      cimg::mutex(7);
      if (reinit_path) { delete[] s_path; s_path = 0; }
      if (user_path) {
        if (!s_path) s_path = new char[1024];
        std::memset(s_path,0,1024);
        std::strncpy(s_path,user_path,1023);
      } else if (!s_path) {
        s_path = new char[1024];
        std::memset(s_path,0,1024);
        bool path_found = false;
        std::FILE *file = 0;
#if cimg_OS==2
        if (!path_found) {
          std::strcpy(s_path,".\\gunzip.exe");
          if ((file=std::fopen(s_path,"r"))!=0) { cimg::fclose(file); path_found = true; }
        }
        if (!path_found) std::strcpy(s_path,"gunzip.exe");
#else
        if (!path_found) {
          std::strcpy(s_path,"./gunzip");
          if ((file=std::fopen(s_path,"r"))!=0) { cimg::fclose(file); path_found = true; }
        }
        if (!path_found) std::strcpy(s_path,"gunzip");
#endif
        winformat_string(s_path);
      }
      cimg::mutex(7,0);
      return s_path;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movb 0x6cf75(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x3bc7c
leaq 0x6cb7e(%rip), %rdi     # 0xa86c0
callq 0x47a0
testb %bpl, %bpl
je 0x3bb68
movq 0x6f37d(%rip), %rdi     # 0xaaed0
testq %rdi, %rdi
je 0x3bb5d
callq 0x4690
movq $0x0, 0x6f368(%rip) # 0xaaed0
movq 0x6f361(%rip), %r14     # 0xaaed0
testq %rbx, %rbx
je 0x3bbae
testq %r14, %r14
jne 0x3bb8d
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %r14
movq %rax, 0x6f343(%rip)     # 0xaaed0
movl $0x400, %edx            # imm = 0x400
movq %r14, %rdi
xorl %esi, %esi
callq 0x4290
movl $0x3ff, %edx            # imm = 0x3FF
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4240
jmp 0x3bbb3
testq %r14, %r14
je 0x3bbd9
movb 0x6ceef(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x3bc86
leaq 0x6caf8(%rip), %rdi     # 0xa86c0
callq 0x43f0
movq 0x6f2fc(%rip), %rax     # 0xaaed0
popq %rbx
popq %r14
popq %rbp
retq
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %rbx
movq %rax, 0x6f2e3(%rip)     # 0xaaed0
leaq 0x9(%rax), %rdi
movl $0x3f7, %edx            # imm = 0x3F7
xorl %esi, %esi
callq 0x4290
movabsq $0x70697a6e75672f2e, %rax # imm = 0x70697A6E75672F2E
movq %rax, (%rbx)
movb $0x0, 0x8(%rbx)
leaq 0x3ebfe(%rip), %rsi     # 0x7a813
movq %rbx, %rdi
callq 0x45d0
testq %rax, %rax
je 0x3bc63
movq 0x6c37f(%rip), %rcx     # 0xa7fa8
cmpq %rax, (%rcx)
je 0x3bbb3
movq 0x6c353(%rip), %rcx     # 0xa7f88
cmpq %rax, (%rcx)
je 0x3bbb3
movq %rax, %rdi
callq 0x4550
testl %eax, %eax
je 0x3bbb3
leaq 0x533a7(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
jmp 0x3bbb3
movq 0x6f266(%rip), %rax     # 0xaaed0
movl $0x70697a, 0x3(%rax)    # imm = 0x70697A
movl $0x7a6e7567, (%rax)     # imm = 0x7A6E7567
jmp 0x3bbb3
callq 0x561c
jmp 0x3bb3b
callq 0x566c
jmp 0x3bbc1
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: int cimg_library::cimg::fread<unsigned char>(unsigned char*, unsigned long, _IO_FILE*)
inline int fread(T *const ptr, const unsigned long nmemb, std::FILE *stream) {
      if (!ptr || nmemb<=0 || !stream)
        throw CImgArgumentException("cimg::fread(): Invalid reading request of %u %s%s from file %p to buffer %p.",
                                    nmemb,cimg::type<T>::string(),nmemb>1?"s":"",stream,ptr);

      const unsigned long wlimitT = 63*1024*1024, wlimit = wlimitT/sizeof(T);
      unsigned long to_read = nmemb, al_read = 0, l_to_read = 0, l_al_read = 0;
      do {
        l_to_read = (to_read*sizeof(T))<wlimitT?to_read:wlimit;
        l_al_read = (unsigned long)std::fread((void*)(ptr+al_read),sizeof(T),l_to_read,stream);
        al_read+=l_al_read;
        to_read-=l_al_read;
      } while (l_to_read==l_al_read && to_read>0);
      if (to_read>0)
        warn("cimg::fread(): Only %u/%u elements could be read from file.",
             al_read,nmemb);
      return al_read;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
testq %rdi, %rdi
je 0x464ff
testq %rbx, %rbx
je 0x464ff
testq %r14, %r14
je 0x464ff
xorl %r12d, %r12d
movl $0x3f00000, %ebp        # imm = 0x3F00000
movq %rbx, 0x10(%rsp)
cmpq %rbp, %rbx
movl $0x3f00000, %r13d       # imm = 0x3F00000
cmovbq %rbx, %r13
leaq (%r15,%r12), %rdi
movl $0x1, %esi
movq %r13, %rdx
movq %r14, %rcx
callq 0x47d0
addq %rax, %r12
subq %rax, %rbx
cmpq %rax, %r13
jne 0x464d2
testq %rbx, %rbx
jne 0x464a1
testq %rbx, %rbx
je 0x464ed
leaq 0x493dc(%rip), %rdi     # 0x8f8ba
movq %r12, %rsi
movq 0x10(%rsp), %rdx
xorl %eax, %eax
callq 0xbb10
movl %r12d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r12
cmpq $0x2, %rbx
leaq 0x4a41b(%rip), %rax     # 0x90932
leaq 0x2834a(%rip), %r8      # 0x6e868
cmovaeq %rax, %r8
movq %r15, (%rsp)
leaq 0x49340(%rip), %rsi     # 0x8f86d
leaq 0x342d3(%rip), %rcx     # 0x7a807
movq %r12, %rdi
movq %rbx, %rdx
movq %r14, %r9
xorl %eax, %eax
callq 0xc16a
leaq 0x61705(%rip), %rsi     # 0xa7c50
movq 0x61a7e(%rip), %rdx     # 0xa7fd0
movq %r12, %rdi
callq 0x4910
movq %rax, %rbx
movq %r12, %rdi
callq 0x43c0
movq %rbx, %rdi
callq 0x4960
nop
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::cimg::dcraw_path(char const*, bool)
inline const char *dcraw_path(const char *const user_path=0, const bool reinit_path=false) {
      static char *s_path = 0;
      cimg::mutex(7);
      if (reinit_path) { delete[] s_path; s_path = 0; }
      if (user_path) {
        if (!s_path) s_path = new char[1024];
        std::memset(s_path,0,1024);
        std::strncpy(s_path,user_path,1023);
      } else if (!s_path) {
        s_path = new char[1024];
        std::memset(s_path,0,1024);
        bool path_found = false;
        std::FILE *file = 0;
#if cimg_OS==2
        if (!path_found) {
          std::strcpy(s_path,".\\dcraw.exe");
          if ((file=std::fopen(s_path,"r"))!=0) { cimg::fclose(file); path_found = true; }
        }
        if (!path_found) std::strcpy(s_path,"dcraw.exe");
#else
        if (!path_found) {
          std::strcpy(s_path,"./dcraw");
          if ((file=std::fopen(s_path,"r"))!=0) { cimg::fclose(file); path_found = true; }
        }
        if (!path_found) std::strcpy(s_path,"dcraw");
#endif
        winformat_string(s_path);
      }
      cimg::mutex(7,0);
      return s_path;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movb 0x5f056(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x49b96
leaq 0x5ec5f(%rip), %rdi     # 0xa86c0
callq 0x47a0
testb %bpl, %bpl
je 0x49a87
movq 0x61466(%rip), %rdi     # 0xaaed8
testq %rdi, %rdi
je 0x49a7c
callq 0x4690
movq $0x0, 0x61451(%rip) # 0xaaed8
movq 0x6144a(%rip), %r14     # 0xaaed8
testq %rbx, %rbx
je 0x49acd
testq %r14, %r14
jne 0x49aac
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %r14
movq %rax, 0x6142c(%rip)     # 0xaaed8
movl $0x400, %edx            # imm = 0x400
movq %r14, %rdi
xorl %esi, %esi
callq 0x4290
movl $0x3ff, %edx            # imm = 0x3FF
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4240
jmp 0x49ad2
testq %r14, %r14
je 0x49af8
movb 0x5efd0(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x49ba0
leaq 0x5ebd9(%rip), %rdi     # 0xa86c0
callq 0x43f0
movq 0x613e5(%rip), %rax     # 0xaaed8
popq %rbx
popq %r14
popq %rbp
retq
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %rbx
movq %rax, 0x613cc(%rip)     # 0xaaed8
leaq 0x8(%rax), %rdi
movl $0x3f8, %edx            # imm = 0x3F8
xorl %esi, %esi
callq 0x4290
movabsq $0x77617263642f2e, %rax # imm = 0x77617263642F2E
movq %rax, (%rbx)
leaq 0x30ce3(%rip), %rsi     # 0x7a813
movq %rbx, %rdi
callq 0x45d0
testq %rax, %rax
je 0x49b7e
movq 0x5e464(%rip), %rcx     # 0xa7fa8
cmpq %rax, (%rcx)
je 0x49ad2
movq 0x5e438(%rip), %rcx     # 0xa7f88
cmpq %rax, (%rcx)
je 0x49ad2
movq %rax, %rdi
callq 0x4550
testl %eax, %eax
je 0x49ad2
leaq 0x4548c(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
jmp 0x49ad2
movq 0x61353(%rip), %rax     # 0xaaed8
movw $0x77, 0x4(%rax)
movl $0x61726364, (%rax)     # imm = 0x61726364
jmp 0x49ad2
callq 0x56bc
jmp 0x49a5a
callq 0x570c
jmp 0x49ae0
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::normalize(double, double)
CImg<T>& normalize(const T min_value, const T max_value) {
      if (is_empty()) return *this;
      const T a = min_value<max_value?min_value:max_value, b = min_value<max_value?max_value:min_value;
      T m, M = max_min(m);
      const Tfloat fm = (Tfloat)m, fM = (Tfloat)M;
      if (m==M) return fill(min_value);
      if (m!=a || M!=b)
#ifdef cimg_use_openmp
#pragma omp parallel for if (size()>=65536)
#endif
        cimg_rof(*this,ptrd,T) *ptrd = (T)((*ptrd-fm)/(fM-fm)*(b-a)+a);
      return *this;
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
cmpq $0x0, 0x18(%rdi)
je 0x5ae8a
movdqu (%rbx), %xmm3
pxor %xmm2, %xmm2
pcmpeqd %xmm3, %xmm2
movmskps %xmm2, %eax
testb %al, %al
jne 0x5ae8a
movsd %xmm0, (%rsp)
movsd %xmm1, 0x8(%rsp)
leaq 0x10(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5ae96
movsd (%rax), %xmm0
movsd (%r14), %xmm1
ucomisd %xmm0, %xmm1
jne 0x5ae12
jp 0x5ae12
movq %rbx, %rdi
movsd (%rsp), %xmm0
callq 0x37330
movq %rax, %rbx
jmp 0x5ae8a
movsd (%rsp), %xmm3
movapd %xmm3, %xmm2
movsd 0x8(%rsp), %xmm4
minsd %xmm4, %xmm2
maxsd %xmm3, %xmm4
ucomisd %xmm4, %xmm0
jne 0x5ae39
jp 0x5ae39
ucomisd %xmm2, %xmm1
jne 0x5ae39
jnp 0x5ae8a
movq 0x18(%rbx), %rax
movl (%rbx), %ecx
movl 0x4(%rbx), %edx
imulq %rcx, %rdx
movl 0x8(%rbx), %ecx
movl 0xc(%rbx), %esi
imulq %rcx, %rsi
imulq %rdx, %rsi
leaq (%rax,%rsi,8), %rcx
addq $-0x8, %rcx
cmpq %rax, %rcx
jb 0x5ae8a
subsd %xmm1, %xmm0
subsd %xmm2, %xmm4
movsd (%rcx), %xmm3
subsd %xmm1, %xmm3
divsd %xmm0, %xmm3
mulsd %xmm4, %xmm3
addsd %xmm2, %xmm3
movsd %xmm3, (%rcx)
addq $-0x8, %rcx
cmpq %rax, %rcx
jae 0x5ae69
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
nop