#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 /*<<< orphan*/ scanf(char *, ...);
int main() {
  const int FREEZING = 0;
  int cold_days = 0;
  int all_days = 0;
  int n, count;
  printf("Hello, how many days would you like to enter:\n");
  scanf("%d", &n);
  float data[n], temperature[n];
  printf("Enter the data according to the order from small to large:\n");
  for (count = 0; count < n; count++)
    scanf("%f", &data[count]);
  printf("Enter the list of daily low temperatures.\n");
  for (count = 0; count < n; count++) {
    scanf("%f", &temperature[count]);
    all_days++;
    if (temperature[count] < FREEZING)
      cold_days++;
  }
  printf("\n");
  printf("Your input are as belows:\n");
  printf("data        ");
  for (count = 0; count < n; count++)
    printf("%10.2f", data[count]);
  printf("\n");
  printf("temperature ");
  for (count = 0; count < n; count++)
    printf("%10.2f", temperature[count]);
  printf("\n");
  if (all_days != 0)
    printf("%d days total: %.1f%% were below freezing.\n", all_days,
           100.0 * (float)cold_days / all_days);
  if (all_days == 0)
    printf("No data entered!\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
lea    0xebd(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x41(%rbp)
call   1030 <printf@plt>
mov    -0x41(%rbp),%al
lea    0xed8(%rip),%rdi
lea    -0x14(%rbp),%rsi
call   1040 <scanf@plt>
mov    -0x14(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x20(%rbp)
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x40(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x28(%rbp)
mov    -0x14(%rbp),%eax
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x38(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x30(%rbp)
lea    0xe84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    11fb <main+0xdb>
mov    -0x40(%rbp),%rsi
movslq -0x18(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe90(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11c4 <main+0xa4>
lea    0xe77(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1273 <main+0x153>
mov    -0x38(%rbp),%rsi
movslq -0x18(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe44(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x38(%rbp),%rax
mov    -0x10(%rbp),%ecx
add    $0x1,%ecx
mov    %ecx,-0x10(%rbp)
movslq -0x18(%rbp),%rcx
xorps  %xmm0,%xmm0
ucomiss (%rax,%rcx,4),%xmm0
jbe    1260 <main+0x140>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1265 <main+0x145>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1210 <main+0xf0>
lea    0xea2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe1c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe29(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12dd <main+0x1bd>
mov    -0x40(%rbp),%rax
movslq -0x18(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe04(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12a4 <main+0x184>
lea    0xe38(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xde1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1339 <main+0x219>
mov    -0x38(%rbp),%rax
movslq -0x18(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xda8(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1300 <main+0x1e0>
lea    0xddc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x10(%rbp)
je     1380 <main+0x260>
mov    -0x10(%rbp),%esi
cvtsi2ssl -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xc9b(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsi2sdl -0x10(%rbp),%xmm1
divsd  %xmm1,%xmm0
lea    0xd67(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x10(%rbp)
jne    1398 <main+0x278>
lea    0xd7b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
lea    0xf07(%rip),%rdi
call   1040 <puts@plt>
lea    0xea8(%rip),%rdi
xor    %r15d,%r15d
lea    -0x2c(%rbp),%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
mov    %rsp,-0x48(%rbp)
mov    -0x2c(%rbp),%eax
mov    %rsp,%r12
lea    0xf(,%rax,4),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r12
mov    %r12,%rsp
mov    -0x2c(%rbp),%eax
mov    %rsp,%rcx
lea    0xf(,%rax,4),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rcx
mov    %rcx,-0x40(%rbp)
mov    %rcx,%rsp
lea    0xedc(%rip),%rdi
call   1040 <puts@plt>
cmpl   $0x0,-0x2c(%rbp)
jle    11ee <main+0xae>
lea    0xe4c(%rip),%r14
mov    %r12,%r13
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    %r13,%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
add    $0x1,%rbx
movslq -0x2c(%rbp),%rax
add    $0x4,%r13
cmp    %rax,%rbx
jl     11d0 <main+0x90>
lea    0xed3(%rip),%rdi
call   1040 <puts@plt>
cmpl   $0x0,-0x2c(%rbp)
jle    1262 <main+0x122>
lea    0xe08(%rip),%r14
mov    -0x40(%rbp),%rbx
xor    %r15d,%r15d
xor    %r13d,%r13d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
add    $0x1,%r15
xor    %eax,%eax
xorps  %xmm0,%xmm0
ucomiss (%rbx),%xmm0
seta   %al
add    %eax,%r13d
movslq -0x2c(%rbp),%rax
add    $0x4,%rbx
cmp    %rax,%r15
jl     1220 <main+0xe0>
xorps  %xmm0,%xmm0
cvtsi2ss %r13d,%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  0xda0(%rip),%xmm0
jmp    1266 <main+0x126>
xorpd  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe76(%rip),%rdi
call   1040 <puts@plt>
lea    0xd8a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x0,-0x2c(%rbp)
jle    12c1 <main+0x181>
xor    %ebx,%ebx
lea    0xd81(%rip),%r14
xchg   %ax,%ax
movss  (%r12,%rbx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
add    $0x1,%rbx
movslq -0x2c(%rbp),%rax
cmp    %rax,%rbx
jl     12a0 <main+0x160>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd54(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x0,-0x2c(%rbp)
mov    -0x40(%rbp),%r12
jle    1311 <main+0x1d1>
xor    %ebx,%ebx
lea    0xd33(%rip),%r14
nopl   0x0(%rax)
movss  (%r12,%rbx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
add    $0x1,%rbx
movslq -0x2c(%rbp),%rax
cmp    %rax,%rbx
jl     12f0 <main+0x1b0>
mov    $0xa,%edi
call   1030 <putchar@plt>
test   %r15d,%r15d
je     1341 <main+0x201>
cvtsi2sd %r15d,%xmm1
movsd  -0x38(%rbp),%xmm0
divsd  %xmm1,%xmm0
lea    0xcfe(%rip),%rdi
mov    %r15d,%esi
mov    $0x1,%al
call   1050 <printf@plt>
jmp    134d <main+0x20d>
lea    0xdc4(%rip),%rdi
call   1040 <puts@plt>
mov    -0x48(%rbp),%rsp
xor    %eax,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [47 x i8] c"Hello, how many days would you like to enter:\0A\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [60 x i8] c"Enter the data according to the order from small to large:\0A\00"
@.str.3 = [3 x i8] c"%f\00"
@.str.4 = [43 x i8] c"Enter the list of daily low temperatures.\0A\00"
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [27 x i8] c"Your input are as belows:\0A\00"
@.str.7 = [13 x i8] c"data \00"
@.str.8 = [7 x i8] c"%10.2f\00"
@.str.9 = [13 x i8] c"temperature \00"
@.str.10 = [44 x i8] c"%d days total: %.1f%% were below freezing.\0A\00"
@.str.11 = [18 x i8] c"No data entered!\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i64
%9 = alloca i64
store i32 0, i32* %1
store i32 0, i32* %2
store i32 0, i32* %3
store i32 0, i32* %4
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0))
%11 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %5)
%12 = load i32, i32* %5
%13 = zext i32 %12 to i64
%14 = call i8* @llvm.stacksave()
store i8* %14, i8** %7
%15 = alloca float, i64 %13
store i64 %13, i64* %8
%16 = load i32, i32* %5
%17 = zext i32 %16 to i64
%18 = alloca float, i64 %17
store i64 %17, i64* %9
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %6
br label %20
20: ; preds = %29, %0
%21 = load i32, i32* %6
%22 = load i32, i32* %5
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %32
24: ; preds = %20
%25 = load i32, i32* %6
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds float, float* %15, i64 %26
%28 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %27)
br label %29
29: ; preds = %24
%30 = load i32, i32* %6
%31 = add nsw i32 %30, 1
store i32 %31, i32* %6
br label %20
32: ; preds = %20
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %6
br label %34
34: ; preds = %54, %32
%35 = load i32, i32* %6
%36 = load i32, i32* %5
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %57
38: ; preds = %34
%39 = load i32, i32* %6
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds float, float* %18, i64 %40
%42 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %41)
%43 = load i32, i32* %4
%44 = add nsw i32 %43, 1
store i32 %44, i32* %4
%45 = load i32, i32* %6
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds float, float* %18, i64 %46
%48 = load float, float* %47
%49 = fcmp olt float %48, 0.000000e+00
br i1 %49, label %50, label %53
50: ; preds = %38
%51 = load i32, i32* %3
%52 = add nsw i32 %51, 1
store i32 %52, i32* %3
br label %53
53: ; preds = %50, %38
br label %54
54: ; preds = %53
%55 = load i32, i32* %6
%56 = add nsw i32 %55, 1
store i32 %56, i32* %6
br label %34
57: ; preds = %34
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0))
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %6
br label %61
61: ; preds = %72, %57
%62 = load i32, i32* %6
%63 = load i32, i32* %5
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %75
65: ; preds = %61
%66 = load i32, i32* %6
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds float, float* %15, i64 %67
%69 = load float, float* %68
%70 = fpext float %69 to double
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), double %70)
br label %72
72: ; preds = %65
%73 = load i32, i32* %6
%74 = add nsw i32 %73, 1
store i32 %74, i32* %6
br label %61
75: ; preds = %61
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %6
br label %78
78: ; preds = %89, %75
%79 = load i32, i32* %6
%80 = load i32, i32* %5
%81 = icmp slt i32 %79, %80
br i1 %81, label %82, label %92
82: ; preds = %78
%83 = load i32, i32* %6
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds float, float* %18, i64 %84
%86 = load float, float* %85
%87 = fpext float %86 to double
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), double %87)
br label %89
89: ; preds = %82
%90 = load i32, i32* %6
%91 = add nsw i32 %90, 1
store i32 %91, i32* %6
br label %78
92: ; preds = %78
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%94 = load i32, i32* %4
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %106
96: ; preds = %92
%97 = load i32, i32* %4
%98 = load i32, i32* %3
%99 = sitofp i32 %98 to float
%100 = fpext float %99 to double
%101 = fmul double 1.000000e+02, %100
%102 = load i32, i32* %4
%103 = sitofp i32 %102 to double
%104 = fdiv double %101, %103
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.10, i64 0, i64 0), i32 %97, double %104)
br label %106
106: ; preds = %96, %92
%107 = load i32, i32* %4
%108 = icmp eq i32 %107, 0
br i1 %108, label %109, label %111
109: ; preds = %106
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0))
br label %111
111: ; preds = %109, %106
store i32 0, i32* %1
%112 = load i8*, i8** %7
%113 = load i32, i32* %1
ret i32 %113
}

LLVM IR (-O2):
@.str.1 = [3 x i8] c"%d\00"
@.str.3 = [3 x i8] c"%f\00"
@.str.7 = [13 x i8] c"data \00"
@.str.8 = [7 x i8] c"%10.2f\00"
@.str.9 = [13 x i8] c"temperature \00"
@.str.10 = [44 x i8] c"%d days total: %.1f%% were below freezing.\0A\00"
@str = [46 x i8] c"Hello, how many days would you like to enter:\00"
@str.12 = [59 x i8] c"Enter the data according to the order from small to large:\00"
@str.13 = [42 x i8] c"Enter the list of daily low temperatures.\00"
@str.14 = [26 x i8] c"Your input are as belows:\00"
@str.15 = [17 x i8] c"No data entered!\00"
define i32 @main() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str, i64 0, i64 0))
%4 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%5 = load i32, i32* %1
%6 = zext i32 %5 to i64
%7 = call i8* @llvm.stacksave()
%8 = alloca float, i64 %6
%9 = load i32, i32* %1
%10 = zext i32 %9 to i64
%11 = alloca float, i64 %10
%12 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.12, i64 0, i64 0))
%13 = load i32, i32* %1
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %23
15: ; preds = %0, %15
%16 = phi i64 [ %19, %15 ], [ 0, %0 ]
%17 = getelementptr inbounds float, float* %8, i64 %16
%18 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %17)
%19 = add nuw nsw i64 %16, 1
%20 = load i32, i32* %1
%21 = sext i32 %20 to i64
%22 = icmp slt i64 %19, %21
br i1 %22, label %15, label %23
23: ; preds = %15, %0
%24 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.13, i64 0, i64 0))
%25 = load i32, i32* %1
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %45
27: ; preds = %23, %27
%28 = phi i64 [ %32, %27 ], [ 0, %23 ]
%29 = phi i32 [ %36, %27 ], [ 0, %23 ]
%30 = getelementptr inbounds float, float* %11, i64 %28
%31 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %30)
%32 = add nuw nsw i64 %28, 1
%33 = load float, float* %30
%34 = fcmp olt float %33, 0.000000e+00
%35 = zext i1 %34 to i32
%36 = add nuw nsw i32 %29, %35
%37 = load i32, i32* %1
%38 = sext i32 %37 to i64
%39 = icmp slt i64 %32, %38
br i1 %39, label %27, label %40
40: ; preds = %27
%41 = trunc i64 %32 to i32
%42 = sitofp i32 %36 to float
%43 = fpext float %42 to double
%44 = fmul double %43, 1.000000e+02
br label %45
45: ; preds = %40, %23
%46 = phi i32 [ 0, %23 ], [ %41, %40 ]
%47 = phi double [ 0.000000e+00, %23 ], [ %44, %40 ]
%48 = call i32 @putchar(i32 10)
%49 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.14, i64 0, i64 0))
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
%51 = load i32, i32* %1
%52 = icmp sgt i32 %51, 0
br i1 %52, label %53, label %63
53: ; preds = %45, %53
%54 = phi i64 [ %59, %53 ], [ 0, %45 ]
%55 = getelementptr inbounds float, float* %8, i64 %54
%56 = load float, float* %55
%57 = fpext float %56 to double
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), double %57)
%59 = add nuw nsw i64 %54, 1
%60 = load i32, i32* %1
%61 = sext i32 %60 to i64
%62 = icmp slt i64 %59, %61
br i1 %62, label %53, label %63
63: ; preds = %53, %45
%64 = call i32 @putchar(i32 10)
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
%66 = load i32, i32* %1
%67 = icmp sgt i32 %66, 0
br i1 %67, label %68, label %78
68: ; preds = %63, %68
%69 = phi i64 [ %74, %68 ], [ 0, %63 ]
%70 = getelementptr inbounds float, float* %11, i64 %69
%71 = load float, float* %70
%72 = fpext float %71 to double
%73 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), double %72)
%74 = add nuw nsw i64 %69, 1
%75 = load i32, i32* %1
%76 = sext i32 %75 to i64
%77 = icmp slt i64 %74, %76
br i1 %77, label %68, label %78
78: ; preds = %68, %63
%79 = call i32 @putchar(i32 10)
%80 = icmp eq i32 %46, 0
br i1 %80, label %85, label %81
81: ; preds = %78
%82 = sitofp i32 %46 to double
%83 = fdiv double %47, %82
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.10, i64 0, i64 0), i32 %46, double %83)
br label %87
85: ; preds = %78
%86 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.15, i64 0, i64 0))
br label %87
87: ; preds = %81, %85
ret i32 0
}