#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*/ init_attack_bitmaps();
int /*<<< orphan*/ init_bitboard_mask();
int /*<<< orphan*/ init_evaluate_mask();
int /*<<< orphan*/ init_ms1btable();
int /*<<< orphan*/ printf(char *);
void init_data() {
  printf("ms1table\n");
  init_ms1btable();
  printf("mask\n");
  init_bitboard_mask();
  printf("attack bitmaps\n");
  init_attack_bitmaps();
  printf("evaluate masks\n");
  init_evaluate_mask();
}


x86 assembly (clang, -O0):
<init_data>:
push   %rbp
mov    %rsp,%rbp
lea    0xea5(%rip),%rdi
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <init_ms1btable@plt>
lea    0xe9c(%rip),%rdi
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <init_bitboard_mask@plt>
lea    0xe8f(%rip),%rdi
call   1030 <printf@plt>
mov    $0x0,%al
call   1050 <init_attack_bitmaps@plt>
lea    0xe8c(%rip),%rdi
call   1030 <printf@plt>
mov    $0x0,%al
call   1070 <init_evaluate_mask@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<init_data>:
push   %rax
lea    0xea8(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1060 <init_ms1btable@plt>
lea    0xe9e(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1040 <init_bitboard_mask@plt>
lea    0xe90(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1050 <init_attack_bitmaps@plt>
lea    0xe8c(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
jmp    1070 <init_evaluate_mask@plt>

LLVM IR (-O0):
@.str = [10 x i8] c"ms1table\0A\00"
@.str.1 = [6 x i8] c"mask\0A\00"
@.str.2 = [16 x i8] c"attack bitmaps\0A\00"
@.str.3 = [16 x i8] c"evaluate masks\0A\00"
define void @init_data() {
%1 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (...) @init_ms1btable()
%3 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 (...) @init_bitboard_mask()
%5 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 (...) @init_attack_bitmaps()
%7 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (...) @init_evaluate_mask()
ret void
}

LLVM IR (-O2):
@str = [9 x i8] c"ms1table\00"
@str.4 = [5 x i8] c"mask\00"
@str.5 = [15 x i8] c"attack bitmaps\00"
@str.6 = [15 x i8] c"evaluate masks\00"
define void @init_data() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (...) @init_ms1btable()
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.4, i64 0, i64 0))
%4 = tail call i32 (...) @init_bitboard_mask()
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.5, i64 0, i64 0))
%6 = tail call i32 (...) @init_attack_bitmaps()
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.6, i64 0, i64 0))
%8 = tail call i32 (...) @init_evaluate_mask()
ret void
}