#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 socklen_t;
typedef int /*<<< orphan*/ remaddr;
typedef int /*<<< orphan*/ myaddr;

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ INADDR_ANY;
int /*<<< orphan*/ SOCK_DGRAM;
scalar_t__ bind(int, struct sockaddr *, int);
int /*<<< orphan*/ close(int);
int /*<<< orphan*/ htonl(int /*<<< orphan*/);
int /*<<< orphan*/ htons(int);
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int recvfrom(int, unsigned char *, int, int /*<<< orphan*/, struct sockaddr *,
             int *);
scalar_t__ sendto(int, unsigned char *, int /*<<< orphan*/, int /*<<< orphan*/,
                  struct sockaddr *, int);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ sprintf(char *, char *, int /*<<< orphan*/);
int /*<<< orphan*/ strlen(char *);
int main(void) {
  int fd;
  struct sockaddr_in myaddr;
  struct sockaddr_in remaddr;
  socklen_t addrlen = sizeof(remaddr);
  int recvlen;
  int msgcnt = 0;
  unsigned char buf[2048] = {0};
  if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
    printf("cannot create socket\n");
    return 0;
  }
  memset((char *)&myaddr, 0, sizeof(myaddr));
  myaddr.sin_family = AF_INET;
  myaddr.sin_addr.s_addr = htonl(INADDR_ANY);
  myaddr.sin_port = htons(11111);
  if (bind(fd, (struct sockaddr *)&myaddr, sizeof(myaddr)) < 0) {
    printf("bind error\n");
    close(fd);
    return 0;
  }
  for (;;) {
    printf("Waiting on port %d\n", 11111);
    recvlen = recvfrom(fd, buf, 2048, 0, (struct sockaddr *)&remaddr, &addrlen);
    if (recvlen > 0) {
      buf[recvlen] = 0;
      printf("received message: \"%s\" (%d bytes)\n", buf, recvlen);
    } else if (recvlen == 0) {
      printf("received close\n");
      printf("total message:%d\n", msgcnt);
      break;
    } else {
      printf("recvfrom error\n");
    }
    sprintf((char *)buf, "ack %d", msgcnt++);
    printf("sending response \"%s\"\n", buf);
    if (sendto(fd, buf, strlen((char *)buf), 0, (struct sockaddr *)&remaddr,
               addrlen) < 0)
      printf("sendto error\n");
  }
  close(fd);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x850,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0xc,-0x2c(%rbp)
