#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/ *);
void print_help(FILE *stream) {
  (void)fputs(
      "\nDescription:\n\n    Hash each string in STRINGS with the "
      "Fowler-Noll-Vo (FNV) hash\n    algorithm and print the results, one "
      "hash per line per string.\n    If STRINGS does not exist, then hash "
      "each line from standard input\n    individually and print the results "
      "one per line, or hash all of\n    standard input and print one result "
      "if -a or -b is specified.\n\nOptions:\n\n    -a                     "
      "hash all of standard input rather than each line\n                      "
      "     (meaningless if STRINGS are specified)\n    -h                     "
      "show this long help message and exit\n    -u                     "
      "disable standard output buffering\n    -X                     print "
      "hashes with uppercase hex letters instead\n                           "
      "of lowercase ones\n    -1                     use the FNV-1 algorithm "
      "rather than FNV-1a\n    -32                    compute 32-bit hashes "
      "instead of 64-bit ones\n\n",
      stream);
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xed9(%rip),%rdi
call   1030 <fputs@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
mov    %rdi,%rcx
lea    0xee6(%rip),%rdi
mov    $0x37f,%esi
mov    $0x1,%edx
jmp    1030 <fwrite@plt>

LLVM IR (-O0):
@.str = [896 x i8] c"\0ADescription:\0A\0A Hash each string in STRINGS with the Fowler-Noll-Vo (FNV) hash\0A algorithm and print the results, one hash per line per string.\0A If STRINGS does not exist, then hash each line from standard input\0A individually and print the results one per line, or hash all of\0A standard input and print one result if -a or -b is specified.\0A\0AOptions:\0A\0A -a hash all of standard input rather than each line\0A (meaningless if STRINGS are specified)\0A -h show this long help message and exit\0A -u disable standard output buffering\0A -X print hashes with uppercase hex letters instead\0A of lowercase ones\0A -1 use the FNV-1 algorithm rather than FNV-1a\0A -32 compute 32-bit hashes instead of 64-bit ones\0A\0A\00"
define void @print_help(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 @fputs(i8* getelementptr inbounds ([896 x i8], [896 x i8]* @.str, i64 0, i64 0), i32* %3)
ret void
}

LLVM IR (-O2):
@.str = [896 x i8] c"\0ADescription:\0A\0A Hash each string in STRINGS with the Fowler-Noll-Vo (FNV) hash\0A algorithm and print the results, one hash per line per string.\0A If STRINGS does not exist, then hash each line from standard input\0A individually and print the results one per line, or hash all of\0A standard input and print one result if -a or -b is specified.\0A\0AOptions:\0A\0A -a hash all of standard input rather than each line\0A (meaningless if STRINGS are specified)\0A -h show this long help message and exit\0A -u disable standard output buffering\0A -X print hashes with uppercase hex letters instead\0A of lowercase ones\0A -1 use the FNV-1 algorithm rather than FNV-1a\0A -32 compute 32-bit hashes instead of 64-bit ones\0A\0A\00"
define void @print_help(i32* nocapture %0) {
%2 = tail call i64 @fwrite(i8* getelementptr inbounds ([896 x i8], [896 x i8]* @.str, i64 0, i64 0), i64 895, i64 1, i32* %0)
ret void
}