/*
** Automatically generated from `source_file_map.m'
** by the Mercury compiler,
** version 11.07, configured for x86_64-unknown-linux-gnu.
** Do not edit.
**
** The autoconfigured grade settings governing
** the generation of this C file were
**
** TAG_BITS=2
** UNBOXED_FLOAT=no
** HIGHLEVEL_CODE=no
**
** END_OF_C_GRADE_INFO
*/

/*
INIT mercury__parse_tree__source_file_map__init
ENDINIT
*/

#define MR_ALLOW_RESET
#include "mercury_imp.h"
#line 526 "../library/io.int"
#include "io.mh"

#line 28 "parse_tree.source_file_map.c"
#line 536 "../library/io.int"
#include "time.mh"

#line 32 "parse_tree.source_file_map.c"
#line 537 "../library/io.int"
#include "string.mh"

#line 36 "parse_tree.source_file_map.c"
#line 58 "../library/dir.int"
#include "dir.mh"

#line 40 "parse_tree.source_file_map.c"
#line 31 "../library/bitmap.int2"
#include "bitmap.mh"

#line 44 "parse_tree.source_file_map.c"
#line 39 "../mdbcomp/mdbcomp.rtti_access.int2"
#include "mdbcomp.rtti_access.mh"

#line 48 "parse_tree.source_file_map.c"
#line 33 "../library/array.int2"
#include "array.mh"

#line 52 "parse_tree.source_file_map.c"
#line 53 "parse_tree.source_file_map.c"
#include "parse_tree.source_file_map.mh"

#line 56 "parse_tree.source_file_map.c"
#line 57 "parse_tree.source_file_map.c"
#ifndef PARSE_TREE__SOURCE_FILE_MAP_DECL_GUARD
#define PARSE_TREE__SOURCE_FILE_MAP_DECL_GUARD

#line 61 "parse_tree.source_file_map.c"
#line 62 "parse_tree.source_file_map.c"

#endif
#line 65 "parse_tree.source_file_map.c"

#ifdef _MSC_VER
#define MR_STATIC_LINKAGE extern
#else
#define MR_STATIC_LINKAGE static
#endif

struct mercury_type_0 {
	MR_Word * f1[3];
};
MR_STATIC_LINKAGE const struct mercury_type_0 mercury_common_0[];

struct mercury_type_1 {
	MR_Word * f1[2];
	MR_Integer f2;
	MR_Word * f3[7];
};
MR_STATIC_LINKAGE const struct mercury_type_1 mercury_common_1[];
MR_decl_label10(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0, 47,2,27,4,6,7,8,9,5,11)
MR_decl_label10(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0, 12,13,16,15,19,20,21,22,18,24)
MR_decl_label1(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0, 49)
MR_decl_label10(parse_tree__source_file_map__have_source_file_map_3_0, 2,5,8,7,10,11,12,13,14,16)
MR_decl_label4(parse_tree__source_file_map__have_source_file_map_3_0, 4,3,18,17)
MR_decl_label10(parse_tree__source_file_map__lookup_module_source_file_4_0, 2,5,8,7,10,11,12,13,14,16)
MR_decl_label5(parse_tree__source_file_map__lookup_module_source_file_4_0, 4,3,18,17,20)
MR_decl_label6(parse_tree__source_file_map__read_until_char_5_0, 34,2,4,17,9,38)
MR_decl_label9(parse_tree__source_file_map__write_source_file_map_4_0, 2,5,6,7,8,9,4,12,14)
MR_decl_label10(parse_tree__source_file_map__write_source_file_map_2_7_0, 2,4,6,8,9,10,11,12,13,14)
MR_decl_label10(parse_tree__source_file_map__write_source_file_map_2_7_0, 15,16,5,17,18,20,19,22,23,24)
MR_decl_label10(parse_tree__source_file_map__write_source_file_map_2_7_0, 26,27,28,42,25,30,31,32,33,34)
MR_decl_label1(fn__parse_tree__source_file_map__default_source_file_1_0, 2)
MR_def_extern_entry(fn__parse_tree__source_file_map__default_source_file_1_0)
MR_decl_static(parse_tree__source_file_map__read_until_char_5_0)
MR_def_extern_entry(parse_tree__source_file_map__lookup_module_source_file_4_0)
MR_def_extern_entry(parse_tree__source_file_map__have_source_file_map_3_0)
MR_def_extern_entry(parse_tree__source_file_map__write_source_file_map_4_0)
MR_decl_static(parse_tree__source_file_map__write_source_file_map_2_7_0)
MR_decl_static(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0)

