LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instance.c
// Function: instance_to_svmnode
Svm_nodeptr instance_to_svmnode(Instanceptr inst)
{
	/*!Last Changed 02.05.2005*/
	int i, j = 0;
	Svm_nodeptr result;
 double value;
	result = safemalloc(sizeof(Svm_node) * current_dataset->multifeaturecount, "instance_to_svmnode", 3);
	for (i = 0; i < current_dataset->multifeaturecount - 1; i++)
	 {
   value = real_feature(inst, i);
   if (value != 0.0 || current_dataset->storetype == STORE_KERNEL)
    {
  		 result[j].index = i;
		  	result[j].value = value;
     j++;
    }
	 }
	result[j].index = -1;
	result[j].value = -1;
 j++;
 result = alloc(result, sizeof(Svm_node) * j, j);
	return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl $0x0, -0x10(%rbp)
leaq 0xc2d26(%rip), %rax     # 0x105840
movq (%rax), %rax
movslq 0x1c0(%rax), %rdi
shlq $0x4, %rdi
leaq 0xa2ab1(%rip), %rsi     # 0xe55e0
movl $0x3, %edx
callq 0x52d70
movq %rax, -0x18(%rbp)
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
leaq 0xc2cf2(%rip), %rcx     # 0x105840
movq (%rcx), %rcx
movl 0x1c0(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x42bd8
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x42c40
movsd %xmm0, -0x20(%rbp)
movsd -0x20(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x42b92
jp 0x42b92
leaq 0xc2cba(%rip), %rax     # 0x105840
movq (%rax), %rax
cmpl $0x3, 0x140713c(%rax)
jne 0x42bc8
movl -0xc(%rbp), %ecx
movq -0x18(%rbp), %rax
movslq -0x10(%rbp), %rdx
shlq $0x4, %rdx
addq %rdx, %rax
movl %ecx, (%rax)
movsd -0x20(%rbp), %xmm0
movq -0x18(%rbp), %rax
movslq -0x10(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movsd %xmm0, 0x8(%rax)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x42bca
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x42b44
movq -0x18(%rbp), %rax
movslq -0x10(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movl $0xffffffff, (%rax)     # imm = 0xFFFFFFFF
movq -0x18(%rbp), %rax
movslq -0x10(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movsd 0x9fe44(%rip), %xmm0    # 0xe2a48
movsd %xmm0, 0x8(%rax)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
movq -0x18(%rbp), %rdi
movslq -0x10(%rbp), %rsi
shlq $0x4, %rsi
movl -0x10(%rbp), %edx
callq 0x52d10
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instance.c
// Function: generate_2d_copy_of_instance
Instanceptr generate_2d_copy_of_instance(Instanceptr inst)
{
	/*!Last Changed 24.03.2005*/
 Instanceptr newinst;
	int i, j, x, dim = current_dataset->multifeaturecount - 1;
	newinst = empty_instance(multifeaturecount_2d(current_dataset) + 1);
	x = 0;
 for (i = 0; i < dim; i++)
	  for (j = i; j < dim; j++)
				{
				 if (x == current_dataset->classdefno)
						 x++;
		  	newinst->values[x].floatvalue = (double) (real_feature(inst, i) * real_feature(inst, j));
					x++;
				}
 for (i = 0; i < dim; i++)
		{
			if (x == current_dataset->classdefno)
					x++;
			newinst->values[x].floatvalue = (double) real_feature(inst, i);
			x++;
		}
	return newinst;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
leaq 0xc29cd(%rip), %rax     # 0x105840
movq (%rax), %rax
movl 0x1c0(%rax), %eax
subl $0x1, %eax
movl %eax, -0x20(%rbp)
leaq 0xc29b7(%rip), %rax     # 0x105840
movq (%rax), %rdi
callq 0x1b690
movl %eax, %edi
addl $0x1, %edi
callq 0x1e140
movq %rax, -0x10(%rbp)
movl $0x0, -0x1c(%rbp)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl -0x20(%rbp), %eax
jge 0x42f42
movl -0x14(%rbp), %eax
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %eax
cmpl -0x20(%rbp), %eax
jge 0x42f32
movl -0x1c(%rbp), %eax
leaq 0xc296f(%rip), %rcx     # 0x105840
movq (%rcx), %rcx
cmpl 0x1407128(%rcx), %eax
jne 0x42ee5
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movq -0x8(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0x42c40
movsd %xmm0, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movl -0x18(%rbp), %esi
callq 0x42c40
movaps %xmm0, %xmm1
movsd -0x28(%rbp), %xmm0
mulsd %xmm1, %xmm0
movq -0x10(%rbp), %rax
movq (%rax), %rax
movslq -0x1c(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x42ebf
jmp 0x42f34
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x42ead
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl -0x20(%rbp), %eax
jge 0x42f9f
movl -0x1c(%rbp), %eax
leaq 0xc28e5(%rip), %rcx     # 0x105840
movq (%rcx), %rcx
cmpl 0x1407128(%rcx), %eax
jne 0x42f6f
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movq -0x8(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0x42c40
movq -0x10(%rbp), %rax
movq (%rax), %rax
movslq -0x1c(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x42f49
movq -0x10(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instance.c
// Function: multiply_with_matrix
double multiply_with_matrix(Instanceptr inst, matrix m)
{
	/*!Last Changed 29.01.2005*/
	/*!Last Changed 09.01.2004*/
	double result = 0;
	int x, i, j = 0, dim = current_dataset->multifeaturecount - 1;
	if (m.col == dim) /*LINEAR MODEL*/
	 {
  	for (i = 0; i < dim; i++)
		  	result += m.values[0][i] * real_feature(inst, i);
	 }
	else /* QUADRATIC MODEL */
	 {
		 x = 0;
		 for (i = 0; i < dim; i++)
  			for (j = i; j < dim; j++)
					 {
						 result += m.values[0][x] * real_feature(inst, i) * real_feature(inst, j);
							x++;
					 }
   for (i = 0; i < dim; i++)
			 {
				 result += m.values[0][x] * real_feature(inst, i);
					x++;
			 }
	 }
	return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rsi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
movl $0x0, -0x2c(%rbp)
leaq 0xc2866(%rip), %rax     # 0x105840
movq (%rax), %rax
movl 0x1c0(%rax), %eax
subl $0x1, %eax
movl %eax, -0x30(%rbp)
movl -0xc(%rbp), %eax
cmpl -0x30(%rbp), %eax
jne 0x4304b
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x30(%rbp), %eax
jge 0x43046
movq -0x8(%rbp), %rax
movq (%rax), %rax
movslq -0x28(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x38(%rbp)
movq -0x18(%rbp), %rdi
movl -0x28(%rbp), %esi
callq 0x42c40
movaps %xmm0, %xmm2
movsd -0x38(%rbp), %xmm0
movsd -0x20(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x20(%rbp)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x42ff8
jmp 0x4314f
movl $0x0, -0x24(%rbp)
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x30(%rbp), %eax
jge 0x430ef
movl -0x28(%rbp), %eax
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0x30(%rbp), %eax
jge 0x430df
movq -0x8(%rbp), %rax
movq (%rax), %rax
movslq -0x24(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x48(%rbp)
movq -0x18(%rbp), %rdi
movl -0x28(%rbp), %esi
callq 0x42c40
movaps %xmm0, %xmm1
movsd -0x48(%rbp), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, -0x40(%rbp)
movq -0x18(%rbp), %rdi
movl -0x2c(%rbp), %esi
callq 0x42c40
movaps %xmm0, %xmm2
movsd -0x40(%rbp), %xmm0
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)
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x4306b
jmp 0x430e1
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x43059
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x30(%rbp), %eax
jge 0x4314d
movq -0x8(%rbp), %rax
movq (%rax), %rax
movslq -0x24(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x50(%rbp)
movq -0x18(%rbp), %rdi
movl -0x28(%rbp), %esi
callq 0x42c40
movaps %xmm0, %xmm2
movsd -0x50(%rbp), %xmm0
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)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x430f6
jmp 0x4314f
movsd -0x20(%rbp), %xmm0
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instance.c
// Function: instance_to_matrix
matrix instance_to_matrix(Instanceptr inst)
{
	/*!Last Changed 09.01.2004*/
	int i, j = 0;
	matrix result;
	result = matrix_alloc(1, current_dataset->multifeaturecount - 1);
	for (i = 0; i < current_dataset->multifeaturecount; i++)
		 if (i != current_dataset->classdefno)
			 {
				 result.values[0][j] = inst->values[i].floatvalue;
					j++;
			 }
 return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x18(%rbp)
movl $0x0, -0x20(%rbp)
leaq 0xc26c6(%rip), %rax     # 0x105840
movq (%rax), %rax
movl 0x1c0(%rax), %esi
subl $0x1, %esi
movl $0x1, %edi
callq 0x57fc0
movq %rax, -0x30(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x8(%rbp)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
leaq 0xc2687(%rip), %rcx     # 0x105840
movq (%rcx), %rcx
cmpl 0x1c0(%rcx), %eax
jge 0x4320f
movl -0x1c(%rbp), %eax
leaq 0xc2672(%rip), %rcx     # 0x105840
movq (%rcx), %rcx
cmpl 0x1407128(%rcx), %eax
je 0x43202
movq -0x18(%rbp), %rax
movq (%rax), %rax
movslq -0x1c(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq -0x8(%rbp), %rax
movq (%rax), %rax
movslq -0x20(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x43204
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x431af
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rdx
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instance.c
// Function: dot_product
double dot_product(Instanceptr inst1, Instanceptr inst2)
{
 int i;
 double sum = 0;
 for (i = 0; i < current_dataset->multifeaturecount - 1; i++)
   sum += real_feature(inst1, i) * real_feature(inst2, i);
 return sum;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x20(%rbp)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
leaq 0xc15c7(%rip), %rcx     # 0x105840
movq (%rcx), %rcx
movl 0x1c0(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x442cb
movq -0x8(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0x42c40
movsd %xmm0, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0x42c40
movaps %xmm0, %xmm2
movsd -0x28(%rbp), %xmm0
movsd -0x20(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x20(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x4426f
movsd -0x20(%rbp), %xmm0
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instance.c
// Function: svm_classno
int svm_classno(Instanceptr myptr, int negative)
{
 if (current_dataset->classdefno != -1)
   if (myptr->values[current_dataset->classdefno].stringindex == negative)
     return -1;
   else
     return 1;
 else
   return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
leaq 0xc137e(%rip), %rax     # 0x105840
movq (%rax), %rax
cmpl $-0x1, 0x1407128(%rax)
je 0x44500
movq -0x10(%rbp), %rax
movq (%rax), %rax
leaq 0xc1364(%rip), %rcx     # 0x105840
movq (%rcx), %rcx
movslq 0x1407128(%rcx), %rcx
movl (%rax,%rcx,8), %eax
cmpl -0x14(%rbp), %eax
jne 0x444f7
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x44507
movl $0x1, -0x4(%rbp)
jmp 0x44507
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instance.c
// Function: deallocate
void deallocate(Instanceptr myptr)
{
	/*!Last Changed 07.01.2007 added sublist*/
 Instanceptr tmp;
 if (myptr)
  {
   while(myptr)
    {
     tmp = myptr->next;
     safe_free(myptr->values);
					if (myptr->sublist)
						 deallocate(myptr->sublist);
     if (myptr->class_labels)
       safe_free(myptr->class_labels);
     safe_free(myptr);
     myptr = tmp;
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x44589
jmp 0x44525
cmpq $0x0, -0x8(%rbp)
je 0x44587
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rdi
callq 0x52e80
movq -0x8(%rbp), %rax
cmpq $0x0, 0x28(%rax)
je 0x4455c
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rdi
callq 0x44510
movq -0x8(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x44574
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x52e80
movq -0x8(%rbp), %rdi
callq 0x52e80
movq -0x10(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x44525
jmp 0x44589
addq $0x10, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: generate_2d_copy_of_instance_list
Instanceptr generate_2d_copy_of_instance_list(Instanceptr list)
{
 /*!Last Changed 23.03.2005*/
 Instanceptr result, tmp, newinst, newbefore;
 result = generate_2d_copy_of_instance(list);
 newbefore = result;
 tmp = list->next;
 while (tmp)
  {
   newinst = generate_2d_copy_of_instance(tmp);
   newbefore->next = newinst;
   newbefore = newinst;
   tmp = tmp->next;
  }
 return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x42e60
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x445f3
movq -0x18(%rbp), %rdi
callq 0x42e60
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x20(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x18(%rbp)
jmp 0x445bd
movq -0x10(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: find_mean_of_regression_value
double find_mean_of_regression_value(Instanceptr instances)
{
 /*!Last Changed 09.12.2004*/
 double sum = 0;
 int count = 0;
 Instanceptr tmp;
 tmp = instances;
 while (tmp)
  {
   count++;
   sum += give_regressionvalue(tmp);
   tmp = tmp->next;
  }
 if (count != 0)
   return sum / count;
 return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x44654
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movq -0x28(%rbp), %rdi
callq 0x43580
addsd -0x18(%rbp), %xmm0
movsd %xmm0, -0x18(%rbp)
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x28(%rbp)
jmp 0x44623
cmpl $0x0, -0x1c(%rbp)
je 0x4466f
movsd -0x18(%rbp), %xmm0
cvtsi2sdl -0x1c(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x8(%rbp)
jmp 0x44677
xorps %xmm0, %xmm0
movsd %xmm0, -0x8(%rbp)
movsd -0x8(%rbp), %xmm0
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: find_variance_of_regression_value
double find_variance_of_regression_value(Instanceptr instances, double mean)
{
 /*!Last Changed 09.12.2004*/
 double sum = 0, value;
 Instanceptr tmp;
 int count = 0;
 tmp = instances;
 while (tmp)
  {
   count++;
   value = give_regressionvalue(tmp);
   sum = sum + (value - mean) * (value - mean);
   tmp = tmp->next;
  }
 return sum;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movsd %xmm0, -0x10(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x18(%rbp)
movl $0x0, -0x2c(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x4470a
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
movq -0x28(%rbp), %rdi
callq 0x43580
movsd %xmm0, -0x20(%rbp)
movsd -0x18(%rbp), %xmm1
movsd -0x20(%rbp), %xmm0
subsd -0x10(%rbp), %xmm0
movsd -0x20(%rbp), %xmm2
subsd -0x10(%rbp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x18(%rbp)
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x28(%rbp)
jmp 0x446b8
movsd -0x18(%rbp), %xmm0
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: data_size
int data_size(Instanceptr myptr)
{
 Instanceptr tmp=myptr;
 int i=0;
 while (tmp)
  {
   i++;
   tmp=tmp->next;
  }
 return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x44a25
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x10(%rbp)
jmp 0x44a07
movl -0x14(%rbp), %eax
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: print_instance_list_with_extra_features
void print_instance_list_with_extra_features(FILE* outfile, char s, Datasetptr d, Instanceptr listptr, int extra_features)
{
 Instanceptr tmp;
 tmp = listptr;
 while (tmp)
  {
   print_instance_with_extra_features(outfile, s, d, tmp, extra_features);
   tmp = tmp->next;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
movb %al, -0x9(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x44a86
movq -0x8(%rbp), %rdi
movb -0x9(%rbp), %al
movq -0x18(%rbp), %rdx
movq -0x30(%rbp), %rcx
movl -0x24(%rbp), %r8d
movsbl %al, %esi
callq 0x43220
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x30(%rbp)
jmp 0x44a56
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: print_class_information
void print_class_information(FILE* outfile, Instanceptr listptr)
{
 Instanceptr tmp;
 int index;
 tmp = listptr;
 index = 0;
 while (tmp)
  {
   fprintf(outfile, "%d %s\n", index, current_dataset->classes[give_classno(tmp)]);
   index++;
   tmp = tmp->next;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x44b15
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movl -0x1c(%rbp), %eax
movl %eax, -0x2c(%rbp)
leaq 0xc0d75(%rip), %rax     # 0x105840
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rdi
callq 0x43530
movq -0x38(%rbp), %rdi
movl -0x2c(%rbp), %edx
movl %eax, %ecx
movq -0x28(%rbp), %rax
movslq %ecx, %rcx
movq 0x18(%rax,%rcx,8), %rcx
leaq 0xa0b84(%rip), %rsi     # 0xe567b
movb $0x0, %al
callq 0x4280
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x18(%rbp)
jmp 0x44aaf
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: print_kernel_matrix
void print_kernel_matrix(FILE* outfile, Instanceptr listptr)
{
 Svm_parameter param;
 Svm_nodeptr node1, node2;
 Instanceptr tmp1, tmp2;
	param.coef0 = get_parameter_f("svmcoef0");
	param.degree = get_parameter_i("svmdegree");
	param.gamma = get_parameter_f("svmgamma");
	param.kernel_type = get_parameter_l("kerneltype");
 tmp1 = listptr;
 while (tmp1)
  {
   node1 = instance_to_svmnode(tmp1);
   tmp2 = listptr;
   while (tmp2)
    {
     node2 = instance_to_svmnode(tmp2);
     fprintf(outfile, "%.6f ", k_function(node1, node2, param));    
     tmp2 = tmp2->next;
    }
   fprintf(outfile, "\n");
   tmp1 = tmp1->next;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq 0x9da18(%rip), %rdi     # 0xe2552
callq 0x79040
movsd %xmm0, -0x50(%rbp)
leaq 0x9da10(%rip), %rdi     # 0xe255b
callq 0x78f10
movl %eax, -0x60(%rbp)
leaq 0x9da0b(%rip), %rdi     # 0xe2565
callq 0x79040
movsd %xmm0, -0x58(%rbp)
leaq 0x9d9dc(%rip), %rdi     # 0xe2547
callq 0x792b0
movl %eax, -0x64(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x80(%rbp)
cmpq $0x0, -0x80(%rbp)
je 0x44c55
movq -0x80(%rbp), %rdi
callq 0x42b00
movq %rax, -0x70(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x88(%rbp)
cmpq $0x0, -0x88(%rbp)
je 0x44c32
movq -0x88(%rbp), %rdi
callq 0x42b00
movq %rax, -0x78(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x70(%rbp), %rdi
movq -0x78(%rbp), %rsi
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x50(%rax)
movups -0x28(%rbp), %xmm0
movups %xmm0, 0x40(%rax)
movups -0x68(%rbp), %xmm0
movups -0x58(%rbp), %xmm1
movups -0x48(%rbp), %xmm2
movups -0x38(%rbp), %xmm3
movups %xmm3, 0x30(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0xcaa90
movq -0x90(%rbp), %rdi
leaq 0xa81dd(%rip), %rsi     # 0xecdf1
movb $0x1, %al
callq 0x4280
movq -0x88(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x88(%rbp)
jmp 0x44b9e
movq -0x8(%rbp), %rdi
leaq 0xa10fe(%rip), %rsi     # 0xe5d3b
movb $0x0, %al
callq 0x4280
movq -0x80(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x80(%rbp)
jmp 0x44b7b
addq $0xf0, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: create_list_from_exceptions
void create_list_from_exceptions(Instanceptr* list, Instanceptr* list2)
{
 /*!Last Changed 03.12.2004 changed*/
 /*!Last Changed 08.05.2004*/
 Instanceptr tmp1, tmp2 = NULL, tmp1before;
 if (list2 == NULL)
   return;
 tmp1 = *list2;
 tmp1before = NULL;
 *list = NULL;
 while (tmp1)
  {
   if (tmp1->isexception)
    {
     if (*list == NULL)
       *list = tmp1;
     else
       tmp2->next = tmp1;
     tmp2 = tmp1;
    }
   else
    {
     if (tmp1before)
       tmp1before->next = tmp1;
     else
       *list2 = tmp1;
     tmp1before = tmp1;
    }
   tmp1 = tmp1->next;
  }
 if (tmp2)
   tmp2->next = NULL;
 if (tmp1before)
   tmp1before->next = NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq $0x0, -0x20(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x44e20
jmp 0x44ed8
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq $0x0, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq $0x0, (%rax)
cmpq $0x0, -0x18(%rbp)
je 0x44eb2
movq -0x18(%rbp), %rax
cmpl $0x0, 0x20(%rax)
je 0x44e7c
movq -0x8(%rbp), %rax
cmpq $0x0, (%rax)
jne 0x44e66
movq -0x18(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
jmp 0x44e72
movq -0x18(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x18(%rbp), %rax
movq %rax, -0x20(%rbp)
jmp 0x44ea4
cmpq $0x0, -0x28(%rbp)
je 0x44e91
movq -0x18(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, 0x10(%rax)
jmp 0x44e9c
movq -0x18(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x18(%rbp)
jmp 0x44e3e
cmpq $0x0, -0x20(%rbp)
je 0x44ec5
movq -0x20(%rbp), %rax
movq $0x0, 0x10(%rax)
cmpq $0x0, -0x28(%rbp)
je 0x44ed8
movq -0x28(%rbp), %rax
movq $0x0, 0x10(%rax)
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: reverse_instancelist
void reverse_instancelist(Instanceptr* list)
{
 /*!Last Changed 26.03.2007*/
 Instanceptr current, next, header = NULL;
 current = *list;
 while (current)
  {
   next = current->next;
   current->next = header;
   header = current;
   current = next;
  }
 *list = header;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x44f2c
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x20(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x10(%rbp)
jmp 0x44efb
movq -0x20(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: merge_instancelist
void merge_instancelist(Instanceptr* list1, Instanceptr list2)
{
 /* Last Changed 09.05.2003*/
 Instanceptr tmp = *list1;
 if (list2 == NULL)
   return;
 if (tmp == NULL)
  {
   *list1 = list2;
   return;
  } 
 while (tmp->next)
   tmp = tmp->next;
 tmp->next = list2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x44f60
jmp 0x44f9b
cmpq $0x0, -0x18(%rbp)
jne 0x44f74
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
jmp 0x44f9b
jmp 0x44f76
movq -0x18(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x44f8f
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x18(%rbp)
jmp 0x44f76
movq -0x10(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, 0x10(%rax)
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: merge_instancelist_groups
void merge_instancelist_groups(Instanceptr* mergedlist, Instanceptr* lists, int count)
{
 /*!Last Changed 04.04.2007*/
 int i = 0, j;
 Instanceptr tmp;
 while (!lists[i] && i < count)
   i++;
 *mergedlist = lists[i];
 tmp = lists[i];
 for (j = i + 1; j < count; j++)
  {
   while (tmp->next) /*Go to the end of list[i - 1]*/
     tmp = tmp->next;
   tmp->next = lists[j];
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl $0x0, -0x18(%rbp)
movq -0x10(%rbp), %rcx
movslq -0x18(%rbp), %rdx
xorl %eax, %eax
cmpq $0x0, (%rcx,%rdx,8)
movb %al, -0x29(%rbp)
jne 0x44fd6
movl -0x18(%rbp), %eax
cmpl -0x14(%rbp), %eax
setl %al
movb %al, -0x29(%rbp)
movb -0x29(%rbp), %al
testb $0x1, %al
jne 0x44fdf
jmp 0x44fea
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x44fb6
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x28(%rbp)
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x45058
jmp 0x45020
movq -0x28(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x45039
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x28(%rbp)
jmp 0x45020
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movq (%rax,%rcx,8), %rcx
movq -0x28(%rbp), %rax
movq %rcx, 0x10(%rax)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x45016
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: merge_instancelist_without_outliers
void merge_instancelist_without_outliers(Instanceptr* list1, Instanceptr* list2, int classno)
{
 /*!Last Changed 20.06.2005*/
 int instance_classno;
 Instanceptr tmp1 = *list1, tmp2 = *list2, tmp2before = NULL;
 if (tmp2 == NULL)
   return;
 if (tmp1)
   while (tmp1->next != NULL)
     tmp1 = tmp1->next;
 while (tmp2)
  {
   instance_classno = give_classno(tmp2);
   if (instance_classno == classno)
    {
     if (tmp1)
       tmp1->next = tmp2;
     else
       *list1 = tmp2;
     tmp1 = tmp2;
     if (tmp2before)
       tmp2before->next = tmp2->next;
     else
       *list2 = tmp2->next;
    }
   else
     tmp2before = tmp2;
   tmp2 = tmp2->next;
  }
 if (tmp1)
   tmp1->next = NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq $0x0, -0x30(%rbp)
cmpq $0x0, -0x28(%rbp)
jne 0x4509d
jmp 0x4515c
cmpq $0x0, -0x20(%rbp)
je 0x450c1
jmp 0x450a6
movq -0x20(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x450bf
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
jmp 0x450a6
jmp 0x450c1
jmp 0x450c3
cmpq $0x0, -0x28(%rbp)
je 0x45149
movq -0x28(%rbp), %rdi
callq 0x43530
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %eax
cmpl -0x14(%rbp), %eax
jne 0x45130
cmpq $0x0, -0x20(%rbp)
je 0x450f3
movq -0x28(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
jmp 0x450fe
movq -0x28(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
movq -0x28(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x4511f
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rcx
movq -0x30(%rbp), %rax
movq %rcx, 0x10(%rax)
jmp 0x4512e
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x45138
movq -0x28(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x28(%rbp)
jmp 0x450c3
cmpq $0x0, -0x20(%rbp)
je 0x4515c
movq -0x20(%rbp), %rax
movq $0x0, 0x10(%rax)
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: create_array_of_instances
Instanceptr* create_array_of_instances(Instanceptr instances)
{
 /*!Last Changed 02.02.2004*/
 /*!Last Changed 26.01.2003*/
 Instanceptr* result, tmp = instances;
 int i, size;
 size = data_size(instances);
 result = safemalloc(size * sizeof(Instanceptr), "create_array_of_instances", 4);
 i = 0;
 while (tmp)
  {
   result[i] = tmp;
   i++;
   tmp = tmp->next;
  }
 return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
callq 0x449f0
movl %eax, -0x20(%rbp)
movslq -0x20(%rbp), %rdi
shlq $0x3, %rdi
leaq 0xa04f5(%rip), %rsi     # 0xe5694
movl $0x4, %edx
callq 0x52d70
movq %rax, -0x10(%rbp)
movl $0x0, -0x1c(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x451e2
movq -0x18(%rbp), %rdx
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x18(%rbp)
jmp 0x451b4
movq -0x10(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: copy_of_instancelist
Instanceptr copy_of_instancelist(Instanceptr list)
{
 Instanceptr tmp = list, newinstance, before = NULL, start = NULL;
 while (tmp)
  {
   newinstance = copy_of_instance(tmp);
   if (before)
     before->next = newinstance;
   else
     start = newinstance;
   before = newinstance;
   tmp = tmp->next;
  }
 return start;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq $0x0, -0x20(%rbp)
movq $0x0, -0x28(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x4525b
movq -0x10(%rbp), %rdi
callq 0x42ca0
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x4523d
movq -0x18(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
jmp 0x45245
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x10(%rbp)
jmp 0x45214
movq -0x28(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: bootstrap_sample_without_stratification
Instanceptr bootstrap_sample_without_stratification(Instanceptr list)
{
 /*!Last Changed 19.02.2005*/
 int size, *array, i;
 Instanceptr* instancearray, result, tmp, newinstance, current;
 size = data_size(list);
 array = bootstrap_array(size);
 instancearray = create_array_of_instances(list);
 result = copy_of_instance(instancearray[array[0]]);
 current = result;
 for (i = 1; i < size; i++)
  {
   tmp = instancearray[array[i]];
   newinstance = copy_of_instance(tmp);
   current->next = newinstance;
   current = newinstance;
  }
 safe_free(instancearray);
 safe_free(array);
 return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x449f0
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %edi
callq 0x544f0
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
callq 0x45170
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq -0x18(%rbp), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x42ca0
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x48(%rbp)
movl $0x1, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x45314
movq -0x28(%rbp), %rax
movq -0x18(%rbp), %rcx
movslq -0x1c(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
callq 0x42ca0
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rcx
movq -0x48(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x40(%rbp), %rax
movq %rax, -0x48(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x452c8
movq -0x28(%rbp), %rdi
callq 0x52e80
movq -0x18(%rbp), %rdi
callq 0x52e80
movq -0x30(%rbp), %rax
addq $0x50, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: divide_instancelist_according_partition
void divide_instancelist_according_partition(Instanceptr* parentlist, Instanceptr* list1, Instanceptr* list2, Partition p)
{
 /* Last Changed 21.09.2004*/
 int i = 0, *classassignments, classno;
 Instanceptr ptmp, pnext, next1 = NULL, next2 = NULL;
 classassignments = find_class_assignments(p);
 ptmp = (*parentlist);
 while (ptmp)
  {
   pnext = ptmp->next;
   classno = give_classno(ptmp);
   if (classassignments[classno] == LEFT)
    {
     if (!next1)
       *list1 = ptmp;
     else
       next1->next = ptmp;
     next1 = ptmp;
    }
   else
    {
     if (!next2)
       *list2 = ptmp;
     else
       next2->next = ptmp;
     next2 = ptmp;
    }
   ptmp = pnext;
   i++;
  }
 if (next1)
   next1->next = NULL;
 if (next2)
   next2->next = NULL;
 (*parentlist) = NULL;
 safe_free(classassignments);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
leaq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movq $0x0, -0x48(%rbp)
movq $0x0, -0x50(%rbp)
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0x7a860
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
je 0x45425
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x38(%rbp), %rdi
callq 0x43530
movl %eax, -0x2c(%rbp)
movq -0x28(%rbp), %rax
movslq -0x2c(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jne 0x453e7
cmpq $0x0, -0x48(%rbp)
jne 0x453d1
movq -0x38(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x453dd
movq -0x38(%rbp), %rcx
movq -0x48(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x4540f
cmpq $0x0, -0x50(%rbp)
jne 0x453fb
movq -0x38(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
jmp 0x45407
movq -0x38(%rbp), %rcx
movq -0x50(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x38(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x38(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x4538c
cmpq $0x0, -0x48(%rbp)
je 0x45438
movq -0x48(%rbp), %rax
movq $0x0, 0x10(%rax)
cmpq $0x0, -0x50(%rbp)
je 0x4544b
movq -0x50(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x8(%rbp), %rax
movq $0x0, (%rax)
movq -0x28(%rbp), %rdi
callq 0x52e80
addq $0x70, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: divide_instancelist_according_to_soft_split
void divide_instancelist_according_to_soft_split(Instanceptr* parentlist, Instanceptr* list1, Instanceptr* list2, matrix w)
{
 Instanceptr ptmp, pnext, next1 = NULL, next2 = NULL;
 *list1 = NULL;
 *list2 = NULL;
 ptmp = (*parentlist);
 while (ptmp)
 {
  pnext = ptmp->next;
  if (linear_fit_value(w, ptmp) > 0)
   {
    if (!next1)
      *list1 = ptmp;
    else
      next1->next = ptmp;
    next1 = ptmp;
   }
  else
   {
    if (!next2)
      *list2 = ptmp;
    else
      next2->next = ptmp;
    next2 = ptmp;
   }
  ptmp = pnext;
 }
 if (next1)
   next1->next = NULL;
 if (next2)
   next2->next = NULL;
 (*parentlist) = NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rcx, -0x10(%rbp)
movq %r8, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq $0x0, -0x40(%rbp)
movq $0x0, -0x48(%rbp)
movq -0x20(%rbp), %rax
movq $0x0, (%rax)
movq -0x28(%rbp), %rax
movq $0x0, (%rax)
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x4554d
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x38(%rbp)
movq -0x30(%rbp), %rdx
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rsi
callq 0xa6aa0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x45518
cmpq $0x0, -0x40(%rbp)
jne 0x45502
movq -0x30(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
jmp 0x4550e
movq -0x30(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x30(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x45540
cmpq $0x0, -0x48(%rbp)
jne 0x4552c
movq -0x30(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
jmp 0x45538
movq -0x30(%rbp), %rcx
movq -0x48(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x30(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x454bd
cmpq $0x0, -0x40(%rbp)
je 0x45560
movq -0x40(%rbp), %rax
movq $0x0, 0x10(%rax)
cmpq $0x0, -0x48(%rbp)
je 0x45573
movq -0x48(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x18(%rbp), %rax
movq $0x0, (%rax)
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: divide_instancelist_according_centers
void divide_instancelist_according_centers(Instanceptr* parentlist, Instanceptr* list1, Instanceptr* list2, Instanceptr leftcenter, Instanceptr rightcenter, int quadratic)
{
 /*!Last Changed 03.04.2005*/
 /*!Last Changed 24.03.2005*/
 Instanceptr ptmp, pnext, next1 = NULL, next2 = NULL;
 CHILD_TYPE result;
 *list1 = NULL;
 *list2 = NULL;
 ptmp = (*parentlist);
 while (ptmp)
  {
   pnext = ptmp->next;
   if (quadratic)
     result = nearest_center_in_regression_tree(ptmp, QUADRATIC, leftcenter, rightcenter);
   else
     result = nearest_center_in_regression_tree(ptmp, LINEAR, leftcenter, rightcenter);
   if (result == LEFTCHILD)
    {
     if (!next1)
       *list1 = ptmp;
     else
       next1->next = ptmp;
     next1 = ptmp;
    }
   else
    {
     if (!next2)
       *list2 = ptmp;
     else
       next2->next = ptmp;
     next2 = ptmp;
    }
   ptmp = pnext;
  }
 if (next1)
   next1->next = NULL;
 if (next2)
   next2->next = NULL;
 (*parentlist) = NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
movq $0x0, -0x48(%rbp)
movq $0x0, -0x50(%rbp)
movq -0x10(%rbp), %rax
movq $0x0, (%rax)
movq -0x18(%rbp), %rax
movq $0x0, (%rax)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
je 0x45697
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x40(%rbp)
cmpl $0x0, -0x2c(%rbp)
je 0x45619
movq -0x38(%rbp), %rdi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
movl $0xfffffffd, %esi       # imm = 0xFFFFFFFD
callq 0xa5ce0
movl %eax, -0x54(%rbp)
jmp 0x45632
movq -0x38(%rbp), %rdi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0xa5ce0
movl %eax, -0x54(%rbp)
cmpl $0x0, -0x54(%rbp)
jne 0x45662
cmpq $0x0, -0x48(%rbp)
jne 0x4564c
movq -0x38(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x45658
movq -0x38(%rbp), %rcx
movq -0x48(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x4568a
cmpq $0x0, -0x50(%rbp)
jne 0x45676
movq -0x38(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
jmp 0x45682
movq -0x38(%rbp), %rcx
movq -0x50(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x38(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x455e1
cmpq $0x0, -0x48(%rbp)
je 0x456aa
movq -0x48(%rbp), %rax
movq $0x0, 0x10(%rax)
cmpq $0x0, -0x50(%rbp)
je 0x456bd
movq -0x50(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x8(%rbp), %rax
movq $0x0, (%rax)
addq $0x60, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: divide_instancelist_according_to_split
void divide_instancelist_according_to_split(Instanceptr* parentlist, Instanceptr* list1, Instanceptr* list2, int fno, double split)
{
 /*!Last Changed 09.12.2004*/
 Instanceptr ptmp, pnext, next1 = NULL, next2 = NULL;
 ptmp = (*parentlist);
 while (ptmp)
  {
   pnext = ptmp->next;
   if (ptmp->values[fno].floatvalue <= split)
    {
     if (!next1)
       *list1 = ptmp;
     else
       next1->next = ptmp;
     next1 = ptmp;
    }
   else
    {
     if (!next2)
       *list2 = ptmp;
     else
       next2->next = ptmp;
     next2 = ptmp;
    }
   ptmp = pnext;
  }
 if (next1)
   next1->next = NULL;
 if (next2)
   next2->next = NULL;
 (*parentlist) = NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movsd %xmm0, -0x28(%rbp)
movq $0x0, -0x40(%rbp)
movq $0x0, -0x48(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x45794
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x38(%rbp)
movq -0x30(%rbp), %rax
movq (%rax), %rax
movslq -0x1c(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm1
movsd -0x28(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jb 0x4575f
cmpq $0x0, -0x40(%rbp)
jne 0x45749
movq -0x30(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x45755
movq -0x30(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x30(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x45787
cmpq $0x0, -0x48(%rbp)
jne 0x45773
movq -0x30(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
jmp 0x4577f
movq -0x30(%rbp), %rcx
movq -0x48(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x30(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x45703
cmpq $0x0, -0x40(%rbp)
je 0x457a7
movq -0x40(%rbp), %rax
movq $0x0, 0x10(%rax)
cmpq $0x0, -0x48(%rbp)
je 0x457ba
movq -0x48(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x8(%rbp), %rax
movq $0x0, (%rax)
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: divide_instancelist_one_vs_one_with_copy
void divide_instancelist_one_vs_one_with_copy(Instanceptr parentlist, Instanceptr* list, int positive, int negative)
{
 Instanceptr tmp, inst, next = NULL;
 tmp = parentlist;
 while (tmp)
  {
   if (give_classno(tmp) == positive)
    {
     inst = copy_of_instance(tmp);
     inst->values[current_dataset->classdefno].stringindex = 0;
     if (!next)
       *list = inst;
     else
       next->next = inst;
     next = inst;
    }
   else
     if (give_classno(tmp) == negative)
      {
       inst = copy_of_instance(tmp);
       inst->values[current_dataset->classdefno].stringindex = 1;
       if (!next)
         *list = inst;
       else
         next->next = inst;
       next = inst;
      }
   tmp = tmp->next;
  }
 if (next)
   next->next = NULL;
 else
   *list = NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movq $0x0, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x458da
movq -0x20(%rbp), %rdi
callq 0x43530
cmpl -0x14(%rbp), %eax
jne 0x45865
movq -0x20(%rbp), %rdi
callq 0x42ca0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rax
leaq 0xc0016(%rip), %rcx     # 0x105840
movq (%rcx), %rcx
movslq 0x1407128(%rcx), %rcx
movl $0x0, (%rax,%rcx,8)
cmpq $0x0, -0x30(%rbp)
jne 0x4584f
movq -0x28(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x4585b
movq -0x28(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x28(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x458c9
movq -0x20(%rbp), %rdi
callq 0x43530
cmpl -0x18(%rbp), %eax
jne 0x458c7
movq -0x20(%rbp), %rdi
callq 0x42ca0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rax
leaq 0xbffb2(%rip), %rcx     # 0x105840
movq (%rcx), %rcx
movslq 0x1407128(%rcx), %rcx
movl $0x1, (%rax,%rcx,8)
cmpq $0x0, -0x30(%rbp)
jne 0x458b3
movq -0x28(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x458bf
movq -0x28(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x28(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x458c9
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
jmp 0x457f6
cmpq $0x0, -0x30(%rbp)
je 0x458ef
movq -0x30(%rbp), %rax
movq $0x0, 0x10(%rax)
jmp 0x458fa
movq -0x10(%rbp), %rax
movq $0x0, (%rax)
addq $0x30, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/instancelist.c
// Function: divide_instancelist_one_vs_one
void divide_instancelist_one_vs_one(Instanceptr* parentlist, Instanceptr* list, int positive, int negative)
{
 Instanceptr ptmp, pnext, next1 = NULL, next = NULL;
 ptmp = (*parentlist);
 while (ptmp)
  {
   pnext = ptmp->next;
   if (give_classno(ptmp) == positive)
    {
     if (!next1)
       *list = ptmp;
     else
       next1->next = ptmp;
     next1 = ptmp;
    }
   else
     if (give_classno(ptmp) == negative)
      {
       if (!next1)
         *list = ptmp;
       else
         next1->next = ptmp;
       next1 = ptmp;
      }
     else
      {
       if (!next)
         *parentlist = ptmp;
       else
         next->next = ptmp;
       next = ptmp;
      }
   ptmp = pnext;
  }
 if (next1)
   next1->next = NULL;
 if (next)
   next->next = NULL;
 else
   *parentlist = NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movq $0x0, -0x30(%rbp)
movq $0x0, -0x38(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x459ef
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
callq 0x43530
cmpl -0x14(%rbp), %eax
jne 0x45980
cmpq $0x0, -0x30(%rbp)
jne 0x4596a
movq -0x20(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x45976
movq -0x20(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x20(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x459e2
movq -0x20(%rbp), %rdi
callq 0x43530
cmpl -0x18(%rbp), %eax
jne 0x459b8
cmpq $0x0, -0x30(%rbp)
jne 0x459a2
movq -0x20(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x459ae
movq -0x20(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x20(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x459e0
cmpq $0x0, -0x38(%rbp)
jne 0x459cc
movq -0x20(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
jmp 0x459d8
movq -0x20(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x20(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x459e2
movq -0x28(%rbp), %rax
movq %rax, -0x20(%rbp)
jmp 0x45931
cmpq $0x0, -0x30(%rbp)
je 0x45a02
movq -0x30(%rbp), %rax
movq $0x0, 0x10(%rax)
cmpq $0x0, -0x38(%rbp)
je 0x45a17
movq -0x38(%rbp), %rax
movq $0x0, 0x10(%rax)
jmp 0x45a22
movq -0x8(%rbp), %rax
movq $0x0, (%rax)
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax,%rax)