#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*/ check_memory_chr_c();
int /*<<< orphan*/ check_memory_curs_c();
int /*<<< orphan*/ check_memory_draw_c();
int /*<<< orphan*/ check_memory_dun_c();
int /*<<< orphan*/ check_memory_ending_ep_c();
int /*<<< orphan*/ check_memory_ending_space_c();
int /*<<< orphan*/ check_memory_fight_c();
int /*<<< orphan*/ check_memory_fx_c();
int /*<<< orphan*/ check_memory_gf_conf_c();
int /*<<< orphan*/ check_memory_gf_crsr_c();
int /*<<< orphan*/ check_memory_gf_gconf_c();
int /*<<< orphan*/ check_memory_gf_outmap_c();
int /*<<< orphan*/ check_memory_gf_replay_c();
int /*<<< orphan*/ check_memory_gf_save_c();
int /*<<< orphan*/ check_memory_gf_town_c();
int /*<<< orphan*/ check_memory_gfile_c();
int /*<<< orphan*/ check_memory_gmain_c();
int /*<<< orphan*/ check_memory_gui();
int /*<<< orphan*/ check_memory_item_c();
int /*<<< orphan*/ check_memory_key_item_c();
int /*<<< orphan*/ check_memory_last_boss_c();
int /*<<< orphan*/ check_memory_main_unix_c();
int /*<<< orphan*/ check_memory_map_event_c();
int /*<<< orphan*/ check_memory_menu_amark_c();
int /*<<< orphan*/ check_memory_menu_c();
int /*<<< orphan*/ check_memory_menu_main_c();
int /*<<< orphan*/ check_memory_menu_misc_c();
int /*<<< orphan*/ check_memory_menu_town_c();
int /*<<< orphan*/ check_memory_misc_c();
int /*<<< orphan*/ check_memory_mnstr_act_c();
int /*<<< orphan*/ check_memory_mnstr_c();
int /*<<< orphan*/ check_memory_msg_c();
int /*<<< orphan*/ check_memory_nest_flg_c();
int /*<<< orphan*/ check_memory_party_c();
int /*<<< orphan*/ check_memory_pet_c();
int /*<<< orphan*/ check_memory_play_rep_c();
int /*<<< orphan*/ check_memory_replay_c();
int /*<<< orphan*/ check_memory_request_c();
int /*<<< orphan*/ check_memory_scene_c();
int /*<<< orphan*/ check_memory_skill_c();
int /*<<< orphan*/ check_memory_spell_c();
int /*<<< orphan*/ check_memory_town_c();
int /*<<< orphan*/ check_memory_trap_c();
int /*<<< orphan*/ check_memory_turn_c();
void check_memory_all(void) {
  check_memory_chr_c();
  check_memory_curs_c();
  check_memory_draw_c();
  check_memory_dun_c();
  check_memory_ending_ep_c();
  check_memory_ending_space_c();
  check_memory_fight_c();
  check_memory_fx_c();
  check_memory_gf_conf_c();
  check_memory_gf_crsr_c();
  check_memory_gf_gconf_c();
  check_memory_gf_outmap_c();
  check_memory_gf_replay_c();
  check_memory_gf_save_c();
  check_memory_gf_town_c();
  check_memory_gfile_c();
  check_memory_gmain_c();
  check_memory_item_c();
  check_memory_key_item_c();
  check_memory_last_boss_c();
  check_memory_main_unix_c();
  check_memory_map_event_c();
  check_memory_menu_c();
  check_memory_menu_main_c();
  check_memory_menu_misc_c();
  check_memory_menu_amark_c();
  check_memory_menu_town_c();
  check_memory_misc_c();
  check_memory_mnstr_act_c();
  check_memory_mnstr_c();
  check_memory_msg_c();
  check_memory_nest_flg_c();
  check_memory_party_c();
  check_memory_pet_c();
  check_memory_play_rep_c();
  check_memory_replay_c();
  check_memory_request_c();
  check_memory_scene_c();
  check_memory_skill_c();
  check_memory_spell_c();
  check_memory_town_c();
  check_memory_trap_c();
  check_memory_turn_c();
  check_memory_gui();
}


