#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 /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *, char *);
int /*<<< orphan*/ stderr;
void __attribute__((__noreturn__)) show_usage() {
  fprintf(stderr, "%s%s",
          "usage: bmzip [options] [<file>]\n"
          "-d, --decompress         decompress to stdout\n"
          "--verbose[=level]        show some diagnostic messages\n"
          "-l, --list               list compressed file info\n"
          "-h, --help               show this message\n"
          "--offset    <number>     expert: bm encoding start offset\n"
          "--fp-len    <number>     expert: bm encoding fingerprint size\n"
          "--bm-thresh <number>     expert: bm hash collision threshold\n",
          "--bm-hash   <name>       expert: use <name> as bm hash\n"
          "--bm-only                expert: skip lz compression\n"
          "--bm-dump                expert: dump human readable bm encoding\n"
          "--no-mmap                expert: do not use mmap\n");
  exit(0);
}


x86 assembly (clang, -O0):
<show_usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2eb5(%rip),%rax
mov    (%rax),%edi
lea    0xecc(%rip),%rsi
lea    0xeca(%rip),%rdx
lea    0x105c(%rip),%rcx
call   1030 <fprintf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<show_usage>:
push   %rax
mov    0x2eb8(%rip),%rax
mov    (%rax),%edi
lea    0xecf(%rip),%rsi
lea    0xecd(%rip),%rdx
lea    0x105f(%rip),%rcx
call   1030 <fprintf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [5 x i8] c"%s%s\00"
@.str.1 = [409 x i8] c"usage: bmzip [options] [<file>]\0A-d, --decompress decompress to stdout\0A--verbose[=level] show some diagnostic messages\0A-l, --list list compressed file info\0A-h, --help show this message\0A--offset <number> expert: bm encoding start offset\0A--fp-len <number> expert: bm encoding fingerprint size\0A--bm-thresh <number> expert: bm hash collision threshold\0A\00"
@.str.2 = [223 x i8] c"--bm-hash <name> expert: use <name> as bm hash\0A--bm-only expert: skip lz compression\0A--bm-dump expert: dump human readable bm encoding\0A--no-mmap expert: do not use mmap\0A\00"
define void @show_usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([409 x i8], [409 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([223 x i8], [223 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [5 x i8] c"%s%s\00"
@.str.1 = [409 x i8] c"usage: bmzip [options] [<file>]\0A-d, --decompress decompress to stdout\0A--verbose[=level] show some diagnostic messages\0A-l, --list list compressed file info\0A-h, --help show this message\0A--offset <number> expert: bm encoding start offset\0A--fp-len <number> expert: bm encoding fingerprint size\0A--bm-thresh <number> expert: bm hash collision threshold\0A\00"
@.str.2 = [223 x i8] c"--bm-hash <name> expert: use <name> as bm hash\0A--bm-only expert: skip lz compression\0A--bm-dump expert: dump human readable bm encoding\0A--no-mmap expert: do not use mmap\0A\00"
define void @show_usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([409 x i8], [409 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([223 x i8], [223 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @exit(i32 0)
unreachable
}