#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 const *, ...);
void print_help(void) {
  const char *fmt = " -%c  %s\n";
  printf(("Usage: %s\n"), "spair [-v] [-h] [-p]");
  printf(("Read list of players from STDIN and print roundobin pairings.\n"));
  printf(fmt, 'h', ("Print this help and exit."));
  printf(fmt, 'v', ("Print version information and exit."));
  printf(fmt, 'p', ("Print pairing table for a specific number of players."));
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xee1(%rip),%rax
mov    %rax,-0x8(%rbp)
lea    0xee0(%rip),%rdi
lea    0xee4(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeeb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0x68,%esi
lea    0xf13(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0x76,%esi
lea    0xf16(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rdi
mov    $0x70,%esi
lea    0xf23(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rbx
lea    0xee2(%rip),%rdi
lea    0xee6(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf61(%rip),%rdi
call   1030 <puts@plt>
lea    0xeb7(%rip),%rbx
lea    0xeda(%rip),%rdx
mov    %rbx,%rdi
mov    $0x68,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xede(%rip),%rdx
mov    %rbx,%rdi
mov    $0x76,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeec(%rip),%rdx
mov    %rbx,%rdi
mov    $0x70,%esi
xor    %eax,%eax
pop    %rbx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [10 x i8] c" -%c %s\0A\00"
@.str.1 = [11 x i8] c"Usage: %s\0A\00"
@.str.2 = [21 x i8] c"spair [-v] [-h] [-p]\00"
@.str.3 = [63 x i8] c"Read list of players from STDIN and print roundobin pairings.\0A\00"
@.str.4 = [26 x i8] c"Print this help and exit.\00"
@.str.5 = [36 x i8] c"Print version information and exit.\00"
@.str.6 = [54 x i8] c"Print pairing table for a specific number of players.\00"
define void @print_help() {
%1 = alloca i8*
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8** %1
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.3, i64 0, i64 0))
%4 = load i8*, i8** %1
%5 = call i32 (i8*, ...) @printf(i8* %4, i32 104, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0))
%6 = load i8*, i8** %1
%7 = call i32 (i8*, ...) @printf(i8* %6, i32 118, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0))
%8 = load i8*, i8** %1
%9 = call i32 (i8*, ...) @printf(i8* %8, i32 112, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.6, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [10 x i8] c" -%c %s\0A\00"
@.str.1 = [11 x i8] c"Usage: %s\0A\00"
@.str.2 = [21 x i8] c"spair [-v] [-h] [-p]\00"
@.str.4 = [26 x i8] c"Print this help and exit.\00"
@.str.5 = [36 x i8] c"Print version information and exit.\00"
@.str.6 = [54 x i8] c"Print pairing table for a specific number of players.\00"
@str = [62 x i8] c"Read list of players from STDIN and print roundobin pairings.\00"
define void @print_help() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 104, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 118, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 112, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.6, i64 0, i64 0))
ret void
}