#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;
};
typedef int /*<<< orphan*/ server;
typedef int /*<<< orphan*/ message_response;
typedef int /*<<< orphan*/ message_received;
typedef int /*<<< orphan*/ connection_count;

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ SOCK_STREAM;
int /*<<< orphan*/ close(int);
scalar_t__ connect(int, struct sockaddr *, int);
int /*<<< orphan*/ htons(int);
int /*<<< orphan*/ inet_addr(char *);
int ntohl(int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ puts(char *);
scalar_t__ recv(int, ...);
int /*<<< orphan*/ scanf(char *, char *);
scalar_t__ send(int, char *, int, int /*<<< orphan*/);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int main() {
  int socket_setup;
  struct sockaddr_in server;
  puts("Welcome to the Client Connection Program!");
  socket_setup = socket(AF_INET, SOCK_STREAM, 0);
  if (socket_setup == -1) {
    perror("Failed to create socket!");
    return -1;
  }
  server.sin_family = AF_INET;
  server.sin_addr.s_addr = inet_addr("127.0.0.1");
  server.sin_port = htons(8080);
  if (connect(socket_setup, (struct sockaddr *)&server, sizeof(server)) < 0) {
    perror("Failed to connect to remote server");
    return -1;
  }
  printf("Connected to server: %s on Port: %d\n", "127.0.0.1", 8080);
  char message_received[50];
  char message_response[10];
  int connection_count = 0;
  if (recv(socket_setup, message_received, sizeof(message_received), 0) < 0) {
    perror("Failed to receive message!");
    return -1;
  }
  printf("\n%s", message_received);
  scanf("%[^\n]%*c", message_response);
  if (send(socket_setup, message_response, sizeof(message_response), 0) < 0) {
    perror("Failed to send message!");
    return -1;
  }
  if (recv(socket_setup, message_received, sizeof(message_received), 0) < 0) {
    perror("Failed to receive message!");
    return -1;
  }
  printf("\nMessage received from the server: %s\n", message_received);
  if (recv(socket_setup, &connection_count, sizeof(connection_count), 0) < 0) {
    perror("Failed to receive message!");
    return -1;
  }
  printf(
      "\nTotal number of client connections (at start of client program): %d\n",
      ntohl(connection_count));
  close(socket_setup);
  printf("\nThank you for using this program!\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe2a(%rip),%rdi
call   1040 <puts@plt>
mov    0x2e06(%rip),%rax
mov    (%rax),%edi
mov    0x2ded(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10e0 <socket@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0xffffffff,-0x8(%rbp)
jne    1219 <main+0x59>
lea    0xe22(%rip),%rdi
call   10b0 <perror@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13d8 <main+0x218>
mov    0x2dc8(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x10(%rbp)
lea    0xe17(%rip),%rdi
call   1090 <inet_addr@plt>
mov    %eax,-0x14(%rbp)
mov    $0x1f90,%edi
call   1050 <htons@plt>
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x18(%rbp),%rsi
mov    $0xc,%edx
call   10c0 <connect@plt>
cmp    $0x0,%rax
jge    1274 <main+0xb4>
lea    0xdea(%rip),%rdi
call   10b0 <perror@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13d8 <main+0x218>
lea    0xdf5(%rip),%rdi
lea    0xdc1(%rip),%rsi
mov    $0x1f90,%edx
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0x0,-0x60(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x50(%rbp),%rsi
mov    $0x32,%edx
xor    %ecx,%ecx
mov    $0x0,%al
call   1030 <recv@plt>
cmp    $0x0,%rax
jge    12cc <main+0x10c>
lea    0xdda(%rip),%rdi
call   10b0 <perror@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13d8 <main+0x218>
lea    -0x50(%rbp),%rsi
lea    0xdd9(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    -0x5a(%rbp),%rsi
lea    0xdcb(%rip),%rdi
call   10a0 <scanf@plt>
mov    -0x8(%rbp),%edi
lea    -0x5a(%rbp),%rsi
mov    $0xa,%edx
xor    %ecx,%ecx
call   1060 <send@plt>
cmp    $0x0,%rax
jge    1323 <main+0x163>
lea    0xdab(%rip),%rdi
call   10b0 <perror@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13d8 <main+0x218>
mov    -0x8(%rbp),%edi
lea    -0x50(%rbp),%rsi
mov    $0x32,%edx
xor    %ecx,%ecx
mov    $0x0,%al
call   1030 <recv@plt>
cmp    $0x0,%rax
jge    135a <main+0x19a>
lea    0xd4c(%rip),%rdi
call   10b0 <perror@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13d8 <main+0x218>
lea    -0x50(%rbp),%rsi
lea    0xd70(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x8(%rbp),%edi
lea    -0x60(%rbp),%rsi
mov    $0x4,%edx
xor    %ecx,%ecx
mov    $0x0,%al
call   1030 <recv@plt>
cmp    $0x0,%rax
jge    13a3 <main+0x1e3>
lea    0xd03(%rip),%rdi
call   10b0 <perror@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13d8 <main+0x218>
mov    -0x60(%rbp),%edi
call   10d0 <ntohl@plt>
mov    %eax,%esi
lea    0xd48(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x8(%rbp),%edi
call   1080 <close@plt>
lea    0xd78(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %rbx
sub    $0x58,%rsp
lea    0xe33(%rip),%rdi
call   1040 <puts@plt>
mov    0x2e0f(%rip),%rbp
mov    0x0(%rbp),%edi
mov    0x2df5(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10e0 <socket@plt>
cmp    $0xffffffff,%eax
je     1337 <main+0x177>
mov    %eax,%ebx
mov    0x0(%rbp),%eax
mov    %eax,0x10(%rsp)
lea    0xe3e(%rip),%rdi
call   1090 <inet_addr@plt>
mov    %eax,0xc(%rsp)
mov    $0x1f90,%edi
call   1050 <htons@plt>
mov    %eax,0x8(%rsp)
lea    0x8(%rsp),%rsi
mov    %ebx,%edi
mov    $0xc,%edx
call   10c0 <connect@plt>
test   %rax,%rax
js     1340 <main+0x180>
lea    0xe33(%rip),%rdi
lea    0xdff(%rip),%rsi
mov    $0x1f90,%edx
xor    %eax,%eax
call   1070 <printf@plt>
movl   $0x0,0x4(%rsp)
lea    0x20(%rsp),%rsi
mov    $0x32,%edx
mov    %ebx,%edi
xor    %ecx,%ecx
xor    %eax,%eax
call   1030 <recv@plt>
test   %rax,%rax
js     132e <main+0x16e>
lea    0xe33(%rip),%rdi
lea    0x20(%rsp),%rsi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xe24(%rip),%rdi
lea    0x16(%rsp),%rbp
mov    %rbp,%rsi
call   10a0 <scanf@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0xa,%edx
xor    %ecx,%ecx
call   1060 <send@plt>
test   %rax,%rax
js     1349 <main+0x189>
lea    0x20(%rsp),%rsi
mov    $0x32,%edx
mov    %ebx,%edi
xor    %ecx,%ecx
xor    %eax,%eax
call   1030 <recv@plt>
test   %rax,%rax
js     132e <main+0x16e>
lea    0xdfd(%rip),%rdi
xor    %ebp,%ebp
lea    0x20(%rsp),%rsi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0x4(%rsp),%rsi
mov    $0x4,%edx
mov    %ebx,%edi
xor    %ecx,%ecx
xor    %eax,%eax
call   1030 <recv@plt>
test   %rax,%rax
js     132e <main+0x16e>
mov    0x4(%rsp),%edi
call   10d0 <ntohl@plt>
lea    0xdec(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %ebx,%edi
call   1080 <close@plt>
lea    0xe1b(%rip),%rdi
call   1040 <puts@plt>
jmp    135a <main+0x19a>
lea    0xd60(%rip),%rdi
jmp    1350 <main+0x190>
lea    0xcec(%rip),%rdi
jmp    1350 <main+0x190>
lea    0xd06(%rip),%rdi
jmp    1350 <main+0x190>
lea    0xd6d(%rip),%rdi
call   10b0 <perror@plt>
mov    $0xffffffff,%ebp
mov    %ebp,%eax
add    $0x58,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@.str = [42 x i8] c"Welcome to the Client Connection Program!\00"
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.1 = [25 x i8] c"Failed to create socket!\00"
@.str.2 = [10 x i8] c"127.0.0.1\00"
@.str.3 = [35 x i8] c"Failed to connect to remote server\00"
@.str.4 = [37 x i8] c"Connected to server: %s on Port: %d\0A\00"
@.str.5 = [27 x i8] c"Failed to receive message!\00"
@.str.6 = [4 x i8] c"\0A%s\00"
@.str.7 = [9 x i8] c"%[^\0A]%*c\00"
@.str.8 = [24 x i8] c"Failed to send message!\00"
@.str.9 = [39 x i8] c"\0AMessage received from the server: %s\0A\00"
@.str.10 = [70 x i8] c"\0ATotal number of client connections (at start of client program): %d\0A\00"
@.str.11 = [36 x i8] c"\0AThank you for using this program!\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca %struct.sockaddr_in
%4 = alloca [50 x i8]
%5 = alloca [10 x i8]
%6 = alloca i32
store i32 0, i32* %1
%7 = call i32 @puts(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0))
%8 = load i32, i32* @AF_INET
%9 = load i32, i32* @SOCK_STREAM
%10 = call i32 @socket(i32 %8, i32 %9, i32 0)
store i32 %10, i32* %2
%11 = load i32, i32* %2
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @perror(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
store i32 -1, i32* %1
br label %70
15: ; preds = %0
%16 = load i32, i32* @AF_INET
%17 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i32 0, i32 2
store i32 %16, i32* %17
%18 = call i32 @inet_addr(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%19 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i32 0, i32 1
%20 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %19, i32 0, i32 0
store i32 %18, i32* %20
%21 = call i32 @htons(i32 8080)
%22 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i32 0, i32 0
store i32 %21, i32* %22
%23 = load i32, i32* %2
%24 = bitcast %struct.sockaddr_in* %3 to %struct.sockaddr*
%25 = call i64 @connect(i32 %23, %struct.sockaddr* %24, i32 12)
%26 = icmp slt i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %15
%28 = call i32 @perror(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
store i32 -1, i32* %1
br label %70
29: ; preds = %15
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 8080)
store i32 0, i32* %6
%31 = load i32, i32* %2
%32 = getelementptr inbounds [50 x i8], [50 x i8]* %4, i64 0, i64 0
%33 = call i64 (i32, ...) @recv(i32 %31, i8* %32, i64 50, i32 0)
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 @perror(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
store i32 -1, i32* %1
br label %70
37: ; preds = %29
%38 = getelementptr inbounds [50 x i8], [50 x i8]* %4, i64 0, i64 0
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* %38)
%40 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 0
%41 = call i32 @scanf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* %40)
%42 = load i32, i32* %2
%43 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 0
%44 = call i64 @send(i32 %42, i8* %43, i32 10, i32 0)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %37
%47 = call i32 @perror(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0))
store i32 -1, i32* %1
br label %70
48: ; preds = %37
%49 = load i32, i32* %2
%50 = getelementptr inbounds [50 x i8], [50 x i8]* %4, i64 0, i64 0
%51 = call i64 (i32, ...) @recv(i32 %49, i8* %50, i64 50, i32 0)
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %48
%54 = call i32 @perror(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
store i32 -1, i32* %1
br label %70
55: ; preds = %48
%56 = getelementptr inbounds [50 x i8], [50 x i8]* %4, i64 0, i64 0
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), i8* %56)
%58 = load i32, i32* %2
%59 = call i64 (i32, ...) @recv(i32 %58, i32* %6, i64 4, i32 0)
%60 = icmp slt i64 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %55
%62 = call i32 @perror(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
store i32 -1, i32* %1
br label %70
63: ; preds = %55
%64 = load i32, i32* %6
%65 = call i32 @ntohl(i32 %64)
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.10, i64 0, i64 0), i32 %65)
%67 = load i32, i32* %2
%68 = call i32 @close(i32 %67)
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.11, i64 0, i64 0))
store i32 0, i32* %1
br label %70
70: ; preds = %63, %61, %53, %46, %35, %27, %13
%71 = load i32, i32* %1
ret i32 %71
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@.str = [42 x i8] c"Welcome to the Client Connection Program!\00"
@AF_INET = global i32 0
@SOCK_STREAM = global i32 0
@.str.1 = [25 x i8] c"Failed to create socket!\00"
@.str.2 = [10 x i8] c"127.0.0.1\00"
@.str.3 = [35 x i8] c"Failed to connect to remote server\00"
@.str.4 = [37 x i8] c"Connected to server: %s on Port: %d\0A\00"
@.str.5 = [27 x i8] c"Failed to receive message!\00"
@.str.6 = [4 x i8] c"\0A%s\00"
@.str.7 = [9 x i8] c"%[^\0A]%*c\00"
@.str.8 = [24 x i8] c"Failed to send message!\00"
@.str.9 = [39 x i8] c"\0AMessage received from the server: %s\0A\00"
@.str.10 = [70 x i8] c"\0ATotal number of client connections (at start of client program): %d\0A\00"
@str = [35 x i8] c"\0AThank you for using this program!\00"
define i32 @main() {
%1 = alloca %struct.sockaddr_in
%2 = alloca [50 x i8]
%3 = alloca [10 x i8]
%4 = alloca i32
%5 = bitcast %struct.sockaddr_in* %1 to i8*
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0))
%7 = load i32, i32* @AF_INET
%8 = load i32, i32* @SOCK_STREAM
%9 = tail call i32 @socket(i32 %7, i32 %8, i32 0)
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = tail call i32 @perror(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
br label %60
13: ; preds = %0
%14 = load i32, i32* @AF_INET
%15 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 2
store i32 %14, i32* %15
%16 = tail call i32 @inet_addr(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%17 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 1, i32 0
store i32 %16, i32* %17
%18 = tail call i32 @htons(i32 8080)
%19 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 0
store i32 %18, i32* %19
%20 = bitcast %struct.sockaddr_in* %1 to %struct.sockaddr*
%21 = call i64 @connect(i32 %9, %struct.sockaddr* %20, i32 12)
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %13
%24 = call i32 @perror(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
br label %60
25: ; preds = %13
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 8080)
%27 = getelementptr inbounds [50 x i8], [50 x i8]* %2, i64 0, i64 0
%28 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%29 = bitcast i32* %4 to i8*
store i32 0, i32* %4
%30 = call i64 (i32, ...) @recv(i32 %9, i8* %27, i64 50, i32 0)
%31 = icmp slt i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %25
%33 = call i32 @perror(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
br label %58
34: ; preds = %25
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* %27)
%36 = call i32 @scanf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* %28)
%37 = call i64 @send(i32 %9, i8* %28, i32 10, i32 0)
%38 = icmp slt i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %34
%40 = call i32 @perror(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0))
br label %58
41: ; preds = %34
%42 = call i64 (i32, ...) @recv(i32 %9, i8* %27, i64 50, i32 0)
%43 = icmp slt i64 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %41
%45 = call i32 @perror(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
br label %58
46: ; preds = %41
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), i8* %27)
%48 = call i64 (i32, ...) @recv(i32 %9, i32* %4, i64 4, i32 0)
%49 = icmp slt i64 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %46
%51 = call i32 @perror(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
br label %58
52: ; preds = %46
%53 = load i32, i32* %4
%54 = call i32 @ntohl(i32 %53)
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @.str.10, i64 0, i64 0), i32 %54)
%56 = call i32 @close(i32 %9)
%57 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str, i64 0, i64 0))
br label %58
58: ; preds = %52, %50, %44, %39, %32
%59 = phi i32 [ -1, %32 ], [ -1, %39 ], [ -1, %44 ], [ -1, %50 ], [ 0, %52 ]
br label %60
60: ; preds = %58, %23, %11
%61 = phi i32 [ -1, %11 ], [ -1, %23 ], [ %59, %58 ]
ret i32 %61
}