#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 */
float RAND_MAX;
int /*<<< orphan*/ printf(char *, ...);
int rand();
int /*<<< orphan*/ srand(unsigned int);
scalar_t__ time(int /*<<< orphan*/ *);
void ex3() {
  int pessoa[15], sexo[15], c, d, temp_s, temp_p, nsexo[2] = {0};
  float altura[15], temp_a, soma[2] = {0}, med_altura[2] = {0};
  srand((unsigned int)time(NULL));
  for (int i = 0; i < 15; i++) {
    altura[i] = ((float)rand() / (RAND_MAX)) * 2.;
    sexo[i] = rand() % 2;
    nsexo[sexo[i]]++;
    soma[sexo[i]] += altura[i];
    pessoa[i] = i;
  }
  med_altura[0] = (float)soma[0] / nsexo[0];
  for (c = 0; c < (15 - 1); c++) {
    for (d = 0; d < 15 - c - 1; d++) {
      if (altura[d] > altura[d + 1]) {
        temp_a = altura[d];
        temp_s = sexo[d];
        temp_p = pessoa[d];
        altura[d] = altura[d + 1];
        sexo[d] = sexo[d + 1];
        pessoa[d] = pessoa[d + 1];
        altura[d + 1] = temp_a;
        sexo[d + 1] = temp_s;
        pessoa[d + 1] = temp_p;
      }
    }
  }
  printf(" --------------------------------------- \n");
  printf("| %-10s || %-10s || %10s |\n", "PESSOA", "ALTURA", "SEXO");
  printf(" --------------------------------------- \n");
  for (int i = 0; i < 15; i++) {
    printf("| %-10d || %-10f || %10d |\n", pessoa[i], altura[i], sexo[i]);
  }
  printf(" --------------------------------------- \n");
  printf("1) Maior do grupo:\t\t\t%d [%.2f]\n", pessoa[15 - 1], altura[15 - 1]);
  printf("2) Menor do grupo:\t\t\t%d [%.2f]\n", pessoa[0], altura[0]);
  printf("3) Média de altura das mulheres:\t%.2f\n", med_altura[0]);
  printf("4) Número de homens:\t\t\t%d\n", nsexo[1]);
  printf("5) Sexo da pessoa %d, a mais alta:\t%s\n", pessoa[15 - 1],
         sexo[15 - 1] == 1 ? "Masculino" : "Feminino");
}


