#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_speed_test_help() {
  printf(
      "\n"
      "Repeat the following $repeat times:\n"
      "  1. Insert $write key-value pairs. One transaction for each write op.\n"
      "  2. Pause for $pause ms.\n"
      "  3. Perform $fetch queries on the database.\n"
      "\n"
      "  Keys are $keysize bytes in size. Values are $valsize bytes in size\n"
      "  Both keys and values are pseudo-randomly generated\n"
      "\n"
      "Options are:\n"
      "  -repeat  $repeat                 (default value 10)\n"
      "  -write   $write                  (default value 10000)\n"
      "  -pause   $pause                  (default value 0)\n"
      "  -fetch   $fetch                  (default value 0)\n"
      "  -keysize $keysize                (default value 12)\n"
      "  -valsize $valsize                (default value 100)\n"
      "  -system  $system                 (default value \"lsm\")\n"
      "  -trans   $trans                  (default value 0)\n"
      "\n");
}


x86 assembly (clang, -O0):
<print_speed_test_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_speed_test_help>:
lea    0xee9(%rip),%rdi
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [754 x i8] c"\0ARepeat the following $repeat times:\0A 1. Insert $write key-value pairs. One transaction for each write op.\0A 2. Pause for $pause ms.\0A 3. Perform $fetch queries on the database.\0A\0A Keys are $keysize bytes in size. Values are $valsize bytes in size\0A Both keys and values are pseudo-randomly generated\0A\0AOptions are:\0A -repeat $repeat (default value 10)\0A -write $write (default value 10000)\0A -pause $pause (default value 0)\0A -fetch $fetch (default value 0)\0A -keysize $keysize (default value 12)\0A -valsize $valsize (default value 100)\0A -system $system (default value \22lsm\22)\0A -trans $trans (default value 0)\0A\0A\00"
define void @print_speed_test_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([754 x i8], [754 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [753 x i8] c"\0ARepeat the following $repeat times:\0A 1. Insert $write key-value pairs. One transaction for each write op.\0A 2. Pause for $pause ms.\0A 3. Perform $fetch queries on the database.\0A\0A Keys are $keysize bytes in size. Values are $valsize bytes in size\0A Both keys and values are pseudo-randomly generated\0A\0AOptions are:\0A -repeat $repeat (default value 10)\0A -write $write (default value 10000)\0A -pause $pause (default value 0)\0A -fetch $fetch (default value 0)\0A -keysize $keysize (default value 12)\0A -valsize $valsize (default value 100)\0A -system $system (default value \22lsm\22)\0A -trans $trans (default value 0)\0A\00"
define void @print_speed_test_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([753 x i8], [753 x i8]* @str, i64 0, i64 0))
ret void
}