#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 usage_long(FILE *output) {
  fputs(
      "General\n"
      "crurom is a tool to generate a basic read-only file system for HARVARD\n"
      "processors.\n\n"
      "Output\n"
      "crurom will generate a source file, which for obvious reasons has to\n"
      "be included in the build system of the application, containing the\n"
      "contents of one or more directories. The output source code is "
      "generated\n"
      "in the C programming language.\n\n"
      "Input\n"
      "As said before the content of one or more directories is read into a\n"
      "buffer by crurom and written into a source file systematically, such\n"
      "the ETA/OS romfs driver can interpret it. In order to do so, input has\n"
      "to be given to crurom. Therefore the final arguments of to an "
      "invocation\n"
      "of crurom are the direcory('s) it has to consider. An example of a\n"
      "single directory and multiple directory invocation:\n\n"
      "Single:\n"
      "./crurom -o data.c directory-name\n\n"
      "Multiple:\n"
      "./crurom -o data.c directory1 directory2 .. directoryN\n",
      output);
}


x86 assembly (clang, -O0):
<usage_long>:
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):
<usage_long>:
mov    %rdi,%rcx
lea    0xee6(%rip),%rdi
mov    $0x358,%esi
mov    $0x1,%edx
jmp    1030 <fwrite@plt>

LLVM IR (-O0):
@.str = [857 x i8] c"General\0Acrurom is a tool to generate a basic read-only file system for HARVARD\0Aprocessors.\0A\0AOutput\0Acrurom will generate a source file, which for obvious reasons has to\0Abe included in the build system of the application, containing the\0Acontents of one or more directories. The output source code is generated\0Ain the C programming language.\0A\0AInput\0AAs said before the content of one or more directories is read into a\0Abuffer by crurom and written into a source file systematically, such\0Athe ETA/OS romfs driver can interpret it. In order to do so, input has\0Ato be given to crurom. Therefore the final arguments of to an invocation\0Aof crurom are the direcory('s) it has to consider. An example of a\0Asingle directory and multiple directory invocation:\0A\0ASingle:\0A./crurom -o data.c directory-name\0A\0AMultiple:\0A./crurom -o data.c directory1 directory2 .. directoryN\0A\00"
define void @usage_long(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 @fputs(i8* getelementptr inbounds ([857 x i8], [857 x i8]* @.str, i64 0, i64 0), i32* %3)
ret void
}

LLVM IR (-O2):
@.str = [857 x i8] c"General\0Acrurom is a tool to generate a basic read-only file system for HARVARD\0Aprocessors.\0A\0AOutput\0Acrurom will generate a source file, which for obvious reasons has to\0Abe included in the build system of the application, containing the\0Acontents of one or more directories. The output source code is generated\0Ain the C programming language.\0A\0AInput\0AAs said before the content of one or more directories is read into a\0Abuffer by crurom and written into a source file systematically, such\0Athe ETA/OS romfs driver can interpret it. In order to do so, input has\0Ato be given to crurom. Therefore the final arguments of to an invocation\0Aof crurom are the direcory('s) it has to consider. An example of a\0Asingle directory and multiple directory invocation:\0A\0ASingle:\0A./crurom -o data.c directory-name\0A\0AMultiple:\0A./crurom -o data.c directory1 directory2 .. directoryN\0A\00"
define void @usage_long(i32* nocapture %0) {
%2 = tail call i64 @fwrite(i8* getelementptr inbounds ([857 x i8], [857 x i8]* @.str, i64 0, i64 0), i64 856, i64 1, i32* %0)
ret void
}