LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/kmeans.c
// Function: vl_kmeans_reset
VL_EXPORT void
vl_kmeans_reset (VlKMeans * self)
{
  self->numCenters = 0 ;
  self->dimension = 0 ;

  if (self->centers) vl_free(self->centers) ;
  if (self->centerDistances) vl_free(self->centerDistances) ;

  self->centers = NULL ;
  self->centerDistances = NULL ;
}

// Assembly:
pushq %rax
movq %rdi, (%rsp)
movq (%rsp), %rax
movq $0x0, 0x10(%rax)
movq (%rsp), %rax
movq $0x0, 0x8(%rax)
movq (%rsp), %rax
cmpq $0x0, 0x58(%rax)
je 0x2e9c5
movq (%rsp), %rax
movq 0x58(%rax), %rdi
callq 0x9620
movq (%rsp), %rax
cmpq $0x0, 0x60(%rax)
je 0x2e9dd
movq (%rsp), %rax
movq 0x60(%rax), %rdi
callq 0x9620
movq (%rsp), %rax
movq $0x0, 0x58(%rax)
movq (%rsp), %rax
movq $0x0, 0x60(%rax)
popq %rax
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/kmeans.c
// Function: vl_kmeans_new
VL_EXPORT VlKMeans *
vl_kmeans_new (vl_type dataType,
               VlVectorComparisonType distance)
{
  VlKMeans * self = vl_calloc(1, sizeof(VlKMeans)) ;

  self->algorithm = VlKMeansLloyd ;
  self->distance = distance ;
  self->dataType = dataType ;
  self->verbosity = 0 ;
  self->maxNumIterations = 100 ;
  self->minEnergyVariation = 1e-4 ;
  self->numRepetitions = 1 ;
  self->centers = NULL ;
  self->centerDistances = NULL ;
  self->numTrees = 3;
  self->maxNumComparisons = 100;

  vl_kmeans_reset (self) ;
  return self ;
}

