#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*/ EX_USAGE;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void exit_usage() {
  fprintf(stderr, "Usage: 6translator [-f] -6 [<ipv6 host>,]<ipv6 port> -4 "
                  "[<ipv4 host>,]<ipv4 port>\n\n");
  fprintf(stderr, "  -6 <ipv6 host>,<ipv6 port>  Specifies the (IPv6) host and "
                  "port to listen on.\n");
  fprintf(stderr, "     Default host: any\n\n");
  fprintf(stderr, "  -4 <ipv4 host>,<ipv4 port>  Specifies the (IPv4) host and "
                  "port to connect to.\n");
  fprintf(stderr, "     Default host: localhost\n\n");
  fprintf(stderr, "  -f Stay in foreground.\n");
  exit(EX_USAGE);
}


x86 assembly (clang, -O0):
<exit_usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ead(%rip),%rax
mov    (%rax),%edi
lea    0xecc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e98(%rip),%rax
mov    (%rax),%edi
lea    0xf0b(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e83(%rip),%rax
mov    (%rax),%edi
lea    0xf46(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e6e(%rip),%rax
mov    (%rax),%edi
lea    0xf4a(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e59(%rip),%rax
mov    (%rax),%edi
lea    0xf86(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e44(%rip),%rax
mov    (%rax),%edi
lea    0xf90(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e3f(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<exit_usage>:
push   %rbx
mov    0x2eb0(%rip),%rbx
mov    (%rbx),%edi
lea    0xecf(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf15(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf57(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf62(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfa5(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfb6(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e65(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [84 x i8] c"Usage: 6translator [-f] -6 [<ipv6 host>,]<ipv6 port> -4 [<ipv4 host>,]<ipv4 port>\0A\0A\00"
@.str.1 = [80 x i8] c" -6 <ipv6 host>,<ipv6 port> Specifies the (IPv6) host and port to listen on.\0A\00"
@.str.2 = [25 x i8] c" Default host: any\0A\0A\00"
@.str.3 = [81 x i8] c" -4 <ipv4 host>,<ipv4 port> Specifies the (IPv4) host and port to connect to.\0A\00"
@.str.4 = [31 x i8] c" Default host: localhost\0A\0A\00"
@.str.5 = [26 x i8] c" -f Stay in foreground.\0A\00"
@EX_USAGE = global i32 0
define void @exit_usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @EX_USAGE
%14 = call i32 @exit(i32 %13)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [84 x i8] c"Usage: 6translator [-f] -6 [<ipv6 host>,]<ipv6 port> -4 [<ipv4 host>,]<ipv4 port>\0A\0A\00"
@.str.1 = [80 x i8] c" -6 <ipv6 host>,<ipv6 port> Specifies the (IPv6) host and port to listen on.\0A\00"
@.str.2 = [25 x i8] c" Default host: any\0A\0A\00"
@.str.3 = [81 x i8] c" -4 <ipv4 host>,<ipv4 port> Specifies the (IPv4) host and port to connect to.\0A\00"
@.str.4 = [31 x i8] c" Default host: localhost\0A\0A\00"
@.str.5 = [26 x i8] c" -f Stay in foreground.\0A\00"
@EX_USAGE = global i32 0
define void @exit_usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = tail call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = tail call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @EX_USAGE
%14 = tail call i32 @exit(i32 %13)
unreachable
}