#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 */
struct timeval {
  int tv_usec;
  scalar_t__ tv_sec;
};
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;
};
struct hostent {
  int /*<<< orphan*/ h_length;
  scalar_t__ h_addr;
};
typedef int /*<<< orphan*/ serv_addr;
typedef int /*<<< orphan*/ fd_set;

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ FD_SET(int, int /*<<< orphan*/ *);
int /*<<< orphan*/ FD_SETSIZE;
int /*<<< orphan*/ FD_ZERO(int /*<<< orphan*/ *);
int /*<<< orphan*/ SOCK_STREAM;
int atoi(char *);
int /*<<< orphan*/ bcopy(char *, char *, int /*<<< orphan*/);
int /*<<< orphan*/ bzero(char *, int);
int /*<<< orphan*/ close(int);
scalar_t__ connect(int, struct sockaddr *, int);
int /*<<< orphan*/ error(char *);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
struct hostent *gethostbyname(char *);
int /*<<< orphan*/ htons(int);
int /*<<< orphan*/ printf(char *, char *);
int /*<<< orphan*/ read(int, char *, int);
int /*<<< orphan*/ select(int /*<<< orphan*/, int /*<<< orphan*/ *,
                          int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                          struct timeval *);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strlen(char *);
int /*<<< orphan*/ write(int, char *, int /*<<< orphan*/);
int main(int argc, char *argv[]) {
  fd_set rfds;
  int sockfd, portno, n;
  struct sockaddr_in serv_addr;
  struct hostent *server;
  struct timeval tv;
  char buffer[256];
  tv.tv_sec = 0;
  tv.tv_usec = 1;
  if (argc < 3) {
    fprintf(stderr, "usage %s hostname port\n", argv[0]);
    exit(0);
  }
  portno = atoi(argv[2]);
  sockfd = socket(AF_INET, SOCK_STREAM, 0);
  if (sockfd < 0)
    error("ERROR opening socket");
  FD_ZERO(&rfds);
  FD_SET(sockfd, &rfds);
  server = gethostbyname(argv[1]);
  if (server == NULL) {
    fprintf(stderr, "ERROR, no such host\n");
    exit(0);
  }
  bzero((char *)&serv_addr, sizeof(serv_addr));
  serv_addr.sin_family = AF_INET;
  bcopy((char *)server->h_addr, (char *)&serv_addr.sin_addr.s_addr,
        server->h_length);
  serv_addr.sin_port = htons(portno);
  if (connect(sockfd, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) < 0)
    error("ERROR connecting");
  while (1) {
    if (buffer[0] != 0) {
      write(sockfd, buffer, strlen(buffer));
    }
    select(FD_SETSIZE, &rfds, NULL, NULL, &tv);
    bzero(buffer, 256);
    read(sockfd, buffer, 255);
    if (n < 0)
      error("ERROR reading from socket");
    printf("%s/n", buffer);
    bzero(buffer, 256);
  }
  close(sockfd);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x160,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0x40(%rbp)
movl   $0x1,-0x48(%rbp)
cmpl   $0x3,-0x8(%rbp)
jge    1267 <main+0x57>
mov    0x2d8f(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xda7(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
xor    %edi,%edi
call   1100 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   10f0 <atoi@plt>
mov    %eax,-0x1c(%rbp)
mov    0x2d6a(%rip),%rax
mov    (%rax),%edi
mov    0x2d49(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1130 <socket@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0x0,-0x18(%rbp)
jge    12a9 <main+0x99>
lea    0xd74(%rip),%rdi
call   10d0 <error@plt>
lea    -0x14(%rbp),%rdi
call   10a0 <FD_ZERO@plt>
mov    -0x18(%rbp),%edi
lea    -0x14(%rbp),%rsi
call   1120 <FD_SET@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1080 <gethostbyname@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x0,-0x38(%rbp)
jne    12f8 <main+0xe8>
mov    0x2cf7(%rip),%rax
mov    (%rax),%edi
lea    0xd43(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
xor    %edi,%edi
call   1100 <exit@plt>
lea    -0x30(%rbp),%rdi
mov    $0xc,%esi
call   10e0 <bzero@plt>
mov    0x2cdb(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x28(%rbp)
mov    -0x38(%rbp),%rax
mov    0x8(%rax),%rdi
lea    -0x30(%rbp),%rsi
add    $0x4,%rsi
mov    -0x38(%rbp),%rax
mov    (%rax),%edx
call   10c0 <bcopy@plt>
mov    -0x1c(%rbp),%edi
call   1050 <htons@plt>
mov    %eax,-0x30(%rbp)
mov    -0x18(%rbp),%edi
lea    -0x30(%rbp),%rsi
mov    $0xc,%edx
call   1110 <connect@plt>
cmp    $0x0,%rax
jge    135f <main+0x14f>
lea    0xce8(%rip),%rdi
call   10d0 <error@plt>
jmp    1364 <main+0x154>
movsbl -0x150(%rbp),%eax
cmp    $0x0,%eax
je     13ab <main+0x19b>
mov    -0x18(%rbp),%eax
mov    %eax,-0x15c(%rbp)
lea    -0x150(%rbp),%rax
mov    %rax,-0x158(%rbp)
lea    -0x150(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x15c(%rbp),%edi
mov    -0x158(%rbp),%rsi
mov    %eax,%edx
call   1030 <write@plt>
mov    0x2c16(%rip),%rax
mov    (%rax),%edi
lea    -0x14(%rbp),%rsi
xor    %eax,%eax
mov    %eax,%ecx
lea    -0x48(%rbp),%r8
mov    %rcx,%rdx
call   10b0 <select@plt>
lea    -0x150(%rbp),%rdi
mov    $0x100,%esi
call   10e0 <bzero@plt>
mov    -0x18(%rbp),%edi
lea    -0x150(%rbp),%rsi
mov    $0xff,%edx
call   1070 <read@plt>
cmpl   $0x0,-0x20(%rbp)
jge    1403 <main+0x1f3>
lea    0xc55(%rip),%rdi
call   10d0 <error@plt>
lea    -0x150(%rbp),%rsi
lea    0xc5c(%rip),%rdi
call   1060 <printf@plt>
lea    -0x150(%rbp),%rdi
mov    $0x100,%esi
call   10e0 <bzero@plt>
jmp    1364 <main+0x154>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x138,%rsp
mov    %rsi,%r15
movq   $0x0,0x28(%rsp)
movl   $0x1,0x20(%rsp)
cmp    $0x2,%edi
jle    1386 <main+0x176>
mov    0x10(%r15),%rdi
call   10f0 <atoi@plt>
mov    %eax,%r14d
mov    0x2d97(%rip),%r12
mov    (%r12),%edi
mov    0x2d74(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1130 <socket@plt>
mov    %eax,%ebx
test   %eax,%eax
jns    1277 <main+0x67>
lea    0xda6(%rip),%rdi
call   10d0 <error@plt>
lea    0xc(%rsp),%rbp
mov    %rbp,%rdi
call   10a0 <FD_ZERO@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
call   1120 <FD_SET@plt>
mov    0x8(%r15),%rdi
call   1080 <gethostbyname@plt>
test   %rax,%rax
je     13a7 <main+0x197>
mov    %rax,%rbp
lea    0x10(%rsp),%r15
mov    %r15,%rdi
mov    $0xc,%esi
call   10e0 <bzero@plt>
mov    (%r12),%eax
mov    %eax,0x18(%rsp)
mov    0x8(%rbp),%rsi
lea    0x14(%rsp),%rdi
mov    0x0(%rbp),%edx
call   10c0 <memmove@plt>
mov    %r14d,%edi
call   1050 <htons@plt>
mov    %eax,0x10(%rsp)
mov    %ebx,%edi
mov    %r15,%rsi
mov    $0xc,%edx
call   1110 <connect@plt>
test   %rax,%rax
jns    12fa <main+0xea>
lea    0xd4d(%rip),%rdi
call   10d0 <error@plt>
mov    0x2cc7(%rip),%r13
lea    0xc(%rsp),%r14
lea    0x20(%rsp),%r15
lea    0x30(%rsp),%rbp
lea    0xd3c(%rip),%r12
jmp    136c <main+0x15c>
nopl   0x0(%rax)
mov    0x0(%r13),%edi
mov    %r14,%rsi
xor    %edx,%edx
xor    %ecx,%ecx
mov    %r15,%r8
call   10b0 <select@plt>
mov    %rbp,%rdi
mov    $0x100,%esi
call   10e0 <bzero@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0xff,%edx
call   1070 <read@plt>
mov    %r12,%rdi
mov    %rbp,%rsi
call   1060 <printf@plt>
mov    %rbp,%rdi
mov    $0x100,%esi
call   10e0 <bzero@plt>
movzbl 0x30(%rsp),%eax
test   %al,%al
je     1320 <main+0x110>
mov    %rbp,%rdi
call   1040 <strlen@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    %eax,%edx
call   1030 <write@plt>
jmp    1320 <main+0x110>
mov    0x2c4b(%rip),%rax
mov    (%rax),%edi
mov    (%r15),%rdx
lea    0xc67(%rip),%rsi
xor    %eax,%eax
call   1090 <fprintf@plt>
xor    %edi,%edi
call   1100 <exit@plt>
mov    0x2c2a(%rip),%rax
mov    (%rax),%edi
lea    0xc76(%rip),%rsi
xor    %eax,%eax
call   1090 <fprintf@plt>
xor    %edi,%edi
call   1100 <exit@plt>

LLVM IR (-O0):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i64 }
%struct.timeval = type { i32, i64 }
%struct.sockaddr = type { i32 }
@stderr = global i32 0
@.str = [24 x i8] c"usage %s hostname port\0A\00"
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.1 = [21 x i8] c"ERROR opening socket\00"
@.str.2 = [21 x i8] c"ERROR, no such host\0A\00"
@.str.3 = [17 x i8] c"ERROR connecting\00"
@FD_SETSIZE = global i32 0
@.str.4 = [26 x i8] c"ERROR reading from socket\00"
@.str.5 = [5 x i8] c"%s/n\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 %struct.sockaddr_in
%11 = alloca %struct.hostent*
%12 = alloca %struct.timeval
%13 = alloca [256 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%14 = getelementptr inbounds %struct.timeval, %struct.timeval* %12, i32 0, i32 1
store i64 0, i64* %14
%15 = getelementptr inbounds %struct.timeval, %struct.timeval* %12, i32 0, i32 0
store i32 1, i32* %15
%16 = load i32, i32* %4
%17 = icmp slt i32 %16, 3
br i1 %17, label %18, label %25
18: ; preds = %2
%19 = load i32, i32* @stderr
%20 = load i8**, i8*** %5
%21 = getelementptr inbounds i8*, i8** %20, i64 0
%22 = load i8*, i8** %21
%23 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i8* %22)
%24 = call i32 @exit(i32 0)
unreachable
25: ; preds = %2
%26 = load i8**, i8*** %5
%27 = getelementptr inbounds i8*, i8** %26, i64 2
%28 = load i8*, i8** %27
%29 = call i32 @atoi(i8* %28)
store i32 %29, i32* %8
%30 = load i32, i32* @AF_INET
%31 = load i32, i32* @SOCK_STREAM
%32 = call i32 @socket(i32 %30, i32 %31, i32 0)
store i32 %32, i32* %7
%33 = load i32, i32* %7
%34 = icmp slt i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %25
%36 = call i32 @error(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0))
br label %37
37: ; preds = %35, %25
%38 = call i32 @FD_ZERO(i32* %6)
%39 = load i32, i32* %7
%40 = call i32 @FD_SET(i32 %39, i32* %6)
%41 = load i8**, i8*** %5
%42 = getelementptr inbounds i8*, i8** %41, i64 1
%43 = load i8*, i8** %42
%44 = call %struct.hostent* @gethostbyname(i8* %43)
store %struct.hostent* %44, %struct.hostent** %11
%45 = load %struct.hostent*, %struct.hostent** %11
%46 = icmp eq %struct.hostent* %45, null
br i1 %46, label %47, label %51
47: ; preds = %37
%48 = load i32, i32* @stderr
%49 = call i32 (i32, i8*, ...) @fprintf(i32 %48, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%50 = call i32 @exit(i32 0)
unreachable
51: ; preds = %37
%52 = bitcast %struct.sockaddr_in* %10 to i8*
%53 = call i32 @bzero(i8* %52, i32 12)
%54 = load i32, i32* @AF_INET
%55 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %10, i32 0, i32 2
store i32 %54, i32* %55
%56 = load %struct.hostent*, %struct.hostent** %11
%57 = getelementptr inbounds %struct.hostent, %struct.hostent* %56, i32 0, i32 1
%58 = load i64, i64* %57
%59 = inttoptr i64 %58 to i8*
%60 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %10, i32 0, i32 1
%61 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %60, i32 0, i32 0
%62 = bitcast i32* %61 to i8*
%63 = load %struct.hostent*, %struct.hostent** %11
%64 = getelementptr inbounds %struct.hostent, %struct.hostent* %63, i32 0, i32 0
%65 = load i32, i32* %64
%66 = call i32 @bcopy(i8* %59, i8* %62, i32 %65)
%67 = load i32, i32* %8
%68 = call i32 @htons(i32 %67)
%69 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %10, i32 0, i32 0
store i32 %68, i32* %69
%70 = load i32, i32* %7
%71 = bitcast %struct.sockaddr_in* %10 to %struct.sockaddr*
%72 = call i64 @connect(i32 %70, %struct.sockaddr* %71, i32 12)
%73 = icmp slt i64 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %51
%75 = call i32 @error(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0))
br label %76
76: ; preds = %74, %51
br label %77
77: ; preds = %76, %100
%78 = getelementptr inbounds [256 x i8], [256 x i8]* %13, i64 0, i64 0
%79 = load i8, i8* %78
%80 = sext i8 %79 to i32
%81 = icmp ne i32 %80, 0
br i1 %81, label %82, label %88
82: ; preds = %77
%83 = load i32, i32* %7
%84 = getelementptr inbounds [256 x i8], [256 x i8]* %13, i64 0, i64 0
%85 = getelementptr inbounds [256 x i8], [256 x i8]* %13, i64 0, i64 0
%86 = call i32 @strlen(i8* %85)
%87 = call i32 @write(i32 %83, i8* %84, i32 %86)
br label %88
88: ; preds = %82, %77
%89 = load i32, i32* @FD_SETSIZE
%90 = call i32 @select(i32 %89, i32* %6, i32* null, i32* null, %struct.timeval* %12)
%91 = getelementptr inbounds [256 x i8], [256 x i8]* %13, i64 0, i64 0
%92 = call i32 @bzero(i8* %91, i32 256)
%93 = load i32, i32* %7
%94 = getelementptr inbounds [256 x i8], [256 x i8]* %13, i64 0, i64 0
%95 = call i32 @read(i32 %93, i8* %94, i32 255)
%96 = load i32, i32* %9
%97 = icmp slt i32 %96, 0
br i1 %97, label %98, label %100
98: ; preds = %88
%99 = call i32 @error(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0))
br label %100
100: ; preds = %98, %88
%101 = getelementptr inbounds [256 x i8], [256 x i8]* %13, i64 0, i64 0
%102 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* %101)
%103 = getelementptr inbounds [256 x i8], [256 x i8]* %13, i64 0, i64 0
%104 = call i32 @bzero(i8* %103, i32 256)
br label %77
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.timeval = type { i32, i64 }
%struct.hostent = type { i32, i64 }
%struct.sockaddr = type { i32 }
@stderr = global i32 0
@.str = [24 x i8] c"usage %s hostname port\0A\00"
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.1 = [21 x i8] c"ERROR opening socket\00"
@.str.2 = [21 x i8] c"ERROR, no such host\0A\00"
@.str.3 = [17 x i8] c"ERROR connecting\00"
@FD_SETSIZE = global i32 0
@.str.5 = [5 x i8] c"%s/n\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca i32
%4 = alloca %struct.sockaddr_in
%5 = alloca %struct.timeval
%6 = alloca [256 x i8]
%7 = bitcast i32* %3 to i8*
%8 = bitcast %struct.sockaddr_in* %4 to i8*
%9 = bitcast %struct.timeval* %5 to i8*
%10 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 0
%11 = getelementptr inbounds %struct.timeval, %struct.timeval* %5, i64 0, i32 1
store i64 0, i64* %11
%12 = getelementptr inbounds %struct.timeval, %struct.timeval* %5, i64 0, i32 0
store i32 1, i32* %12
%13 = icmp slt i32 %0, 3
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load i32, i32* @stderr
%16 = load i8*, i8** %1
%17 = tail call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i8* %16)
%18 = tail call i32 @exit(i32 0)
unreachable
19: ; preds = %2
%20 = getelementptr inbounds i8*, i8** %1, i64 2
%21 = load i8*, i8** %20
%22 = tail call i32 @atoi(i8* %21)
%23 = load i32, i32* @AF_INET
%24 = load i32, i32* @SOCK_STREAM
%25 = tail call i32 @socket(i32 %23, i32 %24, i32 0)
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %19
%28 = tail call i32 @error(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0))
br label %29
29: ; preds = %27, %19
%30 = call i32 @FD_ZERO(i32* %3)
%31 = call i32 @FD_SET(i32 %25, i32* %3)
%32 = getelementptr inbounds i8*, i8** %1, i64 1
%33 = load i8*, i8** %32
%34 = call %struct.hostent* @gethostbyname(i8* %33)
%35 = icmp eq %struct.hostent* %34, null
br i1 %35, label %36, label %40
36: ; preds = %29
%37 = load i32, i32* @stderr
%38 = call i32 (i32, i8*, ...) @fprintf(i32 %37, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%39 = call i32 @exit(i32 0)
unreachable
40: ; preds = %29
%41 = call i32 @bzero(i8* %8, i32 12)
%42 = load i32, i32* @AF_INET
%43 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 2
store i32 %42, i32* %43
%44 = getelementptr inbounds %struct.hostent, %struct.hostent* %34, i64 0, i32 1
%45 = load i64, i64* %44
%46 = inttoptr i64 %45 to i8*
%47 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 1, i32 0
%48 = bitcast i32* %47 to i8*
%49 = getelementptr inbounds %struct.hostent, %struct.hostent* %34, i64 0, i32 0
%50 = load i32, i32* %49
%51 = call i32 @htons(i32 %22)
%52 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 0
store i32 %51, i32* %52
%53 = bitcast %struct.sockaddr_in* %4 to %struct.sockaddr*
%54 = call i64 @connect(i32 %25, %struct.sockaddr* %53, i32 12)
%55 = icmp slt i64 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %40
%57 = call i32 @error(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0))
br label %58
58: ; preds = %56, %40
br label %59
59: ; preds = %58, %65
%60 = phi i8 [ %72, %65 ], [ undef, %58 ]
%61 = icmp eq i8 %60, 0
br i1 %61, label %65, label %62
62: ; preds = %59
%63 = call i32 @strlen(i8* %10)
%64 = call i32 @write(i32 %25, i8* %10, i32 %63)
br label %65
65: ; preds = %62, %59
%66 = load i32, i32* @FD_SETSIZE
%67 = call i32 @select(i32 %66, i32* %3, i32* null, i32* null, %struct.timeval* %5)
%68 = call i32 @bzero(i8* %10, i32 256)
%69 = call i32 @read(i32 %25, i8* %10, i32 255)
%70 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* %10)
%71 = call i32 @bzero(i8* %10, i32 256)
%72 = load i8, i8* %10
br label %59
}