LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::KdTree::set_distance(int, std::vector<double, std::allocator<double>> const*)
void KdTree::set_distance(int distance_type,
                          const DoubleVector* weights /*=NULL*/) {
  if (distance) delete distance;
  this->distance_type = distance_type;
  if (distance_type == 0) {
    distance = (DistanceMeasure*)new DistanceL0(weights);
  } else if (distance_type == 1) {
    distance = (DistanceMeasure*)new DistanceL1(weights);
  } else {
    distance = (DistanceMeasure*)new DistanceL2(weights);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, 0x38(%rax)
je 0x6d00
movq -0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, %rax
je 0x6cfe
movq -0x38(%rbp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x6d00
movq -0x30(%rbp), %rax
movl -0xc(%rbp), %ecx
movl %ecx, 0x30(%rax)
cmpl $0x0, -0xc(%rbp)
jne 0x6d7e
movl $0x10, %edi
callq 0x2110
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rsi
callq 0x8470
jmp 0x6d2f
movq -0x40(%rbp), %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movq %rax, -0x48(%rbp)
je 0x6d4e
movq -0x40(%rbp), %rax
movq (%rax), %rcx
addq -0x30(%rcx), %rax
movq %rax, -0x48(%rbp)
movq -0x30(%rbp), %rax
movq -0x48(%rbp), %rcx
movq %rcx, 0x38(%rax)
jmp 0x6e59
movq -0x40(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
movl $0x10, %esi
callq 0x2120
jmp 0x6e5f
cmpl $0x1, -0xc(%rbp)
jne 0x6def
movl $0x10, %edi
callq 0x2110
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rsi
callq 0x8530
jmp 0x6da3
movq -0x50(%rbp), %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movq %rax, -0x58(%rbp)
je 0x6dc2
movq -0x50(%rbp), %rax
movq (%rax), %rcx
addq -0x30(%rcx), %rax
movq %rax, -0x58(%rbp)
movq -0x30(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, 0x38(%rax)
jmp 0x6e57
movq -0x50(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
movl $0x10, %esi
callq 0x2120
jmp 0x6e5f
movl $0x10, %edi
callq 0x2110
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rsi
callq 0x85f0
jmp 0x6e0e
movq -0x60(%rbp), %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movq %rax, -0x68(%rbp)
je 0x6e2d
movq -0x60(%rbp), %rax
movq (%rax), %rcx
addq -0x30(%rcx), %rax
movq %rax, -0x68(%rbp)
movq -0x30(%rbp), %rax
movq -0x68(%rbp), %rcx
movq %rcx, 0x38(%rax)
jmp 0x6e57
movq -0x60(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
movl $0x10, %esi
callq 0x2120
jmp 0x6e5f
jmp 0x6e59
addq $0x70, %rsp
popq %rbp
retq
movq -0x20(%rbp), %rdi
callq 0x2190
nopl (%rax,%rax)
// File: cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::KdTree::range_nearest_neighbors(std::vector<double, std::allocator<double>> const&, double, std::vector<Kdtree::KdNode, std::allocator<Kdtree::KdNode>>*)
void KdTree::range_nearest_neighbors(const CoordPoint& point, double r,
                                     KdNodeVector* result) {
  KdNode temp;

  result->clear();
  if (point.size() != dimension)
    throw std::invalid_argument(
        "kdtree::k_nearest_neighbors(): point must be of same dimension as "
        "kdtree");
  if (this->distance_type == 2) {
    // if euclidien distance is used the range must be squared because we
    // get squared distances from this implementation
    r *= r;
  }

  // collect result in range_result
  std::vector<size_t> range_result;
  range_search(point, root, r, &range_result);

  // copy over result
  for (std::vector<size_t>::iterator i = range_result.begin();
       i != range_result.end(); ++i) {
    result->push_back(allnodes[*i]);
  }

  // clear vector
  range_result.clear();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movsd %xmm0, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x8820
movq -0x20(%rbp), %rdi
callq 0x3b10
movq -0x10(%rbp), %rdi
callq 0x37d0
movq -0x88(%rbp), %rcx
cmpq 0x60(%rcx), %rax
je 0x7a41
movl $0x10, %edi
callq 0x2080
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x90(%rbp)
leaq 0x6956(%rip), %rsi      # 0xe343
callq 0x21a0
jmp 0x79f4
movq -0x90(%rbp), %rdi
movq 0xd5de(%rip), %rsi      # 0x14fe0
movq 0xd5c7(%rip), %rdx      # 0x14fd0
callq 0x2180
jmp 0x7b5c
movq -0x90(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
callq 0x20c0
jmp 0x7b4a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
jmp 0x7b4a
movq -0x88(%rbp), %rax
cmpl $0x2, 0x30(%rax)
jne 0x7a5d
movsd -0x18(%rbp), %xmm0
mulsd -0x18(%rbp), %xmm0
movsd %xmm0, -0x18(%rbp)
leaq -0x70(%rbp), %rdi
movq %rdi, -0x98(%rbp)
callq 0x8a60
movq -0x88(%rbp), %rdi
movq -0x98(%rbp), %rcx
movq -0x10(%rbp), %rsi
movq 0x68(%rdi), %rdx
movsd -0x18(%rbp), %xmm0
callq 0x7b60
jmp 0x7a8f
leaq -0x70(%rbp), %rdi
callq 0x8a80
movq %rax, -0x78(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x8af0
movq %rax, -0x80(%rbp)
leaq -0x78(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x8ab0
testb $0x1, %al
jne 0x7abc
jmp 0x7b26
movq -0x88(%rbp), %rax
movq -0x20(%rbp), %rcx
movq %rcx, -0xa0(%rbp)
addq $0x48, %rax
movq %rax, -0xa8(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x8b20
movq -0xa8(%rbp), %rdi
movq (%rax), %rsi
callq 0x3b30
movq -0xa0(%rbp), %rdi
movq %rax, %rsi
callq 0x8990
jmp 0x7b02
jmp 0x7b04
leaq -0x78(%rbp), %rdi
callq 0x8b40
jmp 0x7a9c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x8b80
jmp 0x7b4a
leaq -0x70(%rbp), %rdi
callq 0x8b60
leaq -0x70(%rbp), %rdi
callq 0x8b80
leaq -0x48(%rbp), %rdi
callq 0x39a0
addq $0xb0, %rsp
popq %rbp
retq
leaq -0x48(%rbp), %rdi
callq 0x39a0
movq -0x50(%rbp), %rdi
callq 0x2190
nopl (%rax)
// File: cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::KdTree::range_search(std::vector<double, std::allocator<double>> const&, Kdtree::kdtree_node*, double, std::vector<unsigned long, std::allocator<unsigned long>>*)
void KdTree::range_search(const CoordPoint& point, kdtree_node* node,
                          double r, std::vector<size_t>* range_result) {
  double curdist = distance->distance(point, node->point);
  if (curdist <= r) {
    range_result->push_back(node->dataindex);
  }
  if (node->loson != NULL && this->bounds_overlap_ball(point, r, node->loson)) {
    range_search(point, node->loson, r, range_result);
  }
  if (node->hison != NULL && this->bounds_overlap_ball(point, r, node->hison)) {
    range_search(point, node->hison, r, range_result);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movsd %xmm0, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq 0x38(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
addq $0x10, %rdx
movq (%rdi), %rax
callq *0x10(%rax)
movsd %xmm0, -0x30(%rbp)
movsd -0x30(%rbp), %xmm1
movsd -0x20(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jb 0x7bbd
movq -0x28(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x8c10
movq -0x18(%rbp), %rax
cmpq $0x0, 0x28(%rax)
je 0x7c06
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
movsd -0x20(%rbp), %xmm0
movq -0x18(%rbp), %rax
movq 0x28(%rax), %rdx
callq 0x7c60
testb $0x1, %al
jne 0x7be8
jmp 0x7c06
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rax
movq 0x28(%rax), %rdx
movsd -0x20(%rbp), %xmm0
movq -0x28(%rbp), %rcx
callq 0x7b60
movq -0x18(%rbp), %rax
cmpq $0x0, 0x30(%rax)
je 0x7c4f
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
movsd -0x20(%rbp), %xmm0
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rdx
callq 0x7c60
testb $0x1, %al
jne 0x7c31
jmp 0x7c4f
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rdx
movsd -0x20(%rbp), %xmm0
movq -0x28(%rbp), %rcx
callq 0x7b60
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::KdTree::ball_within_bounds(std::vector<double, std::allocator<double>> const&, double, Kdtree::kdtree_node*)
bool KdTree::ball_within_bounds(const CoordPoint& point, double dist,
                                kdtree_node* node) {
  size_t i;
  for (i = 0; i < dimension; i++)
    if (distance->coordinate_distance(point[i], node->lobound[i], i) <= dist ||
        distance->coordinate_distance(point[i], node->upbound[i], i) <= dist)
      return false;
  return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movsd %xmm0, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq $0x0, -0x30(%rbp)
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %rax
cmpq 0x60(%rcx), %rax
jae 0x80c4
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x48(%rbp)
movq -0x18(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x37f0
movsd (%rax), %xmm0
movsd %xmm0, -0x40(%rbp)
movq -0x28(%rbp), %rdi
addq $0x38, %rdi
movq -0x30(%rbp), %rsi
callq 0x38e0
movq -0x48(%rbp), %rdi
movsd -0x40(%rbp), %xmm0
movsd (%rax), %xmm1
movq -0x30(%rbp), %rsi
movq (%rdi), %rax
callq *0x18(%rax)
movaps %xmm0, %xmm1
movsd -0x20(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jae 0x80ab
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x58(%rbp)
movq -0x18(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x37f0
movsd (%rax), %xmm0
movsd %xmm0, -0x50(%rbp)
movq -0x28(%rbp), %rdi
addq $0x50, %rdi
movq -0x30(%rbp), %rsi
callq 0x38e0
movq -0x58(%rbp), %rdi
movsd -0x50(%rbp), %xmm0
movsd (%rax), %xmm1
movq -0x30(%rbp), %rsi
movq (%rdi), %rax
callq *0x18(%rax)
movaps %xmm0, %xmm1
movsd -0x20(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jb 0x80b1
movb $0x0, -0x1(%rbp)
jmp 0x80c8
jmp 0x80b3
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x7fe9
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::DistanceL0::DistanceL0(std::vector<double, std::allocator<double>> const*)
DistanceL0(const DoubleVector* weights = NULL) {
    if (weights)
      w = new DoubleVector(*weights);
    else
      w = (DoubleVector*)NULL;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x28(%rbp)
callq 0x8c80
movq -0x28(%rbp), %rax
leaq 0xc730(%rip), %rcx      # 0x14bc8
addq $0x30, %rcx
movq %rcx, (%rax)
leaq 0xc722(%rip), %rcx      # 0x14bc8
addq $0x30, %rcx
movq %rcx, (%rax)
cmpq $0x0, -0x10(%rbp)
je 0x850b
movl $0x18, %edi
callq 0x2110
movq %rax, -0x30(%rbp)
jmp 0x84c4
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x3a20
jmp 0x84d3
movq -0x28(%rbp), %rax
movq -0x30(%rbp), %rcx
movq %rcx, 0x8(%rax)
jmp 0x8517
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x851d
movq -0x30(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
movl $0x18, %esi
callq 0x2120
jmp 0x851d
movq -0x28(%rbp), %rax
movq $0x0, 0x8(%rax)
addq $0x30, %rsp
popq %rbp
retq
movq -0x28(%rbp), %rdi
callq 0x8fb0
movq -0x18(%rbp), %rdi
callq 0x2190
nop
// File: cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::DistanceL0::coordinate_distance(double, double, unsigned long)
double coordinate_distance(double x, double y, size_t dim) {
    if (w)
      return (*w)[dim] * fabs(x - y);
    else
      return fabs(x - y);
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movsd %xmm0, -0x18(%rbp)
movsd %xmm1, -0x20(%rbp)
movq %rsi, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, 0x8(%rax)
je 0x8f7e
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x28(%rbp), %rsi
callq 0x38e0
movsd (%rax), %xmm0
movsd -0x18(%rbp), %xmm1
subsd -0x20(%rbp), %xmm1
movaps 0x5391(%rip), %xmm2     # 0xe300
pand %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -0x8(%rbp)
jmp 0x8f98
movsd -0x18(%rbp), %xmm0
subsd -0x20(%rbp), %xmm0
movaps 0x5371(%rip), %xmm1     # 0xe300
pand %xmm1, %xmm0
movsd %xmm0, -0x8(%rbp)
movsd -0x8(%rbp), %xmm0
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::DistanceL1::distance(std::vector<double, std::allocator<double>> const&, std::vector<double, std::allocator<double>> const&)
double distance(const CoordPoint& p, const CoordPoint& q) {
    size_t i;
    double dist = 0.0;
    if (w) {
      for (i = 0; i < p.size(); i++) dist += (*w)[i] * fabs(p[i] - q[i]);
    } else {
      for (i = 0; i < p.size(); i++) dist += fabs(p[i] - q[i]);
    }
    return dist;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x28(%rbp)
cmpq $0x0, 0x8(%rax)
je 0x921f
movq $0x0, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
callq 0x37d0
movq %rax, %rcx
movq -0x38(%rbp), %rax
cmpq %rcx, %rax
jae 0x921d
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x20(%rbp), %rsi
callq 0x38e0
movsd (%rax), %xmm0
movsd %xmm0, -0x40(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x37f0
movsd (%rax), %xmm0
movsd %xmm0, -0x48(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x37f0
movsd -0x48(%rbp), %xmm2
movsd -0x40(%rbp), %xmm0
subsd (%rax), %xmm2
movaps 0x510a(%rip), %xmm1     # 0xe300
pand %xmm1, %xmm2
movsd -0x28(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x9187
jmp 0x9295
movq $0x0, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x10(%rbp), %rdi
callq 0x37d0
movq %rax, %rcx
movq -0x50(%rbp), %rax
cmpq %rcx, %rax
jae 0x9293
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x37f0
movsd (%rax), %xmm0
movsd %xmm0, -0x58(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x37f0
movsd -0x58(%rbp), %xmm0
subsd (%rax), %xmm0
movaps 0x5089(%rip), %xmm1     # 0xe300
pand %xmm1, %xmm0
addsd -0x28(%rbp), %xmm0
movsd %xmm0, -0x28(%rbp)
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x9227
jmp 0x9295
movsd -0x28(%rbp), %xmm0
addq $0x60, %rsp
popq %rbp
retq
// File: cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::DistanceL2::coordinate_distance(double, double, unsigned long)
double coordinate_distance(double x, double y, size_t dim) {
    if (w)
      return (*w)[dim] * (x - y) * (x - y);
    else
      return (x - y) * (x - y);
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movsd %xmm0, -0x18(%rbp)
movsd %xmm1, -0x20(%rbp)
movq %rsi, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, 0x8(%rax)
je 0x96e1
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x28(%rbp), %rsi
callq 0x38e0
movsd (%rax), %xmm0
movsd -0x18(%rbp), %xmm1
subsd -0x20(%rbp), %xmm1
mulsd %xmm1, %xmm0
movsd -0x18(%rbp), %xmm1
subsd -0x20(%rbp), %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -0x8(%rbp)
jmp 0x96fe
movsd -0x18(%rbp), %xmm0
subsd -0x20(%rbp), %xmm0
movsd -0x18(%rbp), %xmm1
subsd -0x20(%rbp), %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -0x8(%rbp)
movsd -0x8(%rbp), %xmm0
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::Benchmarks()
Benchmarks::Benchmarks(){
  dimension = 1000;		
  nonSeparableGroupSize = 50;
  MASK = ((L(1)) << (L(48))) - (L(1));
  m_havenextGaussian = false;

  if (dimension<nonSeparableGroupSize){
    cerr<<"ERROR: In configuration file, dimension is smaller than the non-separable part"<<endl;
    exit(-1);
  }

  // // allocate the memory
  // anotherz = new double[dimension];
  // anotherz1= new double[nonSeparableGroupSize];
  // anotherz2= new double[dimension - nonSeparableGroupSize];

  // Runtime Parameters setting
  setOvectorToZero = false;

  // functionInitRandomSeed = L(0);
  // m_seed= functionInitRandomSeed;
  // M  = 0x5DEECE66D;
  // A  = 0xB;

  // minX = -100;
  // maxX = 100;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
leaq 0x1606d(%rip), %rax     # 0x19928
addq $0x10, %rax
movq %rax, (%rdi)
addq $0x88, %rdi
movq %rdi, -0x28(%rbp)
callq 0x7530
movq -0x20(%rbp), %rcx
movl $0x3e8, 0xb8(%rcx)      # imm = 0x3E8
movl $0x32, 0xbc(%rcx)
movabsq $0xffffffffffff, %rax   # imm = 0xFFFFFFFFFFFF
movq %rax, 0x28(%rcx)
movb $0x0, 0x38(%rcx)
movl 0xb8(%rcx), %eax
cmpl 0xbc(%rcx), %eax
jge 0x3956
movq 0x166df(%rip), %rdi     # 0x19ff0
leaq 0xf798(%rip), %rsi      # 0x130b0
callq 0x31d0
movq %rax, -0x30(%rbp)
jmp 0x3923
movq -0x30(%rbp), %rdi
movq 0x1668a(%rip), %rsi     # 0x19fb8
callq 0x31f0
jmp 0x3935
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x3210
movq -0x28(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
callq 0x7550
jmp 0x3964
movq -0x20(%rbp), %rax
movb $0x0, 0x39(%rax)
addq $0x30, %rsp
popq %rbp
retq
movq -0x10(%rbp), %rdi
callq 0x3320
nopl (%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::next(int)
int Benchmarks::next(int bits) {
  int64_t s;
  int64_t result;
  m_seed = s = (((m_seed * M) + A) & MASK);
  result = (s >> (L(48 - bits)));
  return((int)result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rcx
imulq 0x10(%rax), %rcx
addq 0x18(%rax), %rcx
andq 0x28(%rax), %rcx
movq %rcx, -0x18(%rbp)
movq %rcx, 0x20(%rax)
movq -0x18(%rbp), %rax
movslq -0xc(%rbp), %rdx
movl $0x30, %ecx
subq %rdx, %rcx
sarq %cl, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::nextInt(int)
int Benchmarks::nextInt(int n) {
  int bits, val;

  if ((n & (-n)) == n) {
    return((int) ((n * L(next(31))) >> L(31)));
  }

  do {
    bits = next(31);
    val  = bits % n;
  } while (bits - val + (n - 1) < 0);

  return(val);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movl -0x14(%rbp), %eax
xorl %ecx, %ecx
subl -0x14(%rbp), %ecx
andl %ecx, %eax
cmpl -0x14(%rbp), %eax
jne 0x3b12
movq -0x28(%rbp), %rdi
movslq -0x14(%rbp), %rax
movq %rax, -0x30(%rbp)
movl $0x1f, %esi
callq 0x3a70
movl %eax, %ecx
movq -0x30(%rbp), %rax
movslq %ecx, %rcx
imulq %rcx, %rax
sarq $0x1f, %rax
movl %eax, -0x4(%rbp)
jmp 0x3b48
jmp 0x3b14
movq -0x28(%rbp), %rdi
movl $0x1f, %esi
callq 0x3a70
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %eax
cltd
idivl -0x14(%rbp)
movl %edx, -0x1c(%rbp)
movl -0x18(%rbp), %eax
subl -0x1c(%rbp), %eax
movl -0x14(%rbp), %ecx
subl $0x1, %ecx
addl %ecx, %eax
cmpl $0x0, %eax
jl 0x3b14
movl -0x1c(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::nextGaussian()
double Benchmarks::nextGaussian(){
  double multiplier, v1, v2, s;

  if (m_havenextGaussian) {
    m_havenextGaussian = false;
    return(m_nextGaussian) ;
  }

  do {
    v1 = ((D(2.0) * nextDouble()) - D(1.0));
    v2 = ((D(2.0) * nextDouble()) - D(1.0));
    s  = ((v1 * v1) + (v2 * v2));
  } while ((s >= D(1.0)) || (s <= D(0.0)));

  multiplier = sqrt(D(-2.0) * log(s) / s);
  m_nextGaussian    = (v2 * multiplier);
  m_havenextGaussian = true;
  return (v1 * multiplier);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
testb $0x1, 0x38(%rax)
je 0x3bf1
movq -0x38(%rbp), %rax
movb $0x0, 0x38(%rax)
movsd 0x30(%rax), %xmm0
movsd %xmm0, -0x8(%rbp)
jmp 0x3ccf
jmp 0x3bf3
movq -0x38(%rbp), %rdi
callq 0x3b60
movq -0x38(%rbp), %rdi
addsd %xmm0, %xmm0
movsd 0xf404(%rip), %xmm1     # 0x13010
addsd %xmm1, %xmm0
movsd %xmm0, -0x20(%rbp)
callq 0x3b60
addsd %xmm0, %xmm0
movsd 0xf3ea(%rip), %xmm1     # 0x13010
addsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
movsd -0x20(%rbp), %xmm0
movsd -0x20(%rbp), %xmm2
movsd -0x28(%rbp), %xmm1
mulsd -0x28(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
movsd -0x30(%rbp), %xmm0
movb $0x1, %al
movsd 0xf3b9(%rip), %xmm1     # 0x13018
ucomisd %xmm1, %xmm0
movb %al, -0x39(%rbp)
jae 0x3c76
xorps %xmm0, %xmm0
ucomisd -0x30(%rbp), %xmm0
setae %al
movb %al, -0x39(%rbp)
movb -0x39(%rbp), %al
testb $0x1, %al
jne 0x3bf3
movsd -0x30(%rbp), %xmm0
callq 0x3170
movaps %xmm0, %xmm1
movsd 0xf38a(%rip), %xmm0     # 0x13020
mulsd %xmm1, %xmm0
divsd -0x30(%rbp), %xmm0
callq 0x3160
movq -0x38(%rbp), %rax
movsd %xmm0, -0x18(%rbp)
movsd -0x28(%rbp), %xmm0
mulsd -0x18(%rbp), %xmm0
movsd %xmm0, 0x30(%rax)
movb $0x1, 0x38(%rax)
movsd -0x20(%rbp), %xmm0
mulsd -0x18(%rbp), %xmm0
movsd %xmm0, -0x8(%rbp)
movsd -0x8(%rbp), %xmm0
addq $0x40, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::createShiftVector(int, double, double)
double* Benchmarks::createShiftVector(int dim, double min,double max) {

  double* d;
  double  hw, middle;
  double  s;
  int     i;
  hw     = (D(0.5) * (max - min));
  middle = (min + hw);
  //d      = (double*)malloc(sizeof(double) * dim);
  d      = new double[dim];

  //	printf("middle = %1.20E\n",middle);
  //	printf("hw = %1.20E\n",hw);

  for (i = (dim - 1); i >= 0; i--) {
    if (setOvectorToZero == true){
      d[i] = 0;
    }else{
      do {
        double tempGauss = nextGaussian();
        s = (middle + (tempGauss * hw));
      } while ((s < min) || (s > max));
      d[i] = s;
      //			printf("shift vector = %1.20E\n", d[i]);
    }
  }
  return(d);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movsd %xmm0, -0x18(%rbp)
movsd %xmm1, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x58(%rbp)
movsd -0x20(%rbp), %xmm1
subsd -0x18(%rbp), %xmm1
movsd 0xf315(%rip), %xmm0     # 0x13028
mulsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
movsd -0x18(%rbp), %xmm0
addsd -0x30(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
movslq -0xc(%rbp), %rax
movl $0x8, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x3030
movq %rax, -0x28(%rbp)
movl -0xc(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x44(%rbp)
cmpl $0x0, -0x44(%rbp)
jl 0x3e04
movq -0x58(%rbp), %rax
movb 0x39(%rax), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x1, %eax
jne 0x3d8a
movq -0x28(%rbp), %rax
movslq -0x44(%rbp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
jmp 0x3df4
jmp 0x3d8c
movq -0x58(%rbp), %rdi
callq 0x3bc0
movsd %xmm0, -0x50(%rbp)
movsd -0x38(%rbp), %xmm1
movsd -0x50(%rbp), %xmm0
movsd -0x30(%rbp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x40(%rbp)
movsd -0x40(%rbp), %xmm1
movsd -0x18(%rbp), %xmm0
movb $0x1, %al
ucomisd %xmm1, %xmm0
movb %al, -0x59(%rbp)
ja 0x3ddb
movsd -0x40(%rbp), %xmm0
ucomisd -0x20(%rbp), %xmm0
seta %al
movb %al, -0x59(%rbp)
movb -0x59(%rbp), %al
testb $0x1, %al
jne 0x3d8c
movsd -0x40(%rbp), %xmm0
movq -0x28(%rbp), %rax
movslq -0x44(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x3df6
movl -0x44(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x3d5d
movq -0x28(%rbp), %rax
addq $0x60, %rsp
popq %rbp
retq
nop
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::createPermVector(int)
int* Benchmarks::createPermVector(int dim){
  int* d;
  int  i, j, k, t;
  //d = (int*)malloc(sizeof(int) * dim);
  d = new int[dim];

  for (i = (dim - 1); i >= 0; i--) {
    d[i] = i;
  }

  for (i = (dim << 3); i >= 0; i--) {
    j = nextInt(dim);

    do {
      k = nextInt(dim);
    } while (k == j);

    t    = d[j];
    d[j] = d[k];
    d[k] = t;
  }

  return(d);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movslq -0xc(%rbp), %rax
movl $0x4, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x3030
movq %rax, -0x18(%rbp)
movl -0xc(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
jl 0x4a48
movl -0x1c(%rbp), %edx
movq -0x18(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x1c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x4a29
movl -0xc(%rbp), %eax
shll $0x3, %eax
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
jl 0x4aba
movq -0x30(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x3ac0
movl %eax, -0x20(%rbp)
movq -0x30(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x3ac0
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x20(%rbp), %eax
je 0x4a66
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x28(%rbp)
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x28(%rbp), %edx
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x1c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x4a51
movq -0x18(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::readPermVector()
int* Benchmarks::readPermVector(){
  int* d;

  d = new int[dimension];

  stringstream ss;
  ss<< "cdatafiles/" << "F" << ID << "-p.txt";
  ifstream file (ss.str());
  int c=0;
  string value;

  if (file.is_open())
    {
      while (getline(file,value,','))
        {
          d[c++] = stod(value) - 1;
        }
    }

  // for (int i = 0; i < dimension; ++i)
  //   {
  //     printf("%d\n", d[i]);
  //   }

  return(d);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x440, %rsp            # imm = 0x440
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x408(%rbp)
movslq 0xb8(%rax), %rax
movl $0x4, %ecx
mulq %rcx
movq %rax, %rdi
movq $-0x1, %rax
cmovoq %rax, %rdi
callq 0x3030
movq %rax, -0x10(%rbp)
leaq -0x198(%rbp), %rdi
callq 0x3120
leaq -0x188(%rbp), %rdi
leaq 0xe5d5(%rip), %rsi      # 0x130ff
callq 0x31d0
movq %rax, -0x400(%rbp)
jmp 0x4b38
movq -0x400(%rbp), %rdi
leaq 0xe5c5(%rip), %rsi      # 0x1310b
callq 0x31d0
movq %rax, -0x410(%rbp)
jmp 0x4b54
movq -0x410(%rbp), %rdi
movq -0x408(%rbp), %rax
movl 0x8(%rax), %esi
callq 0x3250
movq %rax, -0x418(%rbp)
jmp 0x4b73
movq -0x418(%rbp), %rdi
leaq 0xe5ac(%rip), %rsi      # 0x1312d
callq 0x31d0
jmp 0x4b88
leaq -0x3d0(%rbp), %rdi
leaq -0x198(%rbp), %rsi
callq 0x31c0
jmp 0x4b9d
leaq -0x3b0(%rbp), %rdi
leaq -0x3d0(%rbp), %rsi
movl $0x8, %edx
callq 0x32b0
jmp 0x4bb7
leaq -0x3d0(%rbp), %rdi
callq 0x3110
movl $0x0, -0x3d4(%rbp)
leaq -0x3f8(%rbp), %rdi
callq 0x3260
leaq -0x3b0(%rbp), %rdi
callq 0x32a0
movb %al, -0x419(%rbp)
jmp 0x4bed
movb -0x419(%rbp), %al
testb $0x1, %al
jne 0x4bfc
jmp 0x4d03
jmp 0x4bfe
leaq -0x3b0(%rbp), %rdi
leaq -0x3f8(%rbp), %rsi
movl $0x2c, %edx
callq 0x3340
movq %rax, -0x428(%rbp)
jmp 0x4c1f
movq -0x428(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x3220
movb %al, -0x429(%rbp)
jmp 0x4c3d
movb -0x429(%rbp), %al
testb $0x1, %al
jne 0x4c4c
jmp 0x4d01
xorl %eax, %eax
movl %eax, %esi
leaq -0x3f8(%rbp), %rdi
callq 0x7570
movsd %xmm0, -0x438(%rbp)
jmp 0x4c66
movsd -0x438(%rbp), %xmm0
movsd 0xe3a2(%rip), %xmm1     # 0x13018
subsd %xmm1, %xmm0
cvttsd2si %xmm0, %edx
movq -0x10(%rbp), %rax
movl -0x3d4(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x3d4(%rbp)
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
jmp 0x4bfe
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a0(%rbp)
movl %eax, -0x1a4(%rbp)
jmp 0x4d42
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a0(%rbp)
movl %eax, -0x1a4(%rbp)
leaq -0x3d0(%rbp), %rdi
callq 0x3110
jmp 0x4d42
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a0(%rbp)
movl %eax, -0x1a4(%rbp)
leaq -0x3f8(%rbp), %rdi
callq 0x3110
leaq -0x3b0(%rbp), %rdi
callq 0x3090
jmp 0x4d42
jmp 0x4d03
movq -0x10(%rbp), %rax
movq %rax, -0x440(%rbp)
leaq -0x3f8(%rbp), %rdi
callq 0x3110
leaq -0x3b0(%rbp), %rdi
callq 0x3090
leaq -0x198(%rbp), %rdi
callq 0x3140
movq -0x440(%rbp), %rax
addq $0x440, %rsp            # imm = 0x440
popq %rbp
retq
leaq -0x198(%rbp), %rdi
callq 0x3140
movq -0x1a0(%rbp), %rdi
callq 0x3320
nopw (%rax,%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::createRotMatrix1D(int)
double* Benchmarks::createRotMatrix1D(int dim){
  double** a;
  double*  b;
  int      i, j, k;
  a = createRotMatrix(dim);
  //b = (double*)malloc(sizeof(double) * (dim * dim));
  b = new double[dim*dim];
  k = 0;

  for (i = 0; i < dim; i++) {
    for (j = 0; j < dim; j++) {
      b[k++] = a[i][j];
    }
  }

  // release the memory that previously allocated for storing a 2D array
  for(i=0;i<dim;i++){
    delete []a[i];
  }
  delete[] a;

  return(b);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x4d60
movq %rax, -0x18(%rbp)
movl -0xc(%rbp), %eax
imull -0xc(%rbp), %eax
cltq
movl $0x8, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x3030
movq %rax, -0x20(%rbp)
movl $0x0, -0x2c(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x50e6
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x50d9
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x28(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq -0x20(%rbp), %rax
movl -0x2c(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x2c(%rbp)
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x509a
jmp 0x50db
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x508b
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x5121
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, %rax
je 0x5114
movq -0x38(%rbp), %rdi
callq 0x3230
jmp 0x5116
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x50ed
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
cmpq $0x0, %rax
je 0x5138
movq -0x40(%rbp), %rdi
callq 0x3230
movq -0x20(%rbp), %rax
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::createMultiRotateMatrix1D(int, int)
double** Benchmarks::createMultiRotateMatrix1D(int dim, int num){
  double** a;
  int i;

  /*  allocate storage for an array of pointers */
  //a =(double **) malloc(num * sizeof(double *));
  a = new double*[num];

  /* for each pointer, allocate storage for an array of ints */
  for (i = 0; i < num; i++) {
    a[i] = createRotMatrix1D(dim);
  }

  return (a);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movslq -0x10(%rbp), %rax
movl $0x8, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x3030
movq %rax, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
cmpl -0x10(%rbp), %eax
jge 0x51c8
movq -0x28(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x5030
movq %rax, %rdx
movq -0x18(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x519a
movq -0x18(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::readS(int)
int* Benchmarks::readS(int num)
{
  s = new int[num];

  stringstream ss;
  ss<< "cdatafiles/" << "F" << ID << "-s.txt";
  ifstream file (ss.str());
  int c=0;
  string value;
  if (file.is_open())
    {
      while (getline(file,value))
        {
          // cout<<stod(value)<<endl;
          s[c++] = stod(value);
        }
    }
  return s;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x440, %rsp            # imm = 0x440
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x408(%rbp)
movslq -0xc(%rbp), %rax
movl $0x4, %ecx
mulq %rcx
movq %rax, %rdi
movq $-0x1, %rax
cmovoq %rax, %rdi
callq 0x3030
movq %rax, %rcx
movq -0x408(%rbp), %rax
movq %rcx, 0xf0(%rax)
leaq -0x198(%rbp), %rdi
callq 0x3120
leaq -0x188(%rbp), %rdi
leaq 0xda58(%rip), %rsi      # 0x130ff
callq 0x31d0
movq %rax, -0x400(%rbp)
jmp 0x56b5
movq -0x400(%rbp), %rdi
leaq 0xda48(%rip), %rsi      # 0x1310b
callq 0x31d0
movq %rax, -0x410(%rbp)
jmp 0x56d1
movq -0x410(%rbp), %rdi
movq -0x408(%rbp), %rax
movl 0x8(%rax), %esi
callq 0x3250
movq %rax, -0x418(%rbp)
jmp 0x56f0
movq -0x418(%rbp), %rdi
leaq 0xda39(%rip), %rsi      # 0x13137
callq 0x31d0
jmp 0x5705
leaq -0x3d0(%rbp), %rdi
leaq -0x198(%rbp), %rsi
callq 0x31c0
jmp 0x571a
leaq -0x3b0(%rbp), %rdi
leaq -0x3d0(%rbp), %rsi
movl $0x8, %edx
callq 0x32b0
jmp 0x5734
leaq -0x3d0(%rbp), %rdi
callq 0x3110
movl $0x0, -0x3d4(%rbp)
leaq -0x3f8(%rbp), %rdi
callq 0x3260
leaq -0x3b0(%rbp), %rdi
callq 0x32a0
movb %al, -0x419(%rbp)
jmp 0x576a
movb -0x419(%rbp), %al
testb $0x1, %al
jne 0x5779
jmp 0x5879
jmp 0x577b
leaq -0x3b0(%rbp), %rdi
leaq -0x3f8(%rbp), %rsi
callq 0x3060
movq %rax, -0x428(%rbp)
jmp 0x5797
movq -0x428(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x3220
movb %al, -0x429(%rbp)
jmp 0x57b5
movb -0x429(%rbp), %al
testb $0x1, %al
jne 0x57c4
jmp 0x5877
xorl %eax, %eax
movl %eax, %esi
leaq -0x3f8(%rbp), %rdi
callq 0x7570
movsd %xmm0, -0x438(%rbp)
jmp 0x57de
movq -0x408(%rbp), %rax
movsd -0x438(%rbp), %xmm0
cvttsd2si %xmm0, %edx
movq 0xf0(%rax), %rax
movl -0x3d4(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x3d4(%rbp)
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
jmp 0x577b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a0(%rbp)
movl %eax, -0x1a4(%rbp)
jmp 0x58c2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a0(%rbp)
movl %eax, -0x1a4(%rbp)
leaq -0x3d0(%rbp), %rdi
callq 0x3110
jmp 0x58c2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a0(%rbp)
movl %eax, -0x1a4(%rbp)
leaq -0x3f8(%rbp), %rdi
callq 0x3110
leaq -0x3b0(%rbp), %rdi
callq 0x3090
jmp 0x58c2
jmp 0x5879
movq -0x408(%rbp), %rax
movq 0xf0(%rax), %rax
movq %rax, -0x440(%rbp)
leaq -0x3f8(%rbp), %rdi
callq 0x3110
leaq -0x3b0(%rbp), %rdi
callq 0x3090
leaq -0x198(%rbp), %rdi
callq 0x3140
movq -0x440(%rbp), %rax
addq $0x440, %rsp            # imm = 0x440
popq %rbp
retq
leaq -0x198(%rbp), %rdi
callq 0x3140
movq -0x1a0(%rbp), %rdi
callq 0x3320
nopw (%rax,%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::readW(int)
double* Benchmarks::readW(int num)
{
  w = new double[num];

  stringstream ss;
  ss<< "cdatafiles/" << "F" << ID << "-w.txt";
  ifstream file (ss.str());
  int c=0;
  string value;
  if (file.is_open())
    {
      while (getline(file,value))
        {
          // cout<<stod(value)<<endl;
          w[c++] = stod(value);
        }
    }

  return w;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x440, %rsp            # imm = 0x440
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x408(%rbp)
movslq -0xc(%rbp), %rax
movl $0x8, %ecx
mulq %rcx
movq %rax, %rdi
movq $-0x1, %rax
cmovoq %rax, %rdi
callq 0x3030
movq %rax, %rcx
movq -0x408(%rbp), %rax
movq %rcx, 0xf8(%rax)
leaq -0x198(%rbp), %rdi
callq 0x3120
leaq -0x188(%rbp), %rdi
leaq 0xd7b8(%rip), %rsi      # 0x130ff
callq 0x31d0
movq %rax, -0x400(%rbp)
jmp 0x5955
movq -0x400(%rbp), %rdi
leaq 0xd7a8(%rip), %rsi      # 0x1310b
callq 0x31d0
movq %rax, -0x410(%rbp)
jmp 0x5971
movq -0x410(%rbp), %rdi
movq -0x408(%rbp), %rax
movl 0x8(%rax), %esi
callq 0x3250
movq %rax, -0x418(%rbp)
jmp 0x5990
movq -0x418(%rbp), %rdi
leaq 0xd7a0(%rip), %rsi      # 0x1313e
callq 0x31d0
jmp 0x59a5
leaq -0x3d0(%rbp), %rdi
leaq -0x198(%rbp), %rsi
callq 0x31c0
jmp 0x59ba
leaq -0x3b0(%rbp), %rdi
leaq -0x3d0(%rbp), %rsi
movl $0x8, %edx
callq 0x32b0
jmp 0x59d4
leaq -0x3d0(%rbp), %rdi
callq 0x3110
movl $0x0, -0x3d4(%rbp)
leaq -0x3f8(%rbp), %rdi
callq 0x3260
leaq -0x3b0(%rbp), %rdi
callq 0x32a0
movb %al, -0x419(%rbp)
jmp 0x5a0a
movb -0x419(%rbp), %al
testb $0x1, %al
jne 0x5a19
jmp 0x5b17
jmp 0x5a1b
leaq -0x3b0(%rbp), %rdi
leaq -0x3f8(%rbp), %rsi
callq 0x3060
movq %rax, -0x428(%rbp)
jmp 0x5a37
movq -0x428(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x3220
movb %al, -0x429(%rbp)
jmp 0x5a55
movb -0x429(%rbp), %al
testb $0x1, %al
jne 0x5a64
jmp 0x5b15
xorl %eax, %eax
movl %eax, %esi
leaq -0x3f8(%rbp), %rdi
callq 0x7570
movsd %xmm0, -0x438(%rbp)
jmp 0x5a7e
movsd -0x438(%rbp), %xmm0
movq -0x408(%rbp), %rax
movq 0xf8(%rax), %rax
movl -0x3d4(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x3d4(%rbp)
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x5a1b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a0(%rbp)
movl %eax, -0x1a4(%rbp)
jmp 0x5b60
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a0(%rbp)
movl %eax, -0x1a4(%rbp)
leaq -0x3d0(%rbp), %rdi
callq 0x3110
jmp 0x5b60
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a0(%rbp)
movl %eax, -0x1a4(%rbp)
leaq -0x3f8(%rbp), %rdi
callq 0x3110
leaq -0x3b0(%rbp), %rdi
callq 0x3090
jmp 0x5b60
jmp 0x5b17
movq -0x408(%rbp), %rax
movq 0xf8(%rax), %rax
movq %rax, -0x440(%rbp)
leaq -0x3f8(%rbp), %rdi
callq 0x3110
leaq -0x3b0(%rbp), %rdi
callq 0x3090
leaq -0x198(%rbp), %rdi
callq 0x3140
movq -0x440(%rbp), %rax
addq $0x440, %rsp            # imm = 0x440
popq %rbp
retq
leaq -0x198(%rbp), %rdi
callq 0x3140
movq -0x1a0(%rbp), %rdi
callq 0x3320
nopl (%rax,%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::multiply(double*, double**, int)
double* Benchmarks::multiply(double*vector, double**matrix,int dim){
  int    i,j;
  //double*result = (double*)malloc(sizeof(double) * dim);
  double*result = new double[dim];

  for(i = dim - 1; i >= 0; i--) {
    result[i] = 0;

    for(j = dim - 1; j >= 0; j--) {
      result[i] += vector[j] * matrix[i][j];
    }
  }

  return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movslq -0x1c(%rbp), %rax
movl $0x8, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x3030
movq %rax, -0x30(%rbp)
movl -0x1c(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x20(%rbp)
cmpl $0x0, -0x20(%rbp)
jl 0x5e32
movq -0x30(%rbp), %rax
movslq -0x20(%rbp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl -0x1c(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x24(%rbp)
cmpl $0x0, -0x24(%rbp)
jl 0x5e25
movq -0x10(%rbp), %rax
movslq -0x24(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x24(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2
movq -0x30(%rbp), %rax
movslq -0x20(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl -0x24(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x5dd8
jmp 0x5e27
movl -0x20(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x5db9
movq -0x30(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::elliptic(double*, int)
double Benchmarks::elliptic(double*x,int dim) {
  double result = 0.0;
  int    i;
  
  transform_osz(x, dim);

  // for(i = dim - 1; i >= 0; i--) {
  for(i=0; i<dim; i++)
    {
      // printf("%f\n", pow(1.0e6,  i/((double)(dim - 1)) ));
      result += pow(1.0e6,  i/((double)(dim - 1)) ) * x[i] * x[i];
    }
  
  return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rdi
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
callq 0x4610
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x6321
cvtsi2sdl -0x24(%rbp), %xmm1
movl -0x14(%rbp), %eax
subl $0x1, %eax
cvtsi2sd %eax, %xmm0
divsd %xmm0, %xmm1
movsd 0xcd73(%rip), %xmm0     # 0x13058
callq 0x3310
movq -0x10(%rbp), %rax
movslq -0x24(%rbp), %rcx
mulsd (%rax,%rcx,8), %xmm0
movq -0x10(%rbp), %rax
movslq -0x24(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2
movsd -0x20(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x20(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x62c2
movsd -0x20(%rbp), %xmm0
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::rastrigin(double*, int)
double Benchmarks::rastrigin(double*x,int dim){
  double sum = 0;
  int    i;
  
  // T_{osz}
  transform_osz(x, dim);
  
  // T_{asy}^{0.2}
  transform_asy(x, 0.2, dim);

  // lambda
  Lambda(x, 10, dim);

  for(i = dim - 1; i >= 0; i--) {
    sum += x[i] * x[i] - 10.0 * cos(2 * PI * x[i]) + 10.0;
  }
  
  return(sum);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
callq 0x4610
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
movsd 0xccce(%rip), %xmm0     # 0x13060
callq 0x4880
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
movsd 0xcc96(%rip), %xmm0     # 0x13040
callq 0x4950
movl -0x14(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x24(%rbp)
cmpl $0x0, -0x24(%rbp)
jl 0x645c
movq -0x10(%rbp), %rax
movslq -0x24(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x38(%rbp)
movq -0x10(%rbp), %rax
movslq -0x24(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x40(%rbp)
movq -0x10(%rbp), %rax
movslq -0x24(%rbp), %rcx
movsd 0xcc72(%rip), %xmm0     # 0x13068
mulsd (%rax,%rcx,8), %xmm0
callq 0x3350
movsd -0x40(%rbp), %xmm2
movaps %xmm0, %xmm3
movsd -0x38(%rbp), %xmm0
movsd 0xcc2b(%rip), %xmm1     # 0x13040
mulsd %xmm3, %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd 0xcc00(%rip), %xmm1     # 0x13040
addsd %xmm1, %xmm0
addsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x20(%rbp)
movl -0x24(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x63b8
movsd -0x20(%rbp), %xmm0
addq $0x40, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::rastrigin(double*, int, int)
double Benchmarks::rastrigin(double *x, int dim, int k)
{
  double result=0.0;
  int i;
  for(i=dim/k-1;i>=0;i--)
    {
      result+=x[Pvector[dim/k+i]]*x[Pvector[dim/k+i]]-10.0*cos(2*PI*x[Pvector[dim/k+i]])+10.0;
    }
  return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
movl -0x14(%rbp), %eax
cltd
idivl -0x18(%rbp)
subl $0x1, %eax
movl %eax, -0x24(%rbp)
cmpl $0x0, -0x24(%rbp)
jl 0x65a4
movq -0x30(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0x58(%rax), %rax
movq %rax, -0x58(%rbp)
movl -0x14(%rbp), %eax
cltd
idivl -0x18(%rbp)
movq -0x58(%rbp), %rdx
movl %eax, %esi
movq -0x30(%rbp), %rax
addl -0x24(%rbp), %esi
movslq %esi, %rsi
movslq (%rdx,%rsi,4), %rdx
movsd (%rcx,%rdx,8), %xmm0
movsd %xmm0, -0x38(%rbp)
movq -0x10(%rbp), %rcx
movq 0x58(%rax), %rax
movq %rax, -0x50(%rbp)
movl -0x14(%rbp), %eax
cltd
idivl -0x18(%rbp)
movq -0x50(%rbp), %rdx
movl %eax, %esi
movq -0x30(%rbp), %rax
addl -0x24(%rbp), %esi
movslq %esi, %rsi
movslq (%rdx,%rsi,4), %rdx
movsd (%rcx,%rdx,8), %xmm0
movsd %xmm0, -0x40(%rbp)
movq -0x10(%rbp), %rcx
movq %rcx, -0x48(%rbp)
movq 0x58(%rax), %rcx
movl -0x14(%rbp), %eax
cltd
idivl -0x18(%rbp)
movl %eax, %edx
movq -0x48(%rbp), %rax
addl -0x24(%rbp), %edx
movslq %edx, %rdx
movslq (%rcx,%rdx,4), %rcx
movsd 0xcb2a(%rip), %xmm0     # 0x13068
mulsd (%rax,%rcx,8), %xmm0
callq 0x3350
movsd -0x40(%rbp), %xmm2
movaps %xmm0, %xmm3
movsd -0x38(%rbp), %xmm0
movsd 0xcae3(%rip), %xmm1     # 0x13040
mulsd %xmm3, %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd 0xcab8(%rip), %xmm1     # 0x13040
addsd %xmm1, %xmm0
addsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x20(%rbp)
movl -0x24(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x64a3
movsd -0x20(%rbp), %xmm0
addq $0x60, %rsp
popq %rbp
retq
nop
// File: mateuz[P]MTS-LS1/source/Benchmarks.cpp
// Function: Benchmarks::ackley(double*, int)
double Benchmarks::ackley(double*x,int dim){
  double sum1 = 0.0;
  double sum2 = 0.0;
  double sum;
  int    i;

  // T_{osz}
  transform_osz(x,dim);
  
  // T_{asy}^{0.2}
  transform_asy(x, 0.2, dim);

  // lambda
  Lambda(x, 10, dim);

  for(i = dim - 1; i >= 0; i--) {
    sum1 += (x[i] * x[i]);
    sum2 += cos(2.0 * PI * x[i]);
  }

  sum = -20.0 * exp(-0.2 * sqrt(sum1 / dim)) - exp(sum2 / dim) + 20.0 + E;
  return(sum);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x40(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x28(%rbp)
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
callq 0x4610
movq -0x40(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
movsd 0xca66(%rip), %xmm0     # 0x13060
callq 0x4880
movq -0x40(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
movsd 0xca2e(%rip), %xmm0     # 0x13040
callq 0x4950
movl -0x14(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x34(%rbp)
cmpl $0x0, -0x34(%rbp)
jl 0x6681
movq -0x10(%rbp), %rax
movslq -0x34(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq -0x10(%rbp), %rax
movslq -0x34(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm2
movsd -0x20(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x20(%rbp)
movq -0x10(%rbp), %rax
movslq -0x34(%rbp), %rcx
movsd 0xca06(%rip), %xmm0     # 0x13068
mulsd (%rax,%rcx,8), %xmm0
callq 0x3350
addsd -0x28(%rbp), %xmm0
movsd %xmm0, -0x28(%rbp)
movl -0x34(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x6620
movsd -0x20(%rbp), %xmm0
cvtsi2sdl -0x14(%rbp), %xmm1
divsd %xmm1, %xmm0
callq 0x3160
movaps %xmm0, %xmm1
movsd 0xc9e9(%rip), %xmm0     # 0x13088
mulsd %xmm1, %xmm0
callq 0x3330
movsd %xmm0, -0x48(%rbp)
movsd -0x28(%rbp), %xmm0
cvtsi2sdl -0x14(%rbp), %xmm1
divsd %xmm1, %xmm0
callq 0x3330
movaps %xmm0, %xmm1
movsd -0x48(%rbp), %xmm0
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
movsd 0xc999(%rip), %xmm2     # 0x13080
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd 0xc981(%rip), %xmm1     # 0x13078
addsd %xmm1, %xmm0
movsd 0xc96d(%rip), %xmm1     # 0x13070
addsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
movsd -0x30(%rbp), %xmm0
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)