#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*/ chsone(float *, float *, int, int /*<<< orphan*/, float *,
                          float *, float *);
double exp(double);
float expdev(long *);
int /*<<< orphan*/ free_vector(float *, int, int);
int /*<<< orphan*/ printf(char *, ...);
float *vector(int, int);
int main(void) {
  long idum = (-15);
  int i, ibin, j;
  float chsq, df, prob, x, *bins, *ebins;
  bins = vector(1, 10);
  ebins = vector(1, 10);
  for (j = 1; j <= 10; j++)
    bins[j] = 0.0;
  for (i = 1; i <= 2000; i++) {
    x = expdev(&idum);
    ibin = (int)(x * 10 / 3.0) + 1;
    if (ibin <= 10)
      ++bins[ibin];
  }
  for (i = 1; i <= 10; i++)
    ebins[i] = 3.0 * 2000 / 10 * exp(-3.0 * (i - 0.5) / 10);
  chsone(bins, ebins, 10, 0, &df, &chsq, &prob);
  printf("%15s %15s\n", "expected", "observed");
  for (i = 1; i <= 10; i++)
    printf("%14.2f %15.2f\n", ebins[i], bins[i]);
  printf("\n%19s %10.4f\n", "chi-squared:", chsq);
  printf("%19s %10.4f\n", "probability:", prob);
  free_vector(ebins, 1, 10);
  free_vector(bins, 1, 10);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0xfffffffffffffff1,-0x10(%rbp)
ff
mov    $0x1,%edi
mov    $0xa,%esi
call   1050 <vector@plt>
mov    %rax,-0x38(%rbp)
mov    $0x1,%edi
mov    $0xa,%esi
call   1050 <vector@plt>
mov    %rax,-0x40(%rbp)
movl   $0x1,-0x1c(%rbp)
cmpl   $0xa,-0x1c(%rbp)
jg     11cc <main+0x6c>
mov    -0x38(%rbp),%rax
movslq -0x1c(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11a4 <main+0x44>
movl   $0x1,-0x14(%rbp)
cmpl   $0x7d0,-0x14(%rbp)
jg     124c <main+0xec>
lea    -0x10(%rbp),%rdi
call   1080 <expdev@plt>
movss  %xmm0,-0x2c(%rbp)
movss  0xe32(%rip),%xmm0
mulss  -0x2c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe19(%rip),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
cmpl   $0xa,-0x18(%rbp)
jg     1239 <main+0xd9>
mov    -0x38(%rbp),%rax
movslq -0x18(%rbp),%rcx
movss  0xdfd(%rip),%xmm0
addss  (%rax,%rcx,4),%xmm0
movss  %xmm0,(%rax,%rcx,4)
jmp    123e <main+0xde>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11d3 <main+0x73>
movl   $0x1,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
jg     12b9 <main+0x159>
cvtsi2sdl -0x14(%rbp),%xmm1
movsd  0xdae(%rip),%xmm0
subsd  %xmm0,%xmm1
movsd  0xd9a(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xd86(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1070 <exp@plt>
movaps %xmm0,%xmm1
movsd  0xd6a(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x40(%rbp),%rax
movslq -0x14(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1253 <main+0xf3>
mov    -0x38(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    $0xa,%edx
xor    %ecx,%ecx
lea    -0x24(%rbp),%r8
lea    -0x20(%rbp),%r9
lea    -0x28(%rbp),%rax
mov    %rax,(%rsp)
call   1060 <chsone@plt>
lea    0xd4c(%rip),%rdi
lea    0xd50(%rip),%rsi
lea    0xd52(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
jg     1348 <main+0x1e8>
mov    -0x40(%rbp),%rax
movslq -0x14(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x38(%rbp),%rax
movslq -0x14(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xd1a(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1300 <main+0x1a0>
movss  -0x20(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd04(%rip),%rdi
lea    0xd0b(%rip),%rsi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x28(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xce7(%rip),%rdi
lea    0xcfa(%rip),%rsi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x40(%rbp),%rdi
mov    $0x1,%esi
mov    $0xa,%edx
call   1040 <free_vector@plt>
mov    -0x38(%rbp),%rdi
mov    $0x1,%esi
mov    $0xa,%edx
call   1040 <free_vector@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x20,%rsp
movq   $0xfffffffffffffff1,0x10(%rsp)
ff ff
mov    $0x1,%edi
mov    $0xa,%esi
call   1050 <vector@plt>
mov    %rax,%r12
mov    $0x1,%edi
mov    $0xa,%esi
call   1050 <vector@plt>
mov    %rax,%r14
xorps  %xmm0,%xmm0
movups %xmm0,0x4(%r12)
movups %xmm0,0x14(%r12)
movq   $0x0,0x24(%r12)
mov    $0x7d0,%ebp
lea    0x10(%rsp),%rbx
jmp    11b5 <main+0x65>
nopl   (%rax)
add    $0xffffffff,%ebp
je     11f4 <main+0xa4>
mov    %rbx,%rdi
call   1070 <expdev@plt>
mulss  0xe3b(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
divsd  0xe37(%rip),%xmm0
cvttsd2si %xmm0,%eax
cmp    $0x9,%eax
jg     11b0 <main+0x60>
cltq
movss  0x4(%r12,%rax,4),%xmm0
addss  0xe19(%rip),%xmm0
movss  %xmm0,0x4(%r12,%rax,4)
jmp    11b0 <main+0x60>
movaps 0xe15(%rip),%xmm0
movups %xmm0,0x4(%r14)
movaps 0xe19(%rip),%xmm0
movups %xmm0,0x14(%r14)
movabs $0x420ad38d423b6560,%rax
d3 0a 42
mov    %rax,0x24(%r14)
lea    0x8(%rsp),%rax
mov    %rax,(%rsp)
lea    0x1c(%rsp),%r8
lea    0xc(%rsp),%r9
mov    %r12,%rdi
mov    %r14,%rsi
mov    $0xa,%edx
xor    %ecx,%ecx
call   1060 <chsone@plt>
lea    0xdea(%rip),%rdi
lea    0xdee(%rip),%rsi
lea    0xdf0(%rip),%rdx
xor    %eax,%eax
call   1030 <printf@plt>
movss  0x4(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x4(%r12),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xdd6(%rip),%r15
mov    %r15,%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0x8(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x8(%r12),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0xc(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0xc(%r12),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0x10(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x10(%r12),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0x14(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x14(%r12),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0x18(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x18(%r12),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0x1c(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x1c(%r12),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0x20(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x20(%r12),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0x24(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x24(%r12),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0x28(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x28(%r12),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r15,%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xcb3(%rip),%rdi
lea    0xcba(%rip),%rsi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xc95(%rip),%rdi
lea    0xca8(%rip),%rsi
mov    $0x1,%al
call   1030 <printf@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0xa,%edx
call   1040 <free_vector@plt>
mov    %r12,%rdi
mov    $0x1,%esi
mov    $0xa,%edx
call   1040 <free_vector@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [11 x i8] c"%15s %15s\0A\00"
@.str.1 = [9 x i8] c"expected\00"
@.str.2 = [9 x i8] c"observed\00"
@.str.3 = [15 x i8] c"%14.2f %15.2f\0A\00"
@.str.4 = [14 x i8] c"\0A%19s %10.4f\0A\00"
@.str.5 = [13 x i8] c"chi-squared:\00"
@.str.6 = [13 x i8] c"%19s %10.4f\0A\00"
@.str.7 = [13 x i8] c"probability:\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca float
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float*
%11 = alloca float*
store i32 0, i32* %1
store i64 -15, i64* %2
%12 = call float* @vector(i32 1, i32 10)
store float* %12, float** %10
%13 = call float* @vector(i32 1, i32 10)
store float* %13, float** %11
store i32 1, i32* %5
br label %14
14: ; preds = %22, %0
%15 = load i32, i32* %5
%16 = icmp sle i32 %15, 10
br i1 %16, label %17, label %25
17: ; preds = %14
%18 = load float*, float** %10
%19 = load i32, i32* %5
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds float, float* %18, i64 %20
store float 0.000000e+00, float* %21
br label %22
22: ; preds = %17
%23 = load i32, i32* %5
%24 = add nsw i32 %23, 1
store i32 %24, i32* %5
br label %14
25: ; preds = %14
store i32 1, i32* %3
br label %26
26: ; preds = %47, %25
%27 = load i32, i32* %3
%28 = icmp sle i32 %27, 2000
br i1 %28, label %29, label %50
29: ; preds = %26
%30 = call float @expdev(i64* %2)
store float %30, float* %9
%31 = load float, float* %9
%32 = fmul float %31, 1.000000e+01
%33 = fpext float %32 to double
%34 = fdiv double %33, 3.000000e+00
%35 = fptosi double %34 to i32
%36 = add nsw i32 %35, 1
store i32 %36, i32* %4
%37 = load i32, i32* %4
%38 = icmp sle i32 %37, 10
br i1 %38, label %39, label %46
39: ; preds = %29
%40 = load float*, float** %10
%41 = load i32, i32* %4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds float, float* %40, i64 %42
%44 = load float, float* %43
%45 = fadd float %44, 1.000000e+00
store float %45, float* %43
br label %46
46: ; preds = %39, %29
br label %47
47: ; preds = %46
%48 = load i32, i32* %3
%49 = add nsw i32 %48, 1
store i32 %49, i32* %3
br label %26
50: ; preds = %26
store i32 1, i32* %3
br label %51
51: ; preds = %67, %50
%52 = load i32, i32* %3
%53 = icmp sle i32 %52, 10
br i1 %53, label %54, label %70
54: ; preds = %51
%55 = load i32, i32* %3
%56 = sitofp i32 %55 to double
%57 = fsub double %56, 5.000000e-01
%58 = fmul double -3.000000e+00, %57
%59 = fdiv double %58, 1.000000e+01
%60 = call double @exp(double %59)
%61 = fmul double 6.000000e+02, %60
%62 = fptrunc double %61 to float
%63 = load float*, float** %11
%64 = load i32, i32* %3
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds float, float* %63, i64 %65
store float %62, float* %66
br label %67
67: ; preds = %54
%68 = load i32, i32* %3
%69 = add nsw i32 %68, 1
store i32 %69, i32* %3
br label %51
70: ; preds = %51
%71 = load float*, float** %10
%72 = load float*, float** %11
%73 = call i32 @chsone(float* %71, float* %72, i32 10, i32 0, float* %7, float* %6, float* %8)
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
store i32 1, i32* %3
br label %75
75: ; preds = %92, %70
%76 = load i32, i32* %3
%77 = icmp sle i32 %76, 10
br i1 %77, label %78, label %95
78: ; preds = %75
%79 = load float*, float** %11
%80 = load i32, i32* %3
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds float, float* %79, i64 %81
%83 = load float, float* %82
%84 = fpext float %83 to double
%85 = load float*, float** %10
%86 = load i32, i32* %3
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds float, float* %85, i64 %87
%89 = load float, float* %88
%90 = fpext float %89 to double
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double %84, double %90)
br label %92
92: ; preds = %78
%93 = load i32, i32* %3
%94 = add nsw i32 %93, 1
store i32 %94, i32* %3
br label %75
95: ; preds = %75
%96 = load float, float* %6
%97 = fpext float %96 to double
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), double %97)
%99 = load float, float* %8
%100 = fpext float %99 to double
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), double %100)
%102 = load float*, float** %11
%103 = call i32 @free_vector(float* %102, i32 1, i32 10)
%104 = load float*, float** %10
%105 = call i32 @free_vector(float* %104, i32 1, i32 10)
ret i32 0
}

LLVM IR (-O2):
@.str = [11 x i8] c"%15s %15s\0A\00"
@.str.1 = [9 x i8] c"expected\00"
@.str.2 = [9 x i8] c"observed\00"
@.str.3 = [15 x i8] c"%14.2f %15.2f\0A\00"
@.str.4 = [14 x i8] c"\0A%19s %10.4f\0A\00"
@.str.5 = [13 x i8] c"chi-squared:\00"
@.str.6 = [13 x i8] c"%19s %10.4f\0A\00"
@.str.7 = [13 x i8] c"probability:\00"
define i32 @main() {
%1 = alloca i64
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = bitcast i64* %1 to i8*
store i64 -15, i64* %1
%6 = bitcast float* %2 to i8*
%7 = bitcast float* %3 to i8*
%8 = bitcast float* %4 to i8*
%9 = tail call float* @vector(i32 1, i32 10)
%10 = tail call float* @vector(i32 1, i32 10)
%11 = getelementptr float, float* %9, i64 1
%12 = bitcast float* %11 to i8*
br label %13
13: ; preds = %0, %27
%14 = phi i32 [ %28, %27 ], [ 1, %0 ]
%15 = call float @expdev(i64* %1)
%16 = fmul float %15, 1.000000e+01
%17 = fpext float %16 to double
%18 = fdiv double %17, 3.000000e+00
%19 = fptosi double %18 to i32
%20 = icmp slt i32 %19, 10
br i1 %20, label %21, label %27
21: ; preds = %13
%22 = add nsw i32 %19, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds float, float* %9, i64 %23
%25 = load float, float* %24
%26 = fadd float %25, 1.000000e+00
store float %26, float* %24
br label %27
27: ; preds = %13, %21
%28 = add nuw nsw i32 %14, 1
%29 = icmp eq i32 %28, 2001
br i1 %29, label %30, label %13
30: ; preds = %27
%31 = getelementptr inbounds float, float* %10, i64 1
%32 = getelementptr inbounds float, float* %10, i64 2
%33 = getelementptr inbounds float, float* %10, i64 3
%34 = getelementptr inbounds float, float* %10, i64 4
%35 = bitcast float* %31 to <4 x float>*
store <4 x float> <float 0x4080236600000000, float 0x4077E93B00000000, float 0x4071B6B800000000, float 0x406A3ECE00000000>, <4 x float>* %35
%36 = getelementptr inbounds float, float* %10, i64 5
%37 = getelementptr inbounds float, float* %10, i64 6
%38 = getelementptr inbounds float, float* %10, i64 7
%39 = getelementptr inbounds float, float* %10, i64 8
%40 = bitcast float* %36 to <4 x float>*
store <4 x float> <float 0x40637169C0000000, float 0x405CCEB760000000, float 0x4055575300000000, float 0x404F9EA920000000>, <4 x float>* %40
%41 = getelementptr inbounds float, float* %10, i64 9
store float 0x40476CAC00000000, float* %41
%42 = getelementptr inbounds float, float* %10, i64 10
store float 0x40415A71A0000000, float* %42
%43 = call i32 @chsone(float* %9, float* %10, i32 10, i32 0, float* %3, float* %2, float* %4)
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%45 = load float, float* %31
%46 = fpext float %45 to double
%47 = load float, float* %11
%48 = fpext float %47 to double
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double %46, double %48)
%50 = load float, float* %32
%51 = fpext float %50 to double
%52 = getelementptr inbounds float, float* %9, i64 2
%53 = load float, float* %52
%54 = fpext float %53 to double
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double %51, double %54)
%56 = load float, float* %33
%57 = fpext float %56 to double
%58 = getelementptr inbounds float, float* %9, i64 3
%59 = load float, float* %58
%60 = fpext float %59 to double
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double %57, double %60)
%62 = load float, float* %34
%63 = fpext float %62 to double
%64 = getelementptr inbounds float, float* %9, i64 4
%65 = load float, float* %64
%66 = fpext float %65 to double
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double %63, double %66)
%68 = load float, float* %36
%69 = fpext float %68 to double
%70 = getelementptr inbounds float, float* %9, i64 5
%71 = load float, float* %70
%72 = fpext float %71 to double
%73 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double %69, double %72)
%74 = load float, float* %37
%75 = fpext float %74 to double
%76 = getelementptr inbounds float, float* %9, i64 6
%77 = load float, float* %76
%78 = fpext float %77 to double
%79 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double %75, double %78)
%80 = load float, float* %38
%81 = fpext float %80 to double
%82 = getelementptr inbounds float, float* %9, i64 7
%83 = load float, float* %82
%84 = fpext float %83 to double
%85 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double %81, double %84)
%86 = load float, float* %39
%87 = fpext float %86 to double
%88 = getelementptr inbounds float, float* %9, i64 8
%89 = load float, float* %88
%90 = fpext float %89 to double
%91 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double %87, double %90)
%92 = load float, float* %41
%93 = fpext float %92 to double
%94 = getelementptr inbounds float, float* %9, i64 9
%95 = load float, float* %94
%96 = fpext float %95 to double
%97 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double %93, double %96)
%98 = load float, float* %42
%99 = fpext float %98 to double
%100 = getelementptr inbounds float, float* %9, i64 10
%101 = load float, float* %100
%102 = fpext float %101 to double
%103 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double %99, double %102)
%104 = load float, float* %2
%105 = fpext float %104 to double
%106 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), double %105)
%107 = load float, float* %4
%108 = fpext float %107 to double
%109 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), double %108)
%110 = call i32 @free_vector(float* %10, i32 1, i32 10)
%111 = call i32 @free_vector(float* %9, i32 1, i32 10)
ret i32 0
}