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

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ sprintf(char *, char *, int);
int /*<<< orphan*/ strcat(char *, char *);
void crearMes(FILE *calendar, int numDias, char mes[], int anio) {
  int i, j, k, m;
  int min = 0;
  float hora = 9;
  char mesFich[20];
  char ani[4];
  sprintf(ani, "%d", anio);
  memset(mesFich, 0, sizeof(mesFich));
  strcat(mesFich, mes);
  strcat(mesFich, ani);
  strcat(mesFich, ".txt");
  calendar = fopen(mesFich, "w");
  if (calendar == NULL) {
    printf("CALENDARIO NO ENCONTRADO.\n");
  } else {
    for (i = 0; i <= numDias; i++) {
      if (i <= 9) {
        if (i == 0) {
          fprintf(calendar, "       HORA", i);
        } else {
          fprintf(calendar, "         0%i", i);
        }
      } else
        fprintf(calendar, "         %i", i);
    }
    for (k = 0; k < 21; k++) {
      min = (hora - ((int)hora)) * 60;
      fprintf(calendar, "\n%0.2d:%0.2d      ", (int)hora, min);
      hora = hora + 0.5;
      for (m = 0; m < 3; m++) {
        if (m != 0)
          fprintf(calendar, "           ");
        for (j = 1; j <= numDias; j++) {
          if (m == 0) {
            fprintf(calendar, "    #esp   ");
          } else if (m == 1) {
            fprintf(calendar, "    #nom   ");
          } else {
            fprintf(calendar, "    #DNI   ");
          }
        }
        fprintf(calendar, "\n");
      }
    }
  }
  fclose(calendar);
}


