#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 *, char const *);
int /*<<< orphan*/ stderr;
void print_usage(const char *progname) {
  fprintf(
      stderr,
      "Usage: %s [options] amz-file ...\n"
      "General options:\n"
      " -o, --output=NAME:       write output to file NAME (may contain\n"
      "                          variables, see below)\n"
      " -d, --output-dir=DIR:    write output to directory DIR (may also\n"
      "                          contain variables)\n"
      " -r, --resume:            resume a partial download\n"
      " -i, --info:              show info about AMZ-files; do not download\n"
      "                          any tracks\n"
      " -x, --xml:               output XML data from AMZ-files; do not "
      "download\n"
      "                          any tracks\n"
      " -v, --verbose:           display detailed information\n"
      " -q, --quiet:             don't display non-critical messages\n"
      " --help:                  display this help\n"
      " --version:               display program version\n"
      "\n"
      "Output options:\n"
      " --allow-chars=CHARS:     allow filenames containing CHARS\n"
      " --forbid-chars=CHARS:    forbid filenames containing CHARS\n"
      " --allow-uppercase:       allow uppercase letters in filenames\n"
      " --forbid-uppercase:      forbid uppercase letters in filenames\n"
      " --utf8-filenames:        allow UTF-8 filenames\n"
      " --ascii-filenames:       force ASCII-only filenames\n"
      "\n"
      "Filenames (-o, -d) may contain the following variables:\n"
      " ${title} ${creator} ${album} ${tracknum} ${album_artist} ${genre}\n"
      " ${discnum} ${suffix} ${asin} ${album_asin}\n",
      progname);
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ebd(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xed0(%rip),%rsi
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
mov    %rdi,%rdx
mov    0x2ec6(%rip),%rax
mov    (%rax),%edi
lea    0xedd(%rip),%rsi
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [1287 x i8] c"Usage: %s [options] amz-file ...\0AGeneral options:\0A -o, --output=NAME: write output to file NAME (may contain\0A variables, see below)\0A -d, --output-dir=DIR: write output to directory DIR (may also\0A contain variables)\0A -r, --resume: resume a partial download\0A -i, --info: show info about AMZ-files; do not download\0A any tracks\0A -x, --xml: output XML data from AMZ-files; do not download\0A any tracks\0A -v, --verbose: display detailed information\0A -q, --quiet: don't display non-critical messages\0A --help: display this help\0A --version: display program version\0A\0AOutput options:\0A --allow-chars=CHARS: allow filenames containing CHARS\0A --forbid-chars=CHARS: forbid filenames containing CHARS\0A --allow-uppercase: allow uppercase letters in filenames\0A --forbid-uppercase: forbid uppercase letters in filenames\0A --utf8-filenames: allow UTF-8 filenames\0A --ascii-filenames: force ASCII-only filenames\0A\0AFilenames (-o, -d) may contain the following variables:\0A ${title} ${creator} ${album} ${tracknum} ${album_artist} ${genre}\0A ${discnum} ${suffix} ${asin} ${album_asin}\0A\00"
define void @print_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 ([1287 x i8], [1287 x i8]* @.str, i64 0, i64 0), i8* %4)
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [1287 x i8] c"Usage: %s [options] amz-file ...\0AGeneral options:\0A -o, --output=NAME: write output to file NAME (may contain\0A variables, see below)\0A -d, --output-dir=DIR: write output to directory DIR (may also\0A contain variables)\0A -r, --resume: resume a partial download\0A -i, --info: show info about AMZ-files; do not download\0A any tracks\0A -x, --xml: output XML data from AMZ-files; do not download\0A any tracks\0A -v, --verbose: display detailed information\0A -q, --quiet: don't display non-critical messages\0A --help: display this help\0A --version: display program version\0A\0AOutput options:\0A --allow-chars=CHARS: allow filenames containing CHARS\0A --forbid-chars=CHARS: forbid filenames containing CHARS\0A --allow-uppercase: allow uppercase letters in filenames\0A --forbid-uppercase: forbid uppercase letters in filenames\0A --utf8-filenames: allow UTF-8 filenames\0A --ascii-filenames: force ASCII-only filenames\0A\0AFilenames (-o, -d) may contain the following variables:\0A ${title} ${creator} ${album} ${tracknum} ${album_artist} ${genre}\0A ${discnum} ${suffix} ${asin} ${album_asin}\0A\00"
define void @print_usage(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([1287 x i8], [1287 x i8]* @.str, i64 0, i64 0), i8* %0)
ret void
}