extern const MR_TypeCtorInfo_Struct mercury_data_tree234__type_ctor_info_tree234_2;
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0;
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_string_0;
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0;
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_string_0;
static const struct mercury_type_0 mercury_common_0[2] =
{
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_STRING_CTOR_ADDR
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_STRING_CTOR_ADDR
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__parse_tree__source_file_map__write_source_file_map_4_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_libs__globals__type_ctor_info_globals_0;
extern const MR_TypeCtorInfo_Struct mercury_data_io__type_ctor_info_output_stream_0;
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_string_0;
extern const MR_TypeCtorInfo_Struct mercury_data_io__type_ctor_info_state_0;
static const struct mercury_type_1 mercury_common_1[1] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__parse_tree__source_file_map__write_source_file_map_4_0_1,
(MR_Word *) (MR_Integer) 0
},
7,
{
MR_CTOR0_ADDR(libs__globals, globals),
MR_CTOR0_ADDR(io, output_stream),
MR_STRING_CTOR_ADDR,
MR_COMMON(0,0),
MR_COMMON(0,0),
MR_IO_CTOR_ADDR,
MR_IO_CTOR_ADDR
}
},
};


static const MR_UserClosureId
mercury_data__closure_layout__parse_tree__source_file_map__write_source_file_map_4_0_1 = {
{
MR_PREDICATE,
"parse_tree.source_file_map",
"parse_tree.source_file_map",
"write_source_file_map_2",
7,
0
},
"parse_tree.source_file_map",
"source_file_map.m",
183,
"11"
};


MR_decl_entry(fn__mdbcomp__prim_data__sym_name_to_string_1_0);
MR_decl_entry(fn__f_115_116_114_105_110_103_95_95_43_43_2_0);

MR_BEGIN_MODULE(parse_tree__source_file_map_module0)
	MR_init_entry1(fn__parse_tree__source_file_map__default_source_file_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__parse_tree__source_file_map__default_source_file_1_0);
	MR_init_label1(fn__parse_tree__source_file_map__default_source_file_1_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'default_source_file'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__parse_tree__source_file_map__default_source_file_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(1);
	MR_sv(1) = (MR_Word) MR_succip;
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__sym_name_to_string_1_0,
		fn__parse_tree__source_file_map__default_source_file_1_0_i2);
