LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/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 0x7032a(%rip), %al      # 0xada98
testb %al, %al
je 0x3d8b4
leaq 0x6ff33(%rip), %rdi     # 0xad6b0
callq 0x4790
testb %bpl, %bpl
je 0x3d7a3
movq 0x7272a(%rip), %rdi     # 0xafeb8
testq %rdi, %rdi
je 0x3d798
callq 0x4680
movq $0x0, 0x72715(%rip) # 0xafeb8
movq 0x7270e(%rip), %rax     # 0xafeb8
testq %rbx, %rbx
je 0x3d7ed
testq %rax, %rax
jne 0x3d7c5
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, 0x726f3(%rip)     # 0xafeb8
movq 0x726ec(%rip), %r14     # 0xafeb8
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 0x3d7f2
testq %rax, %rax
je 0x3d818
movb 0x702a0(%rip), %al      # 0xada98
testb %al, %al
je 0x3d8be
leaq 0x6fea9(%rip), %rdi     # 0xad6b0
callq 0x43e0
movq 0x726a5(%rip), %rax     # 0xafeb8
popq %rbx
popq %r14
popq %rbp
retq
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %rbx
movq %rax, 0x7268c(%rip)     # 0xafeb8
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 0x41a93(%rip), %rsi     # 0x7f2e3
movq %rbx, %rdi
callq 0x45c0
testq %rax, %rax
je 0x3d89e
movq 0x6f744(%rip), %rcx     # 0xacfa8
cmpq %rax, (%rcx)
je 0x3d7f2
movq 0x6f718(%rip), %rcx     # 0xacf88
cmpq %rax, (%rcx)
je 0x3d7f2
movq %rax, %rdi
callq 0x4540
testl %eax, %eax
je 0x3d7f2
leaq 0x5623c(%rip), %rdi     # 0x93acc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb52
jmp 0x3d7f2
movq 0x72613(%rip), %rax     # 0xafeb8
movb $0x0, 0x4(%rax)
movl $0x74656777, (%rax)     # imm = 0x74656777
jmp 0x3d7f2
callq 0x556c
jmp 0x3d776
callq 0x55bc
jmp 0x3d800
// File: /workspace/github_cpp_makefile_star2_O1/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 0x701c1(%rip), %al      # 0xada98
testb %al, %al
je 0x3da24
leaq 0x6fdca(%rip), %rdi     # 0xad6b0
callq 0x4790
testb %bpl, %bpl
je 0x3d90c
movq 0x725c9(%rip), %rdi     # 0xafec0
testq %rdi, %rdi
je 0x3d901
callq 0x4680
movq $0x0, 0x725b4(%rip) # 0xafec0
movq 0x725ad(%rip), %rax     # 0xafec0
testq %rbx, %rbx
je 0x3d956
testq %rax, %rax
jne 0x3d92e
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, 0x72592(%rip)     # 0xafec0
movq 0x7258b(%rip), %r14     # 0xafec0
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 0x3d95b
testq %rax, %rax
je 0x3d981
movb 0x70137(%rip), %al      # 0xada98
testb %al, %al
je 0x3da2e
leaq 0x6fd40(%rip), %rdi     # 0xad6b0
callq 0x43e0
movq 0x72544(%rip), %rax     # 0xafec0
popq %rbx
popq %r14
popq %rbp
retq
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %rbx
movq %rax, 0x7252b(%rip)     # 0xafec0
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 0x41926(%rip), %rsi     # 0x7f2e3
movq %rbx, %rdi
callq 0x45c0
testq %rax, %rax
je 0x3da0b
movq 0x6f5d7(%rip), %rcx     # 0xacfa8
cmpq %rax, (%rcx)
je 0x3d95b
movq 0x6f5ab(%rip), %rcx     # 0xacf88
cmpq %rax, (%rcx)
je 0x3d95b
movq %rax, %rdi
callq 0x4540
testl %eax, %eax
je 0x3d95b
leaq 0x560cf(%rip), %rdi     # 0x93acc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb52
jmp 0x3d95b
movq 0x724ae(%rip), %rax     # 0xafec0
movl $0x70697a, 0x3(%rax)    # imm = 0x70697A
movl $0x7a6e7567, (%rax)     # imm = 0x7A6E7567
jmp 0x3d95b
callq 0x560c
jmp 0x3d8df
callq 0x565c
jmp 0x3d969
// File: /workspace/github_cpp_makefile_star2_O1/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 0x48451
testq %rbx, %rbx
je 0x48451
testq %r14, %r14
je 0x48451
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 0x47c0
addq %rax, %r12
subq %rax, %rbx
cmpq %rax, %r13
jne 0x48424
testq %rbx, %rbx
jne 0x483f3
testq %rbx, %rbx
je 0x4843f
leaq 0x4bf5a(%rip), %rdi     # 0x9438a
movq %r12, %rsi
movq 0x10(%rsp), %rdx
xorl %eax, %eax
callq 0xbb52
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 0x4cf99(%rip), %rax     # 0x95402
leaq 0x2aec8(%rip), %r8      # 0x73338
cmovaeq %rax, %r8
movq %r15, (%rsp)
leaq 0x4bebe(%rip), %rsi     # 0x9433d
leaq 0x36e51(%rip), %rcx     # 0x7f2d7
movq %r12, %rdi
movq %rbx, %rdx
movq %r14, %r9
xorl %eax, %eax
callq 0xc196
leaq 0x64783(%rip), %rsi     # 0xacc20
movq 0x64b2c(%rip), %rdx     # 0xacfd0
movq %r12, %rdi
callq 0x4900
movq %rax, %rbx
movq %r12, %rdi
callq 0x43b0
movq %rbx, %rdi
callq 0x4950
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6215a(%rip), %al      # 0xada98
testb %al, %al
je 0x4ba85
leaq 0x61d63(%rip), %rdi     # 0xad6b0
callq 0x4790
testb %bpl, %bpl
je 0x4b973
movq 0x6456a(%rip), %rdi     # 0xafec8
testq %rdi, %rdi
je 0x4b968
callq 0x4680
movq $0x0, 0x64555(%rip) # 0xafec8
movq 0x6454e(%rip), %rax     # 0xafec8
testq %rbx, %rbx
je 0x4b9bd
testq %rax, %rax
jne 0x4b995
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, 0x64533(%rip)     # 0xafec8
movq 0x6452c(%rip), %r14     # 0xafec8
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 0x4b9c2
testq %rax, %rax
je 0x4b9e8
movb 0x620d0(%rip), %al      # 0xada98
testb %al, %al
je 0x4ba8f
leaq 0x61cd9(%rip), %rdi     # 0xad6b0
callq 0x43e0
movq 0x644e5(%rip), %rax     # 0xafec8
popq %rbx
popq %r14
popq %rbp
retq
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %rbx
movq %rax, 0x644cc(%rip)     # 0xafec8
movl $0x400, %edx            # imm = 0x400
movq %rax, %rdi
xorl %esi, %esi
callq 0x4290
movabsq $0x77617263642f2e, %rax # imm = 0x77617263642F2E
movq %rax, (%rbx)
leaq 0x338c4(%rip), %rsi     # 0x7f2e3
movq %rbx, %rdi
callq 0x45c0
testq %rax, %rax
je 0x4ba6d
movq 0x61575(%rip), %rcx     # 0xacfa8
cmpq %rax, (%rcx)
je 0x4b9c2
movq 0x61549(%rip), %rcx     # 0xacf88
cmpq %rax, (%rcx)
je 0x4b9c2
movq %rax, %rdi
callq 0x4540
testl %eax, %eax
je 0x4b9c2
leaq 0x4806d(%rip), %rdi     # 0x93acc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb52
jmp 0x4b9c2
movq 0x64454(%rip), %rax     # 0xafec8
movw $0x77, 0x4(%rax)
movl $0x61726364, (%rax)     # imm = 0x61726364
jmp 0x4b9c2
callq 0x56ac
jmp 0x4b946
callq 0x56fc
jmp 0x4b9d0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x5d9c6
movdqu (%rbx), %xmm3
pxor %xmm2, %xmm2
pcmpeqd %xmm3, %xmm2
movmskps %xmm2, %eax
testb %al, %al
jne 0x5d9c6
movsd %xmm0, (%rsp)
movsd %xmm1, 0x8(%rsp)
leaq 0x10(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5d9d2
movsd (%rax), %xmm0
movsd (%r14), %xmm1
ucomisd %xmm0, %xmm1
jne 0x5d94e
jp 0x5d94e
movq %rbx, %rdi
movsd (%rsp), %xmm0
callq 0x38fd2
movq %rax, %rbx
jmp 0x5d9c6
movsd (%rsp), %xmm3
movapd %xmm3, %xmm2
movsd 0x8(%rsp), %xmm4
minsd %xmm4, %xmm2
maxsd %xmm3, %xmm4
ucomisd %xmm4, %xmm0
jne 0x5d975
jp 0x5d975
ucomisd %xmm2, %xmm1
jne 0x5d975
jnp 0x5d9c6
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 0x5d9c6
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 0x5d9a5
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x5da6d
movdqu (%rbx), %xmm1
pxor %xmm0, %xmm0
pcmpeqd %xmm1, %xmm0
movmskps %xmm0, %ecx
testb %cl, %cl
jne 0x5da6d
movsd (%rax), %xmm0
movd %xmm1, %ecx
pshufd $0x55, %xmm1, %xmm2     # xmm2 = xmm1[1,1,1,1]
movd %xmm2, %edx
imulq %rcx, %rdx
pshufd $0xee, %xmm1, %xmm1     # xmm1 = xmm1[2,3,2,3]
movd %xmm1, %edi
movl 0xc(%rbx), %ecx
imulq %rdi, %rcx
imulq %rdx, %rcx
testq %rcx, %rcx
jle 0x5da5d
leaq (%rax,%rcx,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 0x5da32
jmp 0x5da61
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 0x158aa(%rip), %rax     # 0x73338
leaq 0x16c7d(%rip), %r10     # 0x74712
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x36147(%rip), %r11     # 0x93bef
leaq 0x35a00(%rip), %rsi     # 0x934af
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xbfd8
addq $0x20, %rsp
leaq 0x4f13d(%rip), %rsi     # 0xacc08
movq 0x4f4fe(%rip), %rdx     # 0xacfd0
movq %r14, %rdi
callq 0x4900
movq %rax, %rbx
movq %r14, %rdi
callq 0x43b0
movq %rbx, %rdi
callq 0x4950
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x5dd8c
cmpq $0x0, 0x18(%rbx)
je 0x5dd26
movdqu (%rbx), %xmm0
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %eax
testb %al, %al
jne 0x5dd26
movq %rbx, %rdi
movl $0x64, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5f2e0
leaq 0x35e00(%rip), %rax     # 0x93b2d
movq %rsi, %rdi
movq %rax, %rsi
callq 0x3ceb3
testq %rax, %rax
je 0x5dd73
movq 0x4f264(%rip), %rcx     # 0xacfa8
cmpq %rax, (%rcx)
je 0x5dd81
movq 0x4f238(%rip), %rcx     # 0xacf88
cmpq %rax, (%rcx)
je 0x5dd81
movq %rax, %rdi
callq 0x4540
testl %eax, %eax
je 0x5dd81
leaq 0x35d64(%rip), %rdi     # 0x93acc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb52
jmp 0x5dd81
leaq 0x35d28(%rip), %rdi     # 0x93aa2
xorl %eax, %eax
callq 0xbb52
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 0x1558b(%rip), %rax     # 0x73338
leaq 0x1695e(%rip), %r10     # 0x74712
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x35e28(%rip), %r11     # 0x93bef
leaq 0x39299(%rip), %rsi     # 0x97067
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc196
addq $0x20, %rsp
leaq 0x4ee36(%rip), %rsi     # 0xacc20
movq 0x4f1df(%rip), %rdx     # 0xacfd0
movq %r14, %rdi
callq 0x4900
movq %rax, %rbx
movq %r14, %rdi
callq 0x43b0
movq %rbx, %rdi
callq 0x4950
// File: /workspace/github_cpp_makefile_star2_O1/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 0x5eb14
cmpq $0x0, 0x18(%rbx)
je 0x5eaae
movdqu (%rbx), %xmm0
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %eax
testb %al, %al
jne 0x5eaae
movq %rbx, %rdi
movl $0x64, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5f2e0
leaq 0x35078(%rip), %rax     # 0x93b2d
movq %rsi, %rdi
movq %rax, %rsi
callq 0x3ceb3
testq %rax, %rax
je 0x5eafb
movq 0x4e4dc(%rip), %rcx     # 0xacfa8
cmpq %rax, (%rcx)
je 0x5eb09
movq 0x4e4b0(%rip), %rcx     # 0xacf88
cmpq %rax, (%rcx)
je 0x5eb09
movq %rax, %rdi
callq 0x4540
testl %eax, %eax
je 0x5eb09
leaq 0x34fdc(%rip), %rdi     # 0x93acc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb52
jmp 0x5eb09
leaq 0x34fa0(%rip), %rdi     # 0x93aa2
xorl %eax, %eax
callq 0xbb52
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 0x14803(%rip), %rax     # 0x73338
leaq 0x15bd6(%rip), %r10     # 0x74712
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x350a0(%rip), %r11     # 0x93bef
leaq 0x38978(%rip), %rsi     # 0x974ce
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc196
addq $0x20, %rsp
leaq 0x4e0ae(%rip), %rsi     # 0xacc20
movq 0x4e457(%rip), %rdx     # 0xacfd0
movq %r14, %rdi
callq 0x4900
movq %rax, %rbx
movq %r14, %rdi
callq 0x43b0
movq %rbx, %rdi
callq 0x4950
// File: /workspace/github_cpp_makefile_star2_O1/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 0x5f28c
movdqu (%rbx), %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %eax
testb %al, %al
jne 0x5f28c
movdqa %xmm0, (%rsp)
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
movl $0x7a, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x64916
leaq 0x10(%rsp), %rdi
movq %rsp, %rsi
callq 0x66802
leaq 0x10(%rsp), %rdi
callq 0xb746
movq %rsp, %rdi
movq %r14, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
movl $0x800, %r8d            # imm = 0x800
callq 0x668d0
jmp 0x5f2a5
movq %rsp, %rdi
movdqa %xmm0, (%rdi)
movq %r14, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
movl $0x800, %r8d            # imm = 0x800
callq 0x668d0
movq %rsp, %rdi
callq 0xb746
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x5f2cc
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xb746
jmp 0x5f2cf
jmp 0x5f2cc
movq %rax, %rbx
movq %rsp, %rdi
callq 0xb746
movq %rbx, %rdi
callq 0x4950
nop
// File: /workspace/github_cpp_makefile_star2_O1/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::_save_ascii(_IO_FILE*, char const*) const
const CImg<T>& _save_ascii(std::FILE *const file, const char *const filename) const {
      if (!file && !filename)
        throw CImgArgumentException(_cimg_instance
                                    "save_ascii(): Specified filename is (null).",
                                    cimg_instance);
      std::FILE *const nfile = file?file:cimg::fopen(filename,"w");
      std::fprintf(nfile,"%u %u %u %u\n",_width,_height,_depth,_spectrum);
      const T* ptrs = _data;
      cimg_forYZC(*this,y,z,c) {
        cimg_forX(*this,x) std::fprintf(nfile,"%.16g ",(double)*(ptrs++));
        std::fputc('\n',nfile);
      }
      if (!file) cimg::fclose(nfile);
      return *this;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq %rsi, %rax
orq %rdx, %rax
je 0x5f681
movq %rsi, %r14
movq %rsi, 0x10(%rsp)
testq %rsi, %rsi
jne 0x5f582
leaq 0x3564f(%rip), %rsi     # 0x94bc6
movq %rdx, %rdi
callq 0x3ceb3
movq %rax, %r14
movl (%rbx), %edx
movl 0x4(%rbx), %ecx
movl 0x8(%rbx), %r8d
movl 0xc(%rbx), %r9d
leaq 0x36d3d(%rip), %rsi     # 0x962d3
xorl %ebp, %ebp
movq %r14, %rdi
xorl %eax, %eax
callq 0x4740
cmpl $0x0, 0xc(%rbx)
jle 0x5f61c
movq 0x18(%rbx), %r13
leaq 0x36d2d(%rip), %r12     # 0x962e0
movl %ebp, 0x8(%rsp)
cmpl $0x0, 0x8(%rbx)
jle 0x5f611
xorl %eax, %eax
movl %eax, 0xc(%rsp)
cmpl $0x0, 0x4(%rbx)
jle 0x5f606
xorl %ebp, %ebp
cmpl $0x0, (%rbx)
jle 0x5f5f2
xorl %r15d, %r15d
movsd (%r13), %xmm0
addq $0x8, %r13
movq %r14, %rdi
movq %r12, %rsi
movb $0x1, %al
callq 0x4740
incl %r15d
cmpl (%rbx), %r15d
jl 0x5f5d3
movl $0xa, %edi
movq %r14, %rsi
callq 0x4630
incl %ebp
cmpl 0x4(%rbx), %ebp
jl 0x5f5cb
movl 0xc(%rsp), %eax
incl %eax
cmpl 0x8(%rbx), %eax
jl 0x5f5bf
movl 0x8(%rsp), %ebp
incl %ebp
cmpl 0xc(%rbx), %ebp
jl 0x5f5b3
cmpq $0x0, 0x10(%rsp)
je 0x5f636
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testq %r14, %r14
je 0x5f671
movq 0x4d966(%rip), %rax     # 0xacfa8
cmpq %r14, (%rax)
je 0x5f624
movq 0x4d93a(%rip), %rax     # 0xacf88
cmpq %r14, (%rax)
je 0x5f624
movq %r14, %rdi
callq 0x4540
testl %eax, %eax
je 0x5f624
leaq 0x34466(%rip), %rdi     # 0x93acc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb52
jmp 0x5f624
leaq 0x3442a(%rip), %rdi     # 0x93aa2
xorl %eax, %eax
callq 0xbb52
jmp 0x5f624
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 0x13c96(%rip), %rax     # 0x73338
leaq 0x15069(%rip), %r10     # 0x74712
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x34533(%rip), %r11     # 0x93bef
leaq 0x36bb6(%rip), %rsi     # 0x96279
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xc196
addq $0x20, %rsp
leaq 0x4d541(%rip), %rsi     # 0xacc20
movq 0x4d8ea(%rip), %rdx     # 0xacfd0
movq %r14, %rdi
callq 0x4900
movq %rax, %rbx
movq %r14, %rdi
callq 0x43b0
movq %rbx, %rdi
callq 0x4950
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x5fa7b
movq %rdi, %rbx
movq %rdi, %rax
testq %rdi, %rdi
jne 0x5fa19
leaq 0x3411f(%rip), %rax     # 0x93b2d
movq %rsi, %rdi
movq %rax, %rsi
callq 0x3ceb3
testq %rbx, %rbx
je 0x5fa26
addq $0x8, %rsp
popq %rbx
popq %r14
retq
testq %rax, %rax
je 0x5fa66
movq 0x4d576(%rip), %rcx     # 0xacfa8
cmpq %rax, (%rcx)
je 0x5fa1e
movq 0x4d54a(%rip), %rcx     # 0xacf88
cmpq %rax, (%rcx)
je 0x5fa1e
movq %rax, %rdi
callq 0x4540
testl %eax, %eax
je 0x5fa1e
leaq 0x34076(%rip), %rdi     # 0x93acc
movl %eax, %esi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xbb52
leaq 0x34035(%rip), %rdi     # 0x93aa2
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xbb52
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %rbx
leaq 0x361fb(%rip), %rsi     # 0x95c8a
movq %rax, %rdi
xorl %eax, %eax
callq 0xc196
leaq 0x4d180(%rip), %rsi     # 0xacc20
movq 0x4d529(%rip), %rdx     # 0xacfd0
movq %rbx, %rdi
callq 0x4900
movq %rax, %r14
movq %rbx, %rdi
callq 0x43b0
movq %r14, %rdi
callq 0x4950
// File: /workspace/github_cpp_makefile_star2_O1/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 0x61c6f
testq %r15, %r15
je 0x61c6f
xorl %r12d, %r12d
testq %rbx, %rbx
je 0x61c5d
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 0x4a70
addq %rax, %r12
subq %rax, %rbp
cmpq %rax, %r13
jne 0x61c44
testq %rbp, %rbp
jne 0x61c08
testq %rbp, %rbp
je 0x61c5d
leaq 0x34a85(%rip), %rdi     # 0x966d5
movq %r12, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xbb52
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 0x3377b(%rip), %rax     # 0x95402
leaq 0x116aa(%rip), %r8      # 0x73338
cmovaeq %rax, %r8
movq %r15, (%rsp)
leaq 0x349ea(%rip), %rsi     # 0x96687
leaq 0x32b2d(%rip), %rcx     # 0x947d1
movq %r12, %rdi
movq %rbx, %rdx
movq %r14, %r9
xorl %eax, %eax
callq 0xc196
leaq 0x4af65(%rip), %rsi     # 0xacc20
movq 0x4b30e(%rip), %rdx     # 0xacfd0
movq %r12, %rdi
callq 0x4900
movq %rax, %rbx
movq %r12, %rdi
callq 0x43b0
movq %rbx, %rdi
callq 0x4950
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x62045
movdqu (%rbx), %xmm0
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %ecx
testb %cl, %cl
jne 0x62045
movd %xmm0, %ecx
pshufd $0x55, %xmm0, %xmm1     # xmm1 = xmm0[1,1,1,1]
movd %xmm1, %edx
imulq %rcx, %rdx
pshufd $0xee, %xmm0, %xmm0     # xmm0 = xmm0[2,3,2,3]
movd %xmm0, %esi
movl 0xc(%rbx), %ecx
imulq %rsi, %rcx
imulq %rdx, %rcx
testq %rcx, %rcx
jle 0x6203d
leaq (%rax,%rcx,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 0x62020
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 0x112d2(%rip), %rax     # 0x73338
leaq 0x126a5(%rip), %r10     # 0x74712
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x31b6f(%rip), %r11     # 0x93bef
leaq 0x34d41(%rip), %rsi     # 0x96dc8
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xbfd8
addq $0x20, %rsp
leaq 0x4ab65(%rip), %rsi     # 0xacc08
movq 0x4af26(%rip), %rdx     # 0xacfd0
movq %r14, %rdi
callq 0x4900
movq %rax, %rbx
movq %r14, %rdi
callq 0x43b0
movq %rbx, %rdi
callq 0x4950
// File: /workspace/github_cpp_makefile_star2_O1/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 0x492dd(%rip), %al      # 0xada98
testb %al, %al
je 0x64901
leaq 0x48ee6(%rip), %rdi     # 0xad6b0
callq 0x4790
testb %bpl, %bpl
je 0x647f0
movq 0x4b6fd(%rip), %rdi     # 0xafed8
testq %rdi, %rdi
je 0x647e5
callq 0x4680
movq $0x0, 0x4b6e8(%rip) # 0xafed8
movq 0x4b6e1(%rip), %rax     # 0xafed8
testq %rbx, %rbx
je 0x6483a
testq %rax, %rax
jne 0x64812
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, 0x4b6c6(%rip)     # 0xafed8
movq 0x4b6bf(%rip), %r14     # 0xafed8
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 0x6483f
testq %rax, %rax
je 0x64865
movb 0x49253(%rip), %al      # 0xada98
testb %al, %al
je 0x6490b
leaq 0x48e5c(%rip), %rdi     # 0xad6b0
callq 0x43e0
movq 0x4b678(%rip), %rax     # 0xafed8
popq %rbx
popq %r14
popq %rbp
retq
movl $0x400, %edi            # imm = 0x400
callq 0x4040
movq %rax, %rbx
movq %rax, 0x4b65f(%rip)     # 0xafed8
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 0x1aa46(%rip), %rsi     # 0x7f2e3
movq %rbx, %rdi
callq 0x45c0
testq %rax, %rax
je 0x648eb
movq 0x486f7(%rip), %rcx     # 0xacfa8
cmpq %rax, (%rcx)
je 0x6483f
movq 0x486cb(%rip), %rcx     # 0xacf88
cmpq %rax, (%rcx)
je 0x6483f
movq %rax, %rdi
callq 0x4540
testl %eax, %eax
je 0x6483f
leaq 0x2f1ef(%rip), %rdi     # 0x93acc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb52
jmp 0x6483f
movq 0x4b5e6(%rip), %rax     # 0xafed8
movb $0x0, 0x4(%rax)
movl $0x70697a67, (%rax)     # imm = 0x70697A67
jmp 0x6483f
callq 0x5806
jmp 0x647c3
callq 0x5856
jmp 0x6484d
nop
// File: /workspace/github_cpp_makefile_star2_O1/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:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rax
movl 0x4(%rdi), %ecx
imull (%rdi), %ecx
imull 0x8(%rdi), %ecx
imull 0xc(%rdi), %ecx
movl %ecx, %edi
testl %ecx, %ecx
jle 0x68685
movq 0x18(%rdx), %rdx
movq 0x18(%rax), %r8
movq 0x18(%rsi), %r9
movl (%rsi), %r10d
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
xorl %r11d, %r11d
xorpd %xmm0, %xmm0
xorl %r14d, %r14d
cvttsd2si (%rdx,%r14,8), %r15d
movsd (%r8,%r15,8), %xmm1
movsd (%r8,%r14,8), %xmm2
movsd %xmm2, (%r8,%r15,8)
testl %ebx, %ebx
js 0x68669
movl %ebx, %r15d
cmpq %r15, %r14
jbe 0x68674
leal (%r11,%r15), %r12d
movsd (%r9,%r12,8), %xmm2
mulsd (%r8,%r15,8), %xmm2
subsd %xmm2, %xmm1
incq %r15
cmpq %r15, %r14
jne 0x6864b
jmp 0x68674
ucomisd %xmm0, %xmm1
jne 0x68671
jnp 0x68674
movl %r14d, %ebx
movsd %xmm1, (%r8,%r14,8)
incq %r14
addq %r10, %r11
cmpq %rdi, %r14
jne 0x68627
testl %ecx, %ecx
jle 0x686ff
movq 0x18(%rax), %rdx
movq 0x18(%rsi), %r8
movl (%rsi), %esi
leal 0x1(%rsi), %r9d
leal -0x1(%rcx), %r10d
imull %esi, %r10d
addl %ecx, %r10d
notl %esi
leaq (%rdx,%rdi,8), %r11
movq %rdi, %rbx
movsd -0x8(%rdx,%rbx,8), %xmm0
cmpq %rdi, %rbx
jge 0x686d8
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 0x686b9
leaq -0x1(%rbx), %r14
movl %r9d, %r15d
imull %r14d, %r15d
divsd (%r8,%r15,8), %xmm0
movsd %xmm0, (%rdx,%r14,8)
addq %rsi, %r10
addq $-0x8, %r11
cmpq $0x1, %rbx
movq %r14, %rbx
jg 0x686ab
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/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), %edx
movl 0x4(%rdi), %ecx
cmpq $0x1, %rdx
jne 0x69ef6
movl %ecx, (%rbx)
movl $0x1, 0x4(%rbx)
jmp 0x6a02e
cmpl $0x1, %ecx
jne 0x69f09
movl %edx, 0x4(%rbx)
movl $0x1, (%rbx)
jmp 0x6a02e
cmpl %ecx, %edx
jne 0x69fe7
movslq 0xc(%rbx), %rax
movq %rax, 0x10(%rsp)
testq %rax, %rax
jle 0x6a02e
movslq %edx, %rsi
movl 0x8(%rbx), %edi
movq %rcx, %r8
imulq %rdx, %r8
movq %r8, %rax
imulq %rdi, %rax
shlq $0x3, %rax
movq %rax, 0x8(%rsp)
shlq $0x3, %r8
leaq (,%rdx,8), %r10
leaq 0x8(,%rdx,8), %r11
movq $0x0, (%rsp)
xorl %r9d, %r9d
movq %r9, 0x18(%rsp)
testl %edi, %edi
jle 0x69fc5
movq (%rsp), %r12
xorl %r13d, %r13d
testl %ecx, %ecx
jle 0x69fba
movq 0x18(%rbx), %r15
addq %r12, %r15
movq %rdx, %rax
xorl %r9d, %r9d
cmpq %rsi, %r9
jge 0x69fac
xorl %r14d, %r14d
movq %r15, %rbp
movsd (%r15,%r14,8), %xmm0
movsd (%rbp), %xmm1
movsd %xmm1, (%r15,%r14,8)
movsd %xmm0, (%rbp)
addq %r10, %rbp
incq %r14
cmpq %r14, %rax
jne 0x69f8b
incq %r9
addq %r11, %r15
decq %rax
cmpq %rcx, %r9
jne 0x69f80
incq %r13
addq %r8, %r12
cmpq %rdi, %r13
jne 0x69f6f
movq 0x18(%rsp), %r9
incq %r9
movq (%rsp), %rax
addq 0x8(%rsp), %rax
movq %rax, (%rsp)
cmpq 0x10(%rsp), %r9
jne 0x69f5f
jmp 0x6a02e
leaq 0x40(%rsp), %rcx
movq $0x0, (%rcx)
leaq 0x29183(%rip), %rdx     # 0x9317d
leaq 0x20(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6aa3a
movq %r14, %rdi
movq %rbx, %rsi
callq 0xb6d4
movq %rax, %rbx
cmpb $0x0, 0x30(%rsp)
jne 0x6a02e
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6a02e
callq 0x4680
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 0x6a059
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6a059
callq 0x4680
movq %rbx, %rdi
callq 0x4950
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x484c0
cmpq $0x0, 0x18(%r14)
je 0x6a75b
movdqu (%r14), %xmm0
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %eax
testb %al, %al
jne 0x6a75b
movl (%rbx), %eax
movl 0x4(%rbx), %ecx
imulq %rax, %rcx
movl 0x8(%rbx), %eax
movl 0xc(%rbx), %edx
imulq %rax, %rdx
imulq %rcx, %rdx
testq %rdx, %rdx
je 0x6a72c
movq 0x18(%rbx), %rax
leaq 0x1(%rdx), %rcx
andq $-0x2, %rcx
decq %rdx
movq %rdx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa 0x6aa6(%rip), %xmm1     # 0x71160
xorl %edx, %edx
movdqa 0x6aac(%rip), %xmm2     # 0x71170
pxor %xmm2, %xmm0
pcmpeqd %xmm3, %xmm3
movdqa 0x6aac(%rip), %xmm4     # 0x71180
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 0x6a709
movl %edx, (%rax,%rdx,4)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %esi
testb $0x1, %sil
je 0x6a71f
leal 0x1(%rdx), %esi
movl %esi, 0x4(%rax,%rdx,4)
addq $0x2, %rdx
paddq %xmm4, %xmm1
cmpq %rdx, %rcx
jne 0x6a6d4
movl 0x4(%r14), %edx
imull (%r14), %edx
imull 0x8(%r14), %edx
imull 0xc(%r14), %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 0x6a764
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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)
je 0x6ca96
movdqu (%r14), %xmm0
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %eax
testb %al, %al
jne 0x6ca96
movd %xmm0, %eax
pshufd $0x55, %xmm0, %xmm1     # xmm1 = xmm0[1,1,1,1]
movd %xmm1, %ecx
imull %eax, %ecx
pshufd $0xee, %xmm0, %xmm0     # xmm0 = xmm0[2,3,2,3]
movd %xmm0, %edx
imull %ecx, %edx
imull 0xc(%r14), %edx
pxor %xmm0, %xmm0
movq %rbx, %rdi
movl %edx, %esi
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x71ca
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 0x6caa1
movq 0x18(%r14), %rcx
movq 0x18(%rbx), %rdx
movl (%rbx), %esi
incl %esi
xorl %edi, %edi
xorl %r8d, %r8d
movl %r8d, %r9d
movq (%rcx,%r9,8), %xmm0
movl %edi, %r9d
movq %xmm0, (%rdx,%r9,8)
incq %r8
addl %esi, %edi
cmpq %r8, %rax
jne 0x6ca78
jmp 0x6caa1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8a94
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x68708
movl (%r14), %ebp
movl 0x4(%r14), %r14d
leaq 0x20(%rsp), %rdi
callq 0x6cd66
cmpl %r14d, %ebp
cmoval %ebp, %r14d
movslq (%rsp), %rcx
testq %rcx, %rcx
jle 0x6ccb0
xorps %xmm0, %xmm0
cvtsi2ss %r14, %xmm0
mulss 0x46f7(%rip), %xmm0     # 0x71340
cvtss2sd %xmm0, %xmm0
mulsd (%rax), %xmm0
movq 0x38(%rsp), %rax
movl 0x4(%rsp), %edx
movq 0x18(%rsp), %rsi
xorl %edi, %edi
movsd 0x43af(%rip), %xmm1     # 0x71018
testl %edx, %edx
jle 0x6cca8
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 0x6cc8d
incq %rdi
cmpq %rcx, %rdi
jne 0x6cc69
leaq 0x40(%rsp), %rdi
callq 0x69ecc
movq %rsp, %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x6a0cc
cmpb $0x0, 0x10(%rsp)
jne 0x6ccde
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x6ccde
callq 0x4680
cmpb $0x0, 0x30(%rsp)
jne 0x6ccf4
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6ccf4
callq 0x4680
cmpb $0x0, 0x50(%rsp)
jne 0x6cd0a
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x6cd0a
callq 0x4680
movq %rbx, %rax
addq $0x60, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x6cd18
movq %rax, %rbx
cmpb $0x0, 0x10(%rsp)
jne 0x6cd31
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x6cd31
callq 0x4680
cmpb $0x0, 0x30(%rsp)
jne 0x6cd47
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6cd47
callq 0x4680
cmpb $0x0, 0x50(%rsp)
jne 0x6cd5d
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x6cd5d
callq 0x4680
movq %rbx, %rdi
callq 0x4950
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x6cde3
movdqu (%rbx), %xmm0
pxor %xmm1, %xmm1
pcmpeqd %xmm0, %xmm1
movmskps %xmm1, %ecx
testb %cl, %cl
jne 0x6cde3
movd %xmm0, %ecx
pshufd $0x55, %xmm0, %xmm1     # xmm1 = xmm0[1,1,1,1]
movd %xmm1, %edx
imulq %rcx, %rdx
pshufd $0xee, %xmm0, %xmm0     # xmm0 = xmm0[2,3,2,3]
movd %xmm0, %esi
movl 0xc(%rbx), %ecx
imulq %rsi, %rcx
imulq %rdx, %rcx
testq %rcx, %rcx
jle 0x6cddb
leaq (%rax,%rcx,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 0x6cdbe
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 0x6534(%rip), %rax      # 0x73338
leaq 0x7907(%rip), %r10      # 0x74712
cmpb $0x0, 0x10(%rbx)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x26dd1(%rip), %r11     # 0x93bef
leaq 0x29fa3(%rip), %rsi     # 0x96dc8
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%rbx)
callq 0xbfd8
addq $0x20, %rsp
leaq 0x3fdc7(%rip), %rsi     # 0xacc08
movq 0x40188(%rip), %rdx     # 0xacfd0
movq %r14, %rdi
callq 0x4900
movq %rax, %rbx
movq %r14, %rdi
callq 0x43b0
movq %rbx, %rdi
callq 0x4950
nop