#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*/ puts(char *);
void help() {
  puts("usage: spc [OPTIONS] [FILE]");
  puts("");
  puts("  -c <CFG>, --config=CFG       specify non-standard spcrc config file");
  puts("  -C <DIR>, --config-dir=DIR   specify non-standard config directory");
  puts("  -d,       --debug            turn on debug information");
  puts("  -D,       --no-extension     don't look at ./.spcrc[-ext] for config "
       "file");
  puts("  -h,       --help             print this help and exit");
  puts("  -m,       --matching         print only lines that have matches");
  puts("  -n,       --line-numbers     precede each line with a line number");
  puts("  -r,       --reverse          reverse black and white");
  puts(
      "  -R,       --nohomedir        don't look in ~/.spcrc for config files");
  puts("  -S,       --printsysdir      printf system directory and exit");
  puts("  -t <TYP>, --type=TYP         specify the effective file type "
       "extension");
  puts("  -v,       --version          print version information and exit");
  puts("  -w,       --webpage          generate web page");
  puts("");
  puts("Report bugs to <bug-spc@nosredna.net>");
  exit(0);
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <puts@plt>
lea    0x1252(%rip),%rdi
call   1030 <puts@plt>
lea    0xed9(%rip),%rdi
call   1030 <puts@plt>
lea    0xf13(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf79(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb9(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe5(%rip),%rdi
call   1030 <puts@plt>
lea    0x101b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1053(%rip),%rdi
call   1030 <puts@plt>
lea    0x107e(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b9(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ed(%rip),%rdi
call   1030 <puts@plt>
lea    0x112a(%rip),%rdi
call   1030 <puts@plt>
lea    0x1160(%rip),%rdi
call   1030 <puts@plt>
lea    0x11aa(%rip),%rdi
call   1030 <puts@plt>
lea    0x1179(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<help>:
push   %rax
lea    0xec8(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xece(%rip),%rdi
call   1040 <puts@plt>
lea    0xf08(%rip),%rdi
call   1040 <puts@plt>
lea    0xf41(%rip),%rdi
call   1040 <puts@plt>
lea    0xf6e(%rip),%rdi
call   1040 <puts@plt>
lea    0xfae(%rip),%rdi
call   1040 <puts@plt>
lea    0xfda(%rip),%rdi
call   1040 <puts@plt>
lea    0x1010(%rip),%rdi
call   1040 <puts@plt>
lea    0x1048(%rip),%rdi
call   1040 <puts@plt>
lea    0x1073(%rip),%rdi
call   1040 <puts@plt>
lea    0x10ae(%rip),%rdi
call   1040 <puts@plt>
lea    0x10e2(%rip),%rdi
call   1040 <puts@plt>
lea    0x111f(%rip),%rdi
call   1040 <puts@plt>
lea    0x1155(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1170(%rip),%rdi
call   1040 <puts@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [28 x i8] c"usage: spc [OPTIONS] [FILE]\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [70 x i8] c" -c <CFG>, --config=CFG specify non-standard spcrc config file\00"
@.str.3 = [69 x i8] c" -C <DIR>, --config-dir=DIR specify non-standard config directory\00"
@.str.4 = [57 x i8] c" -d, --debug turn on debug information\00"
@.str.5 = [76 x i8] c" -D, --no-extension don't look at ./.spcrc[-ext] for config file\00"
@.str.6 = [56 x i8] c" -h, --help print this help and exit\00"
@.str.7 = [66 x i8] c" -m, --matching print only lines that have matches\00"
@.str.8 = [68 x i8] c" -n, --line-numbers precede each line with a line number\00"
@.str.9 = [55 x i8] c" -r, --reverse reverse black and white\00"
@.str.10 = [71 x i8] c" -R, --nohomedir don't look in ~/.spcrc for config files\00"
@.str.11 = [64 x i8] c" -S, --printsysdir printf system directory and exit\00"
@.str.12 = [73 x i8] c" -t <TYP>, --type=TYP specify the effective file type extension\00"
@.str.13 = [66 x i8] c" -v, --version print version information and exit\00"
@.str.14 = [49 x i8] c" -w, --webpage generate web page\00"
@.str.15 = [38 x i8] c"Report bugs to <bug-spc@nosredna.net>\00"
define void @help() {
%1 = call i32 @puts(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @puts(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @puts(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @puts(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @puts(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @puts(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @puts(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @puts(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @puts(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @puts(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @puts(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%17 = call i32 @puts(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.15, i64 0, i64 0))
%18 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [28 x i8] c"usage: spc [OPTIONS] [FILE]\00"
@.str.2 = [70 x i8] c" -c <CFG>, --config=CFG specify non-standard spcrc config file\00"
@.str.3 = [69 x i8] c" -C <DIR>, --config-dir=DIR specify non-standard config directory\00"
@.str.4 = [57 x i8] c" -d, --debug turn on debug information\00"
@.str.5 = [76 x i8] c" -D, --no-extension don't look at ./.spcrc[-ext] for config file\00"
@.str.6 = [56 x i8] c" -h, --help print this help and exit\00"
@.str.7 = [66 x i8] c" -m, --matching print only lines that have matches\00"
@.str.8 = [68 x i8] c" -n, --line-numbers precede each line with a line number\00"
@.str.9 = [55 x i8] c" -r, --reverse reverse black and white\00"
@.str.10 = [71 x i8] c" -R, --nohomedir don't look in ~/.spcrc for config files\00"
@.str.11 = [64 x i8] c" -S, --printsysdir printf system directory and exit\00"
@.str.12 = [73 x i8] c" -t <TYP>, --type=TYP specify the effective file type extension\00"
@.str.13 = [66 x i8] c" -v, --version print version information and exit\00"
@.str.14 = [49 x i8] c" -w, --webpage generate web page\00"
@.str.15 = [38 x i8] c"Report bugs to <bug-spc@nosredna.net>\00"
define void @help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @putchar(i32 10)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @.str.12, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.13, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.14, i64 0, i64 0))
%16 = tail call i32 @putchar(i32 10)
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.15, i64 0, i64 0))
%18 = tail call i32 @exit(i32 0)
unreachable
}