MR_def_label(fn__parse_tree__source_file_map__default_source_file_1_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = (MR_Word) MR_string_const(".m", 2);
	MR_succip_word = MR_sv(1);
	MR_decr_sp(1);
	MR_np_tailcall_ent(fn__f_115_116_114_105_110_103_95_95_43_43_2_0);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(io__read_char_3_0);

MR_BEGIN_MODULE(parse_tree__source_file_map_module1)
	MR_init_entry1(parse_tree__source_file_map__read_until_char_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__parse_tree__source_file_map__read_until_char_5_0);
	MR_init_label6(parse_tree__source_file_map__read_until_char_5_0,34,2,4,17,9,38)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'read_until_char'/5 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_def_static(parse_tree__source_file_map__read_until_char_5_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
MR_def_label(parse_tree__source_file_map__read_until_char_5_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_np_call_localret_ent(io__read_char_3_0,
		parse_tree__source_file_map__read_until_char_5_0_i2);
MR_def_label(parse_tree__source_file_map__read_until_char_5_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(parse_tree__source_file_map__read_until_char_5_0_i4);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(parse_tree__source_file_map__read_until_char_5_0_i17);
	}
	MR_r1 = (MR_Word) MR_tbmkword(0, 0);
	MR_decr_sp_and_return(3);
MR_def_label(parse_tree__source_file_map__read_until_char_5_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TEST(MR_r1,2)) {
		MR_GOTO_LAB(parse_tree__source_file_map__read_until_char_5_0_i38);
	}
	MR_r3 = MR_tfield(1, MR_r1, 0);
	if ((MR_r3 != MR_sv(1))) {
		MR_GOTO_LAB(parse_tree__source_file_map__read_until_char_5_0_i9);
	}
MR_def_label(parse_tree__source_file_map__read_until_char_5_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r1, 1, (MR_Integer) 1);
	MR_tfield(1, MR_r1, 0) = MR_sv(2);
	MR_decr_sp_and_return(3);
MR_def_label(parse_tree__source_file_map__read_until_char_5_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r3;
	MR_tfield(1, MR_tempr1, 1) = MR_sv(2);
	MR_r1 = MR_sv(1);
	MR_r2 = MR_tempr1;
	MR_succip_word = MR_sv(3);
	MR_GOTO_LAB(parse_tree__source_file_map__read_until_char_5_0_i34);
	}
MR_def_label(parse_tree__source_file_map__read_until_char_5_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp_and_return(3);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(libs__globals__io_get_maybe_source_file_map_3_0);
MR_decl_entry(io__open_input_4_0);
MR_decl_entry(fn__map__init_0_0);
MR_decl_entry(libs__globals__io_set_maybe_source_file_map_3_0);
MR_decl_entry(io__set_input_stream_4_0);
MR_decl_entry(io__close_input_3_0);
MR_decl_entry(map__search_3_0);

MR_BEGIN_MODULE(parse_tree__source_file_map_module2)
	MR_init_entry1(parse_tree__source_file_map__lookup_module_source_file_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__parse_tree__source_file_map__lookup_module_source_file_4_0);
	MR_init_label10(parse_tree__source_file_map__lookup_module_source_file_4_0,2,5,8,7,10,11,12,13,14,16)
	MR_init_label5(parse_tree__source_file_map__lookup_module_source_file_4_0,4,3,18,17,20)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'lookup_module_source_file'/4 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__parse_tree__source_file_map__lookup_module_source_file_4_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(4);
	MR_sv(4) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_np_call_localret_ent(libs__globals__io_get_maybe_source_file_map_3_0,
		parse_tree__source_file_map__lookup_module_source_file_4_0_i2);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(parse_tree__source_file_map__lookup_module_source_file_4_0_i4);
	}
	MR_r1 = (MR_Word) MR_string_const("Mercury.modules", 15);
	MR_np_call_localret_ent(io__open_input_4_0,
		parse_tree__source_file_map__lookup_module_source_file_4_0_i5);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(parse_tree__source_file_map__lookup_module_source_file_4_0_i7);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_np_call_localret_ent(fn__map__init_0_0,
		parse_tree__source_file_map__lookup_module_source_file_4_0_i8);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 1);
	MR_tfield(1, MR_tempr1, 0) = MR_r1;
	MR_sv(2) = MR_r1;
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(libs__globals__io_set_maybe_source_file_map_3_0,
		parse_tree__source_file_map__lookup_module_source_file_4_0_i16);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_tfield(0, MR_r1, 0);
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(io__set_input_stream_4_0,
		parse_tree__source_file_map__lookup_module_source_file_4_0_i10);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_np_call_localret_ent(fn__map__init_0_0,
		parse_tree__source_file_map__lookup_module_source_file_4_0_i11);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,
		parse_tree__source_file_map__lookup_module_source_file_4_0_i12);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(io__set_input_stream_4_0,
		parse_tree__source_file_map__lookup_module_source_file_4_0_i13);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(io__close_input_3_0,
		parse_tree__source_file_map__lookup_module_source_file_4_0_i14);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 1);
	MR_tfield(1, MR_tempr1, 0) = MR_sv(2);
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(libs__globals__io_set_maybe_source_file_map_3_0,
		parse_tree__source_file_map__lookup_module_source_file_4_0_i16);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r4 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_GOTO_LAB(parse_tree__source_file_map__lookup_module_source_file_4_0_i3);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r4 = MR_sv(1);
	MR_r3 = MR_tfield(1, MR_r1, 0);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r4;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_np_call_localret_ent(map__search_3_0,
		parse_tree__source_file_map__lookup_module_source_file_4_0_i18);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(parse_tree__source_file_map__lookup_module_source_file_4_0_i17);
	}
	MR_r1 = MR_r2;
	MR_decr_sp_and_return(4);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__sym_name_to_string_1_0,
		parse_tree__source_file_map__lookup_module_source_file_4_0_i20);
