#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 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 in_addr {
  int /*<<< orphan*/ s_addr;
};
typedef int /*<<< orphan*/ buffer;

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ SOCK_STREAM;
int /*<<< orphan*/ close(int);
int connect(int, struct sockaddr *, int);
int /*<<< orphan*/ errno;
int /*<<< orphan*/ htons(int);
int inet_pton(int /*<<< orphan*/, char *, struct in_addr *);
int /*<<< orphan*/ memset(struct sockaddr_in *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int recv(int, char *, int, int /*<<< orphan*/);
int send(int, char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ sleep(int);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
char *strerror(int /*<<< orphan*/);
int main(int argc, char *argv[]) {
  int ret;
  int fd;
  struct sockaddr_in server_addr;
  if (argc < 2) {
    printf("args too short\n");
    return -1;
  }
  while (true) {
    fd = socket(AF_INET, SOCK_STREAM, 0);
    if (fd < 0) {
      printf("create socket error, errno is %s\n", strerror(errno));
      return -1;
    }
    struct in_addr temp;
    ret = inet_pton(AF_INET, argv[1], &temp);
    if (ret != 1) {
      printf("inet_pton error\n");
      return -1;
    }
    memset(&server_addr, 0, sizeof(struct sockaddr_in));
    server_addr.sin_family = AF_INET;
    server_addr.sin_addr.s_addr = temp.s_addr;
    server_addr.sin_port = htons(5555);
    ret = connect(fd, (struct sockaddr *)&server_addr,
                  sizeof(struct sockaddr_in));
    if (ret < 0) {
      printf("connect error, errno is %s\n", strerror(errno));
      return -1;
    }
    char buffer[] = "get date time";
    ret = send(fd, buffer, sizeof(buffer), 0);
    if (ret < 0) {
      printf("send error, errno is %s\n", strerror(errno));
      return -1;
    }
    char recv_buffer[256] = {0};
    ret = recv(fd, recv_buffer, 256, 0);
    if (ret < 0) {
      printf("recv error, errno is %s\n", strerror(errno));
      return -1;
    }
    printf("recv %s\n", recv_buffer);
    close(fd);
    sleep(10);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x140,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    11ed <main+0x3d>
lea    0xe26(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13f3 <main+0x243>
jmp    11f2 <main+0x42>
mov    0x2def(%rip),%rax
mov    (%rax),%edi
mov    0x2dd6(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10d0 <socket@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0x0,-0x18(%rbp)
jge    1243 <main+0x93>
mov    0x2db1(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
mov    %rax,%rsi
lea    0xde0(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13f3 <main+0x243>
mov    0x2d9e(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    -0x30(%rbp),%rdx
call   1090 <inet_pton@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x1,-0x14(%rbp)
je     1284 <main+0xd4>
lea    0xdc1(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13f3 <main+0x243>
lea    -0x28(%rbp),%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   1070 <memset@plt>
mov    0x2d4d(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x20(%rbp)
mov    -0x30(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    $0x15b3,%edi
call   1040 <htons@plt>
mov    %eax,-0x28(%rbp)
mov    -0x18(%rbp),%edi
lea    -0x28(%rbp),%rsi
mov    $0xc,%edx
call   10a0 <connect@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jge    12fc <main+0x14c>
mov    0x2cf8(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
mov    %rax,%rsi
lea    0xd5a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13f3 <main+0x243>
mov    0xd5c(%rip),%rax
mov    %rax,-0x3e(%rbp)
mov    0xd5a(%rip),%eax
mov    %eax,-0x36(%rbp)
mov    0xd54(%rip),%ax
mov    %ax,-0x32(%rbp)
mov    -0x18(%rbp),%edi
lea    -0x3e(%rbp),%rsi
mov    $0xe,%edx
xor    %ecx,%ecx
call   1050 <send@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jge    1366 <main+0x1b6>
mov    0x2c8e(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
mov    %rax,%rsi
lea    0xd1a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13f3 <main+0x243>
lea    -0x140(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1070 <memset@plt>
mov    -0x18(%rbp),%edi
lea    -0x140(%rbp),%rsi
mov    $0x100,%edx
xor    %ecx,%ecx
call   1030 <recv@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jge    13c7 <main+0x217>
mov    0x2c2d(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
mov    %rax,%rsi
lea    0xcd2(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13f3 <main+0x243>
lea    -0x140(%rbp),%rsi
lea    0xcca(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x18(%rbp),%edi
call   1080 <close@plt>
mov    $0xa,%edi
call   10c0 <sleep@plt>
jmp    11f2 <main+0x42>
mov    -0x4(%rbp),%eax
add    $0x140,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x138,%rsp
cmp    $0x2,%edi
jge    11e7 <main+0x27>
lea    0xeba(%rip),%rdi
call   1040 <puts@plt>
jmp    13ef <main+0x22f>
mov    %rsi,%rbx
mov    0x2df7(%rip),%r12
mov    (%r12),%edi
mov    0x2ddc(%rip),%r14
mov    (%r14),%esi
xor    %edx,%edx
call   10e0 <socket@plt>
test   %eax,%eax
js     137f <main+0x1bf>
mov    %eax,%ebp
lea    0x10(%rsp),%r15
lea    0x30(%rsp),%r13
nopw   0x0(%rax,%rax,1)
mov    (%r12),%edi
mov    0x8(%rbx),%rsi
lea    0x8(%rsp),%rdx
call   10a0 <inet_pton@plt>
cmp    $0x1,%eax
jne    1396 <main+0x1d6>
mov    %r15,%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   1080 <memset@plt>
mov    (%r12),%eax
mov    %eax,0x18(%rsp)
mov    0x8(%rsp),%eax
mov    %eax,0x14(%rsp)
mov    $0x15b3,%edi
call   1050 <htons@plt>
mov    %eax,0x10(%rsp)
mov    %ebp,%edi
mov    %r15,%rsi
mov    $0xc,%edx
call   10b0 <connect@plt>
test   %eax,%eax
js     13a2 <main+0x1e2>
movabs $0x656d6974206574,%rax
mov    %rax,0x26(%rsp)
movabs $0x6574616420746567,%rax
61 74 65
mov    %rax,0x20(%rsp)
mov    %ebp,%edi
lea    0x20(%rsp),%rsi
mov    $0xe,%edx
xor    %ecx,%ecx
call   1060 <send@plt>
test   %eax,%eax
js     13b9 <main+0x1f9>
xorps  %xmm0,%xmm0
movaps %xmm0,0x120(%rsp)
movaps %xmm0,0x110(%rsp)
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
mov    %ebp,%edi
mov    %r13,%rsi
mov    $0x100,%edx
xor    %ecx,%ecx
call   1030 <recv@plt>
test   %eax,%eax
js     13d0 <main+0x210>
lea    0xd32(%rip),%rdi
mov    %r13,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %ebp,%edi
call   1090 <close@plt>
mov    $0xa,%edi
call   10d0 <sleep@plt>
mov    (%r12),%edi
mov    (%r14),%esi
xor    %edx,%edx
call   10e0 <socket@plt>
mov    %eax,%ebp
test   %eax,%eax
jns    1220 <main+0x60>
mov    0x2c4a(%rip),%rax
mov    (%rax),%edi
call   10c0 <strerror@plt>
lea    0xc6c(%rip),%rdi
jmp    13e5 <main+0x225>
lea    0xcea(%rip),%rdi
jmp    11dd <main+0x1d>
mov    0x2c27(%rip),%rax
mov    (%rax),%edi
call   10c0 <strerror@plt>
lea    0xc6b(%rip),%rdi
jmp    13e5 <main+0x225>
mov    0x2c10(%rip),%rax
mov    (%rax),%edi
call   10c0 <strerror@plt>
lea    0xc7e(%rip),%rdi
jmp    13e5 <main+0x225>
mov    0x2bf9(%rip),%rax
mov    (%rax),%edi
call   10c0 <strerror@plt>
lea    0xc80(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0xffffffff,%eax
add    $0x138,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.in_addr = type { i32 }
%struct.sockaddr = type { i32 }
@.str = [16 x i8] c"args too short\0A\00"
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.1 = [34 x i8] c"create socket error, errno is %s\0A\00"
@errno = global i32 0
@.str.2 = [17 x i8] c"inet_pton error\0A\00"
@.str.3 = [28 x i8] c"connect error, errno is %s\0A\00"
@__const.main.buffer = [14 x i8] c"get date time\00"
@.str.4 = [25 x i8] c"send error, errno is %s\0A\00"
@.str.5 = [25 x i8] c"recv error, errno is %s\0A\00"
@.str.6 = [9 x i8] c"recv %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 %struct.in_addr
%10 = alloca [14 x i8]
%11 = alloca [256 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%12 = load i32, i32* %4
%13 = icmp slt i32 %12, 2
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0))
store i32 -1, i32* %3
br label %84
16: ; preds = %2
br label %17
17: ; preds = %16, %78
%18 = load i32, i32* @AF_INET
%19 = load i32, i32* @SOCK_STREAM
%20 = call i32 @socket(i32 %18, i32 %19, i32 0)
store i32 %20, i32* %7
%21 = load i32, i32* %7
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %17
%24 = load i32, i32* @errno
%25 = call i8* @strerror(i32 %24)
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* %25)
store i32 -1, i32* %3
br label %84
27: ; preds = %17
%28 = load i32, i32* @AF_INET
%29 = load i8**, i8*** %5
%30 = getelementptr inbounds i8*, i8** %29, i64 1
%31 = load i8*, i8** %30
%32 = call i32 @inet_pton(i32 %28, i8* %31, %struct.in_addr* %9)
store i32 %32, i32* %6
%33 = load i32, i32* %6
%34 = icmp ne i32 %33, 1
br i1 %34, label %35, label %37
35: ; preds = %27
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
store i32 -1, i32* %3
br label %84
37: ; preds = %27
%38 = call i32 @memset(%struct.sockaddr_in* %8, i32 0, i32 12)
%39 = load i32, i32* @AF_INET
%40 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %8, i32 0, i32 2
store i32 %39, i32* %40
%41 = getelementptr inbounds %struct.in_addr, %struct.in_addr* %9, i32 0, i32 0
%42 = load i32, i32* %41
%43 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %8, i32 0, i32 1
%44 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %43, i32 0, i32 0
store i32 %42, i32* %44
%45 = call i32 @htons(i32 5555)
%46 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %8, i32 0, i32 0
store i32 %45, i32* %46
%47 = load i32, i32* %7
%48 = bitcast %struct.sockaddr_in* %8 to %struct.sockaddr*
%49 = call i32 @connect(i32 %47, %struct.sockaddr* %48, i32 12)
store i32 %49, i32* %6
%50 = load i32, i32* %6
%51 = icmp slt i32 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %37
%53 = load i32, i32* @errno
%54 = call i8* @strerror(i32 %53)
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0), i8* %54)
store i32 -1, i32* %3
br label %84
56: ; preds = %37
%57 = bitcast [14 x i8]* %10 to i8*
%58 = load i32, i32* %7
%59 = getelementptr inbounds [14 x i8], [14 x i8]* %10, i64 0, i64 0
%60 = call i32 @send(i32 %58, i8* %59, i32 14, i32 0)
store i32 %60, i32* %6
%61 = load i32, i32* %6
%62 = icmp slt i32 %61, 0
br i1 %62, label %63, label %67
63: ; preds = %56
%64 = load i32, i32* @errno
%65 = call i8* @strerror(i32 %64)
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0), i8* %65)
store i32 -1, i32* %3
br label %84
67: ; preds = %56
%68 = bitcast [256 x i8]* %11 to i8*
%69 = load i32, i32* %7
%70 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%71 = call i32 @recv(i32 %69, i8* %70, i32 256, i32 0)
store i32 %71, i32* %6
%72 = load i32, i32* %6
%73 = icmp slt i32 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %67
%75 = load i32, i32* @errno
%76 = call i8* @strerror(i32 %75)
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i8* %76)
store i32 -1, i32* %3
br label %84
78: ; preds = %67
%79 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* %79)
%81 = load i32, i32* %7
%82 = call i32 @close(i32 %81)
%83 = call i32 @sleep(i32 10)
br label %17
84: ; preds = %74, %63, %52, %35, %23, %14
%85 = load i32, i32* %3
ret i32 %85
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.in_addr = type { i32 }
%struct.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.1 = [34 x i8] c"create socket error, errno is %s\0A\00"
@errno = global i32 0
@.str.3 = [28 x i8] c"connect error, errno is %s\0A\00"
@__const.main.buffer = [14 x i8] c"get date time\00"
@.str.4 = [25 x i8] c"send error, errno is %s\0A\00"
@.str.5 = [25 x i8] c"recv error, errno is %s\0A\00"
@.str.6 = [9 x i8] c"recv %s\0A\00"
@str = [16 x i8] c"inet_pton error\00"
@str.7 = [15 x i8] c"args too short\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.sockaddr_in
%4 = alloca %struct.in_addr
%5 = alloca [14 x i8]
%6 = alloca [256 x i8]
%7 = bitcast %struct.sockaddr_in* %3 to i8*
%8 = icmp slt i32 %0, 2
br i1 %8, label %24, label %9
9: ; preds = %2
%10 = load i32, i32* @AF_INET
%11 = load i32, i32* @SOCK_STREAM
%12 = call i32 @socket(i32 %10, i32 %11, i32 0)
%13 = icmp slt i32 %12, 0
br i1 %13, label %26, label %14
14: ; preds = %9
%15 = bitcast %struct.in_addr* %4 to i8*
%16 = getelementptr inbounds i8*, i8** %1, i64 1
%17 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 2
%18 = getelementptr inbounds %struct.in_addr, %struct.in_addr* %4, i64 0, i32 0
%19 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 1, i32 0
%20 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i64 0, i32 0
%21 = bitcast %struct.sockaddr_in* %3 to %struct.sockaddr*
%22 = getelementptr inbounds [14 x i8], [14 x i8]* %5, i64 0, i64 0
%23 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 0
br label %30
24: ; preds = %2
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.7, i64 0, i64 0))
br label %72
26: ; preds = %64, %9
%27 = load i32, i32* @errno
%28 = call i8* @strerror(i32 %27)
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* %28)
br label %72
30: ; preds = %14, %64
%31 = phi i32 [ %12, %14 ], [ %70, %64 ]
%32 = load i32, i32* @AF_INET
%33 = load i8*, i8** %16
%34 = call i32 @inet_pton(i32 %32, i8* %33, %struct.in_addr* %4)
%35 = icmp eq i32 %34, 1
br i1 %35, label %38, label %36
36: ; preds = %30
%37 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str, i64 0, i64 0))
br label %63
38: ; preds = %30
%39 = call i32 @memset(%struct.sockaddr_in* %3, i32 0, i32 12)
%40 = load i32, i32* @AF_INET
store i32 %40, i32* %17
%41 = load i32, i32* %18
store i32 %41, i32* %19
%42 = call i32 @htons(i32 5555)
store i32 %42, i32* %20
%43 = call i32 @connect(i32 %31, %struct.sockaddr* %21, i32 12)
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %38
%46 = load i32, i32* @errno
%47 = call i8* @strerror(i32 %46)
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0), i8* %47)
br label %63
49: ; preds = %38
%50 = call i32 @send(i32 %31, i8* %22, i32 14, i32 0)
%51 = icmp slt i32 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %49
%53 = load i32, i32* @errno
%54 = call i8* @strerror(i32 %53)
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0), i8* %54)
br label %72
56: ; preds = %49
%57 = call i32 @recv(i32 %31, i8* %23, i32 256, i32 0)
%58 = icmp slt i32 %57, 0
br i1 %58, label %59, label %64
59: ; preds = %56
%60 = load i32, i32* @errno
%61 = call i8* @strerror(i32 %60)
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i8* %61)
br label %72
63: ; preds = %36, %45
br label %72
64: ; preds = %56
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* %23)
%66 = call i32 @close(i32 %31)
%67 = call i32 @sleep(i32 10)
%68 = load i32, i32* @AF_INET
%69 = load i32, i32* @SOCK_STREAM
%70 = call i32 @socket(i32 %68, i32 %69, i32 0)
%71 = icmp slt i32 %70, 0
br i1 %71, label %26, label %30
72: ; preds = %59, %52, %63, %26, %24
ret i32 -1
}