#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 *, char const *);
int /*<<< orphan*/ putchar(char);
int /*<<< orphan*/ puts(char *);
void show_help(char const *appname) {
  printf("Usage:\n\t%s [-s] [-m] [-o] [-t]\n", appname);
  puts("Options:");
  puts("\t-t = use non-temporary tables for tests. Will fail if the tables "
       "already exist.");
  puts("\t-m = enables mysql test.");
  puts("\t-s = enables sqlite3 test.");
  puts("\t-o = enables oracle test.");
  puts("\t-h HOSTNAME = sets remote host name for some tests.");
  putchar('\n');
}


x86 assembly (clang, -O0):
<show_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xeb9(%rip),%rdi
call   1050 <printf@plt>
lea    0xecd(%rip),%rdi
call   1040 <puts@plt>
lea    0xeca(%rip),%rdi
call   1040 <puts@plt>
lea    0xf0f(%rip),%rdi
call   1040 <puts@plt>
lea    0xf1d(%rip),%rdi
call   1040 <puts@plt>
lea    0xf2d(%rip),%rdi
call   1040 <puts@plt>
lea    0xf3c(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_help>:
push   %rax
mov    %rdi,%rsi
lea    0xec5(%rip),%rdi
call   1050 <printf@plt>
lea    0xed9(%rip),%rdi
call   1040 <puts@plt>
lea    0xed6(%rip),%rdi
call   1040 <puts@plt>
lea    0xf1b(%rip),%rdi
call   1040 <puts@plt>
lea    0xf29(%rip),%rdi
call   1040 <puts@plt>
lea    0xf39(%rip),%rdi
call   1040 <puts@plt>
lea    0xf48(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
pop    %rax
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [32 x i8] c"Usage:\0A\09%s [-s] [-m] [-o] [-t]\0A\00"
@.str.1 = [9 x i8] c"Options:\00"
@.str.2 = [81 x i8] c"\09-t = use non-temporary tables for tests. Will fail if the tables already exist.\00"
@.str.3 = [26 x i8] c"\09-m = enables mysql test.\00"
@.str.4 = [28 x i8] c"\09-s = enables sqlite3 test.\00"
@.str.5 = [27 x i8] c"\09-o = enables oracle test.\00"
@.str.6 = [53 x i8] c"\09-h HOSTNAME = sets remote host name for some tests.\00"
define void @show_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = call i32 @puts(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 @puts(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0))
%9 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 @puts(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0))
%11 = call i32 @putchar(i8 signext 10)
ret void
}

LLVM IR (-O2):
@.str = [32 x i8] c"Usage:\0A\09%s [-s] [-m] [-o] [-t]\0A\00"
@.str.1 = [9 x i8] c"Options:\00"
@.str.2 = [81 x i8] c"\09-t = use non-temporary tables for tests. Will fail if the tables already exist.\00"
@.str.3 = [26 x i8] c"\09-m = enables mysql test.\00"
@.str.4 = [28 x i8] c"\09-s = enables sqlite3 test.\00"
@.str.5 = [27 x i8] c"\09-o = enables oracle test.\00"
@.str.6 = [53 x i8] c"\09-h HOSTNAME = sets remote host name for some tests.\00"
define void @show_help(i8* %0) {
%2 = tail call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0))
%9 = tail call i32 @putchar(i8 signext 10)
ret void
}