MR_def_label(parse_tree__source_file_map__lookup_module_source_file_4_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = (MR_Word) MR_string_const(".m", 2);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(fn__f_115_116_114_105_110_103_95_95_43_43_2_0);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(map__is_empty_1_0);

MR_BEGIN_MODULE(parse_tree__source_file_map_module3)
	MR_init_entry1(parse_tree__source_file_map__have_source_file_map_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__parse_tree__source_file_map__have_source_file_map_3_0);
	MR_init_label10(parse_tree__source_file_map__have_source_file_map_3_0,2,5,8,7,10,11,12,13,14,16)
	MR_init_label4(parse_tree__source_file_map__have_source_file_map_3_0,4,3,18,17)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'have_source_file_map'/3 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__parse_tree__source_file_map__have_source_file_map_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	MR_np_call_localret_ent(libs__globals__io_get_maybe_source_file_map_3_0,
		parse_tree__source_file_map__have_source_file_map_3_0_i2);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(parse_tree__source_file_map__have_source_file_map_3_0_i4);
	}
	MR_r1 = (MR_Word) MR_string_const("Mercury.modules", 15);
	MR_np_call_localret_ent(io__open_input_4_0,
		parse_tree__source_file_map__have_source_file_map_3_0_i5);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(parse_tree__source_file_map__have_source_file_map_3_0_i7);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_np_call_localret_ent(fn__map__init_0_0,
		parse_tree__source_file_map__have_source_file_map_3_0_i8);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 1);
	MR_tfield(1, MR_tempr1, 0) = MR_r1;
	MR_sv(1) = MR_r1;
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(libs__globals__io_set_maybe_source_file_map_3_0,
		parse_tree__source_file_map__have_source_file_map_3_0_i16);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_tfield(0, MR_r1, 0);
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(io__set_input_stream_4_0,
		parse_tree__source_file_map__have_source_file_map_3_0_i10);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_np_call_localret_ent(fn__map__init_0_0,
		parse_tree__source_file_map__have_source_file_map_3_0_i11);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,
		parse_tree__source_file_map__have_source_file_map_3_0_i12);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(io__set_input_stream_4_0,
		parse_tree__source_file_map__have_source_file_map_3_0_i13);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(io__close_input_3_0,
		parse_tree__source_file_map__have_source_file_map_3_0_i14);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 1);
	MR_tfield(1, MR_tempr1, 0) = MR_sv(1);
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(libs__globals__io_set_maybe_source_file_map_3_0,
		parse_tree__source_file_map__have_source_file_map_3_0_i16);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_sv(1);
	MR_GOTO_LAB(parse_tree__source_file_map__have_source_file_map_3_0_i3);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_tfield(1, MR_r1, 0);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_np_call_localret_ent(map__is_empty_1_0,
		parse_tree__source_file_map__have_source_file_map_3_0_i18);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(parse_tree__source_file_map__have_source_file_map_3_0_i17);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(parse_tree__source_file_map__have_source_file_map_3_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(io__open_output_4_0);
MR_decl_entry(io__set_exit_status_3_0);
MR_decl_entry(io__write_string_3_0);
MR_decl_entry(fn__io__error_message_1_0);
extern const MR_TypeCtorInfo_Struct mercury_data_io__type_ctor_info_state_0;
MR_decl_entry(list__foldl2_6_2);
MR_decl_entry(io__close_output_3_0);

MR_BEGIN_MODULE(parse_tree__source_file_map_module4)
	MR_init_entry1(parse_tree__source_file_map__write_source_file_map_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__parse_tree__source_file_map__write_source_file_map_4_0);
	MR_init_label9(parse_tree__source_file_map__write_source_file_map_4_0,2,5,6,7,8,9,4,12,14)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'write_source_file_map'/4 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__parse_tree__source_file_map__write_source_file_map_4_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(6);
	MR_sv(6) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = (MR_Word) MR_string_const("Mercury.modules", 15);
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(io__open_output_4_0,
		parse_tree__source_file_map__write_source_file_map_4_0_i2);
MR_def_label(parse_tree__source_file_map__write_source_file_map_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(parse_tree__source_file_map__write_source_file_map_4_0_i4);
	}
	MR_sv(1) = MR_tfield(1, MR_r1, 0);
	MR_r1 = (MR_Integer) 1;
	MR_np_call_localret_ent(io__set_exit_status_3_0,
		parse_tree__source_file_map__write_source_file_map_4_0_i5);
MR_def_label(parse_tree__source_file_map__write_source_file_map_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("mercury_compile: error opening \140", 32);
	MR_np_call_localret_ent(io__write_string_3_0,
		parse_tree__source_file_map__write_source_file_map_4_0_i6);
MR_def_label(parse_tree__source_file_map__write_source_file_map_4_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(io__write_string_3_0,
		parse_tree__source_file_map__write_source_file_map_4_0_i7);
MR_def_label(parse_tree__source_file_map__write_source_file_map_4_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("\' for output: ", 14);
	MR_np_call_localret_ent(io__write_string_3_0,
		parse_tree__source_file_map__write_source_file_map_4_0_i8);
MR_def_label(parse_tree__source_file_map__write_source_file_map_4_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(fn__io__error_message_1_0,
		parse_tree__source_file_map__write_source_file_map_4_0_i9);
MR_def_label(parse_tree__source_file_map__write_source_file_map_4_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(io__write_string_3_0);
MR_def_label(parse_tree__source_file_map__write_source_file_map_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 5);
	MR_sv(3) = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(1,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(parse_tree__source_file_map__write_source_file_map_2_7_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 2;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 4) = MR_tfield(0, MR_r1, 0);
	MR_sv(1) = MR_tfield(0, MR_tempr1, 4);
	MR_sv(4) = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_sv(5) = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(5);
	}
	MR_np_call_localret_ent(fn__map__init_0_0,
		parse_tree__source_file_map__write_source_file_map_4_0_i12);
MR_def_label(parse_tree__source_file_map__write_source_file_map_4_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(5);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,1);
	MR_r3 = (MR_Word) MR_IO_CTOR_ADDR;
	MR_r4 = MR_sv(3);
	MR_r5 = MR_sv(2);
	MR_r6 = MR_tempr1;
	}
	MR_np_call_localret_ent(list__foldl2_6_2,
		parse_tree__source_file_map__write_source_file_map_4_0_i14);
MR_def_label(parse_tree__source_file_map__write_source_file_map_4_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(io__close_output_3_0);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(parse_tree__prog_io__find_module_name_5_0);
MR_decl_entry(map__set_4_0);
MR_decl_entry(string__remove_suffix_3_0);
MR_decl_entry(fn__dir__det_basename_1_0);
MR_decl_entry(parse_tree__file_names__file_name_to_module_name_2_0);
MR_decl_entry(fn__dir__dirname_1_0);
MR_decl_entry(fn__dir__this_directory_0_0);
MR_decl_entry(__Unify___mdbcomp__prim_data__sym_name_0_0);
MR_decl_entry(io__set_output_stream_4_0);
MR_decl_entry(parse_tree__prog_out__write_sym_name_3_0);
MR_decl_entry(io__nl_2_0);

MR_BEGIN_MODULE(parse_tree__source_file_map_module5)
	MR_init_entry1(parse_tree__source_file_map__write_source_file_map_2_7_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__parse_tree__source_file_map__write_source_file_map_2_7_0);
	MR_init_label10(parse_tree__source_file_map__write_source_file_map_2_7_0,2,4,6,8,9,10,11,12,13,14)
	MR_init_label10(parse_tree__source_file_map__write_source_file_map_2_7_0,15,16,5,17,18,20,19,22,23,24)
	MR_init_label10(parse_tree__source_file_map__write_source_file_map_2_7_0,26,27,28,42,25,30,31,32,33,34)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'write_source_file_map_2'/7 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_def_static(parse_tree__source_file_map__write_source_file_map_2_7_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(7);
	MR_sv(7) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r2;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r3;
	MR_sv(2) = MR_tempr1;
	MR_sv(3) = MR_r4;
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(parse_tree__prog_io__find_module_name_5_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i2);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(parse_tree__source_file_map__write_source_file_map_2_7_0_i4);
	}
	MR_r1 = MR_sv(3);
	MR_decr_sp_and_return(7);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r4 = MR_tfield(1, MR_r1, 0);
	MR_sv(4) = MR_r4;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r3 = MR_sv(3);
	MR_np_call_localret_ent(map__search_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i6);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(parse_tree__source_file_map__write_source_file_map_2_7_0_i5);
	}
	if ((strcmp((char *) (MR_Word *) MR_r2, (char *) (MR_Word *) MR_sv(2)) == 0)) {
		MR_GOTO_LAB(parse_tree__source_file_map__write_source_file_map_2_7_0_i5);
	}
	MR_sv(5) = MR_r2;
	MR_r1 = (MR_Word) MR_string_const("mercury_compile: module \140", 25);
	MR_np_call_localret_ent(io__write_string_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i8);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(4);
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__sym_name_to_string_1_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i9);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(io__write_string_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i10);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("\' defined in multiple files: ", 29);
	MR_np_call_localret_ent(io__write_string_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i11);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(5);
	MR_np_call_localret_ent(io__write_string_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i12);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const(", ", 2);
	MR_np_call_localret_ent(io__write_string_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i13);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(io__write_string_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i14);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const(".\n", 2);
	MR_np_call_localret_ent(io__write_string_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i15);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_np_call_localret_ent(io__set_exit_status_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i16);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_GOTO_LAB(parse_tree__source_file_map__write_source_file_map_2_7_0_i18);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r3 = MR_sv(4);
	MR_r4 = MR_sv(2);
	MR_r5 = MR_sv(3);
	MR_np_call_localret_ent(map__set_4_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i17);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_r1 = MR_sv(2);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r2 = (MR_Word) MR_string_const(".m", 2);
	MR_np_call_localret_ent(string__remove_suffix_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i20);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(parse_tree__source_file_map__write_source_file_map_2_7_0_i19);
	}
	MR_r1 = MR_r2;
	MR_GOTO_LAB(parse_tree__source_file_map__write_source_file_map_2_7_0_i22);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_r1;
	MR_np_call_localret_ent(fn__dir__det_basename_1_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i23);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(parse_tree__file_names__file_name_to_module_name_2_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i24);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(5);
	MR_sv(5) = MR_r1;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(fn__dir__dirname_1_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i26);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(6) = MR_r1;
	MR_np_call_localret_ent(fn__dir__this_directory_0_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i27);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((strcmp((char *) (MR_Word *) MR_sv(6), (char *) (MR_Word *) MR_r1) != 0)) {
		MR_GOTO_LAB(parse_tree__source_file_map__write_source_file_map_2_7_0_i25);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(5);
	MR_np_call_localret_ent(__Unify___mdbcomp__prim_data__sym_name_0_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i28);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(parse_tree__source_file_map__write_source_file_map_2_7_0_i25);
	}
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,42)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(3);
	MR_decr_sp_and_return(7);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(io__set_output_stream_4_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i30);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = MR_sv(4);
	MR_np_call_localret_ent(parse_tree__prog_out__write_sym_name_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i31);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("\t", 1);
	MR_np_call_localret_ent(io__write_string_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i32);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(io__write_string_3_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i33);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(io__nl_2_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i34);
MR_def_label(parse_tree__source_file_map__write_source_file_map_2_7_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(io__set_output_stream_4_0,
		parse_tree__source_file_map__write_source_file_map_2_7_0_i42);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(string__from_rev_char_list_2_0);
MR_decl_entry(fn__mdbcomp__prim_data__string_to_sym_name_1_0);

MR_BEGIN_MODULE(parse_tree__source_file_map_module6)
	MR_init_entry1(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0);
	MR_init_label10(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,47,2,27,4,6,7,8,9,5,11)
	MR_init_label10(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,12,13,16,15,19,20,21,22,18,24)
	MR_init_label1(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,49)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__pred__read_source_file_map__[1]_0'/5 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_def_static(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,47)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = (MR_Integer) 9;
	MR_r2 = (MR_Word) MR_tbmkword(0, 0);
	MR_np_call_localret_ent(parse_tree__source_file_map__read_until_char_5_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i2);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i4);
	}
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_decr_sp_and_return(3);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i5);
	}
	MR_sv(1) = MR_tfield(2, MR_r1, 0);
	MR_r1 = (MR_Integer) 1;
	MR_np_call_localret_ent(io__set_exit_status_3_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i6);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("mercury_compile: error in Mercury.modules file: ", 48);
	MR_np_call_localret_ent(io__write_string_3_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i7);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(fn__io__error_message_1_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i8);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(io__write_string_3_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i9);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(io__nl_2_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i27);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(1, MR_r1, 0);
	MR_np_call_localret_ent(string__from_rev_char_list_2_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i11);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__string_to_sym_name_1_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i12);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = (MR_Integer) 10;
	MR_r2 = (MR_Word) MR_tbmkword(0, 0);
	MR_np_call_localret_ent(parse_tree__source_file_map__read_until_char_5_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i13);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i15);
	}
	MR_r1 = (MR_Integer) 1;
	MR_np_call_localret_ent(io__set_exit_status_3_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i16);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("mercury_compile: unexpected end of file in Mercury.modules file.\n", 65);
	MR_np_call_localret_ent(io__write_string_3_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i27);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i18);
	}
	MR_sv(1) = MR_tfield(2, MR_r1, 0);
	MR_r1 = (MR_Integer) 1;
	MR_np_call_localret_ent(io__set_exit_status_3_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i19);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("mercury_compile: error in Mercury.modules file: ", 48);
	MR_np_call_localret_ent(io__write_string_3_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i20);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(fn__io__error_message_1_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i21);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(io__write_string_3_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i22);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(io__nl_2_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i27);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(1, MR_r1, 0);
	MR_np_call_localret_ent(string__from_rev_char_list_2_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i24);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r3 = MR_sv(1);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_sv(2);
	}
	MR_np_call_localret_ent(map__set_4_0,
		f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i49);
