#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 */
double Fst_geno(double *, int *, int *, int, int);
double *calloc(int, int);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, double);
int /*<<< orphan*/ free(double *);
double get_geno(int /*<<< orphan*/ *, double *, int, int);
char *malloc(int);
int /*<<< orphan*/ read_params(int, char **, char **, char **, char **, int **,
                               int **, int *, int *, int *, int);
int /*<<< orphan*/ strcmp(char *, char *);
int main(int argc, char *argv[]) {
  char *popfile = malloc(sizeof(char) * 256);
  char *genofile = malloc(sizeof(char) * 256);
  char *fstfile = malloc(sizeof(char) * 256);
  int nSNP, nIND, nPOP, ploidy = 2, snp = 0, i;
  int *POPs;
  int *PopSizes;
  double af;
  if (!(strcmp(argv[1], "HAPLO")))
    ploidy = 1;
  if (!(strcmp(argv[1], "DIPLO")))
    ploidy = 2;
  read_params(argc, argv, &popfile, &genofile, &fstfile, &POPs, &PopSizes,
              &nIND, &nSNP, &nPOP, ploidy);
  double *FstWC = calloc(nSNP, sizeof(double));
  double *Geno;
  FILE *MyGenoFile = fopen(genofile, "r");
  Geno = calloc(nIND, sizeof(double));
  for (snp = 0; snp < nSNP; snp++) {
    af = get_geno(MyGenoFile, Geno, nIND, ploidy);
    if (af > 0 && af < 1) {
      FstWC[snp] = Fst_geno(Geno, POPs, PopSizes, nIND, nPOP);
    } else {
      FstWC[snp] = 0;
    }
    if (FstWC[snp] > 1.5 || FstWC[snp] < -.5)
      FstWC[snp] = 0;
  }
  if (!strcmp(fstfile, ""))
    fstfile = "Fsts";
  FILE *MyFstFile = fopen(fstfile, "w");
  for (snp = 0; snp < nSNP; snp++)
    fprintf(MyFstFile, "%g\n", FstWC[snp]);
  free(FstWC);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0xa0,%rsp
movl   $0x0,-0x14(%rbp)
mov    %edi,-0x18(%rbp)
mov    %rsi,-0x20(%rbp)
mov    $0x100,%edi
call   1080 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    $0x100,%edi
call   1080 <malloc@plt>
mov    %rax,-0x30(%rbp)
mov    $0x100,%edi
call   1080 <malloc@plt>
mov    %rax,-0x38(%rbp)
movl   $0x2,-0x48(%rbp)
movl   $0x0,-0x4c(%rbp)
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe25(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1208 <main+0x78>
movl   $0x1,-0x48(%rbp)
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe07(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    122c <main+0x9c>
movl   $0x2,-0x48(%rbp)
mov    -0x18(%rbp),%edi
mov    -0x20(%rbp),%rsi
mov    -0x48(%rbp),%eax
lea    -0x28(%rbp),%rdx
lea    -0x30(%rbp),%rcx
lea    -0x38(%rbp),%r8
lea    -0x58(%rbp),%r9
lea    -0x60(%rbp),%r14
lea    -0x40(%rbp),%rbx
lea    -0x3c(%rbp),%r11
lea    -0x44(%rbp),%r10
mov    %r14,(%rsp)
mov    %rbx,0x8(%rsp)
mov    %r11,0x10(%rsp)
mov    %r10,0x18(%rsp)
mov    %eax,0x20(%rsp)
call   10b0 <read_params@plt>
mov    -0x3c(%rbp),%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,-0x70(%rbp)
mov    -0x30(%rbp),%rdi
lea    0xd96(%rip),%rsi
call   10a0 <fopen@plt>
mov    %rax,-0x80(%rbp)
mov    -0x40(%rbp),%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,-0x78(%rbp)
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x3c(%rbp),%eax
jge    138f <main+0x1ff>
mov    -0x80(%rbp),%rdi
mov    -0x78(%rbp),%rsi
mov    -0x40(%rbp),%edx
mov    -0x48(%rbp),%ecx
call   1070 <get_geno@plt>
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    1322 <main+0x192>
movsd  0xd13(%rip),%xmm0
ucomisd -0x68(%rbp),%xmm0
jbe    1322 <main+0x192>
mov    -0x78(%rbp),%rdi
mov    -0x58(%rbp),%rsi
mov    -0x60(%rbp),%rdx
mov    -0x40(%rbp),%ecx
mov    -0x44(%rbp),%r8d
call   1090 <Fst_geno@plt>
mov    -0x70(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    1332 <main+0x1a2>
mov    -0x70(%rbp),%rax
movslq -0x4c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x70(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  0xcc1(%rip),%xmm1
ucomisd %xmm1,%xmm0
ja     136c <main+0x1dc>
mov    -0x70(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  0xcaf(%rip),%xmm0
ucomisd (%rax,%rcx,8),%xmm0
jbe    137c <main+0x1ec>
mov    -0x70(%rbp),%rax
movslq -0x4c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
jmp    1381 <main+0x1f1>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    12af <main+0x11f>
mov    -0x38(%rbp),%rdi
lea    0xc96(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    13b3 <main+0x223>
lea    0xc77(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rdi
lea    0xc6d(%rip),%rsi
call   10a0 <fopen@plt>
mov    %rax,-0x88(%rbp)
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x3c(%rbp),%eax
jge    140b <main+0x27b>
mov    -0x88(%rbp),%rdi
mov    -0x70(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xc35(%rip),%rsi
call   1060 <fprintf@plt>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    13d1 <main+0x241>
mov    -0x70(%rbp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0xa0,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %rsi,%rbx
mov    %edi,%r15d
mov    $0x100,%edi
call   1080 <malloc@plt>
mov    %rax,0x30(%rsp)
mov    $0x100,%edi
call   1080 <malloc@plt>
mov    %rax,0x18(%rsp)
mov    $0x100,%edi
call   1080 <malloc@plt>
mov    %rax,0x8(%rsp)
mov    0x8(%rbx),%rbp
lea    0xe3c(%rip),%rsi
mov    %rbp,%rdi
call   1050 <strcmp@plt>
cmp    $0x1,%eax
mov    $0x2,%r12d
mov    $0x2,%r14d
sbb    $0x0,%r14d
lea    0xe20(%rip),%rsi
mov    %rbp,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
cmove  %r12d,%r14d
sub    $0x8,%rsp
lea    0x1c(%rsp),%rax
lea    0x8(%rsp),%rbp
lea    0xc(%rsp),%r10
lea    0x28(%rsp),%r11
lea    0x38(%rsp),%rdx
lea    0x20(%rsp),%rcx
lea    0x10(%rsp),%r8
lea    0x30(%rsp),%r9
mov    %r15d,%edi
mov    %rbx,%rsi
push   %r14
push   %rax
push   %rbp
push   %r10
push   %r11
call   10b0 <read_params@plt>
add    $0x30,%rsp
mov    (%rsp),%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,%r12
mov    0x18(%rsp),%rdi
lea    0xdb9(%rip),%rsi
call   10a0 <fopen@plt>
mov    %rax,%r15
mov    0x4(%rsp),%ebp
mov    %ebp,%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
cmpl   $0x0,(%rsp)
jle    1326 <main+0x196>
mov    %rax,%r13
mov    $0x1,%ebx
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r15,%rdi
mov    %r13,%rsi
mov    %ebp,%edx
mov    %r14d,%ecx
call   1070 <get_geno@plt>
movapd %xmm0,%xmm1
xorpd  %xmm0,%xmm0
ucomisd %xmm0,%xmm1
jbe    12e7 <main+0x157>
movsd  0xd3a(%rip),%xmm2
ucomisd %xmm1,%xmm2
jbe    12e7 <main+0x157>
mov    0x28(%rsp),%rsi
mov    0x20(%rsp),%rdx
mov    0x4(%rsp),%ecx
mov    0x14(%rsp),%r8d
mov    %r13,%rdi
call   1090 <Fst_geno@plt>
movsd  0xd19(%rip),%xmm1
cmpltsd %xmm0,%xmm1
movapd %xmm0,%xmm2
cmpltsd 0xd0f(%rip),%xmm2
andnpd %xmm0,%xmm2
andnpd %xmm2,%xmm1
movlpd %xmm1,-0x8(%r12,%rbx,8)
movslq (%rsp),%rax
cmp    %rax,%rbx
jge    1326 <main+0x196>
mov    0x4(%rsp),%ebp
add    $0x1,%rbx
jmp    12a0 <main+0x110>
mov    0x8(%rsp),%rdi
cmpb   $0x0,(%rdi)
jne    133c <main+0x1ac>
lea    0xcef(%rip),%rdi
mov    %rdi,0x8(%rsp)
lea    0xce8(%rip),%rsi
call   10a0 <fopen@plt>
cmpl   $0x0,(%rsp)
jle    137e <main+0x1ee>
mov    %rax,%rbx
xor    %ebp,%ebp
lea    0xcd3(%rip),%r14
nopw   0x0(%rax,%rax,1)
movsd  (%r12,%rbp,8),%xmm0
mov    %rbx,%rdi
mov    %r14,%rsi
call   1060 <fprintf@plt>
add    $0x1,%rbp
movslq (%rsp),%rax
cmp    %rax,%rbp
jl     1360 <main+0x1d0>
mov    %r12,%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [6 x i8] c"HAPLO\00"
@.str.1 = [6 x i8] c"DIPLO\00"
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [5 x i8] c"Fsts\00"
@.str.5 = [2 x i8] c"w\00"
@.str.6 = [4 x i8] c"%g\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32*
%16 = alloca i32*
%17 = alloca double
%18 = alloca double*
%19 = alloca double*
%20 = alloca i32*
%21 = alloca i32*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%22 = call i8* @malloc(i32 256)
store i8* %22, i8** %6
%23 = call i8* @malloc(i32 256)
store i8* %23, i8** %7
%24 = call i8* @malloc(i32 256)
store i8* %24, i8** %8
store i32 2, i32* %12
store i32 0, i32* %13
%25 = load i8**, i8*** %5
%26 = getelementptr inbounds i8*, i8** %25, i64 1
%27 = load i8*, i8** %26
%28 = call i32 @strcmp(i8* %27, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%29 = icmp ne i32 %28, 0
br i1 %29, label %31, label %30
30: ; preds = %2
store i32 1, i32* %12
br label %31
31: ; preds = %30, %2
%32 = load i8**, i8*** %5
%33 = getelementptr inbounds i8*, i8** %32, i64 1
%34 = load i8*, i8** %33
%35 = call i32 @strcmp(i8* %34, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%36 = icmp ne i32 %35, 0
br i1 %36, label %38, label %37
37: ; preds = %31
store i32 2, i32* %12
br label %38
38: ; preds = %37, %31
%39 = load i32, i32* %4
%40 = load i8**, i8*** %5
%41 = load i32, i32* %12
%42 = call i32 @read_params(i32 %39, i8** %40, i8** %6, i8** %7, i8** %8, i32** %15, i32** %16, i32* %10, i32* %9, i32* %11, i32 %41)
%43 = load i32, i32* %9
%44 = call double* @calloc(i32 %43, i32 8)
store double* %44, double** %18
%45 = load i8*, i8** %7
%46 = call i32* @fopen(i8* %45, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %46, i32** %20
%47 = load i32, i32* %10
%48 = call double* @calloc(i32 %47, i32 8)
store double* %48, double** %19
store i32 0, i32* %13
br label %49
49: ; preds = %100, %38
%50 = load i32, i32* %13
%51 = load i32, i32* %9
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %103
53: ; preds = %49
%54 = load i32*, i32** %20
%55 = load double*, double** %19
%56 = load i32, i32* %10
%57 = load i32, i32* %12
%58 = call double @get_geno(i32* %54, double* %55, i32 %56, i32 %57)
store double %58, double* %17
%59 = load double, double* %17
%60 = fcmp ogt double %59, 0.000000e+00
br i1 %60, label %61, label %75
61: ; preds = %53
%62 = load double, double* %17
%63 = fcmp olt double %62, 1.000000e+00
br i1 %63, label %64, label %75
64: ; preds = %61
%65 = load double*, double** %19
%66 = load i32*, i32** %15
%67 = load i32*, i32** %16
%68 = load i32, i32* %10
%69 = load i32, i32* %11
%70 = call double @Fst_geno(double* %65, i32* %66, i32* %67, i32 %68, i32 %69)
%71 = load double*, double** %18
%72 = load i32, i32* %13
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, double* %71, i64 %73
store double %70, double* %74
br label %80
75: ; preds = %61, %53
%76 = load double*, double** %18
%77 = load i32, i32* %13
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, double* %76, i64 %78
store double 0.000000e+00, double* %79
br label %80
80: ; preds = %75, %64
%81 = load double*, double** %18
%82 = load i32, i32* %13
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, double* %81, i64 %83
%85 = load double, double* %84
%86 = fcmp ogt double %85, 1.500000e+00
br i1 %86, label %94, label %87
87: ; preds = %80
%88 = load double*, double** %18
%89 = load i32, i32* %13
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, double* %88, i64 %90
%92 = load double, double* %91
%93 = fcmp olt double %92, -5.000000e-01
br i1 %93, label %94, label %99
94: ; preds = %87, %80
%95 = load double*, double** %18
%96 = load i32, i32* %13
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, double* %95, i64 %97
store double 0.000000e+00, double* %98
br label %99
99: ; preds = %94, %87
br label %100
100: ; preds = %99
%101 = load i32, i32* %13
%102 = add nsw i32 %101, 1
store i32 %102, i32* %13
br label %49
103: ; preds = %49
%104 = load i8*, i8** %8
%105 = call i32 @strcmp(i8* %104, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%106 = icmp ne i32 %105, 0
br i1 %106, label %108, label %107
107: ; preds = %103
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8** %8
br label %108
108: ; preds = %107, %103
%109 = load i8*, i8** %8
%110 = call i32* @fopen(i8* %109, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
store i32* %110, i32** %21
store i32 0, i32* %13
br label %111
111: ; preds = %123, %108
%112 = load i32, i32* %13
%113 = load i32, i32* %9
%114 = icmp slt i32 %112, %113
br i1 %114, label %115, label %126
115: ; preds = %111
%116 = load i32*, i32** %21
%117 = load double*, double** %18
%118 = load i32, i32* %13
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, double* %117, i64 %119
%121 = load double, double* %120
%122 = call i32 @fprintf(i32* %116, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double %121)
br label %123
123: ; preds = %115
%124 = load i32, i32* %13
%125 = add nsw i32 %124, 1
store i32 %125, i32* %13
br label %111
126: ; preds = %111
%127 = load double*, double** %18
%128 = call i32 @free(double* %127)
ret i32 0
}

LLVM IR (-O2):
@.str = [6 x i8] c"HAPLO\00"
@.str.1 = [6 x i8] c"DIPLO\00"
@.str.2 = [2 x i8] c"r\00"
@.str.4 = [5 x i8] c"Fsts\00"
@.str.5 = [2 x i8] c"w\00"
@.str.6 = [4 x i8] c"%g\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32*
%10 = alloca i32*
%11 = bitcast i8** %3 to i8*
%12 = tail call dereferenceable_or_null(256) i8* @malloc(i32 256)
store i8* %12, i8** %3
%13 = bitcast i8** %4 to i8*
%14 = tail call dereferenceable_or_null(256) i8* @malloc(i32 256)
store i8* %14, i8** %4
%15 = bitcast i8** %5 to i8*
%16 = tail call dereferenceable_or_null(256) i8* @malloc(i32 256)
store i8* %16, i8** %5
%17 = bitcast i32* %6 to i8*
%18 = bitcast i32* %7 to i8*
%19 = bitcast i32* %8 to i8*
%20 = bitcast i32** %9 to i8*
%21 = bitcast i32** %10 to i8*
%22 = getelementptr inbounds i8*, i8** %1, i64 1
%23 = load i8*, i8** %22
%24 = tail call i32 @strcmp(i8* dereferenceable(1) %23, i8* dereferenceable(6) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%25 = icmp eq i32 %24, 0
%26 = select i1 %25, i32 1, i32 2
%27 = tail call i32 @strcmp(i8* dereferenceable(1) %23, i8* dereferenceable(6) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%28 = icmp eq i32 %27, 0
%29 = select i1 %28, i32 2, i32 %26
%30 = call i32 @read_params(i32 %0, i8** %1, i8** %3, i8** %4, i8** %5, i32** %9, i32** %10, i32* %7, i32* %6, i32* %8, i32 %29)
%31 = load i32, i32* %6
%32 = call double* @calloc(i32 %31, i32 8)
%33 = load i8*, i8** %4
%34 = call i32* @fopen(i8* %33, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%35 = load i32, i32* %7
%36 = call double* @calloc(i32 %35, i32 8)
%37 = load i32, i32* %6
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %65
39: ; preds = %2, %63
%40 = phi i32 [ %64, %63 ], [ %35, %2 ]
%41 = phi i64 [ %59, %63 ], [ 0, %2 ]
%42 = call double @get_geno(i32* %34, double* %36, i32 %40, i32 %29)
%43 = fcmp ogt double %42, 0.000000e+00
%44 = fcmp olt double %42, 1.000000e+00
%45 = and i1 %43, %44
br i1 %45, label %46, label %52
46: ; preds = %39
%47 = load i32*, i32** %9
%48 = load i32*, i32** %10
%49 = load i32, i32* %7
%50 = load i32, i32* %8
%51 = call double @Fst_geno(double* %36, i32* %47, i32* %48, i32 %49, i32 %50)
br label %52
52: ; preds = %39, %46
%53 = phi double [ %51, %46 ], [ 0.000000e+00, %39 ]
%54 = getelementptr inbounds double, double* %32, i64 %41
%55 = fcmp ogt double %53, 1.500000e+00
%56 = fcmp olt double %53, -5.000000e-01
%57 = or i1 %55, %56
%58 = select i1 %57, double 0.000000e+00, double %53
store double %58, double* %54
%59 = add nuw nsw i64 %41, 1
%60 = load i32, i32* %6
%61 = sext i32 %60 to i64
%62 = icmp slt i64 %59, %61
br i1 %62, label %63, label %65
63: ; preds = %52
%64 = load i32, i32* %7
br label %39
65: ; preds = %52, %2
%66 = load i8*, i8** %5
%67 = load i8, i8* %66
%68 = icmp eq i8 %67, 0
br i1 %68, label %69, label %70
69: ; preds = %65
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8** %5
br label %70
70: ; preds = %69, %65
%71 = phi i8* [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), %69 ], [ %66, %65 ]
%72 = call i32* @fopen(i8* %71, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%73 = load i32, i32* %6
%74 = icmp sgt i32 %73, 0
br i1 %74, label %75, label %84
75: ; preds = %70, %75
%76 = phi i64 [ %80, %75 ], [ 0, %70 ]
%77 = getelementptr inbounds double, double* %32, i64 %76
%78 = load double, double* %77
%79 = call i32 @fprintf(i32* %72, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double %78)
%80 = add nuw nsw i64 %76, 1
%81 = load i32, i32* %6
%82 = sext i32 %81 to i64
%83 = icmp slt i64 %80, %82
br i1 %83, label %75, label %84
84: ; preds = %75, %70
%85 = call i32 @free(double* %32)
ret i32 0
}