x86 assembly (clang, -O0):
<check_memory_all>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   2160 <check_memory_chr_c@plt>
mov    $0x0,%al
call   2060 <check_memory_curs_c@plt>
mov    $0x0,%al
call   2230 <check_memory_draw_c@plt>
mov    $0x0,%al
call   21d0 <check_memory_dun_c@plt>
mov    $0x0,%al
call   2200 <check_memory_ending_ep_c@plt>
mov    $0x0,%al
call   22b0 <check_memory_ending_space_c@plt>
mov    $0x0,%al
call   2180 <check_memory_fight_c@plt>
mov    $0x0,%al
call   2070 <check_memory_fx_c@plt>
mov    $0x0,%al
call   20f0 <check_memory_gf_conf_c@plt>
mov    $0x0,%al
call   2110 <check_memory_gf_crsr_c@plt>
mov    $0x0,%al
call   2290 <check_memory_gf_gconf_c@plt>
mov    $0x0,%al
call   2040 <check_memory_gf_outmap_c@plt>
mov    $0x0,%al
call   21f0 <check_memory_gf_replay_c@plt>
mov    $0x0,%al
call   22a0 <check_memory_gf_save_c@plt>
mov    $0x0,%al
call   2130 <check_memory_gf_town_c@plt>
mov    $0x0,%al
call   21a0 <check_memory_gfile_c@plt>
mov    $0x0,%al
call   2260 <check_memory_gmain_c@plt>
mov    $0x0,%al
call   2240 <check_memory_item_c@plt>
mov    $0x0,%al
call   22d0 <check_memory_key_item_c@plt>
mov    $0x0,%al
call   2270 <check_memory_last_boss_c@plt>
mov    $0x0,%al
call   20d0 <check_memory_main_unix_c@plt>
mov    $0x0,%al
call   20b0 <check_memory_map_event_c@plt>
mov    $0x0,%al
call   2170 <check_memory_menu_c@plt>
mov    $0x0,%al
call   2210 <check_memory_menu_main_c@plt>
mov    $0x0,%al
call   2100 <check_memory_menu_misc_c@plt>
mov    $0x0,%al
call   2140 <check_memory_menu_amark_c@plt>
mov    $0x0,%al
call   22c0 <check_memory_menu_town_c@plt>
mov    $0x0,%al
call   2220 <check_memory_misc_c@plt>
mov    $0x0,%al
call   21b0 <check_memory_mnstr_act_c@plt>
mov    $0x0,%al
call   2080 <check_memory_mnstr_c@plt>
mov    $0x0,%al
call   21c0 <check_memory_msg_c@plt>
mov    $0x0,%al
call   22e0 <check_memory_nest_flg_c@plt>
mov    $0x0,%al
call   2030 <check_memory_party_c@plt>
mov    $0x0,%al
call   2250 <check_memory_pet_c@plt>
mov    $0x0,%al
call   2150 <check_memory_play_rep_c@plt>
mov    $0x0,%al
call   20c0 <check_memory_replay_c@plt>
mov    $0x0,%al
call   20a0 <check_memory_request_c@plt>
mov    $0x0,%al
call   2120 <check_memory_scene_c@plt>
mov    $0x0,%al
call   20e0 <check_memory_skill_c@plt>
mov    $0x0,%al
call   2190 <check_memory_spell_c@plt>
mov    $0x0,%al
call   2050 <check_memory_town_c@plt>
mov    $0x0,%al
call   2090 <check_memory_trap_c@plt>
mov    $0x0,%al
call   21e0 <check_memory_turn_c@plt>
mov    $0x0,%al
call   2280 <check_memory_gui@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<check_memory_all>:
push   %rax
xor    %eax,%eax
call   2160 <check_memory_chr_c@plt>
xor    %eax,%eax
call   2060 <check_memory_curs_c@plt>
xor    %eax,%eax
call   2230 <check_memory_draw_c@plt>
xor    %eax,%eax
call   21d0 <check_memory_dun_c@plt>
xor    %eax,%eax
call   2200 <check_memory_ending_ep_c@plt>
xor    %eax,%eax
call   22b0 <check_memory_ending_space_c@plt>
xor    %eax,%eax
call   2180 <check_memory_fight_c@plt>
xor    %eax,%eax
call   2070 <check_memory_fx_c@plt>
xor    %eax,%eax
call   20f0 <check_memory_gf_conf_c@plt>
xor    %eax,%eax
call   2110 <check_memory_gf_crsr_c@plt>
xor    %eax,%eax
call   2290 <check_memory_gf_gconf_c@plt>
xor    %eax,%eax
call   2040 <check_memory_gf_outmap_c@plt>
xor    %eax,%eax
call   21f0 <check_memory_gf_replay_c@plt>
xor    %eax,%eax
call   22a0 <check_memory_gf_save_c@plt>
xor    %eax,%eax
call   2130 <check_memory_gf_town_c@plt>
xor    %eax,%eax
call   21a0 <check_memory_gfile_c@plt>
xor    %eax,%eax
call   2260 <check_memory_gmain_c@plt>
xor    %eax,%eax
call   2240 <check_memory_item_c@plt>
xor    %eax,%eax
call   22d0 <check_memory_key_item_c@plt>
xor    %eax,%eax
call   2270 <check_memory_last_boss_c@plt>
xor    %eax,%eax
call   20d0 <check_memory_main_unix_c@plt>
xor    %eax,%eax
call   20b0 <check_memory_map_event_c@plt>
xor    %eax,%eax
call   2170 <check_memory_menu_c@plt>
xor    %eax,%eax
call   2210 <check_memory_menu_main_c@plt>
xor    %eax,%eax
call   2100 <check_memory_menu_misc_c@plt>
xor    %eax,%eax
call   2140 <check_memory_menu_amark_c@plt>
xor    %eax,%eax
call   22c0 <check_memory_menu_town_c@plt>
xor    %eax,%eax
call   2220 <check_memory_misc_c@plt>
xor    %eax,%eax
call   21b0 <check_memory_mnstr_act_c@plt>
xor    %eax,%eax
call   2080 <check_memory_mnstr_c@plt>
xor    %eax,%eax
call   21c0 <check_memory_msg_c@plt>
xor    %eax,%eax
call   22e0 <check_memory_nest_flg_c@plt>
xor    %eax,%eax
call   2030 <check_memory_party_c@plt>
xor    %eax,%eax
call   2250 <check_memory_pet_c@plt>
xor    %eax,%eax
call   2150 <check_memory_play_rep_c@plt>
xor    %eax,%eax
call   20c0 <check_memory_replay_c@plt>
xor    %eax,%eax
call   20a0 <check_memory_request_c@plt>
xor    %eax,%eax
call   2120 <check_memory_scene_c@plt>
xor    %eax,%eax
call   20e0 <check_memory_skill_c@plt>
xor    %eax,%eax
call   2190 <check_memory_spell_c@plt>
xor    %eax,%eax
call   2050 <check_memory_town_c@plt>
xor    %eax,%eax
call   2090 <check_memory_trap_c@plt>
xor    %eax,%eax
call   21e0 <check_memory_turn_c@plt>
xor    %eax,%eax
pop    %rcx
jmp    2280 <check_memory_gui@plt>