MR_def_label(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0,49)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(3);
	MR_GOTO_LAB(f_112_97_114_115_101_95_116_114_101_101_95_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_97_100_95_115_111_117_114_99_101_95_102_105_108_101_95_109_97_112_95_95_91_49_93_95_48_5_0_i47);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

static void mercury__parse_tree__source_file_map_maybe_bunch_0(void)
{
	parse_tree__source_file_map_module0();
	parse_tree__source_file_map_module1();
	parse_tree__source_file_map_module2();
	parse_tree__source_file_map_module3();
	parse_tree__source_file_map_module4();
	parse_tree__source_file_map_module5();
	parse_tree__source_file_map_module6();
}

/* suppress gcc -Wmissing-decls warnings */
void mercury__parse_tree__source_file_map__init(void);
void mercury__parse_tree__source_file_map__init_type_tables(void);
void mercury__parse_tree__source_file_map__init_debugger(void);
#ifdef MR_DEEP_PROFILING
void mercury__parse_tree__source_file_map__write_out_proc_statics(FILE *deep_fp, FILE *procrep_fp);
#endif
#ifdef MR_RECORD_TERM_SIZES
void mercury__parse_tree__source_file_map__init_complexity_procs(void);
#endif
#ifdef MR_THREADSCOPE
void mercury__parse_tree__source_file_map__init_threadscope_string_table(void);
#endif