x86 assembly (clang, -O0):
<ex3>:
push   %rbp
mov    %rsp,%rbp
sub    $0x100,%rsp
lea    -0x98(%rbp),%rdi
xor    %esi,%esi
mov    $0x8,%edx
call   1040 <memset@plt>
lea    -0xec(%rbp),%rdi
xor    %esi,%esi
mov    $0x8,%edx
call   1040 <memset@plt>
lea    -0xf4(%rbp),%rdi
xor    %esi,%esi
mov    $0x8,%edx
call   1040 <memset@plt>
xor    %eax,%eax
mov    %eax,%edi
call   1060 <time@plt>
mov    %eax,%edi
call   1050 <srand@plt>
movl   $0x0,-0xf8(%rbp)
cmpl   $0xf,-0xf8(%rbp)
jge    127f <ex3+0x12f>
mov    $0x0,%al
call   1070 <rand@plt>
cvtsi2ss %eax,%xmm0
mov    0x2e1b(%rip),%rax
divss  (%rax),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe23(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movslq -0xf8(%rbp),%rax
movss  %xmm0,-0xe0(%rbp,%rax,4)
ff ff
mov    $0x0,%al
call   1070 <rand@plt>
mov    $0x2,%ecx
cltd
idiv   %ecx
movslq -0xf8(%rbp),%rax
mov    %edx,-0x80(%rbp,%rax,4)
movslq -0xf8(%rbp),%rax
movslq -0x80(%rbp,%rax,4),%rax
mov    -0x98(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x98(%rbp,%rax,4)
movslq -0xf8(%rbp),%rax
movss  -0xe0(%rbp,%rax,4),%xmm0
ff ff
movslq -0xf8(%rbp),%rax
movslq -0x80(%rbp,%rax,4),%rax
addss  -0xec(%rbp,%rax,4),%xmm0
ff ff
movss  %xmm0,-0xec(%rbp,%rax,4)
ff ff
mov    -0xf8(%rbp),%ecx
movslq -0xf8(%rbp),%rax
mov    %ecx,-0x40(%rbp,%rax,4)
mov    -0xf8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xf8(%rbp)
jmp    11ae <ex3+0x5e>
movss  -0xec(%rbp),%xmm0
ff
cvtsi2ssl -0x98(%rbp),%xmm1
ff
divss  %xmm1,%xmm0
movss  %xmm0,-0xf4(%rbp)
ff
movl   $0x0,-0x84(%rbp)
cmpl   $0xe,-0x84(%rbp)
jge    140b <ex3+0x2bb>
movl   $0x0,-0x88(%rbp)
mov    -0x88(%rbp),%eax
mov    $0xf,%ecx
sub    -0x84(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    13f2 <ex3+0x2a2>
movslq -0x88(%rbp),%rax
movss  -0xe0(%rbp,%rax,4),%xmm0
ff ff
mov    -0x88(%rbp),%eax
add    $0x1,%eax
cltq
ucomiss -0xe0(%rbp,%rax,4),%xmm0
ff
jbe    13d9 <ex3+0x289>
movslq -0x88(%rbp),%rax
movss  -0xe0(%rbp,%rax,4),%xmm0
ff ff
movss  %xmm0,-0xe4(%rbp)
ff
movslq -0x88(%rbp),%rax
mov    -0x80(%rbp,%rax,4),%eax
mov    %eax,-0x8c(%rbp)
movslq -0x88(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
mov    %eax,-0x90(%rbp)
mov    -0x88(%rbp),%eax
add    $0x1,%eax
cltq
movss  -0xe0(%rbp,%rax,4),%xmm0
ff ff
movslq -0x88(%rbp),%rax
movss  %xmm0,-0xe0(%rbp,%rax,4)
ff ff
mov    -0x88(%rbp),%eax
add    $0x1,%eax
cltq
mov    -0x80(%rbp,%rax,4),%ecx
movslq -0x88(%rbp),%rax
mov    %ecx,-0x80(%rbp,%rax,4)
mov    -0x88(%rbp),%eax
add    $0x1,%eax
cltq
mov    -0x40(%rbp,%rax,4),%ecx
movslq -0x88(%rbp),%rax
mov    %ecx,-0x40(%rbp,%rax,4)
movss  -0xe4(%rbp),%xmm0
ff
mov    -0x88(%rbp),%eax
add    $0x1,%eax
cltq
movss  %xmm0,-0xe0(%rbp,%rax,4)
ff ff
mov    -0x8c(%rbp),%ecx
mov    -0x88(%rbp),%eax
add    $0x1,%eax
cltq
mov    %ecx,-0x80(%rbp,%rax,4)
mov    -0x90(%rbp),%ecx
mov    -0x88(%rbp),%eax
add    $0x1,%eax
cltq
mov    %ecx,-0x40(%rbp,%rax,4)
jmp    13de <ex3+0x28e>
mov    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
jmp    12bc <ex3+0x16c>
jmp    13f7 <ex3+0x2a7>
mov    -0x84(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x84(%rbp)
jmp    12a5 <ex3+0x155>
lea    0xbf6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc13(%rip),%rdi
lea    0xc28(%rip),%rsi
lea    0xc28(%rip),%rdx
lea    0xc28(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbc5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0xfc(%rbp)
cmpl   $0xf,-0xfc(%rbp)
jge    14ad <ex3+0x35d>
movslq -0xfc(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%esi
movslq -0xfc(%rbp),%rax
movss  -0xe0(%rbp,%rax,4),%xmm0
ff ff
cvtss2sd %xmm0,%xmm0
movslq -0xfc(%rbp),%rax
mov    -0x80(%rbp,%rax,4),%edx
lea    0xbd0(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0xfc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xfc(%rbp)
jmp    1454 <ex3+0x304>
lea    0xb54(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
movss  -0xa8(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
lea    0xbad(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x40(%rbp),%esi
movss  -0xe0(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
lea    0xbb0(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0xf4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
lea    0xbb6(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x94(%rbp),%esi
lea    0xbca(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
mov    -0x48(%rbp),%ecx
lea    0xc03(%rip),%rdx
lea    0xbf2(%rip),%rax
cmp    $0x1,%ecx
cmove  %rax,%rdx
lea    0xbbd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x100,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ex3>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0xf0,%rsp
movq   $0x0,0x18(%rsp)
movq   $0x0,0x10(%rsp)
xor    %edi,%edi
call   1060 <time@plt>
mov    %eax,%edi
call   1050 <srand@plt>
mov    0x2e62(%rip),%rbx
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
xor    %eax,%eax
call   1070 <rand@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
divss  (%rbx),%xmm0
addss  %xmm0,%xmm0
movss  %xmm0,0xc(%rsp)
movss  %xmm0,0x20(%rsp,%rbp,4)
xor    %eax,%eax
call   1070 <rand@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
and    $0xfffffffe,%ecx
sub    %ecx,%eax
movslq %eax,%rcx
addl   $0x1,0x18(%rsp,%rcx,4)
mov    %eax,0xa0(%rsp,%rbp,4)
movss  0xc(%rsp),%xmm0
addss  0x10(%rsp,%rcx,4),%xmm0
movss  %xmm0,0x10(%rsp,%rcx,4)
mov    %ebp,0x60(%rsp,%rbp,4)
add    $0x1,%rbp
cmp    $0xf,%rbp
jne    1190 <ex3+0x40>
movss  0x10(%rsp),%xmm0
movss  %xmm0,0xc(%rsp)
xor    %eax,%eax
mov    $0xe,%ecx
mov    0x18(%rsp),%r12d
jmp    121c <ex3+0xcc>
xchg   %ax,%ax
add    $0x1,%eax
add    $0xffffffffffffffff,%rcx
cmp    $0xe,%eax
je     1267 <ex3+0x117>
movss  0x20(%rsp),%xmm0
xor    %esi,%esi
jmp    1253 <ex3+0x103>
cs nopw 0x0(%rax,%rax,1)
rolq   $0x20,0xa0(%rsp,%rsi,4)
rolq   $0x20,0x60(%rsp,%rsi,4)
movss  %xmm1,0x20(%rsp,%rsi,4)
movss  %xmm0,0x24(%rsp,%rsi,4)
mov    %rdx,%rsi
cmp    %rdx,%rcx
je     1210 <ex3+0xc0>
lea    0x1(%rsi),%rdx
movss  0x24(%rsp,%rsi,4),%xmm1
ucomiss %xmm1,%xmm0
ja     1230 <ex3+0xe0>
movaps %xmm1,%xmm0
jmp    124b <ex3+0xfb>
lea    0xe9b(%rip),%r14
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xd83(%rip),%rdi
lea    0xd98(%rip),%rsi
lea    0xd98(%rip),%rdx
lea    0xd98(%rip),%rcx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
mov    0x60(%rsp),%esi
movss  0x20(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xa0(%rsp),%edx
lea    0xd72(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x64(%rsp),%esi
movss  0x24(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xa4(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x68(%rsp),%esi
movss  0x28(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xa8(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x6c(%rsp),%esi
movss  0x2c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xac(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x70(%rsp),%esi
movss  0x30(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xb0(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x74(%rsp),%esi
movss  0x34(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xb4(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x78(%rsp),%esi
movss  0x38(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xb8(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x7c(%rsp),%esi
movss  0x3c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xbc(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x80(%rsp),%esi
movss  0x40(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xc0(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x84(%rsp),%esi
movss  0x44(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xc4(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x88(%rsp),%esi
movss  0x48(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xc8(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x8c(%rsp),%esi
movss  0x4c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xcc(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x90(%rsp),%esi
movss  0x50(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xd0(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x94(%rsp),%esi
movss  0x54(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0xd4(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x98(%rsp),%ebp
movss  0x58(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0xe8(%rsp)
mov    0xd8(%rsp),%r15d
mov    %rbx,%rdi
mov    %ebp,%esi
mov    %r15d,%edx
mov    $0x1,%al
call   1040 <printf@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %r12d,%xmm0
movss  0xc(%rsp),%xmm1
divss  %xmm0,%xmm1
movss  %xmm1,0xc(%rsp)
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xb87(%rip),%rdi
mov    %ebp,%esi
movsd  0xe8(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x60(%rsp),%esi
movss  0x20(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xb80(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xb88(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x1c(%rsp),%esi
lea    0xb9e(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x1,%r15d
lea    0xbcf(%rip),%rax
lea    0xbd2(%rip),%rdx
cmove  %rax,%rdx
lea    0xb96(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
add    $0xf0,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <printf@plt>

LLVM IR (-O0):
@RAND_MAX = global float 0.000000e+00
@.str = [43 x i8] c" --------------------------------------- \0A\00"
@.str.1 = [28 x i8] c"| %-10s || %-10s || %10s |\0A\00"
@.str.2 = [7 x i8] c"PESSOA\00"
@.str.3 = [7 x i8] c"ALTURA\00"
@.str.4 = [5 x i8] c"SEXO\00"
@.str.5 = [28 x i8] c"| %-10d || %-10f || %10d |\0A\00"
@.str.6 = [32 x i8] c"1) Maior do grupo:\09\09\09%d [%.2f]\0A\00"
@.str.7 = [32 x i8] c"2) Menor do grupo:\09\09\09%d [%.2f]\0A\00"
@.str.8 = [40 x i8] c"3) M\C3\A9dia de altura das mulheres:\09%.2f\0A\00"
@.str.9 = [28 x i8] c"4) N\C3\BAmero de homens:\09\09\09%d\0A\00"
@.str.10 = [39 x i8] c"5) Sexo da pessoa %d, a mais alta:\09%s\0A\00"
@.str.11 = [10 x i8] c"Masculino\00"
@.str.12 = [9 x i8] c"Feminino\00"
define void @ex3() {
%1 = alloca [15 x i32]
%2 = alloca [15 x i32]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca [2 x i32]
%8 = alloca [15 x float]
%9 = alloca float
%10 = alloca [2 x float]
%11 = alloca [2 x float]
%12 = alloca i32
%13 = alloca i32
%14 = bitcast [2 x i32]* %7 to i8*
%15 = bitcast [2 x float]* %10 to i8*
%16 = bitcast [2 x float]* %11 to i8*
%17 = call i64 @time(i32* null)
%18 = trunc i64 %17 to i32
%19 = call i32 @srand(i32 %18)
store i32 0, i32* %12
br label %20
20: ; preds = %63, %0
%21 = load i32, i32* %12
%22 = icmp slt i32 %21, 15
br i1 %22, label %23, label %66
23: ; preds = %20
%24 = call i32 (...) @rand()
%25 = sitofp i32 %24 to float
%26 = load float, float* @RAND_MAX
%27 = fdiv float %25, %26
%28 = fpext float %27 to double
%29 = fmul double %28, 2.000000e+00
%30 = fptrunc double %29 to float
%31 = load i32, i32* %12
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [15 x float], [15 x float]* %8, i64 0, i64 %32
store float %30, float* %33
%34 = call i32 (...) @rand()
%35 = srem i32 %34, 2
%36 = load i32, i32* %12
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %37
store i32 %35, i32* %38
%39 = load i32, i32* %12
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %40
%42 = load i32, i32* %41
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [2 x i32], [2 x i32]* %7, i64 0, i64 %43
%45 = load i32, i32* %44
%46 = add nsw i32 %45, 1
store i32 %46, i32* %44
%47 = load i32, i32* %12
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [15 x float], [15 x float]* %8, i64 0, i64 %48
%50 = load float, float* %49
%51 = load i32, i32* %12
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %52
%54 = load i32, i32* %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [2 x float], [2 x float]* %10, i64 0, i64 %55
%57 = load float, float* %56
%58 = fadd float %57, %50
store float %58, float* %56
%59 = load i32, i32* %12
%60 = load i32, i32* %12
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %61
store i32 %59, i32* %62
br label %63
63: ; preds = %23
%64 = load i32, i32* %12
%65 = add nsw i32 %64, 1
store i32 %65, i32* %12
br label %20
66: ; preds = %20
%67 = getelementptr inbounds [2 x float], [2 x float]* %10, i64 0, i64 0
%68 = load float, float* %67
%69 = getelementptr inbounds [2 x i32], [2 x i32]* %7, i64 0, i64 0
%70 = load i32, i32* %69
%71 = sitofp i32 %70 to float
%72 = fdiv float %68, %71
%73 = getelementptr inbounds [2 x float], [2 x float]* %11, i64 0, i64 0
store float %72, float* %73
store i32 0, i32* %3
br label %74
74: ; preds = %152, %66
%75 = load i32, i32* %3
%76 = icmp slt i32 %75, 14
br i1 %76, label %77, label %155
77: ; preds = %74
store i32 0, i32* %4
br label %78
78: ; preds = %148, %77
%79 = load i32, i32* %4
%80 = load i32, i32* %3
%81 = sub nsw i32 15, %80
%82 = sub nsw i32 %81, 1
%83 = icmp slt i32 %79, %82
br i1 %83, label %84, label %151
84: ; preds = %78
%85 = load i32, i32* %4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [15 x float], [15 x float]* %8, i64 0, i64 %86
%88 = load float, float* %87
%89 = load i32, i32* %4
%90 = add nsw i32 %89, 1
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [15 x float], [15 x float]* %8, i64 0, i64 %91
%93 = load float, float* %92
%94 = fcmp ogt float %88, %93
br i1 %94, label %95, label %147
95: ; preds = %84
%96 = load i32, i32* %4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [15 x float], [15 x float]* %8, i64 0, i64 %97
%99 = load float, float* %98
store float %99, float* %9
%100 = load i32, i32* %4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %101
%103 = load i32, i32* %102
store i32 %103, i32* %5
%104 = load i32, i32* %4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %105
%107 = load i32, i32* %106
store i32 %107, i32* %6
%108 = load i32, i32* %4
%109 = add nsw i32 %108, 1
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [15 x float], [15 x float]* %8, i64 0, i64 %110
%112 = load float, float* %111
%113 = load i32, i32* %4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [15 x float], [15 x float]* %8, i64 0, i64 %114
store float %112, float* %115
%116 = load i32, i32* %4
%117 = add nsw i32 %116, 1
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %118
%120 = load i32, i32* %119
%121 = load i32, i32* %4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %122
store i32 %120, i32* %123
%124 = load i32, i32* %4
%125 = add nsw i32 %124, 1
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %126
%128 = load i32, i32* %127
%129 = load i32, i32* %4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %130
store i32 %128, i32* %131
%132 = load float, float* %9
%133 = load i32, i32* %4
%134 = add nsw i32 %133, 1
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [15 x float], [15 x float]* %8, i64 0, i64 %135
store float %132, float* %136
%137 = load i32, i32* %5
%138 = load i32, i32* %4
%139 = add nsw i32 %138, 1
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %140
store i32 %137, i32* %141
%142 = load i32, i32* %6
%143 = load i32, i32* %4
%144 = add nsw i32 %143, 1
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %145
store i32 %142, i32* %146
br label %147
147: ; preds = %95, %84
br label %148
148: ; preds = %147
%149 = load i32, i32* %4
%150 = add nsw i32 %149, 1
store i32 %150, i32* %4
br label %78
151: ; preds = %78
br label %152
152: ; preds = %151
%153 = load i32, i32* %3
%154 = add nsw i32 %153, 1
store i32 %154, i32* %3
br label %74
155: ; preds = %74
%156 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0))
%157 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%158 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %13
br label %159
159: ; preds = %177, %155
%160 = load i32, i32* %13
%161 = icmp slt i32 %160, 15
br i1 %161, label %162, label %180
162: ; preds = %159
%163 = load i32, i32* %13
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %164
%166 = load i32, i32* %165
%167 = load i32, i32* %13
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [15 x float], [15 x float]* %8, i64 0, i64 %168
%170 = load float, float* %169
%171 = fpext float %170 to double
%172 = load i32, i32* %13
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %173
%175 = load i32, i32* %174
%176 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %166, double %171, i32 %175)
br label %177
177: ; preds = %162
%178 = load i32, i32* %13
%179 = add nsw i32 %178, 1
store i32 %179, i32* %13
br label %159
180: ; preds = %159
%181 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0))
%182 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 14
%183 = load i32, i32* %182
%184 = getelementptr inbounds [15 x float], [15 x float]* %8, i64 0, i64 14
%185 = load float, float* %184
%186 = fpext float %185 to double
%187 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %183, double %186)
%188 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 0
%189 = load i32, i32* %188
%190 = getelementptr inbounds [15 x float], [15 x float]* %8, i64 0, i64 0
%191 = load float, float* %190
%192 = fpext float %191 to double
%193 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), i32 %189, double %192)
%194 = getelementptr inbounds [2 x float], [2 x float]* %11, i64 0, i64 0
%195 = load float, float* %194
%196 = fpext float %195 to double
%197 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.8, i64 0, i64 0), double %196)
%198 = getelementptr inbounds [2 x i32], [2 x i32]* %7, i64 0, i64 1
%199 = load i32, i32* %198
%200 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0), i32 %199)
%201 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 14
%202 = load i32, i32* %201
%203 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 14
%204 = load i32, i32* %203
%205 = icmp eq i32 %204, 1
%206 = zext i1 %205 to i64
%207 = select i1 %205, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0)
%208 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0), i32 %202, i8* %207)
ret void
}

LLVM IR (-O2):
@RAND_MAX = global float 0.000000e+00
@.str.1 = [28 x i8] c"| %-10s || %-10s || %10s |\0A\00"
@.str.2 = [7 x i8] c"PESSOA\00"
@.str.3 = [7 x i8] c"ALTURA\00"
@.str.4 = [5 x i8] c"SEXO\00"
@.str.5 = [28 x i8] c"| %-10d || %-10f || %10d |\0A\00"
@.str.6 = [32 x i8] c"1) Maior do grupo:\09\09\09%d [%.2f]\0A\00"
@.str.7 = [32 x i8] c"2) Menor do grupo:\09\09\09%d [%.2f]\0A\00"
@.str.8 = [40 x i8] c"3) M\C3\A9dia de altura das mulheres:\09%.2f\0A\00"
@.str.9 = [28 x i8] c"4) N\C3\BAmero de homens:\09\09\09%d\0A\00"
@.str.10 = [39 x i8] c"5) Sexo da pessoa %d, a mais alta:\09%s\0A\00"
@.str.11 = [10 x i8] c"Masculino\00"
@.str.12 = [9 x i8] c"Feminino\00"
@str.14 = [42 x i8] c" --------------------------------------- \00"
define void @ex3() {
%1 = alloca [15 x i32]
%2 = alloca [15 x i32]
%3 = alloca i64
%4 = bitcast i64* %3 to [2 x i32]*
%5 = alloca [15 x float]
%6 = alloca i64
%7 = bitcast i64* %6 to [2 x float]*
%8 = bitcast [15 x i32]* %1 to i8*
%9 = bitcast [15 x i32]* %2 to i8*
%10 = bitcast i64* %3 to i8*
store i64 0, i64* %3
%11 = bitcast [15 x float]* %5 to i8*
%12 = bitcast i64* %6 to i8*
store i64 0, i64* %6
%13 = tail call i64 @time(i32* null)
%14 = trunc i64 %13 to i32
%15 = tail call i32 @srand(i32 %14)
br label %22
16: ; preds = %22
%17 = bitcast i64* %6 to float*
%18 = load float, float* %17
%19 = bitcast i64* %3 to i32*
%20 = load i32, i32* %19
%21 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 0
br label %44
22: ; preds = %0, %22
%23 = phi i64 [ 0, %0 ], [ %42, %22 ]
%24 = tail call i32 (...) @rand()
%25 = sitofp i32 %24 to float
%26 = load float, float* @RAND_MAX
%27 = fdiv float %25, %26
%28 = fmul float %27, 2.000000e+00
%29 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 %23
store float %28, float* %29
%30 = tail call i32 (...) @rand()
%31 = srem i32 %30, 2
%32 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %23
store i32 %31, i32* %32
%33 = sext i32 %31 to i64
%34 = getelementptr inbounds [2 x i32], [2 x i32]* %4, i64 0, i64 %33
%35 = load i32, i32* %34
%36 = add nsw i32 %35, 1
store i32 %36, i32* %34
%37 = getelementptr inbounds [2 x float], [2 x float]* %7, i64 0, i64 %33
%38 = load float, float* %37
%39 = fadd float %28, %38
store float %39, float* %37
%40 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %23
%41 = trunc i64 %23 to i32
store i32 %41, i32* %40
%42 = add nuw nsw i64 %23, 1
%43 = icmp eq i64 %42, 15
br i1 %43, label %16, label %22
44: ; preds = %68, %16
%45 = phi i64 [ 14, %16 ], [ %70, %68 ]
%46 = phi i32 [ 0, %16 ], [ %69, %68 ]
%47 = load float, float* %21
br label %48
48: ; preds = %44, %65
%49 = phi float [ %47, %44 ], [ %66, %65 ]
%50 = phi i64 [ 0, %44 ], [ %51, %65 ]
%51 = add nuw nsw i64 %50, 1
%52 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 %51
%53 = load float, float* %52
%54 = fcmp ogt float %49, %53
br i1 %54, label %55, label %65
55: ; preds = %48
%56 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 %50
%57 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %50
%58 = load i32, i32* %57
%59 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %50
%60 = load i32, i32* %59
store float %53, float* %56
%61 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 %51
%62 = load i32, i32* %61
store i32 %62, i32* %57
%63 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %51
%64 = load i32, i32* %63
store i32 %64, i32* %59
store float %49, float* %52
store i32 %58, i32* %61
store i32 %60, i32* %63
br label %65
65: ; preds = %48, %55
%66 = phi float [ %53, %48 ], [ %49, %55 ]
%67 = icmp eq i64 %51, %45
br i1 %67, label %68, label %48
68: ; preds = %65
%69 = add nuw nsw i32 %46, 1
%70 = add nsw i64 %45, -1
%71 = icmp eq i32 %69, 14
br i1 %71, label %72, label %44
72: ; preds = %68
%73 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.14, i64 0, i64 0))
%74 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%75 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.14, i64 0, i64 0))
%76 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 0
%77 = load i32, i32* %76
%78 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 0
%79 = load float, float* %78
%80 = fpext float %79 to double
%81 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 0
%82 = load i32, i32* %81
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %77, double %80, i32 %82)
%84 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 1
%85 = load i32, i32* %84
%86 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 1
%87 = load float, float* %86
%88 = fpext float %87 to double
%89 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 1
%90 = load i32, i32* %89
%91 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %85, double %88, i32 %90)
%92 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 2
%93 = load i32, i32* %92
%94 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 2
%95 = load float, float* %94
%96 = fpext float %95 to double
%97 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 2
%98 = load i32, i32* %97
%99 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %93, double %96, i32 %98)
%100 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 3
%101 = load i32, i32* %100
%102 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 3
%103 = load float, float* %102
%104 = fpext float %103 to double
%105 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 3
%106 = load i32, i32* %105
%107 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %101, double %104, i32 %106)
%108 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 4
%109 = load i32, i32* %108
%110 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 4
%111 = load float, float* %110
%112 = fpext float %111 to double
%113 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 4
%114 = load i32, i32* %113
%115 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %109, double %112, i32 %114)
%116 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 5
%117 = load i32, i32* %116
%118 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 5
%119 = load float, float* %118
%120 = fpext float %119 to double
%121 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 5
%122 = load i32, i32* %121
%123 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %117, double %120, i32 %122)
%124 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 6
%125 = load i32, i32* %124
%126 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 6
%127 = load float, float* %126
%128 = fpext float %127 to double
%129 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 6
%130 = load i32, i32* %129
%131 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %125, double %128, i32 %130)
%132 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 7
%133 = load i32, i32* %132
%134 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 7
%135 = load float, float* %134
%136 = fpext float %135 to double
%137 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 7
%138 = load i32, i32* %137
%139 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %133, double %136, i32 %138)
%140 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 8
%141 = load i32, i32* %140
%142 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 8
%143 = load float, float* %142
%144 = fpext float %143 to double
%145 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 8
%146 = load i32, i32* %145
%147 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %141, double %144, i32 %146)
%148 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 9
%149 = load i32, i32* %148
%150 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 9
%151 = load float, float* %150
%152 = fpext float %151 to double
%153 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 9
%154 = load i32, i32* %153
%155 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %149, double %152, i32 %154)
%156 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 10
%157 = load i32, i32* %156
%158 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 10
%159 = load float, float* %158
%160 = fpext float %159 to double
%161 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 10
%162 = load i32, i32* %161
%163 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %157, double %160, i32 %162)
%164 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 11
%165 = load i32, i32* %164
%166 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 11
%167 = load float, float* %166
%168 = fpext float %167 to double
%169 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 11
%170 = load i32, i32* %169
%171 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %165, double %168, i32 %170)
%172 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 12
%173 = load i32, i32* %172
%174 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 12
%175 = load float, float* %174
%176 = fpext float %175 to double
%177 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 12
%178 = load i32, i32* %177
%179 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %173, double %176, i32 %178)
%180 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 13
%181 = load i32, i32* %180
%182 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 13
%183 = load float, float* %182
%184 = fpext float %183 to double
%185 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 13
%186 = load i32, i32* %185
%187 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %181, double %184, i32 %186)
%188 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 14
%189 = load i32, i32* %188
%190 = getelementptr inbounds [15 x float], [15 x float]* %5, i64 0, i64 14
%191 = load float, float* %190
%192 = fpext float %191 to double
%193 = getelementptr inbounds [15 x i32], [15 x i32]* %2, i64 0, i64 14
%194 = load i32, i32* %193
%195 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %189, double %192, i32 %194)
%196 = sitofp i32 %20 to float
%197 = fdiv float %18, %196
%198 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.14, i64 0, i64 0))
%199 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %189, double %192)
%200 = load i32, i32* %76
%201 = load float, float* %78
%202 = fpext float %201 to double
%203 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), i32 %200, double %202)
%204 = fpext float %197 to double
%205 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.8, i64 0, i64 0), double %204)
%206 = getelementptr inbounds [2 x i32], [2 x i32]* %4, i64 0, i64 1
%207 = load i32, i32* %206
%208 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0), i32 %207)
%209 = icmp eq i32 %194, 1
%210 = select i1 %209, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0)
%211 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0), i32 %189, i8* %210)
ret void
}