#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 /*<<< orphan*/ printf(char *, int);
int /*<<< orphan*/ scanf(char *, double *);
int main(void) {
  double notas[10];
  for (int i = 0; i < 10; i++) {
    printf("Digite %d: ", i);
    scanf("%lf", &notas[i]);
  }
  int j = 0, count = 0;
  double soma = 0;
  for (int i = 0; i < 10; i++) {
    if (notas[i] > 5) {
      soma = soma + notas[i];
      count++;
    }
  }
  double media = soma / count;
  int P[10];
  for (int i = 0; i < 10; i++) {
    if (notas[i] >= media) {
      P[j] = i;
      j++;
    }
  }
  printf("%.2lf\n", media);
  for (int i = 0; i < j; i++) {
    printf("%d  ", P[i]);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x64(%rbp)
cmpl   $0xa,-0x64(%rbp)
jge    117b <main+0x5b>
mov    -0x64(%rbp),%esi
lea    0xebb(%rip),%rdi
call   1030 <printf@plt>
movslq -0x64(%rbp),%rax
lea    -0x60(%rbp),%rsi
shl    $0x3,%rax
add    %rax,%rsi
lea    0xeac(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    1139 <main+0x19>
movl   $0x0,-0x68(%rbp)
movl   $0x0,-0x6c(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x78(%rbp)
movl   $0x0,-0x7c(%rbp)
cmpl   $0xa,-0x7c(%rbp)
jge    11ee <main+0xce>
movslq -0x7c(%rbp),%rax
movsd  -0x60(%rbp,%rax,8),%xmm0
movsd  0xe4c(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    11db <main+0xbb>
movsd  -0x78(%rbp),%xmm0
movslq -0x7c(%rbp),%rax
addsd  -0x60(%rbp,%rax,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    11e0 <main+0xc0>
mov    -0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    1198 <main+0x78>
movsd  -0x78(%rbp),%xmm0
cvtsi2sdl -0x6c(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movl   $0x0,-0xb4(%rbp)
cmpl   $0xa,-0xb4(%rbp)
jge    1269 <main+0x149>
movslq -0xb4(%rbp),%rax
movsd  -0x60(%rbp,%rax,8),%xmm0
ucomisd -0x88(%rbp),%xmm0
ff
jb     1250 <main+0x130>
mov    -0xb4(%rbp),%ecx
movslq -0x68(%rbp),%rax
mov    %ecx,-0xb0(%rbp,%rax,4)
mov    -0x68(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x68(%rbp)
jmp    1255 <main+0x135>
mov    -0xb4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb4(%rbp)
jmp    120e <main+0xee>
cvttsd2si -0x88(%rbp),%esi
ff
lea    0xda0(%rip),%rdi
call   1030 <printf@plt>
movl   $0x0,-0xb8(%rbp)
mov    -0xb8(%rbp),%eax
cmp    -0x68(%rbp),%eax
jge    12c4 <main+0x1a4>
movslq -0xb8(%rbp),%rax
mov    -0xb0(%rbp,%rax,4),%esi
lea    0xd74(%rip),%rdi
call   1030 <printf@plt>
mov    -0xb8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb8(%rbp)
jmp    1287 <main+0x167>
mov    -0x4(%rbp),%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x80,%rsp
lea    0xeee(%rip),%r14
xor    %ebp,%ebp
mov    %r14,%rdi
xor    %esi,%esi
call   1030 <printf@plt>
lea    0xee7(%rip),%rbx
lea    0x30(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %r14,%rdi
mov    $0x1,%esi
call   1030 <printf@plt>
lea    0x38(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %r14,%rdi
mov    $0x2,%esi
call   1030 <printf@plt>
lea    0x40(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %r14,%rdi
mov    $0x3,%esi
call   1030 <printf@plt>
lea    0x48(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %r14,%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
lea    0x50(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %r14,%rdi
mov    $0x5,%esi
call   1030 <printf@plt>
lea    0x58(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %r14,%rdi
mov    $0x6,%esi
call   1030 <printf@plt>
lea    0x60(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %r14,%rdi
mov    $0x7,%esi
call   1030 <printf@plt>
lea    0x68(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %r14,%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
lea    0x70(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %r14,%rdi
mov    $0x9,%esi
call   1030 <printf@plt>
lea    0x78(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
movapd 0x30(%rsp),%xmm5
movapd 0x40(%rsp),%xmm13
movapd 0x50(%rsp),%xmm9
movapd 0x60(%rsp),%xmm8
pxor   %xmm0,%xmm0
movapd 0xd9d(%rip),%xmm1
movapd %xmm1,%xmm2
cmpltpd %xmm8,%xmm2
movapd %xmm1,%xmm3
cmpltpd %xmm9,%xmm3
packssdw %xmm2,%xmm3
movapd %xmm1,%xmm2
cmpltpd %xmm13,%xmm2
cmpltpd %xmm5,%xmm1
packssdw %xmm2,%xmm1
packssdw %xmm3,%xmm1
packsswb %xmm1,%xmm1
pmovmskb %xmm1,%eax
test   $0x1,%al
je     12a2 <main+0x182>
addsd  %xmm5,%xmm0
movapd %xmm5,%xmm4
unpckhpd %xmm5,%xmm4
movsd  0xd5d(%rip),%xmm11
movapd %xmm4,%xmm2
test   $0x2,%al
jne    12c0 <main+0x1a0>
movapd %xmm11,%xmm2
addsd  %xmm2,%xmm0
movapd %xmm13,%xmm2
test   $0x4,%al
jne    12d2 <main+0x1b2>
movapd %xmm11,%xmm2
addsd  %xmm2,%xmm0
movapd %xmm13,%xmm3
unpckhpd %xmm13,%xmm3
movapd %xmm3,%xmm2
test   $0x8,%al
jne    12ed <main+0x1cd>
movapd %xmm11,%xmm2
addsd  %xmm2,%xmm0
movapd %xmm9,%xmm2
test   $0x10,%al
jne    12ff <main+0x1df>
movapd %xmm11,%xmm2
addsd  %xmm2,%xmm0
movapd %xmm9,%xmm2
unpckhpd %xmm9,%xmm2
movapd %xmm2,%xmm6
test   $0x20,%al
jne    131a <main+0x1fa>
movapd %xmm11,%xmm6
addsd  %xmm6,%xmm0
movapd %xmm8,%xmm6
test   $0x40,%al
jne    132c <main+0x20c>
movapd %xmm11,%xmm6
addsd  %xmm6,%xmm0
movapd %xmm8,%xmm7
unpckhpd %xmm8,%xmm7
movapd %xmm7,%xmm6
test   $0x80,%al
jne    1347 <main+0x227>
movapd %xmm11,%xmm6
addsd  %xmm6,%xmm0
movsd  0x70(%rsp),%xmm10
movsd  0xcbe(%rip),%xmm6
xor    %ecx,%ecx
ucomisd %xmm6,%xmm10
seta   %cl
movapd %xmm10,%xmm1
ja     1370 <main+0x250>
movapd %xmm11,%xmm1
addsd  %xmm1,%xmm0
movsd  0x78(%rsp),%xmm12
mov    %eax,%edx
shr    %dl
and    $0x55,%dl
sub    %dl,%al
mov    %eax,%edx
and    $0x33,%dl
shr    $0x2,%al
and    $0x33,%al
add    %dl,%al
mov    %eax,%edx
shr    $0x4,%dl
add    %al,%dl
and    $0xf,%dl
movzbl %dl,%eax
add    %ecx,%eax
xor    %ecx,%ecx
ucomisd %xmm6,%xmm12
seta   %cl
movapd %xmm12,%xmm6
ja     13b5 <main+0x295>
movapd %xmm11,%xmm6
add    %ecx,%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
addsd  %xmm6,%xmm0
divsd  %xmm1,%xmm0
ucomisd %xmm0,%xmm5
jae    1448 <main+0x328>
ucomisd %xmm0,%xmm4
jae    145e <main+0x33e>
ucomisd %xmm0,%xmm13
jae    1475 <main+0x355>
ucomisd %xmm0,%xmm3
jae    148b <main+0x36b>
ucomisd %xmm0,%xmm9
jae    14a2 <main+0x382>
ucomisd %xmm0,%xmm2
jae    14b8 <main+0x398>
ucomisd %xmm0,%xmm8
jae    14cf <main+0x3af>
ucomisd %xmm0,%xmm7
jae    14e5 <main+0x3c5>
ucomisd %xmm0,%xmm10
jae    14fc <main+0x3dc>
ucomisd %xmm0,%xmm12
jae    1513 <main+0x3f3>
cvttsd2si %xmm0,%esi
lea    0xbfa(%rip),%rdi
call   1030 <printf@plt>
test   %ebp,%ebp
jne    152f <main+0x40f>
jmp    1554 <main+0x434>
movl   $0x0,(%rsp)
mov    $0x1,%ebp
ucomisd %xmm0,%xmm4
jb     13d6 <main+0x2b6>
mov    %ebp,%eax
movl   $0x1,(%rsp,%rax,4)
add    $0x1,%ebp
ucomisd %xmm0,%xmm13
jb     13e1 <main+0x2c1>
mov    %ebp,%eax
movl   $0x2,(%rsp,%rax,4)
add    $0x1,%ebp
ucomisd %xmm0,%xmm3
jb     13eb <main+0x2cb>
mov    %ebp,%eax
movl   $0x3,(%rsp,%rax,4)
add    $0x1,%ebp
ucomisd %xmm0,%xmm9
jb     13f6 <main+0x2d6>
mov    %ebp,%eax
movl   $0x4,(%rsp,%rax,4)
add    $0x1,%ebp
ucomisd %xmm0,%xmm2
jb     1400 <main+0x2e0>
mov    %ebp,%eax
movl   $0x5,(%rsp,%rax,4)
add    $0x1,%ebp
ucomisd %xmm0,%xmm8
jb     140b <main+0x2eb>
mov    %ebp,%eax
movl   $0x6,(%rsp,%rax,4)
add    $0x1,%ebp
ucomisd %xmm0,%xmm7
jb     1415 <main+0x2f5>
mov    %ebp,%eax
movl   $0x7,(%rsp,%rax,4)
add    $0x1,%ebp
ucomisd %xmm0,%xmm10
jb     1420 <main+0x300>
mov    %ebp,%eax
movl   $0x8,(%rsp,%rax,4)
add    $0x1,%ebp
ucomisd %xmm0,%xmm12
jb     142b <main+0x30b>
mov    %ebp,%eax
movl   $0x9,(%rsp,%rax,4)
add    $0x1,%ebp
cvttsd2si %xmm0,%esi
lea    0xb06(%rip),%rdi
call   1030 <printf@plt>
mov    %ebp,%ebp
xor    %ebx,%ebx
lea    0xafd(%rip),%r14
nopw   0x0(%rax,%rax,1)
mov    (%rsp,%rbx,4),%esi
mov    %r14,%rdi
call   1030 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%rbp
jne    1540 <main+0x420>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [12 x i8] c"Digite %d: \00"
@.str.1 = [4 x i8] c"%lf\00"
@.str.2 = [7 x i8] c"%.2lf\0A\00"
@.str.3 = [5 x i8] c"%d \00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [10 x double]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca double
%7 = alloca i32
%8 = alloca double
%9 = alloca [10 x i32]
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %3
br label %12
12: ; preds = %22, %0
%13 = load i32, i32* %3
%14 = icmp slt i32 %13, 10
br i1 %14, label %15, label %25
15: ; preds = %12
%16 = load i32, i32* %3
%17 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 %16)
%18 = load i32, i32* %3
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %19
%21 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %20)
br label %22
22: ; preds = %15
%23 = load i32, i32* %3
%24 = add nsw i32 %23, 1
store i32 %24, i32* %3
br label %12
25: ; preds = %12
store i32 0, i32* %4
store i32 0, i32* %5
store double 0.000000e+00, double* %6
store i32 0, i32* %7
br label %26
26: ; preds = %45, %25
%27 = load i32, i32* %7
%28 = icmp slt i32 %27, 10
br i1 %28, label %29, label %48
29: ; preds = %26
%30 = load i32, i32* %7
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %31
%33 = load double, double* %32
%34 = fcmp ogt double %33, 5.000000e+00
br i1 %34, label %35, label %44
35: ; preds = %29
%36 = load double, double* %6
%37 = load i32, i32* %7
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %38
%40 = load double, double* %39
%41 = fadd double %36, %40
store double %41, double* %6
%42 = load i32, i32* %5
%43 = add nsw i32 %42, 1
store i32 %43, i32* %5
br label %44
44: ; preds = %35, %29
br label %45
45: ; preds = %44
%46 = load i32, i32* %7
%47 = add nsw i32 %46, 1
store i32 %47, i32* %7
br label %26
48: ; preds = %26
%49 = load double, double* %6
%50 = load i32, i32* %5
%51 = sitofp i32 %50 to double
%52 = fdiv double %49, %51
store double %52, double* %8
store i32 0, i32* %10
br label %53
53: ; preds = %71, %48
%54 = load i32, i32* %10
%55 = icmp slt i32 %54, 10
br i1 %55, label %56, label %74
56: ; preds = %53
%57 = load i32, i32* %10
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 0, i64 %58
%60 = load double, double* %59
%61 = load double, double* %8
%62 = fcmp oge double %60, %61
br i1 %62, label %63, label %70
63: ; preds = %56
%64 = load i32, i32* %10
%65 = load i32, i32* %4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [10 x i32], [10 x i32]* %9, i64 0, i64 %66
store i32 %64, i32* %67
%68 = load i32, i32* %4
%69 = add nsw i32 %68, 1
store i32 %69, i32* %4
br label %70
70: ; preds = %63, %56
br label %71
71: ; preds = %70
%72 = load i32, i32* %10
%73 = add nsw i32 %72, 1
store i32 %73, i32* %10
br label %53
74: ; preds = %53
%75 = load double, double* %8
%76 = fptosi double %75 to i32
%77 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %76)
store i32 0, i32* %11
br label %78
78: ; preds = %88, %74
%79 = load i32, i32* %11
%80 = load i32, i32* %4
%81 = icmp slt i32 %79, %80
br i1 %81, label %82, label %91
82: ; preds = %78
%83 = load i32, i32* %11
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [10 x i32], [10 x i32]* %9, i64 0, i64 %84
%86 = load i32, i32* %85
%87 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32 %86)
br label %88
88: ; preds = %82
%89 = load i32, i32* %11
%90 = add nsw i32 %89, 1
store i32 %90, i32* %11
br label %78
91: ; preds = %78
%92 = load i32, i32* %1
ret i32 %92
}

LLVM IR (-O2):
@.str = [12 x i8] c"Digite %d: \00"
@.str.1 = [4 x i8] c"%lf\00"
@.str.2 = [7 x i8] c"%.2lf\0A\00"
@.str.3 = [5 x i8] c"%d \00"
define i32 @main() {
%1 = alloca [10 x double]
%2 = alloca [10 x i32]
%3 = bitcast [10 x double]* %1 to i8*
%4 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 0)
%5 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 0
%6 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %5)
%7 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 1)
%8 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 1
%9 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %8)
%10 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 2)
%11 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 2
%12 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %11)
%13 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%14 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 3
%15 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %14)
%16 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 4)
%17 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 4
%18 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %17)
%19 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 5)
%20 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 5
%21 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %20)
%22 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 6)
%23 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 6
%24 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %23)
%25 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 7)
%26 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 7
%27 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %26)
%28 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 8)
%29 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 8
%30 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %29)
%31 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 9)
%32 = getelementptr inbounds [10 x double], [10 x double]* %1, i64 0, i64 9
%33 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %32)
%34 = bitcast [10 x double]* %1 to <8 x double>*
%35 = load <8 x double>, <8 x double>* %34
%36 = extractelement <8 x double> %35, i64 0
%37 = fadd double %36, 0.000000e+00
%38 = fcmp ogt <8 x double> %35, <double 5.000000e+00, double 5.000000e+00, double 5.000000e+00, double 5.000000e+00, double 5.000000e+00, double 5.000000e+00, double 5.000000e+00, double 5.000000e+00>
%39 = extractelement <8 x i1> %38, i64 0
%40 = select i1 %39, double %37, double 0.000000e+00
%41 = extractelement <8 x i1> %38, i64 1
%42 = extractelement <8 x double> %35, i64 1
%43 = select i1 %41, double %42, double -0.000000e+00
%44 = fadd double %40, %43
%45 = extractelement <8 x i1> %38, i64 2
%46 = extractelement <8 x double> %35, i64 2
%47 = select i1 %45, double %46, double -0.000000e+00
%48 = fadd double %44, %47
%49 = extractelement <8 x i1> %38, i64 3
%50 = extractelement <8 x double> %35, i64 3
%51 = select i1 %49, double %50, double -0.000000e+00
%52 = fadd double %48, %51
%53 = extractelement <8 x i1> %38, i64 4
%54 = extractelement <8 x double> %35, i64 4
%55 = select i1 %53, double %54, double -0.000000e+00
%56 = fadd double %52, %55
%57 = extractelement <8 x i1> %38, i64 5
%58 = extractelement <8 x double> %35, i64 5
%59 = select i1 %57, double %58, double -0.000000e+00
%60 = fadd double %56, %59
%61 = extractelement <8 x i1> %38, i64 6
%62 = extractelement <8 x double> %35, i64 6
%63 = select i1 %61, double %62, double -0.000000e+00
%64 = fadd double %60, %63
%65 = extractelement <8 x i1> %38, i64 7
%66 = extractelement <8 x double> %35, i64 7
%67 = select i1 %65, double %66, double -0.000000e+00
%68 = fadd double %64, %67
%69 = load double, double* %29
%70 = fcmp ogt double %69, 5.000000e+00
%71 = zext i1 %70 to i32
%72 = select i1 %70, double %69, double -0.000000e+00
%73 = fadd double %68, %72
%74 = load double, double* %32
%75 = fcmp ogt double %74, 5.000000e+00
%76 = zext i1 %75 to i32
%77 = bitcast <8 x i1> %38 to i8
%78 = call i8 @llvm.ctpop.i8(i8 %77)
%79 = zext i8 %78 to i32
%80 = add nuw nsw i32 %79, %71
%81 = add nuw nsw i32 %80, %76
%82 = select i1 %75, double %74, double -0.000000e+00
%83 = fadd double %73, %82
%84 = sitofp i32 %81 to double
%85 = fdiv double %83, %84
%86 = bitcast [10 x i32]* %2 to i8*
%87 = fcmp ult double %36, %85
br i1 %87, label %93, label %91
88: ; preds = %152, %158
%89 = phi i32 [ %155, %152 ], [ %150, %158 ]
%90 = zext i32 %89 to i64
br label %163
91: ; preds = %0
%92 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 0
store i32 0, i32* %92
br label %93
93: ; preds = %0, %91
%94 = phi i32 [ 1, %91 ], [ 0, %0 ]
%95 = fcmp ult double %42, %85
br i1 %95, label %100, label %96
96: ; preds = %93
%97 = zext i32 %94 to i64
%98 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %97
store i32 1, i32* %98
%99 = add nuw nsw i32 %94, 1
br label %100
100: ; preds = %96, %93
%101 = phi i32 [ %99, %96 ], [ %94, %93 ]
%102 = fcmp ult double %46, %85
br i1 %102, label %107, label %103
103: ; preds = %100
%104 = zext i32 %101 to i64
%105 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %104
store i32 2, i32* %105
%106 = add nuw nsw i32 %101, 1
br label %107
107: ; preds = %103, %100
%108 = phi i32 [ %106, %103 ], [ %101, %100 ]
%109 = fcmp ult double %50, %85
br i1 %109, label %114, label %110
110: ; preds = %107
%111 = zext i32 %108 to i64
%112 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %111
store i32 3, i32* %112
%113 = add nuw nsw i32 %108, 1
br label %114
114: ; preds = %110, %107
%115 = phi i32 [ %113, %110 ], [ %108, %107 ]
%116 = fcmp ult double %54, %85
br i1 %116, label %121, label %117
117: ; preds = %114
%118 = zext i32 %115 to i64
%119 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %118
store i32 4, i32* %119
%120 = add nuw nsw i32 %115, 1
br label %121
121: ; preds = %117, %114
%122 = phi i32 [ %120, %117 ], [ %115, %114 ]
%123 = fcmp ult double %58, %85
br i1 %123, label %128, label %124
124: ; preds = %121
%125 = zext i32 %122 to i64
%126 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %125
store i32 5, i32* %126
%127 = add nuw nsw i32 %122, 1
br label %128
128: ; preds = %124, %121
%129 = phi i32 [ %127, %124 ], [ %122, %121 ]
%130 = fcmp ult double %62, %85
br i1 %130, label %135, label %131
131: ; preds = %128
%132 = zext i32 %129 to i64
%133 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %132
store i32 6, i32* %133
%134 = add nuw nsw i32 %129, 1
br label %135
135: ; preds = %131, %128
%136 = phi i32 [ %134, %131 ], [ %129, %128 ]
%137 = fcmp ult double %66, %85
br i1 %137, label %142, label %138
138: ; preds = %135
%139 = zext i32 %136 to i64
%140 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %139
store i32 7, i32* %140
%141 = add nuw nsw i32 %136, 1
br label %142
142: ; preds = %138, %135
%143 = phi i32 [ %141, %138 ], [ %136, %135 ]
%144 = fcmp ult double %69, %85
br i1 %144, label %149, label %145
145: ; preds = %142
%146 = zext i32 %143 to i64
%147 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %146
store i32 8, i32* %147
%148 = add nuw nsw i32 %143, 1
br label %149
149: ; preds = %145, %142
%150 = phi i32 [ %148, %145 ], [ %143, %142 ]
%151 = fcmp ult double %74, %85
br i1 %151, label %158, label %152
152: ; preds = %149
%153 = zext i32 %150 to i64
%154 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %153
store i32 9, i32* %154
%155 = add nuw nsw i32 %150, 1
%156 = fptosi double %85 to i32
%157 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %156)
br label %88
158: ; preds = %149
%159 = fptosi double %85 to i32
%160 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %159)
%161 = icmp eq i32 %150, 0
br i1 %161, label %162, label %88
162: ; preds = %163, %158
ret i32 0
163: ; preds = %88, %163
%164 = phi i64 [ 0, %88 ], [ %168, %163 ]
%165 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %164
%166 = load i32, i32* %165
%167 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32 %166)
%168 = add nuw nsw i64 %164, 1
%169 = icmp eq i64 %168, %90
br i1 %169, label %162, label %163
}