#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*/ clear();
int /*<<< orphan*/ mvprintw(int /*<<< orphan*/, int, char *, ...);
void io_printsetup(int cursor, int *set) {
  clear();
  int y = 0;
  int x = 0;
  mvprintw(y++, x, "###########################################");
  mvprintw(y++, x, "#  Cettlers pre-game config               #");
  mvprintw(y++, x, "#  %c  Player 1: %s                     #",
           (cursor == 0) ? '*' : ' ', (set[0] == 0) ? "human" : "ai   ");
  mvprintw(y++, x, "#  %c  Player 2: %s                     #",
           (cursor == 1) ? '*' : ' ', (set[1] == 0) ? "human" : "ai   ");
  mvprintw(y++, x, "#  %c  Player 3: %s                     #",
           (cursor == 2) ? '*' : ' ', (set[2] == 0) ? "human" : "ai   ");
  mvprintw(y++, x, "#  %c  Player 4: %s                     #",
           (cursor == 3) ? '*' : ' ', (set[3] == 0) ? "human" : "ai   ");
  mvprintw(y++, x, "#  %c  Map number distribution: %s  #",
           (cursor == 4) ? '*' : ' ',
           (set[4] == 0) ? "patterned" : "random   ");
  mvprintw(y++, x, "#  %c  Time between AI moves: %01.1fs         #",
           (cursor == 5) ? '*' : ' ', ((double)set[5]) / 10);
  mvprintw(y++, x, "#  %c  Animations: %s                #",
           (cursor == 6) ? '*' : ' ', (set[6] == 0) ? "disabled" : "enabled ");
  mvprintw(y++, x, "#                                         #");
  mvprintw(y++, x, "#    Use arrow keys to change settings    #");
  mvprintw(y++, x, "#        Press enter to begin game        #");
  mvprintw(y++, x, "###########################################");
}