movl   $0x0,-0x34(%rbp)
lea    -0x840(%rbp),%rdi
xor    %esi,%esi
mov    $0x800,%edx
call   1070 <memset@plt>
mov    0x2dfe(%rip),%rax
mov    (%rax),%edi
mov    0x2de5(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10d0 <socket@plt>
mov    %eax,-0x8(%rbp)
cmp    $0x0,%eax
jge    1222 <main+0x72>
lea    0xdf1(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13e6 <main+0x236>
lea    -0x18(%rbp),%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   1070 <memset@plt>
mov    0x2daf(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x10(%rbp)
mov    0x2d9b(%rip),%rax
mov    (%rax),%edi
call   1060 <htonl@plt>
mov    %eax,-0x14(%rbp)
mov    $0x2b67,%edi
call   1040 <htons@plt>
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x18(%rbp),%rsi
mov    $0xc,%edx
call   10b0 <bind@plt>
cmp    $0x0,%rax
jge    1299 <main+0xe9>
lea    0xd98(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%edi
call   1090 <close@plt>
movl   $0x0,-0x4(%rbp)
jmp    13e6 <main+0x236>
jmp    129e <main+0xee>
lea    0xd7d(%rip),%rdi
mov    $0x2b67,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%edi
lea    -0x840(%rbp),%rsi
lea    -0x28(%rbp),%r8
mov    $0x800,%edx
xor    %ecx,%ecx
lea    -0x2c(%rbp),%r9
call   10a0 <recvfrom@plt>
mov    %eax,-0x30(%rbp)
cmpl   $0x0,-0x30(%rbp)
jle    1305 <main+0x155>
movslq -0x30(%rbp),%rax
movb   $0x0,-0x840(%rbp,%rax,1)
lea    -0x840(%rbp),%rsi
mov    -0x30(%rbp),%edx
lea    0xd3d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1346 <main+0x196>
cmpl   $0x0,-0x30(%rbp)
jne    1333 <main+0x183>
lea    0xd43(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x34(%rbp),%esi
lea    0xd42(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13d7 <main+0x227>
lea    0xd41(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1346 <main+0x196>
lea    -0x840(%rbp),%rdi
mov    -0x34(%rbp),%edx
mov    %edx,%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
lea    0xd2c(%rip),%rsi
call   10c0 <sprintf@plt>
lea    -0x840(%rbp),%rsi
lea    0xd20(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x84c(%rbp)
lea    -0x840(%rbp),%rax
mov    %rax,-0x848(%rbp)
lea    -0x840(%rbp),%rdi
call   1030 <strlen@plt>
mov    -0x84c(%rbp),%edi
mov    -0x848(%rbp),%rsi
mov    %eax,%edx
lea    -0x28(%rbp),%r8
mov    -0x2c(%rbp),%r9d
xor    %ecx,%ecx
call   1080 <sendto@plt>
cmp    $0x0,%rax
jge    13d2 <main+0x222>
lea    0xcde(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    129e <main+0xee>
mov    -0x8(%rbp),%edi
call   1090 <close@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x850,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x838,%rsp
movl   $0xc,0xc(%rsp)
lea    0x30(%rsp),%rdi
mov    $0x800,%edx
xor    %esi,%esi
call   1080 <memset@plt>
mov    0x2df7(%rip),%rbp
mov    0x0(%rbp),%edi
mov    0x2ddd(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10e0 <socket@plt>
test   %eax,%eax
js     134f <main+0x18f>
mov    %eax,%r15d
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0xc,%edx
call   1080 <memset@plt>
mov    0x0(%rbp),%eax
mov    %eax,0x18(%rsp)
mov    0x2daf(%rip),%rax
mov    (%rax),%edi
call   1070 <htonl@plt>
mov    %eax,0x14(%rsp)
mov    $0x2b67,%edi
call   1050 <htons@plt>
mov    %eax,0x10(%rsp)
mov    %r15d,%edi
mov    %rbx,%rsi
mov    $0xc,%edx
call   10c0 <bind@plt>
test   %rax,%rax
js     135d <main+0x19d>
lea    0x30(%rsp),%rbx
lea    0x20(%rsp),%r12
lea    0xdd5(%rip),%r14
lea    0xdd5(%rip),%r13
xor    %ebp,%ebp
jmp    1283 <main+0xc3>
nop
add    $0x1,%ebp
lea    0xd76(%rip),%rdi
mov    $0x2b67,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r15d,%edi
mov    %rbx,%rsi
mov    $0x800,%edx
xor    %ecx,%ecx
mov    %r12,%r8
lea    0xc(%rsp),%r9
call   10b0 <recvfrom@plt>
test   %eax,%eax
jle    12d0 <main+0x110>
mov    %eax,%ecx
movb   $0x0,0x30(%rsp,%rcx,1)
lea    0xd52(%rip),%rdi
mov    %rbx,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
jmp    12de <main+0x11e>
je     1331 <main+0x171>
lea    0xd8e(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %ebp,%edx
call   10d0 <sprintf@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    0xc(%rsp),%r9d
mov    %r15d,%edi
mov    %rbx,%rsi
mov    %eax,%edx
xor    %ecx,%ecx
mov    %r12,%r8
call   1090 <sendto@plt>
test   %rax,%rax
jns    1280 <main+0xc0>
lea    0xd4f(%rip),%rdi
call   1030 <puts@plt>
jmp    1280 <main+0xc0>
lea    0xd4b(%rip),%rdi
call   1030 <puts@plt>
lea    0xcf3(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1060 <printf@plt>
jmp    1369 <main+0x1a9>
lea    0xd47(%rip),%rdi
call   1030 <puts@plt>
jmp    1371 <main+0x1b1>
lea    0xd2e(%rip),%rdi
call   1030 <puts@plt>
mov    %r15d,%edi
call   10a0 <close@plt>
xor    %eax,%eax
add    $0x838,%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.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_DGRAM = global i32 0
@.str = [22 x i8] c"cannot create socket\0A\00"
@INADDR_ANY = global i32 0
@.str.1 = [12 x i8] c"bind error\0A\00"
@.str.2 = [20 x i8] c"Waiting on port %d\0A\00"
@.str.3 = [35 x i8] c"received message: \22%s\22 (%d bytes)\0A\00"
@.str.4 = [16 x i8] c"received close\0A\00"
@.str.5 = [18 x i8] c"total message:%d\0A\00"
@.str.6 = [16 x i8] c"recvfrom error\0A\00"
@.str.7 = [7 x i8] c"ack %d\00"
@.str.8 = [23 x i8] c"sending response \22%s\22\0A\00"
@.str.9 = [14 x i8] c"sendto error\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca %struct.sockaddr_in
%4 = alloca %struct.sockaddr_in
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca [2048 x i8]
store i32 0, i32* %1
store i32 12, i32* %5
store i32 0, i32* %7
%9 = bitcast [2048 x i8]* %8 to i8*
%10 = load i32, i32* @AF_INET
%11 = load i32, i32* @SOCK_DGRAM
%12 = call i32 @socket(i32 %10, i32 %11, i32 0)
store i32 %12, i32* %2
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %1
br label %82
16: ; preds = %0
%17 = bitcast %struct.sockaddr_in* %3 to i8*
%18 = call i32 @memset(i8* %17, i32 0, i32 12)
%19 = load i32, i32* @AF_INET
%20 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i32 0, i32 2
store i32 %19, i32* %20
%21 = load i32, i32* @INADDR_ANY
%22 = call i32 @htonl(i32 %21)
%23 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i32 0, i32 1
%24 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %23, i32 0, i32 0
store i32 %22, i32* %24
%25 = call i32 @htons(i32 11111)
%26 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %3, i32 0, i32 0
store i32 %25, i32* %26
%27 = load i32, i32* %2
%28 = bitcast %struct.sockaddr_in* %3 to %struct.sockaddr*
%29 = call i64 @bind(i32 %27, %struct.sockaddr* %28, i32 12)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %16
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%33 = load i32, i32* %2
%34 = call i32 @close(i32 %33)
store i32 0, i32* %1
br label %82
35: ; preds = %16
br label %36
36: ; preds = %78, %35
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i32 11111)
%38 = load i32, i32* %2
%39 = getelementptr inbounds [2048 x i8], [2048 x i8]* %8, i64 0, i64 0
%40 = bitcast %struct.sockaddr_in* %4 to %struct.sockaddr*
%41 = call i32 @recvfrom(i32 %38, i8* %39, i32 2048, i32 0, %struct.sockaddr* %40, i32* %5)
store i32 %41, i32* %6
%42 = load i32, i32* %6
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %51
44: ; preds = %36
%45 = load i32, i32* %6
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [2048 x i8], [2048 x i8]* %8, i64 0, i64 %46
store i8 0, i8* %47
%48 = getelementptr inbounds [2048 x i8], [2048 x i8]* %8, i64 0, i64 0
%49 = load i32, i32* %6
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0), i8* %48, i32 %49)
br label %61
51: ; preds = %36
%52 = load i32, i32* %6
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %58
54: ; preds = %51
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0))
%56 = load i32, i32* %7
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 %56)
br label %79
58: ; preds = %51
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0))
br label %60
60: ; preds = %58
br label %61
61: ; preds = %60, %44
%62 = getelementptr inbounds [2048 x i8], [2048 x i8]* %8, i64 0, i64 0
%63 = load i32, i32* %7
%64 = add nsw i32 %63, 1
store i32 %64, i32* %7
%65 = call i32 @sprintf(i8* %62, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0), i32 %63)
%66 = getelementptr inbounds [2048 x i8], [2048 x i8]* %8, i64 0, i64 0
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0), i8* %66)
%68 = load i32, i32* %2
%69 = getelementptr inbounds [2048 x i8], [2048 x i8]* %8, i64 0, i64 0
%70 = getelementptr inbounds [2048 x i8], [2048 x i8]* %8, i64 0, i64 0
%71 = call i32 @strlen(i8* %70)
%72 = bitcast %struct.sockaddr_in* %4 to %struct.sockaddr*
%73 = load i32, i32* %5
%74 = call i64 @sendto(i32 %68, i8* %69, i32 %71, i32 0, %struct.sockaddr* %72, i32 %73)
%75 = icmp slt i64 %74, 0
br i1 %75, label %76, label %78
76: ; preds = %61
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0))
br label %78
78: ; preds = %76, %61
br label %36
79: ; preds = %54
%80 = load i32, i32* %2
%81 = call i32 @close(i32 %80)
store i32 0, i32* %1
br label %82
82: ; preds = %79, %31, %14
%83 = load i32, i32* %1
ret i32 %83
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@AF_INET = global i32 0
@SOCK_DGRAM = global i32 0
@INADDR_ANY = global i32 0
@.str.2 = [20 x i8] c"Waiting on port %d\0A\00"
@.str.3 = [35 x i8] c"received message: \22%s\22 (%d bytes)\0A\00"
@.str.5 = [18 x i8] c"total message:%d\0A\00"
@.str.7 = [7 x i8] c"ack %d\00"
@.str.8 = [23 x i8] c"sending response \22%s\22\0A\00"
@str = [15 x i8] c"recvfrom error\00"
@str.10 = [13 x i8] c"sendto error\00"
@str.11 = [15 x i8] c"received close\00"
@str.12 = [11 x i8] c"bind error\00"
@str.13 = [21 x i8] c"cannot create socket\00"
define i32 @main() {
%1 = alloca %struct.sockaddr_in
%2 = alloca %struct.sockaddr_in
%3 = alloca i32
%4 = alloca [2048 x i8]
%5 = bitcast %struct.sockaddr_in* %1 to i8*
%6 = bitcast %struct.sockaddr_in* %2 to i8*
%7 = bitcast i32* %3 to i8*
store i32 12, i32* %3
%8 = getelementptr inbounds [2048 x i8], [2048 x i8]* %4, i64 0, i64 0
%9 = load i32, i32* @AF_INET
%10 = load i32, i32* @SOCK_DGRAM
%11 = tail call i32 @socket(i32 %9, i32 %10, i32 0)
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.13, i64 0, i64 0))
br label %60
15: ; preds = %0
%16 = call i32 @memset(i8* %5, 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 = load i32, i32* @INADDR_ANY
%20 = call i32 @htonl(i32 %19)
%21 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 1, i32 0
store i32 %20, i32* %21
%22 = call i32 @htons(i32 11111)
%23 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %1, i64 0, i32 0
store i32 %22, i32* %23
%24 = bitcast %struct.sockaddr_in* %1 to %struct.sockaddr*
%25 = call i64 @bind(i32 %11, %struct.sockaddr* %24, i32 12)
%26 = icmp slt i64 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %15
%28 = bitcast %struct.sockaddr_in* %2 to %struct.sockaddr*
br label %32
29: ; preds = %15
%30 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.12, i64 0, i64 0))
%31 = call i32 @close(i32 %11)
br label %60
32: ; preds = %59, %27
%33 = phi i32 [ 0, %27 ], [ %50, %59 ]
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i32 11111)
%35 = call i32 @recvfrom(i32 %11, i8* %8, i32 2048, i32 0, %struct.sockaddr* %28, i32* %3)
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %32
%38 = zext i32 %35 to i64
%39 = getelementptr inbounds [2048 x i8], [2048 x i8]* %4, i64 0, i64 %38
store i8 0, i8* %39
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0), i8* %8, i32 %35)
br label %49
41: ; preds = %32
%42 = icmp eq i32 %35, 0
br i1 %42, label %43, label %47
43: ; preds = %41
%44 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.11, i64 0, i64 0))
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 %33)
%46 = call i32 @close(i32 %11)
br label %60
47: ; preds = %41
%48 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str, i64 0, i64 0))
br label %49
49: ; preds = %47, %37
%50 = add nuw nsw i32 %33, 1
%51 = call i32 @sprintf(i8* %8, i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0), i32 %33)
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0), i8* %8)
%53 = call i32 @strlen(i8* %8)
%54 = load i32, i32* %3
%55 = call i64 @sendto(i32 %11, i8* %8, i32 %53, i32 0, %struct.sockaddr* %28, i32 %54)
%56 = icmp slt i64 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %49
%58 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.10, i64 0, i64 0))
br label %59
59: ; preds = %57, %49
br label %32
60: ; preds = %43, %29, %13
ret i32 0
}