// File: /workspace/github_c_makefile_star2_O1/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 0x49b97(%rip), %rdi     # 0xa7c17
callq 0x536e7
testl %eax, %eax
je 0x5e139
movq 0x747dc(%rip), %rax     # 0xd2870
cmpl $0x0, 0x10(%rax)
jne 0x5e139
movq 0x2d6d8b(%rip), %rdi    # 0x334e30
callq 0x2f6a1
movsd %xmm0, 0x350f5e(%rip)   # 0x3af010
movq 0x2d6d77(%rip), %rdi    # 0x334e30
callq 0x2fa14
movl %eax, %ebx
movq 0x2d6d69(%rip), %rdi    # 0x334e30
movsd 0x350f41(%rip), %xmm0   # 0x3af010
callq 0x2f6f9
movapd %xmm0, %xmm1
decl %ebx
xorps %xmm0, %xmm0
cvtsi2sd %ebx, %xmm0
divsd %xmm0, %xmm1
movsd %xmm1, 0x350f2b(%rip)   # 0x3af018
movq 0x2d6d3c(%rip), %rdi    # 0x334e30
movsd 0x350f14(%rip), %xmm0   # 0x3af010
callq 0x1015c
movq 0x2d6d30(%rip), %rdi    # 0x334e38
movsd 0x350f00(%rip), %xmm0   # 0x3af010
movsd 0x350f00(%rip), %xmm1   # 0x3af018
callq 0x1015c
movq 0x2d6d24(%rip), %rdi    # 0x334e48
movsd 0x350ee4(%rip), %xmm0   # 0x3af010
movsd 0x350ee4(%rip), %xmm1   # 0x3af018
callq 0x1015c
cmpl $0x0, 0x350e64(%rip)    # 0x3aefa4
je 0x5e1a1
movq 0x2d6ce7(%rip), %rdi    # 0x334e30
callq 0x10964
movq 0x2d6ce3(%rip), %rdi    # 0x334e38
callq 0x10964
movq 0x2d6ce7(%rip), %rdi    # 0x334e48
callq 0x10964
movq 0x74703(%rip), %rdi     # 0xd2870
callq 0x12cfc
movq 0x746f7(%rip), %rax     # 0xd2870
cmpl $0x2, 0x1c0(%rax)
jl 0x5e1a1
xorl %ecx, %ecx
movl $0x1, 0x18864(%rax,%rcx,4)
incq %rcx
movslq 0x1c0(%rax), %rdx
decq %rdx
cmpq %rdx, %rcx
jl 0x5e184
cmpl $0x0, 0x2d6cc8(%rip)    # 0x334e70
je 0x5e324
movq 0x2d6c7b(%rip), %rsi    # 0x334e30
leaq 0x60(%rsp), %rbx
movq %rbx, %rdi
callq 0x12519
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups %xmm2, 0x350df4(%rip)   # 0x3aefc8
movups %xmm1, 0x350ddd(%rip)   # 0x3aefb8
movups %xmm0, 0x350dc6(%rip)   # 0x3aefa8
movq 0x2d6c47(%rip), %rsi    # 0x334e30
leaq 0x60(%rsp), %rbx
movq %rbx, %rdi
callq 0x1286d
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups %xmm2, 0x350df0(%rip)   # 0x3aeff8
movups %xmm1, 0x350dd9(%rip)   # 0x3aefe8
movups %xmm0, 0x350dc2(%rip)   # 0x3aefd8
movq 0x2d6c13(%rip), %rdi    # 0x334e30
movups 0x350dd4(%rip), %xmm0   # 0x3aeff8
movups %xmm0, 0x50(%rsp)
movups 0x350db8(%rip), %xmm0   # 0x3aefe8
movups %xmm0, 0x40(%rsp)
movups 0x350d9c(%rip), %xmm0   # 0x3aefd8
movups %xmm0, 0x30(%rsp)
movups 0x350d80(%rip), %xmm0   # 0x3aefc8
movups %xmm0, 0x20(%rsp)
movups 0x350d64(%rip), %xmm0   # 0x3aefb8
movups %xmm0, 0x10(%rsp)
movups 0x350d48(%rip), %xmm0   # 0x3aefa8
movups %xmm0, (%rsp)
callq 0x107bc
movq 0x2d6bc8(%rip), %rdi    # 0x334e38
movups 0x350d81(%rip), %xmm0   # 0x3aeff8
movups %xmm0, 0x50(%rsp)
movups 0x350d65(%rip), %xmm0   # 0x3aefe8
movups %xmm0, 0x40(%rsp)
movups 0x350d49(%rip), %xmm0   # 0x3aefd8
movups %xmm0, 0x30(%rsp)
movups 0x350d2d(%rip), %xmm0   # 0x3aefc8
movups %xmm0, 0x20(%rsp)
movups 0x350d11(%rip), %xmm0   # 0x3aefb8
movups %xmm0, 0x10(%rsp)
movups 0x350cf5(%rip), %xmm0   # 0x3aefa8
movups %xmm0, (%rsp)
callq 0x107bc
movq 0x2d6b85(%rip), %rdi    # 0x334e48
movups 0x350d2e(%rip), %xmm0   # 0x3aeff8
movups %xmm0, 0x50(%rsp)
movups 0x350d12(%rip), %xmm0   # 0x3aefe8
movups %xmm0, 0x40(%rsp)
movups 0x350cf6(%rip), %xmm0   # 0x3aefd8
movups %xmm0, 0x30(%rsp)
movups 0x350cda(%rip), %xmm0   # 0x3aefc8
movups %xmm0, 0x20(%rsp)
movups 0x350cbe(%rip), %xmm0   # 0x3aefb8
movups %xmm0, 0x10(%rsp)
movups 0x350ca2(%rip), %xmm0   # 0x3aefa8
movups %xmm0, (%rsp)
callq 0x107bc
cmpl $0x0, 0x350c8e(%rip)    # 0x3aefa4
jne 0x5e324
movq 0x74551(%rip), %rdi     # 0xd2870
callq 0x1822c
addq $0x90, %rsp
popq %rbx
retq