LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop.c
// Function: vl_eval_vector_comparison_on_all_pairs_f
VL_EXPORT void
VL_XCAT(vl_eval_vector_comparison_on_all_pairs_, SFX)
(T * result, vl_size dimension,
 T const * X, vl_size numDataX,
 T const * Y, vl_size numDataY,
 COMPARISONFUNCTION_TYPE function)
{
  vl_uindex xi ;
  vl_uindex yi ;

  if (dimension == 0) return ;
  if (numDataX == 0) return ;
  assert (X) ;

  if (Y) {
    if (numDataY == 0) return ;
    for (yi = 0 ; yi < numDataY ; ++ yi) {
      for (xi = 0 ; xi < numDataX ; ++ xi) {
        *result++ = (*function)(dimension, X, Y) ;
        X += dimension ;
      }
      X -= dimension * numDataX ;
      Y += dimension ;
    }
  } else {
    T * resultTransp = result ;
    Y = X ;
    for (yi = 0 ; yi < numDataX ; ++ yi) {
      for (xi = 0 ; xi <= yi ; ++ xi) {
        T z = (*function)(dimension, X, Y) ;
        X += dimension ;
        *result       = z ;
        *resultTransp = z ;
        result        += 1 ;
        resultTransp  += numDataX ;
      }
      X -= dimension * (yi + 1) ;
      Y += dimension ;
      result       += numDataX - (yi + 1) ;
      resultTransp += 1        - (yi + 1) * numDataX ;
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, 0x8(%rsp)
testq %rsi, %rsi
sete %al
movq %rcx, 0x10(%rsp)
testq %rcx, %rcx
sete %cl
orb %al, %cl
jne 0x250d0
movq %r8, %rbp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
testq %r8, %r8
je 0x24ffa
cmpq $0x0, 0x8(%rsp)
je 0x250d0
leaq (,%r15,4), %rbx
movq 0x10(%rsp), %rax
imulq %r15, %rax
shlq $0x2, %rax
negq %rax
movq %rax, 0x18(%rsp)
xorl %eax, %eax
movq %rax, 0x20(%rsp)
movq 0x10(%rsp), %r13
movq %r15, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq *0x80(%rsp)
movss %xmm0, (%r12)
addq $0x4, %r12
addq %rbx, %r14
decq %r13
jne 0x24fba
addq 0x18(%rsp), %r14
leaq (%rbp,%r15,4), %rbp
movq 0x20(%rsp), %rax
incq %rax
cmpq 0x8(%rsp), %rax
jne 0x24fb0
jmp 0x250d0
movq 0x10(%rsp), %rax
leaq (,%rax,4), %rcx
movl $0x4, %r9d
subq %rcx, %r9
leaq -0x4(,%rax,4), %rax
leaq (,%r15,4), %rsi
movl $0x1, %ebx
xorl %edi, %edi
movq %rsi, %r8
movq %r12, %r13
movq %r14, %rbp
movq %rsi, 0x20(%rsp)
movq %r15, 0x40(%rsp)
movq %r8, 0x28(%rsp)
movq %rdi, 0x30(%rsp)
movq %rax, 0x18(%rsp)
movq %r9, 0x8(%rsp)
movq %rbx, 0x38(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movq %rcx, %r15
callq *0x80(%rsp)
movq 0x20(%rsp), %rsi
movq %r15, %rcx
movq 0x40(%rsp), %r15
movss %xmm0, (%r12)
movss %xmm0, (%r13)
addq $0x4, %r12
addq %rcx, %r13
addq %rsi, %r14
decq %rbx
jne 0x25053
movq 0x30(%rsp), %rdi
incq %rdi
movq 0x28(%rsp), %r8
subq %r8, %r14
leaq (%rbp,%r15,4), %rbp
movq 0x8(%rsp), %r9
subq %r9, %r12
movq 0x18(%rsp), %rax
subq %rax, %r13
movq 0x38(%rsp), %rbx
incq %rbx
addq $0x4, %r9
addq %rcx, %rax
addq %rsi, %r8
cmpq 0x10(%rsp), %rdi
jne 0x2503a
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop.c
// Function: vl_svd2
void
vl_svd2 (double* S, double *U, double *V, double const *M)
{
  double m11 = M[0] ;
  double m21 = M[1] ;
  double m12 = M[2] ;
  double m22 = M[3] ;
  double cu1 = m11 ;
  double su1 = m21 ;
  double norm = sqrt(cu1*cu1 + su1*su1) ;
  double cu2, su2, cv2, sv2 ;
  double f, g, h ;
  double smin, smax ;
  cu1 /= norm ;
  su1 /= norm ;

  f = cu1 * m11 + su1 * m21 ;
  g = cu1 * m12 + su1 * m22 ;
  h = - su1 * m12 + cu1 * m22 ;

  vl_lapack_dlasv2 (&smin, &smax,
                    &sv2, &cv2,
                    &su2, &cu2,
                    f, g, h) ;

  assert(S) ;
  S[0] = smax ;
  S[1] = 0 ;
  S[2] = 0 ;
  S[3] = smin ;

  if (U) {
    U[0] = cu2*cu1 - su2*su1 ;
    U[1] = su2*cu1 + cu2*su1 ;
    U[2] = - cu2*su1 - su2*cu1 ;
    U[3] = - su2*su1 + cu2*cu1 ;
  }
  if (V) {
    V[0] = cv2 ;
    V[1] = sv2 ;
    V[2] = - sv2 ;
    V[3] = cv2 ;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movsd (%rcx), %xmm0
movsd 0x8(%rcx), %xmm1
movsd 0x10(%rcx), %xmm3
movsd 0x18(%rcx), %xmm2
movapd %xmm1, %xmm4
mulsd %xmm1, %xmm4
movapd %xmm0, %xmm5
mulsd %xmm0, %xmm5
addsd %xmm4, %xmm5
xorps %xmm4, %xmm4
sqrtsd %xmm5, %xmm4
movapd %xmm0, %xmm6
divsd %xmm4, %xmm6
movapd %xmm1, %xmm5
divsd %xmm4, %xmm5
mulsd %xmm5, %xmm1
mulsd %xmm6, %xmm0
addsd %xmm1, %xmm0
movapd %xmm2, %xmm4
mulsd %xmm5, %xmm4
movapd %xmm6, %xmm1
mulsd %xmm3, %xmm1
addsd %xmm4, %xmm1
movapd %xmm6, 0x20(%rsp)
mulsd %xmm6, %xmm2
movapd %xmm5, 0x30(%rsp)
mulsd %xmm5, %xmm3
subsd %xmm3, %xmm2
leaq 0x48(%rsp), %r12
leaq 0x40(%rsp), %r13
movq %rsp, %rdx
leaq 0x8(%rsp), %rcx
leaq 0x10(%rsp), %r8
leaq 0x18(%rsp), %r9
movq %r12, %rdi
movq %r13, %rsi
callq 0x96d0
movsd (%r13), %xmm0
movsd %xmm0, (%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r15)
movsd (%r12), %xmm0
movsd %xmm0, 0x18(%r15)
testq %r14, %r14
je 0x25932
movapd 0x30(%rsp), %xmm4
unpcklpd %xmm4, %xmm4            # xmm4 = xmm4[0,0]
movsd 0x18(%rsp), %xmm0
movapd %xmm0, %xmm1
movhpd 0x10(%rsp), %xmm1       # xmm1 = xmm1[0],mem[0]
movapd 0x20(%rsp), %xmm5
unpcklpd %xmm5, %xmm5            # xmm5 = xmm5[0,0]
movapd 0xc7d2(%rip), %xmm2     # 0x320d0
xorpd %xmm1, %xmm2
shufpd $0x1, %xmm0, %xmm2      # xmm2 = xmm2[1],xmm0[0]
movapd %xmm4, %xmm0
mulpd %xmm2, %xmm0
movapd %xmm1, %xmm3
mulpd %xmm5, %xmm3
addpd %xmm0, %xmm3
movupd %xmm3, (%r14)
mulpd %xmm5, %xmm2
mulpd %xmm4, %xmm1
subpd %xmm1, %xmm2
movupd %xmm2, 0x10(%r14)
testq %rbx, %rbx
je 0x2595d
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rbx)
movsd (%rsp), %xmm1
movsd %xmm1, 0x8(%rbx)
xorpd 0xc77d(%rip), %xmm1     # 0x320d0
movlpd %xmm1, 0x10(%rbx)
movsd %xmm0, 0x18(%rbx)
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop_avx.c
// Function: vl_distance_l2_avx_f
VL_EXPORT T
VL_XCAT(_vl_distance_l2_avx_, SFX)
(vl_size dimension, T const * X, T const * Y)
{

  T const * X_end = X + dimension ;
  T const * X_vec_end = X_end - VSIZEavx + 1 ;
  T acc ;
  VTYPEavx vacc = VSTZavx() ;
  vl_bool dataAligned = VALIGNEDavx(X) & VALIGNEDavx(Y) ;

  if (dataAligned) {
    while (X < X_vec_end) {
      VTYPEavx a = *(VTYPEavx*)X ;
      VTYPEavx b = *(VTYPEavx*)Y ;
      VTYPEavx delta = VSUBavx(a, b) ;
      VTYPEavx delta2 = VMULavx(delta, delta) ;
      vacc = VADDavx(vacc, delta2) ;
      X += VSIZEavx ;
      Y += VSIZEavx ;
    }
  } else {
    while (X < X_vec_end) {
      VTYPEavx a = VLDUavx(X) ;
      VTYPEavx b = VLDUavx(Y) ;
      VTYPEavx delta = VSUBavx(a, b) ;
      VTYPEavx delta2 = VMULavx(delta, delta) ;
      vacc = VADDavx(vacc, delta2) ;
      X += VSIZEavx ;
      Y += VSIZEavx ;
    }
  }

  acc = VL_XCAT(_vl_vhsum_avx_, SFX)(vacc) ;

  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
    T delta = a - b ;
    acc += delta * delta ;
  }

  return acc ;
}

// Assembly:
leaq (%rsi,%rdi,4), %rax
leaq (%rsi,%rdi,4), %rcx
addq $-0x1c, %rcx
movl %edx, %edi
orl %esi, %edi
vxorps %xmm0, %xmm0, %xmm0
testb $0x1f, %dil
je 0x26349
cmpq %rsi, %rcx
jbe 0x2636b
vmovups (%rsi), %ymm1
vsubps (%rdx), %ymm1, %ymm1
vmulps %ymm1, %ymm1, %ymm1
vaddps %ymm1, %ymm0, %ymm0
addq $0x20, %rsi
addq $0x20, %rdx
cmpq %rcx, %rsi
jb 0x2632a
jmp 0x2636b
cmpq %rsi, %rcx
jbe 0x2636b
vmovaps (%rsi), %ymm1
vsubps (%rdx), %ymm1, %ymm1
vmulps %ymm1, %ymm1, %ymm1
vaddps %ymm1, %ymm0, %ymm0
addq $0x20, %rsi
addq $0x20, %rdx
cmpq %rcx, %rsi
jb 0x2634e
vhaddps %ymm0, %ymm0, %ymm0
vextractf128 $0x1, %ymm0, %xmm1
vaddps %xmm1, %xmm0, %xmm0
vhaddps %xmm0, %xmm0, %xmm0
cmpq %rax, %rsi
jae 0x2639c
vmovss (%rsi), %xmm1
addq $0x4, %rsi
vsubss (%rdx), %xmm1, %xmm1
addq $0x4, %rdx
vmulss %xmm1, %xmm1, %xmm1
vaddss %xmm0, %xmm1, %xmm0
jmp 0x2637d
vzeroupper
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop_avx.c
// Function: vl_weighted_sigma_avx_d
VL_EXPORT void
VL_XCAT(_vl_weighted_sigma_avx_, SFX)
(vl_size dimension, T * S, T const * X, T const * Y, T const W)
{
  T const * X_end = X + dimension ;
  T const * X_vec_end = X_end - VSIZEavx + 1 ;

  vl_bool dataAligned = VALIGNEDavx(X) & VALIGNEDavx(Y) & VALIGNEDavx(S);

  VTYPEavx w = VLD1avx (&W) ;

  if (dataAligned) {
    while (X < X_vec_end) {
      VTYPEavx a = *(VTYPEavx*)X ;
      VTYPEavx b = *(VTYPEavx*)Y ;
      VTYPEavx s = *(VTYPEavx*)S ;

      VTYPEavx delta = VSUBavx(a, b) ;
      VTYPEavx delta2 = VMULavx(delta, delta) ;
      VTYPEavx delta2w = VMULavx(delta2, w) ;
      VTYPEavx sigmaStore = VADDavx(s,delta2w);

      *(VTYPEavx *)S = sigmaStore;

      X += VSIZEavx ;
      Y += VSIZEavx ;
      S += VSIZEavx ;
    }
  } else {
    while (X < X_vec_end) {
      VTYPEavx a = VLDUavx(X) ;
      VTYPEavx b = VLDUavx(Y) ;
      VTYPEavx s = VLDUavx(S) ;

      VTYPEavx delta = VSUBavx(a, b) ;
      VTYPEavx delta2 = VMULavx(delta, delta) ;
      VTYPEavx delta2w = VMULavx(delta2, w) ;
      VTYPEavx sigmaStore = VADDavx(s,delta2w);

      VST2Uavx(S,sigmaStore);

      X += VSIZEavx ;
      Y += VSIZEavx ;
      S += VSIZEavx ;
    }
  }

  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
    T delta = a - b ;
    *S += ((delta * delta)*W) ;
    S++;
  }
}

// Assembly:
leaq (%rdx,%rdi,8), %rax
leaq (%rdx,%rdi,8), %rdi
addq $-0x18, %rdi
movl %edx, %r8d
orl %esi, %r8d
movl %ecx, %r9d
orl %r8d, %r9d
vmovddup %xmm0, %xmm1            # xmm1 = xmm0[0,0]
vinsertf128 $0x1, %xmm1, %ymm1, %ymm1
testb $0x1f, %r9b
je 0x262a4
cmpq %rdx, %rdi
jbe 0x262d2
vmovupd (%rdx), %ymm2
vsubpd (%rcx), %ymm2, %ymm2
vmulpd %ymm2, %ymm2, %ymm2
vmulpd %ymm2, %ymm1, %ymm2
vaddpd (%rsi), %ymm2, %ymm2
vmovupd %ymm2, (%rsi)
addq $0x20, %rdx
addq $0x20, %rcx
addq $0x20, %rsi
cmpq %rdi, %rdx
jb 0x26279
jmp 0x262d2
cmpq %rdx, %rdi
jbe 0x262d2
vmovapd (%rdx), %ymm2
vsubpd (%rcx), %ymm2, %ymm2
vmulpd %ymm2, %ymm2, %ymm2
vmulpd %ymm2, %ymm1, %ymm2
vaddpd (%rsi), %ymm2, %ymm2
vmovapd %ymm2, (%rsi)
addq $0x20, %rdx
addq $0x20, %rcx
addq $0x20, %rsi
cmpq %rdi, %rdx
jb 0x262a9
cmpq %rax, %rdx
jae 0x26307
xorl %edi, %edi
leaq (%rdx,%rdi), %r8
addq $0x8, %r8
vmovsd -0x8(%r8), %xmm1
vsubsd (%rcx,%rdi), %xmm1, %xmm1
vmulsd %xmm1, %xmm1, %xmm1
vmulsd %xmm0, %xmm1, %xmm1
vaddsd (%rsi,%rdi), %xmm1, %xmm1
vmovsd %xmm1, (%rsi,%rdi)
addq $0x8, %rdi
cmpq %rax, %r8
jb 0x262d9
vzeroupper
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop_sse2.c
// Function: vl_dot_sse2_f
VL_EXPORT T
VL_XCAT(_vl_dot_sse2_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T const * X_vec_end = X_end - VSIZE + 1 ;
  T acc ;
  VTYPE vacc = VSTZ() ;
  vl_bool dataAligned = VALIGNED(X) & VALIGNED(Y) ;

  if (dataAligned) {
    while (X < X_vec_end) {
      VTYPE a = *(VTYPE*)X ;
      VTYPE b = *(VTYPE*)Y ;
      VTYPE d = VMUL(a, b) ;
      vacc = VADD(vacc, d) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  } else {
    while (X < X_vec_end) {
      VTYPE a = VLDU(X) ;
      VTYPE b = VLDU(Y) ;
      VTYPE d = VMUL(a, b) ;
      vacc = VADD(vacc, d) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  }

  acc = VL_XCAT(_vl_vhsum_sse2_, SFX)(vacc) ;

  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
    acc += a * b ;
  }

  return acc ;
}

// Assembly:
leaq (%rsi,%rdi,4), %rax
leaq (%rsi,%rdi,4), %rcx
addq $-0xc, %rcx
movl %edx, %edi
orl %esi, %edi
xorps %xmm0, %xmm0
testb $0xf, %dil
je 0x26cfd
cmpq %rsi, %rcx
jbe 0x26d18
movups (%rsi), %xmm1
movups (%rdx), %xmm2
mulps %xmm1, %xmm2
addps %xmm2, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x26ce2
jmp 0x26d18
cmpq %rsi, %rcx
jbe 0x26d18
movaps (%rsi), %xmm1
mulps (%rdx), %xmm1
addps %xmm1, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x26d02
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addps %xmm0, %xmm1
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
addss %xmm1, %xmm0
cmpq %rax, %rsi
jae 0x26d44
movss (%rsi), %xmm1
mulss (%rdx), %xmm1
addq $0x4, %rsi
addq $0x4, %rdx
jmp 0x26d29
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop_sse2.c
// Function: vl_distance_l2_sse2_f
VL_EXPORT T
VL_XCAT(_vl_distance_l2_sse2_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T const * X_vec_end = X_end - VSIZE + 1 ;
  T acc ;
  VTYPE vacc = VSTZ() ;
  vl_bool dataAligned = VALIGNED(X) & VALIGNED(Y) ;

  if (dataAligned) {
    while (X < X_vec_end) {
      VTYPE a = *(VTYPE*)X ;
      VTYPE b = *(VTYPE*)Y ;
      VTYPE delta = VSUB(a, b) ;
      VTYPE delta2 = VMUL(delta, delta) ;
      vacc = VADD(vacc, delta2) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  } else {
    while (X < X_vec_end) {
      VTYPE a = VLDU(X) ;
      VTYPE b = VLDU(Y) ;
      VTYPE delta = VSUB(a, b) ;
      VTYPE delta2 = VMUL(delta, delta) ;
      vacc = VADD(vacc, delta2) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  }

  acc = VL_XCAT(_vl_vhsum_sse2_, SFX)(vacc) ;

  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
    T delta = a - b ;
    acc += delta * delta ;
  }

  return acc ;
}

// Assembly:
leaq (%rsi,%rdi,4), %rax
leaq (%rsi,%rdi,4), %rcx
addq $-0xc, %rcx
movl %edx, %edi
orl %esi, %edi
xorps %xmm0, %xmm0
testb $0xf, %dil
je 0x26d81
cmpq %rsi, %rcx
jbe 0x26d9f
movups (%rsi), %xmm1
movups (%rdx), %xmm2
subps %xmm2, %xmm1
mulps %xmm1, %xmm1
addps %xmm1, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x26d63
jmp 0x26d9f
cmpq %rsi, %rcx
jbe 0x26d9f
movaps (%rsi), %xmm1
subps (%rdx), %xmm1
mulps %xmm1, %xmm1
addps %xmm1, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x26d86
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addps %xmm0, %xmm1
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
addss %xmm1, %xmm0
cmpq %rax, %rsi
jae 0x26dcf
movss (%rsi), %xmm1
addq $0x4, %rsi
subss (%rdx), %xmm1
addq $0x4, %rdx
mulss %xmm1, %xmm1
jmp 0x26db0
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop_sse2.c
// Function: vl_distance_l1_sse2_f
VL_EXPORT T
VL_XCAT(_vl_distance_l1_sse2_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T const * X_vec_end = X + dimension - VSIZE ;
  T acc ;
  VTYPE vacc = VSTZ() ;
  VTYPE vminus = VL_XCAT(_mm_set1_p, VSFX) ((T) -0.0) ; /* sign bit */
  vl_bool dataAligned = VALIGNED(X) & VALIGNED(Y) ;

  if (dataAligned) {
    while (X < X_vec_end) {
      VTYPE a = *(VTYPE*)X ;
      VTYPE b = *(VTYPE*)Y ;
      VTYPE delta = VSUB(a, b) ;
      vacc = VADD(vacc, VANDN(vminus, delta)) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  } else {
    while (X < X_vec_end) {
      VTYPE a = VLDU(X) ;
      VTYPE b = VLDU(Y) ;
      VTYPE delta = VSUB(a, b) ;
      vacc = VADD(vacc, VANDN(vminus, delta)) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  }

  acc = VL_XCAT(_vl_vhsum_sse2_, SFX)(vacc) ;

  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
    T delta = a - b ;
    acc += VL_MAX(delta, - delta) ;
  }

  return acc ;
}

// Assembly:
leaq (%rsi,%rdi,4), %rax
leaq (%rsi,%rdi,4), %rcx
addq $-0x10, %rcx
movl %edx, %edi
orl %esi, %edi
xorps %xmm0, %xmm0
testb $0xf, %dil
je 0x26ecc
cmpq %rsi, %rcx
jbe 0x26ef1
movaps 0xb2c2(%rip), %xmm1     # 0x32170
movups (%rsi), %xmm2
movups (%rdx), %xmm3
subps %xmm3, %xmm2
andps %xmm1, %xmm2
addps %xmm2, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x26eae
jmp 0x26ef1
cmpq %rsi, %rcx
jbe 0x26ef1
movaps 0xb298(%rip), %xmm1     # 0x32170
movaps (%rsi), %xmm2
subps (%rdx), %xmm2
andps %xmm1, %xmm2
addps %xmm2, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x26ed8
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addps %xmm0, %xmm1
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
addss %xmm1, %xmm0
cmpq %rax, %rsi
jae 0x26f35
movaps 0xb0fe(%rip), %xmm1     # 0x32010
movss (%rsi), %xmm2
addq $0x4, %rsi
subss (%rdx), %xmm2
addq $0x4, %rdx
movaps %xmm2, %xmm3
xorps %xmm1, %xmm3
maxss %xmm3, %xmm2
addss %xmm2, %xmm0
cmpq %rax, %rsi
jb 0x26f12
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop_sse2.c
// Function: vl_distance_chi2_sse2_f
VL_EXPORT T
VL_XCAT(_vl_distance_chi2_sse2_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T const * X_vec_end = X + dimension - VSIZE ;
  T acc ;
  VTYPE vacc = VSTZ() ;
  vl_bool dataAligned = VALIGNED(X) & VALIGNED(Y) ;

  if (dataAligned) {
    while (X < X_vec_end) {
      VTYPE a = *(VTYPE*)X ;
      VTYPE b = *(VTYPE*)Y ;
      VTYPE delta = VSUB(a, b) ;
      VTYPE denom = VADD(a, b) ;
      VTYPE numer = VMUL(delta, delta) ;
      VTYPE ratio = VDIV(numer, denom) ;
      ratio = VAND(ratio, VNEQ(denom, VSTZ())) ;
      vacc = VADD(vacc, ratio) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  } else {
    while (X < X_vec_end) {
      VTYPE a = VLDU(X) ;
      VTYPE b = VLDU(Y) ;
      VTYPE delta = VSUB(a, b) ;
      VTYPE denom = VADD(a, b) ;
      VTYPE numer = VMUL(delta, delta) ;
      VTYPE ratio = VDIV(numer, denom) ;
      ratio = VAND(ratio, VNEQ(denom, VSTZ())) ;
      vacc = VADD(vacc, ratio) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  }

  acc = VL_XCAT(_vl_vhsum_sse2_, SFX)(vacc) ;

  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
    T delta = a - b ;
    T denom = a + b ;
    T numer = delta * delta ;
    if (denom) {
      T ratio = numer / denom ;
      acc += ratio ;
    }
  }
  return acc ;
}

// Assembly:
leaq (%rsi,%rdi,4), %rax
leaq (%rsi,%rdi,4), %rcx
addq $-0x10, %rcx
movl %edx, %edi
orl %esi, %edi
xorps %xmm0, %xmm0
testb $0xf, %dil
je 0x26f85
cmpq %rsi, %rcx
jbe 0x26fb9
xorps %xmm1, %xmm1
movups (%rsi), %xmm2
movups (%rdx), %xmm3
movaps %xmm2, %xmm4
subps %xmm3, %xmm4
addps %xmm3, %xmm2
mulps %xmm4, %xmm4
divps %xmm2, %xmm4
cmpneqps %xmm1, %xmm2
andps %xmm4, %xmm2
addps %xmm2, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x26f57
jmp 0x26fb9
cmpq %rsi, %rcx
jbe 0x26fb9
xorps %xmm1, %xmm1
movaps (%rsi), %xmm2
movaps (%rdx), %xmm3
movaps %xmm2, %xmm4
subps %xmm3, %xmm4
addps %xmm3, %xmm2
mulps %xmm4, %xmm4
divps %xmm2, %xmm4
cmpneqps %xmm1, %xmm2
andps %xmm4, %xmm2
addps %xmm2, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x26f8d
movaps %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
addps %xmm0, %xmm2
movaps %xmm2, %xmm1
shufps $0x55, %xmm2, %xmm1     # xmm1 = xmm1[1,1],xmm2[1,1]
addss %xmm2, %xmm1
cmpq %rax, %rsi
jae 0x27014
xorps %xmm2, %xmm2
movss (%rsi), %xmm3
addq $0x4, %rsi
movss (%rdx), %xmm4
addq $0x4, %rdx
movaps %xmm3, %xmm0
addss %xmm4, %xmm0
subss %xmm4, %xmm3
mulss %xmm3, %xmm3
divss %xmm0, %xmm3
addss %xmm1, %xmm3
cmpneqss %xmm2, %xmm0
andps %xmm0, %xmm3
andnps %xmm1, %xmm0
orps %xmm3, %xmm0
movaps %xmm0, %xmm1
cmpq %rax, %rsi
jb 0x26fd6
retq
movaps %xmm1, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop_sse2.c
// Function: vl_kernel_l2_sse2_f
VL_EXPORT T
VL_XCAT(_vl_kernel_l2_sse2_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T const * X_vec_end = X_end - VSIZE + 1 ;
  T acc ;
  VTYPE vacc = VSTZ() ;
  vl_bool dataAligned = VALIGNED(X) & VALIGNED(Y) ;

  if (dataAligned) {
    while (X < X_vec_end) {
      VTYPE a = *(VTYPE*)X ;
      VTYPE b = *(VTYPE*)Y ;
      vacc = VADD(vacc, VMUL(a,b)) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  } else {
    while (X < X_vec_end) {
      VTYPE a = VLDU(X) ;
      VTYPE b = VLDU(Y) ;
      vacc = VADD(vacc, VMUL(a,b)) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  }

  acc = VL_XCAT(_vl_vhsum_sse2_, SFX)(vacc) ;

  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
    acc += a * b ;
  }
  return acc ;
}

// Assembly:
leaq (%rsi,%rdi,4), %rax
leaq (%rsi,%rdi,4), %rcx
addq $-0xc, %rcx
movl %edx, %edi
orl %esi, %edi
xorps %xmm0, %xmm0
testb $0xf, %dil
je 0x27051
cmpq %rsi, %rcx
jbe 0x2706c
movups (%rsi), %xmm1
movups (%rdx), %xmm2
mulps %xmm1, %xmm2
addps %xmm2, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x27036
jmp 0x2706c
cmpq %rsi, %rcx
jbe 0x2706c
movaps (%rsi), %xmm1
mulps (%rdx), %xmm1
addps %xmm1, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x27056
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addps %xmm0, %xmm1
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
addss %xmm1, %xmm0
cmpq %rax, %rsi
jae 0x27098
movss (%rsi), %xmm1
mulss (%rdx), %xmm1
addq $0x4, %rsi
addq $0x4, %rdx
jmp 0x2707d
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop_sse2.c
// Function: vl_kernel_l1_sse2_f
VL_EXPORT T
VL_XCAT(_vl_kernel_l1_sse2_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T const * X_vec_end = X_end - VSIZE + 1 ;
  T acc ;
  VTYPE vacc = VSTZ() ;
  VTYPE vminus = VL_XCAT(_mm_set1_p, VSFX) ((T) -0.0) ;
  vl_bool dataAligned = VALIGNED(X) & VALIGNED(Y) ;

  if (dataAligned) {
    while (X < X_vec_end) {
      VTYPE a = *(VTYPE*)X ;
      VTYPE b = *(VTYPE*)Y ;
      VTYPE a_ = VANDN(vminus, a) ;
      VTYPE b_ = VANDN(vminus, b) ;
      VTYPE sum = VADD(a_,b_) ;
      VTYPE diff = VSUB(a, b) ;
      VTYPE diff_ = VANDN(vminus, diff) ;
      vacc = VADD(vacc, VSUB(sum, diff_)) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  } else {
    while (X < X_vec_end) {
      VTYPE a = VLDU(X) ;
      VTYPE b = VLDU(Y) ;
      VTYPE a_ = VANDN(vminus, a) ;
      VTYPE b_ = VANDN(vminus, b) ;
      VTYPE sum = VADD(a_,b_) ;
      VTYPE diff = VSUB(a, b) ;
      VTYPE diff_ = VANDN(vminus, diff) ;
      vacc = VADD(vacc, VSUB(sum, diff_)) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  }

  acc = VL_XCAT(_vl_vhsum_sse2_, SFX)(vacc) ;

  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
    T a_ = VL_XCAT(vl_abs_, SFX) (a) ;
    T b_ = VL_XCAT(vl_abs_, SFX) (b) ;
    acc += a_ + b_ - VL_XCAT(vl_abs_, SFX) (a - b) ;
  }

  return acc / ((T)2) ;
}

// Assembly:
leaq (%rsi,%rdi,4), %rax
leaq (%rsi,%rdi,4), %rcx
addq $-0xc, %rcx
movl %edx, %edi
orl %esi, %edi
xorps %xmm0, %xmm0
testb $0xf, %dil
je 0x270eb
cmpq %rsi, %rcx
jbe 0x27122
movaps 0xb0b2(%rip), %xmm1     # 0x32170
movups (%rsi), %xmm2
movups (%rdx), %xmm3
movaps %xmm2, %xmm4
andps %xmm1, %xmm4
subps %xmm3, %xmm2
andps %xmm1, %xmm3
addps %xmm4, %xmm3
andps %xmm1, %xmm2
subps %xmm2, %xmm3
addps %xmm3, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x270be
jmp 0x27122
cmpq %rsi, %rcx
jbe 0x27122
movaps 0xb079(%rip), %xmm1     # 0x32170
movaps (%rsi), %xmm2
movaps (%rdx), %xmm3
movaps %xmm2, %xmm4
andps %xmm1, %xmm4
subps %xmm3, %xmm2
andps %xmm1, %xmm3
addps %xmm4, %xmm3
andps %xmm1, %xmm2
subps %xmm2, %xmm3
addps %xmm3, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x270f7
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addps %xmm0, %xmm1
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
addss %xmm1, %xmm0
cmpq %rax, %rsi
jae 0x27174
movaps 0xb02d(%rip), %xmm1     # 0x32170
movss (%rsi), %xmm2
addq $0x4, %rsi
movss (%rdx), %xmm3
addq $0x4, %rdx
movaps %xmm2, %xmm4
andps %xmm1, %xmm4
subss %xmm3, %xmm2
andps %xmm1, %xmm3
addss %xmm4, %xmm3
andps %xmm1, %xmm2
subss %xmm2, %xmm3
addss %xmm3, %xmm0
cmpq %rax, %rsi
jb 0x27143
mulss 0xb1e4(%rip), %xmm0     # 0x32360
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop_sse2.c
// Function: vl_kernel_chi2_sse2_f
VL_EXPORT T
VL_XCAT(_vl_kernel_chi2_sse2_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T const * X_vec_end = X + dimension - VSIZE ;
  T acc ;
  VTYPE vacc = VSTZ() ;
  vl_bool dataAligned = VALIGNED(X) & VALIGNED(Y) ;

  if (dataAligned) {
    while (X < X_vec_end) {
      VTYPE a = *(VTYPE*)X ;
      VTYPE b = *(VTYPE*)Y ;
      VTYPE denom = VADD(a, b) ;
      VTYPE numer = VMUL(a,b) ;
      VTYPE ratio = VDIV(numer, denom) ;
      ratio = VAND(ratio, VNEQ(denom, VSTZ())) ;
      vacc = VADD(vacc, ratio) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  } else {
    while (X < X_vec_end) {
      VTYPE a = VLDU(X) ;
      VTYPE b = VLDU(Y) ;
      VTYPE denom = VADD(a, b) ;
      VTYPE numer = VMUL(a,b) ;
      VTYPE ratio = VDIV(numer, denom) ;
      ratio = VAND(ratio, VNEQ(denom, VSTZ())) ;
      vacc = VADD(vacc, ratio) ;
      X += VSIZE ;
      Y += VSIZE ;
    }
  }

  acc = VL_XCAT(_vl_vhsum_sse2_, SFX)(vacc) ;

  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
    T denom = a + b ;
    if (denom) {
      T ratio = a * b / denom ;
      acc += ratio ;
    }
  }
  return ((T)2) * acc ;
}

// Assembly:
leaq (%rsi,%rdi,4), %rax
leaq (%rsi,%rdi,4), %rcx
addq $-0x10, %rcx
movl %edx, %edi
orl %esi, %edi
xorps %xmm0, %xmm0
testb $0xf, %dil
je 0x271c9
cmpq %rsi, %rcx
jbe 0x271fa
xorps %xmm1, %xmm1
movups (%rsi), %xmm2
movups (%rdx), %xmm3
movaps %xmm2, %xmm4
addps %xmm3, %xmm4
mulps %xmm3, %xmm2
divps %xmm4, %xmm2
cmpneqps %xmm1, %xmm4
andps %xmm2, %xmm4
addps %xmm4, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x2719e
jmp 0x271fa
cmpq %rsi, %rcx
jbe 0x271fa
xorps %xmm1, %xmm1
movaps (%rsi), %xmm2
movaps (%rdx), %xmm3
movaps %xmm2, %xmm4
addps %xmm3, %xmm4
mulps %xmm3, %xmm2
divps %xmm4, %xmm2
cmpneqps %xmm1, %xmm4
andps %xmm2, %xmm4
addps %xmm4, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
cmpq %rcx, %rsi
jb 0x271d1
movaps %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
addps %xmm0, %xmm2
movaps %xmm2, %xmm1
shufps $0x55, %xmm2, %xmm1     # xmm1 = xmm1[1,1],xmm2[1,1]
addss %xmm2, %xmm1
cmpq %rax, %rsi
jae 0x27252
xorps %xmm2, %xmm2
movss (%rsi), %xmm3
addq $0x4, %rsi
movss (%rdx), %xmm4
addq $0x4, %rdx
movaps %xmm3, %xmm0
addss %xmm4, %xmm0
mulss %xmm4, %xmm3
divss %xmm0, %xmm3
addss %xmm1, %xmm3
cmpneqss %xmm2, %xmm0
andps %xmm0, %xmm3
andnps %xmm1, %xmm0
orps %xmm3, %xmm0
movaps %xmm0, %xmm1
cmpq %rax, %rsi
jb 0x27217
jmp 0x27255
movaps %xmm1, %xmm0
addss %xmm0, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop_sse2.c
// Function: vl_weighted_sigma_sse2_d
VL_EXPORT void
VL_XCAT(_vl_weighted_sigma_sse2_, SFX)
(vl_size dimension, T * S, T const * X, T const * Y, T const W)
{
  T const * X_end = X + dimension ;
  T const * X_vec_end = X_end - VSIZE + 1 ;

  vl_bool dataAligned = VALIGNED(X) & VALIGNED(Y) & VALIGNED(S);

  VTYPE w = VLD1 (&W) ;

  if (dataAligned) {
    while (X < X_vec_end) {
      VTYPE a = *(VTYPE*)X ;
      VTYPE b = *(VTYPE*)Y ;
      VTYPE s = *(VTYPE*)S ;

      VTYPE delta = VSUB(a, b) ;
      VTYPE delta2 = VMUL(delta, delta) ;
      VTYPE delta2w = VMUL(delta2, w) ;
      VTYPE sigmaStore = VADD(s,delta2w);

      *(VTYPE *)S = sigmaStore;

      X += VSIZE ;
      Y += VSIZE ;
      S += VSIZE ;
    }
  } else {
    while (X < X_vec_end) {
      VTYPE a = VLDU(X) ;
      VTYPE b = VLDU(Y) ;
      VTYPE s = VLDU(S) ;

      VTYPE delta = VSUB(a, b) ;
      VTYPE delta2 = VMUL(delta, delta) ;
      VTYPE delta2w = VMUL(delta2, w) ;
      VTYPE sigmaStore = VADD(s,delta2w);

      VST2U(S,sigmaStore);

      X += VSIZE ;
      Y += VSIZE ;
      S += VSIZE ;
    }
  }


  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
    T delta = a - b ;
    *S += ((delta * delta)*W) ;
    S++;
  }
}

// Assembly:
leaq (%rdx,%rdi,8), %rax
leaq (%rdx,%rdi,8), %rdi
addq $-0x8, %rdi
movl %edx, %r8d
orl %esi, %r8d
movl %ecx, %r9d
orl %r8d, %r9d
movapd %xmm0, %xmm1
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
testb $0xf, %r9b
je 0x26bd8
cmpq %rdx, %rdi
jbe 0x26c06
movupd (%rdx), %xmm2
movupd (%rcx), %xmm3
subpd %xmm3, %xmm2
movupd (%rsi), %xmm3
mulpd %xmm2, %xmm2
mulpd %xmm1, %xmm2
addpd %xmm3, %xmm2
movupd %xmm2, (%rsi)
addq $0x10, %rdx
addq $0x10, %rcx
addq $0x10, %rsi
cmpq %rdi, %rdx
jb 0x26ba5
jmp 0x26c06
cmpq %rdx, %rdi
jbe 0x26c06
movapd (%rdx), %xmm2
subpd (%rcx), %xmm2
mulpd %xmm2, %xmm2
mulpd %xmm1, %xmm2
addpd (%rsi), %xmm2
movapd %xmm2, (%rsi)
addq $0x10, %rdx
addq $0x10, %rcx
addq $0x10, %rsi
cmpq %rdi, %rdx
jb 0x26bdd
cmpq %rax, %rdx
jae 0x26c3b
xorl %edi, %edi
leaq (%rdx,%rdi), %r8
addq $0x8, %r8
movsd -0x8(%r8), %xmm1
subsd (%rcx,%rdi), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm1
addsd (%rsi,%rdi), %xmm1
movsd %xmm1, (%rsi,%rdi)
addq $0x8, %rdi
cmpq %rax, %r8
jb 0x26c0d
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mathop_sse2.c
// Function: vl_distance_mahalanobis_sq_sse2_f
VL_EXPORT T
VL_XCAT(_vl_distance_mahalanobis_sq_sse2_, SFX)
(vl_size dimension, T const * X, T const * MU, T const * S)
{
  T const * X_end = X + dimension ;
  T const * X_vec_end = X_end - VSIZE + 1 ;
  T acc ;
  VTYPE vacc = VSTZ() ;
  vl_bool dataAligned = VALIGNED(X) & VALIGNED(MU) & VALIGNED(S);

  if (dataAligned) {
    while (X < X_vec_end) {
      VTYPE a = *(VTYPE*)X ;
      VTYPE b = *(VTYPE*)MU ;
      VTYPE c = *(VTYPE*)S ;

      VTYPE delta = VSUB(a, b) ;
      VTYPE delta2 = VMUL(delta, delta) ;
      VTYPE delta2div = VMUL(delta2,c);

      vacc = VADD(vacc, delta2div) ;

      X  += VSIZE ;
      MU += VSIZE ;
      S  += VSIZE ;
    }
  } else {
    while (X < X_vec_end) {

      VTYPE a = VLDU(X) ;
      VTYPE b = VLDU(MU) ;
      VTYPE c = VLDU(S) ;

      VTYPE delta = VSUB(a, b) ;
      VTYPE delta2 = VMUL(delta, delta) ;
      VTYPE delta2div = VMUL(delta2,c);

      vacc = VADD(vacc, delta2div) ;

      X  += VSIZE ;
      MU += VSIZE ;
      S  += VSIZE ;
    }
  }

  acc = VL_XCAT(_vl_vhsum_sse2_, SFX)(vacc) ;

  while (X < X_end) {
    T a = *X++ ;
    T b = *MU++ ;
    T c = *S++ ;
    T delta = a - b ;
    acc += (delta * delta) * c;
  }

  return acc ;
}

// Assembly:
leaq (%rsi,%rdi,4), %rax
leaq (%rsi,%rdi,4), %rdi
addq $-0xc, %rdi
movl %edx, %r8d
orl %esi, %r8d
movl %ecx, %r9d
orl %r8d, %r9d
xorps %xmm0, %xmm0
testb $0xf, %r9b
je 0x26e1e
cmpq %rsi, %rdi
jbe 0x26e43
movups (%rsi), %xmm1
movups (%rdx), %xmm2
subps %xmm2, %xmm1
movups (%rcx), %xmm2
mulps %xmm1, %xmm1
mulps %xmm2, %xmm1
addps %xmm1, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
addq $0x10, %rcx
cmpq %rdi, %rsi
jb 0x26df6
jmp 0x26e43
cmpq %rsi, %rdi
jbe 0x26e43
movaps (%rsi), %xmm1
subps (%rdx), %xmm1
mulps %xmm1, %xmm1
mulps (%rcx), %xmm1
addps %xmm1, %xmm0
addq $0x10, %rsi
addq $0x10, %rdx
addq $0x10, %rcx
cmpq %rdi, %rsi
jb 0x26e23
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addps %xmm0, %xmm1
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
addss %xmm1, %xmm0
cmpq %rax, %rsi
jae 0x26e88
xorl %edi, %edi
leaq (%rsi,%rdi), %r8
addq $0x4, %r8
movss -0x4(%r8), %xmm1
subss (%rdx,%rdi), %xmm1
mulss %xmm1, %xmm1
mulss (%rcx,%rdi), %xmm1
addss %xmm1, %xmm0
addq $0x4, %rdi
cmpq %rax, %r8
jb 0x26e5f
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mser.c
// Function: vl_mser_new
VL_EXPORT
VlMserFilt*
vl_mser_new (int ndims, int const* dims)
{
  VlMserFilt* f ;
  int *strides, k ;

  f = vl_calloc (sizeof(VlMserFilt), 1) ;

  f-> ndims   = ndims ;
  f-> dims    = vl_malloc (sizeof(int) * ndims) ;
  f-> subs    = vl_malloc (sizeof(int) * ndims) ;
  f-> dsubs   = vl_malloc (sizeof(int) * ndims) ;
  f-> strides = vl_malloc (sizeof(int) * ndims) ;

  /* shortcuts */
  strides = f-> strides ;

  /* copy dims to f->dims */
  for(k = 0 ; k < ndims ; ++k) {
    f-> dims [k] = dims [k] ;
  }

  /* compute strides to move into the N-dimensional image array */
  strides [0] = 1 ;
  for(k = 1 ; k < ndims ; ++k) {
    strides [k] = strides [k-1] * dims [k-1] ;
  }

  /* total number of pixels */
  f-> nel = strides [ndims-1] * dims [ndims-1] ;

  /* dof of ellipsoids */
  f-> dof = ndims * (ndims + 1) / 2 + ndims ;

  /* more buffers */
  f-> perm   = vl_malloc (sizeof(vl_uint)   * f-> nel) ;
  f-> joins  = vl_malloc (sizeof(vl_uint)   * f-> nel) ;
  f-> r      = vl_malloc (sizeof(VlMserReg) * f-> nel) ;

  f-> er     = 0 ;
  f-> rer    = 0 ;
  f-> mer    = 0 ;
  f-> rmer   = 0 ;
  f-> ell    = 0 ;
  f-> rell   = 0 ;

  /* other parameters */
  f-> delta         = 5 ;
  f-> max_area      = 0.75 ;
  f-> min_area      = 3.0 / f-> nel ;
  f-> max_variation = 0.25 ;
  f-> min_diversity = 0.2 ;

  return f ;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r15
movl %edi, %r14d
movl $0xd0, %edi
movl $0x1, %esi
callq 0x98f0
movq %rax, %rbx
movl %r14d, (%rax)
movslq %r14d, %r13
leaq (,%r13,4), %r12
movq %r12, %rdi
callq 0x95b0
movq %rax, 0x8(%rbx)
movq %r12, %rdi
callq 0x95b0
movq %rax, 0x18(%rbx)
movq %r12, %rdi
callq 0x95b0
movq %rax, 0x20(%rbx)
movq %r12, %rdi
callq 0x95b0
movq %rax, 0x28(%rbx)
testl %r13d, %r13d
jle 0x27431
movq 0x8(%rbx), %rdx
movl %r14d, %ecx
xorl %esi, %esi
movl (%r15,%rsi,4), %edi
movl %edi, (%rdx,%rsi,4)
incq %rsi
cmpq %rsi, %rcx
jne 0x273f9
movl $0x1, (%rax)
cmpl $0x1, %r14d
je 0x27437
decq %rcx
movl $0x1, %edx
xorl %esi, %esi
imull (%r15,%rsi,4), %edx
movl %edx, 0x4(%rax,%rsi,4)
incq %rsi
cmpq %rsi, %rcx
jne 0x2741e
jmp 0x27437
movl $0x1, (%rax)
movslq -0x4(%rax,%r13,4), %rax
movslq -0x4(%r15,%r13,4), %rdi
imulq %rax, %rdi
movl %edi, 0x10(%rbx)
leal 0x1(%r14), %eax
imull %r14d, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %r14d, %ecx
movl %ecx, 0x88(%rbx)
shlq $0x2, %rdi
callq 0x95b0
movq %rax, 0x30(%rbx)
movslq 0x10(%rbx), %rdi
shlq $0x2, %rdi
callq 0x95b0
movq %rax, 0x38(%rbx)
movslq 0x10(%rbx), %rdi
shlq $0x4, %rdi
callq 0x95b0
movq %rax, 0x48(%rbx)
xorl %eax, %eax
movq %rax, 0x68(%rbx)
movq %rax, 0x78(%rbx)
movl $0x0, 0x80(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rbx)
movl $0x5, 0x90(%rbx)
movabsq $0x3fe8000000000000, %rax # imm = 0x3FE8000000000000
movq %rax, 0x98(%rbx)
xorps %xmm0, %xmm0
cvtsi2sdl 0x10(%rbx), %xmm0
movsd 0xad49(%rip), %xmm1     # 0x32220
divsd %xmm0, %xmm1
movsd %xmm1, 0xa0(%rbx)
movaps 0xbd36(%rip), %xmm0     # 0x33220
movups %xmm0, 0xa8(%rbx)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/mser.c
// Function: vl_mser_delete
VL_EXPORT
void
vl_mser_delete (VlMserFilt* f)
{
  if(f) {
    if(f-> acc   )  vl_free( f-> acc    ) ;
    if(f-> ell   )  vl_free( f-> ell    ) ;

    if(f-> er    )  vl_free( f-> er     ) ;
    if(f-> r     )  vl_free( f-> r      ) ;
    if(f-> joins )  vl_free( f-> joins  ) ;
    if(f-> perm  )  vl_free( f-> perm   ) ;

    if(f-> strides) vl_free( f-> strides) ;
    if(f-> dsubs  ) vl_free( f-> dsubs  ) ;
    if(f-> subs   ) vl_free( f-> subs   ) ;
    if(f-> dims   ) vl_free( f-> dims   ) ;

    if(f-> mer    ) vl_free( f-> mer    ) ;
    vl_free (f) ;
  }
}

// Assembly:
testq %rdi, %rdi
je 0x275ae
pushq %rbx
movq %rdi, %rbx
movq 0x70(%rdi), %rdi
testq %rdi, %rdi
je 0x27519
callq 0x9580
movq 0x78(%rbx), %rdi
testq %rdi, %rdi
je 0x27527
callq 0x9580
movq 0x50(%rbx), %rdi
testq %rdi, %rdi
je 0x27535
callq 0x9580
movq 0x48(%rbx), %rdi
testq %rdi, %rdi
je 0x27543
callq 0x9580
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x27551
callq 0x9580
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x2755f
callq 0x9580
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x2756d
callq 0x9580
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x2757b
callq 0x9580
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x27589
callq 0x9580
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x27597
callq 0x9580
movq 0x58(%rbx), %rdi
testq %rdi, %rdi
je 0x275a5
callq 0x9580
movq %rbx, %rdi
popq %rbx
jmp 0x9580
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/pgm.c
// Function: remove_blanks
static int
remove_blanks(FILE* f)
{
  int count = 0 ;
  int c ;

  while (1) {
    c = fgetc(f) ;

    switch(c) {

    case '\t' : case '\n' :
    case '\r' : case ' '  :
      ++ count ;
      break ;

    case '#' :
      count += 1 + remove_line(f) ;
      break ;

    case EOF :
      goto quit_remove_blanks ;

    default:
      ungetc(c, f) ;
      goto quit_remove_blanks ;
    }
  }
 quit_remove_blanks:
  return count ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
xorl %ebx, %ebx
movabsq $0x200004c00, %r15      # imm = 0x200004C00
movq %r14, %rdi
callq 0x9420
leal 0x1(%rax), %ecx
cmpl $0x24, %ecx
ja 0x28398
movl $0x1, %ebp
btq %rcx, %r15
jae 0x28373
addl %ebp, %ebx
jmp 0x28354
cmpq $0x24, %rcx
jne 0x28393
movq %r14, %rdi
callq 0x9420
incl %ebp
cmpl $-0x1, %eax
je 0x2838f
cmpl $0xa, %eax
jne 0x28379
jmp 0x2836f
decl %ebp
jmp 0x2836f
testq %rcx, %rcx
je 0x283a2
movl %eax, %edi
movq %r14, %rsi
callq 0x96a0
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/pgm.c
// Function: vl_pgm_extract_data
VL_EXPORT
int
vl_pgm_extract_data (FILE* f, VlPgmImage const *im, void *data)
{
  vl_size bpp = vl_pgm_get_bpp(im) ;
  vl_size data_size = vl_pgm_get_npixels(im) ;
  vl_bool good = 1 ;
  size_t c ;

  /* -----------------------------------------------------------------
   *                                                         read data
   * -------------------------------------------------------------- */

  /*
     In RAW mode we read directly an array of bytes or shorts.  In
     the latter case, however, we must take care of the
     endianess. PGM files are sorted in big-endian format. If our
     architecture is little endian, we must do a conversion.
  */
  if (im->is_raw) {

    c = fread( data,
               bpp,
               data_size,
               f ) ;
    good = (c == data_size) ;

    /* adjust endianess */
#if defined(VL_ARCH_LITTLE_ENDIAN)
    if (bpp == 2) {
      vl_uindex i ;
      vl_uint8 *pt = (vl_uint8*) data ;
      for(i = 0 ; i < 2 * data_size ; i += 2) {
        vl_uint8 tmp = pt [i] ;
        pt [i]   = pt [i+1] ;
        pt [i+1] = tmp ;
      }
    }
#endif
  }
  /*
     In ASCII mode we read a sequence of decimal numbers separated
     by whitespaces.
  */
  else {
    vl_uindex i ;
    int unsigned v ;
    for(good = 1, i = 0 ;
        i < data_size && good ;
        ++i) {
      c = fscanf(f, " %ud", &v) ;
      if (bpp == 1) {
        * ((vl_uint8* )  data + i) = (vl_uint8)  v ;
      } else {
        * ((vl_uint16*)  data + i) = (vl_uint16) v ;
      }
      good &= c == 1 ;
    }
  }

  if(! good ) {
    return vl_set_last_error(VL_ERR_PGM_INV_DATA, "Invalid PGM data") ;
  }
  return 0 ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r15
movq 0x8(%rsi), %r14
movq 0x10(%rsi), %rbp
imulq (%rsi), %r14
cmpl $0x0, 0x18(%rsi)
je 0x28418
cmpq $0x100, %rbp            # imm = 0x100
movl $0x2, %esi
sbbq $0x0, %rsi
movq %rbx, %rdi
movq %r14, %rdx
movq %r15, %rcx
callq 0x91c0
xorl %ecx, %ecx
cmpq %r14, %rax
sete %cl
cmpq $0x100, %rbp            # imm = 0x100
jb 0x28472
addq %r14, %r14
je 0x28472
xorl %eax, %eax
rolw $0x8, (%rbx,%rax)
addq $0x2, %rax
cmpq %r14, %rax
jb 0x28408
jmp 0x28472
testq %r14, %r14
je 0x2846d
movl $0x1, %r12d
leaq 0x4(%rsp), %r13
movq %r15, %rdi
leaq 0xae35(%rip), %rsi      # 0x33267
movq %r13, %rdx
xorl %eax, %eax
callq 0x9120
movl 0x4(%rsp), %ecx
cmpq $0xff, %rbp
ja 0x28450
movb %cl, -0x1(%rbx,%r12)
jmp 0x28456
movw %cx, -0x2(%rbx,%r12,2)
cmpq %r14, %r12
jae 0x28463
incq %r12
cmpl $0x1, %eax
je 0x28428
xorl %ecx, %ecx
cmpl $0x1, %eax
sete %cl
jmp 0x28472
movl $0x1, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jne 0x2848b
leaq 0xaded(%rip), %rsi      # 0x3326c
movl $0x67, %edi
xorl %eax, %eax
callq 0x9150
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/pgm.c
// Function: vl_pgm_read_new
VL_EXPORT
int vl_pgm_read_new (char const *name, VlPgmImage *im, vl_uint8** data)
{
  int err = 0 ;
  FILE *f = fopen (name, "rb") ;

  if (! f) {
    return vl_set_last_error(VL_ERR_PGM_IO, "Error opening PGM file `%s' for reading", name) ;
  }

  err = vl_pgm_extract_head(f, im) ;
  if (err) {
    fclose (f) ;
    return err ;
  }

  if (vl_pgm_get_bpp(im) > 1) {
    return vl_set_last_error(VL_ERR_BAD_ARG, "PGM with BPP > 1 not supported") ;
  }

  *data = vl_malloc (vl_pgm_get_npixels(im) * sizeof(vl_uint8)) ;
  err = vl_pgm_extract_data(f, im, *data) ;

  if (err) {
    vl_free (data) ;
    fclose (f) ;
  }

  fclose (f) ;
  return err ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
leaq 0xad1e(%rip), %rsi      # 0x332a1
callq 0x97f0
testq %rax, %rax
je 0x285b4
movq %rax, %rbx
movq %rax, %rdi
movq %r15, %rsi
callq 0x93c0
testl %eax, %eax
je 0x285d2
movl %eax, %ebp
movq %rbx, %rdi
callq 0x92a0
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0xace9(%rip), %rsi      # 0x332a4
movl $0x68, %edi
movq %r12, %rdx
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x9150
cmpq $0x100, 0x10(%r15)      # imm = 0x100
jb 0x285f7
leaq 0xace9(%rip), %rsi      # 0x332cc
movl $0x3, %edi
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x9150
movq 0x8(%r15), %rdi
imulq (%r15), %rdi
callq 0x95b0
movq %rax, (%r14)
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x96c0
movl %eax, %ebp
testl %eax, %eax
je 0x285a1
movq %r14, %rdi
callq 0x9580
movq %rbx, %rdi
callq 0x92a0
jmp 0x285a1
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/pgm.c
// Function: vl_pgm_read_new_f
VL_EXPORT
int vl_pgm_read_new_f (char const *name,  VlPgmImage *im, float** data)
{
  int err = 0 ;
  size_t npixels ;
  vl_uint8 *idata ;

  err = vl_pgm_read_new (name, im, &idata) ;
  if (err) {
    return err ;
  }

  npixels = vl_pgm_get_npixels(im) ;
  *data = vl_malloc (sizeof(float) * npixels) ;
  {
    size_t k ;
    float scale = 1.0f / (float)im->max_value ;
    for (k = 0 ; k < npixels ; ++ k) (*data)[k] = scale * idata[k] ;
  }

  vl_free (idata) ;
  return 0 ;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %rbx
leaq 0x8(%rsp), %rdx
callq 0x9110
testl %eax, %eax
jne 0x286c5
movq 0x8(%rbx), %r15
imulq (%rbx), %r15
leaq (,%r15,4), %rdi
callq 0x95b0
movq %rax, (%r14)
movq 0x10(%rbx), %rcx
testq %rcx, %rcx
js 0x28675
cvtsi2ss %rcx, %xmm1
jmp 0x2868a
movq %rcx, %rdx
shrq %rdx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm1
addss %xmm1, %xmm1
movq 0x8(%rsp), %rdi
testq %r15, %r15
je 0x286be
movss 0x9cc0(%rip), %xmm0     # 0x3235c
divss %xmm1, %xmm0
xorl %ecx, %ecx
movzbl (%rdi,%rcx), %edx
xorps %xmm1, %xmm1
cvtsi2ss %edx, %xmm1
mulss %xmm0, %xmm1
movss %xmm1, (%rax,%rcx,4)
incq %rcx
cmpq %rcx, %r15
jne 0x286a2
callq 0x9580
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/pgm.c
// Function: vl_pgm_write
VL_EXPORT
int vl_pgm_write (char const *name, vl_uint8 const* data, int width, int height)
{
  int err = 0 ;
  VlPgmImage pgm ;
  FILE *f = fopen (name, "wb") ;

  if (! f) {
    return vl_set_last_error(VL_ERR_PGM_IO,
             "Error opening PGM file '%s' for writing", name) ;
  }

  pgm.width = width ;
  pgm.height = height ;
  pgm.is_raw = 1 ;
  pgm.max_value = 255 ;

  err = vl_pgm_insert (f, &pgm, data) ;
  fclose (f) ;

  return err ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %ecx, %ebp
movl %edx, %r12d
movq %rsi, %rbx
movq %rdi, %r15
leaq 0xabfe(%rip), %rsi      # 0x332eb
callq 0x97f0
testq %rax, %rax
je 0x2873d
movq %rax, %r14
movslq %r12d, %rax
movq %rsp, %rsi
movq %rax, (%rsi)
movslq %ebp, %rax
movq %rax, 0x8(%rsi)
movl $0x1, 0x18(%rsi)
movq $0xff, 0x10(%rsi)
movq %r14, %rdi
movq %rbx, %rdx
callq 0x90f0
movl %eax, %ebx
movq %r14, %rdi
callq 0x92a0
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0xabaa(%rip), %rsi      # 0x332ee
movl $0x68, %edi
movq %r15, %rdx
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x9150
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/pgm.c
// Function: vl_pgm_write_f
VL_EXPORT
int vl_pgm_write_f (char const *name, float const* data, int width, int height)
{
  int err = 0 ;
  int k ;
  float min = + VL_INFINITY_F ;
  float max = - VL_INFINITY_F ;
  float scale ;

  vl_uint8 * buffer = vl_malloc (sizeof(float) * width * height) ;

  for (k = 0 ; k < width * height ; ++k) {
    min = VL_MIN(min, data [k]) ;
    max = VL_MAX(max, data [k]) ;
  }

  scale = 255 / (max - min + VL_EPSILON_F) ;

  for (k = 0 ; k < width * height ; ++k) {
    buffer [k] = (vl_uint8) ((data [k] - min) * scale) ;
  }

  err = vl_pgm_write (name, buffer, width, height) ;

  vl_free (buffer) ;
  return err ;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebx
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %r14
movslq %edx, %rax
movslq %ecx, %rdi
imulq %rax, %rdi
shlq $0x2, %rdi
callq 0x95b0
movq %rax, %r12
movl %ebx, %ecx
imull %ebp, %ecx
testl %ecx, %ecx
jle 0x287f6
movl %ecx, %eax
movss 0x9b0e(%rip), %xmm0     # 0x322a8
movss 0x9d6e(%rip), %xmm1     # 0x32510
xorl %edx, %edx
movss (%r15,%rdx,4), %xmm2
minss %xmm2, %xmm0
maxss %xmm2, %xmm1
incq %rdx
cmpq %rdx, %rax
jne 0x287a4
testl %ecx, %ecx
jle 0x287f6
subss %xmm0, %xmm1
addss 0x9b9a(%rip), %xmm1     # 0x32364
movss 0xaa5e(%rip), %xmm2     # 0x33230
divss %xmm1, %xmm2
xorl %ecx, %ecx
movss (%r15,%rcx,4), %xmm1
subss %xmm0, %xmm1
mulss %xmm2, %xmm1
cvttss2si %xmm1, %edx
movb %dl, (%r12,%rcx)
incq %rcx
cmpq %rcx, %rax
jne 0x287d8
movq %r14, %rdi
movq %r12, %rsi
movl %ebp, %edx
movl %ebx, %ecx
callq 0x93a0
movl %eax, %ebx
movq %r12, %rdi
callq 0x9580
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/quickshift.c
// Function: vl_quickshift_new
VL_EXPORT
VlQS *
vl_quickshift_new(vl_qs_type const * image, int height, int width,
                       int channels)
{
  VlQS * q = vl_malloc(sizeof(VlQS));

  q->image    = (vl_qs_type *)image;
  q->height   = height;
  q->width    = width;
  q->channels = channels;

  q->medoid   = VL_FALSE;
  q->tau      = VL_MAX(height,width)/50;
  q->sigma    = VL_MAX(2, q->tau/3);

  q->dists    = vl_calloc(height*width, sizeof(vl_qs_type));
  q->parents  = vl_calloc(height*width, sizeof(int));
  q->density  = vl_calloc(height*width, sizeof(vl_qs_type)) ;

  return q;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %r15d
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %r12
movl $0x40, %edi
callq 0x95b0
movq %rax, %rbx
movq %r12, (%rax)
movl %r14d, 0x8(%rax)
movl %ebp, 0xc(%rax)
movl %r15d, 0x10(%rax)
movl $0x0, 0x14(%rax)
cmpl %ebp, %r14d
movl %ebp, %eax
cmovgl %r14d, %eax
cltq
imulq $0x51eb851f, %rax, %rax # imm = 0x51EB851F
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x24, %rax
addl %ecx, %eax
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x20(%rbx)
divsd 0x999f(%rip), %xmm0     # 0x32220
movsd 0xa1df(%rip), %xmm1     # 0x32a68
maxsd %xmm0, %xmm1
movsd %xmm1, 0x18(%rbx)
imull %r14d, %ebp
movslq %ebp, %r14
movl $0x8, %esi
movq %r14, %rdi
callq 0x98f0
movq %rax, 0x30(%rbx)
movl $0x4, %esi
movq %r14, %rdi
callq 0x98f0
movq %rax, 0x28(%rbx)
movl $0x8, %esi
movq %r14, %rdi
callq 0x98f0
movq %rax, 0x38(%rbx)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/zpole[P]IICV/vl/quickshift.c
// Function: vl_quickshift_delete
void vl_quickshift_delete(VlQS * q)
{
  if (q) {
    if (q->parents) vl_free(q->parents);
    if (q->dists)   vl_free(q->dists);
    if (q->density) vl_free(q->density);

    vl_free(q);
  }
}

// Assembly:
testq %rdi, %rdi
je 0x295ba
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
testq %rdi, %rdi
je 0x29595
callq 0x9580
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x295a3
callq 0x9580
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x295b1
callq 0x9580
movq %rbx, %rdi
popq %rbx
jmp 0x9580
retq
nop