#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 EXIT_SUCCESS;
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int main(int argc, char **argv) {
  int i = 0;
  int max, min, cont = 1;
  int num[5];
  int mayor[5];
  int menor[5];
  float mediana, suma = 0;
  printf("Intruzca numeros enteros, para finalizar introduzca un '0': ");
  scanf("%d", &num[i]);
  while (i < 5) {
    printf("Intruzca numeros enteros, para finalizar introduzca un '0': ");
    scanf("%d", &num[i]);
    suma = suma + num[i];
    i++;
    cont++;
  }
  mediana = suma / i;
  i = 0;
  printf("\nCantidad de numeros introducidos: %d", cont);
  printf("\nLa mediana vale: %f", mediana);
  while (i >= mediana) {
    if (num[i] >= mediana)
      mayor[i] = num[i];
    printf("Los numero mas grandes son:%d ", mayor[i]);
    if (num[i] <= mediana)
      menor[i] = num[i];
    printf("Los numero menores grandes son:%d ", menor[i]);
  }
  while (num[i] < 5) {
    if (num[i] > max)
      max = num[i];
    printf("El numero máximo introducido es: %d", max);
    if (num[i] < min)
      min = num[i];
    printf("El numero mínimo introducido es: %d", min);
  }
  return (EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x1,-0x20(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x88(%rbp)
ff
lea    0xea7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x14(%rbp),%rax
lea    -0x40(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xf8b(%rip),%rdi
call   1040 <scanf@plt>
cmpl   $0x5,-0x14(%rbp)
jge    11e3 <main+0xc3>
lea    0xe74(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x14(%rbp),%rax
lea    -0x40(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xf58(%rip),%rdi
call   1040 <scanf@plt>
movss  -0x88(%rbp),%xmm0
ff
movslq -0x14(%rbp),%rax
cvtsi2ssl -0x40(%rbp,%rax,4),%xmm1
addss  %xmm1,%xmm0
movss  %xmm0,-0x88(%rbp)
ff
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    117b <main+0x5b>
movss  -0x88(%rbp),%xmm0
ff
cvtsi2ssl -0x14(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x84(%rbp)
ff
movl   $0x0,-0x14(%rbp)
mov    -0x20(%rbp),%esi
lea    0xe30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x84(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
lea    0xe3c(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
cvtsi2ssl -0x14(%rbp),%xmm0
ucomiss -0x84(%rbp),%xmm0
jb     12c3 <main+0x1a3>
movslq -0x14(%rbp),%rax
cvtsi2ssl -0x40(%rbp,%rax,4),%xmm0
ucomiss -0x84(%rbp),%xmm0
jb     1267 <main+0x147>
movslq -0x14(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%ecx
movslq -0x14(%rbp),%rax
mov    %ecx,-0x60(%rbp,%rax,4)
movslq -0x14(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%esi
lea    0xe02(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x14(%rbp),%rax
cvtsi2ssl -0x40(%rbp,%rax,4),%xmm1
movss  -0x84(%rbp),%xmm0
ff
ucomiss %xmm1,%xmm0
jb     12a8 <main+0x188>
movslq -0x14(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%ecx
movslq -0x14(%rbp),%rax
mov    %ecx,-0x80(%rbp,%rax,4)
movslq -0x14(%rbp),%rax
mov    -0x80(%rbp,%rax,4),%esi
lea    0xde0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    122e <main+0x10e>
jmp    12c8 <main+0x1a8>
movslq -0x14(%rbp),%rax
cmpl   $0x5,-0x40(%rbp,%rax,4)
jge    1336 <main+0x216>
movslq -0x14(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
cmp    -0x18(%rbp),%eax
jle    12f3 <main+0x1d3>
movslq -0x14(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%esi
lea    0xdbd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x14(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
cmp    -0x1c(%rbp),%eax
jge    1320 <main+0x200>
movslq -0x14(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%esi
lea    0xdb5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12c8 <main+0x1a8>
mov    0x2ca3(%rip),%rax
mov    (%rax),%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x28,%rsp
lea    0xed3(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xfc3(%rip),%rbx
lea    0x10(%rsp),%rbp
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1040 <scanf@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1040 <scanf@plt>
cvtsi2ssl 0x10(%rsp),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x14(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0x14(%rsp),%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x18(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0x18(%rsp),%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x1c(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0x1c(%rsp),%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0xc(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x20(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
xorps  %xmm0,%xmm0
cvtsi2ssl 0x20(%rsp),%xmm0
addss  0xc(%rsp),%xmm0
divss  0xddb(%rip),%xmm0
movss  %xmm0,0xc(%rsp)
lea    0xe0f(%rip),%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1030 <printf@plt>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe18(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xorps  %xmm0,%xmm0
movss  0xc(%rsp),%xmm1
ucomiss %xmm1,%xmm0
jae    12c3 <main+0x1a3>
mov    0x10(%rsp),%eax
cmp    $0x4,%eax
jg     12af <main+0x18f>
lea    0xe4a(%rip),%r14
lea    0xe68(%rip),%r15
nopl   0x0(%rax,%rax,1)
cmp    %ebx,%eax
cmovg  %eax,%ebx
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x10(%rsp),%eax
cmp    %ebp,%eax
cmovl  %eax,%ebp
mov    %r15,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x10(%rsp),%eax
cmp    $0x5,%eax
jl     1280 <main+0x160>
mov    0x2d2a(%rip),%rax
mov    (%rax),%eax
add    $0x28,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xdb2(%rip),%r14
lea    0xdca(%rip),%r15
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0x10(%rsp),%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
ucomiss 0xc(%rsp),%xmm0
cmovae %eax,%ebp
mov    %r14,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x10(%rsp),%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  0xc(%rsp),%xmm1
ucomiss %xmm0,%xmm1
cmovae %eax,%ebx
mov    %r15,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    12e0 <main+0x1c0>

LLVM IR (-O0):
@.str = [61 x i8] c"Intruzca numeros enteros, para finalizar introduzca un '0': \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [38 x i8] c"\0ACantidad de numeros introducidos: %d\00"
@.str.3 = [21 x i8] c"\0ALa mediana vale: %f\00"
@.str.4 = [31 x i8] c"Los numero mas grandes son:%d \00"
@.str.5 = [35 x i8] c"Los numero menores grandes son:%d \00"
@.str.6 = [37 x i8] c"El numero m\C3\A1ximo introducido es: %d\00"
@.str.7 = [37 x i8] c"El numero m\C3\ADnimo introducido es: %d\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca [5 x i32]
%11 = alloca [5 x i32]
%12 = alloca [5 x i32]
%13 = alloca float
%14 = alloca float
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
store i32 1, i32* %9
store float 0.000000e+00, float* %14
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%16 = load i32, i32* %6
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [5 x i32], [5 x i32]* %10, i64 0, i64 %17
%19 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %18)
br label %20
20: ; preds = %23, %2
%21 = load i32, i32* %6
%22 = icmp slt i32 %21, 5
br i1 %22, label %23, label %40
23: ; preds = %20
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%25 = load i32, i32* %6
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [5 x i32], [5 x i32]* %10, i64 0, i64 %26
%28 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %27)
%29 = load float, float* %14
%30 = load i32, i32* %6
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [5 x i32], [5 x i32]* %10, i64 0, i64 %31
%33 = load i32, i32* %32
%34 = sitofp i32 %33 to float
%35 = fadd float %29, %34
store float %35, float* %14
%36 = load i32, i32* %6
%37 = add nsw i32 %36, 1
store i32 %37, i32* %6
%38 = load i32, i32* %9
%39 = add nsw i32 %38, 1
store i32 %39, i32* %9
br label %20
40: ; preds = %20
%41 = load float, float* %14
%42 = load i32, i32* %6
%43 = sitofp i32 %42 to float
%44 = fdiv float %41, %43
store float %44, float* %13
store i32 0, i32* %6
%45 = load i32, i32* %9
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.2, i64 0, i64 0), i32 %45)
%47 = load float, float* %13
%48 = fpext float %47 to double
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), double %48)
br label %50
50: ; preds = %92, %40
%51 = load i32, i32* %6
%52 = sitofp i32 %51 to float
%53 = load float, float* %13
%54 = fcmp oge float %52, %53
br i1 %54, label %55, label %98
55: ; preds = %50
%56 = load i32, i32* %6
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [5 x i32], [5 x i32]* %10, i64 0, i64 %57
%59 = load i32, i32* %58
%60 = sitofp i32 %59 to float
%61 = load float, float* %13
%62 = fcmp oge float %60, %61
br i1 %62, label %63, label %71
63: ; preds = %55
%64 = load i32, i32* %6
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [5 x i32], [5 x i32]* %10, i64 0, i64 %65
%67 = load i32, i32* %66
%68 = load i32, i32* %6
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [5 x i32], [5 x i32]* %11, i64 0, i64 %69
store i32 %67, i32* %70
br label %71
71: ; preds = %63, %55
%72 = load i32, i32* %6
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [5 x i32], [5 x i32]* %11, i64 0, i64 %73
%75 = load i32, i32* %74
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 %75)
%77 = load i32, i32* %6
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [5 x i32], [5 x i32]* %10, i64 0, i64 %78
%80 = load i32, i32* %79
%81 = sitofp i32 %80 to float
%82 = load float, float* %13
%83 = fcmp ole float %81, %82
br i1 %83, label %84, label %92
84: ; preds = %71
%85 = load i32, i32* %6
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [5 x i32], [5 x i32]* %10, i64 0, i64 %86
%88 = load i32, i32* %87
%89 = load i32, i32* %6
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [5 x i32], [5 x i32]* %12, i64 0, i64 %90
store i32 %88, i32* %91
br label %92
92: ; preds = %84, %71
%93 = load i32, i32* %6
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [5 x i32], [5 x i32]* %12, i64 0, i64 %94
%96 = load i32, i32* %95
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.5, i64 0, i64 0), i32 %96)
br label %50
98: ; preds = %50
br label %99
99: ; preds = %131, %98
%100 = load i32, i32* %6
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [5 x i32], [5 x i32]* %10, i64 0, i64 %101
%103 = load i32, i32* %102
%104 = icmp slt i32 %103, 5
br i1 %104, label %105, label %134
105: ; preds = %99
%106 = load i32, i32* %6
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [5 x i32], [5 x i32]* %10, i64 0, i64 %107
%109 = load i32, i32* %108
%110 = load i32, i32* %7
%111 = icmp sgt i32 %109, %110
br i1 %111, label %112, label %117
112: ; preds = %105
%113 = load i32, i32* %6
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [5 x i32], [5 x i32]* %10, i64 0, i64 %114
%116 = load i32, i32* %115
store i32 %116, i32* %7
br label %117
117: ; preds = %112, %105
%118 = load i32, i32* %7
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0), i32 %118)
%120 = load i32, i32* %6
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [5 x i32], [5 x i32]* %10, i64 0, i64 %121
%123 = load i32, i32* %122
%124 = load i32, i32* %8
%125 = icmp slt i32 %123, %124
br i1 %125, label %126, label %131
126: ; preds = %117
%127 = load i32, i32* %6
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [5 x i32], [5 x i32]* %10, i64 0, i64 %128
%130 = load i32, i32* %129
store i32 %130, i32* %8
br label %131
131: ; preds = %126, %117
%132 = load i32, i32* %8
%133 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %132)
br label %99
134: ; preds = %99
%135 = load i32, i32* @EXIT_SUCCESS
ret i32 %135
}

LLVM IR (-O2):
@.str = [61 x i8] c"Intruzca numeros enteros, para finalizar introduzca un '0': \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [38 x i8] c"\0ACantidad de numeros introducidos: %d\00"
@.str.3 = [21 x i8] c"\0ALa mediana vale: %f\00"
@.str.4 = [31 x i8] c"Los numero mas grandes son:%d \00"
@.str.5 = [35 x i8] c"Los numero menores grandes son:%d \00"
@.str.6 = [37 x i8] c"El numero m\C3\A1ximo introducido es: %d\00"
@.str.7 = [37 x i8] c"El numero m\C3\ADnimo introducido es: %d\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [5 x i32]
%4 = bitcast [5 x i32]* %3 to i8*
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%6 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 0
%7 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %6)
%8 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%9 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %6)
%10 = load i32, i32* %6
%11 = sitofp i32 %10 to float
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%13 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 1
%14 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %13)
%15 = load i32, i32* %13
%16 = sitofp i32 %15 to float
%17 = fadd float %11, %16
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%19 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 2
%20 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %19)
%21 = load i32, i32* %19
%22 = sitofp i32 %21 to float
%23 = fadd float %17, %22
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%25 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 3
%26 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %25)
%27 = load i32, i32* %25
%28 = sitofp i32 %27 to float
%29 = fadd float %23, %28
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%31 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 4
%32 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %31)
%33 = load i32, i32* %31
%34 = sitofp i32 %33 to float
%35 = fadd float %29, %34
%36 = fdiv float %35, 5.000000e+00
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.2, i64 0, i64 0), i32 6)
%38 = fpext float %36 to double
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), double %38)
%40 = fcmp ugt float %36, 0.000000e+00
br i1 %40, label %41, label %44
41: ; preds = %2
%42 = load i32, i32* %6
%43 = icmp slt i32 %42, 5
br i1 %43, label %57, label %70
44: ; preds = %2, %44
%45 = phi i32 [ %55, %44 ], [ undef, %2 ]
%46 = phi i32 [ %50, %44 ], [ undef, %2 ]
%47 = load i32, i32* %6
%48 = sitofp i32 %47 to float
%49 = fcmp ugt float %36, %48
%50 = select i1 %49, i32 %46, i32 %47
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 %50)
%52 = load i32, i32* %6
%53 = sitofp i32 %52 to float
%54 = fcmp ult float %36, %53
%55 = select i1 %54, i32 %45, i32 %52
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.5, i64 0, i64 0), i32 %55)
br label %44
57: ; preds = %41, %57
%58 = phi i32 [ %68, %57 ], [ %42, %41 ]
%59 = phi i32 [ %66, %57 ], [ undef, %41 ]
%60 = phi i32 [ %62, %57 ], [ undef, %41 ]
%61 = icmp sgt i32 %58, %60
%62 = select i1 %61, i32 %58, i32 %60
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0), i32 %62)
%64 = load i32, i32* %6
%65 = icmp slt i32 %64, %59
%66 = select i1 %65, i32 %64, i32 %59
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %66)
%68 = load i32, i32* %6
%69 = icmp slt i32 %68, 5
br i1 %69, label %57, label %70
70: ; preds = %57, %41
%71 = load i32, i32* @EXIT_SUCCESS
ret i32 %71
}