#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 */
typedef struct TYPE_2__ TYPE_1__;

/* Type definitions */
typedef int /*<<< orphan*/ time_t;
struct TYPE_2__ {
  int /*<<< orphan*/ s_addr;
};
struct sockaddr_in {
  int /*<<< orphan*/ sin_port;
  TYPE_1__ sin_addr;
  int /*<<< orphan*/ sin_family;
};
struct sockaddr {
  int dummy;
};
typedef int /*<<< orphan*/ servaddr;
typedef int /*<<< orphan*/ buf;

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ INADDR_ANY;
int /*<<< orphan*/ SOCK_STREAM;
int accept(int, int /*<<< orphan*/ *, int /*<<< orphan*/ *);
int bind(int, struct sockaddr *, int);
int /*<<< orphan*/ close(int);
char *ctime(int /*<<< orphan*/ *);
int /*<<< orphan*/ errno;
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
int /*<<< orphan*/ htonl(int /*<<< orphan*/);
int /*<<< orphan*/ htons(int);
int listen(int, int);
int /*<<< orphan*/ memset(struct sockaddr_in *, int /*<<< orphan*/, int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, scalar_t__, char *);
int /*<<< orphan*/ snprintf(char *, int, char *, char *);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
char *strerror(int /*<<< orphan*/);
scalar_t__ strlen(char *);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
scalar_t__ write(int, char *, scalar_t__);
int main(int argc, char *argv[]) {
  int listenfd, connfd;
  struct sockaddr_in servaddr;
  char buf[128];
  time_t ticks;
  if ((listenfd = socket(AF_INET, SOCK_STREAM, 0)) == -1) {
    perror("socket() failed: ");
    return -1;
  }
  memset(&servaddr, 0, sizeof(servaddr));
  servaddr.sin_family = AF_INET;
  servaddr.sin_addr.s_addr = htonl(INADDR_ANY);
  servaddr.sin_port = htons(13);
  if (bind(listenfd, (struct sockaddr *)&servaddr, sizeof(servaddr)) == -1) {
    fprintf(stderr, "bind() failed: %s\n", strerror(errno));
    close(listenfd);
    return -1;
  }
  if (listen(listenfd, 10) == -1) {
    fprintf(stderr, "listen() failed: %s\n", strerror(errno));
    close(listenfd);
    return -1;
  }
  while (1) {
    connfd = accept(listenfd, NULL, NULL);
    if (connfd == -1) {
      fprintf(stderr, "accept() failed: %s\n", strerror(errno));
      continue;
    }
    ticks = time(NULL);
    snprintf(buf, sizeof(buf), "%.24s\r\n", ctime(&ticks));
    if (write(connfd, buf, strlen(buf)) != strlen(buf))
      fprintf(stderr, "write() failed: %s\n", strerror(errno));
    else
      printf("write %ld: %s\n", strlen(buf), buf);
    close(connfd);
  }
  close(listenfd);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2db8(%rip),%rax
mov    (%rax),%edi
mov    0x2d8f(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1130 <socket@plt>
mov    %eax,-0x14(%rbp)
cmp    $0xffffffff,%eax
jne    1266 <main+0x56>
lea    0xdab(%rip),%rdi
call   1100 <perror@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    14bc <main+0x2ac>
lea    -0x28(%rbp),%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   10a0 <memset@plt>
mov    0x2d6b(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x20(%rbp)
mov    0x2d57(%rip),%rax
mov    (%rax),%edi
call   1090 <htonl@plt>
mov    %eax,-0x24(%rbp)
mov    $0xd,%edi
call   1060 <htons@plt>
mov    %eax,-0x28(%rbp)
mov    -0x14(%rbp),%edi
lea    -0x28(%rbp),%rsi
mov    $0xc,%edx
call   10f0 <bind@plt>
cmp    $0xffffffff,%eax
jne    1300 <main+0xf0>
mov    0x2d0f(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0xb8(%rbp)
mov    0x2cf0(%rip),%rax
mov    (%rax),%edi
call   1120 <strerror@plt>
mov    -0xb8(%rbp),%edi
mov    %rax,%rdx
lea    0xd2b(%rip),%rsi
call   10c0 <fprintf@plt>
mov    -0x14(%rbp),%edi
call   10b0 <close@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    14bc <main+0x2ac>
mov    -0x14(%rbp),%edi
mov    $0xa,%esi
call   10e0 <listen@plt>
cmp    $0xffffffff,%eax
jne    135c <main+0x14c>
mov    0x2cb3(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0xbc(%rbp)
mov    0x2c94(%rip),%rax
mov    (%rax),%edi
call   1120 <strerror@plt>
mov    -0xbc(%rbp),%edi
mov    %rax,%rdx
lea    0xce2(%rip),%rsi
call   10c0 <fprintf@plt>
mov    -0x14(%rbp),%edi
call   10b0 <close@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    14bc <main+0x2ac>
jmp    1361 <main+0x151>
mov    -0x14(%rbp),%edi
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1110 <accept@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0xffffffff,-0x18(%rbp)
jne    13b4 <main+0x1a4>
mov    0x2c4c(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0xc0(%rbp)
mov    0x2c2d(%rip),%rax
mov    (%rax),%edi
call   1120 <strerror@plt>
mov    -0xc0(%rbp),%edi
mov    %rax,%rdx
lea    0xc90(%rip),%rsi
call   10c0 <fprintf@plt>
jmp    1361 <main+0x151>
xor    %eax,%eax
mov    %eax,%edi
call   10d0 <time@plt>
mov    %eax,-0xb4(%rbp)
lea    -0xb0(%rbp),%rax
mov    %rax,-0xe0(%rbp)
lea    -0xb4(%rbp),%rdi
call   1040 <ctime@plt>
mov    -0xe0(%rbp),%rdi
mov    %rax,%rcx
mov    $0x80,%esi
lea    0xc5c(%rip),%rdx
call   1080 <snprintf@plt>
mov    -0x18(%rbp),%eax
mov    %eax,-0xd4(%rbp)
lea    -0xb0(%rbp),%rax
mov    %rax,-0xd0(%rbp)
lea    -0xb0(%rbp),%rdi
call   1050 <strlen@plt>
mov    -0xd4(%rbp),%edi
mov    -0xd0(%rbp),%rsi
mov    %rax,%rdx
call   1030 <write@plt>
mov    %rax,-0xc8(%rbp)
lea    -0xb0(%rbp),%rdi
call   1050 <strlen@plt>
mov    %rax,%rcx
mov    -0xc8(%rbp),%rax
cmp    %rcx,%rax
je     148d <main+0x27d>
mov    0x2b73(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0xe4(%rbp)
mov    0x2b54(%rip),%rax
mov    (%rax),%edi
call   1120 <strerror@plt>
mov    -0xe4(%rbp),%edi
mov    %rax,%rdx
lea    0xbd4(%rip),%rsi
call   10c0 <fprintf@plt>
jmp    14af <main+0x29f>
lea    -0xb0(%rbp),%rdi
call   1050 <strlen@plt>
mov    %rax,%rsi
lea    -0xb0(%rbp),%rdx
lea    0xbc1(%rip),%rdi
call   1070 <printf@plt>
mov    -0x18(%rbp),%edi
call   10b0 <close@plt>
jmp    1361 <main+0x151>
mov    -0x4(%rbp),%eax
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa8,%rsp
mov    0x2dc0(%rip),%rbp
mov    0x0(%rbp),%edi
mov    0x2d96(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1130 <socket@plt>
cmp    $0xffffffff,%eax
je     13f7 <main+0x1e7>
mov    %eax,%r15d
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   10a0 <memset@plt>
mov    0x0(%rbp),%eax
mov    %eax,0x18(%rsp)
mov    0x2d77(%rip),%rax
mov    (%rax),%edi
call   1090 <htonl@plt>
mov    %eax,0x14(%rsp)
mov    $0xd,%edi
call   1060 <htons@plt>
mov    %eax,0x10(%rsp)
mov    %r15d,%edi
mov    %rbx,%rsi
mov    $0xc,%edx
call   10f0 <bind@plt>
cmp    $0xffffffff,%eax
je     1390 <main+0x180>
mov    %r15d,%edi
mov    $0xa,%esi
call   10e0 <listen@plt>
cmp    $0xffffffff,%eax
je     13b0 <main+0x1a0>
mov    0x2d08(%rip),%r12
lea    0x20(%rsp),%rbx
jmp    12e3 <main+0xd3>
nop
mov    0x2d09(%rip),%rax
mov    (%rax),%ebp
mov    (%r12),%edi
call   1120 <strerror@plt>
mov    %ebp,%edi
lea    0xd5f(%rip),%rsi
mov    %rax,%rdx
call   10c0 <fprintf@plt>
mov    %r15d,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1110 <accept@plt>
cmp    $0xffffffff,%eax
je     12c0 <main+0xb0>
mov    %eax,%r13d
xor    %edi,%edi
call   10d0 <time@plt>
mov    %eax,0xc(%rsp)
lea    0xc(%rsp),%rdi
call   1040 <ctime@plt>
mov    %rbx,%rdi
mov    $0x80,%esi
lea    0xd34(%rip),%rdx
mov    %rax,%rcx
call   1080 <snprintf@plt>
mov    %rbx,%rdi
call   1050 <strlen@plt>
mov    %r13d,%edi
mov    %rbx,%rsi
mov    %rax,%rdx
call   1030 <write@plt>
mov    %rax,%r14
mov    %rbx,%rdi
call   1050 <strlen@plt>
cmp    %rax,%r14
jne    1360 <main+0x150>
lea    0xd1b(%rip),%rdi
mov    %r14,%rsi
mov    %rbx,%rdx
call   1070 <printf@plt>
jmp    1383 <main+0x173>
nopl   (%rax)
mov    0x2c69(%rip),%rax
mov    (%rax),%ebp
mov    (%r12),%edi
call   1120 <strerror@plt>
mov    %ebp,%edi
lea    0xcdc(%rip),%rsi
mov    %rax,%rdx
call   10c0 <fprintf@plt>
mov    %r13d,%edi
call   10b0 <close@plt>
jmp    12e3 <main+0xd3>
mov    0x2c39(%rip),%rax
mov    (%rax),%ebx
mov    0x2c20(%rip),%rax
mov    (%rax),%edi
call   1120 <strerror@plt>
lea    0xc64(%rip),%rsi
jmp    13ce <main+0x1be>
mov    0x2c19(%rip),%rax
mov    (%rax),%ebx
mov    0x2c00(%rip),%rax
mov    (%rax),%edi
call   1120 <strerror@plt>
lea    0xc57(%rip),%rsi
mov    %ebx,%edi
mov    %rax,%rdx
call   10c0 <fprintf@plt>
mov    %r15d,%edi
call   10b0 <close@plt>
mov    $0xffffffff,%eax
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xc02(%rip),%rdi
call   1100 <perror@plt>
jmp    13e0 <main+0x1d0>

LLVM IR (-O0):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str = [18 x i8] c"socket() failed: \00"
@INADDR_ANY = global i32 0
@stderr = global i32 0
@.str.1 = [19 x i8] c"bind() failed: %s\0A\00"
@errno = global i32 0
@.str.2 = [21 x i8] c"listen() failed: %s\0A\00"
@.str.3 = [21 x i8] c"accept() failed: %s\0A\00"
@.str.4 = [8 x i8] c"%.24s\0D\0A\00"
@.str.5 = [20 x i8] c"write() failed: %s\0A\00"
@.str.6 = [15 x i8] c"write %ld: %s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca %struct.sockaddr_in
%9 = alloca [128 x i8]
%10 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%11 = load i32, i32* @AF_INET
%12 = load i32, i32* @SOCK_STREAM
%13 = call i32 @socket(i32 %11, i32 %12, i32 0)
store i32 %13, i32* %6
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
store i32 -1, i32* %3
br label %86
17: ; preds = %2
%18 = call i32 @memset(%struct.sockaddr_in* %8, i32 0, i32 12)
%19 = load i32, i32* @AF_INET
%20 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %8, i32 0, i32 2
store i32 %19, i32* %20
%21 = load i32, i32* @INADDR_ANY
%22 = call i32 @htonl(i32 %21)
%23 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %8, i32 0, i32 1
%24 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %23, i32 0, i32 0
store i32 %22, i32* %24
%25 = call i32 @htons(i32 13)
%26 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %8, i32 0, i32 0
store i32 %25, i32* %26
%27 = load i32, i32* %6
%28 = bitcast %struct.sockaddr_in* %8 to %struct.sockaddr*
%29 = call i32 @bind(i32 %27, %struct.sockaddr* %28, i32 12)
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %38
31: ; preds = %17
%32 = load i32, i32* @stderr
%33 = load i32, i32* @errno
%34 = call i8* @strerror(i32 %33)
%35 = call i32 @fprintf(i32 %32, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), i8* %34)
%36 = load i32, i32* %6
%37 = call i32 @close(i32 %36)
store i32 -1, i32* %3
br label %86
38: ; preds = %17
%39 = load i32, i32* %6
%40 = call i32 @listen(i32 %39, i32 10)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %49
42: ; preds = %38
%43 = load i32, i32* @stderr
%44 = load i32, i32* @errno
%45 = call i8* @strerror(i32 %44)
%46 = call i32 @fprintf(i32 %43, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* %45)
%47 = load i32, i32* %6
%48 = call i32 @close(i32 %47)
store i32 -1, i32* %3
br label %86
49: ; preds = %38
br label %50
50: ; preds = %49, %55, %83
%51 = load i32, i32* %6
%52 = call i32 @accept(i32 %51, i32* null, i32* null)
store i32 %52, i32* %7
%53 = load i32, i32* %7
%54 = icmp eq i32 %53, -1
br i1 %54, label %55, label %60
55: ; preds = %50
%56 = load i32, i32* @stderr
%57 = load i32, i32* @errno
%58 = call i8* @strerror(i32 %57)
%59 = call i32 @fprintf(i32 %56, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i8* %58)
br label %50
60: ; preds = %50
%61 = call i32 @time(i32* null)
store i32 %61, i32* %10
%62 = getelementptr inbounds [128 x i8], [128 x i8]* %9, i64 0, i64 0
%63 = call i8* @ctime(i32* %10)
%64 = call i32 @snprintf(i8* %62, i32 128, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* %63)
%65 = load i32, i32* %7
%66 = getelementptr inbounds [128 x i8], [128 x i8]* %9, i64 0, i64 0
%67 = getelementptr inbounds [128 x i8], [128 x i8]* %9, i64 0, i64 0
%68 = call i64 @strlen(i8* %67)
%69 = call i64 @write(i32 %65, i8* %66, i64 %68)
%70 = getelementptr inbounds [128 x i8], [128 x i8]* %9, i64 0, i64 0
%71 = call i64 @strlen(i8* %70)
%72 = icmp ne i64 %69, %71
br i1 %72, label %73, label %78
73: ; preds = %60
%74 = load i32, i32* @stderr
%75 = load i32, i32* @errno
%76 = call i8* @strerror(i32 %75)
%77 = call i32 @fprintf(i32 %74, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), i8* %76)
br label %83
78: ; preds = %60
%79 = getelementptr inbounds [128 x i8], [128 x i8]* %9, i64 0, i64 0
%80 = call i64 @strlen(i8* %79)
%81 = getelementptr inbounds [128 x i8], [128 x i8]* %9, i64 0, i64 0
%82 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.6, i64 0, i64 0), i64 %80, i8* %81)
br label %83
83: ; preds = %78, %73
%84 = load i32, i32* %7
%85 = call i32 @close(i32 %84)
br label %50
86: ; preds = %42, %31, %15
%87 = load i32, i32* %3
ret i32 %87
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str = [18 x i8] c"socket() failed: \00"
@INADDR_ANY = global i32 0
@stderr = global i32 0
@.str.1 = [19 x i8] c"bind() failed: %s\0A\00"
@errno = global i32 0
@.str.2 = [21 x i8] c"listen() failed: %s\0A\00"
@.str.3 = [21 x i8] c"accept() failed: %s\0A\00"
@.str.4 = [8 x i8] c"%.24s\0D\0A\00"
@.str.5 = [20 x i8] c"write() failed: %s\0A\00"
@.str.6 = [15 x i8] c"write %ld: %s\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca %struct.sockaddr_in
%4 = alloca [128 x i8]
%5 = alloca i32
%6 = bitcast %struct.sockaddr_in* %3 to i8*
%7 = getelementptr inbounds [128 x i8], [128 x i8]* %4, i64 0, i64 0
%8 = bitcast i32* %5 to i8*
%9 = load i32, i32* @AF_INET
%10 = load i32, i32* @SOCK_STREAM
%11 = tail call i32 @socket(i32 %9, i32 %10, i32 0)
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = tail call i32 @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
br label %68
15: ; preds = %2
%16 = call i32 @memset(%struct.sockaddr_in* %3, i32 0, i32 12)
%17 = load i32, i32* @AF_INET
%18 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 2
store i32 %17, i32* %18
%19 = load i32, i32* @INADDR_ANY
%20 = call i32 @htonl(i32 %19)
%21 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 1, i32 0
store i32 %20, i32* %21
%22 = call i32 @htons(i32 13)
%23 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 0
store i32 %22, i32* %23
%24 = bitcast %struct.sockaddr_in* %3 to %struct.sockaddr*
%25 = call i32 @bind(i32 %11, %struct.sockaddr* %24, i32 12)
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %33
27: ; preds = %15
%28 = load i32, i32* @stderr
%29 = load i32, i32* @errno
%30 = call i8* @strerror(i32 %29)
%31 = call i32 @fprintf(i32 %28, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), i8* %30)
%32 = call i32 @close(i32 %11)
br label %68
33: ; preds = %15
%34 = call i32 @listen(i32 %11, i32 10)
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %42
36: ; preds = %33
%37 = load i32, i32* @stderr
%38 = load i32, i32* @errno
%39 = call i8* @strerror(i32 %38)
%40 = call i32 @fprintf(i32 %37, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* %39)
%41 = call i32 @close(i32 %11)
br label %68
42: ; preds = %33, %50
%43 = call i32 @accept(i32 %11, i32* null, i32* null)
%44 = icmp eq i32 %43, -1
br i1 %44, label %45, label %51
45: ; preds = %42
%46 = load i32, i32* @stderr
%47 = load i32, i32* @errno
%48 = call i8* @strerror(i32 %47)
%49 = call i32 @fprintf(i32 %46, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i8* %48)
br label %50
50: ; preds = %45, %66
br label %42
51: ; preds = %42
%52 = call i32 @time(i32* null)
store i32 %52, i32* %5
%53 = call i8* @ctime(i32* %5)
%54 = call i32 @snprintf(i8* %7, i32 128, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* %53)
%55 = call i64 @strlen(i8* %7)
%56 = call i64 @write(i32 %43, i8* %7, i64 %55)
%57 = call i64 @strlen(i8* %7)
%58 = icmp eq i64 %56, %57
br i1 %58, label %64, label %59
59: ; preds = %51
%60 = load i32, i32* @stderr
%61 = load i32, i32* @errno
%62 = call i8* @strerror(i32 %61)
%63 = call i32 @fprintf(i32 %60, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), i8* %62)
br label %66
64: ; preds = %51
%65 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.6, i64 0, i64 0), i64 %56, i8* %7)
br label %66
66: ; preds = %64, %59
%67 = call i32 @close(i32 %43)
br label %50
68: ; preds = %36, %27, %13
ret i32 -1
}