int main(int argc, char **argv) {
  char filename[200];
  int i;
  printf("\n");
  char SKLmodels[4][30] = {"RandomForest", "AdaBoost", "SupportVectorMachine",
                           "NeuralNetwork"};
  for (i = 0; i < 4; i++) {
    strcpy(filename, "../models/");
    strcat(filename, SKLmodels[i]);
    strcat(filename, "_predictionsKS.txt");
    printf("%s\t", SKLmodels[i]);
    if (i == 2)
      printf("\t");
    SciKitLearnKStest(filename);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x160,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xe90(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x160(%rbp),%rdi
lea    0xeab(%rip),%rsi
mov    $0x78,%edx
call   1050 <memcpy@plt>
movl   $0x0,-0xe4(%rbp)
cmpl   $0x4,-0xe4(%rbp)
jge    124d <main+0xfd>
lea    -0xe0(%rbp),%rdi
lea    0xe4e(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0xe0(%rbp),%rdi
movslq -0xe4(%rbp),%rax
lea    -0x160(%rbp),%rsi
imul   $0x1e,%rax,%rax
add    %rax,%rsi
call   1070 <strcat@plt>
lea    -0xe0(%rbp),%rdi
lea    0xe25(%rip),%rsi
call   1070 <strcat@plt>
movslq -0xe4(%rbp),%rax
lea    -0x160(%rbp),%rsi
imul   $0x1e,%rax,%rax
add    %rax,%rsi
lea    0xe17(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x2,-0xe4(%rbp)
jne    122b <main+0xdb>
lea    0xdfe(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0xe0(%rbp),%rdi
mov    $0x0,%al
call   1060 <SciKitLearnKStest@plt>
mov    -0xe4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe4(%rbp)
jmp    1199 <main+0x49>
xor    %eax,%eax
add    $0x160,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x148,%rsp
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0xf01(%rip),%rax
mov    %rax,0x70(%rsp)
movaps 0xee5(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xec9(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xead(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xe91(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xe75(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xe59(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xe3d(%rip),%xmm0
movaps %xmm0,(%rsp)
movabs $0x6c65646f6d2f2e2e,%r12
64 65 6c
mov    %r12,0x80(%rsp)
movl   $0x2f736c,0x87(%rsp)
lea    0x80(%rsp),%rbx
mov    %rsp,%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <strcat@plt>
mov    %rbx,%rdi
call   1040 <strlen@plt>
movups 0xe7a(%rip),%xmm0
movups %xmm0,0x80(%rsp,%rax,1)
movl   $0x747874,0x8f(%rsp,%rax,1)
lea    0xe73(%rip),%r14
mov    %r14,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <SciKitLearnKStest@plt>
mov    %r12,0x80(%rsp)
movl   $0x2f736c,0x87(%rsp)
lea    0x1e(%rsp),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <strcat@plt>
mov    %rbx,%rdi
call   1040 <strlen@plt>
movups 0xe17(%rip),%xmm0
movups %xmm0,0x80(%rsp,%rax,1)
movl   $0x747874,0x8f(%rsp,%rax,1)
mov    %r14,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <SciKitLearnKStest@plt>
mov    %r12,0x80(%rsp)
movl   $0x2f736c,0x87(%rsp)
lea    0x3c(%rsp),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <strcat@plt>
mov    %rbx,%rdi
call   1040 <strlen@plt>
movups 0xdbb(%rip),%xmm0
movups %xmm0,0x80(%rsp,%rax,1)
movl   $0x747874,0x8f(%rsp,%rax,1)
mov    %r14,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x9,%edi
call   1030 <putchar@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <SciKitLearnKStest@plt>
mov    %r12,0x80(%rsp)
movl   $0x2f736c,0x87(%rsp)
lea    0x5a(%rsp),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   1070 <strcat@plt>
mov    %rbx,%rdi
call   1040 <strlen@plt>
movups 0xd55(%rip),%xmm0
movups %xmm0,0x80(%rsp,%rax,1)
movl   $0x747874,0x8f(%rsp,%rax,1)
mov    %r14,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <SciKitLearnKStest@plt>
xor    %eax,%eax
add    $0x148,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
@__const.main.SKLmodels = [4 x [30 x i8]] [[30 x i8] c"RandomForest\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [30 x i8] c"AdaBoost\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [30 x i8] c"SupportVectorMachine\00\00\00\00\00\00\00\00\00\00", [30 x i8] c"NeuralNetwork\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"]
@.str.1 = [11 x i8] c"../models/\00"
@.str.2 = [19 x i8] c"_predictionsKS.txt\00"
@.str.3 = [4 x i8] c"%s\09\00"
@.str.4 = [2 x i8] c"\09\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [200 x i8]
%7 = alloca i32
%8 = alloca [4 x [30 x i8]]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%10 = bitcast [4 x [30 x i8]]* %8 to i8*
store i32 0, i32* %7
br label %11
11: ; preds = %37, %2
%12 = load i32, i32* %7
%13 = icmp slt i32 %12, 4
br i1 %13, label %14, label %40
14: ; preds = %11
%15 = getelementptr inbounds [200 x i8], [200 x i8]* %6, i64 0, i64 0
%16 = call i8* @strcpy(i8* %15, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%17 = getelementptr inbounds [200 x i8], [200 x i8]* %6, i64 0, i64 0
%18 = load i32, i32* %7
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [4 x [30 x i8]], [4 x [30 x i8]]* %8, i64 0, i64 %19
%21 = getelementptr inbounds [30 x i8], [30 x i8]* %20, i64 0, i64 0
%22 = call i8* @strcat(i8* %17, i8* %21)
%23 = getelementptr inbounds [200 x i8], [200 x i8]* %6, i64 0, i64 0
%24 = call i8* @strcat(i8* %23, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
%25 = load i32, i32* %7
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [4 x [30 x i8]], [4 x [30 x i8]]* %8, i64 0, i64 %26
%28 = getelementptr inbounds [30 x i8], [30 x i8]* %27, i64 0, i64 0
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %28)
%30 = load i32, i32* %7
%31 = icmp eq i32 %30, 2
br i1 %31, label %32, label %34
32: ; preds = %14
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %34
34: ; preds = %32, %14
%35 = getelementptr inbounds [200 x i8], [200 x i8]* %6, i64 0, i64 0
%36 = call i32 (i8*, ...) bitcast (i32 (...)* @SciKitLearnKStest to i32 (i8*, ...)*)(i8* %35)
br label %37
37: ; preds = %34
%38 = load i32, i32* %7
%39 = add nsw i32 %38, 1
store i32 %39, i32* %7
br label %11
40: ; preds = %11
ret i32 0
}

LLVM IR (-O2):
@__const.main.SKLmodels = [4 x [30 x i8]] [[30 x i8] c"RandomForest\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [30 x i8] c"AdaBoost\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [30 x i8] c"SupportVectorMachine\00\00\00\00\00\00\00\00\00\00", [30 x i8] c"NeuralNetwork\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"]
@.str.1 = [11 x i8] c"../models/\00"
@.str.2 = [19 x i8] c"_predictionsKS.txt\00"
@.str.3 = [4 x i8] c"%s\09\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [200 x i8]
%4 = alloca [4 x [30 x i8]]
%5 = getelementptr inbounds [200 x i8], [200 x i8]* %3, i64 0, i64 0
%6 = tail call i32 @putchar(i32 10)
%7 = getelementptr inbounds [4 x [30 x i8]], [4 x [30 x i8]]* %4, i64 0, i64 0, i64 0
%8 = call i8* @strcat(i8* %5, i8* %7)
%9 = call i64 @strlen(i8* %5)
%10 = getelementptr [200 x i8], [200 x i8]* %3, i64 0, i64 %9
%11 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %7)
%12 = call i32 (i8*, ...) bitcast (i32 (...)* @SciKitLearnKStest to i32 (i8*, ...)*)(i8* %5)
%13 = getelementptr inbounds [4 x [30 x i8]], [4 x [30 x i8]]* %4, i64 0, i64 1, i64 0
%14 = call i8* @strcat(i8* %5, i8* %13)
%15 = call i64 @strlen(i8* %5)
%16 = getelementptr [200 x i8], [200 x i8]* %3, i64 0, i64 %15
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %13)
%18 = call i32 (i8*, ...) bitcast (i32 (...)* @SciKitLearnKStest to i32 (i8*, ...)*)(i8* %5)
%19 = getelementptr inbounds [4 x [30 x i8]], [4 x [30 x i8]]* %4, i64 0, i64 2, i64 0
%20 = call i8* @strcat(i8* %5, i8* %19)
%21 = call i64 @strlen(i8* %5)
%22 = getelementptr [200 x i8], [200 x i8]* %3, i64 0, i64 %21
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %19)
%24 = call i32 @putchar(i32 9)
%25 = call i32 (i8*, ...) bitcast (i32 (...)* @SciKitLearnKStest to i32 (i8*, ...)*)(i8* %5)
%26 = getelementptr inbounds [4 x [30 x i8]], [4 x [30 x i8]]* %4, i64 0, i64 3, i64 0
%27 = call i8* @strcat(i8* %5, i8* %26)
%28 = call i64 @strlen(i8* %5)
%29 = getelementptr [200 x i8], [200 x i8]* %3, i64 0, i64 %28
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %26)
%31 = call i32 (i8*, ...) bitcast (i32 (...)* @SciKitLearnKStest to i32 (i8*, ...)*)(i8* %5)
ret i32 0
}