#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 /*<<< orphan*/);
int /*<<< orphan*/ wrterr(char *);
void prompt() {
  wrterr("usage: spitbol [options] files[.spt or .spx] [args to HOST(2)]");
  wrterr(
      "source files are concatenated, filename '-' is standard input/output");
  wrterr("# is a decimal number.  Append \"k\" for kilobytes, \"m\" for "
         "megabytes.");
  wrterr("options:");
  wrterr("-d# #bytes max heap            -i# #bytes initial heap size & "
         "enlarge amount");
  wrterr("-m# #bytes max object size     -s# #bytes stack size");
  wrterr("-c compiler statistics         -x execution statistics");
  wrterr("-a same as -lcx                -l normal listing");
  wrterr("-p listing with wide titles    -z listing with form feeds");
  wrterr(
      "-o=file[.lst]  listing file    -h suppress version ID/date in listing");
  wrterr("-g# lines per page             -t# line width in characters");
  wrterr("-b suppress signon message     -e errors to list file only");
  wrterr("-k run with compilation error  -n suppress execution");
  wrterr("-f no case-folding             -u \"string\" data passed to HOST(0)");
  wrterr("-y write save (.spx) file");
  wrterr("-r INPUT from source file following END statement");
  wrterr("-T=file  write TERMINAL output to file");
  wrterr("-#=file[options]  associate file with I/O channel #");
  wrterr("option defaults: -d64m -i128k -m4m -s128k -g60 -t120");
  __exit(0);
}


