int main(int argc, char *argv[]) {
  char input_sum[512];
  char input_sum2[512];
  char input_mean[512];
  char input_beta[512];
  char output_zscore1[512];
  char output_zscore2[512];
  char output_DIC[512];
  char output_R[512];
  char output_sum[512];
  char output_sum2[512];
  char output_mean[512];
  char input_R[512];
  char input_C[512];
  char input_U[512];
  char input_V[512];
  char input_I[512];
  double *zscore, *sum, *sum2, *beta, *mean, *C, *U, *V, *CC;
  float *R;
  int D = 3, cur = 10, *I;
  double deviance = 2.1, var1 = 0, var2 = 0;
  double thrd_m1 = 10.0, thrd_m2 = 10.0;
  int N = 10, M = 100, K = 2;
  strcpy(input_sum, argv[1]);
  strcpy(input_sum2, argv[2]);
  strcpy(input_mean, argv[3]);
  strcpy(input_beta, argv[4]);
  strcpy(input_R, argv[5]);
  strcpy(input_C, argv[6]);
  strcpy(input_U, argv[7]);
  strcpy(input_V, argv[8]);
  strcpy(input_I, argv[9]);
  N = (int)atoi(argv[10]);
  D = (int)atoi(argv[11]);
  strcpy(output_DIC, argv[12]);
  strcpy(output_zscore1, argv[13]);
  strcpy(output_zscore2, argv[14]);
  strcpy(output_R, argv[15]);
  strcpy(output_sum, argv[16]);
  strcpy(output_sum2, argv[17]);
  strcpy(output_mean, argv[18]);
  zscore = (double *)malloc(M * D * sizeof(double));
  sum = (double *)malloc(M * D * sizeof(double));
  sum2 = (double *)malloc(M * D * sizeof(double));
  beta = (double *)malloc(M * D * sizeof(double));
  mean = (double *)malloc(M * D * sizeof(double));
  C = (double *)malloc(N * (D - 1) * sizeof(double));
  CC = (double *)malloc(N * D * sizeof(double));
  U = (double *)malloc(N * K * sizeof(double));
  V = (double *)malloc(M * K * sizeof(double));
  R = (float *)malloc(N * M * sizeof(float));
  I = (int *)malloc(N * M * sizeof(int));
  read_data_double(input_sum, D, M, sum);
  read_data_double(input_sum2, D, M, sum2);
  read_data_double(input_mean, D, M, mean);
  read_data_double(input_beta, D, M, beta);
  read_data_double(input_V, K, M, V);
  read_data_double(input_U, K, N, U);
  read_data_float(input_R, N, M, R);
  read_data_double(input_C, N, D - 1, C);
  read_data_int(input_I, N, M, I);
  zscore_calc(zscore, sum, sum2, M, cur, D);
  write_zscore_double(output_zscore1, M, zscore, D - 1, 1, 0);
  zscore_calc(zscore, sum, sum2, M, cur, D);
  write_zscore_double(output_zscore2, M, zscore, D, 0, 0);
  update_sum(beta, sum, D * M);
  write_data_double(output_sum, D, M, sum);
  update_sum2(beta, sum2, D * M);
  write_data_double(output_sum2, D, M, sum2);
  update_mean(beta, mean, D * M, cur);
  write_data_double(output_mean, D, M, mean);
  modify_C(C, N, D - 1, CC, 0, 1);
  var1 = var_data(R, U, V, CC, beta, N, M, K, D, &thrd_m1, 1);
  printf("%g %g\n", var1, thrd_m1);
  var2 = var_data(R, U, V, CC, beta, N, M, K, D, &thrd_m2, 2);
  printf("%g %g\n", var2, thrd_m2);
  update_deviance(&deviance, cur, var1, thrd_m1);
  write_DIC(output_DIC, deviance, 1.0);
  inputation_lfmm(R, U, V, CC, beta, I, N, M, K, D);
  write_data_float(output_R, N, M, R);
  free(zscore);
  free(sum);
  free(sum2);
  free(beta);
  free(mean);
  free(C);
  free(CC);
  free(U);
  free(V);
  free(R);
  free(I);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %rbx
sub    $0x20d8,%rsp
movl   $0x0,-0xc(%rbp)
mov    %edi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
movl   $0x3,-0x2074(%rbp)
movl   $0xa,-0x2078(%rbp)
movsd  0xd9a(%rip),%xmm0
movsd  %xmm0,-0x2088(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x2090(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x2098(%rbp)
ff
movsd  0xd6c(%rip),%xmm0
movsd  %xmm0,-0x20a0(%rbp)
ff
movsd  0xd5c(%rip),%xmm0
movsd  %xmm0,-0x20a8(%rbp)
ff
movl   $0xa,-0x20ac(%rbp)
movl   $0x64,-0x20b0(%rbp)
movl   $0x2,-0x20b4(%rbp)
lea    -0x220(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x8(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0x420(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x10(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0x620(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x18(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0x820(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x20(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0x1820(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x28(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0x1a20(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x30(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0x1c20(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x38(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0x1e20(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x40(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0x2020(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x48(%rax),%rsi
call   1050 <strcpy@plt>
mov    -0x18(%rbp),%rax
mov    0x50(%rax),%rdi
mov    $0x0,%al
call   1140 <atoi@plt>
mov    %eax,-0x20ac(%rbp)
mov    -0x18(%rbp),%rax
mov    0x58(%rax),%rdi
mov    $0x0,%al
call   1140 <atoi@plt>
mov    %eax,-0x2074(%rbp)
lea    -0xe20(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x60(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0xa20(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x68(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0xc20(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x70(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0x1020(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x78(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0x1220(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x80(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0x1420(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x88(%rax),%rsi
call   1050 <strcpy@plt>
lea    -0x1620(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    0x90(%rax),%rsi
call   1050 <strcpy@plt>
mov    -0x20b0(%rbp),%eax
imul   -0x2074(%rbp),%eax
movslq %eax,%rdi
shl    $0x3,%rdi
call   1100 <malloc@plt>
mov    %rax,-0x2028(%rbp)
mov    -0x20b0(%rbp),%eax
imul   -0x2074(%rbp),%eax
movslq %eax,%rdi
shl    $0x3,%rdi
call   1100 <malloc@plt>
mov    %rax,-0x2030(%rbp)
mov    -0x20b0(%rbp),%eax
imul   -0x2074(%rbp),%eax
movslq %eax,%rdi
shl    $0x3,%rdi
call   1100 <malloc@plt>
mov    %rax,-0x2038(%rbp)
mov    -0x20b0(%rbp),%eax
imul   -0x2074(%rbp),%eax
movslq %eax,%rdi
shl    $0x3,%rdi
call   1100 <malloc@plt>
mov    %rax,-0x2040(%rbp)
mov    -0x20b0(%rbp),%eax
imul   -0x2074(%rbp),%eax
movslq %eax,%rdi
shl    $0x3,%rdi
call   1100 <malloc@plt>
mov    %rax,-0x2048(%rbp)
mov    -0x20ac(%rbp),%eax
mov    -0x2074(%rbp),%ecx
sub    $0x1,%ecx
imul   %ecx,%eax
movslq %eax,%rdi
shl    $0x3,%rdi
call   1100 <malloc@plt>
mov    %rax,-0x2050(%rbp)
mov    -0x20ac(%rbp),%eax
imul   -0x2074(%rbp),%eax
movslq %eax,%rdi
shl    $0x3,%rdi
call   1100 <malloc@plt>
mov    %rax,-0x2068(%rbp)
mov    -0x20ac(%rbp),%eax
imul   -0x20b4(%rbp),%eax
movslq %eax,%rdi
shl    $0x3,%rdi
call   1100 <malloc@plt>
mov    %rax,-0x2058(%rbp)
mov    -0x20b0(%rbp),%eax
imul   -0x20b4(%rbp),%eax
movslq %eax,%rdi
shl    $0x3,%rdi
call   1100 <malloc@plt>
mov    %rax,-0x2060(%rbp)
mov    -0x20ac(%rbp),%eax
imul   -0x20b0(%rbp),%eax
movslq %eax,%rdi
shl    $0x2,%rdi
call   1100 <malloc@plt>
mov    %rax,-0x2070(%rbp)
mov    -0x20ac(%rbp),%eax
imul   -0x20b0(%rbp),%eax
movslq %eax,%rdi
shl    $0x2,%rdi
call   1100 <malloc@plt>
mov    %rax,-0x2080(%rbp)
lea    -0x220(%rbp),%rdi
mov    -0x2074(%rbp),%esi
mov    -0x20b0(%rbp),%edx
mov    -0x2030(%rbp),%rcx
mov    $0x0,%al
call   10b0 <read_data_double@plt>
lea    -0x420(%rbp),%rdi
mov    -0x2074(%rbp),%esi
mov    -0x20b0(%rbp),%edx
mov    -0x2038(%rbp),%rcx
mov    $0x0,%al
call   10b0 <read_data_double@plt>
lea    -0x620(%rbp),%rdi
mov    -0x2074(%rbp),%esi
mov    -0x20b0(%rbp),%edx
mov    -0x2048(%rbp),%rcx
mov    $0x0,%al
call   10b0 <read_data_double@plt>
lea    -0x820(%rbp),%rdi
mov    -0x2074(%rbp),%esi
mov    -0x20b0(%rbp),%edx
mov    -0x2040(%rbp),%rcx
mov    $0x0,%al
call   10b0 <read_data_double@plt>
lea    -0x1e20(%rbp),%rdi
mov    -0x20b4(%rbp),%esi
mov    -0x20b0(%rbp),%edx
mov    -0x2060(%rbp),%rcx
mov    $0x0,%al
call   10b0 <read_data_double@plt>
lea    -0x1c20(%rbp),%rdi
mov    -0x20b4(%rbp),%esi
mov    -0x20ac(%rbp),%edx
mov    -0x2058(%rbp),%rcx
mov    $0x0,%al
call   10b0 <read_data_double@plt>
lea    -0x1820(%rbp),%rdi
mov    -0x20ac(%rbp),%esi
mov    -0x20b0(%rbp),%edx
mov    -0x2070(%rbp),%rcx
mov    $0x0,%al
call   1150 <read_data_float@plt>
lea    -0x1a20(%rbp),%rdi
mov    -0x20ac(%rbp),%esi
mov    -0x2074(%rbp),%edx
sub    $0x1,%edx
mov    -0x2050(%rbp),%rcx
mov    $0x0,%al
call   10b0 <read_data_double@plt>
lea    -0x2020(%rbp),%rdi
mov    -0x20ac(%rbp),%esi
mov    -0x20b0(%rbp),%edx
mov    -0x2080(%rbp),%rcx
mov    $0x0,%al
call   10d0 <read_data_int@plt>
mov    -0x2028(%rbp),%rdi
mov    -0x2030(%rbp),%rsi
mov    -0x2038(%rbp),%rdx
mov    -0x20b0(%rbp),%ecx
mov    -0x2078(%rbp),%r8d
mov    -0x2074(%rbp),%r9d
mov    $0x0,%al
call   10f0 <zscore_calc@plt>
lea    -0xa20(%rbp),%rdi
mov    -0x20b0(%rbp),%esi
mov    -0x2028(%rbp),%rdx
mov    -0x2074(%rbp),%ecx
sub    $0x1,%ecx
mov    $0x1,%r8d
xor    %r9d,%r9d
mov    $0x0,%al
call   1090 <write_zscore_double@plt>
mov    -0x2028(%rbp),%rdi
mov    -0x2030(%rbp),%rsi
mov    -0x2038(%rbp),%rdx
mov    -0x20b0(%rbp),%ecx
mov    -0x2078(%rbp),%r8d
mov    -0x2074(%rbp),%r9d
mov    $0x0,%al
call   10f0 <zscore_calc@plt>
lea    -0xc20(%rbp),%rdi
mov    -0x20b0(%rbp),%esi
mov    -0x2028(%rbp),%rdx
mov    -0x2074(%rbp),%ecx
xor    %r9d,%r9d
mov    %r9d,%r8d
mov    $0x0,%al
call   1090 <write_zscore_double@plt>
mov    -0x2040(%rbp),%rdi
mov    -0x2030(%rbp),%rsi
mov    -0x2074(%rbp),%edx
imul   -0x20b0(%rbp),%edx
mov    $0x0,%al
call   1070 <update_sum@plt>
lea    -0x1220(%rbp),%rdi
mov    -0x2074(%rbp),%esi
mov    -0x20b0(%rbp),%edx
mov    -0x2030(%rbp),%rcx
mov    $0x0,%al
call   1120 <write_data_double@plt>
mov    -0x2040(%rbp),%rdi
mov    -0x2038(%rbp),%rsi
mov    -0x2074(%rbp),%edx
imul   -0x20b0(%rbp),%edx
mov    $0x0,%al
call   1060 <update_sum2@plt>
lea    -0x1420(%rbp),%rdi
mov    -0x2074(%rbp),%esi
mov    -0x20b0(%rbp),%edx
mov    -0x2038(%rbp),%rcx
mov    $0x0,%al
call   1120 <write_data_double@plt>
mov    -0x2040(%rbp),%rdi
mov    -0x2048(%rbp),%rsi
mov    -0x2074(%rbp),%edx
imul   -0x20b0(%rbp),%edx
mov    -0x2078(%rbp),%ecx
mov    $0x0,%al
call   1040 <update_mean@plt>
lea    -0x1620(%rbp),%rdi
mov    -0x2074(%rbp),%esi
mov    -0x20b0(%rbp),%edx
mov    -0x2048(%rbp),%rcx
mov    $0x0,%al
call   1120 <write_data_double@plt>
mov    -0x2050(%rbp),%rdi
mov    -0x20ac(%rbp),%esi
mov    -0x2074(%rbp),%edx
sub    $0x1,%edx
mov    -0x2068(%rbp),%rcx
xor    %r8d,%r8d
mov    $0x1,%r9d
mov    $0x0,%al
call   1130 <modify_C@plt>
mov    -0x2070(%rbp),%rdi
mov    -0x2058(%rbp),%rsi
mov    -0x2060(%rbp),%rdx
mov    -0x2068(%rbp),%rcx
mov    -0x2040(%rbp),%r8
mov    -0x20ac(%rbp),%r9d
mov    -0x20b0(%rbp),%ebx
mov    -0x20b4(%rbp),%r11d
mov    -0x2074(%rbp),%r10d
lea    -0x20a0(%rbp),%rax
mov    %ebx,(%rsp)
mov    %r11d,0x8(%rsp)
mov    %r10d,0x10(%rsp)
mov    %rax,0x18(%rsp)
movl   $0x1,0x20(%rsp)
mov    $0x0,%al
call   1110 <var_data@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x2090(%rbp)
ff
movsd  -0x2090(%rbp),%xmm0
ff
movsd  -0x20a0(%rbp),%xmm1
ff
lea    0x709(%rip),%rdi
mov    $0x2,%al
call   10a0 <printf@plt>
mov    -0x2070(%rbp),%rdi
mov    -0x2058(%rbp),%rsi
mov    -0x2060(%rbp),%rdx
mov    -0x2068(%rbp),%rcx
mov    -0x2040(%rbp),%r8
mov    -0x20ac(%rbp),%r9d
mov    -0x20b0(%rbp),%ebx
mov    -0x20b4(%rbp),%r11d
mov    -0x2074(%rbp),%r10d
lea    -0x20a8(%rbp),%rax
mov    %ebx,(%rsp)
mov    %r11d,0x8(%rsp)
mov    %r10d,0x10(%rsp)
mov    %rax,0x18(%rsp)
movl   $0x2,0x20(%rsp)
mov    $0x0,%al
call   1110 <var_data@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x2098(%rbp)
ff
movsd  -0x2098(%rbp),%xmm0
ff
movsd  -0x20a8(%rbp),%xmm1
ff
lea    0x679(%rip),%rdi
mov    $0x2,%al
call   10a0 <printf@plt>
mov    -0x2078(%rbp),%esi
movsd  -0x2090(%rbp),%xmm0
ff
movsd  -0x20a0(%rbp),%xmm1
ff
lea    -0x2088(%rbp),%rdi
mov    $0x2,%al
call   1160 <update_deviance@plt>
lea    -0xe20(%rbp),%rdi
movsd  -0x2088(%rbp),%xmm0
ff
movsd  0x61f(%rip),%xmm1
mov    $0x2,%al
call   1080 <write_DIC@plt>
mov    -0x2070(%rbp),%rdi
mov    -0x2058(%rbp),%rsi
mov    -0x2060(%rbp),%rdx
mov    -0x2068(%rbp),%rcx
mov    -0x2040(%rbp),%r8
mov    -0x2080(%rbp),%r9
mov    -0x20ac(%rbp),%ebx
mov    -0x20b0(%rbp),%r11d
mov    -0x20b4(%rbp),%r10d
mov    -0x2074(%rbp),%eax
mov    %ebx,(%rsp)
mov    %r11d,0x8(%rsp)
mov    %r10d,0x10(%rsp)
mov    %eax,0x18(%rsp)
mov    $0x0,%al
call   10e0 <inputation_lfmm@plt>
lea    -0x1020(%rbp),%rdi
mov    -0x20ac(%rbp),%esi
mov    -0x20b0(%rbp),%edx
mov    -0x2070(%rbp),%rcx
mov    $0x0,%al
call   10c0 <write_data_float@plt>
mov    -0x2028(%rbp),%rdi
call   1030 <free@plt>
mov    -0x2030(%rbp),%rdi
call   1030 <free@plt>
mov    -0x2038(%rbp),%rdi
call   1030 <free@plt>
mov    -0x2040(%rbp),%rdi
call   1030 <free@plt>
mov    -0x2048(%rbp),%rdi
call   1030 <free@plt>
mov    -0x2050(%rbp),%rdi
call   1030 <free@plt>
mov    -0x2068(%rbp),%rdi
call   1030 <free@plt>
mov    -0x2058(%rbp),%rdi
call   1030 <free@plt>
mov    -0x2060(%rbp),%rdi
call   1030 <free@plt>
mov    -0x2070(%rbp),%rdi
call   1030 <free@plt>
mov    -0x2080(%rbp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x20d8,%rsp
pop    %rbx
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x2098,%rsp
mov    %rsi,%rbp
movabs $0x4000cccccccccccd,%rax
mov    %rax,0x68(%rsp)
movabs $0x4024000000000000,%rax
mov    %rax,0x40(%rsp)
mov    %rax,0x60(%rsp)
mov    0x8(%rsi),%rsi
lea    0x1e90(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x10(%rbp),%rsi
lea    0x1c90(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x18(%rbp),%rsi
lea    0x1a90(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x20(%rbp),%rsi
lea    0x1890(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x28(%rbp),%rsi
lea    0x890(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x30(%rbp),%rsi
lea    0x690(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x38(%rbp),%rsi
lea    0x490(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x40(%rbp),%rsi
lea    0x290(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x48(%rbp),%rsi
lea    0x90(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x50(%rbp),%rdi
xor    %eax,%eax
call   1140 <atoi@plt>
mov    %eax,%r15d
mov    0x58(%rbp),%rdi
xor    %eax,%eax
call   1140 <atoi@plt>
mov    %eax,%r14d
mov    0x60(%rbp),%rsi
lea    0x1290(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x68(%rbp),%rsi
lea    0x1690(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x70(%rbp),%rsi
lea    0x1490(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x78(%rbp),%rsi
lea    0x1090(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x80(%rbp),%rsi
lea    0xe90(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x88(%rbp),%rsi
lea    0xc90(%rsp),%rdi
call   1050 <strcpy@plt>
mov    0x90(%rbp),%rsi
lea    0xa90(%rsp),%rdi
call   1050 <strcpy@plt>
imul   $0x64,%r14d,%eax
cltq
mov    %rax,0x88(%rsp)
lea    0x0(,%rax,8),%rbp
mov    %rbp,%rdi
call   1100 <malloc@plt>
mov    %rax,0x50(%rsp)
mov    %rbp,%rdi
call   1100 <malloc@plt>
mov    %rax,0x28(%rsp)
mov    %rbp,%rdi
call   1100 <malloc@plt>
mov    %rax,0x20(%rsp)
mov    %rbp,%rdi
call   1100 <malloc@plt>
mov    %rax,0x30(%rsp)
mov    %rbp,%rdi
call   1100 <malloc@plt>
mov    %rax,0x38(%rsp)
lea    -0x1(%r14),%eax
mov    %eax,(%rsp)
imul   %r15d,%eax
movslq %eax,%rdi
shl    $0x3,%rdi
call   1100 <malloc@plt>
mov    %rax,0x18(%rsp)
mov    %r14d,%eax
imul   %r15d,%eax
movslq %eax,%rdi
shl    $0x3,%rdi
call   1100 <malloc@plt>
mov    %rax,0x58(%rsp)
lea    (%r15,%r15,1),%eax
mov    %r15,%rbx
movslq %eax,%rdi
shl    $0x3,%rdi
call   1100 <malloc@plt>
mov    %rax,%r15
mov    %rax,0x8(%rsp)
mov    $0x640,%edi
call   1100 <malloc@plt>
mov    %rax,%r12
mov    %rax,0x10(%rsp)
imul   $0x64,%ebx,%eax
movslq %eax,%rbp
shl    $0x2,%rbp
mov    %rbp,%rdi
call   1100 <malloc@plt>
mov    %rax,%r13
mov    %rax,0x78(%rsp)
mov    %rbp,%rdi
call   1100 <malloc@plt>
mov    %rax,%rbp
mov    %rax,0x80(%rsp)
lea    0x1e90(%rsp),%rdi
mov    %r14d,%esi
mov    $0x64,%edx
mov    0x28(%rsp),%rcx
xor    %eax,%eax
call   10b0 <read_data_double@plt>
lea    0x1c90(%rsp),%rdi
mov    %r14d,%esi
mov    $0x64,%edx
mov    0x20(%rsp),%rcx
xor    %eax,%eax
call   10b0 <read_data_double@plt>
lea    0x1a90(%rsp),%rdi
mov    %r14d,%esi
mov    $0x64,%edx
mov    0x38(%rsp),%rcx
xor    %eax,%eax
call   10b0 <read_data_double@plt>
lea    0x1890(%rsp),%rdi
mov    %r14d,%esi
mov    $0x64,%edx
mov    0x30(%rsp),%rcx
xor    %eax,%eax
call   10b0 <read_data_double@plt>
lea    0x290(%rsp),%rdi
mov    $0x2,%esi
mov    $0x64,%edx
mov    %r12,%rcx
xor    %eax,%eax
call   10b0 <read_data_double@plt>
lea    0x490(%rsp),%rdi
mov    $0x2,%esi
mov    %rbx,0x48(%rsp)
mov    %ebx,%edx
mov    %r15,%rcx
xor    %eax,%eax
call   10b0 <read_data_double@plt>
lea    0x890(%rsp),%rdi
mov    %ebx,%esi
mov    $0x64,%edx
mov    %r13,%rcx
xor    %eax,%eax
call   1150 <read_data_float@plt>
lea    0x690(%rsp),%rdi
mov    %ebx,%esi
mov    (%rsp),%r13d
mov    %r13d,%edx
mov    0x18(%rsp),%rcx
xor    %eax,%eax
call   10b0 <read_data_double@plt>
lea    0x90(%rsp),%rdi
mov    %ebx,%esi
mov    $0x64,%edx
mov    %rbp,%rcx
xor    %eax,%eax
call   10d0 <read_data_int@plt>
mov    0x50(%rsp),%rbx
mov    %rbx,%rdi
mov    0x28(%rsp),%r12
mov    %r12,%rsi
mov    0x20(%rsp),%r15
mov    %r15,%rdx
mov    $0x64,%ecx
mov    $0xa,%r8d
mov    %r14d,%r9d
xor    %eax,%eax
call   10f0 <zscore_calc@plt>
lea    0x1690(%rsp),%rdi
mov    $0x64,%esi
mov    %rbx,%rdx
mov    %r13d,%ecx
mov    $0x1,%r8d
xor    %r9d,%r9d
xor    %eax,%eax
call   1090 <write_zscore_double@plt>
mov    %rbx,%rdi
mov    %r12,%rbp
mov    %r12,%rsi
mov    %r15,%rdx
mov    $0x64,%ecx
mov    $0xa,%r8d
mov    %r14d,%r9d
xor    %eax,%eax
call   10f0 <zscore_calc@plt>
lea    0x1490(%rsp),%rdi
mov    $0x64,%esi
mov    %rbx,%rdx
mov    %r14d,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
xor    %eax,%eax
call   1090 <write_zscore_double@plt>
mov    0x30(%rsp),%r12
mov    %r12,%rdi
mov    %rbp,%rsi
mov    0x88(%rsp),%r13
mov    %r13d,%edx
xor    %eax,%eax
call   1070 <update_sum@plt>
lea    0xe90(%rsp),%rdi
mov    %r14d,%esi
mov    $0x64,%edx
mov    %rbp,%rcx
xor    %eax,%eax
call   1120 <write_data_double@plt>
mov    %r12,%rbp
mov    %r12,%rdi
mov    %r15,%rsi
mov    %r13d,%edx
xor    %eax,%eax
call   1060 <update_sum2@plt>
lea    0xc90(%rsp),%rdi
mov    %r14,%r12
mov    %r14,0x70(%rsp)
mov    %r12d,%esi
mov    $0x64,%edx
mov    %r15,%rcx
xor    %eax,%eax
call   1120 <write_data_double@plt>
mov    %rbp,%rdi
mov    0x38(%rsp),%rbx
mov    %rbx,%rsi
mov    %r13d,%edx
mov    $0xa,%ecx
xor    %eax,%eax
call   1040 <update_mean@plt>
lea    0xa90(%rsp),%rdi
mov    %r12d,%esi
mov    $0x64,%edx
mov    %rbx,%rcx
xor    %eax,%eax
call   1120 <write_data_double@plt>
mov    0x18(%rsp),%rdi
mov    0x48(%rsp),%r13
mov    %r13d,%esi
mov    (%rsp),%edx
mov    0x58(%rsp),%rbx
mov    %rbx,%rcx
xor    %r8d,%r8d
mov    $0x1,%r9d
xor    %eax,%eax
call   1130 <modify_C@plt>
sub    $0x8,%rsp
lea    0x48(%rsp),%r10
mov    0x80(%rsp),%r15
mov    %r15,%rdi
mov    0x10(%rsp),%r12
mov    %r12,%rsi
mov    0x18(%rsp),%rdx
mov    %rbx,%rcx
mov    %rbp,%r8
mov    %r13d,%r9d
xor    %eax,%eax
push   $0x1
push   %r10
mov    0x88(%rsp),%r14
push   %r14
push   $0x2
push   $0x64
call   1110 <var_data@plt>
add    $0x30,%rsp
cvtsi2sd %eax,%xmm0
movsd  %xmm0,(%rsp)
movsd  0x40(%rsp),%xmm1
lea    0x8c8(%rip),%rdi
mov    $0x2,%al
call   10a0 <printf@plt>
sub    $0x8,%rsp
lea    0x68(%rsp),%r10
mov    %r15,%rdi
mov    %r15,%rbx
mov    %r12,%rsi
mov    0x18(%rsp),%rbp
mov    %rbp,%rdx
mov    0x60(%rsp),%r12
mov    %r12,%rcx
mov    0x38(%rsp),%r15
mov    %r15,%r8
mov    %r13d,%r9d
xor    %eax,%eax
push   $0x2
push   %r10
push   %r14
push   $0x2
push   $0x64
call   1110 <var_data@plt>
add    $0x30,%rsp
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0x60(%rsp),%xmm1
lea    0x86b(%rip),%rdi
mov    $0x2,%al
call   10a0 <printf@plt>
movsd  0x40(%rsp),%xmm1
lea    0x68(%rsp),%rdi
mov    $0xa,%esi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1160 <update_deviance@plt>
movsd  0x68(%rsp),%xmm0
movsd  0x832(%rip),%xmm1
lea    0x1290(%rsp),%rdi
mov    $0x2,%al
call   1080 <write_DIC@plt>
mov    %rbx,%rdi
mov    0x8(%rsp),%rsi
mov    %rbp,%rdx
mov    %r12,%rcx
mov    %r15,%r8
mov    0x80(%rsp),%r13
mov    %r13,%r9
xor    %eax,%eax
push   %r14
push   $0x2
push   $0x64
mov    0x60(%rsp),%rbp
push   %rbp
call   10e0 <inputation_lfmm@plt>
add    $0x20,%rsp
lea    0x1090(%rsp),%rdi
mov    %ebp,%esi
mov    $0x64,%edx
mov    %rbx,%rcx
xor    %eax,%eax
call   10c0 <write_data_float@plt>
mov    0x50(%rsp),%rdi
call   1030 <free@plt>
mov    0x28(%rsp),%rdi
call   1030 <free@plt>
mov    0x20(%rsp),%rdi
call   1030 <free@plt>
mov    %r15,%rdi
call   1030 <free@plt>
mov    0x38(%rsp),%rdi
call   1030 <free@plt>
mov    0x18(%rsp),%rdi
call   1030 <free@plt>
mov    %r12,%rdi
call   1030 <free@plt>
mov    0x8(%rsp),%rdi
call   1030 <free@plt>
mov    0x10(%rsp),%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %r13,%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x2098,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [7 x i8] c"%g %g\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [512 x i8]
%7 = alloca [512 x i8]
%8 = alloca [512 x i8]
%9 = alloca [512 x i8]
%10 = alloca [512 x i8]
%11 = alloca [512 x i8]
%12 = alloca [512 x i8]
%13 = alloca [512 x i8]
%14 = alloca [512 x i8]
%15 = alloca [512 x i8]
%16 = alloca [512 x i8]
%17 = alloca [512 x i8]
%18 = alloca [512 x i8]
%19 = alloca [512 x i8]
%20 = alloca [512 x i8]
%21 = alloca [512 x i8]
%22 = alloca double*
%23 = alloca double*
%24 = alloca double*
%25 = alloca double*
%26 = alloca double*
%27 = alloca double*
%28 = alloca double*
%29 = alloca double*
%30 = alloca double*
%31 = alloca float*
%32 = alloca i32
%33 = alloca i32
%34 = alloca i32*
%35 = alloca double
%36 = alloca double
%37 = alloca double
%38 = alloca double
%39 = alloca double
%40 = alloca i32
%41 = alloca i32
%42 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 3, i32* %32
store i32 10, i32* %33
store double 2.100000e+00, double* %35
store double 0.000000e+00, double* %36
store double 0.000000e+00, double* %37
store double 1.000000e+01, double* %38
store double 1.000000e+01, double* %39
store i32 10, i32* %40
store i32 100, i32* %41
store i32 2, i32* %42
%43 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%44 = load i8**, i8*** %5
%45 = getelementptr inbounds i8*, i8** %44, i64 1
%46 = load i8*, i8** %45
%47 = call i8* @strcpy(i8* %43, i8* %46)
%48 = getelementptr inbounds [512 x i8], [512 x i8]* %7, i64 0, i64 0
%49 = load i8**, i8*** %5
%50 = getelementptr inbounds i8*, i8** %49, i64 2
%51 = load i8*, i8** %50
%52 = call i8* @strcpy(i8* %48, i8* %51)
%53 = getelementptr inbounds [512 x i8], [512 x i8]* %8, i64 0, i64 0
%54 = load i8**, i8*** %5
%55 = getelementptr inbounds i8*, i8** %54, i64 3
%56 = load i8*, i8** %55
%57 = call i8* @strcpy(i8* %53, i8* %56)
%58 = getelementptr inbounds [512 x i8], [512 x i8]* %9, i64 0, i64 0
%59 = load i8**, i8*** %5
%60 = getelementptr inbounds i8*, i8** %59, i64 4
%61 = load i8*, i8** %60
%62 = call i8* @strcpy(i8* %58, i8* %61)
%63 = getelementptr inbounds [512 x i8], [512 x i8]* %17, i64 0, i64 0
%64 = load i8**, i8*** %5
%65 = getelementptr inbounds i8*, i8** %64, i64 5
%66 = load i8*, i8** %65
%67 = call i8* @strcpy(i8* %63, i8* %66)
%68 = getelementptr inbounds [512 x i8], [512 x i8]* %18, i64 0, i64 0
%69 = load i8**, i8*** %5
%70 = getelementptr inbounds i8*, i8** %69, i64 6
%71 = load i8*, i8** %70
%72 = call i8* @strcpy(i8* %68, i8* %71)
%73 = getelementptr inbounds [512 x i8], [512 x i8]* %19, i64 0, i64 0
%74 = load i8**, i8*** %5
%75 = getelementptr inbounds i8*, i8** %74, i64 7
%76 = load i8*, i8** %75
%77 = call i8* @strcpy(i8* %73, i8* %76)
%78 = getelementptr inbounds [512 x i8], [512 x i8]* %20, i64 0, i64 0
%79 = load i8**, i8*** %5
%80 = getelementptr inbounds i8*, i8** %79, i64 8
%81 = load i8*, i8** %80
%82 = call i8* @strcpy(i8* %78, i8* %81)
%83 = getelementptr inbounds [512 x i8], [512 x i8]* %21, i64 0, i64 0
%84 = load i8**, i8*** %5
%85 = getelementptr inbounds i8*, i8** %84, i64 9
%86 = load i8*, i8** %85
%87 = call i8* @strcpy(i8* %83, i8* %86)
%88 = load i8**, i8*** %5
%89 = getelementptr inbounds i8*, i8** %88, i64 10
%90 = load i8*, i8** %89
%91 = call i32 (i8*, ...) bitcast (i32 (...)* @atoi to i32 (i8*, ...)*)(i8* %90)
store i32 %91, i32* %40
%92 = load i8**, i8*** %5
%93 = getelementptr inbounds i8*, i8** %92, i64 11
%94 = load i8*, i8** %93
%95 = call i32 (i8*, ...) bitcast (i32 (...)* @atoi to i32 (i8*, ...)*)(i8* %94)
store i32 %95, i32* %32
%96 = getelementptr inbounds [512 x i8], [512 x i8]* %12, i64 0, i64 0
%97 = load i8**, i8*** %5
%98 = getelementptr inbounds i8*, i8** %97, i64 12
%99 = load i8*, i8** %98
%100 = call i8* @strcpy(i8* %96, i8* %99)
%101 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%102 = load i8**, i8*** %5
%103 = getelementptr inbounds i8*, i8** %102, i64 13
%104 = load i8*, i8** %103
%105 = call i8* @strcpy(i8* %101, i8* %104)
%106 = getelementptr inbounds [512 x i8], [512 x i8]* %11, i64 0, i64 0
%107 = load i8**, i8*** %5
%108 = getelementptr inbounds i8*, i8** %107, i64 14
%109 = load i8*, i8** %108
%110 = call i8* @strcpy(i8* %106, i8* %109)
%111 = getelementptr inbounds [512 x i8], [512 x i8]* %13, i64 0, i64 0
%112 = load i8**, i8*** %5
%113 = getelementptr inbounds i8*, i8** %112, i64 15
%114 = load i8*, i8** %113
%115 = call i8* @strcpy(i8* %111, i8* %114)
%116 = getelementptr inbounds [512 x i8], [512 x i8]* %14, i64 0, i64 0
%117 = load i8**, i8*** %5
%118 = getelementptr inbounds i8*, i8** %117, i64 16
%119 = load i8*, i8** %118
%120 = call i8* @strcpy(i8* %116, i8* %119)
%121 = getelementptr inbounds [512 x i8], [512 x i8]* %15, i64 0, i64 0
%122 = load i8**, i8*** %5
%123 = getelementptr inbounds i8*, i8** %122, i64 17
%124 = load i8*, i8** %123
%125 = call i8* @strcpy(i8* %121, i8* %124)
%126 = getelementptr inbounds [512 x i8], [512 x i8]* %16, i64 0, i64 0
%127 = load i8**, i8*** %5
%128 = getelementptr inbounds i8*, i8** %127, i64 18
%129 = load i8*, i8** %128
%130 = call i8* @strcpy(i8* %126, i8* %129)
%131 = load i32, i32* %41
%132 = load i32, i32* %32
%133 = mul nsw i32 %131, %132
%134 = sext i32 %133 to i64
%135 = mul i64 %134, 8
%136 = call i8* @malloc(i64 %135)
%137 = bitcast i8* %136 to double*
store double* %137, double** %22
%138 = load i32, i32* %41
%139 = load i32, i32* %32
%140 = mul nsw i32 %138, %139
%141 = sext i32 %140 to i64
%142 = mul i64 %141, 8
%143 = call i8* @malloc(i64 %142)
%144 = bitcast i8* %143 to double*
store double* %144, double** %23
%145 = load i32, i32* %41
%146 = load i32, i32* %32
%147 = mul nsw i32 %145, %146
%148 = sext i32 %147 to i64
%149 = mul i64 %148, 8
%150 = call i8* @malloc(i64 %149)
%151 = bitcast i8* %150 to double*
store double* %151, double** %24
%152 = load i32, i32* %41
%153 = load i32, i32* %32
%154 = mul nsw i32 %152, %153
%155 = sext i32 %154 to i64
%156 = mul i64 %155, 8
%157 = call i8* @malloc(i64 %156)
%158 = bitcast i8* %157 to double*
store double* %158, double** %25
%159 = load i32, i32* %41
%160 = load i32, i32* %32
%161 = mul nsw i32 %159, %160
%162 = sext i32 %161 to i64
%163 = mul i64 %162, 8
%164 = call i8* @malloc(i64 %163)
%165 = bitcast i8* %164 to double*
store double* %165, double** %26
%166 = load i32, i32* %40
%167 = load i32, i32* %32
%168 = sub nsw i32 %167, 1
%169 = mul nsw i32 %166, %168
%170 = sext i32 %169 to i64
%171 = mul i64 %170, 8
%172 = call i8* @malloc(i64 %171)
%173 = bitcast i8* %172 to double*
store double* %173, double** %27
%174 = load i32, i32* %40
%175 = load i32, i32* %32
%176 = mul nsw i32 %174, %175
%177 = sext i32 %176 to i64
%178 = mul i64 %177, 8
%179 = call i8* @malloc(i64 %178)
%180 = bitcast i8* %179 to double*
store double* %180, double** %30
%181 = load i32, i32* %40
%182 = load i32, i32* %42
%183 = mul nsw i32 %181, %182
%184 = sext i32 %183 to i64
%185 = mul i64 %184, 8
%186 = call i8* @malloc(i64 %185)
%187 = bitcast i8* %186 to double*
store double* %187, double** %28
%188 = load i32, i32* %41
%189 = load i32, i32* %42
%190 = mul nsw i32 %188, %189
%191 = sext i32 %190 to i64
%192 = mul i64 %191, 8
%193 = call i8* @malloc(i64 %192)
%194 = bitcast i8* %193 to double*
store double* %194, double** %29
%195 = load i32, i32* %40
%196 = load i32, i32* %41
%197 = mul nsw i32 %195, %196
%198 = sext i32 %197 to i64
%199 = mul i64 %198, 4
%200 = call i8* @malloc(i64 %199)
%201 = bitcast i8* %200 to float*
store float* %201, float** %31
%202 = load i32, i32* %40
%203 = load i32, i32* %41
%204 = mul nsw i32 %202, %203
%205 = sext i32 %204 to i64
%206 = mul i64 %205, 4
%207 = call i8* @malloc(i64 %206)
%208 = bitcast i8* %207 to i32*
store i32* %208, i32** %34
%209 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%210 = load i32, i32* %32
%211 = load i32, i32* %41
%212 = load double*, double** %23
%213 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %209, i32 %210, i32 %211, double* %212)
%214 = getelementptr inbounds [512 x i8], [512 x i8]* %7, i64 0, i64 0
%215 = load i32, i32* %32
%216 = load i32, i32* %41
%217 = load double*, double** %24
%218 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %214, i32 %215, i32 %216, double* %217)
%219 = getelementptr inbounds [512 x i8], [512 x i8]* %8, i64 0, i64 0
%220 = load i32, i32* %32
%221 = load i32, i32* %41
%222 = load double*, double** %26
%223 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %219, i32 %220, i32 %221, double* %222)
%224 = getelementptr inbounds [512 x i8], [512 x i8]* %9, i64 0, i64 0
%225 = load i32, i32* %32
%226 = load i32, i32* %41
%227 = load double*, double** %25
%228 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %224, i32 %225, i32 %226, double* %227)
%229 = getelementptr inbounds [512 x i8], [512 x i8]* %20, i64 0, i64 0
%230 = load i32, i32* %42
%231 = load i32, i32* %41
%232 = load double*, double** %29
%233 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %229, i32 %230, i32 %231, double* %232)
%234 = getelementptr inbounds [512 x i8], [512 x i8]* %19, i64 0, i64 0
%235 = load i32, i32* %42
%236 = load i32, i32* %40
%237 = load double*, double** %28
%238 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %234, i32 %235, i32 %236, double* %237)
%239 = getelementptr inbounds [512 x i8], [512 x i8]* %17, i64 0, i64 0
%240 = load i32, i32* %40
%241 = load i32, i32* %41
%242 = load float*, float** %31
%243 = call i32 (i8*, i32, i32, float*, ...) bitcast (i32 (...)* @read_data_float to i32 (i8*, i32, i32, float*, ...)*)(i8* %239, i32 %240, i32 %241, float* %242)
%244 = getelementptr inbounds [512 x i8], [512 x i8]* %18, i64 0, i64 0
%245 = load i32, i32* %40
%246 = load i32, i32* %32
%247 = sub nsw i32 %246, 1
%248 = load double*, double** %27
%249 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %244, i32 %245, i32 %247, double* %248)
%250 = getelementptr inbounds [512 x i8], [512 x i8]* %21, i64 0, i64 0
%251 = load i32, i32* %40
%252 = load i32, i32* %41
%253 = load i32*, i32** %34
%254 = call i32 (i8*, i32, i32, i32*, ...) bitcast (i32 (...)* @read_data_int to i32 (i8*, i32, i32, i32*, ...)*)(i8* %250, i32 %251, i32 %252, i32* %253)
%255 = load double*, double** %22
%256 = load double*, double** %23
%257 = load double*, double** %24
%258 = load i32, i32* %41
%259 = load i32, i32* %33
%260 = load i32, i32* %32
%261 = call i32 (double*, double*, double*, i32, i32, i32, ...) bitcast (i32 (...)* @zscore_calc to i32 (double*, double*, double*, i32, i32, i32, ...)*)(double* %255, double* %256, double* %257, i32 %258, i32 %259, i32 %260)
%262 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%263 = load i32, i32* %41
%264 = load double*, double** %22
%265 = load i32, i32* %32
%266 = sub nsw i32 %265, 1
%267 = call i32 (i8*, i32, double*, i32, i32, i32, ...) bitcast (i32 (...)* @write_zscore_double to i32 (i8*, i32, double*, i32, i32, i32, ...)*)(i8* %262, i32 %263, double* %264, i32 %266, i32 1, i32 0)
%268 = load double*, double** %22
%269 = load double*, double** %23
%270 = load double*, double** %24
%271 = load i32, i32* %41
%272 = load i32, i32* %33
%273 = load i32, i32* %32
%274 = call i32 (double*, double*, double*, i32, i32, i32, ...) bitcast (i32 (...)* @zscore_calc to i32 (double*, double*, double*, i32, i32, i32, ...)*)(double* %268, double* %269, double* %270, i32 %271, i32 %272, i32 %273)
%275 = getelementptr inbounds [512 x i8], [512 x i8]* %11, i64 0, i64 0
%276 = load i32, i32* %41
%277 = load double*, double** %22
%278 = load i32, i32* %32
%279 = call i32 (i8*, i32, double*, i32, i32, i32, ...) bitcast (i32 (...)* @write_zscore_double to i32 (i8*, i32, double*, i32, i32, i32, ...)*)(i8* %275, i32 %276, double* %277, i32 %278, i32 0, i32 0)
%280 = load double*, double** %25
%281 = load double*, double** %23
%282 = load i32, i32* %32
%283 = load i32, i32* %41
%284 = mul nsw i32 %282, %283
%285 = call i32 (double*, double*, i32, ...) bitcast (i32 (...)* @update_sum to i32 (double*, double*, i32, ...)*)(double* %280, double* %281, i32 %284)
%286 = getelementptr inbounds [512 x i8], [512 x i8]* %14, i64 0, i64 0
%287 = load i32, i32* %32
%288 = load i32, i32* %41
%289 = load double*, double** %23
%290 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @write_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %286, i32 %287, i32 %288, double* %289)
%291 = load double*, double** %25
%292 = load double*, double** %24
%293 = load i32, i32* %32
%294 = load i32, i32* %41
%295 = mul nsw i32 %293, %294
%296 = call i32 (double*, double*, i32, ...) bitcast (i32 (...)* @update_sum2 to i32 (double*, double*, i32, ...)*)(double* %291, double* %292, i32 %295)
%297 = getelementptr inbounds [512 x i8], [512 x i8]* %15, i64 0, i64 0
%298 = load i32, i32* %32
%299 = load i32, i32* %41
%300 = load double*, double** %24
%301 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @write_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %297, i32 %298, i32 %299, double* %300)
%302 = load double*, double** %25
%303 = load double*, double** %26
%304 = load i32, i32* %32
%305 = load i32, i32* %41
%306 = mul nsw i32 %304, %305
%307 = load i32, i32* %33
%308 = call i32 (double*, double*, i32, i32, ...) bitcast (i32 (...)* @update_mean to i32 (double*, double*, i32, i32, ...)*)(double* %302, double* %303, i32 %306, i32 %307)
%309 = getelementptr inbounds [512 x i8], [512 x i8]* %16, i64 0, i64 0
%310 = load i32, i32* %32
%311 = load i32, i32* %41
%312 = load double*, double** %26
%313 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @write_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %309, i32 %310, i32 %311, double* %312)
%314 = load double*, double** %27
%315 = load i32, i32* %40
%316 = load i32, i32* %32
%317 = sub nsw i32 %316, 1
%318 = load double*, double** %30
%319 = call i32 (double*, i32, i32, double*, i32, i32, ...) bitcast (i32 (...)* @modify_C to i32 (double*, i32, i32, double*, i32, i32, ...)*)(double* %314, i32 %315, i32 %317, double* %318, i32 0, i32 1)
%320 = load float*, float** %31
%321 = load double*, double** %28
%322 = load double*, double** %29
%323 = load double*, double** %30
%324 = load double*, double** %25
%325 = load i32, i32* %40
%326 = load i32, i32* %41
%327 = load i32, i32* %42
%328 = load i32, i32* %32
%329 = call i32 (float*, double*, double*, double*, double*, i32, i32, i32, i32, double*, i32, ...) bitcast (i32 (...)* @var_data to i32 (float*, double*, double*, double*, double*, i32, i32, i32, i32, double*, i32, ...)*)(float* %320, double* %321, double* %322, double* %323, double* %324, i32 %325, i32 %326, i32 %327, i32 %328, double* %38, i32 1)
%330 = sitofp i32 %329 to double
store double %330, double* %36
%331 = load double, double* %36
%332 = load double, double* %38
%333 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), double %331, double %332)
%334 = load float*, float** %31
%335 = load double*, double** %28
%336 = load double*, double** %29
%337 = load double*, double** %30
%338 = load double*, double** %25
%339 = load i32, i32* %40
%340 = load i32, i32* %41
%341 = load i32, i32* %42
%342 = load i32, i32* %32
%343 = call i32 (float*, double*, double*, double*, double*, i32, i32, i32, i32, double*, i32, ...) bitcast (i32 (...)* @var_data to i32 (float*, double*, double*, double*, double*, i32, i32, i32, i32, double*, i32, ...)*)(float* %334, double* %335, double* %336, double* %337, double* %338, i32 %339, i32 %340, i32 %341, i32 %342, double* %39, i32 2)
%344 = sitofp i32 %343 to double
store double %344, double* %37
%345 = load double, double* %37
%346 = load double, double* %39
%347 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), double %345, double %346)
%348 = load i32, i32* %33
%349 = load double, double* %36
%350 = load double, double* %38
%351 = call i32 (double*, i32, double, double, ...) bitcast (i32 (...)* @update_deviance to i32 (double*, i32, double, double, ...)*)(double* %35, i32 %348, double %349, double %350)
%352 = getelementptr inbounds [512 x i8], [512 x i8]* %12, i64 0, i64 0
%353 = load double, double* %35
%354 = call i32 (i8*, double, double, ...) bitcast (i32 (...)* @write_DIC to i32 (i8*, double, double, ...)*)(i8* %352, double %353, double 1.000000e+00)
%355 = load float*, float** %31
%356 = load double*, double** %28
%357 = load double*, double** %29
%358 = load double*, double** %30
%359 = load double*, double** %25
%360 = load i32*, i32** %34
%361 = load i32, i32* %40
%362 = load i32, i32* %41
%363 = load i32, i32* %42
%364 = load i32, i32* %32
%365 = call i32 (float*, double*, double*, double*, double*, i32*, i32, i32, i32, i32, ...) bitcast (i32 (...)* @inputation_lfmm to i32 (float*, double*, double*, double*, double*, i32*, i32, i32, i32, i32, ...)*)(float* %355, double* %356, double* %357, double* %358, double* %359, i32* %360, i32 %361, i32 %362, i32 %363, i32 %364)
%366 = getelementptr inbounds [512 x i8], [512 x i8]* %13, i64 0, i64 0
%367 = load i32, i32* %40
%368 = load i32, i32* %41
%369 = load float*, float** %31
%370 = call i32 (i8*, i32, i32, float*, ...) bitcast (i32 (...)* @write_data_float to i32 (i8*, i32, i32, float*, ...)*)(i8* %366, i32 %367, i32 %368, float* %369)
%371 = load double*, double** %22
%372 = bitcast double* %371 to i8*
%373 = load double*, double** %23
%374 = bitcast double* %373 to i8*
%375 = load double*, double** %24
%376 = bitcast double* %375 to i8*
%377 = load double*, double** %25
%378 = bitcast double* %377 to i8*
%379 = load double*, double** %26
%380 = bitcast double* %379 to i8*
%381 = load double*, double** %27
%382 = bitcast double* %381 to i8*
%383 = load double*, double** %30
%384 = bitcast double* %383 to i8*
%385 = load double*, double** %28
%386 = bitcast double* %385 to i8*
%387 = load double*, double** %29
%388 = bitcast double* %387 to i8*
%389 = load float*, float** %31
%390 = bitcast float* %389 to i8*
%391 = load i32*, i32** %34
%392 = bitcast i32* %391 to i8*
ret i32 0
}

LLVM IR (-O2):
@.str = [7 x i8] c"%g %g\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [512 x i8]
%4 = alloca [512 x i8]
%5 = alloca [512 x i8]
%6 = alloca [512 x i8]
%7 = alloca [512 x i8]
%8 = alloca [512 x i8]
%9 = alloca [512 x i8]
%10 = alloca [512 x i8]
%11 = alloca [512 x i8]
%12 = alloca [512 x i8]
%13 = alloca [512 x i8]
%14 = alloca [512 x i8]
%15 = alloca [512 x i8]
%16 = alloca [512 x i8]
%17 = alloca [512 x i8]
%18 = alloca [512 x i8]
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = getelementptr inbounds [512 x i8], [512 x i8]* %3, i64 0, i64 0
%23 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%24 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 0
%25 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%26 = getelementptr inbounds [512 x i8], [512 x i8]* %7, i64 0, i64 0
%27 = getelementptr inbounds [512 x i8], [512 x i8]* %8, i64 0, i64 0
%28 = getelementptr inbounds [512 x i8], [512 x i8]* %9, i64 0, i64 0
%29 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%30 = getelementptr inbounds [512 x i8], [512 x i8]* %11, i64 0, i64 0
%31 = getelementptr inbounds [512 x i8], [512 x i8]* %12, i64 0, i64 0
%32 = getelementptr inbounds [512 x i8], [512 x i8]* %13, i64 0, i64 0
%33 = getelementptr inbounds [512 x i8], [512 x i8]* %14, i64 0, i64 0
%34 = getelementptr inbounds [512 x i8], [512 x i8]* %15, i64 0, i64 0
%35 = getelementptr inbounds [512 x i8], [512 x i8]* %16, i64 0, i64 0
%36 = getelementptr inbounds [512 x i8], [512 x i8]* %17, i64 0, i64 0
%37 = getelementptr inbounds [512 x i8], [512 x i8]* %18, i64 0, i64 0
%38 = bitcast double* %19 to i8*
store double 2.100000e+00, double* %19
%39 = bitcast double* %20 to i8*
store double 1.000000e+01, double* %20
%40 = bitcast double* %21 to i8*
store double 1.000000e+01, double* %21
%41 = getelementptr inbounds i8*, i8** %1, i64 1
%42 = load i8*, i8** %41
%43 = call i8* @strcpy(i8* %22, i8* dereferenceable(1) %42)
%44 = getelementptr inbounds i8*, i8** %1, i64 2
%45 = load i8*, i8** %44
%46 = call i8* @strcpy(i8* %23, i8* dereferenceable(1) %45)
%47 = getelementptr inbounds i8*, i8** %1, i64 3
%48 = load i8*, i8** %47
%49 = call i8* @strcpy(i8* %24, i8* dereferenceable(1) %48)
%50 = getelementptr inbounds i8*, i8** %1, i64 4
%51 = load i8*, i8** %50
%52 = call i8* @strcpy(i8* %25, i8* dereferenceable(1) %51)
%53 = getelementptr inbounds i8*, i8** %1, i64 5
%54 = load i8*, i8** %53
%55 = call i8* @strcpy(i8* %33, i8* dereferenceable(1) %54)
%56 = getelementptr inbounds i8*, i8** %1, i64 6
%57 = load i8*, i8** %56
%58 = call i8* @strcpy(i8* %34, i8* dereferenceable(1) %57)
%59 = getelementptr inbounds i8*, i8** %1, i64 7
%60 = load i8*, i8** %59
%61 = call i8* @strcpy(i8* %35, i8* dereferenceable(1) %60)
%62 = getelementptr inbounds i8*, i8** %1, i64 8
%63 = load i8*, i8** %62
%64 = call i8* @strcpy(i8* %36, i8* dereferenceable(1) %63)
%65 = getelementptr inbounds i8*, i8** %1, i64 9
%66 = load i8*, i8** %65
%67 = call i8* @strcpy(i8* %37, i8* dereferenceable(1) %66)
%68 = getelementptr inbounds i8*, i8** %1, i64 10
%69 = load i8*, i8** %68
%70 = call i32 (i8*, ...) bitcast (i32 (...)* @atoi to i32 (i8*, ...)*)(i8* %69)
%71 = getelementptr inbounds i8*, i8** %1, i64 11
%72 = load i8*, i8** %71
%73 = call i32 (i8*, ...) bitcast (i32 (...)* @atoi to i32 (i8*, ...)*)(i8* %72)
%74 = getelementptr inbounds i8*, i8** %1, i64 12
%75 = load i8*, i8** %74
%76 = call i8* @strcpy(i8* %28, i8* dereferenceable(1) %75)
%77 = getelementptr inbounds i8*, i8** %1, i64 13
%78 = load i8*, i8** %77
%79 = call i8* @strcpy(i8* %26, i8* dereferenceable(1) %78)
%80 = getelementptr inbounds i8*, i8** %1, i64 14
%81 = load i8*, i8** %80
%82 = call i8* @strcpy(i8* %27, i8* dereferenceable(1) %81)
%83 = getelementptr inbounds i8*, i8** %1, i64 15
%84 = load i8*, i8** %83
%85 = call i8* @strcpy(i8* %29, i8* dereferenceable(1) %84)
%86 = getelementptr inbounds i8*, i8** %1, i64 16
%87 = load i8*, i8** %86
%88 = call i8* @strcpy(i8* %30, i8* dereferenceable(1) %87)
%89 = getelementptr inbounds i8*, i8** %1, i64 17
%90 = load i8*, i8** %89
%91 = call i8* @strcpy(i8* %31, i8* dereferenceable(1) %90)
%92 = getelementptr inbounds i8*, i8** %1, i64 18
%93 = load i8*, i8** %92
%94 = call i8* @strcpy(i8* %32, i8* dereferenceable(1) %93)
%95 = mul nsw i32 %73, 100
%96 = sext i32 %95 to i64
%97 = shl nsw i64 %96, 3
%98 = call i8* @malloc(i64 %97)
%99 = bitcast i8* %98 to double*
%100 = call i8* @malloc(i64 %97)
%101 = bitcast i8* %100 to double*
%102 = call i8* @malloc(i64 %97)
%103 = bitcast i8* %102 to double*
%104 = call i8* @malloc(i64 %97)
%105 = bitcast i8* %104 to double*
%106 = call i8* @malloc(i64 %97)
%107 = bitcast i8* %106 to double*
%108 = add nsw i32 %73, -1
%109 = mul nsw i32 %108, %70
%110 = sext i32 %109 to i64
%111 = shl nsw i64 %110, 3
%112 = call i8* @malloc(i64 %111)
%113 = bitcast i8* %112 to double*
%114 = mul nsw i32 %73, %70
%115 = sext i32 %114 to i64
%116 = shl nsw i64 %115, 3
%117 = call i8* @malloc(i64 %116)
%118 = bitcast i8* %117 to double*
%119 = shl nsw i32 %70, 1
%120 = sext i32 %119 to i64
%121 = shl nsw i64 %120, 3
%122 = call i8* @malloc(i64 %121)
%123 = bitcast i8* %122 to double*
%124 = call dereferenceable_or_null(1600) i8* @malloc(i64 1600)
%125 = bitcast i8* %124 to double*
%126 = mul nsw i32 %70, 100
%127 = sext i32 %126 to i64
%128 = shl nsw i64 %127, 2
%129 = call i8* @malloc(i64 %128)
%130 = bitcast i8* %129 to float*
%131 = call i8* @malloc(i64 %128)
%132 = bitcast i8* %131 to i32*
%133 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %22, i32 %73, i32 100, double* %101)
%134 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %23, i32 %73, i32 100, double* %103)
%135 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %24, i32 %73, i32 100, double* %107)
%136 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %25, i32 %73, i32 100, double* %105)
%137 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %36, i32 2, i32 100, double* %125)
%138 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %35, i32 2, i32 %70, double* %123)
%139 = call i32 (i8*, i32, i32, float*, ...) bitcast (i32 (...)* @read_data_float to i32 (i8*, i32, i32, float*, ...)*)(i8* %33, i32 %70, i32 100, float* %130)
%140 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @read_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %34, i32 %70, i32 %108, double* %113)
%141 = call i32 (i8*, i32, i32, i32*, ...) bitcast (i32 (...)* @read_data_int to i32 (i8*, i32, i32, i32*, ...)*)(i8* %37, i32 %70, i32 100, i32* %132)
%142 = call i32 (double*, double*, double*, i32, i32, i32, ...) bitcast (i32 (...)* @zscore_calc to i32 (double*, double*, double*, i32, i32, i32, ...)*)(double* %99, double* %101, double* %103, i32 100, i32 10, i32 %73)
%143 = call i32 (i8*, i32, double*, i32, i32, i32, ...) bitcast (i32 (...)* @write_zscore_double to i32 (i8*, i32, double*, i32, i32, i32, ...)*)(i8* %26, i32 100, double* %99, i32 %108, i32 1, i32 0)
%144 = call i32 (double*, double*, double*, i32, i32, i32, ...) bitcast (i32 (...)* @zscore_calc to i32 (double*, double*, double*, i32, i32, i32, ...)*)(double* %99, double* %101, double* %103, i32 100, i32 10, i32 %73)
%145 = call i32 (i8*, i32, double*, i32, i32, i32, ...) bitcast (i32 (...)* @write_zscore_double to i32 (i8*, i32, double*, i32, i32, i32, ...)*)(i8* %27, i32 100, double* %99, i32 %73, i32 0, i32 0)
%146 = call i32 (double*, double*, i32, ...) bitcast (i32 (...)* @update_sum to i32 (double*, double*, i32, ...)*)(double* %105, double* %101, i32 %95)
%147 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @write_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %30, i32 %73, i32 100, double* %101)
%148 = call i32 (double*, double*, i32, ...) bitcast (i32 (...)* @update_sum2 to i32 (double*, double*, i32, ...)*)(double* %105, double* %103, i32 %95)
%149 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @write_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %31, i32 %73, i32 100, double* %103)
%150 = call i32 (double*, double*, i32, i32, ...) bitcast (i32 (...)* @update_mean to i32 (double*, double*, i32, i32, ...)*)(double* %105, double* %107, i32 %95, i32 10)
%151 = call i32 (i8*, i32, i32, double*, ...) bitcast (i32 (...)* @write_data_double to i32 (i8*, i32, i32, double*, ...)*)(i8* %32, i32 %73, i32 100, double* %107)
%152 = call i32 (double*, i32, i32, double*, i32, i32, ...) bitcast (i32 (...)* @modify_C to i32 (double*, i32, i32, double*, i32, i32, ...)*)(double* %113, i32 %70, i32 %108, double* %118, i32 0, i32 1)
%153 = call i32 (float*, double*, double*, double*, double*, i32, i32, i32, i32, double*, i32, ...) bitcast (i32 (...)* @var_data to i32 (float*, double*, double*, double*, double*, i32, i32, i32, i32, double*, i32, ...)*)(float* %130, double* %123, double* %125, double* %118, double* %105, i32 %70, i32 100, i32 2, i32 %73, double* %20, i32 1)
%154 = sitofp i32 %153 to double
%155 = load double, double* %20
%156 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), double %154, double %155)
%157 = call i32 (float*, double*, double*, double*, double*, i32, i32, i32, i32, double*, i32, ...) bitcast (i32 (...)* @var_data to i32 (float*, double*, double*, double*, double*, i32, i32, i32, i32, double*, i32, ...)*)(float* %130, double* %123, double* %125, double* %118, double* %105, i32 %70, i32 100, i32 2, i32 %73, double* %21, i32 2)
%158 = sitofp i32 %157 to double
%159 = load double, double* %21
%160 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), double %158, double %159)
%161 = load double, double* %20
%162 = call i32 (double*, i32, double, double, ...) bitcast (i32 (...)* @update_deviance to i32 (double*, i32, double, double, ...)*)(double* %19, i32 10, double %154, double %161)
%163 = load double, double* %19
%164 = call i32 (i8*, double, double, ...) bitcast (i32 (...)* @write_DIC to i32 (i8*, double, double, ...)*)(i8* %28, double %163, double 1.000000e+00)
%165 = call i32 (float*, double*, double*, double*, double*, i32*, i32, i32, i32, i32, ...) bitcast (i32 (...)* @inputation_lfmm to i32 (float*, double*, double*, double*, double*, i32*, i32, i32, i32, i32, ...)*)(float* %130, double* %123, double* %125, double* %118, double* %105, i32* %132, i32 %70, i32 100, i32 2, i32 %73)
%166 = call i32 (i8*, i32, i32, float*, ...) bitcast (i32 (...)* @write_data_float to i32 (i8*, i32, i32, float*, ...)*)(i8* %29, i32 %70, i32 100, float* %130)
ret i32 0
}