LLVM IR (-O0):
define void @check_memory_all() {
%1 = call i32 (...) @check_memory_chr_c()
%2 = call i32 (...) @check_memory_curs_c()
%3 = call i32 (...) @check_memory_draw_c()
%4 = call i32 (...) @check_memory_dun_c()
%5 = call i32 (...) @check_memory_ending_ep_c()
%6 = call i32 (...) @check_memory_ending_space_c()
%7 = call i32 (...) @check_memory_fight_c()
%8 = call i32 (...) @check_memory_fx_c()
%9 = call i32 (...) @check_memory_gf_conf_c()
%10 = call i32 (...) @check_memory_gf_crsr_c()
%11 = call i32 (...) @check_memory_gf_gconf_c()
%12 = call i32 (...) @check_memory_gf_outmap_c()
%13 = call i32 (...) @check_memory_gf_replay_c()
%14 = call i32 (...) @check_memory_gf_save_c()
%15 = call i32 (...) @check_memory_gf_town_c()
%16 = call i32 (...) @check_memory_gfile_c()
%17 = call i32 (...) @check_memory_gmain_c()
%18 = call i32 (...) @check_memory_item_c()
%19 = call i32 (...) @check_memory_key_item_c()
%20 = call i32 (...) @check_memory_last_boss_c()
%21 = call i32 (...) @check_memory_main_unix_c()
%22 = call i32 (...) @check_memory_map_event_c()
%23 = call i32 (...) @check_memory_menu_c()
%24 = call i32 (...) @check_memory_menu_main_c()
%25 = call i32 (...) @check_memory_menu_misc_c()
%26 = call i32 (...) @check_memory_menu_amark_c()
%27 = call i32 (...) @check_memory_menu_town_c()
%28 = call i32 (...) @check_memory_misc_c()
%29 = call i32 (...) @check_memory_mnstr_act_c()
%30 = call i32 (...) @check_memory_mnstr_c()
%31 = call i32 (...) @check_memory_msg_c()
%32 = call i32 (...) @check_memory_nest_flg_c()
%33 = call i32 (...) @check_memory_party_c()
%34 = call i32 (...) @check_memory_pet_c()
%35 = call i32 (...) @check_memory_play_rep_c()
%36 = call i32 (...) @check_memory_replay_c()
%37 = call i32 (...) @check_memory_request_c()
%38 = call i32 (...) @check_memory_scene_c()
%39 = call i32 (...) @check_memory_skill_c()
%40 = call i32 (...) @check_memory_spell_c()
%41 = call i32 (...) @check_memory_town_c()
%42 = call i32 (...) @check_memory_trap_c()
%43 = call i32 (...) @check_memory_turn_c()
%44 = call i32 (...) @check_memory_gui()
ret void
}

