// File: /workspace/github_c_makefile_star2_O2/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 %rbx
subq $0x90, %rsp
leaq 0x43c91(%rip), %rdi     # 0x9abf7
callq 0x4cff1
testl %eax, %eax
je 0x5701c
movq 0x768f6(%rip), %rax     # 0xcd870
cmpl $0x0, 0x10(%rax)
jne 0x5701c
movq 0x2d8ea5(%rip), %rdi    # 0x32fe30
callq 0x2c08f
movsd %xmm0, 0x353078(%rip)   # 0x3aa010
movq 0x2d8e91(%rip), %rdi    # 0x32fe30
callq 0x2c3cc
movl %eax, %ebx
movq 0x2d8e83(%rip), %rdi    # 0x32fe30
movsd 0x35305b(%rip), %xmm0   # 0x3aa010
callq 0x2c0e3
movapd %xmm0, %xmm1
decl %ebx
cvtsi2sd %ebx, %xmm0
divsd %xmm0, %xmm1
movsd %xmm1, 0x353048(%rip)   # 0x3aa018
movq 0x2d8e59(%rip), %rdi    # 0x32fe30
movsd 0x353031(%rip), %xmm0   # 0x3aa010
callq 0xf4d8
movq 0x2d8e4d(%rip), %rdi    # 0x32fe38
movsd 0x35301d(%rip), %xmm0   # 0x3aa010
movsd 0x35301d(%rip), %xmm1   # 0x3aa018
callq 0xf4d8
movq 0x2d8e41(%rip), %rdi    # 0x32fe48
movsd 0x353001(%rip), %xmm0   # 0x3aa010
movsd 0x353001(%rip), %xmm1   # 0x3aa018
callq 0xf4d8
cmpl $0x0, 0x352f81(%rip)    # 0x3a9fa4
je 0x5707d
movq 0x2d8e04(%rip), %rdi    # 0x32fe30
callq 0xfc81
movq 0x2d8e00(%rip), %rdi    # 0x32fe38
callq 0xfc81
movq 0x2d8e04(%rip), %rdi    # 0x32fe48
callq 0xfc81
movq 0x76820(%rip), %rdi     # 0xcd870
callq 0x11d5c
movq 0x76814(%rip), %rax     # 0xcd870
movslq 0x1c0(%rax), %rcx
decq %rcx
xorl %edx, %edx
cmpq %rcx, %rdx
jge 0x5707d
movl $0x1, 0x18864(%rax,%rdx,4)
incq %rdx
jmp 0x57068
cmpl $0x0, 0x2d8dec(%rip)    # 0x32fe70
je 0x57200
movq 0x2d8d9f(%rip), %rsi    # 0x32fe30
leaq 0x60(%rsp), %rbx
movq %rbx, %rdi
callq 0x116b6
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups %xmm2, 0x352f18(%rip)   # 0x3a9fc8
movups %xmm1, 0x352f01(%rip)   # 0x3a9fb8
movups %xmm0, 0x352eea(%rip)   # 0x3a9fa8
movq 0x2d8d6b(%rip), %rsi    # 0x32fe30
leaq 0x60(%rsp), %rbx
movq %rbx, %rdi
callq 0x1197e
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups %xmm2, 0x352f14(%rip)   # 0x3a9ff8
movups %xmm1, 0x352efd(%rip)   # 0x3a9fe8
movups %xmm0, 0x352ee6(%rip)   # 0x3a9fd8
movq 0x2d8d37(%rip), %rdi    # 0x32fe30
movups 0x352ef8(%rip), %xmm0   # 0x3a9ff8
movups %xmm0, 0x50(%rsp)
movups 0x352edc(%rip), %xmm0   # 0x3a9fe8
movups %xmm0, 0x40(%rsp)
movups 0x352ec0(%rip), %xmm0   # 0x3a9fd8
movups %xmm0, 0x30(%rsp)
movups 0x352ea4(%rip), %xmm0   # 0x3a9fc8
movups %xmm0, 0x20(%rsp)
movups 0x352e88(%rip), %xmm0   # 0x3a9fb8
movups %xmm0, 0x10(%rsp)
movups 0x352e6c(%rip), %xmm0   # 0x3a9fa8
movups %xmm0, (%rsp)
callq 0xfad8
movq 0x2d8cec(%rip), %rdi    # 0x32fe38
movups 0x352ea5(%rip), %xmm0   # 0x3a9ff8
movups %xmm0, 0x50(%rsp)
movups 0x352e89(%rip), %xmm0   # 0x3a9fe8
movups %xmm0, 0x40(%rsp)
movups 0x352e6d(%rip), %xmm0   # 0x3a9fd8
movups %xmm0, 0x30(%rsp)
movups 0x352e51(%rip), %xmm0   # 0x3a9fc8
movups %xmm0, 0x20(%rsp)
movups 0x352e35(%rip), %xmm0   # 0x3a9fb8
movups %xmm0, 0x10(%rsp)
movups 0x352e19(%rip), %xmm0   # 0x3a9fa8
movups %xmm0, (%rsp)
callq 0xfad8
movq 0x2d8ca9(%rip), %rdi    # 0x32fe48
movups 0x352e52(%rip), %xmm0   # 0x3a9ff8
movups %xmm0, 0x50(%rsp)
movups 0x352e36(%rip), %xmm0   # 0x3a9fe8
movups %xmm0, 0x40(%rsp)
movups 0x352e1a(%rip), %xmm0   # 0x3a9fd8
movups %xmm0, 0x30(%rsp)
movups 0x352dfe(%rip), %xmm0   # 0x3a9fc8
movups %xmm0, 0x20(%rsp)
movups 0x352de2(%rip), %xmm0   # 0x3a9fb8
movups %xmm0, 0x10(%rsp)
movups 0x352dc6(%rip), %xmm0   # 0x3a9fa8
movups %xmm0, (%rsp)
callq 0xfad8
cmpl $0x0, 0x352db2(%rip)    # 0x3a9fa4
jne 0x57200
movq 0x76675(%rip), %rdi     # 0xcd870
callq 0x16c95
addq $0x90, %rsp
popq %rbx
retq