#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ free_lvector(unsigned long *, int, int);
int /*<<< orphan*/ free_vector(float *, int, int);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, float *);
int /*<<< orphan*/ indexx(int, float *, unsigned long *);
unsigned long *lvector(int, int);
int /*<<< orphan*/ nrerror(char *);
int /*<<< orphan*/ printf(char *, ...);
float *vector(int, int);
int main(void) {
  char txt[80];
  unsigned long i, j, *indx;
  float *a;
  FILE *fp;
  indx = lvector(1, 100);
  a = vector(1, 100);
  if ((fp = fopen("tarray.dat", "r")) == NULL)
    nrerror("Data file tarray.dat not found\n");
  fgets(txt, 80, fp);
  for (i = 1; i <= 100; i++)
    fscanf(fp, "%f", &a[i]);
  fclose(fp);
  indexx(100, a, indx);
  printf("\noriginal array:\n");
  for (i = 0; i <= 9; i++) {
    for (j = 1; j <= 10; j++)
      printf("%7.2f", a[10 * i + j]);
    printf("\n");
  }
  printf("\nsorted array:\n");
  for (i = 0; i <= 9; i++) {
    for (j = 1; j <= 10; j++)
      printf("%7.2f", a[indx[10 * i + j]]);
    printf("\n");
  }
  free_vector(a, 1, 100);
  free_lvector(indx, 1, 100);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x1,%edi
mov    $0x64,%esi
call   10d0 <lvector@plt>
mov    %rax,-0x78(%rbp)
mov    $0x1,%edi
mov    $0x64,%esi
call   10b0 <vector@plt>
mov    %rax,-0x80(%rbp)
lea    0xe11(%rip),%rdi
lea    0xe15(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,-0x88(%rbp)
cmp    $0x0,%rax
jne    1218 <main+0x68>
lea    0xdfa(%rip),%rdi
call   1030 <nrerror@plt>
lea    -0x60(%rbp),%rdi
mov    -0x88(%rbp),%rdx
mov    $0x50,%esi
call   10a0 <fgets@plt>
movq   $0x1,-0x68(%rbp)
cmpq   $0x64,-0x68(%rbp)
ja     1273 <main+0xc3>
mov    -0x88(%rbp),%rdi
mov    -0x80(%rbp),%rdx
mov    -0x68(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rdx
lea    0xdd0(%rip),%rsi
call   1090 <fscanf@plt>
mov    -0x68(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x68(%rbp)
jmp    1235 <main+0x85>
mov    -0x88(%rbp),%rdi
call   1040 <fclose@plt>
mov    -0x80(%rbp),%rsi
mov    -0x78(%rbp),%rdx
mov    $0x64,%edi
call   1050 <indexx@plt>
lea    0xd98(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movq   $0x0,-0x68(%rbp)
cmpq   $0x9,-0x68(%rbp)
ja     1319 <main+0x169>
movq   $0x1,-0x70(%rbp)
cmpq   $0xa,-0x70(%rbp)
ja     12fa <main+0x14a>
mov    -0x80(%rbp),%rax
imul   $0xa,-0x68(%rbp),%rcx
add    -0x70(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd60(%rip),%rdi
mov    $0x1,%al
call   1070 <printf@plt>
mov    -0x70(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x70(%rbp)
jmp    12ba <main+0x10a>
lea    0xd55(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x68(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x68(%rbp)
jmp    12a7 <main+0xf7>
lea    0xd28(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movq   $0x0,-0x68(%rbp)
cmpq   $0x9,-0x68(%rbp)
ja     13a9 <main+0x1f9>
movq   $0x1,-0x70(%rbp)
cmpq   $0xa,-0x70(%rbp)
ja     138a <main+0x1da>
mov    -0x80(%rbp),%rax
mov    -0x78(%rbp),%rcx
imul   $0xa,-0x68(%rbp),%rdx
add    -0x70(%rbp),%rdx
mov    (%rcx,%rdx,8),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xcd0(%rip),%rdi
mov    $0x1,%al
call   1070 <printf@plt>
mov    -0x70(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x70(%rbp)
jmp    1342 <main+0x192>
lea    0xcc5(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x68(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x68(%rbp)
jmp    132f <main+0x17f>
mov    -0x80(%rbp),%rdi
mov    $0x1,%esi
mov    $0x64,%edx
call   1080 <free_vector@plt>
mov    -0x78(%rbp),%rdi
mov    $0x1,%esi
mov    $0x64,%edx
call   1060 <free_lvector@plt>
xor    %eax,%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x50,%rsp
mov    $0x1,%edi
mov    $0x64,%esi
call   10f0 <lvector@plt>
mov    %rax,%r14
mov    $0x1,%edi
mov    $0x64,%esi
call   10d0 <vector@plt>
mov    %rax,%r13
lea    0xdf8(%rip),%rdi
lea    0xdfc(%rip),%rsi
call   10e0 <fopen@plt>
mov    %rax,%r15
test   %rax,%rax
jne    1228 <main+0x58>
lea    0xdea(%rip),%rdi
call   1050 <nrerror@plt>
mov    %rsp,%rdi
mov    $0x50,%esi
mov    %r15,%rdx
call   10c0 <fgets@plt>
mov    $0x4,%ebx
lea    0xde9(%rip),%r12
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    (%rbx,%r13,1),%rdx
mov    %r15,%rdi
mov    %r12,%rsi
call   10b0 <fscanf@plt>
add    $0x4,%rbx
cmp    $0x194,%rbx
jne    1250 <main+0x80>
mov    %r15,%rdi
call   1060 <fclose@plt>
mov    $0x64,%edi
mov    %r13,%rsi
mov    %r14,%rdx
call   1070 <indexx@plt>
lea    0xdab(%rip),%rdi
call   1040 <puts@plt>
mov    $0x28,%ebx
lea    0xd94(%rip),%r15
nopl   0x0(%rax)
movss  -0x24(%r13,%rbx,1),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
movss  -0x20(%r13,%rbx,1),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
movss  -0x1c(%r13,%rbx,1),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
movss  -0x18(%r13,%rbx,1),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
movss  -0x14(%r13,%rbx,1),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
movss  -0x10(%r13,%rbx,1),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
movss  -0xc(%r13,%rbx,1),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
movss  -0x8(%r13,%rbx,1),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
movss  -0x4(%r13,%rbx,1),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
movss  0x0(%r13,%rbx,1),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x28,%rbx
cmp    $0x1b8,%rbx
jne    12a0 <main+0xd0>
lea    0xcb3(%rip),%rdi
call   1040 <puts@plt>
mov    $0x50,%ebx
lea    0xc8b(%rip),%r15
cs nopw 0x0(%rax,%rax,1)
nop
mov    -0x48(%r14,%rbx,1),%rax
movss  0x0(%r13,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    -0x40(%r14,%rbx,1),%rax
movss  0x0(%r13,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    -0x38(%r14,%rbx,1),%rax
movss  0x0(%r13,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    -0x30(%r14,%rbx,1),%rax
movss  0x0(%r13,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    -0x28(%r14,%rbx,1),%rax
movss  0x0(%r13,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    -0x20(%r14,%rbx,1),%rax
movss  0x0(%r13,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    -0x18(%r14,%rbx,1),%rax
movss  0x0(%r13,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    -0x10(%r14,%rbx,1),%rax
movss  0x0(%r13,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    -0x8(%r14,%rbx,1),%rax
movss  0x0(%r13,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    (%r14,%rbx,1),%rax
movss  0x0(%r13,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1090 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x50,%rbx
cmp    $0x370,%rbx
jne    13b0 <main+0x1e0>
mov    %r13,%rdi
mov    $0x1,%esi
mov    $0x64,%edx
call   10a0 <free_vector@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x64,%edx
call   1080 <free_lvector@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [11 x i8] c"tarray.dat\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [32 x i8] c"Data file tarray.dat not found\0A\00"
@.str.3 = [3 x i8] c"%f\00"
@.str.4 = [18 x i8] c"\0Aoriginal array:\0A\00"
@.str.5 = [6 x i8] c"%7.2f\00"
@.str.6 = [2 x i8] c"\0A\00"
@.str.7 = [16 x i8] c"\0Asorted array:\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [80 x i8]
%3 = alloca i64
%4 = alloca i64
%5 = alloca i64*
%6 = alloca float*
%7 = alloca i32*
store i32 0, i32* %1
%8 = call i64* @lvector(i32 1, i32 100)
store i64* %8, i64** %5
%9 = call float* @vector(i32 1, i32 100)
store float* %9, float** %6
%10 = call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %10, i32** %7
%11 = icmp eq i32* %10, null
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 @nrerror(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
br label %14
14: ; preds = %12, %0
%15 = getelementptr inbounds [80 x i8], [80 x i8]* %2, i64 0, i64 0
%16 = load i32*, i32** %7
%17 = call i32 @fgets(i8* %15, i32 80, i32* %16)
store i64 1, i64* %3
br label %18
18: ; preds = %27, %14
%19 = load i64, i64* %3
%20 = icmp ule i64 %19, 100
br i1 %20, label %21, label %30
21: ; preds = %18
%22 = load i32*, i32** %7
%23 = load float*, float** %6
%24 = load i64, i64* %3
%25 = getelementptr inbounds float, float* %23, i64 %24
%26 = call i32 @fscanf(i32* %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %25)
br label %27
27: ; preds = %21
%28 = load i64, i64* %3
%29 = add i64 %28, 1
store i64 %29, i64* %3
br label %18
30: ; preds = %18
%31 = load i32*, i32** %7
%32 = call i32 @fclose(i32* %31)
%33 = load float*, float** %6
%34 = load i64*, i64** %5
%35 = call i32 @indexx(i32 100, float* %33, i64* %34)
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
store i64 0, i64* %3
br label %37
37: ; preds = %59, %30
%38 = load i64, i64* %3
%39 = icmp ule i64 %38, 9
br i1 %39, label %40, label %62
40: ; preds = %37
store i64 1, i64* %4
br label %41
41: ; preds = %54, %40
%42 = load i64, i64* %4
%43 = icmp ule i64 %42, 10
br i1 %43, label %44, label %57
44: ; preds = %41
%45 = load float*, float** %6
%46 = load i64, i64* %3
%47 = mul i64 10, %46
%48 = load i64, i64* %4
%49 = add i64 %47, %48
%50 = getelementptr inbounds float, float* %45, i64 %49
%51 = load float, float* %50
%52 = fpext float %51 to double
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %52)
br label %54
54: ; preds = %44
%55 = load i64, i64* %4
%56 = add i64 %55, 1
store i64 %56, i64* %4
br label %41
57: ; preds = %41
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %59
59: ; preds = %57
%60 = load i64, i64* %3
%61 = add i64 %60, 1
store i64 %61, i64* %3
br label %37
62: ; preds = %37
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0))
store i64 0, i64* %3
br label %64
64: ; preds = %89, %62
%65 = load i64, i64* %3
%66 = icmp ule i64 %65, 9
br i1 %66, label %67, label %92
67: ; preds = %64
store i64 1, i64* %4
br label %68
68: ; preds = %84, %67
%69 = load i64, i64* %4
%70 = icmp ule i64 %69, 10
br i1 %70, label %71, label %87
71: ; preds = %68
%72 = load float*, float** %6
%73 = load i64*, i64** %5
%74 = load i64, i64* %3
%75 = mul i64 10, %74
%76 = load i64, i64* %4
%77 = add i64 %75, %76
%78 = getelementptr inbounds i64, i64* %73, i64 %77
%79 = load i64, i64* %78
%80 = getelementptr inbounds float, float* %72, i64 %79
%81 = load float, float* %80
%82 = fpext float %81 to double
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %82)
br label %84
84: ; preds = %71
%85 = load i64, i64* %4
%86 = add i64 %85, 1
store i64 %86, i64* %4
br label %68
87: ; preds = %68
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %89
89: ; preds = %87
%90 = load i64, i64* %3
%91 = add i64 %90, 1
store i64 %91, i64* %3
br label %64
92: ; preds = %64
%93 = load float*, float** %6
%94 = call i32 @free_vector(float* %93, i32 1, i32 100)
%95 = load i64*, i64** %5
%96 = call i32 @free_lvector(i64* %95, i32 1, i32 100)
ret i32 0
}

LLVM IR (-O2):
@.str = [11 x i8] c"tarray.dat\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [32 x i8] c"Data file tarray.dat not found\0A\00"
@.str.3 = [3 x i8] c"%f\00"
@.str.5 = [6 x i8] c"%7.2f\00"
@str = [17 x i8] c"\0Aoriginal array:\00"
@str.8 = [15 x i8] c"\0Asorted array:\00"
define i32 @main() {
%1 = alloca [80 x i8]
%2 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%3 = tail call i64* @lvector(i32 1, i32 100)
%4 = tail call float* @vector(i32 1, i32 100)
%5 = tail call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%6 = icmp eq i32* %5, null
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = tail call i32 @nrerror(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
br label %9
9: ; preds = %7, %0
%10 = call i32 @fgets(i8* %2, i32 80, i32* %5)
br label %11
11: ; preds = %9, %11
%12 = phi i64 [ 1, %9 ], [ %15, %11 ]
%13 = getelementptr inbounds float, float* %4, i64 %12
%14 = call i32 @fscanf(i32* %5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %13)
%15 = add nuw nsw i64 %12, 1
%16 = icmp eq i64 %15, 101
br i1 %16, label %17, label %11
17: ; preds = %11
%18 = call i32 @fclose(i32* %5)
%19 = call i32 @indexx(i32 100, float* %4, i64* %3)
%20 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
br label %21
21: ; preds = %17, %21
%22 = phi i64 [ 0, %17 ], [ %75, %21 ]
%23 = mul nuw nsw i64 %22, 10
%24 = or i64 %23, 1
%25 = getelementptr inbounds float, float* %4, i64 %24
%26 = load float, float* %25
%27 = fpext float %26 to double
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %27)
%29 = add nuw nsw i64 %23, 2
%30 = getelementptr inbounds float, float* %4, i64 %29
%31 = load float, float* %30
%32 = fpext float %31 to double
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %32)
%34 = add nuw nsw i64 %23, 3
%35 = getelementptr inbounds float, float* %4, i64 %34
%36 = load float, float* %35
%37 = fpext float %36 to double
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %37)
%39 = add nuw nsw i64 %23, 4
%40 = getelementptr inbounds float, float* %4, i64 %39
%41 = load float, float* %40
%42 = fpext float %41 to double
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %42)
%44 = add nuw nsw i64 %23, 5
%45 = getelementptr inbounds float, float* %4, i64 %44
%46 = load float, float* %45
%47 = fpext float %46 to double
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %47)
%49 = add nuw nsw i64 %23, 6
%50 = getelementptr inbounds float, float* %4, i64 %49
%51 = load float, float* %50
%52 = fpext float %51 to double
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %52)
%54 = add nuw nsw i64 %23, 7
%55 = getelementptr inbounds float, float* %4, i64 %54
%56 = load float, float* %55
%57 = fpext float %56 to double
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %57)
%59 = add nuw nsw i64 %23, 8
%60 = getelementptr inbounds float, float* %4, i64 %59
%61 = load float, float* %60
%62 = fpext float %61 to double
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %62)
%64 = add nuw nsw i64 %23, 9
%65 = getelementptr inbounds float, float* %4, i64 %64
%66 = load float, float* %65
%67 = fpext float %66 to double
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %67)
%69 = add nuw nsw i64 %23, 10
%70 = getelementptr inbounds float, float* %4, i64 %69
%71 = load float, float* %70
%72 = fpext float %71 to double
%73 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %72)
%74 = call i32 @putchar(i32 10)
%75 = add nuw nsw i64 %22, 1
%76 = icmp eq i64 %75, 10
br i1 %76, label %77, label %21
77: ; preds = %21
%78 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.8, i64 0, i64 0))
br label %79
79: ; preds = %77, %79
%80 = phi i64 [ 0, %77 ], [ %153, %79 ]
%81 = mul nuw nsw i64 %80, 10
%82 = or i64 %81, 1
%83 = getelementptr inbounds i64, i64* %3, i64 %82
%84 = load i64, i64* %83
%85 = getelementptr inbounds float, float* %4, i64 %84
%86 = load float, float* %85
%87 = fpext float %86 to double
%88 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %87)
%89 = add nuw nsw i64 %81, 2
%90 = getelementptr inbounds i64, i64* %3, i64 %89
%91 = load i64, i64* %90
%92 = getelementptr inbounds float, float* %4, i64 %91
%93 = load float, float* %92
%94 = fpext float %93 to double
%95 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %94)
%96 = add nuw nsw i64 %81, 3
%97 = getelementptr inbounds i64, i64* %3, i64 %96
%98 = load i64, i64* %97
%99 = getelementptr inbounds float, float* %4, i64 %98
%100 = load float, float* %99
%101 = fpext float %100 to double
%102 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %101)
%103 = add nuw nsw i64 %81, 4
%104 = getelementptr inbounds i64, i64* %3, i64 %103
%105 = load i64, i64* %104
%106 = getelementptr inbounds float, float* %4, i64 %105
%107 = load float, float* %106
%108 = fpext float %107 to double
%109 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %108)
%110 = add nuw nsw i64 %81, 5
%111 = getelementptr inbounds i64, i64* %3, i64 %110
%112 = load i64, i64* %111
%113 = getelementptr inbounds float, float* %4, i64 %112
%114 = load float, float* %113
%115 = fpext float %114 to double
%116 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %115)
%117 = add nuw nsw i64 %81, 6
%118 = getelementptr inbounds i64, i64* %3, i64 %117
%119 = load i64, i64* %118
%120 = getelementptr inbounds float, float* %4, i64 %119
%121 = load float, float* %120
%122 = fpext float %121 to double
%123 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %122)
%124 = add nuw nsw i64 %81, 7
%125 = getelementptr inbounds i64, i64* %3, i64 %124
%126 = load i64, i64* %125
%127 = getelementptr inbounds float, float* %4, i64 %126
%128 = load float, float* %127
%129 = fpext float %128 to double
%130 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %129)
%131 = add nuw nsw i64 %81, 8
%132 = getelementptr inbounds i64, i64* %3, i64 %131
%133 = load i64, i64* %132
%134 = getelementptr inbounds float, float* %4, i64 %133
%135 = load float, float* %134
%136 = fpext float %135 to double
%137 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %136)
%138 = add nuw nsw i64 %81, 9
%139 = getelementptr inbounds i64, i64* %3, i64 %138
%140 = load i64, i64* %139
%141 = getelementptr inbounds float, float* %4, i64 %140
%142 = load float, float* %141
%143 = fpext float %142 to double
%144 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %143)
%145 = add nuw nsw i64 %81, 10
%146 = getelementptr inbounds i64, i64* %3, i64 %145
%147 = load i64, i64* %146
%148 = getelementptr inbounds float, float* %4, i64 %147
%149 = load float, float* %148
%150 = fpext float %149 to double
%151 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %150)
%152 = call i32 @putchar(i32 10)
%153 = add nuw nsw i64 %80, 1
%154 = icmp eq i64 %153, 10
br i1 %154, label %155, label %79
155: ; preds = %79
%156 = call i32 @free_vector(float* %4, i32 1, i32 100)
%157 = call i32 @free_lvector(i64* %3, i32 1, i32 100)
ret i32 0
}