void mercury__parse_tree__source_file_map__init(void)
{
	static MR_bool done = MR_FALSE;
	if (done) {
		return;
	}
	done = MR_TRUE;
	mercury__parse_tree__source_file_map_maybe_bunch_0();
	mercury__parse_tree__source_file_map__init_debugger();
}

void mercury__parse_tree__source_file_map__init_type_tables(void)
{
	static MR_bool done = MR_FALSE;
	if (done) {
		return;
	}
	done = MR_TRUE;
}


void mercury__parse_tree__source_file_map__init_debugger(void)
{
	static MR_bool done = MR_FALSE;
	if (done) {
		return;
	}
	done = MR_TRUE;
}

#ifdef MR_DEEP_PROFILING

void mercury__parse_tree__source_file_map__write_out_proc_statics(FILE *deep_fp, FILE *procrep_fp)
{
	MR_write_out_module_proc_reps_start(procrep_fp, &mercury_data__module_common_layout__parse_tree__source_file_map);
	MR_write_out_module_proc_reps_end(procrep_fp);
}

#endif

#ifdef MR_RECORD_TERM_SIZES

void mercury__parse_tree__source_file_map__init_complexity_procs(void)
{
}

#endif

#ifdef MR_THREADSCOPE

void mercury__parse_tree__source_file_map__init_threadscope_string_table(void)
{
}

#endif

/* ensure everything is compiled with the same grade */
static const void *const MR_grade = &MR_GRADE_VAR;
