#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*/ add_outside_walls();
int /*<<< orphan*/ calculate_distances();
int /*<<< orphan*/ calculate_magic_numbers();
int /*<<< orphan*/ calculate_tunnels();
int /*<<< orphan*/ copy_to_info();
int /*<<< orphan*/ count_boxes_and_goals();
int /*<<< orphan*/ find_articulations();
int /*<<< orphan*/ remove_dead_ends();
int /*<<< orphan*/ set_dead_fields_and_goal_distances();
int /*<<< orphan*/ set_field_numbers();
void preprocess_level() {
  add_outside_walls();
  remove_dead_ends();
  count_boxes_and_goals();
  calculate_magic_numbers();
  set_field_numbers();
  calculate_distances();
  set_dead_fields_and_goal_distances();
  copy_to_info();
  find_articulations();
  calculate_tunnels();
}


x86 assembly (clang, -O0):
<preprocess_level>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1090 <add_outside_walls@plt>
mov    $0x0,%al
call   1060 <remove_dead_ends@plt>
mov    $0x0,%al
call   1050 <count_boxes_and_goals@plt>
mov    $0x0,%al
call   10a0 <calculate_magic_numbers@plt>
mov    $0x0,%al
call   10c0 <set_field_numbers@plt>
mov    $0x0,%al
call   10b0 <calculate_distances@plt>
mov    $0x0,%al
call   1040 <set_dead_fields_and_goal_distances@plt>
mov    $0x0,%al
call   1030 <copy_to_info@plt>
mov    $0x0,%al
call   1070 <find_articulations@plt>
mov    $0x0,%al
call   1080 <calculate_tunnels@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<preprocess_level>:
push   %rax
xor    %eax,%eax
call   1090 <add_outside_walls@plt>
xor    %eax,%eax
call   1060 <remove_dead_ends@plt>
xor    %eax,%eax
call   1050 <count_boxes_and_goals@plt>
xor    %eax,%eax
call   10a0 <calculate_magic_numbers@plt>
xor    %eax,%eax
call   10c0 <set_field_numbers@plt>
xor    %eax,%eax
call   10b0 <calculate_distances@plt>
xor    %eax,%eax
call   1040 <set_dead_fields_and_goal_distances@plt>
xor    %eax,%eax
call   1030 <copy_to_info@plt>
xor    %eax,%eax
call   1070 <find_articulations@plt>
xor    %eax,%eax
pop    %rcx
jmp    1080 <calculate_tunnels@plt>

LLVM IR (-O0):
define void @preprocess_level() {
%1 = call i32 (...) @add_outside_walls()
%2 = call i32 (...) @remove_dead_ends()
%3 = call i32 (...) @count_boxes_and_goals()
%4 = call i32 (...) @calculate_magic_numbers()
%5 = call i32 (...) @set_field_numbers()
%6 = call i32 (...) @calculate_distances()
%7 = call i32 (...) @set_dead_fields_and_goal_distances()
%8 = call i32 (...) @copy_to_info()
%9 = call i32 (...) @find_articulations()
%10 = call i32 (...) @calculate_tunnels()
ret void
}

LLVM IR (-O2):
define void @preprocess_level() {
%1 = tail call i32 (...) @add_outside_walls()
%2 = tail call i32 (...) @remove_dead_ends()
%3 = tail call i32 (...) @count_boxes_and_goals()
%4 = tail call i32 (...) @calculate_magic_numbers()
%5 = tail call i32 (...) @set_field_numbers()
%6 = tail call i32 (...) @calculate_distances()
%7 = tail call i32 (...) @set_dead_fields_and_goal_distances()
%8 = tail call i32 (...) @copy_to_info()
%9 = tail call i32 (...) @find_articulations()
%10 = tail call i32 (...) @calculate_tunnels()
ret void
}