x86 assembly (clang, -O0):
<prompt>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1040 <wrterr@plt>
lea    0xf08(%rip),%rdi
call   1040 <wrterr@plt>
lea    0xf41(%rip),%rdi
call   1040 <wrterr@plt>
lea    0xf7a(%rip),%rdi
call   1040 <wrterr@plt>
lea    0xf77(%rip),%rdi
call   1040 <wrterr@plt>
lea    0xfb8(%rip),%rdi
call   1040 <wrterr@plt>
lea    0xfe1(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x100c(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x1031(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x105f(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x1099(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x10c9(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x10f8(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x1121(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x1157(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x1165(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x118b(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x11a6(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x11ce(%rip),%rdi
call   1040 <wrterr@plt>
xor    %edi,%edi
call   1030 <__exit@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<prompt>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <wrterr@plt>
lea    0xf0b(%rip),%rdi
call   1040 <wrterr@plt>
lea    0xf44(%rip),%rdi
call   1040 <wrterr@plt>
lea    0xf7d(%rip),%rdi
call   1040 <wrterr@plt>
lea    0xf7a(%rip),%rdi
call   1040 <wrterr@plt>
lea    0xfbb(%rip),%rdi
call   1040 <wrterr@plt>
lea    0xfe4(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x100f(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x1034(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x1062(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x109c(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x10cc(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x10fb(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x1124(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x115a(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x1168(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x118e(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x11a9(%rip),%rdi
call   1040 <wrterr@plt>
lea    0x11d1(%rip),%rdi
call   1040 <wrterr@plt>
xor    %edi,%edi
pop    %rax
jmp    1030 <__exit@plt>

LLVM IR (-O0):
@.str = [63 x i8] c"usage: spitbol [options] files[.spt or .spx] [args to HOST(2)]\00"
@.str.1 = [69 x i8] c"source files are concatenated, filename '-' is standard input/output\00"
@.str.2 = [69 x i8] c"# is a decimal number. Append \22k\22 for kilobytes, \22m\22 for megabytes.\00"
@.str.3 = [9 x i8] c"options:\00"
@.str.4 = [77 x i8] c"-d# #bytes max heap -i# #bytes initial heap size & enlarge amount\00"
@.str.5 = [53 x i8] c"-m# #bytes max object size -s# #bytes stack size\00"
@.str.6 = [55 x i8] c"-c compiler statistics -x execution statistics\00"
@.str.7 = [49 x i8] c"-a same as -lcx -l normal listing\00"
@.str.8 = [58 x i8] c"-p listing with wide titles -z listing with form feeds\00"
@.str.9 = [70 x i8] c"-o=file[.lst] listing file -h suppress version ID/date in listing\00"
@.str.10 = [60 x i8] c"-g# lines per page -t# line width in characters\00"
@.str.11 = [59 x i8] c"-b suppress signon message -e errors to list file only\00"
@.str.12 = [53 x i8] c"-k run with compilation error -n suppress execution\00"
@.str.13 = [66 x i8] c"-f no case-folding -u \22string\22 data passed to HOST(0)\00"
@.str.14 = [26 x i8] c"-y write save (.spx) file\00"
@.str.15 = [50 x i8] c"-r INPUT from source file following END statement\00"
@.str.16 = [39 x i8] c"-T=file write TERMINAL output to file\00"
@.str.17 = [52 x i8] c"-#=file[options] associate file with I/O channel #\00"
@.str.18 = [53 x i8] c"option defaults: -d64m -i128k -m4m -s128k -g60 -t120\00"
define void @prompt() {
%1 = call i32 @wrterr(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @wrterr(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @wrterr(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @wrterr(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @wrterr(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @wrterr(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @wrterr(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @wrterr(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @wrterr(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @wrterr(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @wrterr(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @wrterr(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @wrterr(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @wrterr(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @wrterr(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @wrterr(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @wrterr(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @wrterr(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @wrterr(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @__exit(i32 0)
ret void
}

LLVM IR (-O2):
@.str = [63 x i8] c"usage: spitbol [options] files[.spt or .spx] [args to HOST(2)]\00"
@.str.1 = [69 x i8] c"source files are concatenated, filename '-' is standard input/output\00"
@.str.2 = [69 x i8] c"# is a decimal number. Append \22k\22 for kilobytes, \22m\22 for megabytes.\00"
@.str.3 = [9 x i8] c"options:\00"
@.str.4 = [77 x i8] c"-d# #bytes max heap -i# #bytes initial heap size & enlarge amount\00"
@.str.5 = [53 x i8] c"-m# #bytes max object size -s# #bytes stack size\00"
@.str.6 = [55 x i8] c"-c compiler statistics -x execution statistics\00"
@.str.7 = [49 x i8] c"-a same as -lcx -l normal listing\00"
@.str.8 = [58 x i8] c"-p listing with wide titles -z listing with form feeds\00"
@.str.9 = [70 x i8] c"-o=file[.lst] listing file -h suppress version ID/date in listing\00"
@.str.10 = [60 x i8] c"-g# lines per page -t# line width in characters\00"
@.str.11 = [59 x i8] c"-b suppress signon message -e errors to list file only\00"
@.str.12 = [53 x i8] c"-k run with compilation error -n suppress execution\00"
@.str.13 = [66 x i8] c"-f no case-folding -u \22string\22 data passed to HOST(0)\00"
@.str.14 = [26 x i8] c"-y write save (.spx) file\00"
@.str.15 = [50 x i8] c"-r INPUT from source file following END statement\00"
@.str.16 = [39 x i8] c"-T=file write TERMINAL output to file\00"
@.str.17 = [52 x i8] c"-#=file[options] associate file with I/O channel #\00"
@.str.18 = [53 x i8] c"option defaults: -d64m -i128k -m4m -s128k -g60 -t120\00"
define void @prompt() {
%1 = tail call i32 @wrterr(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @wrterr(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @wrterr(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @wrterr(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @wrterr(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @wrterr(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @wrterr(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @wrterr(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @wrterr(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @wrterr(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @wrterr(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @wrterr(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 @wrterr(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.12, i64 0, i64 0))
%14 = tail call i32 @wrterr(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.13, i64 0, i64 0))
%15 = tail call i32 @wrterr(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.14, i64 0, i64 0))
%16 = tail call i32 @wrterr(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.15, i64 0, i64 0))
%17 = tail call i32 @wrterr(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.16, i64 0, i64 0))
%18 = tail call i32 @wrterr(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.17, i64 0, i64 0))
%19 = tail call i32 @wrterr(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.18, i64 0, i64 0))
%20 = tail call i32 @__exit(i32 0)
ret void
}