#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 INT_MAX;
int /*<<< orphan*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int /*<<< orphan*/ stdin;
int main() {
  float aporte, promedioAporte, aportePiso, colaboracionMasBaja,
      recolectadoAnhoAnterior;
  int nPersonas, contadorPiso, pisoColaboracionMasBaja, i;
  int r;
  colaboracionMasBaja = INT_MAX;
  promedioAporte = 0;
  contadorPiso = 0;
  do {
    aportePiso = 0;
    fflush(stdin);
    contadorPiso++;
    printf("\x1B[31m");
    printf("\n\nPiso #%d:\n\n", contadorPiso);
    for (i = 0; i < 3; i++) {
      printf("\x1B[34m");
      printf("\n\tApartamento #%d", i + 1);
      printf("\x1B[32m");
      printf("\n\t\tIngrese el # de personas en el departamento: ");
      scanf("%d", &nPersonas);
      printf("\n\t\tIngrese el aporte:");
      scanf("%f", &aporte);
      promedioAporte = aporte / nPersonas;
      printf("\n\t\tEl aporte promedio por persona fue %f \n", promedioAporte);
      aportePiso += aporte;
    }
    if (contadorPiso != 1 && aportePiso < colaboracionMasBaja) {
      colaboracionMasBaja = aportePiso;
      pisoColaboracionMasBaja = contadorPiso;
    }
    printf("%s\n\n\nQuedan pisos por registrar?", "\x1B[33m");
    scanf("%d", &r);
  } while (r == 1);
  printf("El piso con el menor aporte fue el #%d y su aporte fue de %.3f",
         pisoColaboracionMasBaja, colaboracionMasBaja);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    0x2e9a(%rip),%rax
movss  (%rax),%xmm0
movss  %xmm0,-0x14(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
movl   $0x0,-0x20(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x10(%rbp)
mov    0x2e7b(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
lea    0xe7c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%esi
lea    0xe71(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x28(%rbp)
cmpl   $0x3,-0x28(%rbp)
jge    1264 <main+0x134>
lea    0xe60(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%esi
add    $0x1,%esi
lea    0xe52(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe56(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe4e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe37(%rip),%rdi
lea    -0x1c(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    0xe5f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe67(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movss  -0x8(%rbp),%xmm0
cvtsi2ssl -0x1c(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe3c(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x8(%rbp),%xmm0
addss  -0x10(%rbp),%xmm0
movss  %xmm0,-0x10(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    11a3 <main+0x73>
cmpl   $0x1,-0x20(%rbp)
je     1291 <main+0x161>
movss  -0x10(%rbp),%xmm1
movss  -0x14(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1291 <main+0x161>
movss  -0x10(%rbp),%xmm0
movss  %xmm0,-0x14(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x24(%rbp)
lea    0xe0f(%rip),%rdi
lea    0xe29(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd7c(%rip),%rdi
lea    -0x2c(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
cmpl   $0x1,-0x2c(%rbp)
je     115e <main+0x2e>
mov    -0x24(%rbp),%esi
movss  -0x14(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdf9(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    0x2e9b(%rip),%rax
movss  (%rax),%xmm0
mov    $0x1,%ebx
lea    0xed8(%rip),%r14
jmp    119c <main+0x6c>
nopw   0x0(%rax,%rax,1)
cmovne %ebx,%r13d
lea    0xf40(%rip),%rdi
lea    0xf5a(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r14,%rdi
lea    0x14(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
add    $0x1,%ebx
cmpl   $0x1,0x14(%rsp)
movss  0x4(%rsp),%xmm0
jne    13ed <main+0x2bd>
movss  %xmm0,0x10(%rsp)
mov    0x2e3f(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
lea    0xe4d(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe45(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe43(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r14,%rbp
lea    0xe38(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe37(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe2f(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r14,%rdi
lea    0xc(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xe43(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe4b(%rip),%rdi
lea    0x8(%rsp),%r15
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0xc(%rsp),%xmm0
movss  0x8(%rsp),%xmm1
divss  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
lea    0xe1e(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x8(%rsp),%xmm0
addss  0xd89(%rip),%xmm0
movss  %xmm0,0x4(%rsp)
lea    0xd94(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xd89(%rip),%r12
mov    %r12,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xd85(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xd7d(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbp,%rdi
lea    0xc(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xd91(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xd99(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0xc(%rsp),%xmm0
movss  0x8(%rsp),%xmm1
divss  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
lea    0xd71(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x4(%rsp),%xmm0
addss  0x8(%rsp),%xmm0
movss  %xmm0,0x4(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    %rbp,%r14
mov    $0x3,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xce5(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xcdd(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbp,%rdi
lea    0xc(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xcf1(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xcf9(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0xc(%rsp),%xmm0
movss  0x8(%rsp),%xmm1
divss  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
lea    0xcd1(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x10(%rsp),%xmm0
movss  0x4(%rsp),%xmm1
addss  0x8(%rsp),%xmm1
cmp    $0x1,%ebx
setne  %al
movss  %xmm1,0x4(%rsp)
ucomiss %xmm1,%xmm0
seta   %cl
test   %cl,%al
jne    1160 <main+0x30>
movss  %xmm0,0x4(%rsp)
jmp    1160 <main+0x30>
movss  0x4(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xcd4(%rip),%rdi
mov    %r13d,%esi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@INT_MAX = global float 0.000000e+00
@stdin = global i32 0
@.str = [6 x i8] c"\1B[31m\00"
@.str.1 = [14 x i8] c"\0A\0APiso #%d:\0A\0A\00"
@.str.2 = [6 x i8] c"\1B[34m\00"
@.str.3 = [18 x i8] c"\0A\09Apartamento #%d\00"
@.str.4 = [6 x i8] c"\1B[32m\00"
@.str.5 = [49 x i8] c"\0A\09\09Ingrese el # de personas en el departamento: \00"
@.str.6 = [3 x i8] c"%d\00"
@.str.7 = [22 x i8] c"\0A\09\09Ingrese el aporte:\00"
@.str.8 = [3 x i8] c"%f\00"
@.str.9 = [43 x i8] c"\0A\09\09El aporte promedio por persona fue %f \0A\00"
@.str.10 = [33 x i8] c"%s\0A\0A\0AQuedan pisos por registrar?\00"
@.str.11 = [6 x i8] c"\1B[33m\00"
@.str.12 = [63 x i8] c"El piso con el menor aporte fue el #%d y su aporte fue de %.3f\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = alloca float
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %1
%12 = load float, float* @INT_MAX
store float %12, float* %5
store float 0.000000e+00, float* %3
store i32 0, i32* %8
br label %13
13: ; preds = %60, %0
store float 0.000000e+00, float* %4
%14 = load i32, i32* @stdin
%15 = call i32 @fflush(i32 %14)
%16 = load i32, i32* %8
%17 = add nsw i32 %16, 1
store i32 %17, i32* %8
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%19 = load i32, i32* %8
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 %19)
store i32 0, i32* %10
br label %21
21: ; preds = %44, %13
%22 = load i32, i32* %10
%23 = icmp slt i32 %22, 3
br i1 %23, label %24, label %47
24: ; preds = %21
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%26 = load i32, i32* %10
%27 = add nsw i32 %26, 1
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 %27)
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
%31 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %7)
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%33 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), float* %2)
%34 = load float, float* %2
%35 = load i32, i32* %7
%36 = sitofp i32 %35 to float
%37 = fdiv float %34, %36
store float %37, float* %3
%38 = load float, float* %3
%39 = fpext float %38 to double
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.9, i64 0, i64 0), double %39)
%41 = load float, float* %2
%42 = load float, float* %4
%43 = fadd float %42, %41
store float %43, float* %4
br label %44
44: ; preds = %24
%45 = load i32, i32* %10
%46 = add nsw i32 %45, 1
store i32 %46, i32* %10
br label %21
47: ; preds = %21
%48 = load i32, i32* %8
%49 = icmp ne i32 %48, 1
br i1 %49, label %50, label %57
50: ; preds = %47
%51 = load float, float* %4
%52 = load float, float* %5
%53 = fcmp olt float %51, %52
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = load float, float* %4
store float %55, float* %5
%56 = load i32, i32* %8
store i32 %56, i32* %9
br label %57
57: ; preds = %54, %50, %47
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%59 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %11)
br label %60
60: ; preds = %57
%61 = load i32, i32* %11
%62 = icmp eq i32 %61, 1
br i1 %62, label %13, label %63
63: ; preds = %60
%64 = load i32, i32* %9
%65 = load float, float* %5
%66 = fpext float %65 to double
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.12, i64 0, i64 0), i32 %64, double %66)
ret i32 0
}

LLVM IR (-O2):
@INT_MAX = global float 0.000000e+00
@stdin = global i32 0
@.str = [6 x i8] c"\1B[31m\00"
@.str.1 = [14 x i8] c"\0A\0APiso #%d:\0A\0A\00"
@.str.2 = [6 x i8] c"\1B[34m\00"
@.str.3 = [18 x i8] c"\0A\09Apartamento #%d\00"
@.str.4 = [6 x i8] c"\1B[32m\00"
@.str.5 = [49 x i8] c"\0A\09\09Ingrese el # de personas en el departamento: \00"
@.str.6 = [3 x i8] c"%d\00"
@.str.7 = [22 x i8] c"\0A\09\09Ingrese el aporte:\00"
@.str.8 = [3 x i8] c"%f\00"
@.str.9 = [43 x i8] c"\0A\09\09El aporte promedio por persona fue %f \0A\00"
@.str.10 = [33 x i8] c"%s\0A\0A\0AQuedan pisos por registrar?\00"
@.str.11 = [6 x i8] c"\1B[33m\00"
@.str.12 = [63 x i8] c"El piso con el menor aporte fue el #%d y su aporte fue de %.3f\00"
define i32 @main() {
%1 = alloca float
%2 = alloca i32
%3 = alloca i32
%4 = bitcast float* %1 to i8*
%5 = bitcast i32* %2 to i8*
%6 = bitcast i32* %3 to i8*
%7 = load float, float* @INT_MAX
br label %8
8: ; preds = %8, %0
%9 = phi float [ %7, %0 ], [ %65, %8 ]
%10 = phi i32 [ 0, %0 ], [ %14, %8 ]
%11 = phi i32 [ undef, %0 ], [ %66, %8 ]
%12 = load i32, i32* @stdin
%13 = call i32 @fflush(i32 %12)
%14 = add nuw nsw i32 %10, 1
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 %14)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 1)
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
%21 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %2)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%23 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), float* %1)
%24 = load float, float* %1
%25 = load i32, i32* %2
%26 = sitofp i32 %25 to float
%27 = fdiv float %24, %26
%28 = fpext float %27 to double
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.9, i64 0, i64 0), double %28)
%30 = load float, float* %1
%31 = fadd float %30, 0.000000e+00
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 2)
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
%36 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %2)
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%38 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), float* %1)
%39 = load float, float* %1
%40 = load i32, i32* %2
%41 = sitofp i32 %40 to float
%42 = fdiv float %39, %41
%43 = fpext float %42 to double
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.9, i64 0, i64 0), double %43)
%45 = load float, float* %1
%46 = fadd float %31, %45
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 3)
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
%51 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %2)
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%53 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), float* %1)
%54 = load float, float* %1
%55 = load i32, i32* %2
%56 = sitofp i32 %55 to float
%57 = fdiv float %54, %56
%58 = fpext float %57 to double
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.9, i64 0, i64 0), double %58)
%60 = load float, float* %1
%61 = fadd float %46, %60
%62 = icmp ne i32 %10, 0
%63 = fcmp olt float %61, %9
%64 = select i1 %62, i1 %63, i1 false
%65 = select i1 %64, float %61, float %9
%66 = select i1 %64, i32 %14, i32 %11
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%68 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %3)
%69 = load i32, i32* %3
%70 = icmp eq i32 %69, 1
br i1 %70, label %8, label %71
71: ; preds = %8
%72 = fpext float %65 to double
%73 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.12, i64 0, i64 0), i32 %66, double %72)
ret i32 0
}