#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);
int /*<<< orphan*/ print_lines(int /*<<< orphan*/, char const **);
int /*<<< orphan*/ stderr;
void fishmkfs_usage(int exitstatus) {
  static const char *usage_lines[] = {
      "fishmkfs: initializes a Redfish metadata server.",
      "See http://www.club.cc.cmu.edu/~cmccabe/redfish.html for the most "
      "up-to-date",
      "information about Redfish.",
      "",
      "Environment variables:",
      "REDFISH_CONF:  If this is set, it will be used to find the default path "
      "to a ",
      "               Redfish configuration file.",
      "",
      "Command-line options:",
      "-c <file-name>",
      "    Set the Redfish configuration file name",
      "-F <filesystem-id>",
      "    Set the filesystem ID as a 64-bit hexadecimal number",
      "-h",
      "    Show this help message",
      "-m <metadata-server-id>",
      "    Set the metadata server ID of this node",
      "",
      "Fishtool commands:",
      NULL};
  print_lines(stderr, usage_lines);
  exit(exitstatus);
}


x86 assembly (clang, -O0):
<fishmkfs_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    0x2eae(%rip),%rax
mov    (%rax),%edi
lea    0x2f05(%rip),%rsi
call   1030 <print_lines@plt>
mov    -0x4(%rbp),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<fishmkfs_usage>:
push   %rbx
mov    %edi,%ebx
mov    0x2eb6(%rip),%rax
mov    (%rax),%edi
lea    0x2f0d(%rip),%rsi
call   1030 <print_lines@plt>
mov    %ebx,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@fishmkfs_usage.usage_lines = internal global [20 x i8*] [i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.16, i32 0, i32 0), i8* null]
@.str = [49 x i8] c"fishmkfs: initializes a Redfish metadata server.\00"
@.str.1 = [77 x i8] c"See http://www.club.cc.cmu.edu/~cmccabe/redfish.html for the most up-to-date\00"
@.str.2 = [27 x i8] c"information about Redfish.\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [23 x i8] c"Environment variables:\00"
@.str.5 = [78 x i8] c"REDFISH_CONF: If this is set, it will be used to find the default path to a \00"
@.str.6 = [43 x i8] c" Redfish configuration file.\00"
@.str.7 = [22 x i8] c"Command-line options:\00"
@.str.8 = [15 x i8] c"-c <file-name>\00"
@.str.9 = [44 x i8] c" Set the Redfish configuration file name\00"
@.str.10 = [19 x i8] c"-F <filesystem-id>\00"
@.str.11 = [57 x i8] c" Set the filesystem ID as a 64-bit hexadecimal number\00"
@.str.12 = [3 x i8] c"-h\00"
@.str.13 = [27 x i8] c" Show this help message\00"
@.str.14 = [24 x i8] c"-m <metadata-server-id>\00"
@.str.15 = [44 x i8] c" Set the metadata server ID of this node\00"
@.str.16 = [19 x i8] c"Fishtool commands:\00"
@stderr = global i32 0
define void @fishmkfs_usage(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* @stderr
%4 = call i32 @print_lines(i32 %3, i8** getelementptr inbounds ([20 x i8*], [20 x i8*]* @fishmkfs_usage.usage_lines, i64 0, i64 0))
%5 = load i32, i32* %2
%6 = call i32 @exit(i32 %5)
unreachable
}

LLVM IR (-O2):
@fishmkfs_usage.usage_lines = internal global [20 x i8*] [i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.16, i32 0, i32 0), i8* null]
@.str = [49 x i8] c"fishmkfs: initializes a Redfish metadata server.\00"
@.str.1 = [77 x i8] c"See http://www.club.cc.cmu.edu/~cmccabe/redfish.html for the most up-to-date\00"
@.str.2 = [27 x i8] c"information about Redfish.\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [23 x i8] c"Environment variables:\00"
@.str.5 = [78 x i8] c"REDFISH_CONF: If this is set, it will be used to find the default path to a \00"
@.str.6 = [43 x i8] c" Redfish configuration file.\00"
@.str.7 = [22 x i8] c"Command-line options:\00"
@.str.8 = [15 x i8] c"-c <file-name>\00"
@.str.9 = [44 x i8] c" Set the Redfish configuration file name\00"
@.str.10 = [19 x i8] c"-F <filesystem-id>\00"
@.str.11 = [57 x i8] c" Set the filesystem ID as a 64-bit hexadecimal number\00"
@.str.12 = [3 x i8] c"-h\00"
@.str.13 = [27 x i8] c" Show this help message\00"
@.str.14 = [24 x i8] c"-m <metadata-server-id>\00"
@.str.15 = [44 x i8] c" Set the metadata server ID of this node\00"
@.str.16 = [19 x i8] c"Fishtool commands:\00"
@stderr = global i32 0
define void @fishmkfs_usage(i32 %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 @print_lines(i32 %2, i8** getelementptr inbounds ([20 x i8*], [20 x i8*]* @fishmkfs_usage.usage_lines, i64 0, i64 0))
%4 = tail call i32 @exit(i32 %0)
unreachable
}