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

/* Variables and functions */
int /*<<< orphan*/ AF_INET;
int /*<<< orphan*/ INADDR_ANY;
int /*<<< orphan*/ SOCK_DGRAM;
int /*<<< orphan*/ SOL_SOCKET;
int /*<<< orphan*/ SO_REUSEADDR;
int atoi(int /*<<< orphan*/);
scalar_t__ bind(int, struct sockaddr *, int);
int /*<<< orphan*/ bzero(char *, int);
int /*<<< orphan*/ fatal_error(char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, int);
int getopt(int, char **, char *);
int /*<<< orphan*/ htonl(int /*<<< orphan*/);
int /*<<< orphan*/ htons(unsigned short);
int /*<<< orphan*/ optarg;
int /*<<< orphan*/ printf(char *, ...);
int recvfrom(int, char *, int, int /*<<< orphan*/, struct sockaddr *,
             int /*<<< orphan*/ *);
int /*<<< orphan*/ setsockopt(int, int /*<<< orphan*/, int /*<<< orphan*/,
                              void const *, int);
int socket(int /*<<< orphan*/, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ usage();
int main(int argc, char **argv) {
  printf("GASPI Logger (v1.2)\n");
  int portno = 17825;
  int opt;
  while ((opt = getopt(argc, argv, "hp:")) != -1) {
    switch (opt) {
    case 'h': {
      usage();
      return 0;
    }
    case 'p': {
      portno = atoi(optarg);
      if (portno < 1024 || portno > 65535) {
        fprintf(stderr, "Invalid port %d\n", portno);
        usage();
        return 1;
      }
      break;
    }
    default: {
      usage();
      return 1;
    }
    }
  }
  int sockfd = socket(AF_INET, SOCK_DGRAM, 0);
  if (sockfd < 0) {
    fatal_error("gaspi_logger: error creating socket");
  }
  int optval = 1;
  setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, (const void *)&optval,
             sizeof(int));
  struct sockaddr_in serveraddr;
  bzero((char *)&serveraddr, sizeof(serveraddr));
  serveraddr.sin_family = AF_INET;
  serveraddr.sin_addr.s_addr = htonl(INADDR_ANY);
  serveraddr.sin_port = htons((unsigned short)portno);
  if (bind(sockfd, (struct sockaddr *)&serveraddr, sizeof(serveraddr)) < 0) {
    fatal_error("gaspi_logger: error binding to socket. Is gaspi_logger "
                "already running?");
  }
  struct sockaddr_in clientaddr;
  socklen_t clientlen = (socklen_t)sizeof(clientaddr);
  int n;
  char buf[1024];
  while (1) {
    bzero(buf, 1024);
    n = recvfrom(sockfd, buf, 1024, 0, (struct sockaddr *)&clientaddr,
                 &clientlen);
    if (n < 0) {
      fatal_error("gaspi_logger: error receiving message");
    }
    printf("%s", buf);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x460,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xe10(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x45a1,-0x14(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe09(%rip),%rdx
call   10d0 <getopt@plt>
mov    %eax,-0x18(%rbp)
cmp    $0xffffffff,%eax
je     12ce <main+0xfe>
mov    -0x18(%rbp),%eax
mov    %eax,-0x454(%rbp)
sub    $0x68,%eax
je     1248 <main+0x78>
jmp    1234 <main+0x64>
mov    -0x454(%rbp),%eax
sub    $0x70,%eax
je     125b <main+0x8b>
jmp    12b6 <main+0xe6>
mov    $0x0,%al
call   10a0 <usage@plt>
movl   $0x0,-0x4(%rbp)
jmp    13f4 <main+0x224>
mov    0x2d96(%rip),%rax
mov    (%rax),%edi
call   10e0 <atoi@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x400,-0x14(%rbp)
jl     1286 <main+0xb6>
cmpl   $0xffff,-0x14(%rbp)
jle    12b1 <main+0xe1>
mov    0x2d2b(%rip),%rax
mov    (%rax),%edi
mov    -0x14(%rbp),%edx
lea    0xd80(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0x0,%al
call   10a0 <usage@plt>
movl   $0x1,-0x4(%rbp)
jmp    13f4 <main+0x224>
jmp    12c9 <main+0xf9>
mov    $0x0,%al
call   10a0 <usage@plt>
movl   $0x1,-0x4(%rbp)
jmp    13f4 <main+0x224>
jmp    11fe <main+0x2e>
mov    0x2d03(%rip),%rax
mov    (%rax),%edi
mov    0x2cea(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   10f0 <socket@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
jge    1300 <main+0x130>
lea    0xd2f(%rip),%rdi
call   1080 <fatal_error@plt>
movl   $0x1,-0x20(%rbp)
mov    -0x1c(%rbp),%edi
mov    0x2ccf(%rip),%rax
mov    (%rax),%esi
mov    0x2c96(%rip),%rax
mov    (%rax),%edx
lea    -0x20(%rbp),%rcx
mov    $0x4,%r8d
call   1030 <setsockopt@plt>
lea    -0x30(%rbp),%rdi
mov    $0xc,%esi
call   10c0 <bzero@plt>
mov    0x2c98(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x28(%rbp)
mov    0x2c84(%rip),%rax
mov    (%rax),%edi
call   1060 <htonl@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x14(%rbp),%eax
movzwl %ax,%edi
call   1040 <htons@plt>
mov    %eax,-0x30(%rbp)
mov    -0x1c(%rbp),%edi
lea    -0x30(%rbp),%rsi
mov    $0xc,%edx
call   10b0 <bind@plt>
cmp    $0x0,%rax
jge    138b <main+0x1bb>
lea    0xcc8(%rip),%rdi
call   1080 <fatal_error@plt>
movl   $0xc,-0x44(%rbp)
lea    -0x450(%rbp),%rdi
mov    $0x400,%esi
call   10c0 <bzero@plt>
mov    -0x1c(%rbp),%edi
lea    -0x450(%rbp),%rsi
lea    -0x40(%rbp),%r8
mov    $0x400,%edx
xor    %ecx,%ecx
lea    -0x44(%rbp),%r9
call   1090 <recvfrom@plt>
mov    %eax,-0x48(%rbp)
cmpl   $0x0,-0x48(%rbp)
jge    13da <main+0x20a>
lea    0xcc1(%rip),%rdi
call   1080 <fatal_error@plt>
lea    -0x450(%rbp),%rsi
lea    0xcd4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1392 <main+0x1c2>
mov    -0x4(%rbp),%eax
add    $0x460,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x438,%rsp
mov    %rsi,%r14
mov    %edi,%ebx
lea    0xead(%rip),%rdi
call   1030 <puts@plt>
mov    $0x45a1,%ebp
lea    0xdf2(%rip),%r15
mov    0x2de3(%rip),%r12
cs nopw 0x0(%rax,%rax,1)
nop
mov    %ebx,%edi
mov    %r14,%rsi
mov    %r15,%rdx
call   10e0 <getopt@plt>
cmp    $0x70,%eax
jne    1262 <main+0x82>
mov    (%r12),%edi
call   10f0 <atoi@plt>
mov    %eax,%ebp
add    $0xffff0000,%eax
cmp    $0xffff03ff,%eax
ja     1220 <main+0x40>
mov    0x2d68(%rip),%rax
mov    (%rax),%edi
lea    0xdab(%rip),%rsi
mov    %ebp,%edx
call   1080 <fprintf@plt>
jmp    1270 <main+0x90>
cmp    $0xffffffff,%eax
je     1290 <main+0xb0>
cmp    $0x68,%eax
jne    1270 <main+0x90>
xor    %ebx,%ebx
jmp    1275 <main+0x95>
mov    $0x1,%ebx
xor    %eax,%eax
call   10b0 <usage@plt>
mov    %ebx,%eax
add    $0x438,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2d41(%rip),%r15
mov    (%r15),%edi
mov    0x2d27(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1100 <socket@plt>
mov    %eax,%r14d
test   %eax,%eax
jns    12bd <main+0xdd>
lea    0xd5d(%rip),%rdi
call   1090 <fatal_error@plt>
movl   $0x1,0xc(%rsp)
mov    0x2d14(%rip),%rax
mov    (%rax),%esi
mov    0x2cdb(%rip),%rax
mov    (%rax),%edx
lea    0xc(%rsp),%rcx
mov    %r14d,%edi
mov    $0x4,%r8d
call   1040 <setsockopt@plt>
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    $0xc,%esi
call   10d0 <bzero@plt>
mov    (%r15),%eax
mov    %eax,0x18(%rsp)
mov    0x2cc6(%rip),%rax
mov    (%rax),%edi
call   1070 <htonl@plt>
mov    %eax,0x14(%rsp)
movzwl %bp,%edi
call   1050 <htons@plt>
mov    %eax,0x10(%rsp)
mov    %r14d,%edi
mov    %rbx,%rsi
mov    $0xc,%edx
call   10c0 <bind@plt>
test   %rax,%rax
jns    1342 <main+0x162>
lea    0xcfc(%rip),%rdi
call   1090 <fatal_error@plt>
movl   $0xc,0x8(%rsp)
lea    0x30(%rsp),%rbp
lea    0x20(%rsp),%r15
lea    0x8(%rsp),%r13
lea    0xd21(%rip),%r12
lea    0xd40(%rip),%rbx
jmp    137d <main+0x19d>
nopl   0x0(%rax)
mov    %rbx,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbp,%rdi
mov    $0x400,%esi
call   10d0 <bzero@plt>
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0x400,%edx
xor    %ecx,%ecx
mov    %r15,%r8
mov    %r13,%r9
call   10a0 <recvfrom@plt>
test   %eax,%eax
jns    1370 <main+0x190>
mov    %r12,%rdi
call   1090 <fatal_error@plt>
jmp    1370 <main+0x190>

LLVM IR (-O0):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@.str = [21 x i8] c"GASPI Logger (v1.2)\0A\00"
@.str.1 = [4 x i8] c"hp:\00"
@optarg = global i32 0
@stderr = global i32 0
@.str.2 = [17 x i8] c"Invalid port %d\0A\00"
@AF_INET = global i32 0
@SOCK_DGRAM = global i32 0
@.str.3 = [36 x i8] c"gaspi_logger: error creating socket\00"
@SOL_SOCKET = global i32 0
@SO_REUSEADDR = global i32 0
@INADDR_ANY = global i32 0
@.str.4 = [72 x i8] c"gaspi_logger: error binding to socket. Is gaspi_logger already running?\00"
@.str.5 = [38 x i8] c"gaspi_logger: error receiving message\00"
@.str.6 = [3 x i8] c"%s\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 i32
%10 = alloca %struct.sockaddr_in
%11 = alloca %struct.sockaddr_in
%12 = alloca i32
%13 = alloca i32
%14 = alloca [1024 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
store i32 17825, i32* %6
br label %16
16: ; preds = %41, %2
%17 = load i32, i32* %4
%18 = load i8**, i8*** %5
%19 = call i32 @getopt(i32 %17, i8** %18, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
store i32 %19, i32* %7
%20 = icmp ne i32 %19, -1
br i1 %20, label %21, label %42
21: ; preds = %16
%22 = load i32, i32* %7
switch i32 %22, label %39 [
i32 104, label %23
i32 112, label %25
]
23: ; preds = %21
%24 = call i32 (...) @usage()
store i32 0, i32* %3
br label %89
25: ; preds = %21
%26 = load i32, i32* @optarg
%27 = call i32 @atoi(i32 %26)
store i32 %27, i32* %6
%28 = load i32, i32* %6
%29 = icmp slt i32 %28, 1024
br i1 %29, label %33, label %30
30: ; preds = %25
%31 = load i32, i32* %6
%32 = icmp sgt i32 %31, 65535
br i1 %32, label %33, label %38
33: ; preds = %30, %25
%34 = load i32, i32* @stderr
%35 = load i32, i32* %6
%36 = call i32 @fprintf(i32 %34, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %35)
%37 = call i32 (...) @usage()
store i32 1, i32* %3
br label %89
38: ; preds = %30
br label %41
39: ; preds = %21
%40 = call i32 (...) @usage()
store i32 1, i32* %3
br label %89
41: ; preds = %38
br label %16
42: ; preds = %16
%43 = load i32, i32* @AF_INET
%44 = load i32, i32* @SOCK_DGRAM
%45 = call i32 @socket(i32 %43, i32 %44, i32 0)
store i32 %45, i32* %8
%46 = load i32, i32* %8
%47 = icmp slt i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %42
%49 = call i32 @fatal_error(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.3, i64 0, i64 0))
br label %50
50: ; preds = %48, %42
store i32 1, i32* %9
%51 = load i32, i32* %8
%52 = load i32, i32* @SOL_SOCKET
%53 = load i32, i32* @SO_REUSEADDR
%54 = bitcast i32* %9 to i8*
%55 = call i32 @setsockopt(i32 %51, i32 %52, i32 %53, i8* %54, i32 4)
%56 = bitcast %struct.sockaddr_in* %10 to i8*
%57 = call i32 @bzero(i8* %56, i32 12)
%58 = load i32, i32* @AF_INET
%59 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %10, i32 0, i32 2
store i32 %58, i32* %59
%60 = load i32, i32* @INADDR_ANY
%61 = call i32 @htonl(i32 %60)
%62 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %10, i32 0, i32 1
%63 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %62, i32 0, i32 0
store i32 %61, i32* %63
%64 = load i32, i32* %6
%65 = trunc i32 %64 to i16
%66 = call i32 @htons(i16 zeroext %65)
%67 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %10, i32 0, i32 0
store i32 %66, i32* %67
%68 = load i32, i32* %8
%69 = bitcast %struct.sockaddr_in* %10 to %struct.sockaddr*
%70 = call i64 @bind(i32 %68, %struct.sockaddr* %69, i32 12)
%71 = icmp slt i64 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %50
%73 = call i32 @fatal_error(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.4, i64 0, i64 0))
br label %74
74: ; preds = %72, %50
store i32 12, i32* %12
br label %75
75: ; preds = %74, %86
%76 = getelementptr inbounds [1024 x i8], [1024 x i8]* %14, i64 0, i64 0
%77 = call i32 @bzero(i8* %76, i32 1024)
%78 = load i32, i32* %8
%79 = getelementptr inbounds [1024 x i8], [1024 x i8]* %14, i64 0, i64 0
%80 = bitcast %struct.sockaddr_in* %11 to %struct.sockaddr*
%81 = call i32 @recvfrom(i32 %78, i8* %79, i32 1024, i32 0, %struct.sockaddr* %80, i32* %12)
store i32 %81, i32* %13
%82 = load i32, i32* %13
%83 = icmp slt i32 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %75
%85 = call i32 @fatal_error(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0))
br label %86
86: ; preds = %84, %75
%87 = getelementptr inbounds [1024 x i8], [1024 x i8]* %14, i64 0, i64 0
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* %87)
br label %75
89: ; preds = %39, %33, %23
%90 = load i32, i32* %3
ret i32 %90
}

LLVM IR (-O2):
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr = type { i32 }
@.str.1 = [4 x i8] c"hp:\00"
@optarg = global i32 0
@stderr = global i32 0
@.str.2 = [17 x i8] c"Invalid port %d\0A\00"
@AF_INET = global i32 0
@SOCK_DGRAM = global i32 0
@.str.3 = [36 x i8] c"gaspi_logger: error creating socket\00"
@SOL_SOCKET = global i32 0
@SO_REUSEADDR = global i32 0
@INADDR_ANY = global i32 0
@.str.4 = [72 x i8] c"gaspi_logger: error binding to socket. Is gaspi_logger already running?\00"
@.str.5 = [38 x i8] c"gaspi_logger: error receiving message\00"
@.str.6 = [3 x i8] c"%s\00"
@str = [20 x i8] c"GASPI Logger (v1.2)\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca %struct.sockaddr_in
%5 = alloca %struct.sockaddr_in
%6 = alloca i32
%7 = alloca [1024 x i8]
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str, i64 0, i64 0))
br label %9
9: ; preds = %12, %2
%10 = phi i32 [ 17825, %2 ], [ %14, %12 ]
%11 = tail call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
switch i32 %11, label %60 [
i32 -1, label %20
i32 104, label %61
i32 112, label %12
]
12: ; preds = %9
%13 = load i32, i32* @optarg
%14 = tail call i32 @atoi(i32 %13)
%15 = add i32 %14, -65536
%16 = icmp ult i32 %15, -64512
br i1 %16, label %17, label %9
17: ; preds = %12
%18 = load i32, i32* @stderr
%19 = tail call i32 @fprintf(i32 %18, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %14)
br label %61
20: ; preds = %9
%21 = load i32, i32* @AF_INET
%22 = load i32, i32* @SOCK_DGRAM
%23 = tail call i32 @socket(i32 %21, i32 %22, i32 0)
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %20
%26 = tail call i32 @fatal_error(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.3, i64 0, i64 0))
br label %27
27: ; preds = %25, %20
%28 = bitcast i32* %3 to i8*
store i32 1, i32* %3
%29 = load i32, i32* @SOL_SOCKET
%30 = load i32, i32* @SO_REUSEADDR
%31 = call i32 @setsockopt(i32 %23, i32 %29, i32 %30, i8* %28, i32 4)
%32 = bitcast %struct.sockaddr_in* %4 to i8*
%33 = call i32 @bzero(i8* %32, i32 12)
%34 = load i32, i32* @AF_INET
%35 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 2
store i32 %34, i32* %35
%36 = load i32, i32* @INADDR_ANY
%37 = call i32 @htonl(i32 %36)
%38 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 1, i32 0
store i32 %37, i32* %38
%39 = trunc i32 %10 to i16
%40 = call i32 @htons(i16 zeroext %39)
%41 = getelementptr inbounds %struct.sockaddr_in, %struct.sockaddr_in* %4, i64 0, i32 0
store i32 %40, i32* %41
%42 = bitcast %struct.sockaddr_in* %4 to %struct.sockaddr*
%43 = call i64 @bind(i32 %23, %struct.sockaddr* %42, i32 12)
%44 = icmp slt i64 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %27
%46 = call i32 @fatal_error(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.4, i64 0, i64 0))
br label %47
47: ; preds = %45, %27
%48 = bitcast %struct.sockaddr_in* %5 to i8*
%49 = bitcast i32* %6 to i8*
store i32 12, i32* %6
%50 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%51 = bitcast %struct.sockaddr_in* %5 to %struct.sockaddr*
br label %52
52: ; preds = %58, %47
%53 = call i32 @bzero(i8* %50, i32 1024)
%54 = call i32 @recvfrom(i32 %23, i8* %50, i32 1024, i32 0, %struct.sockaddr* %51, i32* %6)
%55 = icmp slt i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %52
%57 = call i32 @fatal_error(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0))
br label %58
58: ; preds = %56, %52
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* %50)
br label %52
60: ; preds = %9
br label %61
61: ; preds = %9, %60, %17
%62 = phi i32 [ 1, %17 ], [ 1, %60 ], [ 0, %9 ]
%63 = tail call i32 (...) @usage()
ret i32 %62
}