#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 usage() {
  fprintf(stderr,
          "Usage: "
          "sg_ident   [--ascii] [--clear] [--help] [--itype=IT] [--raw] "
          "[--set]\n"
          "                  [--verbose] [--version] DEVICE\n"
          "  where:\n"
          "    --ascii|-A      report identifying information as ASCII "
          "(or UTF8) string\n"
          "    --clear|-C      clear (set to zero length) identifying "
          "information\n"
          "    --help|-h       print out usage message\n"
          "    --itype=IT|-i IT    specify information type\n"
          "    --raw|-r        output identifying information to "
          "stdout\n"
          "    --set|-S        invoke set identifying information with "
          "data from stdin\n"
          "    --verbose|-v    increase verbosity of output\n"
          "    --version|-V    print version string and exit\n\n"
          "Performs a SCSI REPORT (or SET) IDENTIFYING INFORMATION command\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
mov    0x2ec9(%rip),%rax
mov    (%rax),%edi
lea    0xee0(%rip),%rsi
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [677 x i8] c"Usage: sg_ident [--ascii] [--clear] [--help] [--itype=IT] [--raw] [--set]\0A [--verbose] [--version] DEVICE\0A where:\0A --ascii|-A report identifying information as ASCII (or UTF8) string\0A --clear|-C clear (set to zero length) identifying information\0A --help|-h print out usage message\0A --itype=IT|-i IT specify information type\0A --raw|-r output identifying information to stdout\0A --set|-S invoke set identifying information with data from stdin\0A --verbose|-v increase verbosity of output\0A --version|-V print version string and exit\0A\0APerforms a SCSI REPORT (or SET) IDENTIFYING INFORMATION command\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([677 x i8], [677 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [677 x i8] c"Usage: sg_ident [--ascii] [--clear] [--help] [--itype=IT] [--raw] [--set]\0A [--verbose] [--version] DEVICE\0A where:\0A --ascii|-A report identifying information as ASCII (or UTF8) string\0A --clear|-C clear (set to zero length) identifying information\0A --help|-h print out usage message\0A --itype=IT|-i IT specify information type\0A --raw|-r output identifying information to stdout\0A --set|-S invoke set identifying information with data from stdin\0A --verbose|-v increase verbosity of output\0A --version|-V print version string and exit\0A\0APerforms a SCSI REPORT (or SET) IDENTIFYING INFORMATION command\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([677 x i8], [677 x i8]* @.str, i64 0, i64 0))
ret void
}