x86 assembly (clang, -O0):
<crearMes>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
movl   $0x0,-0x30(%rbp)
movss  0xe6b(%rip),%xmm0
movss  %xmm0,-0x34(%rbp)
lea    -0x54(%rbp),%rdi
mov    -0x1c(%rbp),%edx
lea    0xe68(%rip),%rsi
call   1090 <sprintf@plt>
lea    -0x50(%rbp),%rdi
xor    %esi,%esi
mov    $0x14,%edx
call   1050 <memset@plt>
lea    -0x50(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1080 <strcat@plt>
lea    -0x50(%rbp),%rdi
lea    -0x54(%rbp),%rsi
call   1080 <strcat@plt>
lea    -0x50(%rbp),%rdi
lea    0xe31(%rip),%rsi
call   1080 <strcat@plt>
lea    -0x50(%rbp),%rdi
lea    0xe26(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x8(%rbp)
cmpq   $0x0,-0x8(%rbp)
jne    1217 <crearMes+0xa7>
lea    0xe0d(%rip),%rdi
call   1040 <printf@plt>
jmp    13ec <crearMes+0x27c>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     129a <crearMes+0x12a>
cmpl   $0x9,-0x20(%rbp)
jg     1272 <crearMes+0x102>
cmpl   $0x0,-0x20(%rbp)
jne    1258 <crearMes+0xe8>
mov    -0x8(%rbp),%rdi
mov    -0x20(%rbp),%edx
lea    0xde9(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
jmp    126d <crearMes+0xfd>
mov    -0x8(%rbp),%rdi
mov    -0x20(%rbp),%edx
lea    0xddb(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
jmp    1287 <crearMes+0x117>
mov    -0x8(%rbp),%rdi
mov    -0x20(%rbp),%edx
lea    0xdce(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
jmp    128c <crearMes+0x11c>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    121e <crearMes+0xae>
movl   $0x0,-0x28(%rbp)
cmpl   $0x15,-0x28(%rbp)
jge    13e7 <crearMes+0x277>
movss  -0x34(%rbp),%xmm0
cvttss2si -0x34(%rbp),%eax
cvtsi2ss %eax,%xmm1
subss  %xmm1,%xmm0
movss  0xd3f(%rip),%xmm1
mulss  %xmm1,%xmm0
cvttss2si %xmm0,%eax
mov    %eax,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
cvttss2si -0x34(%rbp),%edx
mov    -0x30(%rbp),%ecx
lea    0xd77(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movss  -0x34(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd0d(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x34(%rbp)
movl   $0x0,-0x2c(%rbp)
cmpl   $0x3,-0x2c(%rbp)
jge    13d4 <crearMes+0x264>
cmpl   $0x0,-0x2c(%rbp)
je     1335 <crearMes+0x1c5>
mov    -0x8(%rbp),%rdi
lea    0xd3f(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x1,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     13b4 <crearMes+0x244>
cmpl   $0x0,-0x2c(%rbp)
jne    1369 <crearMes+0x1f9>
mov    -0x8(%rbp),%rdi
lea    0xd1c(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
jmp    13a1 <crearMes+0x231>
cmpl   $0x1,-0x2c(%rbp)
jne    138a <crearMes+0x21a>
mov    -0x8(%rbp),%rdi
lea    0xd07(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
jmp    139c <crearMes+0x22c>
mov    -0x8(%rbp),%rdi
lea    0xcfc(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
jmp    13a1 <crearMes+0x231>
jmp    13a6 <crearMes+0x236>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    133c <crearMes+0x1cc>
mov    -0x8(%rbp),%rdi
lea    0xc74(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    130f <crearMes+0x19f>
jmp    13d9 <crearMes+0x269>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    12a1 <crearMes+0x131>
jmp    13ec <crearMes+0x27c>
mov    -0x8(%rbp),%rdi
call   1030 <fclose@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<crearMes>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %rdx,%rbx
mov    %esi,%r12d
lea    0xe61(%rip),%rsi
lea    0xc(%rsp),%r14
mov    %r14,%rdi
mov    %ecx,%edx
call   10a0 <sprintf@plt>
lea    0x20(%rsp),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x14,%edx
call   1050 <memset@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1090 <strcat@plt>
mov    %rbp,%rdi
mov    %r14,%rsi
call   1090 <strcat@plt>
lea    0xe24(%rip),%rsi
mov    %rbp,%rdi
call   1090 <strcat@plt>
lea    0xe1a(%rip),%rsi
mov    %rbp,%rdi
call   1080 <fopen@plt>
mov    %rax,%rbx
test   %rax,%rax
je     143f <crearMes+0x2af>
test   %r12d,%r12d
js     1279 <crearMes+0xe9>
lea    0xdfc(%rip),%rsi
mov    %rbx,%rdi
xor    %edx,%edx
xor    %eax,%eax
call   1070 <fprintf@plt>
test   %r12d,%r12d
je     1279 <crearMes+0xe9>
mov    %r12d,%r14d
neg    %r14d
mov    $0x1,%ebp
lea    0xde5(%rip),%r15
lea    0xdeb(%rip),%r13
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
cmp    $0xa,%ebp
mov    %r13,%rsi
cmovb  %r15,%rsi
mov    %rbx,%rdi
mov    %ebp,%edx
xor    %eax,%eax
call   1070 <fprintf@plt>
lea    (%r14,%rbp,1),%eax
add    $0x1,%eax
mov    %ebp,%ecx
add    $0x1,%ecx
mov    %ecx,%ebp
cmp    $0x1,%eax
jne    1250 <crearMes+0xc0>
movss  0xd7f(%rip),%xmm1
lea    0xdc6(%rip),%rbp
lea    0xde3(%rip),%r13
lea    0xdc4(%rip),%r14
xor    %r15d,%r15d
mov    %r12d,0x8(%rsp)
jmp    12f5 <crearMes+0x165>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1060 <fputc@plt>
mov    $0xb,%esi
mov    $0x1,%edx
lea    0xd90(%rip),%rdi
mov    %rbx,%rcx
call   10b0 <fwrite@plt>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1060 <fputc@plt>
movaps 0x10(%rsp),%xmm1
addss  0xd28(%rip),%xmm1
add    $0x1,%r15d
cmp    $0x15,%r15d
lea    0xd5f(%rip),%rbp
je     144b <crearMes+0x2bb>
cvttss2si %xmm1,%edx
cvttps2dq %xmm1,%xmm0
cvtdq2ps %xmm0,%xmm0
movaps %xmm1,0x10(%rsp)
subss  %xmm0,%xmm1
mulss  0xcf3(%rip),%xmm1
cvttss2si %xmm1,%ecx
mov    %rbx,%rdi
lea    0xd1c(%rip),%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
test   %r12d,%r12d
jle    13c0 <crearMes+0x230>
mov    %r12d,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    $0xb,%esi
mov    $0x1,%edx
mov    %r14,%rdi
mov    %rbx,%rcx
call   10b0 <fwrite@plt>
add    $0xffffffff,%r12d
jne    1340 <crearMes+0x1b0>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1060 <fputc@plt>
mov    $0xb,%esi
mov    $0x1,%edx
lea    0xcd5(%rip),%rdi
mov    %rbx,%rcx
call   10b0 <fwrite@plt>
mov    %ebp,%r12d
test   %ebp,%ebp
jle    12a0 <crearMes+0x110>
mov    %r12d,%ebp
lea    0xcd0(%rip),%r12
cs nopw 0x0(%rax,%rax,1)
mov    $0xb,%esi
mov    $0x1,%edx
mov    %r12,%rdi
mov    %rbx,%rcx
call   10b0 <fwrite@plt>
add    $0xffffffff,%ebp
jne    13a0 <crearMes+0x210>
jmp    13e2 <crearMes+0x252>
nopl   0x0(%rax)
mov    $0xa,%edi
mov    %rbx,%rsi
call   1060 <fputc@plt>
mov    $0xb,%esi
mov    $0x1,%edx
mov    %rbp,%rdi
mov    %rbx,%rcx
call   10b0 <fwrite@plt>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1060 <fputc@plt>
mov    $0xb,%esi
mov    $0x1,%edx
lea    0xc4e(%rip),%rdi
mov    %rbx,%rcx
call   10b0 <fwrite@plt>
mov    0x8(%rsp),%r12d
test   %r12d,%r12d
jle    12c6 <crearMes+0x136>
mov    %r12d,%ebp
nopl   0x0(%rax)
mov    $0xb,%esi
mov    $0x1,%edx
mov    %r13,%rdi
mov    %rbx,%rcx
call   10b0 <fwrite@plt>
add    $0xffffffff,%ebp
jne    1420 <crearMes+0x290>
jmp    12c6 <crearMes+0x136>
lea    0xc38(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1040 <fclose@plt>
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [5 x i8] c".txt\00"
@.str.2 = [2 x i8] c"w\00"
@.str.3 = [27 x i8] c"CALENDARIO NO ENCONTRADO.\0A\00"
@.str.4 = [12 x i8] c" HORA\00"
@.str.5 = [13 x i8] c" 0%i\00"
@.str.6 = [12 x i8] c" %i\00"
@.str.7 = [19 x i8] c"\0A%0.2d:%0.2d \00"
@.str.8 = [12 x i8] c" \00"
@.str.9 = [12 x i8] c" #esp \00"
@.str.10 = [12 x i8] c" #nom \00"
@.str.11 = [12 x i8] c" #DNI \00"
@.str.12 = [2 x i8] c"\0A\00"
define void @crearMes(i32* %0, i32 %1, i8* %2, i32 %3) {
%5 = alloca i32*
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca float
%15 = alloca [20 x i8]
%16 = alloca [4 x i8]
store i32* %0, i32** %5
store i32 %1, i32* %6
store i8* %2, i8** %7
store i32 %3, i32* %8
store i32 0, i32* %13
store float 9.000000e+00, float* %14
%17 = getelementptr inbounds [4 x i8], [4 x i8]* %16, i64 0, i64 0
%18 = load i32, i32* %8
%19 = call i32 @sprintf(i8* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %18)
%20 = getelementptr inbounds [20 x i8], [20 x i8]* %15, i64 0, i64 0
%21 = call i32 @memset(i8* %20, i32 0, i32 20)
%22 = getelementptr inbounds [20 x i8], [20 x i8]* %15, i64 0, i64 0
%23 = load i8*, i8** %7
%24 = call i32 @strcat(i8* %22, i8* %23)
%25 = getelementptr inbounds [20 x i8], [20 x i8]* %15, i64 0, i64 0
%26 = getelementptr inbounds [4 x i8], [4 x i8]* %16, i64 0, i64 0
%27 = call i32 @strcat(i8* %25, i8* %26)
%28 = getelementptr inbounds [20 x i8], [20 x i8]* %15, i64 0, i64 0
%29 = call i32 @strcat(i8* %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%30 = getelementptr inbounds [20 x i8], [20 x i8]* %15, i64 0, i64 0
%31 = call i32* @fopen(i8* %30, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %31, i32** %5
%32 = load i32*, i32** %5
%33 = icmp eq i32* %32, null
br i1 %33, label %34, label %36
34: ; preds = %4
%35 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
br label %130
36: ; preds = %4
store i32 0, i32* %9
br label %37
37: ; preds = %61, %36
%38 = load i32, i32* %9
%39 = load i32, i32* %6
%40 = icmp sle i32 %38, %39
br i1 %40, label %41, label %64
41: ; preds = %37
%42 = load i32, i32* %9
%43 = icmp sle i32 %42, 9
br i1 %43, label %44, label %56
44: ; preds = %41
%45 = load i32, i32* %9
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %44
%48 = load i32*, i32** %5
%49 = load i32, i32* %9
%50 = call i32 (i32*, i8*, ...) @fprintf(i32* %48, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 %49)
br label %55
51: ; preds = %44
%52 = load i32*, i32** %5
%53 = load i32, i32* %9
%54 = call i32 (i32*, i8*, ...) @fprintf(i32* %52, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i32 %53)
br label %55
55: ; preds = %51, %47
br label %60
56: ; preds = %41
%57 = load i32*, i32** %5
%58 = load i32, i32* %9
%59 = call i32 (i32*, i8*, ...) @fprintf(i32* %57, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 %58)
br label %60
60: ; preds = %56, %55
br label %61
61: ; preds = %60
%62 = load i32, i32* %9
%63 = add nsw i32 %62, 1
store i32 %63, i32* %9
br label %37
64: ; preds = %37
store i32 0, i32* %11
br label %65
65: ; preds = %126, %64
%66 = load i32, i32* %11
%67 = icmp slt i32 %66, 21
br i1 %67, label %68, label %129
68: ; preds = %65
%69 = load float, float* %14
%70 = load float, float* %14
%71 = fptosi float %70 to i32
%72 = sitofp i32 %71 to float
%73 = fsub float %69, %72
%74 = fmul float %73, 6.000000e+01
%75 = fptosi float %74 to i32
store i32 %75, i32* %13
%76 = load i32*, i32** %5
%77 = load float, float* %14
%78 = fptosi float %77 to i32
%79 = load i32, i32* %13
%80 = call i32 (i32*, i8*, ...) @fprintf(i32* %76, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), i32 %78, i32 %79)
%81 = load float, float* %14
%82 = fpext float %81 to double
%83 = fadd double %82, 5.000000e-01
%84 = fptrunc double %83 to float
store float %84, float* %14
store i32 0, i32* %12
br label %85
85: ; preds = %122, %68
%86 = load i32, i32* %12
%87 = icmp slt i32 %86, 3
br i1 %87, label %88, label %125
88: ; preds = %85
%89 = load i32, i32* %12
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %94
91: ; preds = %88
%92 = load i32*, i32** %5
%93 = call i32 (i32*, i8*, ...) @fprintf(i32* %92, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
br label %94
94: ; preds = %91, %88
store i32 1, i32* %10
br label %95
95: ; preds = %116, %94
%96 = load i32, i32* %10
%97 = load i32, i32* %6
%98 = icmp sle i32 %96, %97
br i1 %98, label %99, label %119
99: ; preds = %95
%100 = load i32, i32* %12
%101 = icmp eq i32 %100, 0
br i1 %101, label %102, label %105
102: ; preds = %99
%103 = load i32*, i32** %5
%104 = call i32 (i32*, i8*, ...) @fprintf(i32* %103, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
br label %115
105: ; preds = %99
%106 = load i32, i32* %12
%107 = icmp eq i32 %106, 1
br i1 %107, label %108, label %111
108: ; preds = %105
%109 = load i32*, i32** %5
%110 = call i32 (i32*, i8*, ...) @fprintf(i32* %109, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0))
br label %114
111: ; preds = %105
%112 = load i32*, i32** %5
%113 = call i32 (i32*, i8*, ...) @fprintf(i32* %112, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
br label %114
114: ; preds = %111, %108
br label %115
115: ; preds = %114, %102
br label %116
116: ; preds = %115
%117 = load i32, i32* %10
%118 = add nsw i32 %117, 1
store i32 %118, i32* %10
br label %95
119: ; preds = %95
%120 = load i32*, i32** %5
%121 = call i32 (i32*, i8*, ...) @fprintf(i32* %120, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
br label %122
122: ; preds = %119
%123 = load i32, i32* %12
%124 = add nsw i32 %123, 1
store i32 %124, i32* %12
br label %85
125: ; preds = %85
br label %126
126: ; preds = %125
%127 = load i32, i32* %11
%128 = add nsw i32 %127, 1
store i32 %128, i32* %11
br label %65
129: ; preds = %65
br label %130
130: ; preds = %129, %34
%131 = load i32*, i32** %5
%132 = call i32 @fclose(i32* %131)
ret void
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.1 = [5 x i8] c".txt\00"
@.str.2 = [2 x i8] c"w\00"
@.str.4 = [12 x i8] c" HORA\00"
@.str.5 = [13 x i8] c" 0%i\00"
@.str.6 = [12 x i8] c" %i\00"
@.str.7 = [19 x i8] c"\0A%0.2d:%0.2d \00"
@.str.8 = [12 x i8] c" \00"
@.str.9 = [12 x i8] c" #esp \00"
@.str.10 = [12 x i8] c" #nom \00"
@.str.11 = [12 x i8] c" #DNI \00"
@str = [26 x i8] c"CALENDARIO NO ENCONTRADO.\00"
define void @crearMes(i32* nocapture readnone %0, i32 %1, i8* %2, i32 %3) {
%5 = alloca [20 x i8]
%6 = alloca [4 x i8]
%7 = getelementptr inbounds [20 x i8], [20 x i8]* %5, i64 0, i64 0
%8 = getelementptr inbounds [4 x i8], [4 x i8]* %6, i64 0, i64 0
%9 = call i32 @sprintf(i8* %8, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %3)
%10 = call i32 @memset(i8* %7, i32 0, i32 20)
%11 = call i32 @strcat(i8* %7, i8* %2)
%12 = call i32 @strcat(i8* %7, i8* %8)
%13 = call i32 @strcat(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%14 = call i32* @fopen(i8* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%15 = icmp eq i32* %14, null
br i1 %15, label %21, label %16
16: ; preds = %4
%17 = icmp slt i32 %1, 0
br i1 %17, label %23, label %18
18: ; preds = %16
%19 = call i32 (i32*, i8*, ...) @fprintf(i32* %14, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 0)
%20 = icmp eq i32 %1, 0
br i1 %20, label %23, label %25
21: ; preds = %4
%22 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str, i64 0, i64 0))
br label %73
23: ; preds = %25, %18, %16
%24 = icmp slt i32 %1, 1
br label %32
25: ; preds = %18, %25
%26 = phi i32 [ %30, %25 ], [ 1, %18 ]
%27 = icmp ult i32 %26, 10
%28 = select i1 %27, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0)
%29 = call i32 (i32*, i8*, ...) @fprintf(i32* %14, i8* %28, i32 %26)
%30 = add nuw i32 %26, 1
%31 = icmp eq i32 %26, %1
br i1 %31, label %23, label %25
32: ; preds = %68, %23
%33 = phi float [ 9.000000e+00, %23 ], [ %70, %68 ]
%34 = phi i32 [ 0, %23 ], [ %71, %68 ]
%35 = fptosi float %33 to i32
%36 = sitofp i32 %35 to float
%37 = fsub float %33, %36
%38 = fmul float %37, 6.000000e+01
%39 = fptosi float %38 to i32
%40 = call i32 (i32*, i8*, ...) @fprintf(i32* %14, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), i32 %35, i32 %39)
br i1 %24, label %54, label %41
41: ; preds = %32, %41
%42 = phi i32 [ %44, %41 ], [ 1, %32 ]
%43 = call i64 @fwrite(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0), i64 11, i64 1, i32* %14)
%44 = add nuw i32 %42, 1
%45 = icmp eq i32 %42, %1
br i1 %45, label %46, label %41
46: ; preds = %41
%47 = call i32 @fputc(i32 10, i32* %14)
%48 = call i64 @fwrite(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i64 11, i64 1, i32* %14)
br i1 %24, label %65, label %49
49: ; preds = %46, %49
%50 = phi i32 [ %52, %49 ], [ 1, %46 ]
%51 = call i64 @fwrite(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0), i64 11, i64 1, i32* %14)
%52 = add nuw i32 %50, 1
%53 = icmp eq i32 %50, %1
br i1 %53, label %57, label %49
54: ; preds = %32
%55 = call i32 @fputc(i32 10, i32* %14)
%56 = call i64 @fwrite(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i64 11, i64 1, i32* %14)
br label %57
57: ; preds = %49, %54
%58 = call i32 @fputc(i32 10, i32* %14)
%59 = call i64 @fwrite(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i64 11, i64 1, i32* %14)
br i1 %24, label %68, label %60
60: ; preds = %57, %60
%61 = phi i32 [ %63, %60 ], [ 1, %57 ]
%62 = call i64 @fwrite(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0), i64 11, i64 1, i32* %14)
%63 = add nuw i32 %61, 1
%64 = icmp eq i32 %61, %1
br i1 %64, label %68, label %60
65: ; preds = %46
%66 = call i32 @fputc(i32 10, i32* %14)
%67 = call i64 @fwrite(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i64 11, i64 1, i32* %14)
br label %68
68: ; preds = %60, %65, %57
%69 = call i32 @fputc(i32 10, i32* %14)
%70 = fadd float %33, 5.000000e-01
%71 = add nuw nsw i32 %34, 1
%72 = icmp eq i32 %71, 21
br i1 %72, label %73, label %32
73: ; preds = %68, %21
%74 = call i32 @fclose(i32* %14)
ret void
}