LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: double& cimg_library::CImg<double>::max_min<double>(double&)
T& max_min(t& min_val) {
      if (is_empty())
        throw CImgInstanceException(_cimg_instance
                                    "max_min(): Empty instance.",
                                    cimg_instance);
      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 0x5af1e
movl (%rbx), %edx
testl %edx, %edx
je 0x5af1e
movl 0x4(%rbx), %ecx
testl %ecx, %ecx
je 0x5af1e
movl 0x8(%rbx), %r8d
testl %r8d, %r8d
je 0x5af1e
movl 0xc(%rbx), %edi
testl %edi, %edi
je 0x5af1e
imulq %rdx, %rcx
imulq %r8, %rdi
movsd (%rax), %xmm0
imulq %rcx, %rdi
testq %rdi, %rdi
jle 0x5af0e
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 0x5aee3
jmp 0x5af12
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 0x13929(%rip), %rax     # 0x6e868
leaq 0x14cfc(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x341c6(%rip), %r11     # 0x8f11f
leaq 0x33a7f(%rip), %rsi     # 0x8e9df
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xbfac
addq $0x20, %rsp
leaq 0x4ccbc(%rip), %rsi     # 0xa7c38
movq 0x4d04d(%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::CImg<double>::save_tiff(char const*, unsigned int, float const*, char const*) const
const CImg<T>& save_tiff(const char *const filename, const unsigned int compression_type=0,
                             const float *const voxel_size=0, const char *const description=0) const {
      if (!filename)
        throw CImgArgumentException(_cimg_instance
                                    "save_tiff(): Specified filename is (null).",
                                    cimg_instance);
      if (is_empty()) { cimg::fempty(0,filename); return *this; }

#ifdef cimg_use_tiff
      TIFF *tif = TIFFOpen(filename,"w");
      if (tif) {
        cimg_forZ(*this,z) get_slice(z)._save_tiff(tif,z,compression_type,voxel_size,description);
        TIFFClose(tif);
      } else throw CImgIOException(_cimg_instance
                                   "save_tiff(): Failed to open file '%s' for writing.",
                                   cimg_instance,
                                   filename);
      return *this;
#else
      cimg::unused(compression_type,voxel_size,description);
      return save_other(filename);
#endif
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x5b24a
cmpq $0x0, 0x18(%rbx)
je 0x5b1e4
movdqu (%rbx), %xmm0
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %eax
testb %al, %al
jne 0x5b1e4
movq %rbx, %rdi
movl $0x64, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5c6de
leaq 0x33e72(%rip), %rax     # 0x8f05d
movq %rsi, %rdi
movq %rax, %rsi
callq 0x3b111
testq %rax, %rax
je 0x5b231
movq 0x4cda6(%rip), %rcx     # 0xa7fa8
cmpq %rax, (%rcx)
je 0x5b23f
movq 0x4cd7a(%rip), %rcx     # 0xa7f88
cmpq %rax, (%rcx)
je 0x5b23f
movq %rax, %rdi
callq 0x4550
testl %eax, %eax
je 0x5b23f
leaq 0x33dd6(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
jmp 0x5b23f
leaq 0x33d9a(%rip), %rdi     # 0x8efd2
xorl %eax, %eax
callq 0xbb10
movq %rbx, %rax
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 0x135fd(%rip), %rax     # 0x6e868
leaq 0x149d0(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x33e9a(%rip), %r11     # 0x8f11f
leaq 0x3730b(%rip), %rsi     # 0x92597
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc16a
addq $0x20, %rsp
leaq 0x4c9a8(%rip), %rsi     # 0xa7c50
movq 0x4cd21(%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::CImg<double>::save_minc2(char const*, char const*) const
const CImg<T>& save_minc2(const char *const filename,
                              const char *const imitate_file=0) const {
      if (!filename)
        throw CImgArgumentException(_cimg_instance
                                   "save_minc2(): Specified filename is (null).",
                                   cimg_instance);
      if (is_empty()) { cimg::fempty(0,filename); return *this; }

#ifndef cimg_use_minc2
     cimg::unused(imitate_file);
     return save_other(filename);
#else
     minc::minc_1_writer wtr;
     if (imitate_file)
       wtr.open(filename, imitate_file);
     else {
       minc::minc_info di;
       if(width()) di.push_back(minc::dim_info(width(), width()*0.5, -1, minc::dim_info::DIM_X));
       if(height()) di.push_back(minc::dim_info(height(), height()*0.5, -1, minc::dim_info::DIM_Y));
       if(depth()) di.push_back(minc::dim_info(depth(), depth()*0.5, -1, minc::dim_info::DIM_Z));
       if(spectrum()) di.push_back(minc::dim_info(spectrum(), spectrum()*0.5, -1, minc::dim_info::DIM_TIME));
       wtr.open(filename, di, 1, NC_FLOAT, 0);
     }
     if(typeid(T)==typeid(unsigned char))
       wtr.setup_write_byte();
     else if(typeid(T)==typeid(int))
       wtr.setup_write_int();
     else if(typeid(T)==typeid(double))
       wtr.setup_write_double();
     else
       wtr.setup_write_float();
     minc::save_standard_volume(wtr, this->_data);
     return *this;
#endif
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x5bf16
cmpq $0x0, 0x18(%rbx)
je 0x5beb0
movdqu (%rbx), %xmm0
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %eax
testb %al, %al
jne 0x5beb0
movq %rbx, %rdi
movl $0x64, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5c6de
leaq 0x331a6(%rip), %rax     # 0x8f05d
movq %rsi, %rdi
movq %rax, %rsi
callq 0x3b111
testq %rax, %rax
je 0x5befd
movq 0x4c0da(%rip), %rcx     # 0xa7fa8
cmpq %rax, (%rcx)
je 0x5bf0b
movq 0x4c0ae(%rip), %rcx     # 0xa7f88
cmpq %rax, (%rcx)
je 0x5bf0b
movq %rax, %rdi
callq 0x4550
testl %eax, %eax
je 0x5bf0b
leaq 0x3310a(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
jmp 0x5bf0b
leaq 0x330ce(%rip), %rdi     # 0x8efd2
xorl %eax, %eax
callq 0xbb10
movq %rbx, %rax
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 0x12931(%rip), %rax     # 0x6e868
leaq 0x13d04(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x331ce(%rip), %r11     # 0x8f11f
leaq 0x369b0(%rip), %rsi     # 0x92908
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc16a
addq $0x20, %rsp
leaq 0x4bcdc(%rip), %rsi     # 0xa7c50
movq 0x4c055(%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::CImg<double>::save_video(char const*, unsigned int, char const*, bool) const
const CImg<T>& save_video(const char *const filename, const unsigned int fps=25,
                              const char *codec=0, const bool keep_open=false) const {
      if (is_empty()) { CImgList<T>().save_video(filename,fps,codec,keep_open); return *this; }
      CImgList<T> list;
      get_split('z').move_to(list);
      list.save_video(filename,fps,codec,keep_open);
      return *this;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, 0x18(%rdi)
pxor %xmm0, %xmm0
je 0x5c68a
movdqu (%rbx), %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %eax
testb %al, %al
jne 0x5c68a
movdqa %xmm0, (%rsp)
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
movl $0x7a, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x61bd8
leaq 0x10(%rsp), %rdi
movq %rsp, %rsi
callq 0x63ae6
leaq 0x10(%rsp), %rdi
callq 0xb6ea
movq %rsp, %rdi
movq %r14, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
movl $0x800, %r8d            # imm = 0x800
callq 0x63bb2
jmp 0x5c6a3
movq %rsp, %rdi
movdqa %xmm0, (%rdi)
movq %r14, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
movl $0x800, %r8d            # imm = 0x800
callq 0x63bb2
movq %rsp, %rdi
callq 0xb6ea
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x5c6ca
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xb6ea
jmp 0x5c6cd
jmp 0x5c6ca
movq %rax, %rbx
movq %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::fempty(_IO_FILE*, char const*)
inline void fempty(std::FILE *const file, const char *const filename) {
      if (!file && !filename)
        throw CImgArgumentException("cimg::file_type(): Specified filename is (null).");
      std::FILE *const nfile = file?file:cimg::fopen(filename,"wb");
      if (!file) cimg::fclose(nfile);
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rax
orq %rsi, %rax
je 0x5ce8e
testq %rdi, %rdi
je 0x5ce27
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x3222f(%rip), %rax     # 0x8f05d
movq %rsi, %rdi
movq %rax, %rsi
callq 0x3b111
testq %rax, %rax
je 0x5ce79
movq 0x4b163(%rip), %rcx     # 0xa7fa8
cmpq %rax, (%rcx)
je 0x5ce1f
movq 0x4b137(%rip), %rcx     # 0xa7f88
cmpq %rax, (%rcx)
je 0x5ce1f
movq %rax, %rdi
callq 0x4550
testl %eax, %eax
je 0x5ce1f
leaq 0x32193(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xbb10
leaq 0x32152(%rip), %rdi     # 0x8efd2
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xbb10
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %rbx
leaq 0x34318(%rip), %rsi     # 0x911ba
movq %rax, %rdi
xorl %eax, %eax
callq 0xc16a
leaq 0x4ad9d(%rip), %rsi     # 0xa7c50
movq 0x4b116(%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: int cimg_library::cimg::fwrite<unsigned short>(unsigned short const*, unsigned long, _IO_FILE*)
inline int fwrite(const T *ptr, const unsigned long nmemb, std::FILE *stream) {
      if (!ptr || !stream)
        throw CImgArgumentException("cimg::fwrite(): Invalid writing request of %u %s%s from buffer %p to file %p.",
                                    nmemb,cimg::type<T>::string(),nmemb>1?"s":"",ptr,stream);
      if (nmemb<=0) return 0;
      const unsigned long wlimitT = 63*1024*1024, wlimit = wlimitT/sizeof(T);
      unsigned long to_write = nmemb, al_write = 0, l_to_write = 0, l_al_write = 0;
      do {
        l_to_write = (to_write*sizeof(T))<wlimitT?to_write:wlimit;
        l_al_write = (unsigned long)std::fwrite((void*)(ptr+al_write),sizeof(T),l_to_write,stream);
        al_write+=l_al_write;
        to_write-=l_al_write;
      } while (l_to_write==l_al_write && to_write>0);
      if (to_write>0)
        warn("cimg::fwrite(): Only %u/%u elements could be written in file.",
             al_write,nmemb);
      return al_write;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
testq %rdi, %rdi
je 0x5f116
testq %r15, %r15
je 0x5f116
xorl %r12d, %r12d
testq %rbx, %rbx
je 0x5f104
movq %rbx, %rbp
leaq (,%rbp,2), %rax
cmpq $0x3f00000, %rax        # imm = 0x3F00000
movl $0x1f80000, %r13d       # imm = 0x1F80000
cmovbq %rbp, %r13
leaq (%r14,%r12,2), %rdi
movl $0x2, %esi
movq %r13, %rdx
movq %r15, %rcx
callq 0x4a80
addq %rax, %r12
subq %rax, %rbp
cmpq %rax, %r13
jne 0x5f0eb
testq %rbp, %rbp
jne 0x5f0af
testq %rbp, %rbp
je 0x5f104
leaq 0x32b0e(%rip), %rdi     # 0x91c05
movq %r12, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xbb10
movl %r12d, %eax
addq $0x8, %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 0x31804(%rip), %rax     # 0x90932
leaq 0xf733(%rip), %r8       # 0x6e868
cmovaeq %rax, %r8
movq %r15, (%rsp)
leaq 0x32a73(%rip), %rsi     # 0x91bb7
leaq 0x30bb6(%rip), %rcx     # 0x8fd01
movq %r12, %rdi
movq %rbx, %rdx
movq %r14, %r9
xorl %eax, %eax
callq 0xc16a
leaq 0x48aee(%rip), %rsi     # 0xa7c50
movq 0x48e67(%rip), %rdx     # 0xa7fd0
movq %r12, %rdi
callq 0x4910
movq %rax, %rbx
movq %r12, %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::CImg<double>::max() const
const T& max() const {
      if (is_empty())
        throw CImgInstanceException(_cimg_instance
                                    "max(): Empty instance.",
                                    cimg_instance);
      const T *ptr_max = _data;
      T max_value = *ptr_max;
      cimg_for(*this,ptrs,T) if (*ptrs>max_value) max_value = *(ptr_max=ptrs);
      return *ptr_max;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0x5f4f6
movl (%rbx), %edx
testl %edx, %edx
je 0x5f4f6
movl 0x4(%rbx), %ecx
testl %ecx, %ecx
je 0x5f4f6
movl 0x8(%rbx), %edi
testl %edi, %edi
je 0x5f4f6
movl 0xc(%rbx), %esi
testl %esi, %esi
je 0x5f4f6
imulq %rdx, %rcx
imulq %rdi, %rsi
imulq %rcx, %rsi
testq %rsi, %rsi
jle 0x5f4ee
leaq (%rax,%rsi,8), %rcx
movsd (%rax), %xmm0
movq %rax, %rdx
movsd (%rdx), %xmm1
ucomisd %xmm0, %xmm1
cmovaq %rdx, %rax
maxsd %xmm0, %xmm1
addq $0x8, %rdx
movapd %xmm1, %xmm0
cmpq %rcx, %rdx
jb 0x5f4d1
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 0xf351(%rip), %rax      # 0x6e868
leaq 0x10724(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x2fbee(%rip), %r11     # 0x8f11f
leaq 0x32dc0(%rip), %rsi     # 0x922f8
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xbfac
addq $0x20, %rsp
leaq 0x486e4(%rip), %rsi     # 0xa7c38
movq 0x48a75(%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::cimg::gzip_path(char const*, bool)
inline const char *gzip_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,".\\gzip.exe");
          if ((file=std::fopen(s_path,"r"))!=0) { cimg::fclose(file); path_found = true; }
        }
        if (!path_found) std::strcpy(s_path,"gzip.exe");
#else
        if (!path_found) {
          std::strcpy(s_path,"./gzip");
          if ((file=std::fopen(s_path,"r"))!=0) { cimg::fclose(file); path_found = true; }
        }
        if (!path_found) std::strcpy(s_path,"gzip");
#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 0x47026(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x61bc4
leaq 0x46c2f(%rip), %rdi     # 0xa86c0
callq 0x47a0
testb %bpl, %bpl
je 0x61ab7
movq 0x49446(%rip), %rdi     # 0xaaee8
testq %rdi, %rdi
je 0x61aac
callq 0x4690
movq $0x0, 0x49431(%rip) # 0xaaee8
movq 0x4942a(%rip), %r14     # 0xaaee8
testq %rbx, %rbx
je 0x61afd
testq %r14, %r14
jne 0x61adc
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %r14
movq %rax, 0x4940c(%rip)     # 0xaaee8
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 0x61b02
testq %r14, %r14
je 0x61b28
movb 0x46fa0(%rip), %al      # 0xa8aa8
testb %al, %al
je 0x61bce
leaq 0x46ba9(%rip), %rdi     # 0xa86c0
callq 0x43f0
movq 0x493c5(%rip), %rax     # 0xaaee8
popq %rbx
popq %r14
popq %rbp
retq
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %rbx
movq %rax, 0x493ac(%rip)     # 0xaaee8
leaq 0x7(%rax), %rdi
movl $0x3f9, %edx            # imm = 0x3F9
xorl %esi, %esi
callq 0x4290
movl $0x7a672f2e, (%rbx)     # imm = 0x7A672F2E
movl $0x70697a, 0x3(%rbx)    # imm = 0x70697A
leaq 0x18cb3(%rip), %rsi     # 0x7a813
movq %rbx, %rdi
callq 0x45d0
testq %rax, %rax
je 0x61bae
movq 0x46434(%rip), %rcx     # 0xa7fa8
cmpq %rax, (%rcx)
je 0x61b02
movq 0x46408(%rip), %rcx     # 0xa7f88
cmpq %rax, (%rcx)
je 0x61b02
movq %rax, %rdi
callq 0x4550
testl %eax, %eax
je 0x61b02
leaq 0x2d45c(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
jmp 0x61b02
movq 0x49333(%rip), %rax     # 0xaaee8
movb $0x0, 0x4(%rax)
movl $0x70697a67, (%rax)     # imm = 0x70697A67
jmp 0x61b02
callq 0x5816
jmp 0x61a8a
callq 0x5866
jmp 0x61b10
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>& cimg_library::CImg<double>::_solve<double, double>(cimg_library::CImg<double> const&, cimg_library::CImg<double> const&)
CImg<T>& _solve(const CImg<t>& A, const CImg<ti>& indx) {
      typedef _cimg_Ttfloat Ttfloat;
      const int N = size();
      int ii = -1;
      Ttfloat sum;
      for (int i = 0; i<N; ++i) {
        const int ip = (int)indx[i];
        Ttfloat sum = (*this)(ip);
        (*this)(ip) = (*this)(i);
        if (ii>=0) for (int j = ii; j<=i-1; ++j) sum-=A(j,i)*(*this)(j);
        else if (sum!=0) ii = i;
        (*this)(i) = (T)sum;
      }
      for (int i = N - 1; i>=0; --i) {
        sum = (*this)(i);
        for (int j = i + 1; j<N; ++j) sum-=A(j,i)*(*this)(j);
        (*this)(i) = (T)(sum/A(i,i));
      }
      return *this;
    }

// Assembly:
movq %rdi, %rax
movl 0x4(%rdi), %ecx
imull (%rdi), %ecx
imull 0x8(%rdi), %ecx
imull 0xc(%rdi), %ecx
testl %ecx, %ecx
jle 0x659e3
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0x18(%rdx), %rdi
movq 0x18(%rax), %r8
movq 0x18(%rsi), %r9
movl (%rsi), %r10d
movl %ecx, %edx
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
xorl %r11d, %r11d
xorpd %xmm0, %xmm0
xorl %r14d, %r14d
cvttsd2si (%rdi,%r14,8), %r15d
movsd (%r8,%r15,8), %xmm1
movsd (%r8,%r14,8), %xmm2
movsd %xmm2, (%r8,%r15,8)
testl %ebx, %ebx
js 0x65945
movl %ebx, %r15d
cmpq %r15, %r14
jbe 0x65950
leal (%r11,%r15), %r12d
movsd (%r9,%r12,8), %xmm2
mulsd (%r8,%r15,8), %xmm2
subsd %xmm2, %xmm1
incq %r15
cmpq %r15, %r14
jne 0x65927
jmp 0x65950
ucomisd %xmm0, %xmm1
jne 0x6594d
jnp 0x65950
movl %r14d, %ebx
movsd %xmm1, (%r8,%r14,8)
incq %r14
addq %r10, %r11
cmpq %rdx, %r14
jne 0x65903
testl %ecx, %ecx
jle 0x659db
movq 0x18(%rax), %rdi
movq 0x18(%rsi), %r8
movl (%rsi), %esi
leal 0x1(%rsi), %r9d
leal -0x1(%rcx), %r10d
imull %esi, %r10d
addl %ecx, %r10d
notl %esi
leaq (%rdi,%rdx,8), %r11
movq %rdx, %rbx
movsd -0x8(%rdi,%rbx,8), %xmm0
cmpq %rdx, %rbx
jge 0x659b4
xorl %r14d, %r14d
leal (%r10,%r14), %r15d
movsd (%r8,%r15,8), %xmm1
mulsd (%r11,%r14,8), %xmm1
subsd %xmm1, %xmm0
incq %r14
leal (%rbx,%r14), %ebp
cmpl %ebp, %ecx
jg 0x65995
leaq -0x1(%rbx), %r14
movl %r9d, %r15d
imull %r14d, %r15d
divsd (%r8,%r15,8), %xmm0
movsd %xmm0, (%rdi,%r14,8)
addq %rsi, %r10
addq $-0x8, %r11
cmpq $0x1, %rbx
movq %r14, %rbx
jg 0x65987
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::transpose()
CImg<T>& transpose() {
      if (_width==1) { _width = _height; _height = 1; return *this; }
      if (_height==1) { _height = _width; _width = 1; return *this; }
      if (_width==_height) {
        cimg_forYZC(*this,y,z,c) for (int x = y; x<width(); ++x) cimg::swap((*this)(x,y,z,c),(*this)(y,x,z,c));
        return *this;
      }
      return get_transpose().move_to(*this);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movl (%rdi), %eax
movl 0x4(%rdi), %ecx
cmpq $0x1, %rax
jne 0x66fe6
movl %ecx, (%rbx)
movl $0x1, 0x4(%rbx)
jmp 0x67115
cmpl $0x1, %ecx
jne 0x66ff9
movl %eax, 0x4(%rbx)
movl $0x1, (%rbx)
jmp 0x67115
cmpl %ecx, %eax
jne 0x670ce
movslq 0xc(%rbx), %rcx
movq %rcx, 0x18(%rsp)
testq %rcx, %rcx
jle 0x67115
movslq %eax, %rdx
movl 0x8(%rbx), %esi
movq %rax, %rdi
imulq %rax, %rdi
movq %rdi, %rcx
imulq %rsi, %rcx
shlq $0x3, %rcx
movq %rcx, 0x10(%rsp)
shlq $0x3, %rdi
leaq (,%rax,8), %r9
leaq 0x8(,%rax,8), %r10
movq $0x0, 0x8(%rsp)
xorl %r14d, %r14d
testl %esi, %esi
jle 0x670b3
movq 0x8(%rsp), %r15
xorl %r12d, %r12d
testl %eax, %eax
jle 0x670a8
movq 0x18(%rbx), %r11
addq %r15, %r11
movq %rax, %rbp
xorl %ecx, %ecx
cmpq %rdx, %rcx
jge 0x6709a
xorl %r8d, %r8d
movq %r11, %r13
movsd (%r11,%r8,8), %xmm0
movsd (%r13), %xmm1
movsd %xmm1, (%r11,%r8,8)
movsd %xmm0, (%r13)
addq %r9, %r13
incq %r8
cmpq %r8, %rbp
jne 0x67077
incq %rcx
addq %r10, %r11
decq %rbp
cmpq %rax, %rcx
jne 0x6706c
incq %r12
addq %rdi, %r15
cmpq %rsi, %r12
jne 0x6705c
incq %r14
movq 0x8(%rsp), %rcx
addq 0x10(%rsp), %rcx
movq %rcx, 0x8(%rsp)
cmpq 0x18(%rsp), %r14
jne 0x67050
jmp 0x67115
leaq 0x40(%rsp), %rcx
movq $0x0, (%rcx)
leaq 0x275cc(%rip), %rdx     # 0x8e6ad
leaq 0x20(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x67b6e
movq %r14, %rdi
movq %rbx, %rsi
callq 0xb678
movq %rax, %rbx
cmpb $0x0, 0x30(%rsp)
jne 0x67115
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x67115
callq 0x4690
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
cmpb $0x0, 0x30(%rsp)
jne 0x67140
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x67140
callq 0x4690
movq %rbx, %rdi
callq 0x4960
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>& cimg_library::CImg<double>::sort<int>(cimg_library::CImg<int>&, bool)
CImg<T>& sort(CImg<t>& permutations, const bool is_increasing=true) {
      permutations.assign(_width,_height,_depth,_spectrum);
      if (is_empty()) return *this;
      cimg_foroff(permutations,off) permutations[off] = (t)off;
      return _quicksort(0,size()-1,permutations,is_increasing,true);
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movl (%rdi), %esi
movl 0x4(%rdi), %edx
movl 0x8(%rdi), %ecx
movl 0xc(%rdi), %r8d
movq %rbx, %rdi
callq 0x4656e
cmpq $0x0, 0x18(%r14)
sete %cl
movl (%r14), %eax
movl 0x4(%r14), %edx
testl %eax, %eax
sete %sil
orb %cl, %sil
testl %edx, %edx
sete %dil
movl 0x8(%r14), %ecx
testl %ecx, %ecx
sete %r8b
orb %dil, %r8b
orb %sil, %r8b
movl 0xc(%r14), %esi
testl %esi, %esi
sete %dil
orb %r8b, %dil
je 0x6776f
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
movl (%rbx), %edi
movl 0x4(%rbx), %r8d
imulq %rdi, %r8
movl 0x8(%rbx), %r9d
movl 0xc(%rbx), %edi
imulq %r9, %rdi
imulq %r8, %rdi
testq %rdi, %rdi
je 0x67833
movq 0x18(%rbx), %rax
leaq 0x1(%rdi), %rcx
andq $-0x2, %rcx
decq %rdi
movq %rdi, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa 0x69be(%rip), %xmm1     # 0x6e170
xorl %edx, %edx
movdqa 0x69c4(%rip), %xmm2     # 0x6e180
pxor %xmm2, %xmm0
pcmpeqd %xmm3, %xmm3
movdqa 0x69c4(%rip), %xmm4     # 0x6e190
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %esi
notl %esi
testb $0x1, %sil
je 0x67801
movl %edx, (%rax,%rdx,4)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %esi
testb $0x1, %sil
je 0x67817
leal 0x1(%rdx), %esi
movl %esi, 0x4(%rax,%rdx,4)
addq $0x2, %rdx
paddq %xmm4, %xmm1
cmpq %rdx, %rcx
jne 0x677cc
movl (%r14), %eax
movl 0x4(%r14), %edx
movl 0x8(%r14), %ecx
movl 0xc(%r14), %esi
imull %ecx, %esi
imull %eax, %edx
imull %esi, %edx
decl %edx
movzbl %bpl, %r8d
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rcx
movl $0x1, %r9d
popq %rbx
popq %r14
popq %rbp
jmp 0x6785a
nop
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::get_diagonal() const
CImg<T> get_diagonal() const {
      if (is_empty()) return *this;
      CImg<T> res(size(),size(),1,1,0);
      cimg_foroff(*this,off) res(off,off) = (*this)(off);
      return res;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, 0x18(%rsi)
sete %dl
movl (%rsi), %ecx
movl 0x4(%rsi), %eax
testl %ecx, %ecx
sete %sil
orb %dl, %sil
testl %eax, %eax
sete %dil
movl 0x8(%r14), %edx
testl %edx, %edx
sete %r8b
orb %dil, %r8b
orb %sil, %r8b
movl 0xc(%r14), %esi
testl %esi, %esi
sete %dil
orb %r8b, %dil
cmpb $0x1, %dil
jne 0x69a20
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8a36
jmp 0x69a8e
imull %ecx, %eax
imull %esi, %edx
imull %eax, %edx
xorps %xmm0, %xmm0
movq %rbx, %rdi
movl %edx, %esi
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x71ae
movl (%r14), %eax
movl 0x4(%r14), %ecx
imulq %rax, %rcx
movl 0x8(%r14), %edx
movl 0xc(%r14), %eax
imulq %rdx, %rax
imulq %rcx, %rax
testq %rax, %rax
je 0x69a8e
movq 0x18(%r14), %rcx
movq 0x18(%rbx), %rdx
movl (%rbx), %esi
incl %esi
xorl %edi, %edi
xorl %r8d, %r8d
movl %r8d, %r9d
movsd (%rcx,%r9,8), %xmm0
movl %edi, %r9d
movsd %xmm0, (%rdx,%r9,8)
incq %r8
addl %esi, %edi
cmpq %r8, %rax
jne 0x69a72
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::get_pseudoinvert() const
CImg<Tfloat> get_pseudoinvert() const {
      CImg<Tfloat> U, S, V;
      SVD(U,S,V);
      const Tfloat tolerance = (sizeof(Tfloat)<=4?5.96e-8f:1.11e-16f)*cimg::max(_width,_height)*S.max();
      cimg_forX(V,x) {
        const Tfloat s = S(x), invs = s>tolerance?1/s:(Tfloat)0;
        cimg_forY(V,y) V(x,y)*=invs;
      }
      return V*U.transpose();
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorl %eax, %eax
leaq 0x40(%rsp), %rsi
movq %rax, 0x18(%rsi)
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsi)
movb %al, 0x10(%rsi)
leaq 0x20(%rsp), %rdx
movq %rax, 0x18(%rdx)
movapd %xmm0, (%rdx)
movb %al, 0x10(%rdx)
movq %rsp, %rcx
movq %rax, 0x18(%rcx)
movapd %xmm0, (%rcx)
movb %al, 0x10(%rcx)
xorpd %xmm0, %xmm0
movq %r14, %rdi
movl $0x1, %r8d
movl $0x28, %r9d
callq 0x659e4
movl (%r14), %ebp
movl 0x4(%r14), %r14d
leaq 0x20(%rsp), %rdi
callq 0x69cc8
cmpl %r14d, %ebp
cmoval %ebp, %r14d
movslq (%rsp), %rcx
testq %rcx, %rcx
jle 0x69c12
xorps %xmm0, %xmm0
cvtsi2ss %r14, %xmm0
mulss 0x4795(%rip), %xmm0     # 0x6e340
cvtss2sd %xmm0, %xmm0
mulsd (%rax), %xmm0
movq 0x38(%rsp), %rax
movl 0x4(%rsp), %edx
movq 0x18(%rsp), %rsi
xorl %edi, %edi
movsd 0x4445(%rip), %xmm1     # 0x6e010
testl %edx, %edx
jle 0x69c0a
movsd (%rax,%rdi,8), %xmm3
movapd %xmm1, %xmm4
divsd %xmm3, %xmm4
movapd %xmm0, %xmm2
cmpltsd %xmm3, %xmm2
andpd %xmm4, %xmm2
movq %rdx, %r8
movl %edi, %r9d
movl %r9d, %r10d
movsd (%rsi,%r10,8), %xmm3
mulsd %xmm2, %xmm3
movsd %xmm3, (%rsi,%r10,8)
addl %ecx, %r9d
decq %r8
jne 0x69bef
incq %rdi
cmpq %rcx, %rdi
jne 0x69bcb
leaq 0x40(%rsp), %rdi
callq 0x66fbc
movq %rsp, %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x671b2
cmpb $0x0, 0x10(%rsp)
jne 0x69c40
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x69c40
callq 0x4690
cmpb $0x0, 0x30(%rsp)
jne 0x69c56
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x69c56
callq 0x4690
cmpb $0x0, 0x50(%rsp)
jne 0x69c6c
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x69c6c
callq 0x4690
movq %rbx, %rax
addq $0x60, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x69c7a
movq %rax, %rbx
cmpb $0x0, 0x10(%rsp)
jne 0x69c93
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x69c93
callq 0x4690
cmpb $0x0, 0x30(%rsp)
jne 0x69ca9
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x69ca9
callq 0x4690
cmpb $0x0, 0x50(%rsp)
jne 0x69cbf
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x69cbf
callq 0x4690
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>::max()
T& max() {
      if (is_empty())
        throw CImgInstanceException(_cimg_instance
                                    "max(): Empty instance.",
                                    cimg_instance);
      T *ptr_max = _data;
      T max_value = *ptr_max;
      cimg_for(*this,ptrs,T) if (*ptrs>max_value) max_value = *(ptr_max=ptrs);
      return *ptr_max;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0x69d34
movl (%rbx), %edx
testl %edx, %edx
je 0x69d34
movl 0x4(%rbx), %ecx
testl %ecx, %ecx
je 0x69d34
movl 0x8(%rbx), %edi
testl %edi, %edi
je 0x69d34
movl 0xc(%rbx), %esi
testl %esi, %esi
je 0x69d34
imulq %rdx, %rcx
imulq %rdi, %rsi
imulq %rcx, %rsi
testq %rsi, %rsi
jle 0x69d2c
leaq (%rax,%rsi,8), %rcx
movsd (%rax), %xmm0
movq %rax, %rdx
movsd (%rdx), %xmm1
ucomisd %xmm0, %xmm1
cmovaq %rdx, %rax
maxsd %xmm0, %xmm1
addq $0x8, %rdx
movapd %xmm1, %xmm0
cmpq %rcx, %rdx
jb 0x69d0f
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 0x4b13(%rip), %rax      # 0x6e868
leaq 0x5ee6(%rip), %r10      # 0x6fc42
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x253b0(%rip), %r11     # 0x8f11f
leaq 0x28582(%rip), %rsi     # 0x922f8
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xbfac
addq $0x20, %rsp
leaq 0x3dea6(%rip), %rsi     # 0xa7c38
movq 0x3e237(%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/siftpp/sift.cpp
// Function: VL::Detail::operator>>(std::istream&, VL::Detail::_cmnt&)
std::istream& 
operator>>(std::istream& is, _cmnt& manip)
{
  char c ;
  char b [1024] ; 
  is>>c ;
  if( c != '#' ) 
    return is.putback(c) ;
  is.getline(b,1024) ;
  return is ;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x418, %rsp            # imm = 0x418
movq %rdi, %rbx
leaq 0xf(%rsp), %r14
movq %r14, %rsi
callq 0x46a0
movb (%r14), %al
cmpb $0x23, %al
jne 0x69e00
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4530
movsbl %al, %ecx
leaq 0x10(%rsp), %rsi
movl $0x400, %edx            # imm = 0x400
movq %rbx, %rdi
callq 0x4a60
jmp 0x69e0e
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4a10
movq %rax, %rbx
movq %rbx, %rax
addq $0x418, %rsp            # imm = 0x418
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/siftpp/sift.cpp
// Function: VL::insertPgm(std::ostream&, float const*, int, int)
std::ostream& 
insertPgm(std::ostream& os, pixel_t const* im, int width, int height)
{
  os<< "P5"   << "\n"
    << width  << " "
    << height << "\n"
    << "255"  << "\n" ;
  for(int y = 0 ; y < height ; ++y) {
    for(int x = 0 ; x < width ; ++x) {
      unsigned char v = 
        (unsigned char)
        (std::max(std::min(*im++, 1.0f),0.f) * 255.0f) ;
      os << v ;
    }
  }
  return os ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x296a0(%rip), %rsi     # 0x934d8
movl $0x2, %edx
callq 0x45b0
leaq 0x24ce9(%rip), %r12     # 0x8eb32
movl $0x1, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x45b0
movq %r14, %rdi
movl %ebx, %esi
callq 0x4930
movq %rax, %r13
leaq 0x27bd5(%rip), %rsi     # 0x91a42
movl $0x1, %edx
movq %rax, %rdi
callq 0x45b0
movq %r13, %rdi
movl %ebp, %esi
callq 0x4930
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x45b0
leaq 0x2963d(%rip), %rsi     # 0x934db
movl $0x3, %edx
movq %r13, %rdi
callq 0x45b0
movl $0x1, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x45b0
movl %ebp, 0x4(%rsp)
testl %ebp, %ebp
jle 0x69f23
xorl %r13d, %r13d
movss 0x43f6(%rip), %xmm2     # 0x6e2c4
leaq 0x3(%rsp), %r12
movl %ebx, %ebp
testl %ebx, %ebx
jle 0x69f19
movss 0x43cf(%rip), %xmm0     # 0x6e2b0
minss (%r15), %xmm0
addq $0x4, %r15
xorps %xmm1, %xmm1
maxss %xmm0, %xmm1
mulss %xmm2, %xmm1
cvttss2si %xmm1, %eax
movb %al, 0x3(%rsp)
movl $0x1, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x45b0
movss 0x43af(%rip), %xmm2     # 0x6e2c4
decl %ebp
jne 0x69ed9
incl %r13d
cmpl 0x4(%rsp), %r13d
jne 0x69ed3
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/siftpp/sift.cpp
// Function: VL::Detail::copyAndUpsampleRows(float*, float const*, int, int)
void 
copyAndUpsampleRows
(pixel_t* dst, pixel_t const* src, int width, int height)
{
  for(int y = 0 ; y < height ; ++y) {
    pixel_t b, a ;
    b = a = *src++ ;
    for(int x = 0 ; x < width-1 ; ++x) {
      b = *src++ ;
      *dst = a ;         dst += height ;
      *dst = 0.5*(a+b) ; dst += height ;
      a = b ;
    }
    *dst = b ; dst += height ;
    *dst = b ; dst += height ;
    dst += 1 - width * 2 * height ;
  }  
}

// Assembly:
testl %ecx, %ecx
jle 0x6a785
pushq %rbx
movl %edx, %r8d
imull %ecx, %r8d
movl %ecx, %eax
addl %r8d, %r8d
movl $0x1, %r9d
subl %r8d, %r9d
movslq %r9d, %r8
leal -0x1(%rdx), %r9d
leaq (,%rax,8), %r10
xorl %r11d, %r11d
movss 0x3b8e(%rip), %xmm0     # 0x6e2c0
leaq 0x4(%rsi), %rbx
movss (%rsi), %xmm1
movl %r9d, %esi
cmpl $0x2, %edx
jl 0x6a765
movss (%rbx), %xmm2
movss %xmm1, (%rdi)
addss %xmm2, %xmm1
mulss %xmm0, %xmm1
movss %xmm1, (%rdi,%rax,4)
addq $0x4, %rbx
addq %r10, %rdi
movaps %xmm2, %xmm1
decl %esi
jne 0x6a742
movss %xmm1, (%rdi)
leaq (%rdi,%rax,4), %rsi
movss %xmm1, (%rsi)
leaq (%rsi,%rax,4), %rsi
leaq (%rsi,%r8,4), %rdi
incl %r11d
movq %rbx, %rsi
cmpl %ecx, %r11d
jne 0x6a732
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/siftpp/sift.cpp
// Function: VL::Detail::copyAndDownsample(float*, float const*, int, int, int)
void 
copyAndDownsample(pixel_t* dst, pixel_t const* src, 
                  int width, int height, int d)
{
  if(width < d || height < d)
    throw std::string("in siftpp: image too small");

  for(int y = 0 ; y < height ; y+=d) {
    pixel_t const * srcrowp = src + y * width ;    
    for(int x = 0 ; x < width - (d-1) ; x+=d) {     
      *dst++ = *srcrowp ;
      srcrowp += d ;
    }
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %eax
subl %r8d, %eax
jl 0x6a7df
cmpl %r8d, %ecx
jl 0x6a7df
testl %ecx, %ecx
jle 0x6a7d7
incl %eax
movslq %r8d, %r8
movslq %edx, %rdx
movl %ecx, %ecx
imulq %r8, %rdx
shlq $0x2, %rdx
xorl %r9d, %r9d
testl %eax, %eax
jle 0x6a7cc
xorl %r10d, %r10d
movss (%rsi,%r10,4), %xmm0
movss %xmm0, (%rdi)
addq $0x4, %rdi
addq %r8, %r10
cmpl %eax, %r10d
jl 0x6a7b6
addq %r8, %r9
addq %rdx, %rsi
cmpq %rcx, %r9
jl 0x6a7af
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x20, %edi
callq 0x4210
movq %rax, %rbx
addq $0x10, %rax
movq %rax, (%rbx)
leaq 0x28d86(%rip), %rsi     # 0x93580
leaq 0x28d99(%rip), %rdx     # 0x9359a
movq %rbx, %rdi
callq 0x5ad12
leaq 0x3d400(%rip), %rsi     # 0xa7c10
movq 0x3d781(%rip), %rdx     # 0xa7f98
movq %rbx, %rdi
callq 0x4910
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/siftpp/sift.cpp
// Function: VL::Sift::smooth(float*, float*, float const*, int, int, float)
void
Sift::smooth
(pixel_t* dst, pixel_t* temp, 
 pixel_t const* src, int width, int height, 
 VL::float_t s)
{
  // make sure a buffer larege enough has been allocated
  // to hold the filter
  int W = int( ceil( VL::float_t(4.0) * s ) ) ;
  if( ! filter ) {
    filterReserved = 0 ;
  }
  
  if( filterReserved < W ) {
    filterReserved = W ;
    if( filter ) delete [] filter ;
    filter = new pixel_t [ 2* filterReserved + 1 ] ;
  }
  
  // pre-compute filter
  for(int j = 0 ; j < 2*W+1 ; ++j) 
    filter[j] = VL::pixel_t
      (std::exp
       (VL::float_t
        (-0.5 * (j-W) * (j-W) / (s*s) ))) ;
  
  // normalize to one
  normalize(filter, W) ;
  
  // convolve
  econvolve(temp, src, width, height, filter, W) ;
  econvolve(dst, temp, height, width, filter, W) ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movaps %xmm0, %xmm1
movl %r9d, 0x10(%rsp)
movl %r8d, 0x14(%rsp)
movq %rcx, 0x18(%rsp)
movq %rdx, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdi, %rbx
movss 0x3a75(%rip), %xmm0     # 0x6e2dc
movss %xmm1, 0x8(%rsp)
mulss %xmm1, %xmm0
callq 0x42a0
cvttss2si %xmm0, %r12d
movq 0x50(%rbx), %r15
testq %r15, %r15
movq %rbx, 0x20(%rsp)
je 0x6a8a0
cmpl %r12d, 0x58(%rbx)
jge 0x6a8df
movl %r12d, 0x58(%rbx)
movq %r15, %rdi
callq 0x4690
movl 0x58(%rbx), %eax
jmp 0x6a8b3
movl $0x0, 0x58(%rbx)
testl %r12d, %r12d
jle 0x6a8dc
movl %r12d, 0x58(%rbx)
movl %r12d, %eax
leal 0x1(,%rax,2), %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
testl %eax, %eax
movq $-0x1, %rdi
cmovnsq %rcx, %rdi
callq 0x4040
movq %rax, %r15
movq %rax, 0x50(%rbx)
jmp 0x6a8df
xorl %r15d, %r15d
leal (%r12,%r12), %ebx
testl %r12d, %r12d
js 0x6a950
movss 0x8(%rsp), %xmm0
mulss %xmm0, %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x8(%rsp)
xorl %ebp, %ebp
testl %ebx, %ebx
movl $0x0, %r14d
cmovgl %ebx, %r14d
orl $0x1, %r14d
movl %r12d, %r13d
negl %r13d
leal (%r13,%rbp), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movapd %xmm0, %xmm1
mulsd 0x28b14(%rip), %xmm1    # 0x93440
mulsd %xmm0, %xmm1
divsd 0x8(%rsp), %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
callq 0x48f0
movss %xmm0, (%r15,%rbp,4)
incq %rbp
cmpq %rbp, %r14
jne 0x6a914
movslq %ebx, %rax
leaq (%r15,%rax,4), %rcx
addq $0x4, %rcx
cmpq %r15, %rcx
je 0x6a997
leaq 0x4(,%rax,4), %rax
xorps %xmm0, %xmm0
xorl %ecx, %ecx
addss (%r15,%rcx), %xmm0
addq $0x4, %rcx
cmpq %rcx, %rax
jne 0x6a96d
xorl %ecx, %ecx
movss (%r15,%rcx), %xmm1
divss %xmm0, %xmm1
movss %xmm1, (%r15,%rcx)
addq $0x4, %rcx
cmpq %rcx, %rax
jne 0x6a97e
movq 0x30(%rsp), %r14
movq %r14, %rdi
movq 0x18(%rsp), %rsi
movl 0x14(%rsp), %ebx
movl %ebx, %edx
movl 0x10(%rsp), %ebp
movl %ebp, %ecx
movq %r15, %r8
movl %r12d, %r9d
callq 0x6d608
movq 0x20(%rsp), %rax
movq 0x50(%rax), %r8
movq 0x28(%rsp), %rdi
movq %r14, %rsi
movl %ebp, %edx
movl %ebx, %ecx
movl %r12d, %r9d
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6d608
// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/siftpp/sift.cpp
// Function: VL::Detail::normalize_histogram(float*, float*)
void
normalize_histogram(VL::float_t* L_begin, VL::float_t* L_end)
{
  VL::float_t* L_iter ;
  VL::float_t norm = 0.0 ;

  for(L_iter = L_begin; L_iter != L_end ; ++L_iter)
    norm += (*L_iter) * (*L_iter) ;

  norm = fast_sqrt(norm) ;

  for(L_iter = L_begin; L_iter != L_end ; ++L_iter)
    *L_iter /= (norm + std::numeric_limits<VL::float_t>::epsilon() ) ;
}

// Assembly:
cmpq %rsi, %rdi
je 0x6cd48
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
movq %rdi, %rax
movss (%rax), %xmm1
mulss %xmm1, %xmm1
addss %xmm1, %xmm0
addq $0x4, %rax
cmpq %rbx, %rax
jne 0x6ccf5
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb 0x6cd18
sqrtss %xmm0, %xmm0
jmp 0x6cd1d
callq 0x49d0
cmpq %rbx, %r14
je 0x6cd41
addss 0x26706(%rip), %xmm0    # 0x93430
movss (%r14), %xmm1
divss %xmm0, %xmm1
movss %xmm1, (%r14)
addq $0x4, %r14
cmpq %rbx, %r14
jne 0x6cd2a
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/CMU-SAFARI[P]optimal-seed-solver/KmerHash.cc
// Function: KmerHash::calculateHash(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int)
unsigned int KmerHash::calculateHash(const string& Kmer, unsigned int KmerSize) {
	assert (KmerSize <= Kmer.size() );
	
	//Clear hashVal
	hashVal = 0;
	//Fill different Lv of the hash
	unsigned long bpVal = 0;
	this->KmerSize = KmerSize;

	unsigned int tempHashVal = 0;

	for (int i = 0; i < this->KmerSize; i++) {

		//cout << Kmer[i];

		switch (Kmer[i]) {
		case 'A':
			bpVal = 0;
			break;
		case 'C':
			bpVal = 1;
			break;
		case 'G':
			bpVal = 2;
			break;
		case 'T':
			bpVal = 3;
			break;
		case 'N':
		default:
			bpVal = 0;
		}

		hashVal = (hashVal << 2) | bpVal;
	}
	return hashVal;
}

// Assembly:
pushq %rax
movl %edx, %ecx
cmpq %rcx, 0x8(%rsi)
jb 0x15d2
movl $0x0, (%rdi)
movl %edx, 0x4(%rdi)
testl %edx, %edx
je 0x15ce
movq (%rsi), %rdx
xorl %esi, %esi
xorl %eax, %eax
movzbl (%rdx,%rsi), %r9d
cmpl $0x54, %r9d
je 0x15b8
cmpl $0x47, %r9d
je 0x15b0
movl $0x0, %r8d
cmpl $0x43, %r9d
jne 0x15be
movl $0x1, %r8d
jmp 0x15be
movl $0x2, %r8d
jmp 0x15be
movl $0x3, %r8d
leal (%r8,%rax,4), %eax
movl %eax, (%rdi)
incq %rsi
cmpq %rsi, %rcx
jne 0x158b
jmp 0x15d0
xorl %eax, %eax
popq %rcx
retq
leaq 0xa8d(%rip), %rdi       # 0x2066
leaq 0xa9e(%rip), %rsi       # 0x207e
leaq 0xaa3(%rip), %rcx       # 0x208a
movl $0x40, %edx
callq 0x1050
nop
// File: /workspace/github_cpp_makefile_star2_O3/CMU-SAFARI[P]optimal-seed-solver/KmerHash.cc
// Function: KmerHash::getKmer[abi:cxx11]() const
string KmerHash::getKmer() const {
	string Kmer(KmerSize, 'N');

	cout << "kmer size: " << KmerSize << endl;

	for (int i = 0; i < KmerSize; i++) {

		unsigned int bpVal = (hashVal >> (2 * (KmerSize - i) ) ) & 3;
		switch (bpVal) {
		case 0:
			Kmer[i] = 'A';
			break;
		case 1:
			Kmer[i] = 'C';
			break;
		case 2:
			Kmer[i] = 'G';
			break;
		case 3:
			Kmer[i] = 'T';
			break;
		default:
			cerr << "unrecognized character: " << Kmer[i] << endl;
			break;
		}

	}
	return Kmer;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl 0x4(%rsi), %esi
leaq 0x10(%rdi), %r12
movq %r12, (%rdi)
movl $0x4e, %edx
callq 0x10c0
movq 0x29a3(%rip), %rdi      # 0x3fd0
leaq 0xa26(%rip), %rsi       # 0x205a
movl $0xb, %edx
callq 0x10b0
movl 0x4(%r14), %esi
movq 0x2987(%rip), %rdi      # 0x3fd0
callq 0x1060
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x1090
movsbl %al, %esi
movq %r15, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1070
movl 0x4(%r14), %ecx
testl %ecx, %ecx
je 0x16b0
xorl %edx, %edx
xorl %esi, %esi
movl (%r14), %eax
addl %edx, %ecx
addl %ecx, %ecx
shrl %cl, %eax
movq (%rbx), %rdi
shll $0x3, %eax
movl $0x54474341, %r8d       # imm = 0x54474341
movl %eax, %ecx
shrl %cl, %r8d
movb %r8b, (%rdi,%rsi)
incq %rsi
movl 0x4(%r14), %ecx
decl %edx
cmpq %rcx, %rsi
jb 0x1684
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x16d6
movq (%r12), %rsi
incq %rsi
callq 0x10a0
movq %r14, %rdi
callq 0x1100
// File: /workspace/github_cpp_makefile_star2_O3/CDISC2020[P]Projet_satellite_agile/src/ARINC/ARINC_Com.cpp
// Function: QueuingPort::SendQueuingMsg(char*, int)
int QueuingPort::SendQueuingMsg (char* s_t, int ls_t) {

                int nbeff;
                if ((nbeff = sendto(s_d,s_t,ls_t,0,(struct sockaddr *)&s_a, sizeof(s_a)))== SOCK_ERR) {
                        perror("C-> sendto");
                        bye(s_d);
                        }
//                else
//                        cout << "C-> Number of char sent = " << nbeff << endl;
                return(nbeff); // returns the number of char effectively sent
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x404(%rdi), %edi
movslq %edx, %rdx
leaq 0x408(%rbx), %r8
xorl %ecx, %ecx
movl $0x10, %r9d
callq 0x3070
cmpl $-0x1, %eax
je 0x3db8
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
addq $0x404, %rbx            # imm = 0x404
movq %rbx, %rdi
callq 0x3550
nop
// File: /workspace/github_cpp_makefile_star2_O3/CDISC2020[P]Projet_satellite_agile/src/ARINC/ARINC_Com.cpp
// Function: SamplingPort::SamplingPort(long, int, int, char*)
SamplingPort::SamplingPort(long d, int m, int p, char* S):QueuingPort(m, p, S){
us_delay=d;
timeout.tv_sec = 0;
timeout.tv_usec = d;
nds = getdtablesize();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl %edx, %esi
movl %ecx, %edx
movq %r8, %rcx
callq 0x3ac6
movq %rbx, 0x660(%r14)
movq $0x0, 0x4c8(%r14)
movq %rbx, 0x4d0(%r14)
callq 0x3430
movl %eax, 0x4d8(%r14)
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/CDISC2020[P]Projet_satellite_agile/src/planManager/genericInstruction.cpp
// Function: GenericInstruction::GenericInstruction(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
GenericInstruction::GenericInstruction(string base) 
{
	string time = base.substr(0,6);
	
	hour =  atoi(time.c_str())/10000;
	min =  (atoi(time.c_str())%10000)/100;
	sec =  atoi(time.c_str())%100;
	
	type = base.substr(6,1).c_str()[0];
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x5a5e(%rip), %rax      # 0x9d30
movq %rax, (%rdi)
leaq -0x38(%rbp), %r15
movl $0x6, %ecx
movq %r15, %rdi
xorl %edx, %edx
callq 0x32c0
movq (%r15), %r15
movq %r15, %rdi
callq 0x3400
cltq
imulq $0x68db8bad, %rax, %rax # imm = 0x68DB8BAD
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x2c, %rax
addl %ecx, %eax
movl %eax, 0x8(%rbx)
movq %r15, %rdi
callq 0x3400
cltq
imulq $0x68db8bad, %rax, %rcx # imm = 0x68DB8BAD
movq %rcx, %rdx
shrq $0x3f, %rdx
shrq $0x2c, %rcx
addl %edx, %ecx
imull $0x2710, %ecx, %ecx     # imm = 0x2710
subl %ecx, %eax
cwtl
imull $0x147b, %eax, %eax     # imm = 0x147B
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x13, %eax
addl %ecx, %eax
movl %eax, 0xc(%rbx)
movq %r15, %rdi
callq 0x3400
cltq
imulq $0x51eb851f, %rax, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
imull $0x64, %ecx, %ecx
subl %ecx, %eax
movl %eax, 0x10(%rbx)
leaq -0x58(%rbp), %rdi
movl $0x6, %edx
movl $0x1, %ecx
movq %r14, %rsi
callq 0x32c0
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
movb (%rdi), %cl
movb %cl, 0x14(%rbx)
cmpq %rax, %rdi
je 0x4399
callq 0x3270
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x43ab
callq 0x3270
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x43cb
callq 0x3270
movq %rbx, %rdi
callq 0x3490
nop