LLVM IR (-O2):
define void @check_memory_all() {
%1 = tail call i32 (...) @check_memory_chr_c()
%2 = tail call i32 (...) @check_memory_curs_c()
%3 = tail call i32 (...) @check_memory_draw_c()
%4 = tail call i32 (...) @check_memory_dun_c()
%5 = tail call i32 (...) @check_memory_ending_ep_c()
%6 = tail call i32 (...) @check_memory_ending_space_c()
%7 = tail call i32 (...) @check_memory_fight_c()
%8 = tail call i32 (...) @check_memory_fx_c()
%9 = tail call i32 (...) @check_memory_gf_conf_c()
%10 = tail call i32 (...) @check_memory_gf_crsr_c()
%11 = tail call i32 (...) @check_memory_gf_gconf_c()
%12 = tail call i32 (...) @check_memory_gf_outmap_c()
%13 = tail call i32 (...) @check_memory_gf_replay_c()
%14 = tail call i32 (...) @check_memory_gf_save_c()
%15 = tail call i32 (...) @check_memory_gf_town_c()
%16 = tail call i32 (...) @check_memory_gfile_c()
%17 = tail call i32 (...) @check_memory_gmain_c()
%18 = tail call i32 (...) @check_memory_item_c()
%19 = tail call i32 (...) @check_memory_key_item_c()
%20 = tail call i32 (...) @check_memory_last_boss_c()
%21 = tail call i32 (...) @check_memory_main_unix_c()
%22 = tail call i32 (...) @check_memory_map_event_c()
%23 = tail call i32 (...) @check_memory_menu_c()
%24 = tail call i32 (...) @check_memory_menu_main_c()
%25 = tail call i32 (...) @check_memory_menu_misc_c()
%26 = tail call i32 (...) @check_memory_menu_amark_c()
%27 = tail call i32 (...) @check_memory_menu_town_c()
%28 = tail call i32 (...) @check_memory_misc_c()
%29 = tail call i32 (...) @check_memory_mnstr_act_c()
%30 = tail call i32 (...) @check_memory_mnstr_c()
%31 = tail call i32 (...) @check_memory_msg_c()
%32 = tail call i32 (...) @check_memory_nest_flg_c()
%33 = tail call i32 (...) @check_memory_party_c()
%34 = tail call i32 (...) @check_memory_pet_c()
%35 = tail call i32 (...) @check_memory_play_rep_c()
%36 = tail call i32 (...) @check_memory_replay_c()
%37 = tail call i32 (...) @check_memory_request_c()
%38 = tail call i32 (...) @check_memory_scene_c()
%39 = tail call i32 (...) @check_memory_skill_c()
%40 = tail call i32 (...) @check_memory_spell_c()
%41 = tail call i32 (...) @check_memory_town_c()
%42 = tail call i32 (...) @check_memory_trap_c()
%43 = tail call i32 (...) @check_memory_turn_c()
%44 = tail call i32 (...) @check_memory_gui()
ret void
}