#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*/ mkdata(char *);
int main(void) {
  mkdata("board");
  mkdata("w_p");
  mkdata("w_n");
  mkdata("w_b");
  mkdata("w_r");
  mkdata("w_k");
  mkdata("w_q");
  mkdata("b_p");
  mkdata("b_n");
  mkdata("b_b");
  mkdata("b_r");
  mkdata("b_k");
  mkdata("b_q");
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xed4(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xecc(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xec4(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xebc(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xeb4(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xeac(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xea4(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xe9c(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xe94(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xe8c(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xe84(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xe7c(%rip),%rdi
call   1030 <mkdata@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xee2(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xeda(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xed2(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xeca(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xec2(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xeba(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xeb2(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xeaa(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xea2(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xe9a(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xe92(%rip),%rdi
call   1030 <mkdata@plt>
lea    0xe8a(%rip),%rdi
call   1030 <mkdata@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [6 x i8] c"board\00"
@.str.1 = [4 x i8] c"w_p\00"
@.str.2 = [4 x i8] c"w_n\00"
@.str.3 = [4 x i8] c"w_b\00"
@.str.4 = [4 x i8] c"w_r\00"
@.str.5 = [4 x i8] c"w_k\00"
@.str.6 = [4 x i8] c"w_q\00"
@.str.7 = [4 x i8] c"b_p\00"
@.str.8 = [4 x i8] c"b_n\00"
@.str.9 = [4 x i8] c"b_b\00"
@.str.10 = [4 x i8] c"b_r\00"
@.str.11 = [4 x i8] c"b_k\00"
@.str.12 = [4 x i8] c"b_q\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @mkdata(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%14 = call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [6 x i8] c"board\00"
@.str.1 = [4 x i8] c"w_p\00"
@.str.2 = [4 x i8] c"w_n\00"
@.str.3 = [4 x i8] c"w_b\00"
@.str.4 = [4 x i8] c"w_r\00"
@.str.5 = [4 x i8] c"w_k\00"
@.str.6 = [4 x i8] c"w_q\00"
@.str.7 = [4 x i8] c"b_p\00"
@.str.8 = [4 x i8] c"b_n\00"
@.str.9 = [4 x i8] c"b_b\00"
@.str.10 = [4 x i8] c"b_r\00"
@.str.11 = [4 x i8] c"b_k\00"
@.str.12 = [4 x i8] c"b_q\00"
define i32 @main() {
%1 = tail call i32 @mkdata(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 @mkdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
ret i32 0
}