#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*/ move(int, int);
int /*<<< orphan*/ printw(char *);
void printtopbettingbox(void) {
  move(2, 42);
  printw("*----------------------------------*");
  move(2 + 1, 42);
  printw("|Costs        Hand   Game    Total |");
  move(2 + 2, 42);
  printw("| Hands                            |");
  move(2 + 3, 42);
  printw("| Inspections                      |");
  move(2 + 4, 42);
  printw("| Games                            |");
  move(2 + 5, 42);
  printw("| Runs                             |");
  move(2 + 6, 42);
  printw("| Information                      |");
  move(2 + 7, 42);
  printw("| Think time                       |");
  move(2 + 8, 42);
  printw("|Total Costs                       |");
  move(2 + 9, 42);
  printw("|Winnings                          |");
  move(2 + 10, 42);
  printw("|Net Worth                         |");
  move(2 + 11, 42);
  printw("|Return                            |");
  move(2 + 12, 42);
  printw("|==================================|");
}


x86 assembly (clang, -O0):
<printtopbettingbox>:
push   %rbp
mov    %rsp,%rbp
mov    $0x2,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xec6(%rip),%rdi
call   1030 <printw@plt>
mov    $0x3,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xed0(%rip),%rdi
call   1030 <printw@plt>
mov    $0x4,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xeda(%rip),%rdi
call   1030 <printw@plt>
mov    $0x5,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xee4(%rip),%rdi
call   1030 <printw@plt>
mov    $0x6,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xeee(%rip),%rdi
call   1030 <printw@plt>
mov    $0x7,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xef8(%rip),%rdi
call   1030 <printw@plt>
mov    $0x8,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf02(%rip),%rdi
call   1030 <printw@plt>
mov    $0x9,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf0c(%rip),%rdi
call   1030 <printw@plt>
mov    $0xa,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf16(%rip),%rdi
call   1030 <printw@plt>
mov    $0xb,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf20(%rip),%rdi
call   1030 <printw@plt>
mov    $0xc,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf2a(%rip),%rdi
call   1030 <printw@plt>
mov    $0xd,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf34(%rip),%rdi
call   1030 <printw@plt>
mov    $0xe,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf3e(%rip),%rdi
call   1030 <printw@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printtopbettingbox>:
push   %rax
mov    $0x2,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xec9(%rip),%rdi
call   1030 <printw@plt>
mov    $0x3,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xed3(%rip),%rdi
call   1030 <printw@plt>
mov    $0x4,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xedd(%rip),%rdi
call   1030 <printw@plt>
mov    $0x5,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xee7(%rip),%rdi
call   1030 <printw@plt>
mov    $0x6,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xef1(%rip),%rdi
call   1030 <printw@plt>
mov    $0x7,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xefb(%rip),%rdi
call   1030 <printw@plt>
mov    $0x8,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf05(%rip),%rdi
call   1030 <printw@plt>
mov    $0x9,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf0f(%rip),%rdi
call   1030 <printw@plt>
mov    $0xa,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf19(%rip),%rdi
call   1030 <printw@plt>
mov    $0xb,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf23(%rip),%rdi
call   1030 <printw@plt>
mov    $0xc,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf2d(%rip),%rdi
call   1030 <printw@plt>
mov    $0xd,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf37(%rip),%rdi
call   1030 <printw@plt>
mov    $0xe,%edi
mov    $0x2a,%esi
call   1040 <move@plt>
lea    0xf41(%rip),%rdi
pop    %rax
jmp    1030 <printw@plt>

LLVM IR (-O0):
@.str = [37 x i8] c"*----------------------------------*\00"
@.str.1 = [37 x i8] c"|Costs Hand Game Total |\00"
@.str.2 = [37 x i8] c"| Hands |\00"
@.str.3 = [37 x i8] c"| Inspections |\00"
@.str.4 = [37 x i8] c"| Games |\00"
@.str.5 = [37 x i8] c"| Runs |\00"
@.str.6 = [37 x i8] c"| Information |\00"
@.str.7 = [37 x i8] c"| Think time |\00"
@.str.8 = [37 x i8] c"|Total Costs |\00"
@.str.9 = [37 x i8] c"|Winnings |\00"
@.str.10 = [37 x i8] c"|Net Worth |\00"
@.str.11 = [37 x i8] c"|Return |\00"
@.str.12 = [37 x i8] c"|==================================|\00"
define void @printtopbettingbox() {
%1 = call i32 @move(i32 2, i32 42)
%2 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @move(i32 3, i32 42)
%4 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @move(i32 4, i32 42)
%6 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 @move(i32 5, i32 42)
%8 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 @move(i32 6, i32 42)
%10 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0))
%11 = call i32 @move(i32 7, i32 42)
%12 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0))
%13 = call i32 @move(i32 8, i32 42)
%14 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0))
%15 = call i32 @move(i32 9, i32 42)
%16 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0))
%17 = call i32 @move(i32 10, i32 42)
%18 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0))
%19 = call i32 @move(i32 11, i32 42)
%20 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
%21 = call i32 @move(i32 12, i32 42)
%22 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0))
%23 = call i32 @move(i32 13, i32 42)
%24 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.11, i64 0, i64 0))
%25 = call i32 @move(i32 14, i32 42)
%26 = call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [37 x i8] c"*----------------------------------*\00"
@.str.1 = [37 x i8] c"|Costs Hand Game Total |\00"
@.str.2 = [37 x i8] c"| Hands |\00"
@.str.3 = [37 x i8] c"| Inspections |\00"
@.str.4 = [37 x i8] c"| Games |\00"
@.str.5 = [37 x i8] c"| Runs |\00"
@.str.6 = [37 x i8] c"| Information |\00"
@.str.7 = [37 x i8] c"| Think time |\00"
@.str.8 = [37 x i8] c"|Total Costs |\00"
@.str.9 = [37 x i8] c"|Winnings |\00"
@.str.10 = [37 x i8] c"|Net Worth |\00"
@.str.11 = [37 x i8] c"|Return |\00"
@.str.12 = [37 x i8] c"|==================================|\00"
define void @printtopbettingbox() {
%1 = tail call i32 @move(i32 2, i32 42)
%2 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @move(i32 3, i32 42)
%4 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 @move(i32 4, i32 42)
%6 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%7 = tail call i32 @move(i32 5, i32 42)
%8 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0))
%9 = tail call i32 @move(i32 6, i32 42)
%10 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0))
%11 = tail call i32 @move(i32 7, i32 42)
%12 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0))
%13 = tail call i32 @move(i32 8, i32 42)
%14 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0))
%15 = tail call i32 @move(i32 9, i32 42)
%16 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0))
%17 = tail call i32 @move(i32 10, i32 42)
%18 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0))
%19 = tail call i32 @move(i32 11, i32 42)
%20 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
%21 = tail call i32 @move(i32 12, i32 42)
%22 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0))
%23 = tail call i32 @move(i32 13, i32 42)
%24 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.11, i64 0, i64 0))
%25 = tail call i32 @move(i32 14, i32 42)
%26 = tail call i32 @printw(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.12, i64 0, i64 0))
ret void
}