// File: /workspace/github_c_makefile_star2_O3/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 0x4b648(%rip), %rdi     # 0xaacc7
callq 0x54bec
testl %eax, %eax
je 0x5f738
movq 0x761dd(%rip), %rax     # 0xd5870
cmpl $0x0, 0x10(%rax)
jne 0x5f738
movq 0x2d878c(%rip), %rdi    # 0x337e30
callq 0x2ffe1
movsd %xmm0, 0x35295f(%rip)   # 0x3b2010
movq 0x2d8778(%rip), %rdi    # 0x337e30
callq 0x30309
movl %eax, %ebx
movq 0x2d876a(%rip), %rdi    # 0x337e30
movsd 0x352942(%rip), %xmm0   # 0x3b2010
callq 0x3002f
movapd %xmm0, %xmm1
decl %ebx
xorps %xmm0, %xmm0
cvtsi2sd %ebx, %xmm0
divsd %xmm0, %xmm1
movsd %xmm1, 0x35292c(%rip)   # 0x3b2018
movq 0x2d873d(%rip), %rdi    # 0x337e30
movsd 0x352915(%rip), %xmm0   # 0x3b2010
callq 0x10184
movq 0x2d8731(%rip), %rdi    # 0x337e38
movsd 0x352901(%rip), %xmm0   # 0x3b2010
movsd 0x352901(%rip), %xmm1   # 0x3b2018
callq 0x10184
movq 0x2d8725(%rip), %rdi    # 0x337e48
movq 0x3528e5(%rip), %xmm0   # 0x3b2010
movq 0x3528e5(%rip), %xmm1   # 0x3b2018
callq 0x10184
cmpl $0x0, 0x352865(%rip)    # 0x3b1fa4
je 0x5f895
movq 0x2d86e4(%rip), %rdi    # 0x337e30
callq 0x10954
movq 0x2d86e0(%rip), %rdi    # 0x337e38
callq 0x10954
movq 0x2d86e4(%rip), %rdi    # 0x337e48
callq 0x10954
movq 0x76100(%rip), %rdi     # 0xd5870
callq 0x12c28
movq 0x760f4(%rip), %rax     # 0xd5870
movslq 0x1c0(%rax), %rdx
cmpq $0x2, %rdx
jl 0x5f895
leaq 0x2(%rdx), %rcx
andq $-0x4, %rcx
addq $-0x2, %rdx
movq %rdx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa 0x46c85(%rip), %xmm1    # 0xa6430
movdqa 0x46c8d(%rip), %xmm2    # 0xa6440
xorl %edx, %edx
movdqa 0x46c93(%rip), %xmm3    # 0xa6450
pxor %xmm3, %xmm0
pcmpeqd %xmm4, %xmm4
movdqa 0x46c93(%rip), %xmm5    # 0xa6460
movdqa %xmm2, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm0, %xmm7
pcmpeqd %xmm0, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %esi
notl %esi
testb $0x1, %sil
je 0x5f80d
movl $0x1, 0x18864(%rax,%rdx,4)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %esi
testb $0x1, %sil
je 0x5f827
movl $0x1, 0x18868(%rax,%rdx,4)
movdqa %xmm1, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm0, %xmm7
pcmpeqd %xmm0, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
pxor %xmm4, %xmm6
pextrw $0x0, %xmm6, %esi
testb $0x1, %sil
je 0x5f86a
movl $0x1, 0x1886c(%rax,%rdx,4)
pextrw $0x4, %xmm6, %esi
testb $0x1, %sil
je 0x5f880
movl $0x1, 0x18870(%rax,%rdx,4)
addq $0x4, %rdx
paddq %xmm5, %xmm2
paddq %xmm5, %xmm1
cmpq %rdx, %rcx
jne 0x5f7cd
cmpl $0x0, 0x2d85d4(%rip)    # 0x337e70
je 0x5fa1e
movq 0x2d8587(%rip), %rsi    # 0x337e30
leaq 0x60(%rsp), %rbx
movq %rbx, %rdi
callq 0x1247b
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups %xmm2, 0x352700(%rip)   # 0x3b1fc8
movups %xmm1, 0x3526e9(%rip)   # 0x3b1fb8
movups %xmm0, 0x3526d2(%rip)   # 0x3b1fa8
movq 0x2d8553(%rip), %rsi    # 0x337e30
leaq 0x60(%rsp), %rbx
movq %rbx, %rdi
callq 0x127bd
movups (%rbx), %xmm0
movdqu 0x10(%rbx), %xmm1
movdqu 0x20(%rbx), %xmm2
movdqu %xmm2, 0x3526f9(%rip)   # 0x3b1ff8
movdqu %xmm1, 0x3526e1(%rip)   # 0x3b1fe8
movups %xmm0, 0x3526ca(%rip)   # 0x3b1fd8
movq 0x2d851b(%rip), %rdi    # 0x337e30
movups 0x3526dc(%rip), %xmm0   # 0x3b1ff8
movups %xmm0, 0x50(%rsp)
movups 0x3526c0(%rip), %xmm0   # 0x3b1fe8
movups %xmm0, 0x40(%rsp)
movups 0x3526a4(%rip), %xmm0   # 0x3b1fd8
movups %xmm0, 0x30(%rsp)
movups 0x352688(%rip), %xmm0   # 0x3b1fc8
movups %xmm0, 0x20(%rsp)
movups 0x35266c(%rip), %xmm0   # 0x3b1fb8
movups %xmm0, 0x10(%rsp)
movups 0x352650(%rip), %xmm0   # 0x3b1fa8
movups %xmm0, (%rsp)
callq 0x107b2
movq 0x2d84d0(%rip), %rdi    # 0x337e38
movups 0x352689(%rip), %xmm0   # 0x3b1ff8
movups %xmm0, 0x50(%rsp)
movups 0x35266d(%rip), %xmm0   # 0x3b1fe8
movups %xmm0, 0x40(%rsp)
movups 0x352651(%rip), %xmm0   # 0x3b1fd8
movups %xmm0, 0x30(%rsp)
movups 0x352635(%rip), %xmm0   # 0x3b1fc8
movups %xmm0, 0x20(%rsp)
movups 0x352619(%rip), %xmm0   # 0x3b1fb8
movups %xmm0, 0x10(%rsp)
movups 0x3525fd(%rip), %xmm0   # 0x3b1fa8
movups %xmm0, (%rsp)
callq 0x107b2
movq 0x2d848d(%rip), %rdi    # 0x337e48
movups 0x352636(%rip), %xmm0   # 0x3b1ff8
movups %xmm0, 0x50(%rsp)
movups 0x35261a(%rip), %xmm0   # 0x3b1fe8
movups %xmm0, 0x40(%rsp)
movups 0x3525fe(%rip), %xmm0   # 0x3b1fd8
movups %xmm0, 0x30(%rsp)
movups 0x3525e2(%rip), %xmm0   # 0x3b1fc8
movups %xmm0, 0x20(%rsp)
movups 0x3525c6(%rip), %xmm0   # 0x3b1fb8
movups %xmm0, 0x10(%rsp)
movdqu 0x3525a9(%rip), %xmm0   # 0x3b1fa8
movdqu %xmm0, (%rsp)
callq 0x107b2
cmpl $0x0, 0x352594(%rip)    # 0x3b1fa4
jne 0x5fa1e
movq 0x75e57(%rip), %rdi     # 0xd5870
callq 0x1883a
addq $0x90, %rsp
popq %rbx
retq