// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/process.c
// Function: pre_process
void pre_process()
{
 /*!Last Changed 13.03.2007 added selected feature for realization*/
 /*!Last Changed 21.12.2005 added normalizeoutput*/
 /*!Last Changed 31.10.2005 added type_change*/
 /*!Last Changed 11.08.2005*/
 int i, datacount;
 if (get_parameter_o("normalizeoutput") && current_dataset->classno == 0)
  {
   outputmean = find_mean_of_regression_value(traindata);
   datacount = data_size(traindata);
   outputvariance = find_variance_of_regression_value(traindata, outputmean) / (datacount - 1);
   normalize_regression_values(traindata, outputmean, outputvariance);
   normalize_regression_values(testdata, outputmean, outputvariance);
   normalize_regression_values(separateddata, outputmean, outputvariance);
  }
 if (mustrealize)
  {
   realize(traindata);
   realize(testdata);
   realize(separateddata);
   exchange_classdefno(current_dataset);
   for (i = 0; i < current_dataset->multifeaturecount - 1; i++)
     current_dataset->selected[i] = YES;
  }
 if (mustnormalize)
  {
   mean = find_mean(traindata);
   variance = find_variance(traindata);
   normalize(traindata, mean, variance);
   normalize(testdata, mean, variance);
   normalize(separateddata, mean, variance);
   if (!mustrealize)
     type_change(current_dataset);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
leaq 0x5fad5(%rip), %rdi     # 0xe7727
callq 0x79440
cmpl $0x0, %eax
je 0x87d12
movq 0x7dbd9(%rip), %rax     # 0x105840
cmpl $0x0, 0x10(%rax)
jne 0x87d12
movq 0x2e0188(%rip), %rdi    # 0x367e00
callq 0x44600
movsd %xmm0, 0x35a35b(%rip)   # 0x3e1fe0
movq 0x2e0174(%rip), %rdi    # 0x367e00
callq 0x449f0
movl %eax, -0x8(%rbp)
movq 0x2e0165(%rip), %rdi    # 0x367e00
movsd 0x35a33d(%rip), %xmm0   # 0x3e1fe0
callq 0x44690
movl -0x8(%rbp), %eax
subl $0x1, %eax
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x35a32a(%rip)   # 0x3e1fe8
movq 0x2e013b(%rip), %rdi    # 0x367e00
movsd 0x35a313(%rip), %xmm0   # 0x3e1fe0
movsd 0x35a313(%rip), %xmm1   # 0x3e1fe8
callq 0x16330
movq 0x2e0127(%rip), %rdi    # 0x367e08
movsd 0x35a2f7(%rip), %xmm0   # 0x3e1fe0
movsd 0x35a2f7(%rip), %xmm1   # 0x3e1fe8
callq 0x16330
movq 0x2e011b(%rip), %rdi    # 0x367e18
movsd 0x35a2db(%rip), %xmm0   # 0x3e1fe0
movsd 0x35a2db(%rip), %xmm1   # 0x3e1fe8
callq 0x16330
cmpl $0x0, 0x35a25b(%rip)    # 0x3e1f74
je 0x87d8c
movq 0x2e00de(%rip), %rdi    # 0x367e00
callq 0x17090
movq 0x2e00da(%rip), %rdi    # 0x367e08
callq 0x17090
movq 0x2e00de(%rip), %rdi    # 0x367e18
callq 0x17090
movq 0x7dafa(%rip), %rdi     # 0x105840
callq 0x1a880
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
movq 0x7dae4(%rip), %rcx     # 0x105840
movl 0x1c0(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x87d8a
movq 0x7dad0(%rip), %rax     # 0x105840
movslq -0x4(%rbp), %rcx
movl $0x1, 0x18864(%rax,%rcx,4)
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x87d52
jmp 0x87d8c
cmpl $0x0, 0x2e00ad(%rip)    # 0x367e40
je 0x87eea
movq 0x2e0060(%rip), %rsi    # 0x367e00
leaq -0x38(%rbp), %rdi
callq 0x19b30
leaq 0x35a1c8(%rip), %rdi    # 0x3e1f78
leaq -0x38(%rbp), %rsi
movl $0x30, %edx
callq 0x42b0
movq 0x2e003b(%rip), %rsi    # 0x367e00
leaq -0x68(%rbp), %rdi
callq 0x1a0a0
leaq 0x35a1d3(%rip), %rdi    # 0x3e1fa8
leaq -0x68(%rbp), %rsi
movl $0x30, %edx
callq 0x42b0
movq 0x2e0016(%rip), %rdi    # 0x367e00
movups 0x35a1d7(%rip), %xmm0   # 0x3e1fc8
movq %rsp, %rax
movups %xmm0, 0x50(%rax)
movups 0x35a1b9(%rip), %xmm0   # 0x3e1fb8
movups %xmm0, 0x40(%rax)
movups 0x35a19e(%rip), %xmm0   # 0x3e1fa8
movups %xmm0, 0x30(%rax)
movups 0x35a183(%rip), %xmm0   # 0x3e1f98
movups %xmm0, 0x20(%rax)
movups 0x35a168(%rip), %xmm0   # 0x3e1f88
movups %xmm0, 0x10(%rax)
movups 0x35a14d(%rip), %xmm0   # 0x3e1f78
movups %xmm0, (%rax)
callq 0x16db0
movq 0x2dffce(%rip), %rdi    # 0x367e08
movups 0x35a187(%rip), %xmm0   # 0x3e1fc8
movq %rsp, %rax
movups %xmm0, 0x50(%rax)
movups 0x35a169(%rip), %xmm0   # 0x3e1fb8
movups %xmm0, 0x40(%rax)
movups 0x35a14e(%rip), %xmm0   # 0x3e1fa8
movups %xmm0, 0x30(%rax)
movups 0x35a133(%rip), %xmm0   # 0x3e1f98
movups %xmm0, 0x20(%rax)
movups 0x35a118(%rip), %xmm0   # 0x3e1f88
movups %xmm0, 0x10(%rax)
movups 0x35a0fd(%rip), %xmm0   # 0x3e1f78
movups %xmm0, (%rax)
callq 0x16db0
movq 0x2dff8e(%rip), %rdi    # 0x367e18
movups 0x35a137(%rip), %xmm0   # 0x3e1fc8
movq %rsp, %rax
movups %xmm0, 0x50(%rax)
movups 0x35a119(%rip), %xmm0   # 0x3e1fb8
movups %xmm0, 0x40(%rax)
movups 0x35a0fe(%rip), %xmm0   # 0x3e1fa8
movups %xmm0, 0x30(%rax)
movups 0x35a0e3(%rip), %xmm0   # 0x3e1f98
movups %xmm0, 0x20(%rax)
movups 0x35a0c8(%rip), %xmm0   # 0x3e1f88
movups %xmm0, 0x10(%rax)
movups 0x35a0ad(%rip), %xmm0   # 0x3e1f78
movups %xmm0, (%rax)
callq 0x16db0
cmpl $0x0, 0x35a09a(%rip)    # 0x3e1f74
jne 0x87ee8
movq 0x7d95d(%rip), %rdi     # 0x105840
callq 0x22930
jmp 0x87eea
addq $0xd0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)