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

/* Variables and functions */
scalar_t__ ctime(int /*<<< orphan*/ *);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ printf(char *, ...);
char *strchr(char *, char);
scalar_t__ strcmp(char *, char *);
int strlen(char const *);
int /*<<< orphan*/ strncpy(char *, char const *, int);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
void print_environment(void) {
  time_t now = time(NULL);
  printf("  Compiler:	%s\n", "9.4.0");
  printf("  Date:		%s", (char *)ctime(&now));
  int num_cpus = 0;
  char cpu_type[256] = {0};
  char cache_size[256] = {0};
  FILE *cpuinfo = fopen("/proc/cpuinfo", "r");
  if (cpuinfo) {
    char line[1024] = {0};
    while (fgets(line, sizeof(line), cpuinfo) != NULL) {
      const char *sep = strchr(line, ':');
      if (sep == NULL || strlen(sep) < 10)
        continue;
      char key[1024] = {0};
      char val[1024] = {0};
      strncpy(key, line, sep - 1 - line);
      strncpy(val, sep + 1, strlen(sep) - 1);
      if (strcmp("model name", key) == 0) {
        num_cpus++;
        strncpy(cpu_type, val, strlen(val) - 1);
      } else if (strcmp("cache size", key) == 0)
        strncpy(cache_size, val + 1, strlen(val) - 2);
    }
    fclose(cpuinfo);
    printf("  CPU:		%d * %s\n", num_cpus, cpu_type);
    printf("  CPUCache:	%s\n", cache_size);
  }
}


