#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_storage {
  int dummy;
};
struct sockaddr_in {
  int /*<<< orphan*/ sin_port;
  int /*<<< orphan*/ sin_addr;
};
struct sockaddr {
  int dummy;
};
struct pollfd {
  int fd;
  void *events;
};
typedef int /*<<< orphan*/ socks;
typedef int socklen_t;

/* Variables and functions */
void *POLLIN;
int accept(int, struct sockaddr *, int *);
int /*<<< orphan*/ close(int);
int connect_to_dest(char const *);
int /*<<< orphan*/ dbgprintf(int, char *, char const *);
int /*<<< orphan*/ errx(int, char *, char const *);
char *inet_ntoa(int /*<<< orphan*/);
int listen_at(char const *);
scalar_t__ ntohs(int /*<<< orphan*/);
int poll(struct pollfd *, int, int /*<<< orphan*/);
scalar_t__ poll_loop_body(int, int, struct pollfd *, char const **);
int /*<<< orphan*/ snprintf(char *, int, char *, char *, int);
int /*<<< orphan*/ warn(char *);
void tcprelay(const char *listen_addr, const char *dest_addr) {
  int listen_s, listen_con;
  struct sockaddr_storage listen_sa;
  socklen_t listen_sa_len = sizeof listen_sa;
  struct sockaddr_in *sin;
  int dest_con;
  struct pollfd socks[2];
  int rc;
  char accept_addr_and_port[sizeof "255.255.255.255:65535"] = "";
  const char *str_addrs[] = {accept_addr_and_port, dest_addr};
  if ((listen_s = listen_at(listen_addr)) == -1)
    errx(1, "listen_at %s", listen_addr);
  for (;;) {
    listen_con =
        accept(listen_s, (struct sockaddr *)&listen_sa, &listen_sa_len);
    if (listen_con == -1) {
      warn("accept");
      continue;
    }
    sin = (struct sockaddr_in *)&listen_sa;
    snprintf(accept_addr_and_port, sizeof accept_addr_and_port, "%s:%i",
             inet_ntoa(sin->sin_addr), (int)ntohs(sin->sin_port));
    dbgprintf(1, "# accepted connection from %s\n", str_addrs[0]);
    if ((dest_con = connect_to_dest(dest_addr)) == -1)
      errx(1, "connect_to_dest %s", dest_addr);
    dbgprintf(1, "# connected to %s\n", dest_addr);
    socks[0].fd = listen_con;
    socks[0].events = POLLIN;
    socks[1].fd = dest_con;
    socks[1].events = POLLIN;
    while ((rc = poll(socks, (sizeof(socks) / sizeof(socks[0])), 0)) != -1) {
      if (poll_loop_body(0, 2, socks, str_addrs))
        break;
      if (poll_loop_body(1, 2, socks, str_addrs))
        break;
    }
    if (rc == -1)
      warn("poll");
    close(listen_con);
    close(dest_con);
  }
}


