#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_help() {
  printf("ex_slice \\\n");
  printf("  -C\t\tPerform a checkpoint at the end of the run.\n");
  printf("  -c <str>\tAdd <str> to to DB_CONFIG; may be repeated.\n");
  printf("  -D [nsw]\tChange transaction durability to one of "
         "DB_TXN_{NOSYNC,SYNC,WRITE_NOSYNC} [default: write_nosync].\n");
  printf("  -d <#secs>\tSet the duration of this run, in seconds [default: "
         "10].\n");
  printf("  -H\t\tCreate DB_HASH files [default: DB_BTREE].\n");
  printf("  -h <home>\tSet the environment home directory [default: SLICE].\n");
  printf("  -k [smw]\tSet the slice key callback function to single or "
         "multi-key [default: whole key].\n");
  printf("  -L\t\tTurn on the thread tracking and the locker cache.\n");
  printf("  -M <#>\tRun in multiple processes, splitting up work [default: "
         "just one process].\n");
  printf("  -N\t\tDo not create the on-disk environment.\n");
  printf("  -n <#>[kmg]\tSet the number of distinct record values [default: "
         "1M].\n");
  printf("  -O <extra>\tSet the overflow record size increase [default: 0].\n");
  printf("  -o <#>[kmg]\tDo this many write transactions [default: 1M].\n");
  printf("  -P <title>\tSet the name of this process in its messages.\n");
  printf("  -p <pgsize>\tSet the database pagesize [default: 8K].\n");
  printf("  -q\t\tQuiet mode - reduce the amount of informational messages.\n");
  printf("  -R\t\trm -r the home directory before starting.\n");
  printf("  -r <#readers>\tSet the number of threads which just read single "
         "records [default: 0].\n");
  printf("  -S <seed>\tSet the random number seed [default: getpid() ^ "
         "time()].\n");
  printf("  -s <#slices>\tSets the number of slices [default: 2 * writer "
         "threads)].\n");
  printf("  -T\t\tShare a DB_THREAD'd environment handle [each thread has its "
         "own].\n");
  printf("  -u\t\tUpdate records instead of inserting and deleting them.\n");
  printf("  -V\t\tVerify that db results records match in-memory data.\n");
  printf("  -v\t\tSet verbose messages; repeat for additional details.\n");
  printf("  -w <#writers>\tSet the number of threads which write to the db.\n");
  printf("  -y\t\tYield the cpu frequently to encourage contention.\n");
  printf("\n");
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf38(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9b(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd5(%rip),%rdi
call   1030 <printf@plt>
lea    0xffa(%rip),%rdi
call   1030 <printf@plt>
lea    0x1030(%rip),%rdi
call   1030 <printf@plt>
lea    0x1081(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ae(%rip),%rdi
call   1030 <printf@plt>
lea    0x10f6(%rip),%rdi
call   1030 <printf@plt>
lea    0x1118(%rip),%rdi
call   1030 <printf@plt>
lea    0x1153(%rip),%rdi
call   1030 <printf@plt>
lea    0x1189(%rip),%rdi
call   1030 <printf@plt>
lea    0x11bb(%rip),%rdi
call   1030 <printf@plt>
lea    0x11eb(%rip),%rdi
call   1030 <printf@plt>
lea    0x1217(%rip),%rdi
call   1030 <printf@plt>
lea    0x124c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1271(%rip),%rdi
call   1030 <printf@plt>
lea    0x12bd(%rip),%rdi
call   1030 <printf@plt>
lea    0x12f7(%rip),%rdi
call   1030 <printf@plt>
lea    0x1335(%rip),%rdi
call   1030 <printf@plt>
lea    0x1372(%rip),%rdi
call   1030 <printf@plt>
lea    0x13a4(%rip),%rdi
call   1030 <printf@plt>
lea    0x13d4(%rip),%rdi
call   1030 <printf@plt>
lea    0x1404(%rip),%rdi
call   1030 <printf@plt>
lea    0x143a(%rip),%rdi
call   1030 <printf@plt>
lea    0x12a1(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
lea    0xed7(%rip),%rdi
call   1040 <puts@plt>
lea    0xefd(%rip),%rdi
call   1040 <puts@plt>
lea    0xf28(%rip),%rdi
call   1040 <puts@plt>
lea    0xf8a(%rip),%rdi
call   1040 <puts@plt>
lea    0xfc3(%rip),%rdi
call   1040 <puts@plt>
lea    0xfe7(%rip),%rdi
call   1040 <puts@plt>
lea    0x101c(%rip),%rdi
call   1040 <puts@plt>
lea    0x106c(%rip),%rdi
call   1040 <puts@plt>
lea    0x1098(%rip),%rdi
call   1040 <puts@plt>
lea    0x10df(%rip),%rdi
call   1040 <puts@plt>
lea    0x1100(%rip),%rdi
call   1040 <puts@plt>
lea    0x113a(%rip),%rdi
call   1040 <puts@plt>
lea    0x116f(%rip),%rdi
call   1040 <puts@plt>
lea    0x11a0(%rip),%rdi
call   1040 <puts@plt>
lea    0x11cf(%rip),%rdi
call   1040 <puts@plt>
lea    0x11fa(%rip),%rdi
call   1040 <puts@plt>
lea    0x122e(%rip),%rdi
call   1040 <puts@plt>
lea    0x1252(%rip),%rdi
call   1040 <puts@plt>
lea    0x129d(%rip),%rdi
call   1040 <puts@plt>
lea    0x12d6(%rip),%rdi
call   1040 <puts@plt>
lea    0x1313(%rip),%rdi
call   1040 <puts@plt>
lea    0x134f(%rip),%rdi
call   1040 <puts@plt>
lea    0x1380(%rip),%rdi
call   1040 <puts@plt>
lea    0x13af(%rip),%rdi
call   1040 <puts@plt>
lea    0x13de(%rip),%rdi
call   1040 <puts@plt>
lea    0x1413(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
pop    %rax
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [12 x i8] c"ex_slice \\\0A\00"
@.str.1 = [51 x i8] c" -C\09\09Perform a checkpoint at the end of the run.\0A\00"
@.str.2 = [56 x i8] c" -c <str>\09Add <str> to to DB_CONFIG; may be repeated.\0A\00"
@.str.3 = [111 x i8] c" -D [nsw]\09Change transaction durability to one of DB_TXN_{NOSYNC,SYNC,WRITE_NOSYNC} [default: write_nosync].\0A\00"
@.str.4 = [70 x i8] c" -d <#secs>\09Set the duration of this run, in seconds [default: 10].\0A\00"
@.str.5 = [49 x i8] c" -H\09\09Create DB_HASH files [default: DB_BTREE].\0A\00"
@.str.6 = [66 x i8] c" -h <home>\09Set the environment home directory [default: SLICE].\0A\00"
@.str.7 = [93 x i8] c" -k [smw]\09Set the slice key callback function to single or multi-key [default: whole key].\0A\00"
@.str.8 = [57 x i8] c" -L\09\09Turn on the thread tracking and the locker cache.\0A\00"
@.str.9 = [84 x i8] c" -M <#>\09Run in multiple processes, splitting up work [default: just one process].\0A\00"
@.str.10 = [46 x i8] c" -N\09\09Do not create the on-disk environment.\0A\00"
@.str.11 = [71 x i8] c" -n <#>[kmg]\09Set the number of distinct record values [default: 1M].\0A\00"
@.str.12 = [66 x i8] c" -O <extra>\09Set the overflow record size increase [default: 0].\0A\00"
@.str.13 = [62 x i8] c" -o <#>[kmg]\09Do this many write transactions [default: 1M].\0A\00"
@.str.14 = [60 x i8] c" -P <title>\09Set the name of this process in its messages.\0A\00"
@.str.15 = [56 x i8] c" -p <pgsize>\09Set the database pagesize [default: 8K].\0A\00"
@.str.16 = [65 x i8] c" -q\09\09Quiet mode - reduce the amount of informational messages.\0A\00"
@.str.17 = [49 x i8] c" -R\09\09rm -r the home directory before starting.\0A\00"
@.str.18 = [88 x i8] c" -r <#readers>\09Set the number of threads which just read single records [default: 0].\0A\00"
@.str.19 = [70 x i8] c" -S <seed>\09Set the random number seed [default: getpid() ^ time()].\0A\00"
@.str.20 = [74 x i8] c" -s <#slices>\09Sets the number of slices [default: 2 * writer threads)].\0A\00"
@.str.21 = [73 x i8] c" -T\09\09Share a DB_THREAD'd environment handle [each thread has its own].\0A\00"
@.str.22 = [62 x i8] c" -u\09\09Update records instead of inserting and deleting them.\0A\00"
@.str.23 = [60 x i8] c" -V\09\09Verify that db results records match in-memory data.\0A\00"
@.str.24 = [60 x i8] c" -v\09\09Set verbose messages; repeat for additional details.\0A\00"
@.str.25 = [66 x i8] c" -w <#writers>\09Set the number of threads which write to the db.\0A\00"
@.str.26 = [57 x i8] c" -y\09\09Yield the cpu frequently to encourage contention.\0A\00"
@.str.27 = [2 x i8] c"\0A\00"
define void @print_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([111 x i8], [111 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.21, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.22, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.23, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.24, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.25, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.26, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.27, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [11 x i8] c"ex_slice \\\00"
@str.28 = [50 x i8] c" -C\09\09Perform a checkpoint at the end of the run.\00"
@str.29 = [55 x i8] c" -c <str>\09Add <str> to to DB_CONFIG; may be repeated.\00"
@str.30 = [110 x i8] c" -D [nsw]\09Change transaction durability to one of DB_TXN_{NOSYNC,SYNC,WRITE_NOSYNC} [default: write_nosync].\00"
@str.31 = [69 x i8] c" -d <#secs>\09Set the duration of this run, in seconds [default: 10].\00"
@str.32 = [48 x i8] c" -H\09\09Create DB_HASH files [default: DB_BTREE].\00"
@str.33 = [65 x i8] c" -h <home>\09Set the environment home directory [default: SLICE].\00"
@str.34 = [92 x i8] c" -k [smw]\09Set the slice key callback function to single or multi-key [default: whole key].\00"
@str.35 = [56 x i8] c" -L\09\09Turn on the thread tracking and the locker cache.\00"
@str.36 = [83 x i8] c" -M <#>\09Run in multiple processes, splitting up work [default: just one process].\00"
@str.37 = [45 x i8] c" -N\09\09Do not create the on-disk environment.\00"
@str.38 = [70 x i8] c" -n <#>[kmg]\09Set the number of distinct record values [default: 1M].\00"
@str.39 = [65 x i8] c" -O <extra>\09Set the overflow record size increase [default: 0].\00"
@str.40 = [61 x i8] c" -o <#>[kmg]\09Do this many write transactions [default: 1M].\00"
@str.41 = [59 x i8] c" -P <title>\09Set the name of this process in its messages.\00"
@str.42 = [55 x i8] c" -p <pgsize>\09Set the database pagesize [default: 8K].\00"
@str.43 = [64 x i8] c" -q\09\09Quiet mode - reduce the amount of informational messages.\00"
@str.44 = [48 x i8] c" -R\09\09rm -r the home directory before starting.\00"
@str.45 = [87 x i8] c" -r <#readers>\09Set the number of threads which just read single records [default: 0].\00"
@str.46 = [69 x i8] c" -S <seed>\09Set the random number seed [default: getpid() ^ time()].\00"
@str.47 = [73 x i8] c" -s <#slices>\09Sets the number of slices [default: 2 * writer threads)].\00"
@str.48 = [72 x i8] c" -T\09\09Share a DB_THREAD'd environment handle [each thread has its own].\00"
@str.49 = [61 x i8] c" -u\09\09Update records instead of inserting and deleting them.\00"
@str.50 = [59 x i8] c" -V\09\09Verify that db results records match in-memory data.\00"
@str.51 = [59 x i8] c" -v\09\09Set verbose messages; repeat for additional details.\00"
@str.52 = [65 x i8] c" -w <#writers>\09Set the number of threads which write to the db.\00"
@str.53 = [56 x i8] c" -y\09\09Yield the cpu frequently to encourage contention.\00"
define void @print_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.28, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.29, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([110 x i8], [110 x i8]* @str.30, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.31, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.32, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.33, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.34, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.35, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @str.36, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.37, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.38, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.39, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.40, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.41, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.42, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.43, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.44, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([87 x i8], [87 x i8]* @str.45, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.46, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.47, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.48, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.49, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.50, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.51, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.52, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.53, i64 0, i64 0))
%28 = tail call i32 @putchar(i32 10)
ret void
}