#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*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
void show_usage() {
  fprintf(stderr, "Usage:  %s [flags] [text]\n", "dl");
  fprintf(stderr,
          "  -h  --help\n"
          "  -v  --version\n"
          "Colors:\n"
          "  -r  --red\n"
          "  -g  --green\n"
          "  -b  --blue\n"
          "  -c  --cyan\n"
          "  -m  --magenta\n"
          "  -y  --yellow\n"
          "  -k  --black\n"
          "  -w  --white\n"
          "  An uppercase color flag uses the bright version of that color.\n"
          "\n"
          "  -d  --dash dash_symbol\n"
          "  -n  --columns number\n"
          "  text Text to be inserted into the center of a line.\n");
}


x86 assembly (clang, -O0):
<show_usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
lea    0xef0(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2ea7(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_usage>:
push   %rbx
mov    0x2ec8(%rip),%rbx
mov    (%rbx),%edi
lea    0xedf(%rip),%rsi
lea    0xef3(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xee6(%rip),%rsi
xor    %eax,%eax
pop    %rbx
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [27 x i8] c"Usage: %s [flags] [text]\0A\00"
@.str.1 = [3 x i8] c"dl\00"
@.str.2 = [317 x i8] c" -h --help\0A -v --version\0AColors:\0A -r --red\0A -g --green\0A -b --blue\0A -c --cyan\0A -m --magenta\0A -y --yellow\0A -k --black\0A -w --white\0A An uppercase color flag uses the bright version of that color.\0A\0A -d --dash dash_symbol\0A -n --columns number\0A text Text to be inserted into the center of a line.\0A\00"
define void @show_usage() {
%1 = load i32, i32* @stderr
%2 = call i32 (i32, i8*, ...) @fprintf(i32 %1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([317 x i8], [317 x i8]* @.str.2, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [27 x i8] c"Usage: %s [flags] [text]\0A\00"
@.str.1 = [3 x i8] c"dl\00"
@.str.2 = [317 x i8] c" -h --help\0A -v --version\0AColors:\0A -r --red\0A -g --green\0A -b --blue\0A -c --cyan\0A -m --magenta\0A -y --yellow\0A -k --black\0A -w --white\0A An uppercase color flag uses the bright version of that color.\0A\0A -d --dash dash_symbol\0A -n --columns number\0A text Text to be inserted into the center of a line.\0A\00"
define void @show_usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 (i32, i8*, ...) @fprintf(i32 %1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([317 x i8], [317 x i8]* @.str.2, i64 0, i64 0))
ret void
}