#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 */
struct sockaddr_in {
  int /*<<< orphan*/ sin_addr;
  int /*<<< orphan*/ sin_port;
  int /*<<< orphan*/ sin_family;
};
typedef int /*<<< orphan*/ socklen_t;
typedef int /*<<< orphan*/ raddr;

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ O_RDONLY;
int /*<<< orphan*/ SOCK_STREAM;
int /*<<< orphan*/ atoi(char *);
int /*<<< orphan*/ close(int);
int connect(int, void *, int);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ htons(int /*<<< orphan*/);
int /*<<< orphan*/ inet_pton(int /*<<< orphan*/, char *, int /*<<< orphan*/ *);
int /*<<< orphan*/ memset(char *, char, int);
int open(char *, int /*<<< orphan*/);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int read(int, char *, int);
int send(int, ...);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stdout;
int strlen(char *);
int main(int argc, char **argv) {
  if (argc != 3) {
    fprintf(stdout, "Usage: tz IP filename\r\n");
    return -1;
  }
  if (argv[1] == NULL || argv[2] == NULL) {
    fprintf(stdout, "Usage: tz IP filename\r\n");
    return -1;
  }
  int fd;
  int sockfd;
  int ret;
  socklen_t len;
  char buf[1024];
  struct sockaddr_in raddr;
  int i;
  char ch;
  fd = open(argv[2], O_RDONLY);
  if (fd < 0) {
    perror("open():");
    exit(-1);
  }
  sockfd = socket(AF_INET, SOCK_STREAM, 0);
  if (sockfd < 0) {
    perror("socket");
    exit(-1);
  }
  raddr.sin_family = AF_INET;
  raddr.sin_port = htons(atoi("10086"));
  inet_pton(AF_INET, argv[1], &raddr.sin_addr);
  ret = connect(sockfd, (void *)&raddr, sizeof(raddr));
  if (ret < 0) {
    perror("connect():");
    exit(-1);
  }
  int fnamelen = strlen(argv[2]);
  send(sockfd, &fnamelen, sizeof(int), 0);
  send(sockfd, argv[2], fnamelen, 0);
  printf("%s\r\n", argv[2]);
  int j = 0, n = 0;
  int count = 0;
  while (1) {
    memset(buf, '\0', 1024);
    n = read(fd, buf, 1024);
    ret = send(sockfd, buf, n, 0);
    count += ret;
    if (ret <= 0)
      break;
  }
  printf("count = %d\r\n", count);
  printf("\r\nTRANSMISSION OK !\r\n\r\n");
  close(sockfd);
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x450,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x3,-0x8(%rbp)
je     1234 <main+0x44>
mov    0x2dae(%rip),%rax
mov    (%rax),%edi
lea    0xddd(%rip),%rsi
call   10a0 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    147a <main+0x28a>
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1252 <main+0x62>
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x10(%rax)
jne    1273 <main+0x83>
mov    0x2d6f(%rip),%rax
mov    (%rax),%edi
lea    0xd9e(%rip),%rsi
call   10a0 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    147a <main+0x28a>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
mov    0x2d5e(%rip),%rax
mov    (%rax),%esi
call   10c0 <open@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jge    12ac <main+0xbc>
lea    0xd7b(%rip),%rdi
call   10d0 <perror@plt>
mov    $0xffffffff,%edi
call   10f0 <exit@plt>
mov    0x2d35(%rip),%rax
mov    (%rax),%edi
mov    0x2d14(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1110 <socket@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0x0,-0x18(%rbp)
jge    12e8 <main+0xf8>
lea    0xd47(%rip),%rdi
call   10d0 <perror@plt>
mov    $0xffffffff,%edi
call   10f0 <exit@plt>
mov    0x2cf9(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x428(%rbp)
lea    0xd29(%rip),%rdi
call   10e0 <atoi@plt>
mov    %eax,%edi
call   1040 <htons@plt>
mov    %eax,-0x42c(%rbp)
mov    0x2cd1(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    -0x430(%rbp),%rdx
call   10b0 <inet_pton@plt>
mov    -0x18(%rbp),%edi
lea    -0x430(%rbp),%rsi
mov    $0xc,%edx
call   1100 <connect@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
jge    1364 <main+0x174>
lea    0xcd8(%rip),%rdi
call   10d0 <perror@plt>
mov    $0xffffffff,%edi
call   10f0 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1030 <strlen@plt>
mov    %eax,-0x43c(%rbp)
mov    -0x18(%rbp),%edi
lea    -0x43c(%rbp),%rsi
mov    $0x4,%edx
xor    %ecx,%ecx
mov    $0x0,%al
call   1050 <send@plt>
mov    -0x18(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rsi
mov    -0x43c(%rbp),%edx
xor    %ecx,%ecx
mov    $0x0,%al
call   1050 <send@plt>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rsi
lea    0xc80(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x0,-0x440(%rbp)
movl   $0x0,-0x444(%rbp)
movl   $0x0,-0x448(%rbp)
lea    -0x420(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1070 <memset@plt>
mov    -0x14(%rbp),%edi
lea    -0x420(%rbp),%rsi
mov    $0x400,%edx
call   1090 <read@plt>
mov    %eax,-0x444(%rbp)
mov    -0x18(%rbp),%edi
lea    -0x420(%rbp),%rsi
mov    -0x444(%rbp),%edx
xor    %ecx,%ecx
mov    $0x0,%al
call   1050 <send@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
add    -0x448(%rbp),%eax
mov    %eax,-0x448(%rbp)
cmpl   $0x0,-0x1c(%rbp)
jg     1444 <main+0x254>
jmp    1449 <main+0x259>
jmp    13dd <main+0x1ed>
mov    -0x448(%rbp),%esi
lea    0xbe7(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xbe6(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x18(%rbp),%edi
call   1080 <close@plt>
xor    %edi,%edi
call   10f0 <exit@plt>
mov    -0x4(%rbp),%eax
add    $0x450,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x428,%rsp
cmp    $0x3,%edi
jne    1215 <main+0x25>
mov    %rsi,%rbx
cmpq   $0x0,0x8(%rsi)
je     1215 <main+0x25>
mov    0x10(%rbx),%rdi
test   %rdi,%rdi
jne    123d <main+0x4d>
mov    0x2dac(%rip),%rax
mov    (%rax),%edi
lea    0xddb(%rip),%rsi
call   10b0 <fprintf@plt>
mov    $0xffffffff,%eax
add    $0x428,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2d9c(%rip),%rax
mov    (%rax),%esi
call   10d0 <open@plt>
test   %eax,%eax
jns    1258 <main+0x68>
lea    0xdc2(%rip),%rdi
jmp    12c9 <main+0xd9>
mov    %eax,%r15d
mov    0x2d86(%rip),%rbp
mov    0x0(%rbp),%edi
mov    0x2d64(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1110 <socket@plt>
test   %eax,%eax
jns    1282 <main+0x92>
lea    0xda0(%rip),%rdi
jmp    12c9 <main+0xd9>
mov    %eax,%r14d
mov    0x0(%rbp),%eax
mov    %eax,0x18(%rsp)
mov    $0x2766,%edi
call   1050 <htons@plt>
mov    %eax,0x14(%rsp)
mov    0x0(%rbp),%edi
mov    0x8(%rbx),%rsi
lea    0x10(%rsp),%rbp
mov    %rbp,%rdx
call   10c0 <inet_pton@plt>
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0xc,%edx
call   1100 <connect@plt>
test   %eax,%eax
jns    12d8 <main+0xe8>
lea    0xd5e(%rip),%rdi
call   10e0 <perror@plt>
mov    $0xffffffff,%edi
call   10f0 <exit@plt>
mov    0x10(%rbx),%rdi
call   1040 <strlen@plt>
mov    %eax,0xc(%rsp)
lea    0xc(%rsp),%rsi
mov    $0x4,%edx
mov    %r14d,%edi
xor    %ecx,%ecx
xor    %eax,%eax
call   1060 <send@plt>
mov    0x10(%rbx),%rsi
mov    0xc(%rsp),%edx
mov    %r14d,%edi
xor    %ecx,%ecx
xor    %eax,%eax
call   1060 <send@plt>
mov    0x10(%rbx),%rsi
lea    0xd18(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0x20(%rsp),%rbp
xor    %ebx,%ebx
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1080 <memset@plt>
mov    %r15d,%edi
mov    %rbp,%rsi
mov    $0x400,%edx
call   10a0 <read@plt>
mov    %r14d,%edi
mov    %rbp,%rsi
mov    %eax,%edx
xor    %ecx,%ecx
xor    %eax,%eax
call   1060 <send@plt>
add    %eax,%ebx
test   %eax,%eax
jg     1328 <main+0x138>
lea    0xcd2(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xccf(%rip),%rdi
call   1030 <puts@plt>
mov    %r14d,%edi
call   1090 <close@plt>
xor    %edi,%edi
call   10f0 <exit@plt>

LLVM IR (-O0):
%struct.sockaddr_in = type { i32, i32, i32 }
@stdout = global i32 0
@.str = [24 x i8] c"Usage: tz IP filename\0D\0A\00"
@O_RDONLY = global i32 0
@.str.1 = [8 x i8] c"open():\00"
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.2 = [7 x i8] c"socket\00"
@.str.3 = [6 x i8] c"10086\00"
@.str.4 = [11 x i8] c"connect():\00"
@.str.5 = [5 x i8] c"%s\0D\0A\00"
@.str.6 = [13 x i8] c"count = %d\0D\0A\00"
@.str.7 = [24 x i8] c"\0D\0ATRANSMISSION OK !\0D\0A\0D\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 i32
%9 = alloca i32
%10 = alloca [1024 x i8]
%11 = alloca %struct.sockaddr_in
%12 = alloca i32
%13 = alloca i8
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%18 = load i32, i32* %4
%19 = icmp ne i32 %18, 3
br i1 %19, label %20, label %23
20: ; preds = %2
%21 = load i32, i32* @stdout
%22 = call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
store i32 -1, i32* %3
br label %117
23: ; preds = %2
%24 = load i8**, i8*** %5
%25 = getelementptr inbounds i8*, i8** %24, i64 1
%26 = load i8*, i8** %25
%27 = icmp eq i8* %26, null
br i1 %27, label %33, label %28
28: ; preds = %23
%29 = load i8**, i8*** %5
%30 = getelementptr inbounds i8*, i8** %29, i64 2
%31 = load i8*, i8** %30
%32 = icmp eq i8* %31, null
br i1 %32, label %33, label %36
33: ; preds = %28, %23
%34 = load i32, i32* @stdout
%35 = call i32 @fprintf(i32 %34, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
store i32 -1, i32* %3
br label %117
36: ; preds = %28
%37 = load i8**, i8*** %5
%38 = getelementptr inbounds i8*, i8** %37, i64 2
%39 = load i8*, i8** %38
%40 = load i32, i32* @O_RDONLY
%41 = call i32 @open(i8* %39, i32 %40)
store i32 %41, i32* %6
%42 = load i32, i32* %6
%43 = icmp slt i32 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %36
%45 = call i32 @perror(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%46 = call i32 @exit(i32 -1)
unreachable
47: ; preds = %36
%48 = load i32, i32* @AF_INET
%49 = load i32, i32* @SOCK_STREAM
%50 = call i32 @socket(i32 %48, i32 %49, i32 0)
store i32 %50, i32* %7
%51 = load i32, i32* %7
%52 = icmp slt i32 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %47
%54 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%55 = call i32 @exit(i32 -1)
unreachable
56: ; preds = %47
%57 = load i32, i32* @AF_INET
%58 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %11, i32 0, i32 2
store i32 %57, i32* %58
%59 = call i32 @atoi(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%60 = call i32 @htons(i32 %59)
%61 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %11, i32 0, i32 1
store i32 %60, i32* %61
%62 = load i32, i32* @AF_INET
%63 = load i8**, i8*** %5
%64 = getelementptr inbounds i8*, i8** %63, i64 1
%65 = load i8*, i8** %64
%66 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %11, i32 0, i32 0
%67 = call i32 @inet_pton(i32 %62, i8* %65, i32* %66)
%68 = load i32, i32* %7
%69 = bitcast %struct.sockaddr_in* %11 to i8*
%70 = call i32 @connect(i32 %68, i8* %69, i32 12)
store i32 %70, i32* %8
%71 = load i32, i32* %8
%72 = icmp slt i32 %71, 0
br i1 %72, label %73, label %76
73: ; preds = %56
%74 = call i32 @perror(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%75 = call i32 @exit(i32 -1)
unreachable
76: ; preds = %56
%77 = load i8**, i8*** %5
%78 = getelementptr inbounds i8*, i8** %77, i64 2
%79 = load i8*, i8** %78
%80 = call i32 @strlen(i8* %79)
store i32 %80, i32* %14
%81 = load i32, i32* %7
%82 = call i32 (i32, ...) @send(i32 %81, i32* %14, i64 4, i32 0)
%83 = load i32, i32* %7
%84 = load i8**, i8*** %5
%85 = getelementptr inbounds i8*, i8** %84, i64 2
%86 = load i8*, i8** %85
%87 = load i32, i32* %14
%88 = call i32 (i32, ...) @send(i32 %83, i8* %86, i32 %87, i32 0)
%89 = load i8**, i8*** %5
%90 = getelementptr inbounds i8*, i8** %89, i64 2
%91 = load i8*, i8** %90
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* %91)
store i32 0, i32* %15
store i32 0, i32* %16
store i32 0, i32* %17
br label %93
93: ; preds = %76, %109
%94 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%95 = call i32 @memset(i8* %94, i8 signext 0, i32 1024)
%96 = load i32, i32* %6
%97 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%98 = call i32 @read(i32 %96, i8* %97, i32 1024)
store i32 %98, i32* %16
%99 = load i32, i32* %7
%100 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%101 = load i32, i32* %16
%102 = call i32 (i32, ...) @send(i32 %99, i8* %100, i32 %101, i32 0)
store i32 %102, i32* %8
%103 = load i32, i32* %8
%104 = load i32, i32* %17
%105 = add nsw i32 %104, %103
store i32 %105, i32* %17
%106 = load i32, i32* %8
%107 = icmp sle i32 %106, 0
br i1 %107, label %108, label %109
108: ; preds = %93
br label %110
109: ; preds = %93
br label %93
110: ; preds = %108
%111 = load i32, i32* %17
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i32 %111)
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0))
%114 = load i32, i32* %7
%115 = call i32 @close(i32 %114)
%116 = call i32 @exit(i32 0)
unreachable
117: ; preds = %33, %20
%118 = load i32, i32* %3
ret i32 %118
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, i32, i32 }
@stdout = global i32 0
@.str = [24 x i8] c"Usage: tz IP filename\0D\0A\00"
@O_RDONLY = global i32 0
@.str.1 = [8 x i8] c"open():\00"
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.2 = [7 x i8] c"socket\00"
@.str.4 = [11 x i8] c"connect():\00"
@.str.5 = [5 x i8] c"%s\0D\0A\00"
@.str.6 = [13 x i8] c"count = %d\0D\0A\00"
@str = [23 x i8] c"\0D\0ATRANSMISSION OK !\0D\0A\0D\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [1024 x i8]
%4 = alloca %struct.sockaddr_in
%5 = alloca i32
%6 = icmp eq i32 %0, 3
br i1 %6, label %7, label %68
7: ; preds = %2
%8 = getelementptr inbounds i8*, i8** %1, i64 1
%9 = load i8*, i8** %8
%10 = icmp eq i8* %9, null
br i1 %10, label %68, label %11
11: ; preds = %7
%12 = getelementptr inbounds i8*, i8** %1, i64 2
%13 = load i8*, i8** %12
%14 = icmp eq i8* %13, null
br i1 %14, label %68, label %15
15: ; preds = %11
%16 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%17 = bitcast %struct.sockaddr_in* %4 to i8*
%18 = load i32, i32* @O_RDONLY
%19 = tail call i32 @open(i8* %13, i32 %18)
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %15
%22 = tail call i32 @perror(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%23 = tail call i32 @exit(i32 -1)
unreachable
24: ; preds = %15
%25 = load i32, i32* @AF_INET
%26 = load i32, i32* @SOCK_STREAM
%27 = tail call i32 @socket(i32 %25, i32 %26, i32 0)
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = tail call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%31 = tail call i32 @exit(i32 -1)
unreachable
32: ; preds = %24
%33 = load i32, i32* @AF_INET
%34 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 2
store i32 %33, i32* %34
%35 = tail call i32 @htons(i32 10086)
%36 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 1
store i32 %35, i32* %36
%37 = load i32, i32* @AF_INET
%38 = load i8*, i8** %8
%39 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 0
%40 = call i32 @inet_pton(i32 %37, i8* %38, i32* %39)
%41 = call i32 @connect(i32 %27, i8* %17, i32 12)
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %32
%44 = call i32 @perror(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%45 = call i32 @exit(i32 -1)
unreachable
46: ; preds = %32
%47 = bitcast i32* %5 to i8*
%48 = load i8*, i8** %12
%49 = call i32 @strlen(i8* %48)
store i32 %49, i32* %5
%50 = call i32 (i32, ...) @send(i32 %27, i32* %5, i64 4, i32 0)
%51 = load i8*, i8** %12
%52 = load i32, i32* %5
%53 = call i32 (i32, ...) @send(i32 %27, i8* %51, i32 %52, i32 0)
%54 = load i8*, i8** %12
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* %54)
br label %56
56: ; preds = %56, %46
%57 = phi i32 [ 0, %46 ], [ %61, %56 ]
%58 = call i32 @memset(i8* %16, i8 signext 0, i32 1024)
%59 = call i32 @read(i32 %19, i8* %16, i32 1024)
%60 = call i32 (i32, ...) @send(i32 %27, i8* %16, i32 %59, i32 0)
%61 = add nsw i32 %60, %57
%62 = icmp slt i32 %60, 1
br i1 %62, label %63, label %56
63: ; preds = %56
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i32 %61)
%65 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str, i64 0, i64 0))
%66 = call i32 @close(i32 %27)
%67 = call i32 @exit(i32 0)
unreachable
68: ; preds = %7, %11, %2
%69 = load i32, i32* @stdout
%70 = tail call i32 @fprintf(i32 %69, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
ret i32 -1
}