// Assembly:
subq $0x18, %rsp
movl %edi, 0x14(%rsp)
movl %esi, 0x10(%rsp)
movl $0x1, %edi
movl $0x80, %esi
callq 0x9a70
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movl $0x0, 0x2c(%rax)
movl 0x10(%rsp), %ecx
movq 0x8(%rsp), %rax
movl %ecx, 0x30(%rax)
movl 0x14(%rsp), %ecx
movq 0x8(%rsp), %rax
movl %ecx, (%rax)
movq 0x8(%rsp), %rax
movl $0x0, 0x50(%rax)
movq 0x8(%rsp), %rax
movq $0x64, 0x38(%rax)
movq 0x8(%rsp), %rax
movsd 0x2a8d7(%rip), %xmm0    # 0x59340
movsd %xmm0, 0x40(%rax)
movq 0x8(%rsp), %rax
movq $0x1, 0x48(%rax)
movq 0x8(%rsp), %rax
movq $0x0, 0x58(%rax)
movq 0x8(%rsp), %rax
movq $0x0, 0x60(%rax)
movq 0x8(%rsp), %rax
movq $0x3, 0x18(%rax)
movq 0x8(%rsp), %rax
movq $0x64, 0x20(%rax)
movq 0x8(%rsp), %rdi
callq 0x95e0
movq 0x8(%rsp), %rax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/kmeans.c
// Function: vl_kmeans_set_centers
VL_EXPORT void
vl_kmeans_set_centers
(VlKMeans * self,
 void const * centers,
 vl_size dimension,
 vl_size numCenters)
{
  vl_kmeans_reset (self) ;

  switch (self->dataType) {
    case VL_TYPE_FLOAT :
      _vl_kmeans_set_centers_f
      (self, (float const *)centers, dimension, numCenters) ;
      break ;
    case VL_TYPE_DOUBLE :
      _vl_kmeans_set_centers_d
      (self, (double const *)centers, dimension, numCenters) ;
      break ;
    default:
      abort() ;
  }
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq 0x20(%rsp), %rdi
callq 0x95e0
movq 0x20(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x4(%rsp)
subl $0x1, %eax
je 0x2ed6f
jmp 0x2ed64
movl 0x4(%rsp), %eax
subl $0x2, %eax
je 0x2ed8a
jmp 0x2eda5
movq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x8(%rsp), %rcx
callq 0x2edb0
jmp 0x2edaa
movq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x8(%rsp), %rcx
callq 0x2ee30
jmp 0x2edaa
callq 0x90b0
addq $0x28, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/kmeans.c
// Function: vl_kmeans_set_centers_f
static void
VL_XCAT(_vl_kmeans_set_centers_, SFX)
(VlKMeans * self,
 TYPE const * centers,
 vl_size dimension,
 vl_size numCenters)
{
  self->dimension = dimension ;
  self->numCenters = numCenters ;
  self->centers = vl_malloc (sizeof(TYPE) * dimension * numCenters) ;
  memcpy ((TYPE*)self->centers, centers,
          sizeof(TYPE) * dimension * numCenters) ;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq 0x10(%rsp), %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x8(%rsp), %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x10(%rsp), %rdi
shlq $0x2, %rdi
imulq 0x8(%rsp), %rdi
callq 0x9660
movq %rax, %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x58(%rax)
movq 0x20(%rsp), %rax
movq 0x58(%rax), %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
shlq $0x2, %rdx
imulq 0x8(%rsp), %rdx
callq 0x9640
addq $0x28, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/kmeans.c
// Function: vl_kmeans_init_centers_with_rand_data
VL_EXPORT void
vl_kmeans_init_centers_with_rand_data
(VlKMeans * self,
 void const * data,
 vl_size dimension,
 vl_size numData,
 vl_size numCenters)
{
  vl_kmeans_reset (self) ;

  switch (self->dataType) {
    case VL_TYPE_FLOAT :
      _vl_kmeans_init_centers_with_rand_data_f
      (self, (float const *)data, dimension, numData, numCenters) ;
      break ;
    case VL_TYPE_DOUBLE :
      _vl_kmeans_init_centers_with_rand_data_d
      (self, (double const *)data, dimension, numData, numCenters) ;
      break ;
    default:
      abort() ;
  }
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %r8, 0x10(%rsp)
movq 0x30(%rsp), %rdi
callq 0x95e0
movq 0x30(%rsp), %rax
movl (%rax), %eax
movl %eax, 0xc(%rsp)
subl $0x1, %eax
je 0x2eef4
jmp 0x2eee9
movl 0xc(%rsp), %eax
subl $0x2, %eax
je 0x2ef14
jmp 0x2ef34
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq 0x10(%rsp), %r8
callq 0x2ef40
jmp 0x2ef39
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq 0x10(%rsp), %r8
callq 0x2f1a0
jmp 0x2ef39
callq 0x90b0
addq $0x38, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/kmeans.c
// Function: vl_kmeans_init_centers_plus_plus
VL_EXPORT void
vl_kmeans_init_centers_plus_plus
(VlKMeans * self,
 void const * data,
 vl_size dimension,
 vl_size numData,
 vl_size numCenters)
{
  vl_kmeans_reset (self) ;

  switch (self->dataType) {
    case VL_TYPE_FLOAT :
      _vl_kmeans_init_centers_plus_plus_f
      (self, (float const *)data, dimension, numData, numCenters) ;
      break ;
    case VL_TYPE_DOUBLE :
      _vl_kmeans_init_centers_plus_plus_d
      (self, (double const *)data, dimension, numData, numCenters) ;
      break ;
    default:
      abort() ;
  }
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %r8, 0x10(%rsp)
movq 0x30(%rsp), %rdi
callq 0x95e0
movq 0x30(%rsp), %rax
movl (%rax), %eax
movl %eax, 0xc(%rsp)
subl $0x1, %eax
je 0x2f444
jmp 0x2f439
movl 0xc(%rsp), %eax
subl $0x2, %eax
je 0x2f464
jmp 0x2f484
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq 0x10(%rsp), %r8
callq 0x2f490
jmp 0x2f489
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq 0x10(%rsp), %r8
callq 0x2f780
jmp 0x2f489
callq 0x90b0
addq $0x38, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/kmeans.c
// Function: vl_kmeans_quantize
VL_EXPORT void
vl_kmeans_quantize
(VlKMeans * self,
 vl_uint32 * assignments,
 void * distances,
 void const * data,
 vl_size numData)
{
  switch (self->dataType) {
    case VL_TYPE_FLOAT :
      _vl_kmeans_quantize_f
      (self, assignments, distances, (float const *)data, numData) ;
      break ;
    case VL_TYPE_DOUBLE :
      _vl_kmeans_quantize_d
      (self, assignments, distances, (double const *)data, numData) ;
      break ;
    default:
      abort() ;
  }
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %r8, 0x10(%rsp)
movq 0x30(%rsp), %rax
movl (%rax), %eax
movl %eax, 0xc(%rsp)
subl $0x1, %eax
je 0x2faca
jmp 0x2fabf
movl 0xc(%rsp), %eax
subl $0x2, %eax
je 0x2faea
jmp 0x2fb0a
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq 0x10(%rsp), %r8
callq 0x2fb20
jmp 0x2fb0f
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq 0x10(%rsp), %r8
callq 0x2fca0
jmp 0x2fb0f
callq 0x90b0
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/kmeans.c
// Function: vl_kmeans_quantize_ann
VL_EXPORT void
vl_kmeans_quantize_ann
(VlKMeans * self,
 vl_uint32 * assignments,
 void * distances,
 void const * data,
 vl_size numData,
 vl_bool update)
{
  switch (self->dataType) {
    case VL_TYPE_FLOAT :
      _vl_kmeans_quantize_ann_f
      (self, assignments, distances, (float const *)data, numData, update) ;
      break ;
    case VL_TYPE_DOUBLE :
      _vl_kmeans_quantize_ann_d
      (self, assignments, distances, (double const *)data, numData, update) ;
      break ;
    default:
      abort() ;
  }
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %r8, 0x10(%rsp)
movl %r9d, 0xc(%rsp)
movq 0x30(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x8(%rsp)
subl $0x1, %eax
je 0x2fe5f
jmp 0x2fe54
movl 0x8(%rsp), %eax
subl $0x2, %eax
je 0x2fe84
jmp 0x2fea9
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq 0x10(%rsp), %r8
movl 0xc(%rsp), %r9d
callq 0x2fec0
jmp 0x2feae
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq 0x10(%rsp), %r8
movl 0xc(%rsp), %r9d
callq 0x300f0
jmp 0x2feae
callq 0x90b0
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/kmeans.c
// Function: vl_kmeans_refine_centers
VL_EXPORT double
vl_kmeans_refine_centers
(VlKMeans * self,
 void const * data,
 vl_size numData)
{
  assert (self->centers) ;

  switch (self->dataType) {
    case VL_TYPE_FLOAT :
      return
        _vl_kmeans_refine_centers_f
        (self, (float const *)data, numData) ;
    case VL_TYPE_DOUBLE :
      return
        _vl_kmeans_refine_centers_d
        (self, (double const *)data, numData) ;
    default:
      abort() ;
  }
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
movq %rdx, 0x8(%rsp)
movq 0x18(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x4(%rsp)
subl $0x1, %eax
je 0x30340
jmp 0x30335
movl 0x4(%rsp), %eax
subl $0x2, %eax
je 0x3035c
jmp 0x30378
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x30390
movsd %xmm0, 0x20(%rsp)
jmp 0x3037d
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x30430
movsd %xmm0, 0x20(%rsp)
jmp 0x3037d
callq 0x90b0
movsd 0x20(%rsp), %xmm0
addq $0x28, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/kmeans.c
// Function: vl_kmeans_refine_centers_f
static double
VL_XCAT(_vl_kmeans_refine_centers_, SFX)
(VlKMeans * self,
 TYPE const * data,
 vl_size numData)
{
  switch (self->algorithm) {
    case VlKMeansLloyd:
      return
        VL_XCAT(_vl_kmeans_refine_centers_lloyd_, SFX)(self, data, numData) ;
      break ;
    case VlKMeansElkan:
      return
        VL_XCAT(_vl_kmeans_refine_centers_elkan_, SFX)(self, data, numData) ;
      break ;
    case VlKMeansANN:
      return
        VL_XCAT(_vl_kmeans_refine_centers_ann_, SFX)(self, data, numData) ;
      break ;
    default:
      abort() ;
  }
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
movq %rdx, 0x8(%rsp)
movq 0x18(%rsp), %rax
movl 0x2c(%rax), %eax
movl %eax, 0x4(%rsp)
testl %eax, %eax
je 0x303cb
jmp 0x303b5
movl 0x4(%rsp), %eax
subl $0x1, %eax
je 0x303e7
jmp 0x303c0
movl 0x4(%rsp), %eax
subl $0x2, %eax
je 0x30403
jmp 0x3041f
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x308a0
movsd %xmm0, 0x20(%rsp)
jmp 0x30424
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x31300
movsd %xmm0, 0x20(%rsp)
jmp 0x30424
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x332a0
movsd %xmm0, 0x20(%rsp)
jmp 0x30424
callq 0x90b0
movsd 0x20(%rsp), %xmm0
addq $0x28, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/shuffle-def.h
// Function: vl_kmeans_shuffle
VL_INLINE void
VL_SHUFFLE_shuffle
(VL_SHUFFLE_array array, vl_size size, VlRand * rand)
{
  vl_uindex n = size ;
  while (n > 1) {
    vl_uindex k = vl_rand_uindex (rand, n) ;
    n -- ;
    VL_SHUFFLE_swap (array, n, k) ;
  }
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
cmpq $0x1, 0x8(%rsp)
jbe 0x3076b
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x30770
movq %rax, (%rsp)
movq 0x8(%rsp), %rax
addq $-0x1, %rax
movq %rax, 0x8(%rsp)
movq 0x20(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq (%rsp), %rdx
callq 0x307d0
jmp 0x3072d
addq $0x28, %rsp
retq
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/kmeans.c
// Function: vl_kmeans_sort_data_helper_f
static void
VL_XCAT(_vl_kmeans_sort_data_helper_, SFX)
(VlKMeans * self, vl_uint32 * permutations, TYPE const * data, vl_size numData)
{
  vl_uindex d, x ;

  for (d = 0 ; d < self->dimension ; ++d) {
    VlKMeansSortWrapper array ;
    array.permutation = permutations + d * numData ;
    array.data = data + d ;
    array.stride = self->dimension ;
    for (x = 0 ; x < numData ; ++x) {
      array.permutation[x] = (vl_uint32)x ;
    }
    VL_XCAT3(_vl_kmeans_, SFX, _qsort_sort)(&array, numData) ;
  }
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
movq $0x0, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq 0x40(%rsp), %rcx
cmpq 0x8(%rcx), %rax
jae 0x33dfc
movq 0x38(%rsp), %rax
movq 0x20(%rsp), %rcx
imulq 0x28(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, (%rsp)
movq 0x30(%rsp), %rax
movq 0x20(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x8(%rsp)
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movq 0x18(%rsp), %rax
cmpq 0x28(%rsp), %rax
jae 0x33ddc
movq 0x18(%rsp), %rax
movl %eax, %edx
movq (%rsp), %rax
movq 0x18(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
jmp 0x33dad
movq 0x28(%rsp), %rsi
movq %rsp, %rdi
callq 0x33e10
movq 0x20(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x20(%rsp)
jmp 0x33d51
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/qsort-def.h
// Function: vl_kmeans_f_qsort_sort_recursive
VL_INLINE void
VL_QSORT_sort_recursive
(VL_QSORT_array array, vl_uindex begin, vl_uindex end)
{
  vl_uindex pivot = (end + begin) / 2 ;
  vl_uindex lowPart, i ;

  assert (begin <= end) ;

  /* swap pivot with last */
  VL_QSORT_swap (array, pivot, end) ;
  pivot = end ;

  /*
   Now scan from left to right, moving all element smaller
   or equal than the pivot to the low part
   array[0], array[1], ..., array[lowPart - 1].
   */
  lowPart = begin ;
  for (i = begin; i < end ; ++i) { /* one less */
    if (VL_QSORT_cmp (array, i, pivot) <= 0) {
      /* array[i] must be moved into the low part */
      VL_QSORT_swap (array, lowPart, i) ;
      lowPart ++ ;
    }
  }

  /* the pivot should also go into the low part */
  VL_QSORT_swap (array, lowPart, pivot) ;
  pivot = lowPart ;

  /* do recursion */
  if (pivot > begin) {
    /* note that pivot-1 stays non-negative */
    VL_QSORT_sort_recursive (array, begin, pivot - 1) ;
  }
  if (pivot < end) {
    VL_QSORT_sort_recursive (array, pivot + 1, end) ;
  }
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq 0x20(%rsp), %rax
addq 0x28(%rsp), %rax
shrq %rax
movq %rax, 0x18(%rsp)
movq 0x30(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
callq 0x33f70
movq 0x20(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
cmpq 0x20(%rsp), %rax
jae 0x33ef6
movq 0x30(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq 0x18(%rsp), %rdx
callq 0x33fd0
movaps %xmm0, %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm1, %xmm0
jb 0x33ee4
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x33f70
movq 0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x33ee6
movq 0x8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x8(%rsp)
jmp 0x33e97
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
callq 0x33f70
movq 0x10(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
cmpq 0x28(%rsp), %rax
jbe 0x33f38
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x18(%rsp), %rdx
subq $0x1, %rdx
callq 0x33e40
movq 0x18(%rsp), %rax
cmpq 0x20(%rsp), %rax
jae 0x33f5c
movq 0x30(%rsp), %rdi
movq 0x18(%rsp), %rsi
addq $0x1, %rsi
movq 0x20(%rsp), %rdx
callq 0x33e40
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/kmeans.c
// Function: vl_kmeans_update_center_distances_f
static double
VL_XCAT(_vl_kmeans_update_center_distances_, SFX)
(VlKMeans * self)
{
#if (FLT == VL_TYPE_FLOAT)
  VlFloatVectorComparisonFunction distFn = vl_get_vector_comparison_function_f(self->distance) ;
#else
  VlDoubleVectorComparisonFunction distFn = vl_get_vector_comparison_function_d(self->distance) ;
#endif

  if (! self->centerDistances) {
    self->centerDistances = vl_malloc (sizeof(TYPE) *
                                       self->numCenters *
                                       self->numCenters) ;
  }
  VL_XCAT(vl_eval_vector_comparison_on_all_pairs_, SFX)(self->centerDistances,
      self->dimension,
      self->centers, self->numCenters,
      NULL, 0,
      distFn) ;
  return self->numCenters * (self->numCenters - 1) / 2 ;
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rax
movl 0x30(%rax), %edi
callq 0x9940
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rax
cmpq $0x0, 0x60(%rax)
jne 0x3407f
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rdi
shlq $0x2, %rdi
movq 0x10(%rsp), %rax
imulq 0x10(%rax), %rdi
callq 0x9660
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x60(%rax)
movq 0x10(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0x58(%rax), %rdx
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rcx
movq 0x8(%rsp), %r8
movq %rsp, %rax
movq %r8, (%rax)
xorl %eax, %eax
movl %eax, %r9d
movq %r9, %r8
callq 0x9c20
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, %rcx
decq %rcx
imulq %rcx, %rax
shrq %rax
cvtsi2sd %rax, %xmm0
addq $0x18, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/lbp.c
// Function: vl_lbp_new
VlLbp *
vl_lbp_new(VlLbpMappingType type, vl_bool transposed)
{
  VlLbp * self = vl_malloc(sizeof(VlLbp)) ;
  if (self == NULL) {
    vl_set_last_error(VL_ERR_ALLOC, NULL) ;
    return NULL ;
  }
  self->transposed = transposed ;
  switch (type) {
    case VlLbpUniform: _vl_lbp_init_uniform(self) ; break ;
    default: exit(1) ;
  }
  return self ;
}

// Assembly:
subq $0x18, %rsp
movl %edi, 0xc(%rsp)
movl %esi, 0x8(%rsp)
movl $0x110, %edi            # imm = 0x110
callq 0x9660
movq %rax, (%rsp)
cmpq $0x0, (%rsp)
jne 0x3788c
movl $0x2, %edi
xorl %eax, %eax
movl %eax, %esi
movb $0x0, %al
callq 0x9160
movq $0x0, 0x10(%rsp)
jmp 0x378c2
movl 0x8(%rsp), %ecx
movq (%rsp), %rax
movl %ecx, 0x108(%rax)
movl 0xc(%rsp), %eax
testl %eax, %eax
jne 0x378af
jmp 0x378a4
movq (%rsp), %rdi
callq 0x378d0
jmp 0x378b9
movl $0x1, %edi
callq 0x9aa0
movq (%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
addq $0x18, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/lbp.c
// Function: vl_lbp_init_uniform
static void
_vl_lbp_init_uniform(VlLbp * self)
{
  int i, j ;

  /* overall number of quantized LBPs */
  self->dimension = 58 ;

  /* all but selected patterns map to bin 57 (the first bin has index 0) */
  for (i = 0 ; i < 256 ; ++i) {
    self->mapping[i] = 57 ;
  }

  /* the uniform (all zeros or ones) patterns map to bin 56 */
  self->mapping[0x00] = 56 ;
  self->mapping[0xff] = 56 ;

  /* 56 uniform patterns */
  for (i = 0 ; i < 8 ; ++i) {
    for (j = 1 ; j <= 7 ; ++j) {
      int ip ;
      int unsigned string ;
      if (self->transposed) {
        ip = (- i + 2 - (j - 1) + 16) % 8 ;
      } else {
        ip = i ;
      }

      /* string starting with j ones */
      string = (1 << j) - 1 ;
      string <<= ip ;
      string = (string | (string >> 8)) & 0xff ;

      self->mapping[string] = i * 7 + (j-1) ;
    }
  }
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq -0x8(%rsp), %rax
movq $0x3a, (%rax)
movl $0x0, -0xc(%rsp)
cmpl $0x100, -0xc(%rsp)      # imm = 0x100
jge 0x3790f
movq -0x8(%rsp), %rax
movslq -0xc(%rsp), %rcx
movb $0x39, 0x8(%rax,%rcx)
movl -0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rsp)
jmp 0x378e9
movq -0x8(%rsp), %rax
movb $0x38, 0x8(%rax)
movq -0x8(%rsp), %rax
movb $0x38, 0x107(%rax)
movl $0x0, -0xc(%rsp)
cmpl $0x8, -0xc(%rsp)
jge 0x379f8
movl $0x1, -0x10(%rsp)
cmpl $0x7, -0x10(%rsp)
jg 0x379e6
movq -0x8(%rsp), %rax
cmpl $0x0, 0x108(%rax)
je 0x3797b
xorl %eax, %eax
subl -0xc(%rsp), %eax
addl $0x2, %eax
movl -0x10(%rsp), %ecx
subl $0x1, %ecx
subl %ecx, %eax
addl $0x10, %eax
movl $0x8, %ecx
cltd
idivl %ecx
movl %edx, -0x14(%rsp)
jmp 0x37983
movl -0xc(%rsp), %eax
movl %eax, -0x14(%rsp)
movl -0x10(%rsp), %ecx
movl $0x1, %eax
shll %cl, %eax
subl $0x1, %eax
movl %eax, -0x18(%rsp)
movl -0x14(%rsp), %ecx
movl -0x18(%rsp), %eax
shll %cl, %eax
movl %eax, -0x18(%rsp)
movl -0x18(%rsp), %eax
movl -0x18(%rsp), %ecx
shrl $0x8, %ecx
orl %ecx, %eax
andl $0xff, %eax
movl %eax, -0x18(%rsp)
imull $0x7, -0xc(%rsp), %eax
movl -0x10(%rsp), %ecx
subl $0x1, %ecx
addl %ecx, %eax
movb %al, %dl
movq -0x8(%rsp), %rax
movl -0x18(%rsp), %ecx
movb %dl, 0x8(%rax,%rcx)
movl -0x10(%rsp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rsp)
jmp 0x3793f
jmp 0x379e8
movl -0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rsp)
jmp 0x3792c
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/liop.c
// Function: factorial
static
vl_int factorial(vl_int num)
{
  vl_int result = 1;
  while(num > 1){
    result = num*result;
    num--;
  }
  return result ;
}

// Assembly:
movl %edi, -0x4(%rsp)
movl $0x1, -0x8(%rsp)
cmpl $0x1, -0x4(%rsp)
jle 0x3894d
movl -0x4(%rsp), %eax
imull -0x8(%rsp), %eax
movl %eax, -0x8(%rsp)
movl -0x4(%rsp), %eax
addl $-0x1, %eax
movl %eax, -0x4(%rsp)
jmp 0x3892c
movl -0x8(%rsp), %eax
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/liop.c
// Function: vl_liopdesc_delete
void
vl_liopdesc_delete (VlLiopDesc * self)
{
  vl_free (self->patchPixels) ;
  vl_free (self->patchIntensities) ;
  vl_free (self->patchPermutation) ;
  vl_free (self->neighPermutation) ;
  vl_free (self->neighIntensities) ;
  vl_free (self->neighSamplesX) ;
  vl_free (self->neighSamplesY) ;
  vl_free (self) ;
}

// Assembly:
pushq %rax
movq %rdi, (%rsp)
movq (%rsp), %rax
movq 0x28(%rax), %rdi
callq 0x9620
movq (%rsp), %rax
movq 0x30(%rax), %rdi
callq 0x9620
movq (%rsp), %rax
movq 0x38(%rax), %rdi
callq 0x9620
movq (%rsp), %rax
movq 0x50(%rax), %rdi
callq 0x9620
movq (%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x9620
movq (%rsp), %rax
movq 0x58(%rax), %rdi
callq 0x9620
movq (%rsp), %rax
movq 0x60(%rax), %rdi
callq 0x9620
movq (%rsp), %rdi
callq 0x9620
popq %rax
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/liop.c
// Function: get_permutation_index
VL_INLINE vl_index get_permutation_index(vl_uindex *permutation, vl_size size){
  vl_index index = 0 ;
  vl_index i ;
  vl_index j ;

  for (i = 0 ; i < (signed)size ; ++i) {
    index = index * ((signed)size - i) + permutation[i] ;
    for (j = i + 1 ; j < (signed)size ; ++j) {
      if (permutation[j] > permutation[i]) { permutation[j] -- ; }
    }
  }
  return index ;
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq $0x0, -0x18(%rsp)
movq $0x0, -0x20(%rsp)
movq -0x20(%rsp), %rax
movq -0x10(%rsp), %rcx
movslq %ecx, %rcx
cmpq %rcx, %rax
jge 0x39496
movq -0x18(%rsp), %rax
movq -0x10(%rsp), %rcx
movslq %ecx, %rcx
subq -0x20(%rsp), %rcx
imulq %rcx, %rax
movq -0x8(%rsp), %rcx
movq -0x20(%rsp), %rdx
addq (%rcx,%rdx,8), %rax
movq %rax, -0x18(%rsp)
movq -0x20(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x28(%rsp)
movq -0x28(%rsp), %rax
movq -0x10(%rsp), %rcx
movslq %ecx, %rcx
cmpq %rcx, %rax
jge 0x39481
movq -0x8(%rsp), %rax
movq -0x28(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x8(%rsp), %rcx
movq -0x20(%rsp), %rdx
cmpq (%rcx,%rdx,8), %rax
jbe 0x3946f
movq -0x8(%rsp), %rax
movq -0x28(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
addq $-0x1, %rdx
movq %rdx, (%rax,%rcx,8)
jmp 0x39471
movq -0x28(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x28(%rsp)
jmp 0x39429
jmp 0x39483
movq -0x20(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rsp)
jmp 0x393dc
movq -0x18(%rsp), %rax
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_distance_l2_f
VL_EXPORT T
VL_XCAT(_vl_distance_l2_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T acc = 0.0 ;
  while (X < X_end) {
    T d = *X++ - *Y++ ;
    acc += d * d ;
  }
  return acc ;
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq %rdx, -0x18(%rsp)
movq -0x10(%rsp), %rax
movq -0x8(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, -0x24(%rsp)
movq -0x10(%rsp), %rax
cmpq -0x20(%rsp), %rax
jae 0x399cc
movq -0x10(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x10(%rsp)
movss (%rax), %xmm0
movq -0x18(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x18(%rsp)
subss (%rax), %xmm0
movss %xmm0, -0x28(%rsp)
movss -0x28(%rsp), %xmm0
movss -0x28(%rsp), %xmm2
movss -0x24(%rsp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x24(%rsp)
jmp 0x3996e
movss -0x24(%rsp), %xmm0
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_distance_l1_f
VL_EXPORT T
VL_XCAT(_vl_distance_l1_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T acc = 0.0 ;
  while (X < X_end) {
    T d = *X++ - *Y++ ;
    acc += VL_MAX(d, -d) ;
  }
  return acc ;
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq %rdx, -0x18(%rsp)
movq -0x10(%rsp), %rax
movq -0x8(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, -0x24(%rsp)
movq -0x10(%rsp), %rax
cmpq -0x20(%rsp), %rax
jae 0x39aaa
movq -0x10(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x10(%rsp)
movss (%rax), %xmm0
movq -0x18(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x18(%rsp)
subss (%rax), %xmm0
movss %xmm0, -0x28(%rsp)
movss -0x28(%rsp), %xmm0
movss -0x28(%rsp), %xmm1
movd %xmm1, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x39a7a
movss -0x28(%rsp), %xmm0
movss %xmm0, -0x2c(%rsp)
jmp 0x39a93
movss -0x28(%rsp), %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
movss %xmm0, -0x2c(%rsp)
movss -0x2c(%rsp), %xmm0
addss -0x24(%rsp), %xmm0
movss %xmm0, -0x24(%rsp)
jmp 0x39a0e
movss -0x24(%rsp), %xmm0
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_distance_chi2_f
VL_EXPORT T
VL_XCAT(_vl_distance_chi2_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T acc = 0.0 ;
  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:
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq %rdx, -0x18(%rsp)
movq -0x10(%rsp), %rax
movq -0x8(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, -0x24(%rsp)
movq -0x10(%rsp), %rax
cmpq -0x20(%rsp), %rax
jae 0x39ba5
movq -0x10(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x10(%rsp)
movss (%rax), %xmm0
movss %xmm0, -0x28(%rsp)
movq -0x18(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x18(%rsp)
movss (%rax), %xmm0
movss %xmm0, -0x2c(%rsp)
movss -0x28(%rsp), %xmm0
subss -0x2c(%rsp), %xmm0
movss %xmm0, -0x30(%rsp)
movss -0x28(%rsp), %xmm0
addss -0x2c(%rsp), %xmm0
movss %xmm0, -0x34(%rsp)
movss -0x30(%rsp), %xmm0
mulss -0x30(%rsp), %xmm0
movss %xmm0, -0x38(%rsp)
movss -0x34(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x39b7c
jp 0x39b7c
jmp 0x39ba0
movss -0x38(%rsp), %xmm0
divss -0x34(%rsp), %xmm0
movss %xmm0, -0x3c(%rsp)
movss -0x3c(%rsp), %xmm0
addss -0x24(%rsp), %xmm0
movss %xmm0, -0x24(%rsp)
jmp 0x39aee
movss -0x24(%rsp), %xmm0
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_distance_hellinger_f
VL_EXPORT T
VL_XCAT(_vl_distance_hellinger_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T acc = 0.0 ;
  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
#if (FLT == VL_TYPE_FLOAT)
    acc += a + b - 2.0 * sqrtf (a*b) ;
#else
    acc += a + b - 2.0 * sqrt (a*b) ;
#endif
  }
  return acc ;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x18(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, 0x14(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x18(%rsp), %rax
jae 0x39c7c
movq 0x28(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, 0x28(%rsp)
movss (%rax), %xmm0
movss %xmm0, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, 0x20(%rsp)
movss (%rax), %xmm0
movss %xmm0, 0xc(%rsp)
movss 0x10(%rsp), %xmm0
addss 0xc(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, (%rsp)
movss 0x10(%rsp), %xmm0
mulss 0xc(%rsp), %xmm0
callq 0x96a0
movsd (%rsp), %xmm1
cvtss2sd %xmm0, %xmm0
addsd %xmm0, %xmm0
subsd %xmm0, %xmm1
movss 0x14(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x14(%rsp)
jmp 0x39be2
movss 0x14(%rsp), %xmm0
addq $0x38, %rsp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_distance_js_f
VL_EXPORT T
VL_XCAT(_vl_distance_js_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T acc = 0.0 ;
  while (X < X_end) {
    T x = *X++ ;
    T y = *Y++ ;
    if (x) acc += x - x * VL_XCAT(vl_log2_,SFX)(1 + y/x) ;
    if (y) acc += y - y * VL_XCAT(vl_log2_,SFX)(1 + x/y) ;
  }
  return acc ;
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq 0x38(%rsp), %rax
movq 0x40(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x28(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, 0x24(%rsp)
movq 0x38(%rsp), %rax
cmpq 0x28(%rsp), %rax
jae 0x39dfb
movq 0x38(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, 0x38(%rsp)
movss (%rax), %xmm0
movss %xmm0, 0x20(%rsp)
movq 0x30(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, 0x30(%rsp)
movss (%rax), %xmm0
movss %xmm0, 0x1c(%rsp)
movss 0x20(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x39d1a
jp 0x39d1a
jmp 0x39d7f
movss 0x20(%rsp), %xmm0
movss %xmm0, 0x14(%rsp)
movss 0x20(%rsp), %xmm0
movss %xmm0, 0x18(%rsp)
movss 0x1c(%rsp), %xmm1
divss 0x20(%rsp), %xmm1
movss 0x1f44a(%rip), %xmm0    # 0x59190
addss %xmm1, %xmm0
callq 0x39e10
movss 0x14(%rsp), %xmm1
movaps %xmm0, %xmm2
movss 0x18(%rsp), %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
addss 0x24(%rsp), %xmm0
movss %xmm0, 0x24(%rsp)
movss 0x1c(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x39d91
jp 0x39d91
jmp 0x39df6
movss 0x1c(%rsp), %xmm0
movss %xmm0, 0xc(%rsp)
movss 0x1c(%rsp), %xmm0
movss %xmm0, 0x10(%rsp)
movss 0x20(%rsp), %xmm1
divss 0x1c(%rsp), %xmm1
movss 0x1f3d3(%rip), %xmm0    # 0x59190
addss %xmm1, %xmm0
callq 0x39e10
movss 0xc(%rsp), %xmm1
movaps %xmm0, %xmm2
movss 0x10(%rsp), %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
addss 0x24(%rsp), %xmm0
movss %xmm0, 0x24(%rsp)
jmp 0x39cc2
movss 0x24(%rsp), %xmm0
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_kernel_l2_f
VL_EXPORT T
VL_XCAT(_vl_kernel_l2_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T acc = 0.0 ;
  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
    acc += a * b ;
  }
  return acc ;
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq %rdx, -0x18(%rsp)
movq -0x10(%rsp), %rax
movq -0x8(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, -0x24(%rsp)
movq -0x10(%rsp), %rax
cmpq -0x20(%rsp), %rax
jae 0x39ec2
movq -0x10(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x10(%rsp)
movss (%rax), %xmm0
movss %xmm0, -0x28(%rsp)
movq -0x18(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x18(%rsp)
movss (%rax), %xmm0
movss %xmm0, -0x2c(%rsp)
movss -0x28(%rsp), %xmm0
movss -0x2c(%rsp), %xmm2
movss -0x24(%rsp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x24(%rsp)
jmp 0x39e5e
movss -0x24(%rsp), %xmm0
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_kernel_l1_f
VL_EXPORT T
VL_XCAT(_vl_kernel_l1_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T acc = 0.0 ;
  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:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x18(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, 0x14(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x18(%rsp), %rax
jae 0x39fa9
movq 0x28(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, 0x28(%rsp)
movss (%rax), %xmm0
movss %xmm0, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, 0x20(%rsp)
movss (%rax), %xmm0
movss %xmm0, 0xc(%rsp)
movss 0x10(%rsp), %xmm0
callq 0x39fc0
movss %xmm0, 0x8(%rsp)
movss 0xc(%rsp), %xmm0
callq 0x39fc0
movss %xmm0, 0x4(%rsp)
movss 0x8(%rsp), %xmm0
addss 0x4(%rsp), %xmm0
movss %xmm0, (%rsp)
movss 0x10(%rsp), %xmm0
subss 0xc(%rsp), %xmm0
callq 0x39fc0
movaps %xmm0, %xmm1
movss (%rsp), %xmm0
subss %xmm1, %xmm0
addss 0x14(%rsp), %xmm0
movss %xmm0, 0x14(%rsp)
jmp 0x39f02
movss 0x14(%rsp), %xmm0
movss 0x1f299(%rip), %xmm1    # 0x59250
divss %xmm1, %xmm0
addq $0x38, %rsp
retq
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_kernel_chi2_f
VL_EXPORT T
VL_XCAT(_vl_kernel_chi2_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T acc = 0.0 ;
  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
    T denom = (a + b) ;
    if (denom) {
      T numer = 2 * a * b ;
      T ratio = numer / denom ;
      acc += ratio ;
    }
  }
  return acc ;
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq %rdx, -0x18(%rsp)
movq -0x10(%rsp), %rax
movq -0x8(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, -0x24(%rsp)
movq -0x10(%rsp), %rax
cmpq -0x20(%rsp), %rax
jae 0x3a0bb
movq -0x10(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x10(%rsp)
movss (%rax), %xmm0
movss %xmm0, -0x28(%rsp)
movq -0x18(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x18(%rsp)
movss (%rax), %xmm0
movss %xmm0, -0x2c(%rsp)
movss -0x28(%rsp), %xmm0
addss -0x2c(%rsp), %xmm0
movss %xmm0, -0x30(%rsp)
movss -0x30(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x3a078
jp 0x3a078
jmp 0x3a0b6
movss 0x1f1d0(%rip), %xmm0    # 0x59250
mulss -0x28(%rsp), %xmm0
mulss -0x2c(%rsp), %xmm0
movss %xmm0, -0x34(%rsp)
movss -0x34(%rsp), %xmm0
divss -0x30(%rsp), %xmm0
movss %xmm0, -0x38(%rsp)
movss -0x38(%rsp), %xmm0
addss -0x24(%rsp), %xmm0
movss %xmm0, -0x24(%rsp)
jmp 0x3a00e
movss -0x24(%rsp), %xmm0
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_kernel_hellinger_f
VL_EXPORT T
VL_XCAT(_vl_kernel_hellinger_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T acc = 0.0 ;
  while (X < X_end) {
    T a = *X++ ;
    T b = *Y++ ;
#if (FLT == VL_TYPE_FLOAT)
    acc += sqrtf (a*b) ;
#else
    acc += sqrt (a*b) ;
#endif
  }
  return acc ;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x18(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, 0x14(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x18(%rsp), %rax
jae 0x3a163
movq 0x28(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, 0x28(%rsp)
movss (%rax), %xmm0
movss %xmm0, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, 0x20(%rsp)
movss (%rax), %xmm0
movss %xmm0, 0xc(%rsp)
movss 0x10(%rsp), %xmm0
mulss 0xc(%rsp), %xmm0
callq 0x96a0
addss 0x14(%rsp), %xmm0
movss %xmm0, 0x14(%rsp)
jmp 0x3a102
movss 0x14(%rsp), %xmm0
addq $0x38, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_kernel_js_f
VL_EXPORT T
VL_XCAT(_vl_kernel_js_, SFX)
(vl_size dimension, T const * X, T const * Y)
{
  T const * X_end = X + dimension ;
  T acc = 0.0 ;
  while (X < X_end) {
    T x = *X++ ;
    T y = *Y++ ;
    if (x) acc += x * VL_XCAT(vl_log2_,SFX)(1 + y/x) ;
    if (y) acc += y * VL_XCAT(vl_log2_,SFX)(1 + x/y) ;
  }
  return (T)0.5 * acc ;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x18(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, 0x14(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x18(%rsp), %rax
jae 0x3a29d
movq 0x28(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, 0x28(%rsp)
movss (%rax), %xmm0
movss %xmm0, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, 0x20(%rsp)
movss (%rax), %xmm0
movss %xmm0, 0xc(%rsp)
movss 0x10(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x3a1fa
jp 0x3a1fa
jmp 0x3a240
movss 0x10(%rsp), %xmm0
movss %xmm0, 0x8(%rsp)
movss 0xc(%rsp), %xmm1
divss 0x10(%rsp), %xmm1
movss 0x1ef76(%rip), %xmm0    # 0x59190
addss %xmm1, %xmm0
callq 0x39e10
movaps %xmm0, %xmm2
movss 0x8(%rsp), %xmm0
movss 0x14(%rsp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x14(%rsp)
movss 0xc(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x3a252
jp 0x3a252
jmp 0x3a298
movss 0xc(%rsp), %xmm0
movss %xmm0, 0x4(%rsp)
movss 0x10(%rsp), %xmm1
divss 0xc(%rsp), %xmm1
movss 0x1ef1e(%rip), %xmm0    # 0x59190
addss %xmm1, %xmm0
callq 0x39e10
movaps %xmm0, %xmm2
movss 0x4(%rsp), %xmm0
movss 0x14(%rsp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x14(%rsp)
jmp 0x3a1a2
movss 0x1ef4b(%rip), %xmm0    # 0x591f0
mulss 0x14(%rsp), %xmm0
addq $0x38, %rsp
retq
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_distance_mahalanobis_sq_f
VL_EXPORT T
VL_XCAT(_vl_distance_mahalanobis_sq_, SFX)
(vl_size dimension, T const * X, T const * MU, T const * S)
{
  T const * X_end = X + dimension ;
  T acc = 0.0 ;
  while (X < X_end) {
    T d = *X++ - *MU++ ;
    acc += d * d * (*S++) ;
  }
  return acc ;
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq %rdx, -0x18(%rsp)
movq %rcx, -0x20(%rsp)
movq -0x10(%rsp), %rax
movq -0x8(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x28(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, -0x2c(%rsp)
movq -0x10(%rsp), %rax
cmpq -0x28(%rsp), %rax
jae 0x3a356
movq -0x10(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x10(%rsp)
movss (%rax), %xmm0
movq -0x18(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x18(%rsp)
subss (%rax), %xmm0
movss %xmm0, -0x30(%rsp)
movss -0x30(%rsp), %xmm0
mulss -0x30(%rsp), %xmm0
movq -0x20(%rsp), %rax
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x20(%rsp)
movss (%rax), %xmm2
movss -0x2c(%rsp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0x2c(%rsp)
jmp 0x3a2e3
movss -0x2c(%rsp), %xmm0
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_get_vector_3_comparison_function_f
VL_EXPORT COMPARISONFUNCTION3_TYPE
VL_XCAT(vl_get_vector_3_comparison_function_, SFX)(VlVectorComparisonType type)
{
  COMPARISONFUNCTION3_TYPE function = 0 ;
  switch (type) {
    case VlDistanceMahalanobis : function = VL_XCAT(_vl_distance_mahalanobis_sq_, SFX) ; break ;
    default: abort() ;
  }

#ifndef VL_DISABLE_SSE2
  /* if a SSE2 implementation is available, use it */
  if (vl_cpu_has_sse2() && vl_get_simd_enabled()) {
    switch (type) {
      case VlDistanceMahalanobis : function = VL_XCAT(_vl_distance_mahalanobis_sq_sse2_, SFX) ; break ;
      default: break ;
    }
  }
#endif

#ifndef VL_DISABLE_AVX
  /* if an AVX implementation is available, use it */
  if (vl_cpu_has_avx() && vl_get_simd_enabled()) {
    switch (type) {
      case VlDistanceMahalanobis : function = VL_XCAT(_vl_distance_mahalanobis_sq_avx_, SFX) ; break ;
      default: break ;
    }
  }
#endif

  return function ;
}

// Assembly:
subq $0x18, %rsp
movl %edi, 0x14(%rsp)
movq $0x0, 0x8(%rsp)
movl 0x14(%rsp), %eax
subl $0x5, %eax
jne 0x3a52a
jmp 0x3a51c
movq 0x26a45(%rip), %rax     # 0x60f68
movq %rax, 0x8(%rsp)
jmp 0x3a52f
callq 0x90b0
callq 0x96f0
cmpl $0x0, %eax
je 0x3a560
callq 0x9240
cmpl $0x0, %eax
je 0x3a560
movl 0x14(%rsp), %eax
subl $0x5, %eax
jne 0x3a55c
jmp 0x3a54e
movq 0x269e3(%rip), %rax     # 0x60f38
movq %rax, 0x8(%rsp)
jmp 0x3a55e
jmp 0x3a55e
jmp 0x3a560
callq 0x9330
cmpl $0x0, %eax
je 0x3a591
callq 0x9240
cmpl $0x0, %eax
je 0x3a591
movl 0x14(%rsp), %eax
subl $0x5, %eax
jne 0x3a58d
jmp 0x3a57f
movq 0x2691a(%rip), %rax     # 0x60ea0
movq %rax, 0x8(%rsp)
jmp 0x3a58f
jmp 0x3a58f
jmp 0x3a591
movq 0x8(%rsp), %rax
addq $0x18, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_solve_linear_system_3
VL_EXPORT int
vl_solve_linear_system_3 (double * x, double const * A, double const *b)
{
  int err ;
  double M[3*4] ;
  M[0] = A[0] ;
  M[1] = A[1] ;
  M[2] = A[2] ;
  M[3] = A[3] ;
  M[4] = A[4] ;
  M[5] = A[5] ;
  M[6] = A[6] ;
  M[7] = A[7] ;
  M[8] = A[8] ;
  M[9] = b[0] ;
  M[10] = b[1] ;
  M[11] = b[2] ;
  err = vl_gaussian_elimination(M,3,4) ;
  x[0] = M[9] ;
  x[1] = M[10] ;
  x[2] = M[11] ;
  return err ;
}

// Assembly:
subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq %rdx, 0x70(%rsp)
movq 0x78(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
movq 0x78(%rsp), %rax
movsd 0x8(%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x78(%rsp), %rax
movsd 0x10(%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
movq 0x78(%rsp), %rax
movsd 0x18(%rax), %xmm0
movsd %xmm0, 0x18(%rsp)
movq 0x78(%rsp), %rax
movsd 0x20(%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
movq 0x78(%rsp), %rax
movsd 0x28(%rax), %xmm0
movsd %xmm0, 0x28(%rsp)
movq 0x78(%rsp), %rax
movsd 0x30(%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
movq 0x78(%rsp), %rax
movsd 0x38(%rax), %xmm0
movsd %xmm0, 0x38(%rsp)
movq 0x78(%rsp), %rax
movsd 0x40(%rax), %xmm0
movsd %xmm0, 0x40(%rsp)
movq 0x70(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x48(%rsp)
movq 0x70(%rsp), %rax
movsd 0x8(%rax), %xmm0
movsd %xmm0, 0x50(%rsp)
movq 0x70(%rsp), %rax
movsd 0x10(%rax), %xmm0
movsd %xmm0, 0x58(%rsp)
movq %rsp, %rdi
movl $0x3, %esi
movl $0x4, %edx
callq 0x9a90
movl %eax, 0x6c(%rsp)
movsd 0x48(%rsp), %xmm0
movq 0x80(%rsp), %rax
movsd %xmm0, (%rax)
movsd 0x50(%rsp), %xmm0
movq 0x80(%rsp), %rax
movsd %xmm0, 0x8(%rax)
movsd 0x58(%rsp), %xmm0
movq 0x80(%rsp), %rax
movsd %xmm0, 0x10(%rax)
movl 0x6c(%rsp), %eax
addq $0x88, %rsp
retq
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop.c
// Function: vl_solve_linear_system_2
VL_EXPORT int
vl_solve_linear_system_2 (double * x, double const * A, double const *b)
{
  int err ;
  double M[2*3] ;
  M[0] = A[0] ;
  M[1] = A[1] ;
  M[2] = A[2] ;
  M[3] = A[3] ;
  M[4] = b[0];
  M[5] = b[1] ;
  err = vl_gaussian_elimination(M,2,3) ;
  x[0] = M[4] ;
  x[1] = M[5] ;
  return err ;
}

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq 0x48(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
movq 0x48(%rsp), %rax
movsd 0x8(%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x48(%rsp), %rax
movsd 0x10(%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
movq 0x48(%rsp), %rax
movsd 0x18(%rax), %xmm0
movsd %xmm0, 0x18(%rsp)
movq 0x40(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
movq 0x40(%rsp), %rax
movsd 0x8(%rax), %xmm0
movsd %xmm0, 0x28(%rsp)
movq %rsp, %rdi
movl $0x2, %esi
movl $0x3, %edx
callq 0x9a90
movl %eax, 0x3c(%rsp)
movsd 0x20(%rsp), %xmm0
movq 0x50(%rsp), %rax
movsd %xmm0, (%rax)
movsd 0x28(%rsp), %xmm0
movq 0x50(%rsp), %rax
movsd %xmm0, 0x8(%rax)
movl 0x3c(%rsp), %eax
addq $0x58, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop_avx.c
// Function: vl_vhsum_avx_f
VL_INLINE T
VL_XCAT(_vl_vhsum_avx_, SFX)(VTYPEavx x)
{
  T acc ;
#if (VSIZEavx == 8)
  {
    //VTYPEavx hsum = _mm256_hadd_ps(x, x);
    //hsum = _mm256_add_ps(hsum, _mm256_permute2f128_ps(hsum, hsum, 0x1));
    //_mm_store_ss(&acc, _mm_hadd_ps( _mm256_castps256_ps128(hsum), _mm256_castps256_ps128(hsum) ) );
    VTYPEavx hsum = VHADD2avx(x, x);
    hsum = VADDavx(hsum, VPERMavx(hsum, hsum, 0x1));
    VST1(&acc, VHADDavx( VCSTavx(hsum), VCSTavx(hsum) ) );
  }
#else
  {
    //VTYPEavx hsum = _mm256_add_pd(x, _mm256_permute2f128_pd(x, x, 0x1));
    VTYPEavx hsum = VADDavx(x, VPERMavx(x, x, 0x1));

    //_mm_store_sd(&acc, _mm_hadd_pd( _mm256_castpd256_pd128(hsum), _mm256_castpd256_pd128(hsum) ) );
    VST1(&acc, VHADDavx( VCSTavx(hsum), VCSTavx(hsum) ) );
  }
#endif
  return acc ;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
andq $-0x20, %rsp
subq $0x180, %rsp            # imm = 0x180
vmovaps %ymm0, 0x40(%rsp)
vmovaps 0x40(%rsp), %ymm0
vmovaps %ymm0, 0xc0(%rsp)
vmovaps %ymm0, 0xa0(%rsp)
vmovaps 0xc0(%rsp), %ymm0
vmovaps 0xa0(%rsp), %ymm1
vhaddps %ymm1, %ymm0, %ymm0
vmovaps %ymm0, (%rsp)
vmovaps (%rsp), %ymm1
vperm2f128 $0x1, %ymm0, %ymm1, %ymm0 # ymm0 = ymm1[2,3,0,1]
vmovaps %ymm1, 0x80(%rsp)
vmovaps %ymm0, 0x60(%rsp)
vmovaps 0x80(%rsp), %ymm0
vmovaps 0x60(%rsp), %ymm1
vaddps %ymm1, %ymm0, %ymm0
vmovaps %ymm0, (%rsp)
vmovaps (%rsp), %ymm0
vmovaps %ymm0, 0x140(%rsp)
vmovaps 0x140(%rsp), %ymm0
vmovaps %xmm0, %xmm1
vmovaps (%rsp), %ymm0
vmovaps %ymm0, 0x120(%rsp)
vmovaps 0x120(%rsp), %ymm0
vmovaps %xmm1, 0x110(%rsp)
vmovaps %xmm0, 0x100(%rsp)
vmovaps 0x110(%rsp), %xmm0
vmovaps 0x100(%rsp), %xmm1
vhaddps %xmm1, %xmm0, %xmm0
leaq 0x3c(%rsp), %rax
movq %rax, 0xf8(%rsp)
vmovaps %xmm0, 0xe0(%rsp)
vmovss 0xe0(%rsp), %xmm0
movq 0xf8(%rsp), %rax
vmovss %xmm0, (%rax)
vmovss 0x3c(%rsp), %xmm0
movq %rbp, %rsp
popq %rbp
vzeroupper
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/zpole[P]IICV/vl/mathop_sse2.c
// Function: vl_vhsum_sse2_f
VL_INLINE T
VL_XCAT(_vl_vhsum_sse2_, SFX)(VTYPE x)
{
  T acc ;
#if (VSIZE == 4)
  {
    VTYPE sum ;
    VTYPE shuffle ;
    /* shuffle = [1 0 3 2] */
    /* sum     = [3+1 2+0 1+3 0+2] */
    /* shuffle = [2+0 3+1 0+2 1+3] */
    /* vacc    = [3+1+2+0 3+1+2+0 1+3+0+2 0+2+1+3] */
    shuffle = VSHU (x, x, _MM_SHUFFLE(1, 0, 3, 2)) ;
    sum     = VADD (x, shuffle) ;
    shuffle = VSHU (sum, sum, _MM_SHUFFLE(2, 3, 0, 1)) ;
    x       = VADD (sum, shuffle) ;
  }
#else
  {
    VTYPE shuffle ;
    /* acc     = [1   0  ] */
    /* shuffle = [0   1  ] */
    /* sum     = [1+0 0+1] */
    shuffle = VSHU (x, x, _MM_SHUFFLE2(0, 1)) ;
    x       = VADD (x, shuffle) ;
  }
#endif
  VST1(&acc, x);
  return acc ;
}

// Assembly:
subq $0x18, %rsp
movaps %xmm0, -0x50(%rsp)
movapd -0x50(%rsp), %xmm0
shufpd $0x1, %xmm0, %xmm0      # xmm0 = xmm0[1,0]
movapd %xmm0, -0x80(%rsp)
movaps -0x50(%rsp), %xmm1
movaps -0x80(%rsp), %xmm0
movaps %xmm1, -0x10(%rsp)
movaps %xmm0, -0x20(%rsp)
movaps -0x10(%rsp), %xmm0
movaps -0x20(%rsp), %xmm1
addps %xmm1, %xmm0
movaps %xmm0, -0x70(%rsp)
movaps -0x70(%rsp), %xmm0
shufps $0xb1, %xmm0, %xmm0     # xmm0 = xmm0[1,0,3,2]
movaps %xmm0, -0x80(%rsp)
movaps -0x70(%rsp), %xmm1
movaps -0x80(%rsp), %xmm0
movaps %xmm1, -0x30(%rsp)
movaps %xmm0, -0x40(%rsp)
movaps -0x30(%rsp), %xmm0
movaps -0x40(%rsp), %xmm1
addps %xmm1, %xmm0
movaps %xmm0, -0x50(%rsp)
movaps -0x50(%rsp), %xmm0
leaq -0x54(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps %xmm0, (%rsp)
movss (%rsp), %xmm0
movq 0x10(%rsp), %rax
movss %xmm0, (%rax)
movss -0x54(%rsp), %xmm0
addq $0x18, %rsp
retq