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

/* Variables and functions */
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
scalar_t__ fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ *stderr;
int main(void) {
  FILE *semIn;
  FILE *semOut;
  char inbuf[128];
  char *curchar;
  int ch;
  int ignoreLine = 1;
  char *name;
  int nameLength;
  if ((semIn = fopen("sem_enum.h", "r")) == NULL) {
    fprintf(stderr, "Cannot open sem_enum.h file.\n");
    exit(1);
  }
  if ((semOut = fopen("sem_names.h", "w")) == NULL) {
    fprintf(stderr, "Cannot open sem_names.h file.\n");
    exit(1);
  }
  fprintf(semOut, "#ifndef __SEM_NAMES_h\n");
  fprintf(semOut, "#define __SEM_NAMES_h\n");
  fprintf(semOut, "static const char *semNames[] = {\n");
  while ((fgets(inbuf, sizeof(inbuf), semIn))) {
    curchar = inbuf;
    while ((ch = *curchar++) <= 32 && ch != 0)
      ;
    if (ch == '/')
      continue;
    if (ignoreLine) {
      if (ch == '{')
        ignoreLine = 0;
      continue;
    }
    if (ch == '}')
      break;
    name = curchar - 1;
    while ((ch = *curchar++) > 32 && ch != ',' && ch != '=')
      ;
    nameLength = curchar - name - 1;
    name[nameLength] = 0;
    fprintf(semOut, "  \"%s\",\n", name);
  }
  fclose(semIn);
  fprintf(semOut, "NULL\n");
  fprintf(semOut, "};\n");
  fprintf(semOut, "#endif /*__SEM_NAMES_H*/\n");
  fclose(semOut);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x1,-0xb0(%rbp)
lea    0xe8d(%rip),%rdi
lea    0xe91(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x10(%rbp)
cmp    $0x0,%rax
jne    11af <main+0x5f>
mov    0x2e4c(%rip),%rax
mov    (%rax),%rdi
lea    0xe6f(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1070 <exit@plt>
lea    0xe75(%rip),%rdi
lea    0xe7a(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmp    $0x0,%rax
jne    11f2 <main+0xa2>
mov    0x2e09(%rip),%rax
mov    (%rax),%rdi
lea    0xe58(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1070 <exit@plt>
mov    -0x18(%rbp),%rdi
lea    0xe5b(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x18(%rbp),%rdi
lea    0xe60(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x18(%rbp),%rdi
lea    0xe65(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
lea    -0xa0(%rbp),%rdi
mov    -0x10(%rbp),%rdx
mov    $0x80,%esi
call   1040 <fgets@plt>
cmp    $0x0,%rax
je     13c2 <main+0x272>
lea    -0xa0(%rbp),%rax
mov    %rax,-0xa8(%rbp)
mov    -0xa8(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0xa8(%rbp)
movsbl (%rax),%ecx
mov    %ecx,-0xac(%rbp)
xor    %eax,%eax
cmp    $0x20,%ecx
mov    %al,-0xbd(%rbp)
jg     1294 <main+0x144>
cmpl   $0x0,-0xac(%rbp)
setne  %al
mov    %al,-0xbd(%rbp)
mov    -0xbd(%rbp),%al
test   $0x1,%al
jne    12a7 <main+0x157>
jmp    12ac <main+0x15c>
jmp    1255 <main+0x105>
cmpl   $0x2f,-0xac(%rbp)
jne    12be <main+0x16e>
jmp    1228 <main+0xd8>
cmpl   $0x0,-0xb0(%rbp)
je     12e7 <main+0x197>
cmpl   $0x7b,-0xac(%rbp)
jne    12e2 <main+0x192>
movl   $0x0,-0xb0(%rbp)
jmp    1228 <main+0xd8>
cmpl   $0x7d,-0xac(%rbp)
jne    12f9 <main+0x1a9>
jmp    13c2 <main+0x272>
mov    -0xa8(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0xb8(%rbp)
mov    -0xa8(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0xa8(%rbp)
movsbl (%rax),%ecx
mov    %ecx,-0xac(%rbp)
xor    %eax,%eax
cmp    $0x20,%ecx
mov    %al,-0xbe(%rbp)
jle    135f <main+0x20f>
xor    %eax,%eax
cmpl   $0x2c,-0xac(%rbp)
mov    %al,-0xbe(%rbp)
je     135f <main+0x20f>
cmpl   $0x3d,-0xac(%rbp)
setne  %al
mov    %al,-0xbe(%rbp)
mov    -0xbe(%rbp),%al
test   $0x1,%al
jne    1372 <main+0x222>
jmp    1377 <main+0x227>
jmp    130b <main+0x1bb>
mov    -0xa8(%rbp),%rax
mov    -0xb8(%rbp),%rcx
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,-0xbc(%rbp)
mov    -0xb8(%rbp),%rax
movslq -0xbc(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x18(%rbp),%rdi
mov    -0xb8(%rbp),%rdx
lea    0xcf3(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
jmp    1228 <main+0xd8>
mov    -0x10(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x18(%rbp),%rdi
lea    0xcdc(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x18(%rbp),%rdi
lea    0xcd0(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x18(%rbp),%rdi
lea    0xcc2(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x18(%rbp),%rdi
call   1030 <fclose@plt>
xor    %eax,%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x80,%rsp
lea    0xe8a(%rip),%rdi
lea    0xe8e(%rip),%rsi
call   1060 <fopen@plt>
test   %rax,%rax
je     1306 <main+0x1a6>
mov    %rax,%r15
lea    0xe96(%rip),%rdi
lea    0xe9b(%rip),%rsi
call   1060 <fopen@plt>
test   %rax,%rax
je     131e <main+0x1be>
mov    %rax,%r14
lea    0xea4(%rip),%rdi
mov    $0x16,%esi
mov    $0x1,%edx
mov    %rax,%rcx
call   1080 <fwrite@plt>
lea    0xea2(%rip),%rdi
mov    $0x16,%esi
mov    $0x1,%edx
mov    %r14,%rcx
call   1080 <fwrite@plt>
lea    0xea0(%rip),%rdi
mov    $0x22,%esi
mov    $0x1,%edx
mov    %r14,%rcx
call   1080 <fwrite@plt>
mov    $0x1,%ebx
mov    %rsp,%rbp
lea    0xea2(%rip),%r12
jmp    1215 <main+0xb5>
nopl   0x0(%rax)
cmp    $0x2f,%cl
jne    1242 <main+0xe2>
mov    %rbp,%rdi
mov    $0x80,%esi
mov    %r15,%rdx
call   1040 <fgets@plt>
test   %rax,%rax
je     1299 <main+0x139>
mov    %rbp,%rax
nopl   (%rax)
movzbl (%rax),%ecx
add    $0x1,%rax
cmp    $0x20,%cl
jg     1210 <main+0xb0>
test   %cl,%cl
jne    1230 <main+0xd0>
jmp    1210 <main+0xb0>
test   %ebx,%ebx
je     1250 <main+0xf0>
xor    %ebx,%ebx
cmp    $0x7b,%cl
setne  %bl
jmp    1215 <main+0xb5>
cmp    $0x7d,%cl
je     1299 <main+0x139>
lea    -0x1(%rax),%rdx
xor    %esi,%esi
nopl   0x0(%rax,%rax,1)
mov    %rsi,%rcx
movzbl (%rax,%rsi,1),%ebx
cmp    $0x21,%bl
jl     127a <main+0x11a>
cmp    $0x3d,%bl
je     127a <main+0x11a>
lea    0x1(%rcx),%rsi
cmp    $0x2c,%bl
jne    1260 <main+0x100>
add    $0x1,%ecx
movslq %ecx,%rcx
movb   $0x0,-0x1(%rax,%rcx,1)
xor    %ebx,%ebx
mov    %r14,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    1215 <main+0xb5>
mov    %r15,%rdi
call   1030 <fclose@plt>
lea    0xe0a(%rip),%rdi
mov    $0x5,%esi
mov    $0x1,%edx
mov    %r14,%rcx
call   1080 <fwrite@plt>
lea    0xdf7(%rip),%rdi
mov    $0x3,%esi
mov    $0x1,%edx
mov    %r14,%rcx
call   1080 <fwrite@plt>
lea    0xde2(%rip),%rdi
mov    $0x19,%esi
mov    $0x1,%edx
mov    %r14,%rcx
call   1080 <fwrite@plt>
mov    %r14,%rdi
call   1030 <fclose@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2cd3(%rip),%rax
mov    (%rax),%rcx
lea    0xcf6(%rip),%rdi
mov    $0x1d,%esi
jmp    1334 <main+0x1d4>
mov    0x2cbb(%rip),%rax
mov    (%rax),%rcx
lea    0xd0a(%rip),%rdi
mov    $0x1e,%esi
mov    $0x1,%edx
call   1080 <fwrite@plt>
mov    $0x1,%edi
call   1070 <exit@plt>

LLVM IR (-O0):
@.str = [11 x i8] c"sem_enum.h\00"
@.str.1 = [2 x i8] c"r\00"
@stderr = global i32* null
@.str.2 = [30 x i8] c"Cannot open sem_enum.h file.\0A\00"
@.str.3 = [12 x i8] c"sem_names.h\00"
@.str.4 = [2 x i8] c"w\00"
@.str.5 = [31 x i8] c"Cannot open sem_names.h file.\0A\00"
@.str.6 = [23 x i8] c"#ifndef __SEM_NAMES_h\0A\00"
@.str.7 = [23 x i8] c"#define __SEM_NAMES_h\0A\00"
@.str.8 = [35 x i8] c"static const char *semNames[] = {\0A\00"
@.str.9 = [9 x i8] c" \22%s\22,\0A\00"
@.str.10 = [6 x i8] c"NULL\0A\00"
@.str.11 = [4 x i8] c"};\0A\00"
@.str.12 = [26 x i8] c"#endif /*__SEM_NAMES_H*/\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32*
%3 = alloca i32*
%4 = alloca [128 x i8]
%5 = alloca i8*
%6 = alloca i32
%7 = alloca i32
%8 = alloca i8*
%9 = alloca i32
store i32 0, i32* %1
store i32 1, i32* %7
%10 = call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %10, i32** %2
%11 = icmp eq i32* %10, null
br i1 %11, label %12, label %16
12: ; preds = %0
%13 = load i32*, i32** @stderr
%14 = call i32 (i32*, i8*, ...) @fprintf(i32* %13, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0))
%15 = call i32 @exit(i32 1)
unreachable
16: ; preds = %0
%17 = call i32* @fopen(i8* getelementptr inbounds ([12 x i8], [12 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** %3
%18 = icmp eq i32* %17, null
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = load i32*, i32** @stderr
%21 = call i32 (i32*, i8*, ...) @fprintf(i32* %20, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
%22 = call i32 @exit(i32 1)
unreachable
23: ; preds = %16
%24 = load i32*, i32** %3
%25 = call i32 (i32*, i8*, ...) @fprintf(i32* %24, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
%26 = load i32*, i32** %3
%27 = call i32 (i32*, i8*, ...) @fprintf(i32* %26, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0))
%28 = load i32*, i32** %3
%29 = call i32 (i32*, i8*, ...) @fprintf(i32* %28, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0))
br label %30
30: ; preds = %83, %60, %52, %23
%31 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 0
%32 = load i32*, i32** %2
%33 = call i64 @fgets(i8* %31, i32 128, i32* %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %98
35: ; preds = %30
%36 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 0
store i8* %36, i8** %5
br label %37
37: ; preds = %48, %35
%38 = load i8*, i8** %5
%39 = getelementptr inbounds i8, i8* %38, i32 1
store i8* %39, i8** %5
%40 = load i8, i8* %38
%41 = sext i8 %40 to i32
store i32 %41, i32* %6
%42 = icmp sle i32 %41, 32
br i1 %42, label %43, label %46
43: ; preds = %37
%44 = load i32, i32* %6
%45 = icmp ne i32 %44, 0
br label %46
46: ; preds = %43, %37
%47 = phi i1 [ false, %37 ], [ %45, %43 ]
br i1 %47, label %48, label %49
48: ; preds = %46
br label %37
49: ; preds = %46
%50 = load i32, i32* %6
%51 = icmp eq i32 %50, 47
br i1 %51, label %52, label %53
52: ; preds = %49
br label %30
53: ; preds = %49
%54 = load i32, i32* %7
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %61
56: ; preds = %53
%57 = load i32, i32* %6
%58 = icmp eq i32 %57, 123
br i1 %58, label %59, label %60
59: ; preds = %56
store i32 0, i32* %7
br label %60
60: ; preds = %59, %56
br label %30
61: ; preds = %53
%62 = load i32, i32* %6
%63 = icmp eq i32 %62, 125
br i1 %63, label %64, label %65
64: ; preds = %61
br label %98
65: ; preds = %61
%66 = load i8*, i8** %5
%67 = getelementptr inbounds i8, i8* %66, i64 -1
store i8* %67, i8** %8
br label %68
68: ; preds = %82, %65
%69 = load i8*, i8** %5
%70 = getelementptr inbounds i8, i8* %69, i32 1
store i8* %70, i8** %5
%71 = load i8, i8* %69
%72 = sext i8 %71 to i32
store i32 %72, i32* %6
%73 = icmp sgt i32 %72, 32
br i1 %73, label %74, label %80
74: ; preds = %68
%75 = load i32, i32* %6
%76 = icmp ne i32 %75, 44
br i1 %76, label %77, label %80
77: ; preds = %74
%78 = load i32, i32* %6
%79 = icmp ne i32 %78, 61
br label %80
80: ; preds = %77, %74, %68
%81 = phi i1 [ false, %74 ], [ false, %68 ], [ %79, %77 ]
br i1 %81, label %82, label %83
82: ; preds = %80
br label %68
83: ; preds = %80
%84 = load i8*, i8** %5
%85 = load i8*, i8** %8
%86 = ptrtoint i8* %84 to i64
%87 = ptrtoint i8* %85 to i64
%88 = sub i64 %86, %87
%89 = sub nsw i64 %88, 1
%90 = trunc i64 %89 to i32
store i32 %90, i32* %9
%91 = load i8*, i8** %8
%92 = load i32, i32* %9
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, i8* %91, i64 %93
store i8 0, i8* %94
%95 = load i32*, i32** %3
%96 = load i8*, i8** %8
%97 = call i32 (i32*, i8*, ...) @fprintf(i32* %95, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i8* %96)
br label %30
98: ; preds = %64, %30
%99 = load i32*, i32** %2
%100 = call i32 @fclose(i32* %99)
%101 = load i32*, i32** %3
%102 = call i32 (i32*, i8*, ...) @fprintf(i32* %101, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%103 = load i32*, i32** %3
%104 = call i32 (i32*, i8*, ...) @fprintf(i32* %103, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%105 = load i32*, i32** %3
%106 = call i32 (i32*, i8*, ...) @fprintf(i32* %105, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0))
%107 = load i32*, i32** %3
%108 = call i32 @fclose(i32* %107)
ret i32 0
}

LLVM IR (-O2):
@.str = [11 x i8] c"sem_enum.h\00"
@.str.1 = [2 x i8] c"r\00"
@stderr = global i32* null
@.str.2 = [30 x i8] c"Cannot open sem_enum.h file.\0A\00"
@.str.3 = [12 x i8] c"sem_names.h\00"
@.str.4 = [2 x i8] c"w\00"
@.str.5 = [31 x i8] c"Cannot open sem_names.h file.\0A\00"
@.str.6 = [23 x i8] c"#ifndef __SEM_NAMES_h\0A\00"
@.str.7 = [23 x i8] c"#define __SEM_NAMES_h\0A\00"
@.str.8 = [35 x i8] c"static const char *semNames[] = {\0A\00"
@.str.9 = [9 x i8] c" \22%s\22,\0A\00"
@.str.10 = [6 x i8] c"NULL\0A\00"
@.str.11 = [4 x i8] c"};\0A\00"
@.str.12 = [26 x i8] c"#endif /*__SEM_NAMES_H*/\0A\00"
define i32 @main() {
%1 = alloca [128 x i8]
%2 = getelementptr inbounds [128 x i8], [128 x i8]* %1, i64 0, i64 0
%3 = tail call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%4 = icmp eq i32* %3, null
br i1 %4, label %5, label %9
5: ; preds = %0
%6 = load i32*, i32** @stderr
%7 = tail call i64 @fwrite(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), i64 29, i64 1, i32* %6)
%8 = tail call i32 @exit(i32 1)
unreachable
9: ; preds = %0
%10 = tail call i32* @fopen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%11 = icmp eq i32* %10, null
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = load i32*, i32** @stderr
%14 = tail call i64 @fwrite(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0), i64 30, i64 1, i32* %13)
%15 = tail call i32 @exit(i32 1)
unreachable
16: ; preds = %9
%17 = tail call i64 @fwrite(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0), i64 22, i64 1, i32* %10)
%18 = tail call i64 @fwrite(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), i64 22, i64 1, i32* %10)
%19 = tail call i64 @fwrite(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i64 34, i64 1, i32* %10)
br label %20
20: ; preds = %39, %16
%21 = phi i32 [ 1, %16 ], [ %40, %39 ]
br label %22
22: ; preds = %20, %32
%23 = call i64 @fgets(i8* %2, i32 128, i32* %3)
%24 = icmp eq i64 %23, 0
br i1 %24, label %59, label %25
25: ; preds = %22, %25
%26 = phi i8* [ %27, %25 ], [ %2, %22 ]
%27 = getelementptr inbounds i8, i8* %26, i64 1
%28 = load i8, i8* %26
%29 = icmp slt i8 %28, 33
%30 = icmp ne i8 %28, 0
%31 = and i1 %29, %30
br i1 %31, label %25, label %32
32: ; preds = %25
%33 = icmp eq i8 %28, 47
br i1 %33, label %22, label %34
34: ; preds = %32
%35 = icmp eq i32 %21, 0
br i1 %35, label %41, label %36
36: ; preds = %34
%37 = icmp ne i8 %28, 123
%38 = zext i1 %37 to i32
br label %39
39: ; preds = %36, %50
%40 = phi i32 [ 0, %50 ], [ %38, %36 ]
br label %20
41: ; preds = %34
%42 = icmp eq i8 %28, 125
br i1 %42, label %59, label %43
43: ; preds = %41, %49
%44 = phi i8* [ %45, %49 ], [ %27, %41 ]
%45 = getelementptr inbounds i8, i8* %44, i64 1
%46 = load i8, i8* %44
%47 = freeze i8 %46
%48 = icmp sgt i8 %47, 32
br i1 %48, label %49, label %50
49: ; preds = %43
switch i8 %47, label %43 [
i8 61, label %50
i8 44, label %50
]
50: ; preds = %49, %49, %43
%51 = ptrtoint i8* %45 to i64
%52 = ptrtoint i8* %26 to i64
%53 = xor i64 %52, -1
%54 = add i64 %51, %53
%55 = shl i64 %54, 32
%56 = ashr exact i64 %55, 32
%57 = getelementptr inbounds i8, i8* %26, i64 %56
store i8 0, i8* %57
%58 = call i32 (i32*, i8*, ...) @fprintf(i32* %10, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i8* %26)
br label %39
59: ; preds = %41, %22
%60 = call i32 @fclose(i32* %3)
%61 = call i64 @fwrite(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i64 5, i64 1, i32* %10)
%62 = call i64 @fwrite(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i64 3, i64 1, i32* %10)
%63 = call i64 @fwrite(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0), i64 25, i64 1, i32* %10)
%64 = call i32 @fclose(i32* %10)
ret i32 0
}