x86 assembly (clang, -O0):
<print_environment>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe60,%rsp
xor    %eax,%eax
mov    %eax,%edi
call   10c0 <time@plt>
mov    %eax,-0x4(%rbp)
lea    0xe32(%rip),%rdi
lea    0xe3b(%rip),%rsi
mov    $0x0,%al
call   1080 <printf@plt>
lea    -0x4(%rbp),%rdi
call   1050 <ctime@plt>
mov    %rax,%rsi
lea    0xe27(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
movl   $0x0,-0x8(%rbp)
lea    -0x110(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1090 <memset@plt>
lea    -0x210(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1090 <memset@plt>
lea    0xdf8(%rip),%rdi
lea    0xdff(%rip),%rsi
call   10d0 <fopen@plt>
mov    %rax,-0x218(%rbp)
cmpq   $0x0,-0x218(%rbp)
je     1463 <print_environment+0x2b3>
lea    -0x620(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1090 <memset@plt>
lea    -0x620(%rbp),%rdi
mov    -0x218(%rbp),%rdx
mov    $0x400,%esi
call   10a0 <fgets@plt>
cmp    $0x0,%rax
je     142a <print_environment+0x27a>
lea    -0x620(%rbp),%rdi
mov    $0x3a,%esi
call   1070 <strchr@plt>
mov    %rax,-0x628(%rbp)
cmpq   $0x0,-0x628(%rbp)
je     12bb <print_environment+0x10b>
mov    -0x628(%rbp),%rdi
call   1060 <strlen@plt>
cmp    $0xa,%eax
jge    12c0 <print_environment+0x110>
jmp    125e <print_environment+0xae>
lea    -0xa30(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1090 <memset@plt>
lea    -0xe30(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1090 <memset@plt>
lea    -0xa30(%rbp),%rdi
lea    -0x620(%rbp),%rsi
mov    -0x628(%rbp),%rax
add    $0xffffffffffffffff,%rax
lea    -0x620(%rbp),%rcx
sub    %rcx,%rax
mov    %eax,%edx
call   1030 <strncpy@plt>
lea    -0xe30(%rbp),%rax
mov    %rax,-0xe40(%rbp)
mov    -0x628(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xe38(%rbp)
mov    -0x628(%rbp),%rdi
call   1060 <strlen@plt>
mov    -0xe40(%rbp),%rdi
mov    -0xe38(%rbp),%rsi
mov    %eax,%edx
sub    $0x1,%edx
call   1030 <strncpy@plt>
lea    -0xa30(%rbp),%rsi
lea    0xcd0(%rip),%rdi
call   10b0 <strcmp@plt>
cmp    $0x0,%rax
jne    13bf <print_environment+0x20f>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
lea    -0x110(%rbp),%rax
mov    %rax,-0xe50(%rbp)
lea    -0xe30(%rbp),%rax
mov    %rax,-0xe48(%rbp)
lea    -0xe30(%rbp),%rdi
call   1060 <strlen@plt>
mov    -0xe50(%rbp),%rdi
mov    -0xe48(%rbp),%rsi
mov    %eax,%edx
sub    $0x1,%edx
call   1030 <strncpy@plt>
jmp    1425 <print_environment+0x275>
lea    -0xa30(%rbp),%rsi
lea    0xc70(%rip),%rdi
call   10b0 <strcmp@plt>
cmp    $0x0,%rax
jne    1420 <print_environment+0x270>
lea    -0x210(%rbp),%rax
mov    %rax,-0xe60(%rbp)
lea    -0xe30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xe58(%rbp)
lea    -0xe30(%rbp),%rdi
call   1060 <strlen@plt>
mov    -0xe60(%rbp),%rdi
mov    -0xe58(%rbp),%rsi
mov    %eax,%edx
sub    $0x2,%edx
call   1030 <strncpy@plt>
jmp    1425 <print_environment+0x275>
jmp    125e <print_environment+0xae>
mov    -0x218(%rbp),%rdi
call   1040 <fclose@plt>
mov    -0x8(%rbp),%esi
lea    -0x110(%rbp),%rdx
lea    0xc01(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    -0x210(%rbp),%rsi
lea    0xbfd(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
add    $0xe60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_environment>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xe18,%rsp
xor    %edi,%edi
call   10c0 <time@plt>
mov    %eax,0xc(%rsp)
lea    0xe2d(%rip),%rdi
lea    0xe36(%rip),%rsi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0xc(%rsp),%rdi
call   1050 <ctime@plt>
lea    0xe24(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1080 <printf@plt>
xorps  %xmm0,%xmm0
movaps %xmm0,0x200(%rsp)
movaps %xmm0,0x1f0(%rsp)
movaps %xmm0,0x1e0(%rsp)
movaps %xmm0,0x1d0(%rsp)
movaps %xmm0,0x1c0(%rsp)
movaps %xmm0,0x1b0(%rsp)
movaps %xmm0,0x1a0(%rsp)
movaps %xmm0,0x190(%rsp)
movaps %xmm0,0x180(%rsp)
movaps %xmm0,0x170(%rsp)
movaps %xmm0,0x160(%rsp)
movaps %xmm0,0x150(%rsp)
movaps %xmm0,0x140(%rsp)
movaps %xmm0,0x130(%rsp)
movaps %xmm0,0x120(%rsp)
movaps %xmm0,0x110(%rsp)
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
lea    0xd31(%rip),%rdi
lea    0xd38(%rip),%rsi
call   10d0 <fopen@plt>
test   %rax,%rax
je     149a <print_environment+0x2ea>
mov    %rax,%r12
xor    %eax,%eax
mov    %rax,(%rsp)
lea    0x610(%rsp),%rbx
mov    $0x400,%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   1090 <memset@plt>
mov    %rbx,%rdi
mov    $0x400,%esi
mov    %r12,%rdx
call   10a0 <fgets@plt>
test   %rax,%rax
je     1465 <print_environment+0x2b5>
xor    %eax,%eax
mov    %rax,(%rsp)
lea    0x610(%rsp),%rbx
lea    0xa10(%rsp),%r13
lea    0x210(%rsp),%rbp
jmp    13a9 <print_environment+0x1f9>
mov    (%rsp),%rax
add    $0x1,%eax
mov    %rax,(%rsp)
mov    %rbp,%rdi
call   1060 <strlen@plt>
lea    -0x1(%rax),%edx
lea    0x110(%rsp),%rdi
mov    %rbp,%rsi
call   1030 <strncpy@plt>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %rbx,%rdi
mov    $0x400,%esi
mov    %r12,%rdx
call   10a0 <fgets@plt>
test   %rax,%rax
je     1465 <print_environment+0x2b5>
mov    %rbx,%rdi
mov    $0x3a,%esi
call   1070 <strchr@plt>
test   %rax,%rax
je     1390 <print_environment+0x1e0>
mov    %rax,%r15
mov    %rax,%rdi
call   1060 <strlen@plt>
cmp    $0xa,%eax
jl     1390 <print_environment+0x1e0>
mov    $0x400,%edx
mov    %r13,%rdi
xor    %esi,%esi
call   1090 <memset@plt>
mov    $0x400,%edx
mov    %rbp,%rdi
xor    %esi,%esi
call   1090 <memset@plt>
mov    %ebx,%edx
not    %edx
add    %r15d,%edx
mov    %r13,%rdi
mov    %rbx,%rsi
call   1030 <strncpy@plt>
mov    %r15,%r14
add    $0x1,%r14
mov    %r15,%rdi
call   1060 <strlen@plt>
lea    -0x1(%rax),%edx
mov    %rbp,%rdi
mov    %r14,%rsi
call   1030 <strncpy@plt>
lea    0xc13(%rip),%rdi
mov    %r13,%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
je     135f <print_environment+0x1af>
lea    0xc06(%rip),%rdi
mov    %r13,%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
jne    1390 <print_environment+0x1e0>
mov    %rbp,%rdi
call   1060 <strlen@plt>
lea    -0x2(%rax),%edx
lea    0x10(%rsp),%rdi
lea    0x211(%rsp),%rsi
jmp    1380 <print_environment+0x1d0>
mov    %r12,%rdi
call   1040 <fclose@plt>
lea    0xbd4(%rip),%rdi
lea    0x110(%rsp),%rdx
mov    (%rsp),%rsi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0xbcb(%rip),%rdi
lea    0x10(%rsp),%rsi
xor    %eax,%eax
call   1080 <printf@plt>
add    $0xe18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [16 x i8] c" Compiler:\09%s\0A\00"
@.str.1 = [6 x i8] c"9.4.0\00"
@.str.2 = [12 x i8] c" Date:\09\09%s\00"
@.str.3 = [14 x i8] c"/proc/cpuinfo\00"
@.str.4 = [2 x i8] c"r\00"
@.str.5 = [11 x i8] c"model name\00"
@.str.6 = [11 x i8] c"cache size\00"
@.str.7 = [17 x i8] c" CPU:\09\09%d * %s\0A\00"
@.str.8 = [16 x i8] c" CPUCache:\09%s\0A\00"
define void @print_environment() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [256 x i8]
%4 = alloca [256 x i8]
%5 = alloca i32*
%6 = alloca [1024 x i8]
%7 = alloca i8*
%8 = alloca [1024 x i8]
%9 = alloca [1024 x i8]
%10 = call i32 @time(i32* null)
store i32 %10, i32* %1
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%12 = call i64 @ctime(i32* %1)
%13 = inttoptr i64 %12 to i8*
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i8* %13)
store i32 0, i32* %2
%15 = bitcast [256 x i8]* %3 to i8*
%16 = bitcast [256 x i8]* %4 to i8*
%17 = call i32* @fopen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32* %17, i32** %5
%18 = load i32*, i32** %5
%19 = icmp ne i32* %18, null
br i1 %19, label %20, label %91
20: ; preds = %0
%21 = bitcast [1024 x i8]* %6 to i8*
br label %22
22: ; preds = %82, %36, %20
%23 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%24 = load i32*, i32** %5
%25 = call i32* @fgets(i8* %23, i32 1024, i32* %24)
%26 = icmp ne i32* %25, null
br i1 %26, label %27, label %83
27: ; preds = %22
%28 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%29 = call i8* @strchr(i8* %28, i8 signext 58)
store i8* %29, i8** %7
%30 = load i8*, i8** %7
%31 = icmp eq i8* %30, null
br i1 %31, label %36, label %32
32: ; preds = %27
%33 = load i8*, i8** %7
%34 = call i32 @strlen(i8* %33)
%35 = icmp slt i32 %34, 10
br i1 %35, label %36, label %37
36: ; preds = %32, %27
br label %22
37: ; preds = %32
%38 = bitcast [1024 x i8]* %8 to i8*
%39 = bitcast [1024 x i8]* %9 to i8*
%40 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%41 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%42 = load i8*, i8** %7
%43 = getelementptr inbounds i8, i8* %42, i64 -1
%44 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%45 = ptrtoint i8* %43 to i64
%46 = ptrtoint i8* %44 to i64
%47 = sub i64 %45, %46
%48 = trunc i64 %47 to i32
%49 = call i32 @strncpy(i8* %40, i8* %41, i32 %48)
%50 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%51 = load i8*, i8** %7
%52 = getelementptr inbounds i8, i8* %51, i64 1
%53 = load i8*, i8** %7
%54 = call i32 @strlen(i8* %53)
%55 = sub nsw i32 %54, 1
%56 = call i32 @strncpy(i8* %50, i8* %52, i32 %55)
%57 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%58 = call i64 @strcmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* %57)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %69
60: ; preds = %37
%61 = load i32, i32* %2
%62 = add nsw i32 %61, 1
store i32 %62, i32* %2
%63 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%64 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%65 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%66 = call i32 @strlen(i8* %65)
%67 = sub nsw i32 %66, 1
%68 = call i32 @strncpy(i8* %63, i8* %64, i32 %67)
br label %82
69: ; preds = %37
%70 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%71 = call i64 @strcmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i8* %70)
%72 = icmp eq i64 %71, 0
br i1 %72, label %73, label %81
73: ; preds = %69
%74 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%75 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%76 = getelementptr inbounds i8, i8* %75, i64 1
%77 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%78 = call i32 @strlen(i8* %77)
%79 = sub nsw i32 %78, 2
%80 = call i32 @strncpy(i8* %74, i8* %76, i32 %79)
br label %81
81: ; preds = %73, %69
br label %82
82: ; preds = %81, %60
br label %22
83: ; preds = %22
%84 = load i32*, i32** %5
%85 = call i32 @fclose(i32* %84)
%86 = load i32, i32* %2
%87 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), i32 %86, i8* %87)
%89 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i8* %89)
br label %91
91: ; preds = %83, %0
ret void
}

LLVM IR (-O2):
@.str = [16 x i8] c" Compiler:\09%s\0A\00"
@.str.1 = [6 x i8] c"9.4.0\00"
@.str.2 = [12 x i8] c" Date:\09\09%s\00"
@.str.3 = [14 x i8] c"/proc/cpuinfo\00"
@.str.4 = [2 x i8] c"r\00"
@.str.5 = [11 x i8] c"model name\00"
@.str.6 = [11 x i8] c"cache size\00"
@.str.7 = [17 x i8] c" CPU:\09\09%d * %s\0A\00"
@.str.8 = [16 x i8] c" CPUCache:\09%s\0A\00"
define void @print_environment() {
%1 = alloca i32
%2 = alloca [256 x i8]
%3 = alloca [256 x i8]
%4 = alloca [1024 x i8]
%5 = alloca [1024 x i8]
%6 = alloca [1024 x i8]
%7 = bitcast i32* %1 to i8*
%8 = tail call i32 @time(i32* null)
store i32 %8, i32* %1
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%10 = call i64 @ctime(i32* %1)
%11 = inttoptr i64 %10 to i8*
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i8* %11)
%13 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%14 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%15 = call i32* @fopen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%16 = icmp eq i32* %15, null
br i1 %16, label %68, label %17
17: ; preds = %0
%18 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%19 = call i32* @fgets(i8* %18, i32 1024, i32* %15)
%20 = icmp eq i32* %19, null
br i1 %20, label %63, label %21
21: ; preds = %17
%22 = getelementptr inbounds [1024 x i8], [1024 x i8]* %5, i64 0, i64 0
%23 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%24 = ptrtoint [1024 x i8]* %4 to i64
%25 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 1
br label %26
26: ; preds = %21, %59
%27 = phi i32 [ 0, %21 ], [ %60, %59 ]
%28 = call i8* @strchr(i8* %18, i8 signext 58)
%29 = icmp eq i8* %28, null
br i1 %29, label %59, label %30
30: ; preds = %26
%31 = call i32 @strlen(i8* %28)
%32 = icmp slt i32 %31, 10
br i1 %32, label %59, label %33
33: ; preds = %30
%34 = getelementptr inbounds i8, i8* %28, i64 -1
%35 = ptrtoint i8* %34 to i64
%36 = sub i64 %35, %24
%37 = trunc i64 %36 to i32
%38 = call i32 @strncpy(i8* %22, i8* %18, i32 %37)
%39 = getelementptr inbounds i8, i8* %28, i64 1
%40 = call i32 @strlen(i8* %28)
%41 = add nsw i32 %40, -1
%42 = call i32 @strncpy(i8* %23, i8* %39, i32 %41)
%43 = call i64 @strcmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* %22)
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %33
%46 = add nsw i32 %27, 1
%47 = call i32 @strlen(i8* %23)
%48 = add nsw i32 %47, -1
%49 = call i32 @strncpy(i8* %13, i8* %23, i32 %48)
br label %57
50: ; preds = %33
%51 = call i64 @strcmp(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i8* %22)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %57
53: ; preds = %50
%54 = call i32 @strlen(i8* %23)
%55 = add nsw i32 %54, -2
%56 = call i32 @strncpy(i8* %14, i8* %25, i32 %55)
br label %57
57: ; preds = %50, %53, %45
%58 = phi i32 [ %46, %45 ], [ %27, %53 ], [ %27, %50 ]
br label %59
59: ; preds = %26, %30, %57
%60 = phi i32 [ %58, %57 ], [ %27, %30 ], [ %27, %26 ]
%61 = call i32* @fgets(i8* %18, i32 1024, i32* %15)
%62 = icmp eq i32* %61, null
br i1 %62, label %63, label %26
63: ; preds = %59, %17
%64 = phi i32 [ 0, %17 ], [ %60, %59 ]
%65 = call i32 @fclose(i32* %15)
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), i32 %64, i8* %13)
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i8* %14)
br label %68
68: ; preds = %63, %0
ret void
}