#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 printHelp() {
  printf("Searches for the best moves in a position in Tzaar: \n");
  printf("\t-a AI --ai\t AI number (1-9, 20-25, 40-42)\n");
  printf("\t-b FILE --bestmove=FILE\t Search for the best moves in a position "
         "stored in FILE. This is required option.\n");
  printf("\t-e FILE --execute=FILE\t Execute the the best moves and then save "
         "the position to FILE.\n");
  printf("\t-t SECONDS --timelimit=SECONDS\t Set time limit of the search to "
         "SECONDS (default is %d).\n",
         30);
}


x86 assembly (clang, -O0):
<printHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf0d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf89(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd4(%rip),%rdi
mov    $0x1e,%esi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printHelp>:
push   %rax
lea    0xf33(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7b(%rip),%rdi
call   1030 <puts@plt>
lea    0xfda(%rip),%rdi
call   1030 <puts@plt>
lea    0xea8(%rip),%rdi
mov    $0x1e,%esi
xor    %eax,%eax
pop    %rcx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [54 x i8] c"Searches for the best moves in a position in Tzaar: \0A\00"
@.str.1 = [44 x i8] c"\09-a AI --ai\09 AI number (1-9, 20-25, 40-42)\0A\00"
@.str.2 = [108 x i8] c"\09-b FILE --bestmove=FILE\09 Search for the best moves in a position stored in FILE. This is required option.\0A\00"
@.str.3 = [89 x i8] c"\09-e FILE --execute=FILE\09 Execute the the best moves and then save the position to FILE.\0A\00"
@.str.4 = [91 x i8] c"\09-t SECONDS --timelimit=SECONDS\09 Set time limit of the search to SECONDS (default is %d).\0A\00"
define void @printHelp() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([108 x i8], [108 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.4, i64 0, i64 0), i32 30)
ret void
}

LLVM IR (-O2):
@.str.4 = [91 x i8] c"\09-t SECONDS --timelimit=SECONDS\09 Set time limit of the search to SECONDS (default is %d).\0A\00"
@str = [53 x i8] c"Searches for the best moves in a position in Tzaar: \00"
@str.5 = [43 x i8] c"\09-a AI --ai\09 AI number (1-9, 20-25, 40-42)\00"
@str.6 = [107 x i8] c"\09-b FILE --bestmove=FILE\09 Search for the best moves in a position stored in FILE. This is required option.\00"
@str.7 = [88 x i8] c"\09-e FILE --execute=FILE\09 Execute the the best moves and then save the position to FILE.\00"
define void @printHelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.5, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([107 x i8], [107 x i8]* @str.6, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([88 x i8], [88 x i8]* @str.7, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([91 x i8], [91 x i8]* @.str.4, i64 0, i64 0), i32 30)
ret void
}