#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*/ printf(char *);
void print_info(void) {
  printf("Tool for a read-only access on a Smaky disk. fosfat-"
         "0.4.0"
         "\n\n"
         "Usage: fosread [options] device mode [node] [path]\n\n"
         " -h --help             this help\n"
         " -v --version          version\n"
         " -a --harddisk         force an hard disk (default autodetect)\n"
         " -f --floppydisk       force a floppy disk (default autodetect)\n"
         " -l --fos-logger       that will turn on the FOS logger\n"
         " -u --undelete         enable the undelete mode, even deleted files "
         "will\n"
         "                       be listed and sometimes restorable with 'get' "
         "mode.\n\n"
         " device                "
         "/dev/fd0 : floppy disk\n"
         "                       /dev/sda : hard disk, etc\n"
         " mode\n"
         "   list                list the content of a node\n"
         "   get                 copy a file from the Smaky's disk in a"
         " local directory\n"
         " node                  the tree with the file (or folder)"
         " for 'get' or 'list'\n"
         "                       example: foo/bar/toto.text\n"
         " path                  you can specify a path to save"
         " the file (with get mode)\n"
         "\nPlease, report bugs to <fosfat-devel@gamesover.ch>.\n");
}


x86 assembly (clang, -O0):
<print_info>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_info>:
lea    0xee9(%rip),%rdi
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [997 x i8] c"Tool for a read-only access on a Smaky disk. fosfat-0.4.0\0A\0AUsage: fosread [options] device mode [node] [path]\0A\0A -h --help this help\0A -v --version version\0A -a --harddisk force an hard disk (default autodetect)\0A -f --floppydisk force a floppy disk (default autodetect)\0A -l --fos-logger that will turn on the FOS logger\0A -u --undelete enable the undelete mode, even deleted files will\0A be listed and sometimes restorable with 'get' mode.\0A\0A device /dev/fd0 : floppy disk\0A /dev/sda : hard disk, etc\0A mode\0A list list the content of a node\0A get copy a file from the Smaky's disk in a local directory\0A node the tree with the file (or folder) for 'get' or 'list'\0A example: foo/bar/toto.text\0A path you can specify a path to save the file (with get mode)\0A\0APlease, report bugs to <fosfat-devel@gamesover.ch>.\0A\00"
define void @print_info() {
%1 = call i32 @printf(i8* getelementptr inbounds ([997 x i8], [997 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [996 x i8] c"Tool for a read-only access on a Smaky disk. fosfat-0.4.0\0A\0AUsage: fosread [options] device mode [node] [path]\0A\0A -h --help this help\0A -v --version version\0A -a --harddisk force an hard disk (default autodetect)\0A -f --floppydisk force a floppy disk (default autodetect)\0A -l --fos-logger that will turn on the FOS logger\0A -u --undelete enable the undelete mode, even deleted files will\0A be listed and sometimes restorable with 'get' mode.\0A\0A device /dev/fd0 : floppy disk\0A /dev/sda : hard disk, etc\0A mode\0A list list the content of a node\0A get copy a file from the Smaky's disk in a local directory\0A node the tree with the file (or folder) for 'get' or 'list'\0A example: foo/bar/toto.text\0A path you can specify a path to save the file (with get mode)\0A\0APlease, report bugs to <fosfat-devel@gamesover.ch>.\00"
define void @print_info() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([996 x i8], [996 x i8]* @str, i64 0, i64 0))
ret void
}