#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*/ printf(char *);
void usage(void) {
  printf(" Usage: cmatrix -[abBfhlsVx] [-u delay] [-C color]\n");
  printf(" -a: Asynchronous scroll\n");
  printf(" -b: Bold characters on\n");
  printf(" -B: All bold characters (overrides -b)\n");
  printf(" -f: Force the linux $TERM type to be on\n");
  printf(" -l: Linux mode (uses matrix console font)\n");
  printf(" -o: Use old-style scrolling\n");
  printf(" -h: Print usage and exit\n");
  printf(" -n: No bold characters (overrides -b and -B, default)\n");
  printf(" -s: \"Screensaver\" mode, exits on first keystroke\n");
  printf(" -x: X window mode, use if your xterm is using mtx.pcf\n");
  printf(" -V: Print version information and exit\n");
  printf(" -u delay (0 - 10, default 4): Screen update delay\n");
  printf(" -C [color]: Use this color for matrix (default green)\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf28(%rip),%rdi
call   1030 <printf@plt>
lea    0xf45(%rip),%rdi
call   1030 <printf@plt>
lea    0xf63(%rip),%rdi
call   1030 <printf@plt>
lea    0xf83(%rip),%rdi
call   1030 <printf@plt>
lea    0xf95(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa4(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd0(%rip),%rdi
call   1030 <printf@plt>
lea    0xff7(%rip),%rdi
call   1030 <printf@plt>
lea    0x1023(%rip),%rdi
call   1030 <printf@plt>
lea    0x1040(%rip),%rdi
call   1030 <printf@plt>
lea    0x1068(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf28(%rip),%rdi
call   1030 <puts@plt>
lea    0xf44(%rip),%rdi
call   1030 <puts@plt>
lea    0xf61(%rip),%rdi
call   1030 <puts@plt>
lea    0xf80(%rip),%rdi
call   1030 <puts@plt>
lea    0xf91(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9f(%rip),%rdi
call   1030 <puts@plt>
lea    0xfca(%rip),%rdi
call   1030 <puts@plt>
lea    0xff0(%rip),%rdi
call   1030 <puts@plt>
lea    0x101b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1037(%rip),%rdi
call   1030 <puts@plt>
lea    0x105e(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [52 x i8] c" Usage: cmatrix -[abBfhlsVx] [-u delay] [-C color]\0A\00"
@.str.1 = [26 x i8] c" -a: Asynchronous scroll\0A\00"
@.str.2 = [25 x i8] c" -b: Bold characters on\0A\00"
@.str.3 = [41 x i8] c" -B: All bold characters (overrides -b)\0A\00"
@.str.4 = [42 x i8] c" -f: Force the linux $TERM type to be on\0A\00"
@.str.5 = [44 x i8] c" -l: Linux mode (uses matrix console font)\0A\00"
@.str.6 = [30 x i8] c" -o: Use old-style scrolling\0A\00"
@.str.7 = [27 x i8] c" -h: Print usage and exit\0A\00"
@.str.8 = [56 x i8] c" -n: No bold characters (overrides -b and -B, default)\0A\00"
@.str.9 = [51 x i8] c" -s: \22Screensaver\22 mode, exits on first keystroke\0A\00"
@.str.10 = [56 x i8] c" -x: X window mode, use if your xterm is using mtx.pcf\0A\00"
@.str.11 = [41 x i8] c" -V: Print version information and exit\0A\00"
@.str.12 = [52 x i8] c" -u delay (0 - 10, default 4): Screen update delay\0A\00"
@.str.13 = [56 x i8] c" -C [color]: Use this color for matrix (default green)\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.13, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [51 x i8] c" Usage: cmatrix -[abBfhlsVx] [-u delay] [-C color]\00"
@str.14 = [25 x i8] c" -a: Asynchronous scroll\00"
@str.15 = [24 x i8] c" -b: Bold characters on\00"
@str.16 = [40 x i8] c" -B: All bold characters (overrides -b)\00"
@str.17 = [41 x i8] c" -f: Force the linux $TERM type to be on\00"
@str.18 = [43 x i8] c" -l: Linux mode (uses matrix console font)\00"
@str.19 = [29 x i8] c" -o: Use old-style scrolling\00"
@str.20 = [26 x i8] c" -h: Print usage and exit\00"
@str.21 = [55 x i8] c" -n: No bold characters (overrides -b and -B, default)\00"
@str.22 = [50 x i8] c" -s: \22Screensaver\22 mode, exits on first keystroke\00"
@str.23 = [55 x i8] c" -x: X window mode, use if your xterm is using mtx.pcf\00"
@str.24 = [40 x i8] c" -V: Print version information and exit\00"
@str.25 = [51 x i8] c" -u delay (0 - 10, default 4): Screen update delay\00"
@str.26 = [55 x i8] c" -C [color]: Use this color for matrix (default green)\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.14, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.15, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.16, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.17, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.18, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.19, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.20, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.21, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.22, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.23, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.24, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.25, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.26, i64 0, i64 0))
ret void
}