#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_verify [--bpc=BPC] [--count=COUNT] [--dpo] [--help] "
                  "[--lba=LBA]\n"
                  "                 [--verbose] [--version] [--vrprotect=VRP] "
                  "DEVICE\n"
                  "  where:\n"
                  "    --bpc=BPC|-b BPC    max blocks per verify command "
                  "(def 128)\n"
                  "    --count=COUNT|-c COUNT    count of blocks to verify "
                  "(def 1)\n"
                  "    --dpo|-d            disable page out (cache retention "
                  "priority)\n"
                  "    --help|-h           print out usage message\n"
                  "    --lba=LBA|-l LBA    logical block address to start "
                  "verify (def 0)\n"
                  "    --verbose|-v        increase verbosity\n"
                  "    --version|-V        print version string and exit\n"
                  "    --vrprotect=VRP|-P VRP    set vrprotect field to VRP "
                  "(def 0)\n"
                  "Performs a SCSI VERIFY(10) 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 = [661 x i8] c"Usage: sg_verify [--bpc=BPC] [--count=COUNT] [--dpo] [--help] [--lba=LBA]\0A [--verbose] [--version] [--vrprotect=VRP] DEVICE\0A where:\0A --bpc=BPC|-b BPC max blocks per verify command (def 128)\0A --count=COUNT|-c COUNT count of blocks to verify (def 1)\0A --dpo|-d disable page out (cache retention priority)\0A --help|-h print out usage message\0A --lba=LBA|-l LBA logical block address to start verify (def 0)\0A --verbose|-v increase verbosity\0A --version|-V print version string and exit\0A --vrprotect=VRP|-P VRP set vrprotect field to VRP (def 0)\0APerforms a SCSI VERIFY(10) command\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([661 x i8], [661 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [661 x i8] c"Usage: sg_verify [--bpc=BPC] [--count=COUNT] [--dpo] [--help] [--lba=LBA]\0A [--verbose] [--version] [--vrprotect=VRP] DEVICE\0A where:\0A --bpc=BPC|-b BPC max blocks per verify command (def 128)\0A --count=COUNT|-c COUNT count of blocks to verify (def 1)\0A --dpo|-d disable page out (cache retention priority)\0A --help|-h print out usage message\0A --lba=LBA|-l LBA logical block address to start verify (def 0)\0A --verbose|-v increase verbosity\0A --version|-V print version string and exit\0A --vrprotect=VRP|-P VRP set vrprotect field to VRP (def 0)\0APerforms a SCSI VERIFY(10) command\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([661 x i8], [661 x i8]* @.str, i64 0, i64 0))
ret void
}