#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 help_out() {
  printf("\n\n\t1gformat fs[.rom] [granules [-T|G|M|b|p|K]] < specifications "
         "[-hvwz]\n"
         "\t\tor\n"
         "\t1gformat -x fs[.txo] [root_directory_offset_granule] < "
         "specifications [-hvw]\n\n");
  printf("\trom file system output may opt a size in\n"
         "\t64-word granules | Kwords | 4096-word pages | 262144-word banks | "
         "Megawords | Gigawords | Terawords\n\n");
  printf("\ttxo file system output for code inclusion opts a 48-bit root "
         "directory offset granule\n"
         "\tto point beyond code addresses. 48-bit file and directory offsets "
         "are exported\n\n");
  printf("\t-z\tzero-fill to next 4K page\n");
  printf("\t-v\tverbose\n");
  printf("\t-w\textra verbose\n");
  printf("\t-h\tprint this help\n\n");
  printf(
      "\teach specification starts in the 1st column of a line. Example :\n\n");
  printf("volume volume_name\n");
  printf("tree directory_1\n");
  printf("tree directory_2\n");
  printf("file file_a from_path_1a\n");
  printf("file file_b from_path_1b\n");
  printf(".\n");
  printf("file file_z from_path_2z\n");
  printf(".\n");
  printf(".\n\n");
  printf(
      "\twhere a filename is given with no load path the file must be in the "
      "working directory\n"
      "\tcommand . changes to containing directory\n"
      "\tvolume is root directory and . from volume concludes operation\n\n");
}


x86 assembly (clang, -O0):
<help_out>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf76(%rip),%rdi
call   1030 <printf@plt>
lea    0xffb(%rip),%rdi
call   1030 <printf@plt>
lea    0x1098(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ab(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ac(%rip),%rdi
call   1030 <printf@plt>
lea    0x10b3(%rip),%rdi
call   1030 <printf@plt>
lea    0x10bd(%rip),%rdi
call   1030 <printf@plt>
lea    0x10f5(%rip),%rdi
call   1030 <printf@plt>
lea    0x10fd(%rip),%rdi
call   1030 <printf@plt>
lea    0x1103(%rip),%rdi
call   1030 <printf@plt>
lea    0x1109(%rip),%rdi
call   1030 <printf@plt>
lea    0x1117(%rip),%rdi
call   1030 <printf@plt>
lea    0x1125(%rip),%rdi
call   1030 <printf@plt>
lea    0x111c(%rip),%rdi
call   1030 <printf@plt>
lea    0x110d(%rip),%rdi
call   1030 <printf@plt>
lea    0x111e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1116(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help_out>:
push   %rbx
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf78(%rip),%rdi
call   1030 <puts@plt>
lea    0xffc(%rip),%rdi
call   1030 <puts@plt>
lea    0x1098(%rip),%rdi
call   1030 <puts@plt>
lea    0x10aa(%rip),%rdi
call   1030 <puts@plt>
lea    0x10aa(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b0(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b9(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f0(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f7(%rip),%rdi
call   1030 <puts@plt>
lea    0x10fc(%rip),%rdi
call   1030 <puts@plt>
lea    0x1101(%rip),%rdi
call   1030 <puts@plt>
lea    0x110e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1134(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x110c(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x1113(%rip),%rdi
call   1030 <puts@plt>
lea    0x110a(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [157 x i8] c"\0A\0A\091gformat fs[.rom] [granules [-T|G|M|b|p|K]] < specifications [-hvwz]\0A\09\09or\0A\091gformat -x fs[.txo] [root_directory_offset_granule] < specifications [-hvw]\0A\0A\00"
@.str.1 = [145 x i8] c"\09rom file system output may opt a size in\0A\0964-word granules | Kwords | 4096-word pages | 262144-word banks | Megawords | Gigawords | Terawords\0A\0A\00"
@.str.2 = [169 x i8] c"\09txo file system output for code inclusion opts a 48-bit root directory offset granule\0A\09to point beyond code addresses. 48-bit file and directory offsets are exported\0A\0A\00"
@.str.3 = [31 x i8] c"\09-z\09zero-fill to next 4K page\0A\00"
@.str.4 = [13 x i8] c"\09-v\09verbose\0A\00"
@.str.5 = [19 x i8] c"\09-w\09extra verbose\0A\00"
@.str.6 = [22 x i8] c"\09-h\09print this help\0A\0A\00"
@.str.7 = [68 x i8] c"\09each specification starts in the 1st column of a line. Example :\0A\0A\00"
@.str.8 = [20 x i8] c"volume volume_name\0A\00"
@.str.9 = [18 x i8] c"tree directory_1\0A\00"
@.str.10 = [18 x i8] c"tree directory_2\0A\00"
@.str.11 = [26 x i8] c"file file_a from_path_1a\0A\00"
@.str.12 = [26 x i8] c"file file_b from_path_1b\0A\00"
@.str.13 = [3 x i8] c".\0A\00"
@.str.14 = [26 x i8] c"file file_z from_path_2z\0A\00"
@.str.15 = [4 x i8] c".\0A\0A\00"
@.str.16 = [196 x i8] c"\09where a filename is given with no load path the file must be in the working directory\0A\09command . changes to containing directory\0A\09volume is root directory and . from volume concludes operation\0A\0A\00"
define void @help_out() {
%1 = call i32 @printf(i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([145 x i8], [145 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([169 x i8], [169 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([196 x i8], [196 x i8]* @.str.16, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [156 x i8] c"\0A\0A\091gformat fs[.rom] [granules [-T|G|M|b|p|K]] < specifications [-hvwz]\0A\09\09or\0A\091gformat -x fs[.txo] [root_directory_offset_granule] < specifications [-hvw]\0A\00"
@str.17 = [144 x i8] c"\09rom file system output may opt a size in\0A\0964-word granules | Kwords | 4096-word pages | 262144-word banks | Megawords | Gigawords | Terawords\0A\00"
@str.18 = [168 x i8] c"\09txo file system output for code inclusion opts a 48-bit root directory offset granule\0A\09to point beyond code addresses. 48-bit file and directory offsets are exported\0A\00"
@str.19 = [30 x i8] c"\09-z\09zero-fill to next 4K page\00"
@str.20 = [12 x i8] c"\09-v\09verbose\00"
@str.21 = [18 x i8] c"\09-w\09extra verbose\00"
@str.22 = [21 x i8] c"\09-h\09print this help\0A\00"
@str.23 = [67 x i8] c"\09each specification starts in the 1st column of a line. Example :\0A\00"
@str.24 = [19 x i8] c"volume volume_name\00"
@str.25 = [17 x i8] c"tree directory_1\00"
@str.26 = [17 x i8] c"tree directory_2\00"
@str.27 = [25 x i8] c"file file_a from_path_1a\00"
@str.28 = [25 x i8] c"file file_b from_path_1b\00"
@str.30 = [25 x i8] c"file file_z from_path_2z\00"
@str.31 = [2 x i8] c".\00"
@str.32 = [3 x i8] c".\0A\00"
@str.33 = [195 x i8] c"\09where a filename is given with no load path the file must be in the working directory\0A\09command . changes to containing directory\0A\09volume is root directory and . from volume concludes operation\0A\00"
define void @help_out() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([156 x i8], [156 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([144 x i8], [144 x i8]* @str.17, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([168 x i8], [168 x i8]* @str.18, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.19, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.20, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.21, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.22, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.23, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.24, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.25, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.26, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.27, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.28, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.31, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.30, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.31, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.32, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([195 x i8], [195 x i8]* @str.33, i64 0, i64 0))
ret void
}