x86 assembly (clang, -O0):
<tcprelay>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x4,-0x24(%rbp)
lea    -0x80(%rbp),%rdi
xor    %esi,%esi
mov    $0x16,%edx
call   1080 <memset@plt>
lea    -0x80(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x88(%rbp)
mov    -0x8(%rbp),%rdi
call   10a0 <listen_at@plt>
mov    %eax,-0x14(%rbp)
cmp    $0xffffffff,%eax
jne    123a <tcprelay+0x6a>
mov    -0x8(%rbp),%rdx
mov    $0x1,%edi
lea    0xdcb(%rip),%rsi
call   1050 <errx@plt>
jmp    123f <tcprelay+0x6f>
mov    -0x14(%rbp),%edi
lea    -0x20(%rbp),%rsi
lea    -0x24(%rbp),%rdx
call   10f0 <accept@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0xffffffff,-0x18(%rbp)
jne    126d <tcprelay+0x9d>
lea    0xdaa(%rip),%rdi
call   1030 <warn@plt>
jmp    123f <tcprelay+0x6f>
lea    -0x20(%rbp),%rax
mov    %rax,-0x30(%rbp)
lea    -0x80(%rbp),%rax
mov    %rax,-0xa0(%rbp)
mov    -0x30(%rbp),%rax
mov    0x4(%rax),%edi
call   1040 <inet_ntoa@plt>
mov    %rax,-0x98(%rbp)
mov    -0x30(%rbp),%rax
mov    (%rax),%edi
call   10d0 <ntohs@plt>
mov    -0xa0(%rbp),%rdi
mov    -0x98(%rbp),%rcx
mov    %eax,%r8d
mov    $0x16,%esi
lea    0xd59(%rip),%rdx
call   1060 <snprintf@plt>
mov    -0x90(%rbp),%rdx
mov    $0x1,%edi
lea    0xd47(%rip),%rsi
call   10c0 <dbgprintf@plt>
mov    -0x10(%rbp),%rdi
call   10b0 <connect_to_dest@plt>
mov    %eax,-0x34(%rbp)
cmp    $0xffffffff,%eax
jne    1302 <tcprelay+0x132>
mov    -0x10(%rbp),%rdx
mov    $0x1,%edi
lea    0xd3c(%rip),%rsi
call   1050 <errx@plt>
mov    -0x10(%rbp),%rdx
mov    $0x1,%edi
lea    0xd3a(%rip),%rsi
call   10c0 <dbgprintf@plt>
mov    -0x18(%rbp),%eax
mov    %eax,-0x60(%rbp)
mov    0x2cc4(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x58(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    0x2cb0(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x48(%rbp)
lea    -0x60(%rbp),%rdi
mov    $0x2,%esi
xor    %edx,%edx
call   10e0 <poll@plt>
mov    %eax,-0x64(%rbp)
cmp    $0xffffffff,%eax
je     13af <tcprelay+0x1df>
lea    -0x60(%rbp),%rdx
lea    -0x90(%rbp),%rcx
xor    %edi,%edi
mov    $0x2,%esi
call   1070 <poll_loop_body@plt>
cmp    $0x0,%rax
je     1381 <tcprelay+0x1b1>
jmp    13af <tcprelay+0x1df>
lea    -0x60(%rbp),%rdx
lea    -0x90(%rbp),%rcx
mov    $0x1,%edi
mov    $0x2,%esi
call   1070 <poll_loop_body@plt>
cmp    $0x0,%rax
je     13aa <tcprelay+0x1da>
jmp    13af <tcprelay+0x1df>
jmp    133f <tcprelay+0x16f>
cmpl   $0xffffffff,-0x64(%rbp)
jne    13c5 <tcprelay+0x1f5>
lea    0xc9f(%rip),%rdi
call   1030 <warn@plt>
mov    -0x18(%rbp),%edi
call   1090 <close@plt>
mov    -0x34(%rbp),%edi
call   1090 <close@plt>
jmp    123f <tcprelay+0x6f>

x86 assembly (clang, -O2):
<tcprelay>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
mov    %rsi,%rbx
mov    %rdi,%r14
movl   $0x4,0xc(%rsp)
xorps  %xmm0,%xmm0
movaps %xmm0,0x20(%rsp)
movq   $0x0,0x2e(%rsp)
lea    0x20(%rsp),%rax
mov    %rax,0x10(%rsp)
mov    %rsi,0x18(%rsp)
call   1090 <listen_at@plt>
mov    %eax,0x8(%rsp)
cmp    $0xffffffff,%eax
jne    121e <tcprelay+0x5e>
lea    0xdef(%rip),%rsi
mov    $0x1,%edi
mov    %r14,%rdx
call   1050 <errx@plt>
lea    0x40(%rsp),%r13
lea    0x10(%rsp),%r12
jmp    124c <tcprelay+0x8c>
nopw   0x0(%rax,%rax,1)
lea    0xe28(%rip),%rdi
call   1030 <warn@plt>
mov    %r14d,%edi
call   1080 <close@plt>
mov    %r15d,%edi
call   1080 <close@plt>
mov    0x8(%rsp),%edi
mov    %rsp,%rsi
lea    0xc(%rsp),%rdx
call   10e0 <accept@plt>
cmp    $0xffffffff,%eax
je     1370 <tcprelay+0x1b0>
mov    %eax,%r14d
mov    0x4(%rsp),%edi
call   1040 <inet_ntoa@plt>
mov    %rax,%rbp
mov    (%rsp),%edi
call   10c0 <ntohs@plt>
lea    0x20(%rsp),%rdi
mov    $0x16,%esi
lea    0xd86(%rip),%rdx
mov    %rbp,%rcx
mov    %eax,%r8d
call   1060 <snprintf@plt>
mov    0x10(%rsp),%rdx
mov    $0x1,%edi
lea    0xd70(%rip),%rsi
call   10b0 <dbgprintf@plt>
mov    %rbx,%rdi
call   10a0 <connect_to_dest@plt>
mov    %eax,%r15d
cmp    $0xffffffff,%eax
jne    12d3 <tcprelay+0x113>
mov    $0x1,%edi
lea    0xd6e(%rip),%rsi
mov    %rbx,%rdx
call   1050 <errx@plt>
mov    $0x1,%edi
lea    0xd6d(%rip),%rsi
mov    %rbx,%rdx
call   10b0 <dbgprintf@plt>
mov    %r14d,0x40(%rsp)
mov    0x2cf5(%rip),%rax
mov    (%rax),%rax
mov    %rax,0x48(%rsp)
mov    %r15d,0x50(%rsp)
mov    %rax,0x58(%rsp)
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r13,%rdi
mov    $0x2,%esi
xor    %edx,%edx
call   10d0 <poll@plt>
cmp    $0xffffffff,%eax
je     1230 <tcprelay+0x70>
xor    %edi,%edi
mov    $0x2,%esi
mov    %r13,%rdx
mov    %r12,%rcx
call   1070 <poll_loop_body@plt>
test   %rax,%rax
jne    123c <tcprelay+0x7c>
mov    $0x1,%edi
mov    $0x2,%esi
mov    %r13,%rdx
mov    %r12,%rcx
call   1070 <poll_loop_body@plt>
test   %rax,%rax
je     1310 <tcprelay+0x150>
jmp    123c <tcprelay+0x7c>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    0xc96(%rip),%rdi
call   1030 <warn@plt>
jmp    124c <tcprelay+0x8c>

LLVM IR (-O0):
%struct.sockaddr_storage = type { i32 }
%struct.sockaddr_in = type { i32, i32 }
%struct.pollfd = type { i32, i8* }
%struct.sockaddr = type { i32 }
@.str = [13 x i8] c"listen_at %s\00"
@.str.1 = [7 x i8] c"accept\00"
@.str.2 = [6 x i8] c"%s:%i\00"
@.str.3 = [31 x i8] c"# accepted connection from %s\0A\00"
@.str.4 = [19 x i8] c"connect_to_dest %s\00"
@.str.5 = [19 x i8] c"# connected to %s\0A\00"
@POLLIN = global i8* null
@.str.6 = [5 x i8] c"poll\00"
define void @tcprelay(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
%7 = alloca %struct.sockaddr_storage
%8 = alloca i32
%9 = alloca %struct.sockaddr_in*
%10 = alloca i32
%11 = alloca [2 x %struct.pollfd]
%12 = alloca i32
%13 = alloca [22 x i8]
%14 = alloca [2 x i8*]
store i8* %0, i8** %3
store i8* %1, i8** %4
store i32 4, i32* %8
%15 = bitcast [22 x i8]* %13 to i8*
%16 = getelementptr inbounds [2 x i8*], [2 x i8*]* %14, i64 0, i64 0
%17 = getelementptr inbounds [22 x i8], [22 x i8]* %13, i64 0, i64 0
store i8* %17, i8** %16
%18 = getelementptr inbounds i8*, i8** %16, i64 1
%19 = load i8*, i8** %4
store i8* %19, i8** %18
%20 = load i8*, i8** %3
%21 = call i32 @listen_at(i8* %20)
store i32 %21, i32* %5
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %26
23: ; preds = %2
%24 = load i8*, i8** %3
%25 = call i32 @errx(i32 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* %24)
br label %26
26: ; preds = %23, %2
br label %27
27: ; preds = %94, %33, %26
%28 = load i32, i32* %5
%29 = bitcast %struct.sockaddr_storage* %7 to %struct.sockaddr*
%30 = call i32 @accept(i32 %28, %struct.sockaddr* %29, i32* %8)
store i32 %30, i32* %6
%31 = load i32, i32* %6
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %35
33: ; preds = %27
%34 = call i32 @warn(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
br label %27
35: ; preds = %27
%36 = bitcast %struct.sockaddr_storage* %7 to %struct.sockaddr_in*
store %struct.sockaddr_in* %36, %struct.sockaddr_in** %9
%37 = getelementptr inbounds [22 x i8], [22 x i8]* %13, i64 0, i64 0
%38 = load %struct.sockaddr_in*, %struct.sockaddr_in** %9
%39 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %38, i32 0, i32 1
%40 = load i32, i32* %39
%41 = call i8* @inet_ntoa(i32 %40)
%42 = load %struct.sockaddr_in*, %struct.sockaddr_in** %9
%43 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %42, i32 0, i32 0
%44 = load i32, i32* %43
%45 = call i64 @ntohs(i32 %44)
%46 = trunc i64 %45 to i32
%47 = call i32 @snprintf(i8* %37, i32 22, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %41, i32 %46)
%48 = getelementptr inbounds [2 x i8*], [2 x i8*]* %14, i64 0, i64 0
%49 = load i8*, i8** %48
%50 = call i32 @dbgprintf(i32 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i8* %49)
%51 = load i8*, i8** %4
%52 = call i32 @connect_to_dest(i8* %51)
store i32 %52, i32* %10
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %57
54: ; preds = %35
%55 = load i8*, i8** %4
%56 = call i32 @errx(i32 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i8* %55)
br label %57
57: ; preds = %54, %35
%58 = load i8*, i8** %4
%59 = call i32 @dbgprintf(i32 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), i8* %58)
%60 = load i32, i32* %6
%61 = getelementptr inbounds [2 x %struct.pollfd], [2 x %struct.pollfd]* %11, i64 0, i64 0
%62 = getelementptr inbounds %struct.pollfd, %struct.pollfd* %61, i32 0, i32 0
store i32 %60, i32* %62
%63 = load i8*, i8** @POLLIN
%64 = getelementptr inbounds [2 x %struct.pollfd], [2 x %struct.pollfd]* %11, i64 0, i64 0
%65 = getelementptr inbounds %struct.pollfd, %struct.pollfd* %64, i32 0, i32 1
store i8* %63, i8** %65
%66 = load i32, i32* %10
%67 = getelementptr inbounds [2 x %struct.pollfd], [2 x %struct.pollfd]* %11, i64 0, i64 1
%68 = getelementptr inbounds %struct.pollfd, %struct.pollfd* %67, i32 0, i32 0
store i32 %66, i32* %68
%69 = load i8*, i8** @POLLIN
%70 = getelementptr inbounds [2 x %struct.pollfd], [2 x %struct.pollfd]* %11, i64 0, i64 1
%71 = getelementptr inbounds %struct.pollfd, %struct.pollfd* %70, i32 0, i32 1
store i8* %69, i8** %71
br label %72
72: ; preds = %88, %57
%73 = getelementptr inbounds [2 x %struct.pollfd], [2 x %struct.pollfd]* %11, i64 0, i64 0
%74 = call i32 @poll(%struct.pollfd* %73, i32 2, i32 0)
store i32 %74, i32* %12
%75 = icmp ne i32 %74, -1
br i1 %75, label %76, label %89
76: ; preds = %72
%77 = getelementptr inbounds [2 x %struct.pollfd], [2 x %struct.pollfd]* %11, i64 0, i64 0
%78 = getelementptr inbounds [2 x i8*], [2 x i8*]* %14, i64 0, i64 0
%79 = call i64 @poll_loop_body(i32 0, i32 2, %struct.pollfd* %77, i8** %78)
%80 = icmp ne i64 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %76
br label %89
82: ; preds = %76
%83 = getelementptr inbounds [2 x %struct.pollfd], [2 x %struct.pollfd]* %11, i64 0, i64 0
%84 = getelementptr inbounds [2 x i8*], [2 x i8*]* %14, i64 0, i64 0
%85 = call i64 @poll_loop_body(i32 1, i32 2, %struct.pollfd* %83, i8** %84)
%86 = icmp ne i64 %85, 0
br i1 %86, label %87, label %88
87: ; preds = %82
br label %89
88: ; preds = %82
br label %72
89: ; preds = %87, %81, %72
%90 = load i32, i32* %12
%91 = icmp eq i32 %90, -1
br i1 %91, label %92, label %94
92: ; preds = %89
%93 = call i32 @warn(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
br label %94
94: ; preds = %92, %89
%95 = load i32, i32* %6
%96 = call i32 @close(i32 %95)
%97 = load i32, i32* %10
%98 = call i32 @close(i32 %97)
br label %27
}

LLVM IR (-O2):
%struct.sockaddr_storage = type { i32 }
%struct.pollfd = type { i32, i8* }
%struct.sockaddr = type { i32 }
@.str = [13 x i8] c"listen_at %s\00"
@.str.1 = [7 x i8] c"accept\00"
@.str.2 = [6 x i8] c"%s:%i\00"
@.str.3 = [31 x i8] c"# accepted connection from %s\0A\00"
@.str.4 = [19 x i8] c"connect_to_dest %s\00"
@.str.5 = [19 x i8] c"# connected to %s\0A\00"
@POLLIN = global i8* null
@.str.6 = [5 x i8] c"poll\00"
define void @tcprelay(i8* %0, i8* %1) {
%3 = alloca %struct.sockaddr_storage
%4 = alloca i32
%5 = alloca [2 x %struct.pollfd]
%6 = alloca [22 x i8]
%7 = alloca [2 x i8*]
%8 = bitcast %struct.sockaddr_storage* %3 to i8*
%9 = bitcast i32* %4 to i8*
store i32 4, i32* %4
%10 = bitcast [2 x %struct.pollfd]* %5 to i8*
%11 = getelementptr inbounds [22 x i8], [22 x i8]* %6, i64 0, i64 0
%12 = bitcast [2 x i8*]* %7 to i8*
%13 = getelementptr inbounds [2 x i8*], [2 x i8*]* %7, i64 0, i64 0
store i8* %11, i8** %13
%14 = getelementptr inbounds [2 x i8*], [2 x i8*]* %7, i64 0, i64 1
store i8* %1, i8** %14
%15 = call i32 @listen_at(i8* %0)
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 @errx(i32 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* %0)
br label %19
19: ; preds = %17, %2
%20 = bitcast %struct.sockaddr_storage* %3 to %struct.sockaddr*
%21 = getelementptr inbounds %struct.sockaddr_storage, %struct.sockaddr_storage* %3, i64 1, i32 0
%22 = getelementptr inbounds %struct.sockaddr_storage, %struct.sockaddr_storage* %3, i64 0, i32 0
%23 = getelementptr inbounds [2 x %struct.pollfd], [2 x %struct.pollfd]* %5, i64 0, i64 0
%24 = getelementptr inbounds [2 x %struct.pollfd], [2 x %struct.pollfd]* %5, i64 0, i64 0, i32 0
%25 = getelementptr inbounds [2 x %struct.pollfd], [2 x %struct.pollfd]* %5, i64 0, i64 0, i32 1
%26 = getelementptr inbounds [2 x %struct.pollfd], [2 x %struct.pollfd]* %5, i64 0, i64 1, i32 0
%27 = getelementptr inbounds [2 x %struct.pollfd], [2 x %struct.pollfd]* %5, i64 0, i64 1, i32 1
br label %28
28: ; preds = %33, %19
%29 = call i32 @accept(i32 %15, %struct.sockaddr* %20, i32* %4)
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %34
31: ; preds = %28
%32 = call i32 @warn(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
br label %33
33: ; preds = %31, %61
br label %28
34: ; preds = %28
%35 = load i32, i32* %21
%36 = call i8* @inet_ntoa(i32 %35)
%37 = load i32, i32* %22
%38 = call i64 @ntohs(i32 %37)
%39 = trunc i64 %38 to i32
%40 = call i32 @snprintf(i8* %11, i32 22, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %36, i32 %39)
%41 = load i8*, i8** %13
%42 = call i32 @dbgprintf(i32 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i8* %41)
%43 = call i32 @connect_to_dest(i8* %1)
%44 = icmp eq i32 %43, -1
br i1 %44, label %45, label %47
45: ; preds = %34
%46 = call i32 @errx(i32 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i8* %1)
br label %47
47: ; preds = %45, %34
%48 = call i32 @dbgprintf(i32 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), i8* %1)
store i32 %29, i32* %24
%49 = load i8*, i8** @POLLIN
store i8* %49, i8** %25
store i32 %43, i32* %26
store i8* %49, i8** %27
br label %50
50: ; preds = %56, %47
%51 = call i32 @poll(%struct.pollfd* %23, i32 2, i32 0)
%52 = icmp eq i32 %51, -1
br i1 %52, label %59, label %53
53: ; preds = %50
%54 = call i64 @poll_loop_body(i32 0, i32 2, %struct.pollfd* %23, i8** %13)
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %61
56: ; preds = %53
%57 = call i64 @poll_loop_body(i32 1, i32 2, %struct.pollfd* %23, i8** %13)
%58 = icmp eq i64 %57, 0
br i1 %58, label %50, label %61
59: ; preds = %50
%60 = call i32 @warn(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
br label %61
61: ; preds = %53, %56, %59
%62 = call i32 @close(i32 %29)
%63 = call i32 @close(i32 %43)
br label %33
}