#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int EXIT_SUCCESS;
float mean_coverage1(char *, char **, int);
float mean_coverage2(char *, char *, char **, int);
float mean_coverage3(char *, char *, char *, char **, int);
float mean_coverage4(char *, char *, char *, char *, char **, int);
int /*<<< orphan*/ printf(char *, char *, ...);
int main(int argc, char **argv) {
  char *opnames[] = {"ebr", "ibr", "mser", "sfop"};
  int nopnames = 4;
  char *imsets[] = {"bark", "bikes", "boat", "graf",
                    "leuv", "trees", "ubc",  "wall"};
  int nimsets = 8;
  int i1, i2, i3, i4;
  float mc;
  for (i1 = 0; i1 < nopnames; i1++) {
    mc = mean_coverage1(opnames[i1], imsets, nimsets);
    printf("%s: %f\n", opnames[i1], mc);
  }
  for (i1 = 0; i1 < nopnames; i1++) {
    for (i2 = i1 + 1; i2 < nopnames; i2++) {
      mc = mean_coverage2(opnames[i1], opnames[i2], imsets, nimsets);
      printf("%s + %s: %f\n", opnames[i1], opnames[i2], mc);
    }
  }
  for (i1 = 0; i1 < nopnames; i1++) {
    for (i2 = i1 + 1; i2 < nopnames; i2++) {
      for (i3 = i2 + 1; i3 < nopnames; i3++) {
        mc = mean_coverage3(opnames[i1], opnames[i2], opnames[i3], imsets,
                            nimsets);
        printf("%s + %s + %s: %f\n", opnames[i1], opnames[i2], opnames[i3], mc);
      }
    }
  }
  for (i1 = 0; i1 < nopnames; i1++) {
    for (i2 = i1 + 1; i2 < nopnames; i2++) {
      for (i3 = i2 + 1; i3 < nopnames; i3++) {
        for (i4 = i3 + 1; i4 < nopnames; i4++) {
          mc = mean_coverage4(opnames[i1], opnames[i2], opnames[i3],
                              opnames[i4], imsets, nimsets);
          printf("%s + %s + %s + %s: %f\n", opnames[i1], opnames[i2],
                 opnames[i3], opnames[i4], mc);
        }
      }
    }
  }
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2c30(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0x2c2d(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0x2c2a(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0x2c27(%rip),%rax
mov    %rax,-0x18(%rbp)
movl   $0x4,-0x34(%rbp)
lea    -0x80(%rbp),%rdi
lea    0x2c19(%rip),%rsi
mov    $0x40,%edx
call   1060 <memcpy@plt>
movl   $0x8,-0x84(%rbp)
movl   $0x0,-0x88(%rbp)
mov    -0x88(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    1241 <main+0xe1>
movslq -0x88(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rdi
lea    -0x80(%rbp),%rsi
mov    -0x84(%rbp),%edx
call   1070 <mean_coverage1@plt>
movss  %xmm0,-0x98(%rbp)
ff
movslq -0x88(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rsi
movss  -0x98(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
lea    0xe24(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
jmp    11d5 <main+0x75>
movl   $0x0,-0x88(%rbp)
mov    -0x88(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    1306 <main+0x1a6>
mov    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
mov    -0x8c(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    12ed <main+0x18d>
movslq -0x88(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rdi
movslq -0x8c(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rsi
lea    -0x80(%rbp),%rdx
mov    -0x84(%rbp),%ecx
call   1040 <mean_coverage2@plt>
movss  %xmm0,-0x98(%rbp)
ff
movslq -0x88(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rsi
movslq -0x8c(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rdx
movss  -0x98(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
lea    0xd73(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    1269 <main+0x109>
jmp    12f2 <main+0x192>
mov    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
jmp    124b <main+0xeb>
movl   $0x0,-0x88(%rbp)
mov    -0x88(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    141b <main+0x2bb>
mov    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
mov    -0x8c(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    1402 <main+0x2a2>
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x90(%rbp)
mov    -0x90(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    13e9 <main+0x289>
movslq -0x88(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rdi
movslq -0x8c(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rsi
movslq -0x90(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rdx
lea    -0x80(%rbp),%rcx
mov    -0x84(%rbp),%r8d
call   1080 <mean_coverage3@plt>
movss  %xmm0,-0x98(%rbp)
ff
movslq -0x88(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rsi
movslq -0x8c(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rdx
movslq -0x90(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rcx
movss  -0x98(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
lea    0xc72(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x90(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x90(%rbp)
jmp    134c <main+0x1ec>
jmp    13ee <main+0x28e>
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    132e <main+0x1ce>
jmp    1407 <main+0x2a7>
mov    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
jmp    1310 <main+0x1b0>
movl   $0x0,-0x88(%rbp)
mov    -0x88(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    157f <main+0x41f>
mov    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
mov    -0x8c(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    1566 <main+0x406>
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x90(%rbp)
mov    -0x90(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    154d <main+0x3ed>
mov    -0x90(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
mov    -0x94(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    1534 <main+0x3d4>
movslq -0x88(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rdi
movslq -0x8c(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rsi
movslq -0x90(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rdx
movslq -0x94(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rcx
lea    -0x80(%rbp),%r8
mov    -0x84(%rbp),%r9d
call   1050 <mean_coverage4@plt>
movss  %xmm0,-0x98(%rbp)
ff
movslq -0x88(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rsi
movslq -0x8c(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rdx
movslq -0x90(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rcx
movslq -0x94(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%r8
movss  -0x98(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
lea    0xb22(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    147f <main+0x31f>
jmp    1539 <main+0x3d9>
mov    -0x90(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x90(%rbp)
jmp    1461 <main+0x301>
jmp    1552 <main+0x3f2>
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    1443 <main+0x2e3>
jmp    156b <main+0x40b>
mov    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
jmp    1425 <main+0x2c5>
mov    0x2a52(%rip),%rax
mov    (%rax),%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
movaps 0x2c9b(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0x2c7f(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0x2c63(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0x2c47(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
lea    0xe6b(%rip),%r14
lea    0x10(%rsp),%rbx
mov    %r14,%rdi
mov    %rbx,%rsi
mov    $0x8,%edx
call   1060 <mean_coverage1@plt>
cvtss2sd %xmm0,%xmm0
lea    0xe95(%rip),%rbp
mov    %rbp,%rdi
mov    %r14,%rsi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xe3b(%rip),%r15
mov    %r15,%rdi
mov    %rbx,%rsi
mov    $0x8,%edx
call   1060 <mean_coverage1@plt>
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    %r15,%rsi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xe17(%rip),%r12
mov    %r12,%rdi
mov    %rbx,%rsi
mov    $0x8,%edx
call   1060 <mean_coverage1@plt>
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    %r12,%rsi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xdf4(%rip),%r13
mov    %r13,%rdi
mov    %rbx,%rsi
mov    $0x8,%edx
call   1060 <mean_coverage1@plt>
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    %r13,%rsi
mov    $0x1,%al
call   1030 <printf@plt>
mov    %r14,%rdi
mov    %r15,%rsi
mov    %rbx,%rdx
mov    $0x8,%ecx
call   1040 <mean_coverage2@plt>
cvtss2sd %xmm0,%xmm0
lea    0xded(%rip),%rbp
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x1,%al
call   1030 <printf@plt>
mov    %r14,%rdi
mov    %r12,%rsi
mov    %rbx,%rdx
mov    $0x8,%ecx
call   1040 <mean_coverage2@plt>
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r12,%rdx
mov    $0x1,%al
call   1030 <printf@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %rbx,%rdx
mov    $0x8,%ecx
call   1040 <mean_coverage2@plt>
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r13,%rdx
mov    $0x1,%al
call   1030 <printf@plt>
mov    %r15,%rdi
mov    %r12,%rsi
mov    %rbx,%rdx
mov    $0x8,%ecx
call   1040 <mean_coverage2@plt>
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    %r15,%rsi
mov    %r12,%rdx
mov    $0x1,%al
call   1030 <printf@plt>
mov    %r15,%rdi
mov    %r13,%rsi
mov    %rbx,%rdx
mov    $0x8,%ecx
call   1040 <mean_coverage2@plt>
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
mov    $0x1,%al
call   1030 <printf@plt>
mov    %r12,%rdi
mov    %r13,%rsi
mov    %rbx,%rdx
mov    $0x8,%ecx
call   1040 <mean_coverage2@plt>
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    $0x1,%al
call   1030 <printf@plt>
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r12,%rdx
mov    %rbx,%rcx
mov    $0x8,%r8d
call   1070 <mean_coverage3@plt>
cvtss2sd %xmm0,%xmm0
lea    0xcf3(%rip),%rbp
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r15,%rdx
mov    %r12,%rcx
mov    $0x1,%al
call   1030 <printf@plt>
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
mov    %rbx,%rcx
mov    $0x8,%r8d
call   1070 <mean_coverage3@plt>
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r15,%rdx
mov    %r13,%rcx
mov    $0x1,%al
call   1030 <printf@plt>
mov    %r14,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbx,%rcx
mov    $0x8,%r8d
call   1070 <mean_coverage3@plt>
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r12,%rdx
mov    %r13,%rcx
mov    $0x1,%al
call   1030 <printf@plt>
mov    %r15,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbx,%rcx
mov    $0x8,%r8d
call   1070 <mean_coverage3@plt>
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    %r15,%rsi
mov    %r12,%rdx
mov    %r13,%rcx
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
lea    0x29bd(%rip),%r14
jmp    140e <main+0x2be>
cs nopw 0x0(%rax,%rax,1)
nop
mov    (%rsp),%rax
cmp    $0x4,%rax
je     14a1 <main+0x351>
mov    %rax,%rcx
add    $0x1,%rax
mov    %rax,(%rsp)
mov    %rcx,%r15
mov    %rcx,%rax
mov    %rcx,0x8(%rsp)
cmp    $0x2,%rcx
jbe    1436 <main+0x2e6>
jmp    1400 <main+0x2b0>
nopl   0x0(%rax)
cmp    $0x3,%r15
je     1400 <main+0x2b0>
mov    %r15,%rax
add    $0x1,%r15
cmp    $0x2,%r15
ja     1430 <main+0x2e0>
lea    0x2(%rax),%rcx
cmp    $0x2,%rcx
ja     1430 <main+0x2e0>
mov    0x8(%rsp),%rcx
mov    (%r14,%rcx,8),%rbx
mov    0x8(%r14,%rax,8),%rbp
mov    0x10(%r14,%rax,8),%r12
mov    0x18(%r14,%rax,8),%r13
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %r12,%rdx
mov    %r13,%rcx
lea    0x10(%rsp),%r8
mov    $0x8,%r9d
call   1050 <mean_coverage4@plt>
cvtss2sd %xmm0,%xmm0
lea    0xbaf(%rip),%rdi
mov    %rbx,%rsi
mov    %rbp,%rdx
mov    %r12,%rcx
mov    %r13,%r8
mov    $0x1,%al
call   1030 <printf@plt>
jmp    1430 <main+0x2e0>
mov    0x2b30(%rip),%rax
mov    (%rax),%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [4 x i8] c"ebr\00"
@.str.1 = [4 x i8] c"ibr\00"
@.str.2 = [5 x i8] c"mser\00"
@.str.3 = [5 x i8] c"sfop\00"
@__const.main.opnames = [4 x i8*] [i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i32 0, i32 0)]
@.str.4 = [5 x i8] c"bark\00"
@.str.5 = [6 x i8] c"bikes\00"
@.str.6 = [5 x i8] c"boat\00"
@.str.7 = [5 x i8] c"graf\00"
@.str.8 = [5 x i8] c"leuv\00"
@.str.9 = [6 x i8] c"trees\00"
@.str.10 = [4 x i8] c"ubc\00"
@.str.11 = [5 x i8] c"wall\00"
@__const.main.imsets = [8 x i8*] [i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i32 0, i32 0)]
@.str.12 = [8 x i8] c"%s: %f\0A\00"
@.str.13 = [13 x i8] c"%s + %s: %f\0A\00"
@.str.14 = [18 x i8] c"%s + %s + %s: %f\0A\00"
@.str.15 = [23 x i8] c"%s + %s + %s + %s: %f\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [4 x i8*]
%7 = alloca i32
%8 = alloca [8 x i8*]
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca float
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%15 = bitcast [4 x i8*]* %6 to i8*
store i32 4, i32* %7
%16 = bitcast [8 x i8*]* %8 to i8*
store i32 8, i32* %9
store i32 0, i32* %10
br label %17
17: ; preds = %36, %2
%18 = load i32, i32* %10
%19 = load i32, i32* %7
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %39
21: ; preds = %17
%22 = load i32, i32* %10
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %23
%25 = load i8*, i8** %24
%26 = getelementptr inbounds [8 x i8*], [8 x i8*]* %8, i64 0, i64 0
%27 = load i32, i32* %9
%28 = call float @mean_coverage1(i8* %25, i8** %26, i32 %27)
store float %28, float* %14
%29 = load i32, i32* %10
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %30
%32 = load i8*, i8** %31
%33 = load float, float* %14
%34 = fpext float %33 to double
%35 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i8* %32, double %34)
br label %36
36: ; preds = %21
%37 = load i32, i32* %10
%38 = add nsw i32 %37, 1
store i32 %38, i32* %10
br label %17
39: ; preds = %17
store i32 0, i32* %10
br label %40
40: ; preds = %78, %39
%41 = load i32, i32* %10
%42 = load i32, i32* %7
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %81
44: ; preds = %40
%45 = load i32, i32* %10
%46 = add nsw i32 %45, 1
store i32 %46, i32* %11
br label %47
47: ; preds = %74, %44
%48 = load i32, i32* %11
%49 = load i32, i32* %7
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %77
51: ; preds = %47
%52 = load i32, i32* %10
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %53
%55 = load i8*, i8** %54
%56 = load i32, i32* %11
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %57
%59 = load i8*, i8** %58
%60 = getelementptr inbounds [8 x i8*], [8 x i8*]* %8, i64 0, i64 0
%61 = load i32, i32* %9
%62 = call float @mean_coverage2(i8* %55, i8* %59, i8** %60, i32 %61)
store float %62, float* %14
%63 = load i32, i32* %10
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %64
%66 = load i8*, i8** %65
%67 = load i32, i32* %11
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %68
%70 = load i8*, i8** %69
%71 = load float, float* %14
%72 = fpext float %71 to double
%73 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), i8* %66, i8* %70, double %72)
br label %74
74: ; preds = %51
%75 = load i32, i32* %11
%76 = add nsw i32 %75, 1
store i32 %76, i32* %11
br label %47
77: ; preds = %47
br label %78
78: ; preds = %77
%79 = load i32, i32* %10
%80 = add nsw i32 %79, 1
store i32 %80, i32* %10
br label %40
81: ; preds = %40
store i32 0, i32* %10
br label %82
82: ; preds = %139, %81
%83 = load i32, i32* %10
%84 = load i32, i32* %7
%85 = icmp slt i32 %83, %84
br i1 %85, label %86, label %142
86: ; preds = %82
%87 = load i32, i32* %10
%88 = add nsw i32 %87, 1
store i32 %88, i32* %11
br label %89
89: ; preds = %135, %86
%90 = load i32, i32* %11
%91 = load i32, i32* %7
%92 = icmp slt i32 %90, %91
br i1 %92, label %93, label %138
93: ; preds = %89
%94 = load i32, i32* %11
%95 = add nsw i32 %94, 1
store i32 %95, i32* %12
br label %96
96: ; preds = %131, %93
%97 = load i32, i32* %12
%98 = load i32, i32* %7
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %134
100: ; preds = %96
%101 = load i32, i32* %10
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %102
%104 = load i8*, i8** %103
%105 = load i32, i32* %11
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %106
%108 = load i8*, i8** %107
%109 = load i32, i32* %12
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %110
%112 = load i8*, i8** %111
%113 = getelementptr inbounds [8 x i8*], [8 x i8*]* %8, i64 0, i64 0
%114 = load i32, i32* %9
%115 = call float @mean_coverage3(i8* %104, i8* %108, i8* %112, i8** %113, i32 %114)
store float %115, float* %14
%116 = load i32, i32* %10
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %117
%119 = load i8*, i8** %118
%120 = load i32, i32* %11
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %121
%123 = load i8*, i8** %122
%124 = load i32, i32* %12
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %125
%127 = load i8*, i8** %126
%128 = load float, float* %14
%129 = fpext float %128 to double
%130 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.14, i64 0, i64 0), i8* %119, i8* %123, i8* %127, double %129)
br label %131
131: ; preds = %100
%132 = load i32, i32* %12
%133 = add nsw i32 %132, 1
store i32 %133, i32* %12
br label %96
134: ; preds = %96
br label %135
135: ; preds = %134
%136 = load i32, i32* %11
%137 = add nsw i32 %136, 1
store i32 %137, i32* %11
br label %89
138: ; preds = %89
br label %139
139: ; preds = %138
%140 = load i32, i32* %10
%141 = add nsw i32 %140, 1
store i32 %141, i32* %10
br label %82
142: ; preds = %82
store i32 0, i32* %10
br label %143
143: ; preds = %219, %142
%144 = load i32, i32* %10
%145 = load i32, i32* %7
%146 = icmp slt i32 %144, %145
br i1 %146, label %147, label %222
147: ; preds = %143
%148 = load i32, i32* %10
%149 = add nsw i32 %148, 1
store i32 %149, i32* %11
br label %150
150: ; preds = %215, %147
%151 = load i32, i32* %11
%152 = load i32, i32* %7
%153 = icmp slt i32 %151, %152
br i1 %153, label %154, label %218
154: ; preds = %150
%155 = load i32, i32* %11
%156 = add nsw i32 %155, 1
store i32 %156, i32* %12
br label %157
157: ; preds = %211, %154
%158 = load i32, i32* %12
%159 = load i32, i32* %7
%160 = icmp slt i32 %158, %159
br i1 %160, label %161, label %214
161: ; preds = %157
%162 = load i32, i32* %12
%163 = add nsw i32 %162, 1
store i32 %163, i32* %13
br label %164
164: ; preds = %207, %161
%165 = load i32, i32* %13
%166 = load i32, i32* %7
%167 = icmp slt i32 %165, %166
br i1 %167, label %168, label %210
168: ; preds = %164
%169 = load i32, i32* %10
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %170
%172 = load i8*, i8** %171
%173 = load i32, i32* %11
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %174
%176 = load i8*, i8** %175
%177 = load i32, i32* %12
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %178
%180 = load i8*, i8** %179
%181 = load i32, i32* %13
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %182
%184 = load i8*, i8** %183
%185 = getelementptr inbounds [8 x i8*], [8 x i8*]* %8, i64 0, i64 0
%186 = load i32, i32* %9
%187 = call float @mean_coverage4(i8* %172, i8* %176, i8* %180, i8* %184, i8** %185, i32 %186)
store float %187, float* %14
%188 = load i32, i32* %10
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %189
%191 = load i8*, i8** %190
%192 = load i32, i32* %11
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %193
%195 = load i8*, i8** %194
%196 = load i32, i32* %12
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %197
%199 = load i8*, i8** %198
%200 = load i32, i32* %13
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds [4 x i8*], [4 x i8*]* %6, i64 0, i64 %201
%203 = load i8*, i8** %202
%204 = load float, float* %14
%205 = fpext float %204 to double
%206 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.15, i64 0, i64 0), i8* %191, i8* %195, i8* %199, i8* %203, double %205)
br label %207
207: ; preds = %168
%208 = load i32, i32* %13
%209 = add nsw i32 %208, 1
store i32 %209, i32* %13
br label %164
210: ; preds = %164
br label %211
211: ; preds = %210
%212 = load i32, i32* %12
%213 = add nsw i32 %212, 1
store i32 %213, i32* %12
br label %157
214: ; preds = %157
br label %215
215: ; preds = %214
%216 = load i32, i32* %11
%217 = add nsw i32 %216, 1
store i32 %217, i32* %11
br label %150
218: ; preds = %150
br label %219
219: ; preds = %218
%220 = load i32, i32* %10
%221 = add nsw i32 %220, 1
store i32 %221, i32* %10
br label %143
222: ; preds = %143
%223 = load i32, i32* @EXIT_SUCCESS
ret i32 %223
}

LLVM IR (-O2):
@.str = [4 x i8] c"ebr\00"
@.str.1 = [4 x i8] c"ibr\00"
@.str.2 = [5 x i8] c"mser\00"
@.str.3 = [5 x i8] c"sfop\00"
@__const.main.opnames = [4 x i8*] [i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i32 0, i32 0)]
@.str.4 = [5 x i8] c"bark\00"
@.str.5 = [6 x i8] c"bikes\00"
@.str.6 = [5 x i8] c"boat\00"
@.str.7 = [5 x i8] c"graf\00"
@.str.8 = [5 x i8] c"leuv\00"
@.str.9 = [6 x i8] c"trees\00"
@.str.10 = [4 x i8] c"ubc\00"
@.str.11 = [5 x i8] c"wall\00"
@__const.main.imsets = [8 x i8*] [i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i32 0, i32 0)]
@.str.12 = [8 x i8] c"%s: %f\0A\00"
@.str.13 = [13 x i8] c"%s + %s: %f\0A\00"
@.str.14 = [18 x i8] c"%s + %s + %s: %f\0A\00"
@.str.15 = [23 x i8] c"%s + %s + %s + %s: %f\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [8 x i8*]
%4 = bitcast [8 x i8*]* %3 to i8*
%5 = getelementptr inbounds [8 x i8*], [8 x i8*]* %3, i64 0, i64 0
%6 = call float @mean_coverage1(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8** %5, i32 8)
%7 = fpext float %6 to double
%8 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double %7)
%9 = call float @mean_coverage1(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8** %5, i32 8)
%10 = fpext float %9 to double
%11 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %10)
%12 = call float @mean_coverage1(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8** %5, i32 8)
%13 = fpext float %12 to double
%14 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %13)
%15 = call float @mean_coverage1(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8** %5, i32 8)
%16 = fpext float %15 to double
%17 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %16)
%18 = call float @mean_coverage2(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8** %5, i32 8)
%19 = fpext float %18 to double
%20 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %19)
%21 = call float @mean_coverage2(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8** %5, i32 8)
%22 = fpext float %21 to double
%23 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %22)
%24 = call float @mean_coverage2(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8** %5, i32 8)
%25 = fpext float %24 to double
%26 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %25)
%27 = call float @mean_coverage2(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8** %5, i32 8)
%28 = fpext float %27 to double
%29 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %28)
%30 = call float @mean_coverage2(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8** %5, i32 8)
%31 = fpext float %30 to double
%32 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %31)
%33 = call float @mean_coverage2(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8** %5, i32 8)
%34 = fpext float %33 to double
%35 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %34)
%36 = call float @mean_coverage3(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8** %5, i32 8)
%37 = fpext float %36 to double
%38 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %37)
%39 = call float @mean_coverage3(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8** %5, i32 8)
%40 = fpext float %39 to double
%41 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %40)
%42 = call float @mean_coverage3(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8** %5, i32 8)
%43 = fpext float %42 to double
%44 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %43)
%45 = call float @mean_coverage3(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8** %5, i32 8)
%46 = fpext float %45 to double
%47 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %46)
br label %53
48: ; preds = %62, %53
%49 = add nuw nsw i64 %57, 1
%50 = add nuw nsw i64 %56, 1
%51 = add nuw nsw i64 %55, 1
%52 = icmp eq i64 %58, 4
br i1 %52, label %85, label %53
53: ; preds = %2, %48
%54 = phi i64 [ 0, %2 ], [ %58, %48 ]
%55 = phi i64 [ 1, %2 ], [ %51, %48 ]
%56 = phi i64 [ 2, %2 ], [ %50, %48 ]
%57 = phi i64 [ 3, %2 ], [ %49, %48 ]
%58 = add nuw nsw i64 %54, 1
%59 = icmp ult i64 %54, 3
br i1 %59, label %60, label %48
60: ; preds = %53
%61 = getelementptr inbounds [4 x i8*], [4 x i8*]* @__const.main.opnames, i64 0, i64 %54
br label %66
62: ; preds = %74, %66
%63 = add nuw nsw i64 %69, 1
%64 = add nuw nsw i64 %68, 1
%65 = icmp eq i64 %70, 4
br i1 %65, label %48, label %66
66: ; preds = %60, %62
%67 = phi i64 [ %55, %60 ], [ %70, %62 ]
%68 = phi i64 [ %56, %60 ], [ %64, %62 ]
%69 = phi i64 [ %57, %60 ], [ %63, %62 ]
%70 = add nuw nsw i64 %67, 1
%71 = icmp ult i64 %67, 3
%72 = icmp ult i64 %68, 3
%73 = select i1 %71, i1 %72, i1 false
br i1 %73, label %74, label %62
74: ; preds = %66
%75 = getelementptr inbounds [4 x i8*], [4 x i8*]* @__const.main.opnames, i64 0, i64 %67
%76 = load i8*, i8** %61
%77 = load i8*, i8** %75
%78 = getelementptr inbounds [4 x i8*], [4 x i8*]* @__const.main.opnames, i64 0, i64 %68
%79 = load i8*, i8** %78
%80 = getelementptr inbounds [4 x i8*], [4 x i8*]* @__const.main.opnames, i64 0, i64 %69
%81 = load i8*, i8** %80
%82 = call float @mean_coverage4(i8* %76, i8* %77, i8* %79, i8* %81, i8** %5, i32 8)
%83 = fpext float %82 to double
%84 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.15, i64 0, i64 0), i8* %76, i8* %77, i8* %79, i8* %81, double %83)
br label %62
85: ; preds = %48
%86 = load i32, i32* @EXIT_SUCCESS
ret i32 %86
}