#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_sat_set_features [--count=CO] [--chk_cond] [--feature=FEA] "
          "[--help]\n"
          "                           [--lba=LBA] [--len=16|12] [--verbose] "
          "[--version]\n"
          "                           DEVICE\n"
          "  where:\n"
          "    --count=CO | -c CO      count field contents (def: 0)\n"
          "    --chk_cond | -C         set chk_cond field in pass-through "
          "(def: 0)\n"
          "    --feature=FEA|-f FEA     feature field contents\n"
          "                             (def: 0 (which is reserved))\n"
          "    --help | -h             output this usage message\n"
          "    --lba=LBA | -L LBA      LBA field contents (def: 0)\n"
          "    --len=16|12 | -l 16|12    cdb length: 16 or 12 bytes "
          "(def: 16)\n"
          "    --verbose | -v          increase verbosity\n"
          "    --version | -V          print version string and exit\n\n"
          "Sends an ATA SET FEATURES command via a SAT pass through.\n"
          "Primary feature code is placed in '--feature=FEA' with "
          "'--count=CO' and\n"
          "'--lba=LBA' being auxiliaries for some features.  The arguments "
          "CO, FEA\n"
          "and LBA are decimal unless prefixed by '0x' or have a trailing "
          "'h'.\n"
          "Example enabling write cache: 'sg_sat_set_feature --feature=2 "
          "/dev/sdc'\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 = [1064 x i8] c"Usage: sg_sat_set_features [--count=CO] [--chk_cond] [--feature=FEA] [--help]\0A [--lba=LBA] [--len=16|12] [--verbose] [--version]\0A DEVICE\0A where:\0A --count=CO | -c CO count field contents (def: 0)\0A --chk_cond | -C set chk_cond field in pass-through (def: 0)\0A --feature=FEA|-f FEA feature field contents\0A (def: 0 (which is reserved))\0A --help | -h output this usage message\0A --lba=LBA | -L LBA LBA field contents (def: 0)\0A --len=16|12 | -l 16|12 cdb length: 16 or 12 bytes (def: 16)\0A --verbose | -v increase verbosity\0A --version | -V print version string and exit\0A\0ASends an ATA SET FEATURES command via a SAT pass through.\0APrimary feature code is placed in '--feature=FEA' with '--count=CO' and\0A'--lba=LBA' being auxiliaries for some features. The arguments CO, FEA\0Aand LBA are decimal unless prefixed by '0x' or have a trailing 'h'.\0AExample enabling write cache: 'sg_sat_set_feature --feature=2 /dev/sdc'\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([1064 x i8], [1064 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [1064 x i8] c"Usage: sg_sat_set_features [--count=CO] [--chk_cond] [--feature=FEA] [--help]\0A [--lba=LBA] [--len=16|12] [--verbose] [--version]\0A DEVICE\0A where:\0A --count=CO | -c CO count field contents (def: 0)\0A --chk_cond | -C set chk_cond field in pass-through (def: 0)\0A --feature=FEA|-f FEA feature field contents\0A (def: 0 (which is reserved))\0A --help | -h output this usage message\0A --lba=LBA | -L LBA LBA field contents (def: 0)\0A --len=16|12 | -l 16|12 cdb length: 16 or 12 bytes (def: 16)\0A --verbose | -v increase verbosity\0A --version | -V print version string and exit\0A\0ASends an ATA SET FEATURES command via a SAT pass through.\0APrimary feature code is placed in '--feature=FEA' with '--count=CO' and\0A'--lba=LBA' being auxiliaries for some features. The arguments CO, FEA\0Aand LBA are decimal unless prefixed by '0x' or have a trailing 'h'.\0AExample enabling write cache: 'sg_sat_set_feature --feature=2 /dev/sdc'\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([1064 x i8], [1064 x i8]* @.str, i64 0, i64 0))
ret void
}