#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*/ fprintf(int /*<<< orphan*/, char *, char *, char *, char *,
                           char *, char *, char *, char *, char *, char *,
                           char *, char *, char *, char *, char *, char *,
                           char *, char *, char *);
int /*<<< orphan*/ stderr;
void usage(char *name) {
  fprintf(stderr, "\n%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n", "usage: ", name,
          " [options]\n\n", "  Options:\n",
          "    -display  displayname  specify an X server connection\n",
          "    -geometry geometry     specify window geometry in pixels\n",
          "    -rgba                  ask for rgba visual\n",
          "    -index                 ask for color index visual\n",
          "    -doublebuffer          ask for double buffered visual\n",
          "    -singlebuffer          ask for single buffered visual\n",
          "    -accum                 ask for accumulation buffer\n",
          "    -alpha                 ask for alpha buffer\n",
          "    -depth                 ask for depth buffer\n",
          "    -stencil               ask for stencil buffer\n",
          "    -aux nauxbuf           specify number of aux buffers\n",
          "    -level planes          specify planes "
          "(0=main,>0=overlay,<0=underlay\n",
          "    -transparent           ask for transparent overlay\n",
          "    -opaque                ask for opaque overlay\n");
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xb8,%rsp
mov    %rdi,-0x30(%rbp)
mov    0x2ea1(%rip),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%rcx
lea    0xeb4(%rip),%rsi
lea    0xed4(%rip),%rdx
lea    0xed5(%rip),%r8
lea    0xedb(%rip),%r9
lea    0xee0(%rip),%rax
mov    %rax,-0x68(%rbp)
lea    0xf10(%rip),%rax
mov    %rax,-0x60(%rbp)
lea    0xf43(%rip),%rax
mov    %rax,-0x58(%rbp)
lea    0xf68(%rip),%rax
mov    %rax,-0x50(%rbp)
lea    0xf94(%rip),%rax
mov    %rax,-0x48(%rbp)
lea    0xfc4(%rip),%rax
mov    %rax,-0x40(%rbp)
lea    0xff4(%rip),%r13
lea    0x1025(%rip),%r12
lea    0x104f(%rip),%r15
lea    0x1079(%rip),%r14
lea    0x10a5(%rip),%rbx
lea    0x10d8(%rip),%r11
lea    0x111b(%rip),%r10
lea    0x114c(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    -0x68(%rbp),%rax
mov    %rax,(%rsp)
mov    -0x60(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x58(%rbp),%rax
mov    %rax,0x10(%rsp)
mov    -0x50(%rbp),%rax
mov    %rax,0x18(%rsp)
mov    -0x48(%rbp),%rax
mov    %rax,0x20(%rsp)
mov    -0x40(%rbp),%rax
mov    %rax,0x28(%rsp)
mov    -0x38(%rbp),%rax
mov    %r13,0x30(%rsp)
mov    %r12,0x38(%rsp)
mov    %r15,0x40(%rsp)
mov    %r14,0x48(%rsp)
mov    %rbx,0x50(%rsp)
mov    %r11,0x58(%rsp)
mov    %r10,0x60(%rsp)
mov    %rax,0x68(%rsp)
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdi,%rcx
mov    0x2eab(%rip),%rax
mov    (%rax),%edi
lea    0x11e9(%rip),%rbx
lea    0x11aa(%rip),%rbp
lea    0x1159(%rip),%rax
lea    0x1118(%rip),%r10
lea    0x10de(%rip),%r11
lea    0x10a6(%rip),%r14
lea    0x106e(%rip),%r15
lea    0x102f(%rip),%r12
lea    0xfed(%rip),%r13
lea    0xe83(%rip),%rsi
lea    0xea3(%rip),%rdx
lea    0xea4(%rip),%r8
lea    0xeaa(%rip),%r9
push   %rbx
push   %rbp
push   %rax
push   %r10
push   %r11
push   %r14
push   %r15
push   %r12
push   %r13
lea    0xf80(%rip),%rax
push   %rax
lea    0xf41(%rip),%rax
push   %rax
lea    0xf09(%rip),%rax
push   %rax
lea    0xec3(%rip),%rax
push   %rax
lea    0xe80(%rip),%rax
push   %rax
call   1030 <fprintf@plt>
add    $0x70,%rsp
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [39 x i8] c"\0A%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\0A\00"
@.str.1 = [8 x i8] c"usage: \00"
@.str.2 = [13 x i8] c" [options]\0A\0A\00"
@.str.3 = [12 x i8] c" Options:\0A\00"
@.str.4 = [59 x i8] c" -display displayname specify an X server connection\0A\00"
@.str.5 = [62 x i8] c" -geometry geometry specify window geometry in pixels\0A\00"
@.str.6 = [48 x i8] c" -rgba ask for rgba visual\0A\00"
@.str.7 = [55 x i8] c" -index ask for color index visual\0A\00"
@.str.8 = [59 x i8] c" -doublebuffer ask for double buffered visual\0A\00"
@.str.9 = [59 x i8] c" -singlebuffer ask for single buffered visual\0A\00"
@.str.10 = [56 x i8] c" -accum ask for accumulation buffer\0A\00"
@.str.11 = [49 x i8] c" -alpha ask for alpha buffer\0A\00"
@.str.12 = [49 x i8] c" -depth ask for depth buffer\0A\00"
@.str.13 = [51 x i8] c" -stencil ask for stencil buffer\0A\00"
@.str.14 = [58 x i8] c" -aux nauxbuf specify number of aux buffers\0A\00"
@.str.15 = [74 x i8] c" -level planes specify planes (0=main,>0=overlay,<0=underlay\0A\00"
@.str.16 = [56 x i8] c" -transparent ask for transparent overlay\0A\00"
@.str.17 = [51 x i8] c" -opaque ask for opaque overlay\0A\00"
define void @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stderr
%4 = load i8*, i8** %2
%5 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* %4, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.17, i64 0, i64 0))
%6 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [39 x i8] c"\0A%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\0A\00"
@.str.1 = [8 x i8] c"usage: \00"
@.str.2 = [13 x i8] c" [options]\0A\0A\00"
@.str.3 = [12 x i8] c" Options:\0A\00"
@.str.4 = [59 x i8] c" -display displayname specify an X server connection\0A\00"
@.str.5 = [62 x i8] c" -geometry geometry specify window geometry in pixels\0A\00"
@.str.6 = [48 x i8] c" -rgba ask for rgba visual\0A\00"
@.str.7 = [55 x i8] c" -index ask for color index visual\0A\00"
@.str.8 = [59 x i8] c" -doublebuffer ask for double buffered visual\0A\00"
@.str.9 = [59 x i8] c" -singlebuffer ask for single buffered visual\0A\00"
@.str.10 = [56 x i8] c" -accum ask for accumulation buffer\0A\00"
@.str.11 = [49 x i8] c" -alpha ask for alpha buffer\0A\00"
@.str.12 = [49 x i8] c" -depth ask for depth buffer\0A\00"
@.str.13 = [51 x i8] c" -stencil ask for stencil buffer\0A\00"
@.str.14 = [58 x i8] c" -aux nauxbuf specify number of aux buffers\0A\00"
@.str.15 = [74 x i8] c" -level planes specify planes (0=main,>0=overlay,<0=underlay\0A\00"
@.str.16 = [56 x i8] c" -transparent ask for transparent overlay\0A\00"
@.str.17 = [51 x i8] c" -opaque ask for opaque overlay\0A\00"
define void @usage(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.17, i64 0, i64 0))
%4 = tail call i32 @exit(i32 1)
unreachable
}