#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 */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ puts(char *);
void usage(void) {
  puts("usage: metaserver [ -v ] [ -l IP ] [ -p <port> ] [ host:port ... ]");
  puts("  -v		display version number and exit");
  puts("  -l IP	listen only on interface for IP");
  puts("  -p <port>	listen for connection on <port> (default is 8875)\n");
  puts("  if no arguments are given, defaults to 127.0.0.1:8888");
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf26(%rip),%rdi
call   1030 <puts@plt>
lea    0xf42(%rip),%rdi
call   1030 <puts@plt>
lea    0xf75(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf29(%rip),%rdi
call   1030 <puts@plt>
lea    0xf45(%rip),%rdi
call   1030 <puts@plt>
lea    0xf78(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [67 x i8] c"usage: metaserver [ -v ] [ -l IP ] [ -p <port> ] [ host:port ... ]\00"
@.str.1 = [38 x i8] c" -v\09\09display version number and exit\00"
@.str.2 = [40 x i8] c" -l IP\09listen only on interface for IP\00"
@.str.3 = [63 x i8] c" -p <port>\09listen for connection on <port> (default is 8875)\0A\00"
@.str.4 = [56 x i8] c" if no arguments are given, defaults to 127.0.0.1:8888\00"
define void @usage() {
%1 = call i32 @puts(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @puts(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @puts(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@.str = [67 x i8] c"usage: metaserver [ -v ] [ -l IP ] [ -p <port> ] [ host:port ... ]\00"
@.str.1 = [38 x i8] c" -v\09\09display version number and exit\00"
@.str.2 = [40 x i8] c" -l IP\09listen only on interface for IP\00"
@.str.3 = [63 x i8] c" -p <port>\09listen for connection on <port> (default is 8875)\0A\00"
@.str.4 = [56 x i8] c" if no arguments are given, defaults to 127.0.0.1:8888\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @exit(i32 1)
unreachable
}