#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 *);
print_syntax_message() {
  printf("\nImproper syntax.  You must give the vpack program at least one "
         "parameter.\n");
  printf("You may call the program in one of two ways:\n");
  printf("\n");
  printf("     vpack file.com [-u] [-s source file(s)] [-i IMAKE template "
         "file(s)]\n");
  printf("           [-b VMS build file(s)] [-m UNIX make file(s)]\n");
  printf("           [-p PDF file(s)] [-t Test file(s)] [-d Doc. file(s)]\n");
  printf("           [-o \"Other\" file(s)]\n");
  printf("\n");
  printf("You must use at least one of these options when you call vpack from "
         "the\n");
  printf("command line.  You may use any or all of the options, in any order "
         "you like,\n");
  printf("as long as each \"-x\" parameter is followed by a list of one or "
         "more files.\n");
  printf("Except for \"-u\", which tells vpack whether these files are "
         "unported or not.\n");
  printf("\n");
  printf("The second method of calling this program is to use a file instead "
         "of the\n");
  printf("command line.  In that case, you need only include the name of the "
         "file\n");
  printf(
      "that vpack is to use.  The information present in the file should be\n");
  printf("the same as that used from the command line.\n");
  printf("\n");
  printf("     vpack file.repack\n\n");
}


x86 assembly (clang, -O0):
<print_syntax_message>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xee1(%rip),%rdi
call   1030 <printf@plt>
lea    0xf21(%rip),%rdi
call   1030 <printf@plt>
lea    0x1278(%rip),%rdi
call   1030 <printf@plt>
lea    0xf37(%rip),%rdi
call   1030 <printf@plt>
lea    0xf75(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa3(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd8(%rip),%rdi
call   1030 <printf@plt>
lea    0x123c(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe1(%rip),%rdi
call   1030 <printf@plt>
lea    0x101e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1060(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a0(%rip),%rdi
call   1030 <printf@plt>
lea    0x1200(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d5(%rip),%rdi
call   1030 <printf@plt>
lea    0x1114(%rip),%rdi
call   1030 <printf@plt>
lea    0x1151(%rip),%rdi
call   1030 <printf@plt>
lea    0x118b(%rip),%rdi
call   1030 <printf@plt>
lea    0x11c4(%rip),%rdi
call   1030 <printf@plt>
lea    0x11a1(%rip),%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_syntax_message>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
lea    0xf17(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xf2e(%rip),%rdi
call   1040 <puts@plt>
lea    0xf6b(%rip),%rdi
call   1040 <puts@plt>
lea    0xf98(%rip),%rdi
call   1040 <puts@plt>
lea    0xfcc(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xfd6(%rip),%rdi
call   1040 <puts@plt>
lea    0x1012(%rip),%rdi
call   1040 <puts@plt>
lea    0x1053(%rip),%rdi
call   1040 <puts@plt>
lea    0x1092(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x10c8(%rip),%rdi
call   1040 <puts@plt>
lea    0x1106(%rip),%rdi
call   1040 <puts@plt>
lea    0x1142(%rip),%rdi
call   1040 <puts@plt>
lea    0x117b(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1192(%rip),%rdi
pop    %rax
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [76 x i8] c"\0AImproper syntax. You must give the vpack program at least one parameter.\0A\00"
@.str.1 = [46 x i8] c"You may call the program in one of two ways:\0A\00"
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [74 x i8] c" vpack file.com [-u] [-s source file(s)] [-i IMAKE template file(s)]\0A\00"
@.str.4 = [58 x i8] c" [-b VMS build file(s)] [-m UNIX make file(s)]\0A\00"
@.str.5 = [65 x i8] c" [-p PDF file(s)] [-t Test file(s)] [-d Doc. file(s)]\0A\00"
@.str.6 = [33 x i8] c" [-o \22Other\22 file(s)]\0A\00"
@.str.7 = [73 x i8] c"You must use at least one of these options when you call vpack from the\0A\00"
@.str.8 = [78 x i8] c"command line. You may use any or all of the options, in any order you like,\0A\00"
@.str.9 = [76 x i8] c"as long as each \22-x\22 parameter is followed by a list of one or more files.\0A\00"
@.str.10 = [77 x i8] c"Except for \22-u\22, which tells vpack whether these files are unported or not.\0A\00"
@.str.11 = [75 x i8] c"The second method of calling this program is to use a file instead of the\0A\00"
@.str.12 = [73 x i8] c"command line. In that case, you need only include the name of the file\0A\00"
@.str.13 = [70 x i8] c"that vpack is to use. The information present in the file should be\0A\00"
@.str.14 = [46 x i8] c"the same as that used from the command line.\0A\00"
@.str.15 = [25 x i8] c" vpack file.repack\0A\0A\00"
define i32 @print_syntax_message() {
%1 = alloca i32
%2 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.7, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.8, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.9, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.10, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.11, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.12, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.13, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.14, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0))
%21 = load i32, i32* %1
ret i32 %21
}

LLVM IR (-O2):
@str = [75 x i8] c"\0AImproper syntax. You must give the vpack program at least one parameter.\00"
@str.16 = [45 x i8] c"You may call the program in one of two ways:\00"
@str.17 = [73 x i8] c" vpack file.com [-u] [-s source file(s)] [-i IMAKE template file(s)]\00"
@str.18 = [57 x i8] c" [-b VMS build file(s)] [-m UNIX make file(s)]\00"
@str.19 = [64 x i8] c" [-p PDF file(s)] [-t Test file(s)] [-d Doc. file(s)]\00"
@str.20 = [32 x i8] c" [-o \22Other\22 file(s)]\00"
@str.21 = [72 x i8] c"You must use at least one of these options when you call vpack from the\00"
@str.22 = [77 x i8] c"command line. You may use any or all of the options, in any order you like,\00"
@str.23 = [75 x i8] c"as long as each \22-x\22 parameter is followed by a list of one or more files.\00"
@str.24 = [76 x i8] c"Except for \22-u\22, which tells vpack whether these files are unported or not.\00"
@str.25 = [74 x i8] c"The second method of calling this program is to use a file instead of the\00"
@str.26 = [72 x i8] c"command line. In that case, you need only include the name of the file\00"
@str.27 = [69 x i8] c"that vpack is to use. The information present in the file should be\00"
@str.28 = [45 x i8] c"the same as that used from the command line.\00"
@str.29 = [24 x i8] c" vpack file.repack\0A\00"
define i32 @print_syntax_message() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.16, i64 0, i64 0))
%3 = tail call i32 @putchar(i32 10)
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.17, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.18, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.19, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.20, i64 0, i64 0))
%8 = tail call i32 @putchar(i32 10)
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.21, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.22, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.23, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.24, i64 0, i64 0))
%13 = tail call i32 @putchar(i32 10)
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.25, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.26, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.27, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.28, i64 0, i64 0))
%18 = tail call i32 @putchar(i32 10)
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.29, i64 0, i64 0))
ret i32 undef
}