#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__ {
  scalar_t__ 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 dummy;
};
typedef int /*<<< orphan*/ my_addr;

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
scalar_t__ INADDR_ANY;
int /*<<< orphan*/ SOCK_STREAM;
int accept(int, struct sockaddr *, int *);
unsigned int atoi(char *);
int bind(int, struct sockaddr *, int);
int /*<<< orphan*/ bzero(struct sockaddr_in *, int);
int /*<<< orphan*/ close(int);
int /*<<< orphan*/ errno;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ htons(unsigned int);
int /*<<< orphan*/ inet_aton(char *, struct in_addr *);
char *inet_ntoa(TYPE_1__);
scalar_t__ listen(int, unsigned int);
int ntohs(int /*<<< orphan*/);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ usage();
int main(int argc, char *argv[]) {
  int sockfd, clientfd;
  int len = 0;
  struct sockaddr_in my_addr, client_addr;
  unsigned int myport, lisnum;
  if (argc != 4) {
    usage();
  }
  if (argv[1]) {
    myport = atoi(argv[1]);
  } else {
    myport = 7878;
  }
  if (argv[2]) {
    lisnum = atoi(argv[2]);
  } else {
    lisnum = 5;
  }
  if ((sockfd = socket(AF_INET, SOCK_STREAM, 0)) == -1) {
    perror("socket failed!");
    exit(errno);
  }
  bzero(&my_addr, sizeof(my_addr));
  my_addr.sin_family = AF_INET;
  my_addr.sin_port = htons(myport);
  if (argv[3]) {
    inet_aton(argv[3], (struct in_addr *)my_addr.sin_addr.s_addr);
  } else {
    my_addr.sin_addr.s_addr = INADDR_ANY;
  }
  if (bind(sockfd, (struct sockaddr *)&my_addr, sizeof(my_addr)) == -1) {
    perror("bind failed!");
    exit(errno);
  }
  if (listen(sockfd, lisnum) != 0) {
    perror("listen failed!");
    exit(errno);
  } else {
    printf("Listen Begin!\n");
  }
  while (1) {
    len = sizeof(struct sockaddr);
    if ((clientfd = accept(sockfd, (struct sockaddr *)&client_addr, &len)) ==
        -1) {
      fprintf(stderr, "accept failed!");
      exit(errno);
    } else {
      printf("Accept connection from socket %s    %d : %d\n",
             inet_ntoa(client_addr.sin_addr), ntohs(client_addr.sin_port),
             clientfd);
      return 0;
    }
  }
  close(sockfd);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x1c(%rbp)
cmpl   $0x4,-0x8(%rbp)
je     121e <main+0x2e>
mov    $0x0,%al
call   10a0 <usage@plt>
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1242 <main+0x52>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   10f0 <atoi@plt>
mov    %eax,-0x54(%rbp)
jmp    1249 <main+0x59>
movl   $0x1ec6,-0x54(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x10(%rax)
je     126d <main+0x7d>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   10f0 <atoi@plt>
mov    %eax,-0x58(%rbp)
jmp    1274 <main+0x84>
movl   $0x5,-0x58(%rbp)
mov    0x2d6d(%rip),%rax
mov    (%rax),%edi
mov    0x2d44(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1110 <socket@plt>
mov    %eax,-0x14(%rbp)
cmp    $0xffffffff,%eax
jne    12b3 <main+0xc3>
lea    0xd60(%rip),%rdi
call   10c0 <perror@plt>
mov    0x2d14(%rip),%rax
mov    (%rax),%edi
call   1100 <exit@plt>
lea    -0x38(%rbp),%rdi
mov    $0x18,%esi
call   10d0 <bzero@plt>
mov    0x2d20(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x28(%rbp)
mov    -0x54(%rbp),%edi
call   1040 <htons@plt>
mov    %eax,-0x38(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x18(%rax)
je     12fd <main+0x10d>
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
mov    -0x30(%rbp),%rsi
call   1070 <inet_aton@plt>
jmp    130b <main+0x11b>
mov    0x2cdc(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x30(%rbp)
mov    -0x14(%rbp),%edi
lea    -0x38(%rbp),%rsi
mov    $0x18,%edx
call   10b0 <bind@plt>
cmp    $0xffffffff,%eax
jne    133f <main+0x14f>
lea    0xce3(%rip),%rdi
call   10c0 <perror@plt>
mov    0x2c88(%rip),%rax
mov    (%rax),%edi
call   1100 <exit@plt>
mov    -0x14(%rbp),%edi
mov    -0x58(%rbp),%esi
call   1080 <listen@plt>
cmp    $0x0,%rax
je     136e <main+0x17e>
lea    0xcc1(%rip),%rdi
call   10c0 <perror@plt>
mov    0x2c59(%rip),%rax
mov    (%rax),%edi
call   1100 <exit@plt>
lea    0xcb6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1381 <main+0x191>
movl   $0x4,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
lea    -0x50(%rbp),%rsi
lea    -0x1c(%rbp),%rdx
call   10e0 <accept@plt>
mov    %eax,-0x18(%rbp)
cmp    $0xffffffff,%eax
jne    13c7 <main+0x1d7>
mov    0x2c25(%rip),%rax
mov    (%rax),%edi
lea    0xc86(%rip),%rsi
call   1060 <fprintf@plt>
mov    0x2c00(%rip),%rax
mov    (%rax),%edi
call   1100 <exit@plt>
mov    -0x48(%rbp),%rdi
call   1030 <inet_ntoa@plt>
mov    %rax,-0x60(%rbp)
mov    -0x50(%rbp),%edi
call   1090 <ntohs@plt>
mov    -0x60(%rbp),%rsi
mov    %eax,%edx
mov    -0x18(%rbp),%ecx
lea    0xc5d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x40,%rsp
mov    %rsi,%rbx
movl   $0x0,0xc(%rsp)
cmp    $0x4,%edi
je     1223 <main+0x23>
xor    %eax,%eax
call   10b0 <usage@plt>
mov    0x8(%rbx),%rdi
test   %rdi,%rdi
je     1236 <main+0x36>
call   1100 <atoi@plt>
mov    %eax,%r15d
jmp    123c <main+0x3c>
mov    $0x1ec6,%r15d
mov    0x10(%rbx),%rdi
test   %rdi,%rdi
je     124f <main+0x4f>
call   1100 <atoi@plt>
mov    %eax,%r14d
jmp    1255 <main+0x55>
mov    $0x5,%r14d
mov    0x2d8c(%rip),%r12
mov    (%r12),%edi
mov    0x2d61(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1120 <socket@plt>
cmp    $0xffffffff,%eax
je     134d <main+0x14d>
mov    %eax,%ebp
lea    0x10(%rsp),%rdi
mov    $0x18,%esi
call   10e0 <bzero@plt>
mov    (%r12),%eax
mov    %eax,0x20(%rsp)
mov    %r15d,%edi
call   1050 <htons@plt>
mov    %eax,0x10(%rsp)
mov    0x18(%rbx),%rdi
test   %rdi,%rdi
je     12b3 <main+0xb3>
mov    0x18(%rsp),%rsi
call   1080 <inet_aton@plt>
jmp    12c2 <main+0xc2>
mov    0x2d26(%rip),%rax
mov    (%rax),%rax
mov    %rax,0x18(%rsp)
lea    0x10(%rsp),%rsi
mov    %ebp,%edi
mov    $0x18,%edx
call   10c0 <bind@plt>
cmp    $0xffffffff,%eax
je     1356 <main+0x156>
mov    %ebp,%edi
mov    %r14d,%esi
call   1090 <listen@plt>
test   %rax,%rax
jne    135f <main+0x15f>
lea    0xd79(%rip),%rdi
call   1030 <puts@plt>
movl   $0x4,0xc(%rsp)
lea    0x28(%rsp),%rsi
lea    0xc(%rsp),%rdx
mov    %ebp,%edi
call   10f0 <accept@plt>
cmp    $0xffffffff,%eax
je     136d <main+0x16d>
mov    %eax,%ebx
mov    0x30(%rsp),%rdi
call   1040 <inet_ntoa@plt>
mov    %rax,%rbp
mov    0x28(%rsp),%edi
call   10a0 <ntohs@plt>
lea    0xd0a(%rip),%rdi
mov    %rbp,%rsi
mov    %eax,%edx
mov    %ebx,%ecx
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xcac(%rip),%rdi
jmp    1366 <main+0x166>
lea    0xcb2(%rip),%rdi
jmp    1366 <main+0x166>
lea    0xcb6(%rip),%rdi
call   10d0 <perror@plt>
jmp    1382 <main+0x182>
mov    0x2c5c(%rip),%rax
mov    (%rax),%edi
lea    0xcae(%rip),%rsi
call   1070 <fprintf@plt>
mov    0x2c37(%rip),%rax
mov    (%rax),%edi
call   1110 <exit@plt>

LLVM IR (-O0):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i64 }
%struct.in_addr = type { i32 }
%struct.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str = [15 x i8] c"socket failed!\00"
@errno = global i32 0
@INADDR_ANY = global i64 0
@.str.1 = [13 x i8] c"bind failed!\00"
@.str.2 = [15 x i8] c"listen failed!\00"
@.str.3 = [15 x i8] c"Listen Begin!\0A\00"
@stderr = global i32 0
@.str.4 = [15 x i8] c"accept failed!\00"
@.str.5 = [45 x i8] c"Accept connection from socket %s %d : %d\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 %struct.sockaddr_in
%10 = alloca %struct.sockaddr_in
%11 = alloca i32
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %8
%13 = load i32, i32* %4
%14 = icmp ne i32 %13, 4
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 (...) @usage()
br label %17
17: ; preds = %15, %2
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 1
%20 = load i8*, i8** %19
%21 = icmp ne i8* %20, null
br i1 %21, label %22, label %27
22: ; preds = %17
%23 = load i8**, i8*** %5
%24 = getelementptr inbounds i8*, i8** %23, i64 1
%25 = load i8*, i8** %24
%26 = call i32 @atoi(i8* %25)
store i32 %26, i32* %11
br label %28
27: ; preds = %17
store i32 7878, i32* %11
br label %28
28: ; preds = %27, %22
%29 = load i8**, i8*** %5
%30 = getelementptr inbounds i8*, i8** %29, i64 2
%31 = load i8*, i8** %30
%32 = icmp ne i8* %31, null
br i1 %32, label %33, label %38
33: ; preds = %28
%34 = load i8**, i8*** %5
%35 = getelementptr inbounds i8*, i8** %34, i64 2
%36 = load i8*, i8** %35
%37 = call i32 @atoi(i8* %36)
store i32 %37, i32* %12
br label %39
38: ; preds = %28
store i32 5, i32* %12
br label %39
39: ; preds = %38, %33
%40 = load i32, i32* @AF_INET
%41 = load i32, i32* @SOCK_STREAM
%42 = call i32 @socket(i32 %40, i32 %41, i32 0)
store i32 %42, i32* %6
%43 = icmp eq i32 %42, -1
br i1 %43, label %44, label %48
44: ; preds = %39
%45 = call i32 @perror(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%46 = load i32, i32* @errno
%47 = call i32 @exit(i32 %46)
unreachable
48: ; preds = %39
%49 = call i32 @bzero(%struct.sockaddr_in* %9, i32 24)
%50 = load i32, i32* @AF_INET
%51 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %9, i32 0, i32 2
store i32 %50, i32* %51
%52 = load i32, i32* %11
%53 = call i32 @htons(i32 %52)
%54 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %9, i32 0, i32 0
store i32 %53, i32* %54
%55 = load i8**, i8*** %5
%56 = getelementptr inbounds i8*, i8** %55, i64 3
%57 = load i8*, i8** %56
%58 = icmp ne i8* %57, null
br i1 %58, label %59, label %68
59: ; preds = %48
%60 = load i8**, i8*** %5
%61 = getelementptr inbounds i8*, i8** %60, i64 3
%62 = load i8*, i8** %61
%63 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %9, i32 0, i32 1
%64 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %63, i32 0, i32 0
%65 = load i64, i64* %64
%66 = inttoptr i64 %65 to %struct.in_addr*
%67 = call i32 @inet_aton(i8* %62, %struct.in_addr* %66)
br label %72
68: ; preds = %48
%69 = load i64, i64* @INADDR_ANY
%70 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %9, i32 0, i32 1
%71 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %70, i32 0, i32 0
store i64 %69, i64* %71
br label %72
72: ; preds = %68, %59
%73 = load i32, i32* %6
%74 = bitcast %struct.sockaddr_in* %9 to %struct.sockaddr*
%75 = call i32 @bind(i32 %73, %struct.sockaddr* %74, i32 24)
%76 = icmp eq i32 %75, -1
br i1 %76, label %77, label %81
77: ; preds = %72
%78 = call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%79 = load i32, i32* @errno
%80 = call i32 @exit(i32 %79)
unreachable
81: ; preds = %72
%82 = load i32, i32* %6
%83 = load i32, i32* %12
%84 = call i64 @listen(i32 %82, i32 %83)
%85 = icmp ne i64 %84, 0
br i1 %85, label %86, label %90
86: ; preds = %81
%87 = call i32 @perror(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
%88 = load i32, i32* @errno
%89 = call i32 @exit(i32 %88)
unreachable
90: ; preds = %81
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
br label %92
92: ; preds = %90
br label %93
93: ; preds = %92
store i32 4, i32* %8
%94 = load i32, i32* %6
%95 = bitcast %struct.sockaddr_in* %10 to %struct.sockaddr*
%96 = call i32 @accept(i32 %94, %struct.sockaddr* %95, i32* %8)
store i32 %96, i32* %7
%97 = icmp eq i32 %96, -1
br i1 %97, label %98, label %103
98: ; preds = %93
%99 = load i32, i32* @stderr
%100 = call i32 @fprintf(i32 %99, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%101 = load i32, i32* @errno
%102 = call i32 @exit(i32 %101)
unreachable
103: ; preds = %93
%104 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %10, i32 0, i32 1
%105 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %104, i32 0, i32 0
%106 = load i64, i64* %105
%107 = call i8* @inet_ntoa(i64 %106)
%108 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %10, i32 0, i32 0
%109 = load i32, i32* %108
%110 = call i32 @ntohs(i32 %109)
%111 = load i32, i32* %7
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0), i8* %107, i32 %110, i32 %111)
ret i32 0
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i64 }
%struct.in_addr = type { i32 }
%struct.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str = [15 x i8] c"socket failed!\00"
@errno = global i32 0
@INADDR_ANY = global i64 0
@.str.1 = [13 x i8] c"bind failed!\00"
@.str.2 = [15 x i8] c"listen failed!\00"
@stderr = global i32 0
@.str.4 = [15 x i8] c"accept failed!\00"
@.str.5 = [45 x i8] c"Accept connection from socket %s %d : %d\0A\00"
@str = [14 x i8] c"Listen Begin!\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca i32
%4 = alloca %struct.sockaddr_in
%5 = alloca %struct.sockaddr_in
%6 = bitcast i32* %3 to i8*
store i32 0, i32* %3
%7 = bitcast %struct.sockaddr_in* %4 to i8*
%8 = bitcast %struct.sockaddr_in* %5 to i8*
%9 = icmp eq i32 %0, 4
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = tail call i32 (...) @usage()
br label %12
12: ; preds = %10, %2
%13 = getelementptr inbounds i8*, i8** %1, i64 1
%14 = load i8*, i8** %13
%15 = icmp eq i8* %14, null
br i1 %15, label %18, label %16
16: ; preds = %12
%17 = tail call i32 @atoi(i8* %14)
br label %18
18: ; preds = %12, %16
%19 = phi i32 [ %17, %16 ], [ 7878, %12 ]
%20 = getelementptr inbounds i8*, i8** %1, i64 2
%21 = load i8*, i8** %20
%22 = icmp eq i8* %21, null
br i1 %22, label %25, label %23
23: ; preds = %18
%24 = tail call i32 @atoi(i8* %21)
br label %25
25: ; preds = %18, %23
%26 = phi i32 [ %24, %23 ], [ 5, %18 ]
%27 = load i32, i32* @AF_INET
%28 = load i32, i32* @SOCK_STREAM
%29 = tail call i32 @socket(i32 %27, i32 %28, i32 0)
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %35
31: ; preds = %25
%32 = tail call i32 @perror(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%33 = load i32, i32* @errno
%34 = tail call i32 @exit(i32 %33)
unreachable
35: ; preds = %25
%36 = call i32 @bzero(%struct.sockaddr_in* %4, i32 24)
%37 = load i32, i32* @AF_INET
%38 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 2
store i32 %37, i32* %38
%39 = tail call i32 @htons(i32 %19)
%40 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 0
store i32 %39, i32* %40
%41 = getelementptr inbounds i8*, i8** %1, i64 3
%42 = load i8*, i8** %41
%43 = icmp eq i8* %42, null
br i1 %43, label %49, label %44
44: ; preds = %35
%45 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 1, i32 0
%46 = load i64, i64* %45
%47 = inttoptr i64 %46 to %struct.in_addr*
%48 = tail call i32 @inet_aton(i8* %42, %struct.in_addr* %47)
br label %52
49: ; preds = %35
%50 = load i64, i64* @INADDR_ANY
%51 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 1, i32 0
store i64 %50, i64* %51
br label %52
52: ; preds = %49, %44
%53 = bitcast %struct.sockaddr_in* %4 to %struct.sockaddr*
%54 = call i32 @bind(i32 %29, %struct.sockaddr* %53, i32 24)
%55 = icmp eq i32 %54, -1
br i1 %55, label %56, label %60
56: ; preds = %52
%57 = call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%58 = load i32, i32* @errno
%59 = call i32 @exit(i32 %58)
unreachable
60: ; preds = %52
%61 = call i64 @listen(i32 %29, i32 %26)
%62 = icmp eq i64 %61, 0
br i1 %62, label %67, label %63
63: ; preds = %60
%64 = call i32 @perror(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
%65 = load i32, i32* @errno
%66 = call i32 @exit(i32 %65)
unreachable
67: ; preds = %60
%68 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str, i64 0, i64 0))
store i32 4, i32* %3
%69 = bitcast %struct.sockaddr_in* %5 to %struct.sockaddr*
%70 = call i32 @accept(i32 %29, %struct.sockaddr* %69, i32* %3)
%71 = icmp eq i32 %70, -1
br i1 %71, label %72, label %77
72: ; preds = %67
%73 = load i32, i32* @stderr
%74 = call i32 @fprintf(i32 %73, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%75 = load i32, i32* @errno
%76 = call i32 @exit(i32 %75)
unreachable
77: ; preds = %67
%78 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %5, i64 0, i32 1, i32 0
%79 = load i64, i64* %78
%80 = call i8* @inet_ntoa(i64 %79)
%81 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %5, i64 0, i32 0
%82 = load i32, i32* %81
%83 = call i32 @ntohs(i32 %82)
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0), i8* %80, i32 %83, i32 %70)
ret i32 0
}