#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*/ printf(char *, ...);
void usage(char *progname) {
  printf("Usage: %s [options...]\n", progname);
  printf("Options:\n");
  printf("  -t                       <matchbox theme name>  switch matchbox "
         "theme\n");
  printf(
      "  -r                       Print current matchbox theme to stdout \n");
  printf("  -exit                    Request matchbox to exit \n");
  printf("  -next                    Page to next window \n");
  printf("  -prev                    Page to previous window \n");
  printf("  -desktop                 Toggle desktop visibility\n");
  printf("  -menu                    Activate mb-applet-menu-launcher\n");
  printf("  -panel-toggle [panel id] Toogle panel visibility\n");
  printf("  -input-toggle [1|0]      Toggle Input method ( requires "
         "input-manager )\n");
  printf(
      "  -composite-toggle        Toggle Compositing Engine ( if enabled )\n");
  printf(
      "  -keys-reload             Reload key shortcut config ( if enabled )\n");
  printf("  -h  this help\n\n");
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xec9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xecf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf0a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf40(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf68(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf8b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1009(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x102f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x106c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10db(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
mov    %rdi,%rsi
lea    0xec5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xecf(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
call   1030 <puts@plt>
lea    0xf08(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf68(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8c(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb4(%rip),%rdi
call   1030 <puts@plt>
lea    0xfdd(%rip),%rdi
call   1030 <puts@plt>
lea    0x100d(%rip),%rdi
call   1030 <puts@plt>
lea    0x1034(%rip),%rdi
call   1030 <puts@plt>
lea    0x1072(%rip),%rdi
call   1030 <puts@plt>
lea    0x10aa(%rip),%rdi
call   1030 <puts@plt>
lea    0x10e3(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [24 x i8] c"Usage: %s [options...]\0A\00"
@.str.1 = [10 x i8] c"Options:\0A\00"
@.str.2 = [73 x i8] c" -t <matchbox theme name> switch matchbox theme\0A\00"
@.str.3 = [68 x i8] c" -r Print current matchbox theme to stdout \0A\00"
@.str.4 = [54 x i8] c" -exit Request matchbox to exit \0A\00"
@.str.5 = [49 x i8] c" -next Page to next window \0A\00"
@.str.6 = [53 x i8] c" -prev Page to previous window \0A\00"
@.str.7 = [54 x i8] c" -desktop Toggle desktop visibility\0A\00"
@.str.8 = [61 x i8] c" -menu Activate mb-applet-menu-launcher\0A\00"
@.str.9 = [52 x i8] c" -panel-toggle [panel id] Toogle panel visibility\0A\00"
@.str.10 = [75 x i8] c" -input-toggle [1|0] Toggle Input method ( requires input-manager )\0A\00"
@.str.11 = [69 x i8] c" -composite-toggle Toggle Compositing Engine ( if enabled )\0A\00"
@.str.12 = [70 x i8] c" -keys-reload Reload key shortcut config ( if enabled )\0A\00"
@.str.13 = [18 x i8] c" -h this help\0A\0A\00"
define void @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.8, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.10, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.11, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.12, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0))
%18 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@.str = [24 x i8] c"Usage: %s [options...]\0A\00"
@str = [9 x i8] c"Options:\00"
@str.14 = [72 x i8] c" -t <matchbox theme name> switch matchbox theme\00"
@str.15 = [67 x i8] c" -r Print current matchbox theme to stdout \00"
@str.16 = [53 x i8] c" -exit Request matchbox to exit \00"
@str.17 = [48 x i8] c" -next Page to next window \00"
@str.18 = [52 x i8] c" -prev Page to previous window \00"
@str.19 = [53 x i8] c" -desktop Toggle desktop visibility\00"
@str.20 = [60 x i8] c" -menu Activate mb-applet-menu-launcher\00"
@str.21 = [51 x i8] c" -panel-toggle [panel id] Toogle panel visibility\00"
@str.22 = [74 x i8] c" -input-toggle [1|0] Toggle Input method ( requires input-manager )\00"
@str.23 = [68 x i8] c" -composite-toggle Toggle Compositing Engine ( if enabled )\00"
@str.24 = [69 x i8] c" -keys-reload Reload key shortcut config ( if enabled )\00"
@str.25 = [17 x i8] c" -h this help\0A\00"
define void @usage(i8* %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.14, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.15, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.16, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.17, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.18, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.19, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.20, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.21, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.22, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.23, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.24, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.25, i64 0, i64 0))
%16 = tail call i32 @exit(i32 1)
unreachable
}