#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;
typedef int /*<<< orphan*/ time_message;
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 socklen_t;
typedef int /*<<< orphan*/ client_addr;
typedef int /*<<< orphan*/ address;

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ PF_INET;
int /*<<< orphan*/ SOCK_STREAM;
int accept(int, struct sockaddr *, int *);
int bind(int, struct sockaddr *, int);
int /*<<< orphan*/ close(int);
char *ctime(int /*<<< orphan*/ const *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ htons(int);
int /*<<< orphan*/ inet_addr(char const *);
char *inet_ntoa(TYPE_1__);
int listen(int, int);
int /*<<< orphan*/ memset(struct sockaddr_in *, int /*<<< orphan*/, int);
int ntohs(int /*<<< orphan*/);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ send(int, char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ snprintf(char *, int, char *, char *);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main() {
  const char *server_ip = "127.0.0.1";
  int server_port = 0x1234;
  int server_socket;
  server_socket = socket(PF_INET, SOCK_STREAM, 0);
  if (server_socket == -1) {
    perror("socket create error");
    exit(1);
  }
  printf("socket is %d\n", server_socket);
  struct sockaddr_in address;
  memset(&address, 0, sizeof(address));
  address.sin_family = AF_INET;
  address.sin_port = htons(server_port);
  address.sin_addr.s_addr = inet_addr(server_ip);
  if (bind(server_socket, (struct sockaddr *)&address, sizeof(address)) == -1) {
    perror("bind error");
    exit(1);
  }
  printf("bind ok\n");
  if (listen(server_socket, 5) == -1) {
    perror("listen error");
    exit(1);
  }
  printf("accept ok\n");
  struct sockaddr_in client_addr;
  socklen_t client_addr_len = sizeof(client_addr);
  while (1) {
    printf("等待连接中...\n");
    int connfd = accept(server_socket, (struct sockaddr *)&client_addr,
                        &client_addr_len);
    if (connfd == -1) {
      perror("accept error");
      exit(1);
    }
    printf("accept ok\n");
    printf("connect from %s:%d\n", inet_ntoa(client_addr.sin_addr),
           ntohs(client_addr.sin_port));
    char time_message[100];
    time_t now_time = (time_t)time(NULL);
    snprintf(time_message, sizeof(time_message), "%.24s\n",
             ctime((const time_t *)&now_time));
    send(connfd, time_message, sizeof(time_message), 0);
    close(connfd);
  }
  close(server_socket);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xdd7(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0x1234,-0x14(%rbp)
mov    0x2d95(%rip),%rax
mov    (%rax),%edi
mov    0x2d94(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1130 <socket@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0xffffffff,-0x18(%rbp)
jne    1270 <main+0x60>
lea    0xda9(%rip),%rdi
call   1100 <perror@plt>
mov    $0x1,%edi
call   1120 <exit@plt>
mov    -0x18(%rbp),%esi
lea    0xda4(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    -0x28(%rbp),%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   1090 <memset@plt>
mov    0x2d50(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x20(%rbp)
mov    -0x14(%rbp),%edi
call   1050 <htons@plt>
mov    %eax,-0x28(%rbp)
mov    -0x10(%rbp),%rdi
call   10b0 <inet_addr@plt>
mov    %eax,-0x24(%rbp)
mov    -0x18(%rbp),%edi
lea    -0x28(%rbp),%rsi
mov    $0xc,%edx
call   10f0 <bind@plt>
cmp    $0xffffffff,%eax
jne    12e4 <main+0xd4>
lea    0xd57(%rip),%rdi
call   1100 <perror@plt>
mov    $0x1,%edi
call   1120 <exit@plt>
lea    0xd4c(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x18(%rbp),%edi
mov    $0x5,%esi
call   10d0 <listen@plt>
cmp    $0xffffffff,%eax
jne    131e <main+0x10e>
lea    0xd31(%rip),%rdi
call   1100 <perror@plt>
mov    $0x1,%edi
call   1120 <exit@plt>
lea    0xd28(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0xc,-0x3c(%rbp)
lea    0xd1e(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x18(%rbp),%edi
lea    -0x38(%rbp),%rsi
lea    -0x3c(%rbp),%rdx
call   1110 <accept@plt>
mov    %eax,-0x40(%rbp)
cmpl   $0xffffffff,-0x40(%rbp)
jne    1374 <main+0x164>
lea    0xd07(%rip),%rdi
call   1100 <perror@plt>
mov    $0x1,%edi
call   1120 <exit@plt>
lea    0xcd2(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x34(%rbp),%edi
call   1030 <inet_ntoa@plt>
mov    %rax,-0xc8(%rbp)
mov    -0x38(%rbp),%edi
call   10e0 <ntohs@plt>
mov    -0xc8(%rbp),%rsi
mov    %eax,%edx
lea    0xcd0(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
call   10c0 <time@plt>
mov    %eax,-0xb4(%rbp)
lea    -0xb0(%rbp),%rax
mov    %rax,-0xc0(%rbp)
lea    -0xb4(%rbp),%rdi
call   1040 <ctime@plt>
mov    -0xc0(%rbp),%rdi
mov    %rax,%rcx
mov    $0x64,%esi
lea    0xc9e(%rip),%rdx
call   1080 <snprintf@plt>
mov    -0x40(%rbp),%edi
lea    -0xb0(%rbp),%rsi
mov    $0x64,%edx
xor    %ecx,%ecx
call   1060 <send@plt>
mov    -0x40(%rbp),%edi
call   10a0 <close@plt>
jmp    1333 <main+0x123>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    0x2d98(%rip),%rax
mov    (%rax),%edi
mov    0x2d97(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1140 <socket@plt>
cmp    $0xffffffff,%eax
jne    125b <main+0x3b>
lea    0xdb4(%rip),%rdi
jmp    13f6 <main+0x1d6>
mov    %eax,%ebx
lea    0xdba(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x20(%rsp),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   10a0 <memset@plt>
mov    0x2d60(%rip),%rax
mov    (%rax),%eax
mov    %eax,0x28(%rsp)
mov    $0x1234,%edi
call   1060 <htons@plt>
mov    %eax,0x20(%rsp)
lea    0xd5d(%rip),%rdi
call   10c0 <inet_addr@plt>
mov    %eax,0x24(%rsp)
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0xc,%edx
call   1100 <bind@plt>
cmp    $0xffffffff,%eax
jne    12cc <main+0xac>
lea    0xd65(%rip),%rdi
jmp    13f6 <main+0x1d6>
lea    0xd99(%rip),%rdi
call   1030 <puts@plt>
mov    %ebx,%edi
mov    $0x5,%esi
call   10e0 <listen@plt>
cmp    $0xffffffff,%eax
jne    12f5 <main+0xd5>
lea    0xd47(%rip),%rdi
jmp    13f6 <main+0x1d6>
lea    0xd8b(%rip),%rdi
call   1030 <puts@plt>
movl   $0xc,0x8(%rsp)
lea    0xd64(%rip),%rdi
call   1030 <puts@plt>
lea    0x10(%rsp),%rsi
lea    0x8(%rsp),%rdx
mov    %ebx,%edi
call   1120 <accept@plt>
cmp    $0xffffffff,%eax
je     13ef <main+0x1cf>
mov    %eax,%r12d
lea    0x30(%rsp),%rbp
lea    0x10(%rsp),%r15
lea    0x8(%rsp),%r13
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
lea    0xd30(%rip),%rdi
call   1030 <puts@plt>
mov    0x14(%rsp),%edi
call   1040 <inet_ntoa@plt>
mov    %rax,%r14
mov    0x10(%rsp),%edi
call   10f0 <ntohs@plt>
lea    0xcd9(%rip),%rdi
mov    %r14,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1080 <printf@plt>
xor    %edi,%edi
call   10d0 <time@plt>
mov    %eax,0xc(%rsp)
lea    0xc(%rsp),%rdi
call   1050 <ctime@plt>
mov    %rbp,%rdi
mov    $0x64,%esi
lea    0xcbd(%rip),%rdx
mov    %rax,%rcx
call   1090 <snprintf@plt>
mov    %r12d,%edi
mov    %rbp,%rsi
mov    $0x64,%edx
xor    %ecx,%ecx
call   1070 <send@plt>
mov    %r12d,%edi
call   10b0 <close@plt>
lea    0xca3(%rip),%rdi
call   1030 <puts@plt>
mov    %ebx,%edi
mov    %r15,%rsi
mov    %r13,%rdx
call   1120 <accept@plt>
mov    %eax,%r12d
cmp    $0xffffffff,%eax
jne    1350 <main+0x130>
lea    0xc4e(%rip),%rdi
call   1110 <perror@plt>
mov    $0x1,%edi
call   1130 <exit@plt>

LLVM IR (-O0):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@.str = [10 x i8] c"127.0.0.1\00"
@PF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.1 = [20 x i8] c"socket create error\00"
@.str.2 = [14 x i8] c"socket is %d\0A\00"
@AF_INET = global i32 0
@.str.3 = [11 x i8] c"bind error\00"
@.str.4 = [9 x i8] c"bind ok\0A\00"
@.str.5 = [13 x i8] c"listen error\00"
@.str.6 = [11 x i8] c"accept ok\0A\00"
@.str.7 = [20 x i8] c"\E7\AD\89\E5\BE\85\E8\BF\9E\E6\8E\A5\E4\B8\AD...\0A\00"
@.str.8 = [13 x i8] c"accept error\00"
@.str.9 = [20 x i8] c"connect from %s:%d\0A\00"
@.str.10 = [7 x i8] c"%.24s\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca i32
%4 = alloca i32
%5 = alloca %struct.sockaddr_in
%6 = alloca %struct.sockaddr_in
%7 = alloca i32
%8 = alloca i32
%9 = alloca [100 x i8]
%10 = alloca i32
store i32 0, i32* %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8** %2
store i32 4660, i32* %3
%11 = load i32, i32* @PF_INET
%12 = load i32, i32* @SOCK_STREAM
%13 = call i32 @socket(i32 %11, i32 %12, i32 0)
store i32 %13, i32* %4
%14 = load i32, i32* %4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %19
16: ; preds = %0
%17 = call i32 @perror(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%18 = call i32 @exit(i32 1)
unreachable
19: ; preds = %0
%20 = load i32, i32* %4
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i32 %20)
%22 = call i32 @memset(%struct.sockaddr_in* %5, i32 0, i32 12)
%23 = load i32, i32* @AF_INET
%24 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %5, i32 0, i32 2
store i32 %23, i32* %24
%25 = load i32, i32* %3
%26 = call i32 @htons(i32 %25)
%27 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %5, i32 0, i32 0
store i32 %26, i32* %27
%28 = load i8*, i8** %2
%29 = call i32 @inet_addr(i8* %28)
%30 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %5, i32 0, i32 1
%31 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %30, i32 0, i32 0
store i32 %29, i32* %31
%32 = load i32, i32* %4
%33 = bitcast %struct.sockaddr_in* %5 to %struct.sockaddr*
%34 = call i32 @bind(i32 %32, %struct.sockaddr* %33, i32 12)
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %39
36: ; preds = %19
%37 = call i32 @perror(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%38 = call i32 @exit(i32 1)
unreachable
39: ; preds = %19
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%41 = load i32, i32* %4
%42 = call i32 @listen(i32 %41, i32 5)
%43 = icmp eq i32 %42, -1
br i1 %43, label %44, label %47
44: ; preds = %39
%45 = call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0))
%46 = call i32 @exit(i32 1)
unreachable
47: ; preds = %39
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0))
store i32 12, i32* %7
br label %49
49: ; preds = %47, %59
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0))
%51 = load i32, i32* %4
%52 = bitcast %struct.sockaddr_in* %6 to %struct.sockaddr*
%53 = call i32 @accept(i32 %51, %struct.sockaddr* %52, i32* %7)
store i32 %53, i32* %8
%54 = load i32, i32* %8
%55 = icmp eq i32 %54, -1
br i1 %55, label %56, label %59
56: ; preds = %49
%57 = call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
%58 = call i32 @exit(i32 1)
unreachable
59: ; preds = %49
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0))
%61 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %6, i32 0, i32 1
%62 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %61, i32 0, i32 0
%63 = load i32, i32* %62
%64 = call i8* @inet_ntoa(i32 %63)
%65 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %6, i32 0, i32 0
%66 = load i32, i32* %65
%67 = call i32 @ntohs(i32 %66)
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8* %64, i32 %67)
%69 = call i32 @time(i32* null)
store i32 %69, i32* %10
%70 = getelementptr inbounds [100 x i8], [100 x i8]* %9, i64 0, i64 0
%71 = call i8* @ctime(i32* %10)
%72 = call i32 @snprintf(i8* %70, i32 100, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i8* %71)
%73 = load i32, i32* %8
%74 = getelementptr inbounds [100 x i8], [100 x i8]* %9, i64 0, i64 0
%75 = call i32 @send(i32 %73, i8* %74, i32 100, i32 0)
%76 = load i32, i32* %8
%77 = call i32 @close(i32 %76)
br label %49
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@.str = [10 x i8] c"127.0.0.1\00"
@PF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.1 = [20 x i8] c"socket create error\00"
@.str.2 = [14 x i8] c"socket is %d\0A\00"
@AF_INET = global i32 0
@.str.3 = [11 x i8] c"bind error\00"
@.str.5 = [13 x i8] c"listen error\00"
@.str.8 = [13 x i8] c"accept error\00"
@.str.9 = [20 x i8] c"connect from %s:%d\0A\00"
@.str.10 = [7 x i8] c"%.24s\0A\00"
@str = [8 x i8] c"bind ok\00"
@str.12 = [19 x i8] c"\E7\AD\89\E5\BE\85\E8\BF\9E\E6\8E\A5\E4\B8\AD...\00"
@str.13 = [10 x i8] c"accept ok\00"
define i32 @main() {
%1 = alloca %struct.sockaddr_in
%2 = alloca %struct.sockaddr_in
%3 = alloca i32
%4 = alloca [100 x i8]
%5 = alloca i32
%6 = load i32, i32* @PF_INET
%7 = load i32, i32* @SOCK_STREAM
%8 = tail call i32 @socket(i32 %6, i32 %7, i32 0)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = tail call i32 @perror(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%12 = tail call i32 @exit(i32 1)
unreachable
13: ; preds = %0
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i32 %8)
%15 = bitcast %struct.sockaddr_in* %1 to i8*
%16 = call i32 @memset(%struct.sockaddr_in* %1, i32 0, i32 12)
%17 = load i32, i32* @AF_INET
%18 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 2
store i32 %17, i32* %18
%19 = call i32 @htons(i32 4660)
%20 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 0
store i32 %19, i32* %20
%21 = call i32 @inet_addr(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%22 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 1, i32 0
store i32 %21, i32* %22
%23 = bitcast %struct.sockaddr_in* %1 to %struct.sockaddr*
%24 = call i32 @bind(i32 %8, %struct.sockaddr* %23, i32 12)
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %29
26: ; preds = %13
%27 = call i32 @perror(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%28 = call i32 @exit(i32 1)
unreachable
29: ; preds = %13
%30 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str, i64 0, i64 0))
%31 = call i32 @listen(i32 %8, i32 5)
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0))
%35 = call i32 @exit(i32 1)
unreachable
36: ; preds = %29
%37 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.13, i64 0, i64 0))
%38 = bitcast %struct.sockaddr_in* %2 to i8*
%39 = bitcast i32* %3 to i8*
store i32 12, i32* %3
%40 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.12, i64 0, i64 0))
%41 = bitcast %struct.sockaddr_in* %2 to %struct.sockaddr*
%42 = call i32 @accept(i32 %8, %struct.sockaddr* %41, i32* %3)
%43 = icmp eq i32 %42, -1
br i1 %43, label %49, label %44
44: ; preds = %36
%45 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %2, i64 0, i32 1, i32 0
%46 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %2, i64 0, i32 0
%47 = getelementptr inbounds [100 x i8], [100 x i8]* %4, i64 0, i64 0
%48 = bitcast i32* %5 to i8*
br label %52
49: ; preds = %52, %36
%50 = call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
%51 = call i32 @exit(i32 1)
unreachable
52: ; preds = %44, %52
%53 = phi i32 [ %42, %44 ], [ %66, %52 ]
%54 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.13, i64 0, i64 0))
%55 = load i32, i32* %45
%56 = call i8* @inet_ntoa(i32 %55)
%57 = load i32, i32* %46
%58 = call i32 @ntohs(i32 %57)
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i8* %56, i32 %58)
%60 = call i32 @time(i32* null)
store i32 %60, i32* %5
%61 = call i8* @ctime(i32* %5)
%62 = call i32 @snprintf(i8* %47, i32 100, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i8* %61)
%63 = call i32 @send(i32 %53, i8* %47, i32 100, i32 0)
%64 = call i32 @close(i32 %53)
%65 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.12, i64 0, i64 0))
%66 = call i32 @accept(i32 %8, %struct.sockaddr* %41, i32* %3)
%67 = icmp eq i32 %66, -1
br i1 %67, label %49, label %52
}