x86 assembly (clang, -O0):
<io_printsetup>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x0,%al
call   1030 <clear@plt>
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
lea    0xeaf(%rip),%rdx
mov    $0x0,%al
call   1040 <mvprintw@plt>
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
lea    0xebf(%rip),%rdx
mov    $0x0,%al
call   1040 <mvprintw@plt>
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
mov    -0x4(%rbp),%edx
mov    $0x20,%ecx
mov    $0x2a,%eax
cmp    $0x0,%edx
cmove  %eax,%ecx
mov    -0x10(%rbp),%rax
mov    (%rax),%edx
lea    0xee6(%rip),%r8
lea    0xed9(%rip),%rax
cmp    $0x0,%edx
cmove  %rax,%r8
lea    0xea1(%rip),%rdx
mov    $0x0,%al
call   1040 <mvprintw@plt>
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
mov    -0x4(%rbp),%edx
mov    $0x20,%ecx
mov    $0x2a,%eax
cmp    $0x1,%edx
cmove  %eax,%ecx
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%edx
lea    0xe9b(%rip),%r8
lea    0xe8e(%rip),%rax
cmp    $0x0,%edx
cmove  %rax,%r8
lea    0xe8c(%rip),%rdx
mov    $0x0,%al
call   1040 <mvprintw@plt>
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
mov    -0x4(%rbp),%edx
mov    $0x20,%ecx
mov    $0x2a,%eax
cmp    $0x2,%edx
cmove  %eax,%ecx
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%edx
lea    0xe50(%rip),%r8
lea    0xe43(%rip),%rax
cmp    $0x0,%edx
cmove  %rax,%r8
lea    0xe6b(%rip),%rdx
mov    $0x0,%al
call   1040 <mvprintw@plt>
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
mov    -0x4(%rbp),%edx
mov    $0x20,%ecx
mov    $0x2a,%eax
cmp    $0x3,%edx
cmove  %eax,%ecx
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%edx
lea    0xe05(%rip),%r8
lea    0xdf8(%rip),%rax
cmp    $0x0,%edx
cmove  %rax,%r8
lea    0xe4a(%rip),%rdx
mov    $0x0,%al
call   1040 <mvprintw@plt>
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
mov    -0x4(%rbp),%edx
mov    $0x20,%ecx
mov    $0x2a,%eax
cmp    $0x4,%edx
cmove  %eax,%ecx
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%edx
lea    0xe6e(%rip),%r8
lea    0xe5d(%rip),%rax
cmp    $0x0,%edx
cmove  %rax,%r8
lea    0xe29(%rip),%rdx
mov    $0x0,%al
call   1040 <mvprintw@plt>
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
mov    -0x4(%rbp),%edx
mov    $0x20,%ecx
mov    $0x2a,%eax
cmp    $0x5,%edx
cmove  %eax,%ecx
mov    -0x10(%rbp),%rax
cvtsi2sdl 0x14(%rax),%xmm0
movsd  0xcdc(%rip),%xmm1
divsd  %xmm1,%xmm0
lea    0xe1f(%rip),%rdx
mov    $0x1,%al
call   1040 <mvprintw@plt>
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
mov    -0x4(%rbp),%edx
mov    $0x20,%ecx
mov    $0x2a,%eax
cmp    $0x6,%edx
cmove  %eax,%ecx
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%edx
lea    0xe49(%rip),%r8
lea    0xe39(%rip),%rax
cmp    $0x0,%edx
cmove  %rax,%r8
lea    0xe04(%rip),%rdx
mov    $0x0,%al
call   1040 <mvprintw@plt>
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
lea    0xe21(%rip),%rdx
mov    $0x0,%al
call   1040 <mvprintw@plt>
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
lea    0xe31(%rip),%rdx
mov    $0x0,%al
call   1040 <mvprintw@plt>
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
lea    0xe41(%rip),%rdx
mov    $0x0,%al
call   1040 <mvprintw@plt>
mov    -0x14(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
lea    0xc1e(%rip),%rdx
mov    $0x0,%al
call   1040 <mvprintw@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<io_printsetup>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r12
mov    %edi,%ebp
xor    %eax,%eax
call   1030 <clear@plt>
lea    0xeca(%rip),%rdx
xor    %edi,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <mvprintw@plt>
lea    0xee4(%rip),%rdx
mov    $0x1,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <mvprintw@plt>
test   %ebp,%ebp
mov    $0x2a,%r13d
mov    $0x20,%r15d
mov    $0x20,%ecx
cmove  %r13d,%ecx
cmpl   $0x0,(%r12)
lea    0xf09(%rip),%r14
lea    0xf08(%rip),%rbx
mov    %rbx,%r8
cmove  %r14,%r8
lea    0xeca(%rip),%rdx
mov    $0x2,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <mvprintw@plt>
cmp    $0x1,%ebp
mov    $0x20,%ecx
cmove  %r13d,%ecx
cmpl   $0x0,0x4(%r12)
mov    %rbx,%r8
cmove  %r14,%r8
lea    0xed2(%rip),%rdx
mov    $0x3,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <mvprintw@plt>
cmp    $0x2,%ebp
mov    $0x20,%ecx
cmove  %r13d,%ecx
cmpl   $0x0,0x8(%r12)
mov    %rbx,%r8
cmove  %r14,%r8
lea    0xece(%rip),%rdx
mov    $0x4,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <mvprintw@plt>
cmp    $0x3,%ebp
mov    $0x20,%ecx
cmove  %r13d,%ecx
cmpl   $0x0,0xc(%r12)
cmove  %r14,%rbx
lea    0xecd(%rip),%rdx
mov    $0x5,%edi
xor    %esi,%esi
mov    %rbx,%r8
xor    %eax,%eax
call   1040 <mvprintw@plt>
cmp    $0x4,%ebp
mov    $0x20,%ecx
cmove  %r13d,%ecx
cmpl   $0x0,0x10(%r12)
lea    0xef3(%rip),%rax
lea    0xef6(%rip),%r8
cmove  %rax,%r8
lea    0xebb(%rip),%rdx
mov    $0x6,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <mvprintw@plt>
cmp    $0x5,%ebp
mov    $0x20,%ecx
cmove  %r13d,%ecx
cvtsi2sdl 0x14(%r12),%xmm0
divsd  0xd7e(%rip),%xmm0
lea    0xec5(%rip),%rdx
mov    $0x7,%edi
xor    %esi,%esi
mov    $0x1,%al
call   1040 <mvprintw@plt>
cmp    $0x6,%ebp
cmove  %r13d,%r15d
cmpl   $0x0,0x18(%r12)
lea    0xefa(%rip),%rax
lea    0xefc(%rip),%r8
cmove  %rax,%r8
lea    0xec1(%rip),%rdx
mov    $0x8,%edi
xor    %esi,%esi
mov    %r15d,%ecx
xor    %eax,%eax
call   1040 <mvprintw@plt>
lea    0xee2(%rip),%rdx
mov    $0x9,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <mvprintw@plt>
lea    0xef9(%rip),%rdx
mov    $0xa,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <mvprintw@plt>
lea    0xf10(%rip),%rdx
mov    $0xb,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <mvprintw@plt>
mov    $0xc,%edi
xor    %esi,%esi
lea    0xced(%rip),%rdx
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <mvprintw@plt>

LLVM IR (-O0):
@.str = [44 x i8] c"###########################################\00"
@.str.1 = [44 x i8] c"# Cettlers pre-game config #\00"
@.str.2 = [42 x i8] c"# %c Player 1: %s #\00"
@.str.3 = [6 x i8] c"human\00"
@.str.4 = [6 x i8] c"ai \00"
@.str.5 = [42 x i8] c"# %c Player 2: %s #\00"
@.str.6 = [42 x i8] c"# %c Player 3: %s #\00"
@.str.7 = [42 x i8] c"# %c Player 4: %s #\00"
@.str.8 = [38 x i8] c"# %c Map number distribution: %s #\00"
@.str.9 = [10 x i8] c"patterned\00"
@.str.10 = [10 x i8] c"random \00"
@.str.11 = [48 x i8] c"# %c Time between AI moves: %01.1fs #\00"
@.str.12 = [39 x i8] c"# %c Animations: %s #\00"
@.str.13 = [9 x i8] c"disabled\00"
@.str.14 = [9 x i8] c"enabled \00"
@.str.15 = [44 x i8] c"# #\00"
@.str.16 = [44 x i8] c"# Use arrow keys to change settings #\00"
@.str.17 = [44 x i8] c"# Press enter to begin game #\00"
define void @io_printsetup(i32 %0, i32* %1) {
%3 = alloca i32
%4 = alloca i32*
%5 = alloca i32
%6 = alloca i32
store i32 %0, i32* %3
store i32* %1, i32** %4
%7 = call i32 (...) @clear()
store i32 0, i32* %5
store i32 0, i32* %6
%8 = load i32, i32* %5
%9 = add nsw i32 %8, 1
store i32 %9, i32* %5
%10 = load i32, i32* %6
%11 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %8, i32 %10, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
%12 = load i32, i32* %5
%13 = add nsw i32 %12, 1
store i32 %13, i32* %5
%14 = load i32, i32* %6
%15 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %12, i32 %14, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%16 = load i32, i32* %5
%17 = add nsw i32 %16, 1
store i32 %17, i32* %5
%18 = load i32, i32* %6
%19 = load i32, i32* %3
%20 = icmp eq i32 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, i32 42, i32 32
%23 = load i32*, i32** %4
%24 = getelementptr inbounds i32, i32* %23, i64 0
%25 = load i32, i32* %24
%26 = icmp eq i32 %25, 0
%27 = zext i1 %26 to i64
%28 = select i1 %26, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0)
%29 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %16, i32 %18, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0), i32 %22, i8* %28)
%30 = load i32, i32* %5
%31 = add nsw i32 %30, 1
store i32 %31, i32* %5
%32 = load i32, i32* %6
%33 = load i32, i32* %3
%34 = icmp eq i32 %33, 1
%35 = zext i1 %34 to i64
%36 = select i1 %34, i32 42, i32 32
%37 = load i32*, i32** %4
%38 = getelementptr inbounds i32, i32* %37, i64 1
%39 = load i32, i32* %38
%40 = icmp eq i32 %39, 0
%41 = zext i1 %40 to i64
%42 = select i1 %40, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0)
%43 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %30, i32 %32, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0), i32 %36, i8* %42)
%44 = load i32, i32* %5
%45 = add nsw i32 %44, 1
store i32 %45, i32* %5
%46 = load i32, i32* %6
%47 = load i32, i32* %3
%48 = icmp eq i32 %47, 2
%49 = zext i1 %48 to i64
%50 = select i1 %48, i32 42, i32 32
%51 = load i32*, i32** %4
%52 = getelementptr inbounds i32, i32* %51, i64 2
%53 = load i32, i32* %52
%54 = icmp eq i32 %53, 0
%55 = zext i1 %54 to i64
%56 = select i1 %54, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0)
%57 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %44, i32 %46, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0), i32 %50, i8* %56)
%58 = load i32, i32* %5
%59 = add nsw i32 %58, 1
store i32 %59, i32* %5
%60 = load i32, i32* %6
%61 = load i32, i32* %3
%62 = icmp eq i32 %61, 3
%63 = zext i1 %62 to i64
%64 = select i1 %62, i32 42, i32 32
%65 = load i32*, i32** %4
%66 = getelementptr inbounds i32, i32* %65, i64 3
%67 = load i32, i32* %66
%68 = icmp eq i32 %67, 0
%69 = zext i1 %68 to i64
%70 = select i1 %68, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0)
%71 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %58, i32 %60, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.7, i64 0, i64 0), i32 %64, i8* %70)
%72 = load i32, i32* %5
%73 = add nsw i32 %72, 1
store i32 %73, i32* %5
%74 = load i32, i32* %6
%75 = load i32, i32* %3
%76 = icmp eq i32 %75, 4
%77 = zext i1 %76 to i64
%78 = select i1 %76, i32 42, i32 32
%79 = load i32*, i32** %4
%80 = getelementptr inbounds i32, i32* %79, i64 4
%81 = load i32, i32* %80
%82 = icmp eq i32 %81, 0
%83 = zext i1 %82 to i64
%84 = select i1 %82, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0)
%85 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %72, i32 %74, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0), i32 %78, i8* %84)
%86 = load i32, i32* %5
%87 = add nsw i32 %86, 1
store i32 %87, i32* %5
%88 = load i32, i32* %6
%89 = load i32, i32* %3
%90 = icmp eq i32 %89, 5
%91 = zext i1 %90 to i64
%92 = select i1 %90, i32 42, i32 32
%93 = load i32*, i32** %4
%94 = getelementptr inbounds i32, i32* %93, i64 5
%95 = load i32, i32* %94
%96 = sitofp i32 %95 to double
%97 = fdiv double %96, 1.000000e+01
%98 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %86, i32 %88, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.11, i64 0, i64 0), i32 %92, double %97)
%99 = load i32, i32* %5
%100 = add nsw i32 %99, 1
store i32 %100, i32* %5
%101 = load i32, i32* %6
%102 = load i32, i32* %3
%103 = icmp eq i32 %102, 6
%104 = zext i1 %103 to i64
%105 = select i1 %103, i32 42, i32 32
%106 = load i32*, i32** %4
%107 = getelementptr inbounds i32, i32* %106, i64 6
%108 = load i32, i32* %107
%109 = icmp eq i32 %108, 0
%110 = zext i1 %109 to i64
%111 = select i1 %109, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0)
%112 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %99, i32 %101, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.12, i64 0, i64 0), i32 %105, i8* %111)
%113 = load i32, i32* %5
%114 = add nsw i32 %113, 1
store i32 %114, i32* %5
%115 = load i32, i32* %6
%116 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %113, i32 %115, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i64 0, i64 0))
%117 = load i32, i32* %5
%118 = add nsw i32 %117, 1
store i32 %118, i32* %5
%119 = load i32, i32* %6
%120 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %117, i32 %119, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.16, i64 0, i64 0))
%121 = load i32, i32* %5
%122 = add nsw i32 %121, 1
store i32 %122, i32* %5
%123 = load i32, i32* %6
%124 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %121, i32 %123, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.17, i64 0, i64 0))
%125 = load i32, i32* %5
%126 = add nsw i32 %125, 1
store i32 %126, i32* %5
%127 = load i32, i32* %6
%128 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %125, i32 %127, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [44 x i8] c"###########################################\00"
@.str.1 = [44 x i8] c"# Cettlers pre-game config #\00"
@.str.2 = [42 x i8] c"# %c Player 1: %s #\00"
@.str.3 = [6 x i8] c"human\00"
@.str.4 = [6 x i8] c"ai \00"
@.str.5 = [42 x i8] c"# %c Player 2: %s #\00"
@.str.6 = [42 x i8] c"# %c Player 3: %s #\00"
@.str.7 = [42 x i8] c"# %c Player 4: %s #\00"
@.str.8 = [38 x i8] c"# %c Map number distribution: %s #\00"
@.str.9 = [10 x i8] c"patterned\00"
@.str.10 = [10 x i8] c"random \00"
@.str.11 = [48 x i8] c"# %c Time between AI moves: %01.1fs #\00"
@.str.12 = [39 x i8] c"# %c Animations: %s #\00"
@.str.13 = [9 x i8] c"disabled\00"
@.str.14 = [9 x i8] c"enabled \00"
@.str.15 = [44 x i8] c"# #\00"
@.str.16 = [44 x i8] c"# Use arrow keys to change settings #\00"
@.str.17 = [44 x i8] c"# Press enter to begin game #\00"
define void @io_printsetup(i32 %0, i32* nocapture %1) {
%3 = tail call i32 (...) @clear()
%4 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 0, i32 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 1, i32 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%6 = icmp eq i32 %0, 0
%7 = select i1 %6, i32 42, i32 32
%8 = load i32, i32* %1
%9 = icmp eq i32 %8, 0
%10 = select i1 %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0)
%11 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 2, i32 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0), i32 %7, i8* %10)
%12 = icmp eq i32 %0, 1
%13 = select i1 %12, i32 42, i32 32
%14 = getelementptr inbounds i32, i32* %1, i64 1
%15 = load i32, i32* %14
%16 = icmp eq i32 %15, 0
%17 = select i1 %16, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0)
%18 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 3, i32 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0), i32 %13, i8* %17)
%19 = icmp eq i32 %0, 2
%20 = select i1 %19, i32 42, i32 32
%21 = getelementptr inbounds i32, i32* %1, i64 2
%22 = load i32, i32* %21
%23 = icmp eq i32 %22, 0
%24 = select i1 %23, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0)
%25 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 4, i32 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0), i32 %20, i8* %24)
%26 = icmp eq i32 %0, 3
%27 = select i1 %26, i32 42, i32 32
%28 = getelementptr inbounds i32, i32* %1, i64 3
%29 = load i32, i32* %28
%30 = icmp eq i32 %29, 0
%31 = select i1 %30, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0)
%32 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 5, i32 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.7, i64 0, i64 0), i32 %27, i8* %31)
%33 = icmp eq i32 %0, 4
%34 = select i1 %33, i32 42, i32 32
%35 = getelementptr inbounds i32, i32* %1, i64 4
%36 = load i32, i32* %35
%37 = icmp eq i32 %36, 0
%38 = select i1 %37, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0)
%39 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 6, i32 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0), i32 %34, i8* %38)
%40 = icmp eq i32 %0, 5
%41 = select i1 %40, i32 42, i32 32
%42 = getelementptr inbounds i32, i32* %1, i64 5
%43 = load i32, i32* %42
%44 = sitofp i32 %43 to double
%45 = fdiv double %44, 1.000000e+01
%46 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 7, i32 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.11, i64 0, i64 0), i32 %41, double %45)
%47 = icmp eq i32 %0, 6
%48 = select i1 %47, i32 42, i32 32
%49 = getelementptr inbounds i32, i32* %1, i64 6
%50 = load i32, i32* %49
%51 = icmp eq i32 %50, 0
%52 = select i1 %51, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0)
%53 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 8, i32 0, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.12, i64 0, i64 0), i32 %48, i8* %52)
%54 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 9, i32 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i64 0, i64 0))
%55 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 10, i32 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.16, i64 0, i64 0))
%56 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 11, i32 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.17, i64 0, i64 0))
%57 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 12, i32 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
ret void
}