/*
** Automatically generated from `recompilation.check.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__recompilation__check__init
ENDINIT
*/

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

#line 28 "recompilation.check.c"
#line 536 "../library/io.int"
#include "time.mh"

#line 32 "recompilation.check.c"
#line 537 "../library/io.int"
#include "string.mh"

#line 36 "recompilation.check.c"
#line 31 "../library/bitmap.int2"
#include "bitmap.mh"

#line 40 "recompilation.check.c"
#line 33 "../library/array.int2"
#include "array.mh"

#line 44 "recompilation.check.c"
#line 39 "../mdbcomp/mdbcomp.rtti_access.int2"
#include "mdbcomp.rtti_access.mh"

#line 48 "recompilation.check.c"
#line 21 "../library/stm_builtin.int2"
#include "stm_builtin.mh"

#line 52 "recompilation.check.c"
#line 35 "../library/store.int2"
#include "store.mh"

#line 56 "recompilation.check.c"
#line 57 "recompilation.check.c"
#include "recompilation.check.mh"

#line 60 "recompilation.check.c"
#line 61 "recompilation.check.c"
#ifndef RECOMPILATION__CHECK_DECL_GUARD
#define RECOMPILATION__CHECK_DECL_GUARD

#line 65 "recompilation.check.c"
#line 66 "recompilation.check.c"

#endif
#line 69 "recompilation.check.c"

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

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

struct mercury_type_1 {
	MR_Word * f1;
	MR_Integer f2;
	MR_Word * f3[4];
};
MR_STATIC_LINKAGE const struct mercury_type_1 mercury_common_1[];

struct mercury_type_2 {
	MR_Word * f1[2];
	MR_Integer f2;
	MR_Word * f3[7];
};
MR_STATIC_LINKAGE const struct mercury_type_2 mercury_common_2[];

struct mercury_type_3 {
	MR_Word * f1[2];
	MR_Integer f2;
	MR_Word * f3[4];
};
MR_STATIC_LINKAGE const struct mercury_type_3 mercury_common_3[];

struct mercury_type_4 {
	MR_Word * f1[2];
	MR_Integer f2;
	MR_Word * f3[9];
};
MR_STATIC_LINKAGE const struct mercury_type_4 mercury_common_4[];

struct mercury_type_5 {
	MR_Word * f1[3];
};
MR_STATIC_LINKAGE const struct mercury_type_5 mercury_common_5[];

struct mercury_type_6 {
	MR_Word * f1;
};
MR_STATIC_LINKAGE const struct mercury_type_6 mercury_common_6[];

struct mercury_type_7 {
	MR_Integer f1;
	MR_String f2;
};
MR_STATIC_LINKAGE const struct mercury_type_7 mercury_common_7[];

struct mercury_type_8 {
	MR_Word * f1;
	MR_Word * f2;
	MR_Integer f3;
	MR_Word * f4;
	MR_Word * f5;
};
MR_STATIC_LINKAGE const struct mercury_type_8 mercury_common_8[];

struct mercury_type_9 {
	MR_Word * f1;
	MR_Code * f2;
	MR_Integer f3;
};
MR_STATIC_LINKAGE const struct mercury_type_9 mercury_common_9[];

struct mercury_type_10 {
	MR_Word * f1[4];
};
MR_STATIC_LINKAGE const struct mercury_type_10 mercury_common_10[];

struct mercury_type_11 {
	MR_Word * f1[2];
	MR_Integer f2;
	MR_Word * f3[6];
};
MR_STATIC_LINKAGE const struct mercury_type_11 mercury_common_11[];

struct mercury_type_12 {
	MR_Integer f1;
	MR_Word * f2;
};
MR_STATIC_LINKAGE const struct mercury_type_12 mercury_common_12[];

struct mercury_type_13 {
	MR_Word * f1;
	MR_Word * f2;
	MR_Integer f3;
};
MR_STATIC_LINKAGE const struct mercury_type_13 mercury_common_13[];

struct mercury_type_14 {
	MR_Unsigned f1[2];
};
MR_STATIC_LINKAGE const struct mercury_type_14 mercury_common_14[];

struct mercury_type_15 {
	MR_Word * f1[2];
	MR_Integer f2;
	MR_Word * f3[5];
};
MR_STATIC_LINKAGE const struct mercury_type_15 mercury_common_15[];

struct mercury_type_16 {
	MR_Word * f1[2];
	MR_Integer f2;
	MR_Word * f3[3];
};
MR_STATIC_LINKAGE const struct mercury_type_16 mercury_common_16[];

struct mercury_type_17 {
	MR_Word * f1[2];
	MR_Integer f2;
	MR_Word * f3[8];
};
MR_STATIC_LINKAGE const struct mercury_type_17 mercury_common_17[];

struct mercury_type_18 {
	MR_Integer f1;
};
MR_STATIC_LINKAGE const struct mercury_type_18 mercury_common_18[];

extern const MR_TypeCtorInfo_Struct
	mercury_data_recompilation__check__type_ctor_info_find_target_file_names_0,
	mercury_data_recompilation__check__type_ctor_info_find_timestamp_file_names_0,
	mercury_data_recompilation__check__type_ctor_info_functor_match_arity_0,
	mercury_data_recompilation__check__type_ctor_info_modules_to_recompile_0,
	mercury_data_recompilation__check__type_ctor_info_parse_resolved_item_matches_1,
	mercury_data_recompilation__check__type_ctor_info_recompilation_check_info_0,
	mercury_data_recompilation__check__type_ctor_info_recompile_exception_0,
	mercury_data_recompilation__check__type_ctor_info_recompile_reason_0;
MR_decl_label2(recompilation__check__IntroducedFrom__pred__parse_pred_or_func_item_match__496__1_3_0, 2,1)
MR_decl_label4(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0, 2,5,6,3)
MR_decl_label2(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0, 2,3)
MR_decl_label2(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_53_95_95_91_53_93_95_48_4_0, 2,3)
MR_decl_label1(recompilation__check__add_module_to_recompile_3_0, 3)
MR_decl_label1(recompilation__check__check_class_method_for_ambiguities_6_0, 3)
MR_decl_label7(recompilation__check__check_field_ambiguities_5_0, 35,4,6,12,14,7,16)
MR_decl_label10(recompilation__check__check_for_ambiguities_6_0, 3,4,7,5,9,10,13,11,15,16)
MR_decl_label10(recompilation__check__check_for_ambiguities_6_0, 17,18,19,20,21,23,26,27,77,29)
MR_decl_label4(recompilation__check__check_for_ambiguities_6_0, 24,34,35,32)
MR_decl_label10(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0, 4,3,6,7,11,13,10,29,30,33)
MR_decl_label6(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0, 36,32,38,42,40,9)
MR_decl_label3(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0, 4,3,2)
MR_decl_label10(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0, 2,46,3,8,9,18,19,14,24,25)
MR_decl_label1(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0, 30)
MR_decl_label10(recompilation__check__check_for_simple_item_ambiguity_9_0, 3,7,9,11,38,27,28,31,34,29)
MR_decl_label1(recompilation__check__check_for_simple_item_ambiguity_9_0, 2)
MR_decl_label8(recompilation__check__check_for_simple_item_ambiguity_2_8_0, 2,39,3,8,9,14,12,24)
MR_decl_label6(recompilation__check__check_functor_ambiguities_5_0, 2,4,6,12,14,7)
MR_decl_label7(recompilation__check__check_functor_ambiguities_2_7_0, 57,25,3,5,11,10,22)
MR_decl_label3(recompilation__check__check_functor_ambiguities_by_name_6_0, 2,8,3)
MR_decl_label9(recompilation__check__check_functor_ambiguity_8_0, 55,7,8,9,12,14,15,18,6)
MR_decl_label10(recompilation__check__check_imported_module_6_0, 2,10,11,15,12,13,17,18,26,31)
MR_decl_label6(recompilation__check__check_imported_module_6_0, 29,28,32,21,22,20)
MR_decl_label9(recompilation__check__check_imported_modules_5_0, 64,2,5,10,4,14,15,13,21)
MR_decl_label5(recompilation__check__check_instance_version_number_6_0, 3,7,6,2,19)
MR_decl_label5(recompilation__check__check_item_version_number_7_0, 4,8,7,15,2)
MR_decl_label2(recompilation__check__check_item_version_numbers_6_0, 4,6)
MR_decl_label10(recompilation__check__check_module_used_items_8_0, 2,4,7,3,13,15,16,17,18,19)
MR_decl_label5(recompilation__check__check_module_used_items_8_0, 20,21,22,24,23)
MR_decl_label2(recompilation__check__check_type_defn_ambiguity_with_functor_5_0, 20,3)
MR_decl_label5(recompilation__check__item_is_new_or_changed_5_0, 2,6,8,10,11)
MR_decl_label4(recompilation__check__parse_functor_item_4_0, 13,19,3,22)
MR_decl_label7(recompilation__check__parse_functor_matches_4_0, 10,12,15,16,2,3,19)
MR_decl_label7(recompilation__check__parse_module_timestamp_4_0, 2,8,13,16,15,4,23)
MR_decl_label2(recompilation__check__parse_name_and_arity_to_used_2_0, 2,1)
MR_decl_label4(recompilation__check__parse_pred_or_func_item_4_0, 14,20,4,23)
MR_decl_label10(recompilation__check__parse_pred_or_func_item_match_4_0, 2,12,14,18,5,20,24,26,4,29)
MR_decl_label10(recompilation__check__parse_resolved_functor_3_0, 10,12,17,2,3,26,19,20,38,40)
MR_decl_label3(recompilation__check__parse_resolved_functor_3_0, 30,31,45)
MR_decl_label5(recompilation__check__parse_resolved_item_arity_matches_4_0, 13,15,18,3,20)
MR_decl_label8(recompilation__check__parse_simple_item_4_0, 10,12,13,15,18,2,3,22)
MR_decl_label7(recompilation__check__parse_simple_item_match_4_0, 11,13,4,15,17,2,19)
MR_decl_label10(recompilation__check__parse_used_item_set_4_0, 6,10,15,18,8,33,41,44,31,61)
MR_decl_label7(recompilation__check__parse_used_item_set_4_0, 64,54,66,67,2,3,73)
MR_decl_label6(recompilation__check__parse_used_items_3_0, 21,22,23,24,2,28)
MR_decl_label8(recompilation__check__read_term_check_for_error_or_eof_5_0, 2,4,6,7,9,10,5,15)
MR_decl_label10(recompilation__check__recompile_reason_message_3_0, 4,3,17,10,30,23,37,40,41,36)
MR_decl_label10(recompilation__check__recompile_reason_message_3_0, 59,47,66,69,70,77,78,79,80,65)
MR_decl_label10(recompilation__check__recompile_reason_message_3_0, 87,90,91,98,99,100,101,86,114,107)
MR_decl_label8(recompilation__check__recompile_reason_message_3_0, 132,120,139,142,143,138,151,152)
MR_decl_label1(recompilation__check__record_read_file_8_0, 5)
MR_decl_label1(recompilation__check__record_recompilation_reason_3_0, 3)
MR_decl_label5(recompilation__check__require_recompilation_if_not_up_to_date_6_0, 2,6,7,4,11)
MR_decl_label8(recompilation__check__should_recompile_8_0, 2,4,19,20,21,22,23,26)
MR_decl_label10(recompilation__check__should_recompile_2_9_0, 3,4,7,6,9,10,14,13,12,19)
MR_decl_label10(recompilation__check__should_recompile_2_9_0, 11,23,24,22,27,28,29,30,31,33)
MR_decl_label10(recompilation__check__should_recompile_3_7_0, 2,13,16,4,17,27,28,29,32,38)
MR_decl_label10(recompilation__check__should_recompile_3_7_0, 41,44,33,34,48,47,46,31,30,63)
MR_decl_label10(recompilation__check__should_recompile_3_7_0, 71,64,65,74,77,78,80,81,82,84)
MR_decl_label6(recompilation__check__should_recompile_3_7_0, 92,94,85,86,96,99)
MR_decl_label1(recompilation__check__write_recompile_reason_5_0, 9)
MR_decl_label3(fn__recompilation__check__describe_item_1_0, 4,2,12)
MR_decl_label5(fn__recompilation__check__describe_resolved_functor_3_0, 3,57,30,31,32)
MR_decl_label4(__Unify___recompilation__check__functor_match_arity_0_0, 5,15,6,1)
MR_decl_label3(__Unify___recompilation__check__modules_to_recompile_0_0, 12,5,1)
MR_decl_label8(__Unify___recompilation__check__recompilation_check_info_0_0, 4,6,9,25,27,29,33,1)
MR_decl_label3(__Unify___recompilation__check__recompile_exception_0_0, 4,8,1)
MR_decl_label10(__Unify___recompilation__check__recompile_reason_0_0, 5,9,13,11,15,21,19,27,29,25)
MR_decl_label8(__Unify___recompilation__check__recompile_reason_0_0, 35,33,39,43,41,93,47,1)
MR_decl_label9(__Compare___recompilation__check__functor_match_arity_0_0, 30,7,5,11,34,9,26,15,27)
MR_decl_label4(__Compare___recompilation__check__modules_to_recompile_0_0, 18,7,5,9)
MR_decl_label10(__Compare___recompilation__check__recompilation_check_info_0_0, 3,2,5,9,13,18,36,40,44,48)
MR_decl_label1(__Compare___recompilation__check__recompilation_check_info_0_0, 119)
MR_decl_label4(__Compare___recompilation__check__recompile_exception_0_0, 3,2,5,21)
MR_decl_label10(__Compare___recompilation__check__recompile_reason_0_0, 3,2,9,7,14,15,16,17,18,19)
MR_decl_label10(__Compare___recompilation__check__recompile_reason_0_0, 20,21,5,25,26,28,29,30,31,32)
MR_decl_label10(__Compare___recompilation__check__recompile_reason_0_0, 33,34,23,38,39,42,40,47,48,49)
MR_decl_label10(__Compare___recompilation__check__recompile_reason_0_0, 50,51,52,36,56,57,58,59,61,62)
MR_decl_label10(__Compare___recompilation__check__recompile_reason_0_0, 63,64,65,54,69,70,71,72,75,73)
MR_decl_label10(__Compare___recompilation__check__recompile_reason_0_0, 80,81,82,83,67,87,88,89,90,91)
MR_decl_label10(__Compare___recompilation__check__recompile_reason_0_0, 94,98,102,92,109,110,111,85,115,116)
MR_decl_label10(__Compare___recompilation__check__recompile_reason_0_0, 117,118,119,120,123,121,128,129,113,133)
MR_decl_label10(__Compare___recompilation__check__recompile_reason_0_0, 134,135,136,137,138,139,140,142,131,146)
MR_decl_label10(__Compare___recompilation__check__recompile_reason_0_0, 147,148,149,150,151,152,153,156,154,144)
MR_decl_label10(__Compare___recompilation__check__recompile_reason_0_0, 164,165,166,167,168,169,170,171,172,162)
MR_decl_label10(__Compare___recompilation__check__recompile_reason_0_0, 176,177,309,178,179,180,181,182,183,184)
MR_decl_label3(__Compare___recompilation__check__recompile_reason_0_0, 316,185,812)
MR_decl_static(recompilation__check__should_recompile_3_try_7_0)
MR_decl_static(recompilation__check__add_module_to_recompile_3_0)
MR_decl_static(recompilation__check__should_recompile_2_9_0)
MR_def_extern_entry(recompilation__check__should_recompile_8_0)
MR_decl_static(fn__recompilation__check__describe_item_1_0)
MR_decl_static(fn__recompilation__check__describe_resolved_functor_3_0)
MR_decl_static(recompilation__check__recompile_reason_message_3_0)
MR_decl_static(recompilation__check__write_recompile_reason_5_0)
MR_decl_static(recompilation__check__write_not_found_reasons_message_5_0)
MR_decl_static(recompilation__check__throw_syntax_error_2_0)
MR_decl_static(recompilation__check__parse_module_timestamp_4_0)
MR_decl_static(recompilation__check__parse_used_items_3_0)
MR_decl_static(recompilation__check__check_instance_version_numbers_5_0)
MR_decl_static(recompilation__check__record_recompilation_reason_3_0)
MR_decl_static(recompilation__check__check_module_used_items_8_0)
MR_decl_static(recompilation__check__record_read_file_8_0)
MR_decl_static(recompilation__check__check_imported_module_6_0)
MR_decl_static(recompilation__check__check_imported_modules_5_0)
MR_decl_static(recompilation__check__read_term_check_for_error_or_eof_5_0)
MR_decl_static(recompilation__check__should_recompile_3_7_0)
MR_decl_static(recompilation__check__require_recompilation_if_not_up_to_date_6_0)
MR_decl_static(recompilation__check__parse_name_and_arity_to_used_2_0)
MR_decl_static(recompilation__check__parse_used_item_set_4_0)
MR_decl_static(recompilation__check__parse_simple_item_4_0)
MR_decl_static(recompilation__check__parse_simple_item_match_4_0)
MR_decl_static(recompilation__check__parse_pred_or_func_item_4_0)
MR_decl_static(recompilation__check__parse_pred_or_func_item_match_4_0)
MR_decl_static(recompilation__check__parse_functor_item_4_0)
MR_decl_static(recompilation__check__parse_functor_matches_4_0)
MR_decl_static(recompilation__check__parse_resolved_functor_3_0)
MR_decl_static(recompilation__check__parse_resolved_item_arity_matches_4_0)
MR_decl_static(recompilation__check__check_item_version_numbers_6_0)
MR_decl_static(recompilation__check__check_item_version_number_7_0)
MR_decl_static(recompilation__check__check_instance_version_number_6_0)
MR_decl_static(recompilation__check__item_is_new_or_changed_5_0)
MR_decl_static(recompilation__check__check_for_simple_item_ambiguity_9_0)
MR_decl_static(recompilation__check__check_functor_ambiguities_2_7_0)
MR_decl_static(recompilation__check__check_functor_ambiguities_by_name_6_0)
MR_decl_static(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0)
MR_decl_static(recompilation__check__check_type_defn_ambiguity_with_functor_5_0)
MR_decl_static(recompilation__check__check_for_ambiguities_6_0)
MR_decl_static(recompilation__check__check_class_method_for_ambiguities_6_0)
MR_decl_static(recompilation__check__check_for_simple_item_ambiguity_2_8_0)
MR_decl_static(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0)
MR_decl_static(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0)
MR_decl_static(recompilation__check__check_functor_ambiguities_5_0)
MR_decl_static(recompilation__check__check_field_ambiguities_5_0)
MR_decl_static(recompilation__check__check_functor_ambiguity_8_0)
MR_decl_static(fn__recompilation__check__project_spec_to_msgs_1_0)
MR_def_extern_entry(__Unify___recompilation__check__find_target_file_names_0_0)
MR_def_extern_entry(__Compare___recompilation__check__find_target_file_names_0_0)
MR_def_extern_entry(__Unify___recompilation__check__find_timestamp_file_names_0_0)
MR_def_extern_entry(__Compare___recompilation__check__find_timestamp_file_names_0_0)
MR_decl_static(__Unify___recompilation__check__functor_match_arity_0_0)
MR_decl_static(__Compare___recompilation__check__functor_match_arity_0_0)
MR_def_extern_entry(__Unify___recompilation__check__modules_to_recompile_0_0)
MR_def_extern_entry(__Compare___recompilation__check__modules_to_recompile_0_0)
MR_decl_static(__Unify___recompilation__check__parse_resolved_item_matches_1_0)
MR_decl_static(__Compare___recompilation__check__parse_resolved_item_matches_1_0)
MR_decl_static(__Unify___recompilation__check__recompilation_check_info_0_0)
MR_decl_static(__Compare___recompilation__check__recompilation_check_info_0_0)
MR_decl_static(__Unify___recompilation__check__recompile_exception_0_0)
MR_decl_static(__Compare___recompilation__check__recompile_exception_0_0)
MR_decl_static(__Unify___recompilation__check__recompile_reason_0_0)
MR_decl_static(__Compare___recompilation__check__recompile_reason_0_0)
MR_decl_static(recompilation__check__IntroducedFrom__pred__should_recompile_3__300__1_2_0)
MR_decl_static(recompilation__check__IntroducedFrom__pred__parse_pred_or_func_item_match__496__1_3_0)
MR_decl_static(recompilation__check__IntroducedFrom__pred__parse_resolved_item_arity_matches__611__1_6_0)
MR_decl_static(fn__recompilation__check__IntroducedFrom__func__check_for_pred_or_func_item_ambiguity_2__1146__1_4_0)
MR_decl_static(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_85_110_105_102_121_95_95_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_112_97_114_115_101_95_114_101_115_111_108_118_101_100_95_105_116_101_109_95_109_97_116_99_104_101_115_95_49_95_95_91_49_93_95_48_2_0)
MR_decl_static(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_67_111_109_112_97_114_101_95_95_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_112_97_114_115_101_95_114_101_115_111_108_118_101_100_95_105_116_101_109_95_109_97_116_99_104_101_115_95_49_95_95_91_49_93_95_48_3_0)
MR_decl_static(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0)
MR_decl_static(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0)
MR_decl_static(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_53_95_95_91_53_93_95_48_4_0)

extern const MR_TypeCtorInfo_Struct mercury_data_list__type_ctor_info_list_1;
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_string_0;
extern const MR_TypeCtorInfo_Struct mercury_data_set_ordlist__type_ctor_info_set_ordlist_1;
extern const MR_TypeCtorInfo_Struct mercury_data_list__type_ctor_info_list_1;
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__usage__type_ctor_info_resolved_functor_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__error_util__type_ctor_info_format_component_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__error_util__type_ctor_info_format_component_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__error_util__type_ctor_info_error_msg_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__error_util__type_ctor_info_error_msg_0;
extern const MR_TypeCtorInfo_Struct mercury_data_term__type_ctor_info_term_1;
extern const MR_TypeCtorInfo_Struct mercury_data_term__type_ctor_info_generic_0;
extern const MR_TypeCtorInfo_Struct mercury_data_set_ordlist__type_ctor_info_set_ordlist_1;
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__usage__type_ctor_info_resolved_functor_0;
extern const MR_TypeCtorInfo_Struct mercury_data_term__type_ctor_info_generic_0;
extern const MR_TypeCtorInfo_Struct mercury_data_term__type_ctor_info_term_1;
extern const MR_TypeCtorInfo_Struct mercury_data_maybe__type_ctor_info_maybe_1;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_mer_type_0;
extern const MR_TypeCtorInfo_Struct mercury_data_term__type_ctor_info_var_1;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_inst_var_type_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_tvar_type_0;
static const struct mercury_type_0 mercury_common_0[32] =
{
{
{
MR_LIST_CTOR_ADDR,
MR_STRING_CTOR_ADDR
}
},
{
{
MR_CTOR1_ADDR(set_ordlist, set_ordlist),
MR_TAG_COMMON(0,5,4)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_TAG_COMMON(0,5,6)
}
},
{
{
MR_CTOR1_ADDR(set_ordlist, set_ordlist),
MR_CTOR0_ADDR(recompilation__usage, resolved_functor)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_TAG_COMMON(0,5,9)
}
},
{
{
MR_TAG_COMMON(3,7,6),
MR_tbmkword(0, 0)
}
},
{
{
MR_tbmkword(0, 1),
MR_tbmkword(0, 0)
}
},
{
{
MR_TAG_COMMON(3,7,7),
MR_TAG_COMMON(1,0,6)
}
},
{
{
MR_TAG_COMMON(3,7,8),
MR_tbmkword(0, 0)
}
},
{
{
MR_TAG_COMMON(3,7,11),
MR_tbmkword(0, 0)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(parse_tree__error_util, format_component)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(parse_tree__error_util, format_component)
}
},
{
{
MR_TAG_COMMON(3,7,13),
MR_tbmkword(0, 0)
}
},
{
{
MR_TAG_COMMON(3,7,7),
MR_tbmkword(0, 0)
}
},
{
{
MR_TAG_COMMON(3,7,15),
MR_tbmkword(0, 0)
}
},
{
{
MR_TAG_COMMON(3,7,17),
MR_tbmkword(0, 0)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(parse_tree__error_util, error_msg)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(parse_tree__error_util, error_msg)
}
},
{
{
MR_TAG_COMMON(3,7,19),
MR_TAG_COMMON(1,0,6)
}
},
{
{
MR_TAG_COMMON(3,7,20),
MR_TAG_COMMON(1,0,6)
}
},
{
{
MR_CTOR1_ADDR(term, term),
MR_CTOR0_ADDR(term, generic)
}
},
{
{
MR_CTOR1_ADDR(set_ordlist, set_ordlist),
MR_COMMON(5,14)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_COMMON(5,16)
}
},
{
{
MR_CTOR1_ADDR(set_ordlist, set_ordlist),
MR_CTOR0_ADDR(recompilation__usage, resolved_functor)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_COMMON(5,19)
}
},
{
{
MR_CTOR1_ADDR(term, term),
MR_CTOR0_ADDR(term, generic)
}
},
{
{
MR_CTOR1_ADDR(term, term),
MR_CTOR0_ADDR(term, generic)
}
},
{
{
MR_CTOR1_ADDR(set_ordlist, set_ordlist),
MR_CTOR0_ADDR(recompilation__usage, resolved_functor)
}
},
{
{
MR_CTOR1_ADDR(maybe, maybe),
MR_CTOR0_ADDR(parse_tree__prog_data, mer_type)
}
},
{
{
MR_CTOR1_ADDR(term, var),
MR_CTOR0_ADDR(parse_tree__prog_data, inst_var_type)
}
},
{
{
MR_CTOR1_ADDR(term, var),
MR_CTOR0_ADDR(parse_tree__prog_data, tvar_type)
}
},
{
{
MR_CTOR1_ADDR(set_ordlist, set_ordlist),
MR_COMMON(5,14)
}
},
};

extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_pred_0;
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0;
extern const MR_TypeCtorInfo_Struct mercury_data_io__type_ctor_info_state_0;
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_recompilation_check_info_0;
static const struct mercury_type_1 mercury_common_1[2] =
{
{
MR_CTOR0_ADDR(builtin, pred),
4,
{
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_COMMON(0,0),
MR_IO_CTOR_ADDR,
MR_IO_CTOR_ADDR
}
},
{
MR_CTOR0_ADDR(builtin, pred),
4,
{
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_COMMON(0,26),
MR_COMMON(13,0),
MR_COMMON(13,0)
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__should_recompile_3_try_7_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_libs__globals__type_ctor_info_globals_0;
extern const MR_TypeCtorInfo_Struct mercury_data_bool__type_ctor_info_bool_0;
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_recompilation_check_info_0;
extern const MR_TypeCtorInfo_Struct mercury_data_io__type_ctor_info_state_0;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_item_version_numbers_6_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0;
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__type_ctor_info_item_type_0;
extern const MR_TypeCtorInfo_Struct mercury_data_libs__timestamp__type_ctor_info_timestamp_0;
static const struct mercury_type_2 mercury_common_2[2] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__should_recompile_3_try_7_0_1,
(MR_Word *) (MR_Integer) 0
},
7,
{
MR_CTOR0_ADDR(libs__globals, globals),
MR_BOOL_CTOR_ADDR,
MR_COMMON(1,0),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_IO_CTOR_ADDR,
MR_IO_CTOR_ADDR
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_item_version_numbers_6_0_1,
(MR_Word *) (MR_Integer) 0
},
7,
{
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_COMMON(5,32),
MR_CTOR0_ADDR(recompilation, item_type),
MR_COMMON(5,33),
MR_CTOR0_ADDR(libs__timestamp, timestamp),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__should_recompile_2_9_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_string_0;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__recompile_reason_message_3_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_int_0;
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__usage__type_ctor_info_resolved_functor_0;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_used_items_3_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_used_item_set_4_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_used_item_set_4_0_2;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_used_item_set_4_0_3;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_simple_item_4_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_pred_or_func_item_4_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_functor_item_4_0_1;
static const struct mercury_type_3 mercury_common_3[9] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__should_recompile_2_9_0_1,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(libs__globals, globals),
MR_STRING_CTOR_ADDR,
MR_IO_CTOR_ADDR,
MR_IO_CTOR_ADDR
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__recompile_reason_message_3_0_1,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(recompilation__usage, resolved_functor),
MR_COMMON(0,11)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__parse_used_items_3_0_1,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_COMMON(0,20),
MR_COMMON(10,0),
MR_COMMON(10,0)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__parse_used_item_set_4_0_1,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_COMMON(0,20),
MR_COMMON(5,23),
MR_COMMON(5,23)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__parse_used_item_set_4_0_2,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_COMMON(0,20),
MR_COMMON(5,24),
MR_COMMON(5,24)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__parse_used_item_set_4_0_3,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_COMMON(0,20),
MR_COMMON(5,25),
MR_COMMON(5,25)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__parse_simple_item_4_0_1,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_COMMON(0,20),
MR_COMMON(5,26),
MR_COMMON(5,26)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__parse_pred_or_func_item_4_0_1,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_COMMON(0,20),
MR_COMMON(5,27),
MR_COMMON(5,27)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__parse_functor_item_4_0_1,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_COMMON(0,20),
MR_COMMON(5,30),
MR_COMMON(5,30)
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__should_recompile_2_9_0_2;
static const struct mercury_type_4 mercury_common_4[1] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__should_recompile_2_9_0_2,
(MR_Word *) (MR_Integer) 0
},
9,
{
MR_CTOR0_ADDR(libs__globals, globals),
MR_BOOL_CTOR_ADDR,
MR_COMMON(1,0),
MR_COMMON(1,0),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_IO_CTOR_ADDR,
MR_IO_CTOR_ADDR
}
},
};

extern const MR_TypeCtorInfo_Struct mercury_data_pair__type_ctor_info_pair_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_builtin__type_ctor_info_int_0;
extern const MR_TypeCtorInfo_Struct mercury_data_tree234__type_ctor_info_tree234_2;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_id_0;
extern const MR_TypeCtorInfo_Struct mercury_data_pair__type_ctor_info_pair_2;
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_int_0;
extern const MR_TypeCtorInfo_Struct mercury_data_tree234__type_ctor_info_tree234_2;
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__type_ctor_info_item_name_0;
extern const MR_TypeCtorInfo_Struct mercury_data_libs__timestamp__type_ctor_info_timestamp_0;
extern const MR_TypeCtorInfo_Struct mercury_data_libs__timestamp__type_ctor_info_timestamp_0;
static const struct mercury_type_5 mercury_common_5[35] =
{
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_STRING_CTOR_ADDR
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_STRING_CTOR_ADDR,
MR_INT_CTOR_ADDR
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_TAG_COMMON(0,5,1),
MR_TAG_COMMON(0,5,2)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_CTOR0_ADDR(hlds__hlds_pred, pred_id),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_TAG_COMMON(0,0,1)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_INT_CTOR_ADDR,
MR_TAG_COMMON(0,5,5)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_STRING_CTOR_ADDR,
MR_TAG_COMMON(0,0,2)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_TAG_COMMON(0,0,3)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_INT_CTOR_ADDR,
MR_TAG_COMMON(0,5,8)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_STRING_CTOR_ADDR,
MR_TAG_COMMON(0,0,4)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_STRING_CTOR_ADDR,
MR_INT_CTOR_ADDR
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_COMMON(5,11),
MR_COMMON(5,12)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_COMMON(0,21)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_INT_CTOR_ADDR,
MR_COMMON(5,15)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_STRING_CTOR_ADDR,
MR_COMMON(0,22)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_COMMON(0,23)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_INT_CTOR_ADDR,
MR_COMMON(5,18)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_STRING_CTOR_ADDR,
MR_COMMON(0,24)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(recompilation, item_name),
MR_CTOR0_ADDR(libs__timestamp, timestamp)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_COMMON(5,11),
MR_CTOR0_ADDR(libs__timestamp, timestamp)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_COMMON(5,11),
MR_COMMON(5,12)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_STRING_CTOR_ADDR,
MR_COMMON(0,22)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_STRING_CTOR_ADDR,
MR_COMMON(0,24)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_COMMON(0,21)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_INT_CTOR_ADDR,
MR_COMMON(13,0)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_COMMON(0,23)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_TAG_COMMON(0,5,1),
MR_CTOR0_ADDR(libs__timestamp, timestamp)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_COMMON(5,11),
MR_CTOR0_ADDR(libs__timestamp, timestamp)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_STRING_CTOR_ADDR,
MR_INT_CTOR_ADDR
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_INT_CTOR_ADDR,
MR_COMMON(5,15)
}
},
};

static const struct mercury_type_6 mercury_common_6[1] =
{
{
MR_tbmkword(0, 0)
},
};

static const struct mercury_type_7 mercury_common_7[23] =
{
{
4,
MR_string_const("body of", 7)
},
{
4,
MR_string_const("constructor", 11)
},
{
4,
MR_string_const("of type", 7)
},
{
4,
MR_string_const("field access function", 21)
},
{
4,
MR_string_const("for constructor", 15)
},
{
4,
MR_string_const("output file", 11)
},
{
4,
MR_string_const("is not up to date.", 18)
},
{
3,
MR_string_const(".", 1)
},
{
4,
MR_string_const("was modified.", 13)
},
{
4,
MR_string_const("an instance for class", 21)
},
{
4,
MR_string_const("in module", 9)
},
{
4,
MR_string_const("was added or modified.", 22)
},
{
4,
MR_string_const("addition of", 11)
},
{
4,
MR_string_const("could cause an ambiguity with", 29)
},
{
4,
MR_string_const("file", 4)
},
{
4,
MR_string_const("has changed.", 12)
},
{
4,
MR_string_const("an instance for class ", 22)
},
{
4,
MR_string_const("was removed.", 12)
},
{
4,
MR_string_const("Recompiling module", 18)
},
{
3,
MR_string_const(":", 1)
},
{
4,
MR_string_const("not found.", 10)
},
{
4,
MR_string_const("error reading file", 18)
},
{
4,
MR_string_const("invalid usage file version number in file", 41)
},
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__recompile_reason_message_3_0_2;
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__type_ctor_info_item_id_0;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__recompile_reason_message_3_0_3;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__error_util__type_ctor_info_error_spec_0;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__should_recompile_3_7_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__should_recompile_3_7_0_3;
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__type_ctor_info_item_name_0;
static const struct mercury_type_8 mercury_common_8[4] =
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__recompile_reason_message_3_0_2,
(MR_Word *) (MR_Integer) 0,
2,
MR_CTOR0_ADDR(recompilation, item_id),
MR_COMMON(0,11)
},
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__recompile_reason_message_3_0_3,
(MR_Word *) (MR_Integer) 0,
2,
MR_CTOR0_ADDR(parse_tree__error_util, error_spec),
MR_COMMON(0,17)
},
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__should_recompile_3_7_0_1,
(MR_Word *) (MR_Integer) 0,
2,
MR_COMMON(0,20),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name)
},
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__should_recompile_3_7_0_3,
(MR_Word *) (MR_Integer) 0,
2,
MR_COMMON(0,20),
MR_CTOR0_ADDR(recompilation, item_name)
},
};

static const struct mercury_type_9 mercury_common_9[6] =
{
{
MR_COMMON(8,0),
MR_ENTRY_AP(fn__recompilation__check__describe_item_1_0),
0
},
{
MR_COMMON(8,1),
MR_ENTRY_AP(fn__recompilation__check__project_spec_to_msgs_1_0),
0
},
{
MR_COMMON(8,2),
MR_ENTRY_AP(recompilation__check__IntroducedFrom__pred__should_recompile_3__300__1_2_0),
0
},
{
MR_COMMON(8,3),
MR_ENTRY_AP(recompilation__check__parse_name_and_arity_to_used_2_0),
0
},
{
MR_COMMON(3,7),
MR_ENTRY_AP(recompilation__check__parse_pred_or_func_item_match_4_0),
0
},
{
MR_COMMON(3,8),
MR_ENTRY_AP(recompilation__check__parse_functor_matches_4_0),
0
},
};

extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__type_ctor_info_item_id_set_3;
static const struct mercury_type_10 mercury_common_10[3] =
{
{
{
MR_CTOR_ADDR(recompilation, item_id_set, 3),
MR_COMMON(5,13),
MR_COMMON(5,17),
MR_COMMON(5,20)
}
},
{
{
MR_CTOR_ADDR(recompilation, item_id_set, 3),
MR_TAG_COMMON(0,5,3),
MR_TAG_COMMON(0,5,7),
MR_TAG_COMMON(0,5,10)
}
},
{
{
MR_CTOR_ADDR(recompilation, item_id_set, 3),
MR_COMMON(5,22),
MR_COMMON(5,22),
MR_COMMON(5,22)
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_instance_version_numbers_5_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_module_used_items_8_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_module_used_items_8_0_2;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_need_qualifier_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_item__type_ctor_info_item_0;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__should_recompile_3_7_0_2;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_resolved_item_arity_matches_4_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_private_builtin__type_ctor_info_type_info_0;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_for_ambiguities_6_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_item__type_ctor_info_class_method_0;
static const struct mercury_type_11 mercury_common_11[6] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_instance_version_numbers_5_0_1,
(MR_Word *) (MR_Integer) 0
},
6,
{
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_COMMON(5,21),
MR_CTOR0_ADDR(recompilation, item_name),
MR_CTOR0_ADDR(libs__timestamp, timestamp),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_module_used_items_8_0_1,
(MR_Word *) (MR_Integer) 0
},
6,
{
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_COMMON(10,2),
MR_COMMON(10,2),
MR_CTOR0_ADDR(recompilation, item_type),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_module_used_items_8_0_2,
(MR_Word *) (MR_Integer) 0
},
6,
{
MR_CTOR0_ADDR(parse_tree__prog_data, need_qualifier),
MR_CTOR0_ADDR(libs__timestamp, timestamp),
MR_COMMON(10,2),
MR_CTOR0_ADDR(parse_tree__prog_item, item),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__should_recompile_3_7_0_2,
(MR_Word *) (MR_Integer) 0
},
6,
{
MR_CTOR0_ADDR(libs__timestamp, timestamp),
MR_STRING_CTOR_ADDR,
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_IO_CTOR_ADDR,
MR_IO_CTOR_ADDR
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__parse_resolved_item_arity_matches_4_0_1,
MR_COMMON(14,0)
},
6,
{
MR_CTOR0_ADDR(private_builtin, type_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_COMMON(1,1),
MR_COMMON(0,20),
MR_COMMON(13,0),
MR_COMMON(13,0)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_for_ambiguities_6_0_1,
(MR_Word *) (MR_Integer) 0
},
6,
{
MR_CTOR0_ADDR(parse_tree__prog_data, need_qualifier),
MR_CTOR0_ADDR(libs__timestamp, timestamp),
MR_COMMON(10,2),
MR_CTOR0_ADDR(parse_tree__prog_item, class_method),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
};

static const struct mercury_type_12 mercury_common_12[7] =
{
{
7,
MR_tbmkword(0, 0)
},
{
6,
MR_TAG_COMMON(1,12,0)
},
{
4,
MR_TAG_COMMON(1,12,1)
},
{
2,
MR_TAG_COMMON(1,12,2)
},
{
3,
MR_TAG_COMMON(1,12,3)
},
{
1,
MR_TAG_COMMON(1,12,4)
},
{
0,
MR_TAG_COMMON(1,12,5)
},
};

static const struct mercury_type_13 mercury_common_13[1] =
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
1
},
};

static const struct mercury_type_14 mercury_common_14[1] =
{
{
{
1,
17
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_pred_or_func_item_4_0_2;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_functor_item_4_0_2;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_type_defn_ambiguity_with_functor_5_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_type_ctor_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_constructor_0;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_5_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_constructor_arg_0;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_5_0_2;
static const MR_UserClosureId
mercury_data__closure_layout__f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_recompile_reason_0;
static const struct mercury_type_15 mercury_common_15[7] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__parse_pred_or_func_item_4_0_2,
MR_COMMON(14,0)
},
5,
{
MR_CTOR0_ADDR(private_builtin, type_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_COMMON(1,1),
MR_COMMON(0,20),
MR_COMMON(5,28)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__parse_functor_item_4_0_2,
MR_COMMON(14,0)
},
5,
{
MR_CTOR0_ADDR(private_builtin, type_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_COMMON(1,1),
MR_COMMON(0,20),
MR_COMMON(5,28)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_type_defn_ambiguity_with_functor_5_0_1,
(MR_Word *) (MR_Integer) 0
},
5,
{
MR_CTOR0_ADDR(parse_tree__prog_data, need_qualifier),
MR_CTOR0_ADDR(parse_tree__prog_data, type_ctor),
MR_CTOR0_ADDR(parse_tree__prog_data, constructor),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_1,
(MR_Word *) (MR_Integer) 0
},
5,
{
MR_CTOR0_ADDR(recompilation, item_type),
MR_INT_CTOR_ADDR,
MR_STRING_CTOR_ADDR,
MR_COMMON(5,29),
MR_CTOR0_ADDR(recompilation, item_id)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_5_0_1,
(MR_Word *) (MR_Integer) 0
},
5,
{
MR_CTOR0_ADDR(parse_tree__prog_data, need_qualifier),
MR_CTOR0_ADDR(recompilation__usage, resolved_functor),
MR_CTOR0_ADDR(parse_tree__prog_data, constructor_arg),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_5_0_2,
(MR_Word *) (MR_Integer) 0
},
5,
{
MR_CTOR0_ADDR(parse_tree__prog_data, need_qualifier),
MR_CTOR0_ADDR(recompilation__usage, resolved_functor),
MR_CTOR0_ADDR(parse_tree__prog_data, constructor_arg),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0_1,
(MR_Word *) (MR_Integer) 0
},
5,
{
MR_CTOR0_ADDR(libs__globals, globals),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_CTOR0_ADDR(recompilation__check, recompile_reason),
MR_IO_CTOR_ADDR,
MR_IO_CTOR_ADDR
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_pred_or_func_item_match_4_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_functor_matches_4_0_1;
static const struct mercury_type_16 mercury_common_16[2] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__parse_pred_or_func_item_match_4_0_1,
(MR_Word *) (MR_Integer) 0
},
3,
{
MR_INT_CTOR_ADDR,
MR_COMMON(0,20),
MR_COMMON(5,29)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__parse_functor_matches_4_0_1,
(MR_Word *) (MR_Integer) 0
},
3,
{
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_COMMON(0,20),
MR_CTOR0_ADDR(recompilation__usage, resolved_functor)
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_for_simple_item_ambiguity_9_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_2_7_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_2_7_0_2;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_2_7_0_3;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0_1;
static const struct mercury_type_17 mercury_common_17[6] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_for_simple_item_ambiguity_9_0_1,
(MR_Word *) (MR_Integer) 0
},
8,
{
MR_CTOR0_ADDR(recompilation, item_type),
MR_CTOR0_ADDR(parse_tree__prog_data, need_qualifier),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_2_7_0_1,
(MR_Word *) (MR_Integer) 0
},
8,
{
MR_CTOR0_ADDR(parse_tree__prog_data, need_qualifier),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(recompilation__usage, resolved_functor),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_COMMON(0,27),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_2_7_0_2,
(MR_Word *) (MR_Integer) 0
},
8,
{
MR_CTOR0_ADDR(parse_tree__prog_data, need_qualifier),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(recompilation__usage, resolved_functor),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_COMMON(0,27),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_2_7_0_3,
(MR_Word *) (MR_Integer) 0
},
8,
{
MR_CTOR0_ADDR(parse_tree__prog_data, need_qualifier),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(recompilation__usage, resolved_functor),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_COMMON(0,27),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_1,
(MR_Word *) (MR_Integer) 0
},
8,
{
MR_COMMON(0,28),
MR_CTOR0_ADDR(recompilation, item_type),
MR_CTOR0_ADDR(parse_tree__prog_data, need_qualifier),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_INT_CTOR_ADDR,
MR_COMMON(5,34),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0_1,
(MR_Word *) (MR_Integer) 0
},
8,
{
MR_CTOR0_ADDR(recompilation, item_type),
MR_CTOR0_ADDR(parse_tree__prog_data, need_qualifier),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_COMMON(0,31),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info),
MR_CTOR0_ADDR(recompilation__check, recompilation_check_info)
}
},
};

static const struct mercury_type_18 mercury_common_18[2] =
{
{
1
},
{
2
},
};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1builtin__type_ctor_info_string_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_string_0
}};

static const MR_VA_TypeInfo_Struct4 mercury_data___vti_pred_4mdbcomp__prim_data__type_ctor_info_sym_name_0list__ti_list_1builtin__type_ctor_info_string_0io__type_ctor_info_state_0io__type_ctor_info_state_0 = {
	&mercury_data_builtin__type_ctor_info_pred_0,
	4,
{	(MR_TypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_TypeInfo) &mercury_data_list__ti_list_1builtin__type_ctor_info_string_0,
	(MR_TypeInfo) &mercury_data_io__type_ctor_info_state_0,
	(MR_TypeInfo) &mercury_data_io__type_ctor_info_state_0
}};

const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_find_target_file_names_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___recompilation__check__find_target_file_names_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___recompilation__check__find_target_file_names_0_0)),
	"recompilation.check",
	"find_target_file_names",
	{ 0 },
	{ (void *)&mercury_data___vti_pred_4mdbcomp__prim_data__type_ctor_info_sym_name_0list__ti_list_1builtin__type_ctor_info_string_0io__type_ctor_info_state_0io__type_ctor_info_state_0 },
	-1,
	0,
	NULL
};

const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_find_timestamp_file_names_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___recompilation__check__find_timestamp_file_names_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___recompilation__check__find_timestamp_file_names_0_0)),
	"recompilation.check",
	"find_timestamp_file_names",
	{ 0 },
	{ (void *)&mercury_data___vti_pred_4mdbcomp__prim_data__type_ctor_info_sym_name_0list__ti_list_1builtin__type_ctor_info_string_0io__type_ctor_info_state_0io__type_ctor_info_state_0 },
	-1,
	0,
	NULL
};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_functor_match_arity_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_functor_match_arity_0_0 = {
	"match_arity_exact",
	1,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_functor_match_arity_0_0,
	NULL,
	NULL
};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_functor_match_arity_0_1[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_functor_match_arity_0_1 = {
	"match_arity_less_than_or_equal",
	1,
	0,
	MR_SECTAG_NONE,
	2,
	-1,
	1,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_functor_match_arity_0_1,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_functor_match_arity_0_2 = {
	"match_arity_any",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	0,
	2,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_stag_ordered_functor_match_arity_0_0[] = {
	&mercury_data_recompilation__check__du_functor_desc_functor_match_arity_0_2

};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_stag_ordered_functor_match_arity_0_1[] = {
	&mercury_data_recompilation__check__du_functor_desc_functor_match_arity_0_0

};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_stag_ordered_functor_match_arity_0_2[] = {
	&mercury_data_recompilation__check__du_functor_desc_functor_match_arity_0_1

};

const MR_DuPtagLayout mercury_data_recompilation__check__du_ptag_ordered_functor_match_arity_0[] = {
	{ 1, MR_SECTAG_LOCAL,
	mercury_data_recompilation__check__du_stag_ordered_functor_match_arity_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_recompilation__check__du_stag_ordered_functor_match_arity_0_1 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_recompilation__check__du_stag_ordered_functor_match_arity_0_2 }

};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_name_ordered_functor_match_arity_0[] = {
	&mercury_data_recompilation__check__du_functor_desc_functor_match_arity_0_2,
	&mercury_data_recompilation__check__du_functor_desc_functor_match_arity_0_0,
	&mercury_data_recompilation__check__du_functor_desc_functor_match_arity_0_1
};

const MR_Integer mercury_data_recompilation__check__functor_number_map_functor_match_arity_0[] = {
	1,
	2,
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_functor_match_arity_0 = {
	0,
	14,
	3,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___recompilation__check__functor_match_arity_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___recompilation__check__functor_match_arity_0_0)),
	"recompilation.check",
	"functor_match_arity",
	{ (void *)mercury_data_recompilation__check__du_name_ordered_functor_match_arity_0 },
	{ (void *)mercury_data_recompilation__check__du_ptag_ordered_functor_match_arity_0 },
	3,
	4,
	mercury_data_recompilation__check__functor_number_map_functor_match_arity_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_modules_to_recompile_0_0 = {
	"all_modules",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	0,
	0,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1mdbcomp__prim_data__type_ctor_info_sym_name_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0
}};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_modules_to_recompile_0_1[] = {
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1mdbcomp__prim_data__type_ctor_info_sym_name_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_modules_to_recompile_0_1 = {
	"some_modules",
	1,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	1,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_modules_to_recompile_0_1,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_stag_ordered_modules_to_recompile_0_0[] = {
	&mercury_data_recompilation__check__du_functor_desc_modules_to_recompile_0_0

};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_stag_ordered_modules_to_recompile_0_1[] = {
	&mercury_data_recompilation__check__du_functor_desc_modules_to_recompile_0_1

};

const MR_DuPtagLayout mercury_data_recompilation__check__du_ptag_ordered_modules_to_recompile_0[] = {
	{ 1, MR_SECTAG_LOCAL,
	mercury_data_recompilation__check__du_stag_ordered_modules_to_recompile_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_recompilation__check__du_stag_ordered_modules_to_recompile_0_1 }

};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_name_ordered_modules_to_recompile_0[] = {
	&mercury_data_recompilation__check__du_functor_desc_modules_to_recompile_0_0,
	&mercury_data_recompilation__check__du_functor_desc_modules_to_recompile_0_1
};

const MR_Integer mercury_data_recompilation__check__functor_number_map_modules_to_recompile_0[] = {
	0,
	1 };
	
const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_modules_to_recompile_0 = {
	0,
	14,
	2,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___recompilation__check__modules_to_recompile_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___recompilation__check__modules_to_recompile_0_0)),
	"recompilation.check",
	"modules_to_recompile",
	{ (void *)mercury_data_recompilation__check__du_name_ordered_modules_to_recompile_0 },
	{ (void *)mercury_data_recompilation__check__du_ptag_ordered_modules_to_recompile_0 },
	2,
	4,
	mercury_data_recompilation__check__functor_number_map_modules_to_recompile_0
};

static const MR_FA_TypeInfo_Struct1 mercury_data_term__ti_term_1term__type_ctor_info_generic_0 = {
	&mercury_data_term__type_ctor_info_term_1,
{	(MR_TypeInfo) &mercury_data_term__type_ctor_info_generic_0
}};

static const MR_FA_PseudoTypeInfo_Struct2 mercury_data_tree234__pti_tree234_2__plain_mdbcomp__prim_data__type_ctor_info_sym_name_0__pseudo_1 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_PseudoTypeInfo) 1
}};

static const MR_VA_PseudoTypeInfo_Struct4 mercury_data___vpti_pred_4__plain_recompilation__check__type_ctor_info_recompilation_check_info_0__plain_term__ti_term_1term__type_ctor_info_generic_0__pseudo_tree234__pti_tree234_2__plain_mdbcomp__prim_data__type_ctor_info_sym_name_0__pseudo_1__pseudo_tree234__pti_tree234_2__plain_mdbcomp__prim_data__type_ctor_info_sym_name_0__pseudo_1 = {
	&mercury_data_builtin__type_ctor_info_pred_0,
	4,
{	(MR_PseudoTypeInfo) &mercury_data_recompilation__check__type_ctor_info_recompilation_check_info_0,
	(MR_PseudoTypeInfo) &mercury_data_term__ti_term_1term__type_ctor_info_generic_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__pti_tree234_2__plain_mdbcomp__prim_data__type_ctor_info_sym_name_0__pseudo_1,
	(MR_PseudoTypeInfo) &mercury_data_tree234__pti_tree234_2__plain_mdbcomp__prim_data__type_ctor_info_sym_name_0__pseudo_1
}};

const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_parse_resolved_item_matches_1 = {
	1,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___recompilation__check__parse_resolved_item_matches_1_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___recompilation__check__parse_resolved_item_matches_1_0)),
	"recompilation.check",
	"parse_resolved_item_matches",
	{ 0 },
	{ (void *)&mercury_data___vpti_pred_4__plain_recompilation__check__type_ctor_info_recompilation_check_info_0__plain_term__ti_term_1term__type_ctor_info_generic_0__pseudo_tree234__pti_tree234_2__plain_mdbcomp__prim_data__type_ctor_info_sym_name_0__pseudo_1__pseudo_tree234__pti_tree234_2__plain_mdbcomp__prim_data__type_ctor_info_sym_name_0__pseudo_1 },
	-1,
	0,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_bool__type_ctor_info_bool_0;

static const MR_FA_TypeInfo_Struct2 mercury_data_pair__ti_pair_2mdbcomp__prim_data__type_ctor_info_sym_name_0builtin__type_ctor_info_string_0 = {
	&mercury_data_pair__type_ctor_info_pair_2,
{	(MR_TypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_string_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__read_modules__type_ctor_info_have_read_module_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__read_modules__type_ctor_info_have_read_module_0;

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2pair__ti_pair_2mdbcomp__prim_data__type_ctor_info_sym_name_0builtin__type_ctor_info_string_0parse_tree__read_modules__type_ctor_info_have_read_module_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_pair__ti_pair_2mdbcomp__prim_data__type_ctor_info_sym_name_0builtin__type_ctor_info_string_0,
	(MR_TypeInfo) &mercury_data_parse_tree__read_modules__type_ctor_info_have_read_module_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_pair__ti_pair_2builtin__type_ctor_info_string_0builtin__type_ctor_info_int_0 = {
	&mercury_data_pair__type_ctor_info_pair_2,
{	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_int_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0mdbcomp__prim_data__type_ctor_info_sym_name_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_TypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2pair__ti_pair_2builtin__type_ctor_info_string_0builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0mdbcomp__prim_data__type_ctor_info_sym_name_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_pair__ti_pair_2builtin__type_ctor_info_string_0builtin__type_ctor_info_int_0,
	(MR_TypeInfo) &mercury_data_tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0mdbcomp__prim_data__type_ctor_info_sym_name_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0 = {
	&mercury_data_pair__type_ctor_info_pair_2,
{	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_TypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0 = {
	&mercury_data_set_ordlist__type_ctor_info_set_ordlist_1,
{	(MR_TypeInfo) &mercury_data_pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_TypeInfo) &mercury_data_set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0 = {
	&mercury_data_pair__type_ctor_info_pair_2,
{	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_TypeInfo) &mercury_data_tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2builtin__type_ctor_info_string_0list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_TypeInfo) &mercury_data_list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_set_ordlist__ti_set_ordlist_1recompilation__usage__type_ctor_info_resolved_functor_0 = {
	&mercury_data_set_ordlist__type_ctor_info_set_ordlist_1,
{	(MR_TypeInfo) &mercury_data_recompilation__usage__type_ctor_info_resolved_functor_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1recompilation__usage__type_ctor_info_resolved_functor_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_TypeInfo) &mercury_data_set_ordlist__ti_set_ordlist_1recompilation__usage__type_ctor_info_resolved_functor_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1recompilation__usage__type_ctor_info_resolved_functor_0 = {
	&mercury_data_pair__type_ctor_info_pair_2,
{	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_TypeInfo) &mercury_data_tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1recompilation__usage__type_ctor_info_resolved_functor_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1recompilation__usage__type_ctor_info_resolved_functor_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1recompilation__usage__type_ctor_info_resolved_functor_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2builtin__type_ctor_info_string_0list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1recompilation__usage__type_ctor_info_resolved_functor_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_TypeInfo) &mercury_data_list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1recompilation__usage__type_ctor_info_resolved_functor_0
}};

static const MR_FA_TypeInfo_Struct3 mercury_data_recompilation__ti_item_id_set_3tree234__ti_tree234_2pair__ti_pair_2builtin__type_ctor_info_string_0builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0mdbcomp__prim_data__type_ctor_info_sym_name_0tree234__ti_tree234_2builtin__type_ctor_info_string_0list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0tree234__ti_tree234_2builtin__type_ctor_info_string_0list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1recompilation__usage__type_ctor_info_resolved_functor_0 = {
	&mercury_data_recompilation__type_ctor_info_item_id_set_3,
{	(MR_TypeInfo) &mercury_data_tree234__ti_tree234_2pair__ti_pair_2builtin__type_ctor_info_string_0builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_TypeInfo) &mercury_data_tree234__ti_tree234_2builtin__type_ctor_info_string_0list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_TypeInfo) &mercury_data_tree234__ti_tree234_2builtin__type_ctor_info_string_0list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1recompilation__usage__type_ctor_info_resolved_functor_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_set_ordlist__ti_set_ordlist_1recompilation__type_ctor_info_item_name_0 = {
	&mercury_data_set_ordlist__type_ctor_info_set_ordlist_1,
{	(MR_TypeInfo) &mercury_data_recompilation__type_ctor_info_item_name_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_recompile_reason_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1recompilation__check__type_ctor_info_recompile_reason_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_recompilation__check__type_ctor_info_recompile_reason_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_bool__type_ctor_info_bool_0;
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_modules_to_recompile_0;

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompilation_check_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_PseudoTypeInfo) &mercury_data_bool__type_ctor_info_bool_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2pair__ti_pair_2mdbcomp__prim_data__type_ctor_info_sym_name_0builtin__type_ctor_info_string_0parse_tree__read_modules__type_ctor_info_have_read_module_0,
	(MR_PseudoTypeInfo) &mercury_data_recompilation__ti_item_id_set_3tree234__ti_tree234_2pair__ti_pair_2builtin__type_ctor_info_string_0builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0mdbcomp__prim_data__type_ctor_info_sym_name_0tree234__ti_tree234_2builtin__type_ctor_info_string_0list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1pair__ti_pair_2builtin__type_ctor_info_int_0mdbcomp__prim_data__type_ctor_info_sym_name_0tree234__ti_tree234_2builtin__type_ctor_info_string_0list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0tree234__ti_tree234_2mdbcomp__prim_data__type_ctor_info_sym_name_0set_ordlist__ti_set_ordlist_1recompilation__usage__type_ctor_info_resolved_functor_0,
	(MR_PseudoTypeInfo) &mercury_data_set_ordlist__ti_set_ordlist_1recompilation__type_ctor_info_item_name_0,
	(MR_PseudoTypeInfo) &mercury_data_recompilation__check__type_ctor_info_modules_to_recompile_0,
	(MR_PseudoTypeInfo) &mercury_data_bool__type_ctor_info_bool_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1recompilation__check__type_ctor_info_recompile_reason_0
};

const MR_ConstString mercury_data_recompilation__check__field_names_recompilation_check_info_0_0[] = {
	"rci_module_name",
	"rci_is_inline_sub_module",
	"rci_sub_modules",
	"rci_have_read_module_map",
	"rci_used_items",
	"rci_used_typeclasses",
	"rci_modules_to_recompile",
	"rci_collect_all_reasons",
	"rci_recompilation_reasons"
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompilation_check_info_0_0 = {
	"recompilation_check_info",
	9,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompilation_check_info_0_0,
	mercury_data_recompilation__check__field_names_recompilation_check_info_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_stag_ordered_recompilation_check_info_0_0[] = {
	&mercury_data_recompilation__check__du_functor_desc_recompilation_check_info_0_0

};

const MR_DuPtagLayout mercury_data_recompilation__check__du_ptag_ordered_recompilation_check_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_recompilation__check__du_stag_ordered_recompilation_check_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_name_ordered_recompilation_check_info_0[] = {
	&mercury_data_recompilation__check__du_functor_desc_recompilation_check_info_0_0
};

const MR_Integer mercury_data_recompilation__check__functor_number_map_recompilation_check_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_recompilation_check_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___recompilation__check__recompilation_check_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___recompilation__check__recompilation_check_info_0_0)),
	"recompilation.check",
	"recompilation_check_info",
	{ (void *)mercury_data_recompilation__check__du_name_ordered_recompilation_check_info_0 },
	{ (void *)mercury_data_recompilation__check__du_ptag_ordered_recompilation_check_info_0 },
	1,
	4,
	mercury_data_recompilation__check__functor_number_map_recompilation_check_info_0
};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompile_exception_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_recompilation__check__type_ctor_info_recompile_reason_0,
	(MR_PseudoTypeInfo) &mercury_data_recompilation__check__type_ctor_info_recompilation_check_info_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompile_exception_0_0 = {
	"recompile_exception",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompile_exception_0_0,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_stag_ordered_recompile_exception_0_0[] = {
	&mercury_data_recompilation__check__du_functor_desc_recompile_exception_0_0

};

const MR_DuPtagLayout mercury_data_recompilation__check__du_ptag_ordered_recompile_exception_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_recompilation__check__du_stag_ordered_recompile_exception_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_name_ordered_recompile_exception_0[] = {
	&mercury_data_recompilation__check__du_functor_desc_recompile_exception_0_0
};

const MR_Integer mercury_data_recompilation__check__functor_number_map_recompile_exception_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_recompile_exception_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___recompilation__check__recompile_exception_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___recompilation__check__recompile_exception_0_0)),
	"recompilation.check",
	"recompile_exception",
	{ (void *)mercury_data_recompilation__check__du_name_ordered_recompile_exception_0 },
	{ (void *)mercury_data_recompilation__check__du_ptag_ordered_recompile_exception_0 },
	1,
	4,
	mercury_data_recompilation__check__functor_number_map_recompile_exception_0
};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1parse_tree__error_util__type_ctor_info_format_component_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__error_util__type_ctor_info_format_component_0
}};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompile_reason_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1parse_tree__error_util__type_ctor_info_format_component_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_0 = {
	"recompile_for_file_error",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompile_reason_0_0,
	NULL,
	NULL
};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompile_reason_0_1[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_1 = {
	"recompile_for_output_file_not_up_to_date",
	1,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	1,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompile_reason_0_1,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_term__type_ctor_info_context_0;
extern const MR_TypeCtorInfo_Struct mercury_data_term__type_ctor_info_context_0;

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompile_reason_0_2[] = {
	(MR_PseudoTypeInfo) &mercury_data_term__type_ctor_info_context_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_2 = {
	"recompile_for_syntax_error",
	2,
	0,
	MR_SECTAG_NONE,
	2,
	-1,
	2,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompile_reason_0_2,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__error_util__type_ctor_info_error_spec_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__error_util__type_ctor_info_error_spec_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1parse_tree__error_util__type_ctor_info_error_spec_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__error_util__type_ctor_info_error_spec_0
}};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompile_reason_0_3[] = {
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1parse_tree__error_util__type_ctor_info_error_spec_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_3 = {
	"recompile_for_unreadable_used_items",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	0,
	3,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompile_reason_0_3,
	NULL,
	NULL
};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompile_reason_0_4[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_4 = {
	"recompile_for_module_changed",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	1,
	4,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompile_reason_0_4,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__type_ctor_info_item_id_0;
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__type_ctor_info_item_id_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1recompilation__type_ctor_info_item_id_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_recompilation__type_ctor_info_item_id_0
}};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompile_reason_0_5[] = {
	(MR_PseudoTypeInfo) &mercury_data_recompilation__type_ctor_info_item_id_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1recompilation__type_ctor_info_item_id_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_5 = {
	"recompile_for_item_ambiguity",
	2,
	0,
	MR_SECTAG_REMOTE,
	3,
	2,
	5,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompile_reason_0_5,
	NULL,
	NULL
};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1recompilation__usage__type_ctor_info_resolved_functor_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_recompilation__usage__type_ctor_info_resolved_functor_0
}};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompile_reason_0_6[] = {
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_recompilation__usage__type_ctor_info_resolved_functor_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1recompilation__usage__type_ctor_info_resolved_functor_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_6 = {
	"recompile_for_functor_ambiguity",
	4,
	0,
	MR_SECTAG_REMOTE,
	3,
	3,
	6,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompile_reason_0_6,
	NULL,
	NULL
};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompile_reason_0_7[] = {
	(MR_PseudoTypeInfo) &mercury_data_recompilation__type_ctor_info_item_id_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_7 = {
	"recompile_for_changed_item",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	4,
	7,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompile_reason_0_7,
	NULL,
	NULL
};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompile_reason_0_8[] = {
	(MR_PseudoTypeInfo) &mercury_data_recompilation__type_ctor_info_item_id_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_8 = {
	"recompile_for_removed_item",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	5,
	8,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompile_reason_0_8,
	NULL,
	NULL
};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompile_reason_0_9[] = {
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_PseudoTypeInfo) &mercury_data_recompilation__type_ctor_info_item_name_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_9 = {
	"recompile_for_changed_or_added_instance",
	2,
	0,
	MR_SECTAG_REMOTE,
	3,
	6,
	9,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompile_reason_0_9,
	NULL,
	NULL
};

const MR_PseudoTypeInfo mercury_data_recompilation__check__field_types_recompile_reason_0_10[] = {
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_PseudoTypeInfo) &mercury_data_recompilation__type_ctor_info_item_name_0
};

static const MR_DuFunctorDesc mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_10 = {
	"recompile_for_removed_instance",
	2,
	0,
	MR_SECTAG_REMOTE,
	3,
	7,
	10,
	(MR_PseudoTypeInfo *) mercury_data_recompilation__check__field_types_recompile_reason_0_10,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_stag_ordered_recompile_reason_0_0[] = {
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_0

};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_stag_ordered_recompile_reason_0_1[] = {
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_1

};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_stag_ordered_recompile_reason_0_2[] = {
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_2

};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_stag_ordered_recompile_reason_0_3[] = {
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_3,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_4,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_5,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_6,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_7,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_8,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_9,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_10

};

const MR_DuPtagLayout mercury_data_recompilation__check__du_ptag_ordered_recompile_reason_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_recompilation__check__du_stag_ordered_recompile_reason_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_recompilation__check__du_stag_ordered_recompile_reason_0_1 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_recompilation__check__du_stag_ordered_recompile_reason_0_2 },
	{ 8, MR_SECTAG_REMOTE,
	mercury_data_recompilation__check__du_stag_ordered_recompile_reason_0_3 }

};

const MR_DuFunctorDescPtr mercury_data_recompilation__check__du_name_ordered_recompile_reason_0[] = {
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_7,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_9,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_0,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_6,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_5,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_4,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_1,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_10,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_8,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_2,
	&mercury_data_recompilation__check__du_functor_desc_recompile_reason_0_3
};

const MR_Integer mercury_data_recompilation__check__functor_number_map_recompile_reason_0[] = {
	2,
	6,
	9,
	10,
	5,
	4,
	3,
	0,
	8,
	1,
	7 };
	
const MR_TypeCtorInfo_Struct mercury_data_recompilation__check__type_ctor_info_recompile_reason_0 = {
	0,
	14,
	4,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___recompilation__check__recompile_reason_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___recompilation__check__recompile_reason_0_0)),
	"recompilation.check",
	"recompile_reason",
	{ (void *)mercury_data_recompilation__check__du_name_ordered_recompile_reason_0 },
	{ (void *)mercury_data_recompilation__check__du_ptag_ordered_recompile_reason_0 },
	11,
	4,
	mercury_data_recompilation__check__functor_number_map_recompile_reason_0
};


static const MR_UserClosureId
mercury_data__closure_layout__f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"write_recompile_reason",
5,
0
},
"recompilation.check",
"recompilation.check.m",
196,
"7"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_5_0_2 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_field_ambiguities",
5,
0
},
"recompilation.check",
"recompilation.check.m",
1192,
"13"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_5_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_field_ambiguities",
5,
0
},
"recompilation.check",
"recompilation.check.m",
1192,
"13"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_1 = {
{
MR_FUNCTION,
"recompilation.check",
"recompilation.check",
"lambda_recompilation_check_m_1146",
5,
0
},
"recompilation.check",
"recompilation.check.m",
1146,
"28"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_for_pred_or_func_item_ambiguity_2",
8,
0
},
"recompilation.check",
"recompilation.check.m",
1115,
"19"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_for_ambiguities_6_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_class_method_for_ambiguities",
6,
0
},
"recompilation.check",
"recompilation.check.m",
926,
"53"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_type_defn_ambiguity_with_functor_5_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_functor_ambiguities",
5,
0
},
"recompilation.check",
"recompilation.check.m",
1177,
"22"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_for_pred_or_func_item_ambiguity_1",
8,
0
},
"recompilation.check",
"recompilation.check.m",
1069,
"32"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_2_7_0_3 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_functor_ambiguity",
8,
0
},
"recompilation.check",
"recompilation.check.m",
1273,
"50"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_2_7_0_2 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_functor_ambiguity",
8,
0
},
"recompilation.check",
"recompilation.check.m",
1273,
"50"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_functor_ambiguities_2_7_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_functor_ambiguity",
8,
0
},
"recompilation.check",
"recompilation.check.m",
1273,
"50"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_for_simple_item_ambiguity_9_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_for_simple_item_ambiguity_2",
8,
0
},
"recompilation.check",
"recompilation.check.m",
1003,
"23"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_item_version_numbers_6_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_item_version_number",
7,
0
},
"recompilation.check",
"recompilation.check.m",
824,
"9"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_resolved_item_arity_matches_4_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"lambda_recompilation_check_m_611",
6,
0
},
"recompilation.check",
"recompilation.check.m",
609,
"20"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_functor_matches_4_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"parse_resolved_functor",
3,
0
},
"recompilation.check",
"recompilation.check.m",
530,
"17"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_functor_item_4_0_2 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"parse_resolved_item_arity_matches",
4,
0
},
"recompilation.check",
"recompilation.check.m",
588,
"20"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_functor_item_4_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"parse_functor_matches",
4,
0
},
"recompilation.check",
"",
0,
"-1"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_pred_or_func_item_match_4_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"lambda_recompilation_check_m_496",
3,
0
},
"recompilation.check",
"recompilation.check.m",
496,
"19"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_pred_or_func_item_4_0_2 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"parse_resolved_item_arity_matches",
4,
0
},
"recompilation.check",
"recompilation.check.m",
588,
"20"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_pred_or_func_item_4_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"parse_pred_or_func_item_match",
4,
0
},
"recompilation.check",
"",
0,
"-1"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_simple_item_4_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"parse_simple_item_match",
4,
0
},
"recompilation.check",
"recompilation.check.m",
445,
"18"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_used_item_set_4_0_3 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"parse_functor_item",
4,
0
},
"recompilation.check",
"recompilation.check.m",
421,
"28"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_used_item_set_4_0_2 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"parse_pred_or_func_item",
4,
0
},
"recompilation.check",
"recompilation.check.m",
416,
"21"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_used_item_set_4_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"parse_simple_item",
4,
0
},
"recompilation.check",
"recompilation.check.m",
411,
"14"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__should_recompile_3_7_0_3 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"parse_name_and_arity_to_used",
2,
0
},
"recompilation.check",
"recompilation.check.m",
324,
"122"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__should_recompile_3_7_0_2 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"require_recompilation_if_not_up_to_date",
6,
0
},
"recompilation.check",
"recompilation.check.m",
311,
"109"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__should_recompile_3_7_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"lambda_recompilation_check_m_300",
2,
0
},
"recompilation.check",
"recompilation.check.m",
300,
"98"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_module_used_items_8_0_2 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_for_ambiguities",
6,
0
},
"recompilation.check",
"recompilation.check.m",
785,
"47"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_module_used_items_8_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_item_version_numbers",
6,
0
},
"recompilation.check",
"recompilation.check.m",
777,
"28"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__check_instance_version_numbers_5_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"check_instance_version_number",
6,
0
},
"recompilation.check",
"recompilation.check.m",
854,
"7"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__parse_used_items_3_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"parse_used_item_set",
4,
0
},
"recompilation.check",
"recompilation.check.m",
394,
"11"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__recompile_reason_message_3_0_3 = {
{
MR_FUNCTION,
"recompilation.check",
"recompilation.check",
"project_spec_to_msgs",
2,
0
},
"recompilation.check",
"recompilation.check.m",
1494,
"162"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__recompile_reason_message_3_0_2 = {
{
MR_FUNCTION,
"recompilation.check",
"recompilation.check",
"describe_item",
2,
0
},
"recompilation.check",
"recompilation.check.m",
1447,
"36"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__recompile_reason_message_3_0_1 = {
{
MR_FUNCTION,
"recompilation.check",
"recompilation.check",
"describe_resolved_functor",
4,
0
},
"recompilation.check",
"recompilation.check.m",
1456,
"56"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__should_recompile_2_9_0_2 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"should_recompile_2",
9,
0
},
"recompilation.check",
"recompilation.check.m",
171,
"71"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__should_recompile_2_9_0_1 = {
{
MR_PREDICATE,
"parse_tree.module_cmds",
"parse_tree.module_cmds",
"touch_datestamp",
4,
0
},
"recompilation.check",
"recompilation.check.m",
153,
"50"
};

static const MR_UserClosureId
mercury_data__closure_layout__recompilation__check__should_recompile_3_try_7_0_1 = {
{
MR_PREDICATE,
"recompilation.check",
"recompilation.check",
"should_recompile_3",
7,
0
},
"recompilation.check",
"recompilation.check.m",
214,
"9"
};


MR_decl_entry(exception__try_io_4_0);

MR_BEGIN_MODULE(recompilation__check_module0)
	MR_init_entry1(recompilation__check__should_recompile_3_try_7_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__should_recompile_3_try_7_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'should_recompile_3_try'/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(recompilation__check__should_recompile_3_try_7_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 7);
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(2,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__should_recompile_3_7_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 4;
	MR_tfield(0, MR_tempr1, 3) = MR_r1;
	MR_tfield(0, MR_tempr1, 4) = MR_r2;
	MR_tfield(0, MR_tempr1, 5) = MR_r3;
	MR_tfield(0, MR_tempr1, 6) = MR_r4;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r2 = MR_tempr1;
	MR_np_tailcall_ent(exception__try_io_4_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_BEGIN_MODULE(recompilation__check_module1)
	MR_init_entry1(recompilation__check__add_module_to_recompile_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__add_module_to_recompile_3_0);
	MR_init_label1(recompilation__check__add_module_to_recompile_3_0,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'add_module_to_recompile'/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_def_static(recompilation__check__add_module_to_recompile_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_tfield(0, MR_r2, 6);
	if (MR_LTAGS_TESTR(MR_r3,0,0)) {
		MR_GOTO_LAB(recompilation__check__add_module_to_recompile_3_0_i3);
	}
	MR_r1 = MR_r2;
	MR_proceed();
MR_def_label(recompilation__check__add_module_to_recompile_3_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r1;
	MR_tfield(1, MR_tempr1, 1) = MR_tfield(1, MR_r3, 0);
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 1);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 9);
	MR_tfield(0, MR_r1, 0) = MR_tfield(0, MR_r2, 0);
	MR_tfield(0, MR_r1, 1) = MR_tfield(0, MR_r2, 1);
	MR_tfield(0, MR_r1, 2) = MR_tfield(0, MR_r2, 2);
	MR_tfield(0, MR_r1, 3) = MR_tfield(0, MR_r2, 3);
	MR_tfield(0, MR_r1, 4) = MR_tfield(0, MR_r2, 4);
	MR_tfield(0, MR_r1, 5) = MR_tfield(0, MR_r2, 5);
	MR_tfield(0, MR_r1, 6) = MR_tempr2;
	MR_tfield(0, MR_r1, 7) = MR_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_proceed();
	}
#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__file_names__module_name_to_file_name_7_0);
MR_decl_entry(io__open_input_4_0);
MR_decl_entry(io__set_input_stream_4_0);
MR_decl_entry(univ__univ_to_type_2_0);
MR_decl_entry(exception__rethrow_1_0);
MR_decl_entry(require__unexpected_3_0);
MR_declare_entry(mercury__do_call_closure_2);
MR_decl_entry(parse_tree__module_cmds__touch_datestamp_4_0);
extern const MR_TypeCtorInfo_Struct mercury_data_io__type_ctor_info_state_0;
MR_decl_entry(list__foldl_4_2);
MR_decl_entry(fn__list__reverse_1_0);
MR_decl_entry(io__close_input_3_0);
MR_decl_entry(list__foldl2_6_2);

MR_BEGIN_MODULE(recompilation__check_module2)
	MR_init_entry1(recompilation__check__should_recompile_2_9_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__should_recompile_2_9_0);
	MR_init_label10(recompilation__check__should_recompile_2_9_0,3,4,7,6,9,10,14,13,12,19)
	MR_init_label10(recompilation__check__should_recompile_2_9_0,11,23,24,22,27,28,29,30,31,33)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'should_recompile_2'/9 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(recompilation__check__should_recompile_2_9_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(8);
	MR_sv(8) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 9);
	MR_sv(7) = MR_tempr1;
	MR_tempr2 = MR_r5;
	MR_tfield(0, MR_tempr1, 0) = MR_tempr2;
	MR_tempr3 = MR_r6;
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr1, 2) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr1, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr1, 6) = MR_tfield(0, MR_tempr3, 6);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(4) = MR_r4;
	MR_sv(5) = MR_tempr2;
	MR_r2 = MR_tempr2;
	MR_r3 = (MR_Word) MR_string_const(".used", 5);
	MR_r4 = (MR_Integer) 1;
	}
	MR_np_call_localret_ent(parse_tree__file_names__module_name_to_file_name_7_0,
		recompilation__check__should_recompile_2_9_0_i3);
MR_def_label(recompilation__check__should_recompile_2_9_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(6) = MR_r1;
	MR_np_call_localret_ent(io__open_input_4_0,
		recompilation__check__should_recompile_2_9_0_i4);
MR_def_label(recompilation__check__should_recompile_2_9_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_2_9_0_i6);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(5);
	MR_r4 = MR_r1;
	MR_np_call_localret_ent(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_53_95_95_91_53_93_95_48_4_0,
		recompilation__check__should_recompile_2_9_0_i7);
MR_def_label(recompilation__check__should_recompile_2_9_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 9);
	MR_tempr2 = MR_sv(7);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_tempr2, 1);
	MR_tfield(0, MR_tempr1, 2) = MR_tfield(0, MR_tempr2, 2);
	MR_tfield(0, MR_tempr1, 3) = MR_tfield(0, MR_tempr2, 3);
	MR_tfield(0, MR_tempr1, 4) = MR_tfield(0, MR_tempr2, 4);
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_tempr2, 5);
	MR_tfield(0, MR_tempr1, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_tempr2, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_tempr2, 8);
	MR_r1 = MR_tempr1;
	MR_decr_sp_and_return(8);
	}
MR_def_label(recompilation__check__should_recompile_2_9_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 0);
	MR_np_call_localret_ent(io__set_input_stream_4_0,
		recompilation__check__should_recompile_2_9_0_i9);
MR_def_label(recompilation__check__should_recompile_2_9_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_tempr1;
	MR_r3 = MR_sv(4);
	MR_r4 = MR_sv(7);
	}
	MR_np_call_localret_ent(recompilation__check__should_recompile_3_try_7_0,
		recompilation__check__should_recompile_2_9_0_i10);
MR_def_label(recompilation__check__should_recompile_2_9_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_2_9_0_i12);
	}
	MR_sv(6) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_r2 = MR_tfield(2, MR_sv(6), 0);
	MR_np_call_localret_ent(univ__univ_to_type_2_0,
		recompilation__check__should_recompile_2_9_0_i14);
MR_def_label(recompilation__check__should_recompile_2_9_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_2_9_0_i13);
	}
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_sv(6) = MR_tempr1;
	MR_tfield(1, MR_tempr1, 0) = MR_tfield(0, MR_r2, 0);
	MR_tfield(1, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_r1 = MR_sv(4);
	MR_r5 = MR_r2;
	MR_r2 = MR_sv(5);
	MR_r4 = MR_tfield(0, MR_r5, 1);
	MR_GOTO_LAB(recompilation__check__should_recompile_2_9_0_i11);
	}
MR_def_label(recompilation__check__should_recompile_2_9_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r2 = MR_sv(6);
	MR_np_call_localret_ent(exception__rethrow_1_0,
		recompilation__check__should_recompile_2_9_0_i11);
MR_def_label(recompilation__check__should_recompile_2_9_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_2_9_0_i19);
	}
	MR_sv(6) = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(5);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(6);
	MR_r6 = MR_tempr1;
	MR_sv(6) = MR_tfield(0, MR_tfield(1, MR_tempr1, 0), 8);
	MR_r4 = MR_tfield(1, MR_tempr1, 0);
	MR_GOTO_LAB(recompilation__check__should_recompile_2_9_0_i11);
	}
MR_def_label(recompilation__check__should_recompile_2_9_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("recompilation.check", 19);
	MR_r2 = (MR_Word) MR_string_const("predicate \140recompilation.check.should_recompile_2\'/9", 52);
	MR_r3 = (MR_Word) MR_string_const("try failed", 10);
	MR_np_call_localret_ent(require__unexpected_3_0,
		recompilation__check__should_recompile_2_9_0_i11);
MR_def_label(recompilation__check__should_recompile_2_9_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(6),0,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_2_9_0_i22);
	}
	MR_sv(4) = MR_r1;
	MR_sv(5) = MR_r2;
	MR_sv(6) = MR_r4;
	MR_set_prof_ho_caller_proc(MR_ENTRY_AP(recompilation__check__should_recompile_2_9_0));
	MR_noprof_call_localret(MR_ENTRY(mercury__do_call_closure_2),
		mercury__recompilation__check__should_recompile_2_9_0_i23);
MR_def_label(recompilation__check__should_recompile_2_9_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(5);
	MR_sv(5) = MR_r1;
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(1);
	}
	MR_np_call_localret_ent(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0,
		recompilation__check__should_recompile_2_9_0_i24);
MR_def_label(recompilation__check__should_recompile_2_9_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(3,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(parse_tree__module_cmds__touch_datestamp_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_r1 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_IO_CTOR_ADDR;
	MR_r4 = MR_sv(5);
	}
	MR_np_call_localret_ent(list__foldl_4_2,
		recompilation__check__should_recompile_2_9_0_i29);
MR_def_label(recompilation__check__should_recompile_2_9_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_r1;
	MR_sv(5) = MR_r2;
	MR_r1 = MR_r2;
	MR_r2 = MR_r4;
	MR_np_call_localret_ent(recompilation__check__add_module_to_recompile_3_0,
		recompilation__check__should_recompile_2_9_0_i27);
MR_def_label(recompilation__check__should_recompile_2_9_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(6);
	MR_sv(6) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_reason);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__list__reverse_1_0,
		recompilation__check__should_recompile_2_9_0_i28);
MR_def_label(recompilation__check__should_recompile_2_9_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_r1;
	}
	MR_np_call_localret_ent(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0,
		recompilation__check__should_recompile_2_9_0_i29);
MR_def_label(recompilation__check__should_recompile_2_9_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(io__set_input_stream_4_0,
		recompilation__check__should_recompile_2_9_0_i30);
MR_def_label(recompilation__check__should_recompile_2_9_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(io__close_input_3_0,
		recompilation__check__should_recompile_2_9_0_i31);
MR_def_label(recompilation__check__should_recompile_2_9_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(6);
	MR_r6 = MR_tfield(0, MR_tempr1, 6);
	if (MR_LTAGS_TESTR(MR_r6,0,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_2_9_0_i33);
	}
	MR_r1 = MR_tempr1;
	MR_decr_sp_and_return(8);
	}
MR_def_label(recompilation__check__should_recompile_2_9_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(6);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr1, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr1, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr1, 6) = MR_r6;
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 7);
	MR_r4 = MR_tempr2;
	MR_tfield(0, MR_tempr2, 0) = (MR_Word) MR_COMMON(4,0);
	MR_tfield(0, MR_tempr2, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__should_recompile_2_9_0);
	MR_tfield(0, MR_tempr2, 2) = (MR_Integer) 4;
	MR_tfield(0, MR_tempr2, 3) = MR_sv(1);
	MR_tfield(0, MR_tempr2, 4) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr2, 5) = MR_sv(3);
	MR_tfield(0, MR_tempr2, 6) = MR_sv(4);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r3 = (MR_Word) MR_IO_CTOR_ADDR;
	MR_r5 = MR_tfield(0, MR_tempr1, 2);
	MR_r6 = MR_tempr1;
	MR_succip_word = MR_sv(8);
	MR_decr_sp(8);
	MR_np_tailcall_ent(list__foldl2_6_2);
	}
#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__lookup_bool_option_3_0);
MR_decl_entry(fn__map__init_0_0);
MR_decl_entry(fn__recompilation__init_item_id_set_3_0);
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__type_ctor_info_item_name_0;
MR_decl_entry(fn__set__init_0_0);

MR_BEGIN_MODULE(recompilation__check_module3)
	MR_init_entry1(recompilation__check__should_recompile_8_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__should_recompile_8_0);
	MR_init_label8(recompilation__check__should_recompile_8_0,2,4,19,20,21,22,23,26)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'should_recompile'/8 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__recompilation__check__should_recompile_8_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(13);
	MR_sv(13) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(4) = MR_r4;
	MR_r2 = (MR_Integer) 48;
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		recompilation__check__should_recompile_8_0_i2);
MR_def_label(recompilation__check__should_recompile_8_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_r1;
	MR_sv(6) = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_sv(8) = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_sv(7) = (MR_Word) MR_CTOR_ADDR(pair, pair, 2);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,0);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__read_modules, have_read_module);
	MR_np_call_localret_ent(fn__map__init_0_0,
		recompilation__check__should_recompile_8_0_i4);
MR_def_label(recompilation__check__should_recompile_8_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(6) = MR_r1;
	MR_sv(9) = (MR_Word) MR_TAG_COMMON(0,5,3);
	MR_sv(7) = (MR_Word) MR_TAG_COMMON(0,0,2);
	MR_sv(10) = (MR_Word) MR_TAG_COMMON(0,5,7);
	MR_sv(11) = (MR_Word) MR_TAG_COMMON(0,0,4);
	MR_sv(12) = (MR_Word) MR_TAG_COMMON(0,5,10);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,1);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,5,2);
	MR_np_call_localret_ent(fn__map__init_0_0,
		recompilation__check__should_recompile_8_0_i19);
MR_def_label(recompilation__check__should_recompile_8_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(7) = MR_r1;
	MR_r1 = MR_sv(8);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,2);
	MR_np_call_localret_ent(fn__map__init_0_0,
		recompilation__check__should_recompile_8_0_i20);
MR_def_label(recompilation__check__should_recompile_8_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(8) = MR_r1;
	MR_r1 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r2 = MR_sv(11);
	MR_np_call_localret_ent(fn__map__init_0_0,
		recompilation__check__should_recompile_8_0_i21);
MR_def_label(recompilation__check__should_recompile_8_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(9);
	MR_r2 = MR_sv(10);
	MR_r3 = MR_sv(12);
	MR_r4 = MR_sv(7);
	MR_r5 = MR_sv(8);
	MR_r6 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__recompilation__init_item_id_set_3_0,
		recompilation__check__should_recompile_8_0_i22);
MR_def_label(recompilation__check__should_recompile_8_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(7) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation, item_name);
	MR_np_call_localret_ent(fn__set__init_0_0,
		recompilation__check__should_recompile_8_0_i23);
MR_def_label(recompilation__check__should_recompile_8_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 9);
	MR_r6 = MR_tempr1;
	MR_tempr2 = MR_sv(2);
	MR_tfield(0, MR_tempr1, 0) = MR_tempr2;
	MR_tfield(0, MR_tempr1, 1) = (MR_Integer) 0;
	MR_tfield(0, MR_tempr1, 2) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 3) = MR_sv(6);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(7);
	MR_tfield(0, MR_tempr1, 5) = MR_r1;
	MR_tfield(0, MR_tempr1, 6) = (MR_Word) MR_TAG_COMMON(1,6,0);
	MR_tfield(0, MR_tempr1, 7) = MR_sv(5);
	MR_tfield(0, MR_tempr1, 8) = (MR_Word) MR_tbmkword(0, 0);
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Integer) 0;
	MR_r3 = MR_sv(3);
	MR_r4 = MR_sv(4);
	MR_r5 = MR_tempr2;
	}
	MR_np_call_localret_ent(recompilation__check__should_recompile_2_9_0,
		recompilation__check__should_recompile_8_0_i26);
MR_def_label(recompilation__check__should_recompile_8_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_tfield(0, MR_r1, 6);
	MR_r2 = MR_tfield(0, MR_tempr1, 3);
	MR_decr_sp_and_return(13);
	}
#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(recompilation__string_to_item_type_2_1);
MR_decl_entry(fn__f_108_105_115_116_95_95_43_43_2_0);

MR_BEGIN_MODULE(recompilation__check_module4)
	MR_init_entry1(fn__recompilation__check__describe_item_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__recompilation__check__describe_item_1_0);
	MR_init_label3(fn__recompilation__check__describe_item_1_0,4,2,12)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'describe_item'/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_def_static(fn__recompilation__check__describe_item_1_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	MR_r2 = MR_tfield(0, MR_r1, 1);
	MR_sv(2) = MR_tfield(0, MR_r2, 1);
	MR_sv(1) = MR_tfield(0, MR_r2, 0);
	MR_r2 = MR_tfield(0, MR_r1, 0);
	if (MR_INT_NE(MR_r2,1)) {
		MR_GOTO_LAB(fn__recompilation__check__describe_item_1_0_i2);
	}
	MR_r1 = (MR_Integer) 0;
	MR_np_call_localret_ent(recompilation__string_to_item_type_2_1,
		fn__recompilation__check__describe_item_1_0_i4);
MR_def_label(fn__recompilation__check__describe_item_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr1, 0) = (MR_Integer) 4;
	MR_tfield(3, MR_tempr1, 1) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_r2, 0) = (MR_Word) MR_TAG_COMMON(3,7,0);
	MR_tfield(1, MR_r2, 1) = MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 1) = MR_sv(2);
	MR_tag_alloc_heap(MR_tempr2, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr2, 0) = (MR_Integer) 7;
	MR_tfield(3, MR_tempr2, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_r3 = MR_tempr3;
	MR_tfield(1, MR_tempr3, 0) = MR_tempr2;
	MR_tfield(1, MR_tempr3, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(fn__f_108_105_115_116_95_95_43_43_2_0);
	}
MR_def_label(fn__recompilation__check__describe_item_1_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(recompilation__string_to_item_type_2_1,
		fn__recompilation__check__describe_item_1_0_i12);
MR_def_label(fn__recompilation__check__describe_item_1_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr1, 0) = (MR_Integer) 4;
	MR_tfield(3, MR_tempr1, 1) = MR_r1;
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_r2, 0) = MR_tempr1;
	MR_tfield(1, MR_r2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 1) = MR_sv(2);
	MR_tag_alloc_heap(MR_tempr2, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr2, 0) = (MR_Integer) 7;
	MR_tfield(3, MR_tempr2, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_r3 = MR_tempr3;
	MR_tfield(1, MR_tempr3, 0) = MR_tempr2;
	MR_tfield(1, MR_tempr3, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(fn__f_108_105_115_116_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(fn__recompilation__pred_or_func_to_item_type_1_0);
MR_decl_entry(fn__mdbcomp__prim_data__unqualify_name_1_0);

MR_BEGIN_MODULE(recompilation__check_module5)
	MR_init_entry1(fn__recompilation__check__describe_resolved_functor_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__recompilation__check__describe_resolved_functor_3_0);
	MR_init_label5(fn__recompilation__check__describe_resolved_functor_3_0,3,57,30,31,32)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'describe_resolved_functor'/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_def_static(fn__recompilation__check__describe_resolved_functor_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r3,1)) {
		MR_GOTO_LAB(fn__recompilation__check__describe_resolved_functor_3_0_i3);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tfield(0, MR_tempr1, 1) = MR_r2;
	MR_tag_alloc_heap(MR_r2, 3, (MR_Integer) 2);
	MR_tfield(3, MR_r2, 0) = (MR_Integer) 7;
	MR_tfield(3, MR_r2, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tempr2 = MR_tfield(1, MR_r3, 0);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_tempr2, 1);
	MR_tag_alloc_heap(MR_tempr3, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr3, 0) = (MR_Integer) 7;
	MR_tfield(3, MR_tempr3, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_tempr3;
	MR_tfield(1, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = (MR_Word) MR_TAG_COMMON(3,7,2);
	MR_tfield(1, MR_tempr3, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r2;
	MR_tfield(1, MR_tempr1, 1) = MR_tempr3;
	MR_tag_alloc_heap(MR_r1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_r1, 0) = (MR_Word) MR_TAG_COMMON(3,7,1);
	MR_tfield(1, MR_r1, 1) = MR_tempr1;
	MR_proceed();
	}
MR_def_label(fn__recompilation__check__describe_resolved_functor_3_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r3,2)) {
		MR_GOTO_LAB(fn__recompilation__check__describe_resolved_functor_3_0_i57);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tfield(0, MR_tempr1, 1) = MR_r2;
	MR_tag_alloc_heap(MR_r2, 3, (MR_Integer) 2);
	MR_tfield(3, MR_r2, 0) = (MR_Integer) 7;
	MR_tfield(3, MR_r2, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tempr5 = MR_r3;
	MR_tempr2 = MR_tfield(2, MR_tempr5, 1);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_tempr2, 1);
	MR_tag_alloc_heap(MR_tempr2, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr2, 0) = (MR_Integer) 7;
	MR_tfield(3, MR_tempr2, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tempr3 = MR_tfield(2, MR_tempr5, 0);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tag_alloc_heap(MR_tempr4, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr4, 0) = (MR_Integer) 7;
	MR_tfield(3, MR_tempr4, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_tempr4;
	MR_tfield(1, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr4, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr4, 0) = (MR_Word) MR_TAG_COMMON(3,7,2);
	MR_tfield(1, MR_tempr4, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_tempr2;
	MR_tfield(1, MR_tempr1, 1) = MR_tempr4;
	MR_tag_alloc_heap(MR_tempr4, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr4, 0) = (MR_Word) MR_TAG_COMMON(3,7,4);
	MR_tfield(1, MR_tempr4, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r2;
	MR_tfield(1, MR_tempr1, 1) = MR_tempr4;
	MR_tag_alloc_heap(MR_r1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_r1, 0) = (MR_Word) MR_TAG_COMMON(3,7,3);
	MR_tfield(1, MR_r1, 1) = MR_tempr1;
	MR_proceed();
	}
MR_def_label(fn__recompilation__check__describe_resolved_functor_3_0,57)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(4);
	MR_sv(4) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r3;
	MR_sv(2) = MR_tfield(0, MR_tempr1, 1);
	MR_sv(3) = MR_tfield(0, MR_tempr1, 3);
	MR_r1 = MR_tfield(0, MR_tempr1, 2);
	}
	MR_np_call_localret_ent(fn__recompilation__pred_or_func_to_item_type_1_0,
		fn__recompilation__check__describe_resolved_functor_3_0_i30);
MR_def_label(fn__recompilation__check__describe_resolved_functor_3_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(recompilation__string_to_item_type_2_1,
		fn__recompilation__check__describe_resolved_functor_3_0_i31);
MR_def_label(fn__recompilation__check__describe_resolved_functor_3_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		fn__recompilation__check__describe_resolved_functor_3_0_i32);
MR_def_label(fn__recompilation__check__describe_resolved_functor_3_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_r2, 0) = MR_sv(2);
	MR_tfield(1, MR_r2, 1) = MR_r1;
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r2;
	MR_tfield(0, MR_tempr1, 1) = MR_sv(3);
	MR_tag_alloc_heap(MR_r2, 3, (MR_Integer) 2);
	MR_tfield(3, MR_r2, 0) = (MR_Integer) 7;
	MR_tfield(3, MR_r2, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr1, 0) = (MR_Integer) 4;
	MR_tfield(3, MR_tempr1, 1) = MR_sv(1);
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_r2;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_r1, 0) = MR_tempr1;
	MR_tfield(1, MR_r1, 1) = MR_tempr2;
	MR_decr_sp_and_return(4);
	}
#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(fn__list__map_2_0);
MR_decl_entry(fn__parse_tree__error_util__component_lists_to_pieces_1_0);
MR_decl_entry(list__condense_2_0);

MR_BEGIN_MODULE(recompilation__check_module6)
	MR_init_entry1(recompilation__check__recompile_reason_message_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__recompile_reason_message_3_0);
	MR_init_label10(recompilation__check__recompile_reason_message_3_0,4,3,17,10,30,23,37,40,41,36)
	MR_init_label10(recompilation__check__recompile_reason_message_3_0,59,47,66,69,70,77,78,79,80,65)
	MR_init_label10(recompilation__check__recompile_reason_message_3_0,87,90,91,98,99,100,101,86,114,107)
	MR_init_label8(recompilation__check__recompile_reason_message_3_0,132,120,139,142,143,138,151,152)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'recompile_reason_message'/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_def_static(recompilation__check__recompile_reason_message_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	if (MR_PTAG_TESTR(MR_r2,0)) {
		MR_GOTO_LAB(recompilation__check__recompile_reason_message_3_0_i3);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tfield(0, MR_tempr2, 1);
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i4);
MR_def_label(recompilation__check__recompile_reason_message_3_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 1);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 4);
	MR_tfield(1, MR_tempr1, 0) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(1, MR_tempr1, 1) = (MR_Integer) 0;
	MR_tfield(1, MR_tempr1, 2) = (MR_Integer) 0;
	MR_tfield(1, MR_tempr1, 3) = MR_tempr2;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r1, 0) = (MR_Word) MR_tbmkword(0, 2);
	MR_tfield(0, MR_r1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 2) = MR_tempr2;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__recompile_reason_message_3_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r2,1)) {
		MR_GOTO_LAB(recompilation__check__recompile_reason_message_3_0_i10);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 1);
	MR_tfield(2, MR_tempr1, 0) = MR_tfield(1, MR_r2, 0);
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_TAG_COMMON(1,0,5);
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_r3 = MR_tempr3;
	MR_tfield(1, MR_tempr3, 0) = (MR_Word) MR_TAG_COMMON(3,7,5);
	MR_tfield(1, MR_tempr3, 1) = MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i17);
MR_def_label(recompilation__check__recompile_reason_message_3_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 1);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 4);
	MR_tfield(1, MR_tempr1, 0) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(1, MR_tempr1, 1) = (MR_Integer) 0;
	MR_tfield(1, MR_tempr1, 2) = (MR_Integer) 0;
	MR_tfield(1, MR_tempr1, 3) = MR_tempr2;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r1, 0) = (MR_Word) MR_tbmkword(0, 2);
	MR_tfield(0, MR_r1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 2) = MR_tempr2;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__recompile_reason_message_3_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r2,2)) {
		MR_GOTO_LAB(recompilation__check__recompile_reason_message_3_0_i23);
	}
	MR_tag_alloc_heap(MR_sv(1), 1, (MR_Integer) 1);
	MR_tfield(1, MR_sv(1), 0) = MR_tfield(2, MR_r2, 0);
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr1, 0) = (MR_Integer) 4;
	MR_tfield(3, MR_tempr1, 1) = MR_tfield(2, MR_r2, 1);
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_r3 = MR_tempr2;
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_TAG_COMMON(1,0,7);
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i30);
MR_def_label(recompilation__check__recompile_reason_message_3_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 1);
	MR_tfield(0, MR_r2, 0) = MR_r1;
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r2;
	MR_tfield(1, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 4);
	MR_tfield(1, MR_r2, 0) = MR_sv(1);
	MR_tfield(1, MR_r2, 1) = (MR_Integer) 0;
	MR_tfield(1, MR_r2, 2) = (MR_Integer) 0;
	MR_tfield(1, MR_r2, 3) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r2;
	MR_tfield(1, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r1, 0) = (MR_Word) MR_tbmkword(0, 2);
	MR_tfield(0, MR_r1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 2) = MR_tempr1;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__recompile_reason_message_3_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r2,3,4)) {
		MR_GOTO_LAB(recompilation__check__recompile_reason_message_3_0_i36);
	}
	MR_sv(1) = MR_r1;
	MR_r1 = MR_tfield(3, MR_r2, 1);
	MR_np_call_localret_ent(fn__recompilation__check__describe_item_1_0,
		recompilation__check__recompile_reason_message_3_0_i37);
MR_def_label(recompilation__check__recompile_reason_message_3_0,37)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_tempr1;
	MR_r3 = (MR_Word) MR_TAG_COMMON(1,0,8);
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i40);
MR_def_label(recompilation__check__recompile_reason_message_3_0,40)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i41);
MR_def_label(recompilation__check__recompile_reason_message_3_0,41)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 1);
	MR_tfield(0, MR_r2, 0) = MR_r1;
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r2;
	MR_tfield(1, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 4);
	MR_tfield(1, MR_r2, 0) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(1, MR_r2, 1) = (MR_Integer) 0;
	MR_tfield(1, MR_r2, 2) = (MR_Integer) 0;
	MR_tfield(1, MR_r2, 3) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r2;
	MR_tfield(1, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r1, 0) = (MR_Word) MR_tbmkword(0, 2);
	MR_tfield(0, MR_r1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 2) = MR_tempr1;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__recompile_reason_message_3_0,36)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r2,3,6)) {
		MR_GOTO_LAB(recompilation__check__recompile_reason_message_3_0_i47);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tempr2 = MR_tfield(3, MR_r2, 2);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_tempr2, 1);
	MR_tag_alloc_heap(MR_tempr2, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr2, 0) = (MR_Integer) 7;
	MR_tfield(3, MR_tempr2, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr1, 0) = (MR_Integer) 6;
	MR_tfield(3, MR_tempr1, 1) = MR_tfield(3, MR_r2, 1);
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr3, 1) = (MR_Word) MR_TAG_COMMON(1,0,9);
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = (MR_Word) MR_TAG_COMMON(3,7,10);
	MR_tfield(1, MR_tempr1, 1) = MR_tempr3;
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = MR_tempr2;
	MR_tfield(1, MR_tempr3, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr4, 1, (MR_Integer) 2);
	MR_r3 = MR_tempr4;
	MR_tfield(1, MR_tempr4, 0) = (MR_Word) MR_TAG_COMMON(3,7,9);
	MR_tfield(1, MR_tempr4, 1) = MR_tempr3;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i59);
MR_def_label(recompilation__check__recompile_reason_message_3_0,59)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 1);
	MR_tfield(0, MR_r2, 0) = MR_r1;
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r2;
	MR_tfield(1, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 4);
	MR_tfield(1, MR_r2, 0) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(1, MR_r2, 1) = (MR_Integer) 0;
	MR_tfield(1, MR_r2, 2) = (MR_Integer) 0;
	MR_tfield(1, MR_r2, 3) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r2;
	MR_tfield(1, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r1, 0) = (MR_Word) MR_tbmkword(0, 2);
	MR_tfield(0, MR_r1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 2) = MR_tempr1;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__recompile_reason_message_3_0,47)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r2,3,3)) {
		MR_GOTO_LAB(recompilation__check__recompile_reason_message_3_0_i65);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_tfield(3, MR_r2, 1);
	MR_sv(3) = MR_tfield(3, MR_r2, 2);
	MR_sv(4) = MR_tfield(3, MR_r2, 4);
	MR_r1 = MR_sv(2);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = MR_sv(3);
	MR_r3 = MR_tfield(3, MR_tempr1, 3);
	}
	MR_np_call_localret_ent(fn__recompilation__check__describe_resolved_functor_3_0,
		recompilation__check__recompile_reason_message_3_0_i66);
MR_def_label(recompilation__check__recompile_reason_message_3_0,66)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 5);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(3,1);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(fn__recompilation__check__describe_resolved_functor_3_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 2;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(2);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(3);
	MR_sv(2) = MR_r1;
	MR_tempr2 = MR_sv(4);
	MR_sv(4) = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__usage, resolved_functor);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,10);
	MR_r4 = MR_tempr2;
	}
	MR_np_call_localret_ent(fn__list__map_2_0,
		recompilation__check__recompile_reason_message_3_0_i69);
MR_def_label(recompilation__check__recompile_reason_message_3_0,69)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(fn__parse_tree__error_util__component_lists_to_pieces_1_0,
		recompilation__check__recompile_reason_message_3_0_i70);
MR_def_label(recompilation__check__recompile_reason_message_3_0,70)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = (MR_Word) MR_TAG_COMMON(3,7,12);
	MR_tfield(1, MR_tempr1, 1) = MR_sv(2);
	MR_sv(2) = MR_tempr1;
	MR_sv(3) = (MR_Word) MR_TAG_COMMON(1,0,12);
	MR_tempr2 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_tempr2;
	MR_r3 = (MR_Word) MR_TAG_COMMON(1,0,13);
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i77);
MR_def_label(recompilation__check__recompile_reason_message_3_0,77)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i78);
MR_def_label(recompilation__check__recompile_reason_message_3_0,78)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i79);
MR_def_label(recompilation__check__recompile_reason_message_3_0,79)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i80);
MR_def_label(recompilation__check__recompile_reason_message_3_0,80)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 1);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 4);
	MR_tfield(1, MR_tempr1, 0) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(1, MR_tempr1, 1) = (MR_Integer) 0;
	MR_tfield(1, MR_tempr1, 2) = (MR_Integer) 0;
	MR_tfield(1, MR_tempr1, 3) = MR_tempr2;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r1, 0) = (MR_Word) MR_tbmkword(0, 2);
	MR_tfield(0, MR_r1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 2) = MR_tempr2;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__recompile_reason_message_3_0,65)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r2,3,2)) {
		MR_GOTO_LAB(recompilation__check__recompile_reason_message_3_0_i86);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_tfield(3, MR_r2, 2);
	MR_r1 = MR_tfield(3, MR_r2, 1);
	MR_np_call_localret_ent(fn__recompilation__check__describe_item_1_0,
		recompilation__check__recompile_reason_message_3_0_i87);
MR_def_label(recompilation__check__recompile_reason_message_3_0,87)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_sv(4) = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation, item_id);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,10);
	MR_r3 = (MR_Word) MR_TAG_COMMON(0,9,0);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__list__map_2_0,
		recompilation__check__recompile_reason_message_3_0_i90);
MR_def_label(recompilation__check__recompile_reason_message_3_0,90)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(fn__parse_tree__error_util__component_lists_to_pieces_1_0,
		recompilation__check__recompile_reason_message_3_0_i91);
MR_def_label(recompilation__check__recompile_reason_message_3_0,91)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = (MR_Word) MR_TAG_COMMON(3,7,12);
	MR_tfield(1, MR_tempr1, 1) = MR_sv(2);
	MR_sv(2) = MR_tempr1;
	MR_sv(3) = (MR_Word) MR_TAG_COMMON(1,0,12);
	MR_tempr2 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_tempr2;
	MR_r3 = (MR_Word) MR_TAG_COMMON(1,0,13);
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i98);
MR_def_label(recompilation__check__recompile_reason_message_3_0,98)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i99);
MR_def_label(recompilation__check__recompile_reason_message_3_0,99)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i100);
MR_def_label(recompilation__check__recompile_reason_message_3_0,100)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i101);
MR_def_label(recompilation__check__recompile_reason_message_3_0,101)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 1);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 4);
	MR_tfield(1, MR_tempr1, 0) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(1, MR_tempr1, 1) = (MR_Integer) 0;
	MR_tfield(1, MR_tempr1, 2) = (MR_Integer) 0;
	MR_tfield(1, MR_tempr1, 3) = MR_tempr2;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r1, 0) = (MR_Word) MR_tbmkword(0, 2);
	MR_tfield(0, MR_r1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 2) = MR_tempr2;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__recompile_reason_message_3_0,86)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r2,3,1)) {
		MR_GOTO_LAB(recompilation__check__recompile_reason_message_3_0_i107);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 1);
	MR_tfield(2, MR_tempr1, 0) = MR_tfield(3, MR_r2, 1);
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_TAG_COMMON(1,0,14);
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_r3 = MR_tempr3;
	MR_tfield(1, MR_tempr3, 0) = (MR_Word) MR_TAG_COMMON(3,7,14);
	MR_tfield(1, MR_tempr3, 1) = MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i114);
MR_def_label(recompilation__check__recompile_reason_message_3_0,114)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 1);
	MR_tfield(0, MR_r2, 0) = MR_r1;
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r2;
	MR_tfield(1, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 4);
	MR_tfield(1, MR_r2, 0) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(1, MR_r2, 1) = (MR_Integer) 0;
	MR_tfield(1, MR_r2, 2) = (MR_Integer) 0;
	MR_tfield(1, MR_r2, 3) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r2;
	MR_tfield(1, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r1, 0) = (MR_Word) MR_tbmkword(0, 2);
	MR_tfield(0, MR_r1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 2) = MR_tempr1;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__recompile_reason_message_3_0,107)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r2,3,7)) {
		MR_GOTO_LAB(recompilation__check__recompile_reason_message_3_0_i120);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tempr2 = MR_tfield(3, MR_r2, 2);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_tempr2, 1);
	MR_tag_alloc_heap(MR_tempr2, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr2, 0) = (MR_Integer) 7;
	MR_tfield(3, MR_tempr2, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr1, 0) = (MR_Integer) 6;
	MR_tfield(3, MR_tempr1, 1) = MR_tfield(3, MR_r2, 1);
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr3, 1) = (MR_Word) MR_TAG_COMMON(1,0,15);
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = (MR_Word) MR_TAG_COMMON(3,7,10);
	MR_tfield(1, MR_tempr1, 1) = MR_tempr3;
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = MR_tempr2;
	MR_tfield(1, MR_tempr3, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr4, 1, (MR_Integer) 2);
	MR_r3 = MR_tempr4;
	MR_tfield(1, MR_tempr4, 0) = (MR_Word) MR_TAG_COMMON(3,7,16);
	MR_tfield(1, MR_tempr4, 1) = MR_tempr3;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i132);
MR_def_label(recompilation__check__recompile_reason_message_3_0,132)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 1);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 4);
	MR_tfield(1, MR_tempr1, 0) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(1, MR_tempr1, 1) = (MR_Integer) 0;
	MR_tfield(1, MR_tempr1, 2) = (MR_Integer) 0;
	MR_tfield(1, MR_tempr1, 3) = MR_tempr2;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r1, 0) = (MR_Word) MR_tbmkword(0, 2);
	MR_tfield(0, MR_r1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 2) = MR_tempr2;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__recompile_reason_message_3_0,120)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r2,3,5)) {
		MR_GOTO_LAB(recompilation__check__recompile_reason_message_3_0_i138);
	}
	MR_sv(1) = MR_r1;
	MR_r1 = MR_tfield(3, MR_r2, 1);
	MR_np_call_localret_ent(fn__recompilation__check__describe_item_1_0,
		recompilation__check__recompile_reason_message_3_0_i139);
MR_def_label(recompilation__check__recompile_reason_message_3_0,139)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_tempr1;
	MR_r3 = (MR_Word) MR_TAG_COMMON(1,0,15);
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i142);
MR_def_label(recompilation__check__recompile_reason_message_3_0,142)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_108_105_115_116_95_95_43_43_2_0,
		recompilation__check__recompile_reason_message_3_0_i143);
MR_def_label(recompilation__check__recompile_reason_message_3_0,143)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 1);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 4);
	MR_tfield(1, MR_tempr1, 0) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(1, MR_tempr1, 1) = (MR_Integer) 0;
	MR_tfield(1, MR_tempr1, 2) = (MR_Integer) 0;
	MR_tfield(1, MR_tempr1, 3) = MR_tempr2;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r1, 0) = (MR_Word) MR_tbmkword(0, 2);
	MR_tfield(0, MR_r1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 2) = MR_tempr2;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__recompile_reason_message_3_0,138)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, error_msg);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, error_spec);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,16);
	MR_r3 = (MR_Word) MR_TAG_COMMON(0,9,1);
	MR_r4 = MR_tfield(3, MR_tempr1, 1);
	}
	MR_np_call_localret_ent(fn__list__map_2_0,
		recompilation__check__recompile_reason_message_3_0_i151);
MR_def_label(recompilation__check__recompile_reason_message_3_0,151)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(list__condense_2_0,
		recompilation__check__recompile_reason_message_3_0_i152);
MR_def_label(recompilation__check__recompile_reason_message_3_0,152)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_tbmkword(0, 2);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 2) = MR_r1;
	MR_r1 = MR_tempr1;
	MR_decr_sp_and_return(5);
	}
#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__error_util__write_error_spec_8_0);

MR_BEGIN_MODULE(recompilation__check_module7)
	MR_init_entry1(recompilation__check__write_recompile_reason_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__write_recompile_reason_5_0);
	MR_init_label1(recompilation__check__write_recompile_reason_5_0,9)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'write_recompile_reason'/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(recompilation__check__write_recompile_reason_5_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr1, 0) = (MR_Integer) 6;
	MR_tfield(3, MR_tempr1, 1) = MR_r2;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_TAG_COMMON(1,0,18);
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = (MR_Word) MR_TAG_COMMON(3,7,18);
	MR_tfield(1, MR_tempr1, 1) = MR_tempr2;
	MR_sv(1) = MR_r1;
	MR_r1 = MR_tempr1;
	MR_r2 = MR_r3;
	}
	MR_np_call_localret_ent(recompilation__check__recompile_reason_message_3_0,
		recompilation__check__write_recompile_reason_5_0_i9);
MR_def_label(recompilation__check__write_recompile_reason_5_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_r3 = (MR_Integer) 0;
	MR_r4 = (MR_Integer) 0;
	MR_succip_word = MR_sv(2);
	MR_decr_sp(2);
	MR_np_tailcall_ent(parse_tree__error_util__write_error_spec_8_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_BEGIN_MODULE(recompilation__check_module8)
	MR_init_entry1(recompilation__check__write_not_found_reasons_message_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__write_not_found_reasons_message_5_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'write_not_found_reasons_message'/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(recompilation__check__write_not_found_reasons_message_5_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 1);
	MR_tfield(2, MR_tempr1, 0) = MR_r2;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_TAG_COMMON(1,0,19);
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = (MR_Word) MR_TAG_COMMON(3,7,14);
	MR_tfield(1, MR_tempr3, 1) = MR_tempr2;
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr2, 0) = MR_r2;
	MR_tfield(0, MR_tempr2, 1) = MR_tempr3;
	MR_r2 = MR_r3;
	MR_r3 = MR_tempr2;
	MR_np_tailcall_ent(recompilation__check__write_recompile_reason_5_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(exception__throw_1_0);

MR_BEGIN_MODULE(recompilation__check_module9)
	MR_init_entry1(recompilation__check__throw_syntax_error_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__throw_syntax_error_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'throw_syntax_error'/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_def_static(recompilation__check__throw_syntax_error_2_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 9);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_r2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_r2, 1);
	MR_tfield(0, MR_tempr1, 2) = MR_tfield(0, MR_r2, 2);
	MR_tfield(0, MR_tempr1, 3) = MR_tfield(0, MR_r2, 3);
	MR_tfield(0, MR_tempr1, 4) = MR_tfield(0, MR_r2, 4);
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_r2, 5);
	MR_tfield(0, MR_tempr1, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_r1;
	MR_tfield(0, MR_r2, 1) = MR_tempr1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_np_tailcall_ent(exception__throw_1_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_util__conjunction_to_list_2_0);
MR_decl_entry(parse_tree__prog_io_sym_name__try_parse_sym_name_and_no_args_2_0);
MR_decl_entry(fn__recompilation__term_to_timestamp_1_0);
MR_decl_entry(fn__term__get_term_context_1_0);

MR_BEGIN_MODULE(recompilation__check_module10)
	MR_init_entry1(recompilation__check__parse_module_timestamp_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__parse_module_timestamp_4_0);
	MR_init_label7(recompilation__check__parse_module_timestamp_4_0,2,8,13,16,15,4,23)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'parse_module_timestamp'/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_def_static(recompilation__check__parse_module_timestamp_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(7);
	MR_sv(7) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(6) = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r1 = MR_sv(6);
	MR_np_call_localret_ent(parse_tree__prog_io_util__conjunction_to_list_2_0,
		recompilation__check__parse_module_timestamp_4_0_i2);
MR_def_label(recompilation__check__parse_module_timestamp_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TEST(MR_r1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(1, MR_r1, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TEST(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	MR_sv(3) = MR_tfield(1, MR_tempr1, 0);
	MR_sv(4) = MR_tfield(1, MR_tempr2, 0);
	MR_sv(5) = MR_tfield(1, MR_tempr2, 1);
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(6);
	MR_r2 = MR_tfield(1, MR_tempr1, 0);
	}
	MR_np_call_localret_ent(parse_tree__prog_io_sym_name__try_parse_sym_name_and_no_args_2_0,
		recompilation__check__parse_module_timestamp_4_0_i8);
MR_def_label(recompilation__check__parse_module_timestamp_4_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	if (MR_PTAG_TESTR(MR_sv(3),0)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr3 = MR_sv(3);
	MR_tempr1 = MR_tfield(0, MR_tempr3, 1);
	if (MR_LTAGS_TESTR(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	MR_tempr1 = MR_tfield(0, MR_tempr3, 0);
	if (MR_PTAG_TESTR(MR_tempr1,2)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	MR_sv(3) = MR_r2;
	MR_tempr2 = MR_sv(4);
	MR_sv(4) = MR_tfield(2, MR_tempr1, 0);
	MR_r1 = MR_sv(6);
	MR_r2 = MR_tempr2;
	}
	MR_np_call_localret_ent(fn__recompilation__term_to_timestamp_1_0,
		recompilation__check__parse_module_timestamp_4_0_i13);
MR_def_label(recompilation__check__parse_module_timestamp_4_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	if (MR_LTAGS_TESTR(MR_sv(5),0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i16);
	}
	MR_r1 = MR_sv(3);
	MR_r3 = (MR_Integer) 1;
	MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i15);
MR_def_label(recompilation__check__parse_module_timestamp_4_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr3 = MR_sv(5);
	MR_r3 = MR_tfield(1, MR_tempr3, 1);
	if (MR_LTAGS_TESTR(MR_r3,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	MR_tempr1 = MR_tfield(1, MR_tempr3, 0);
	MR_r3 = MR_tempr1;
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 1);
	if (MR_LTAGS_TESTR(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if (MR_PTAG_TESTR(MR_tempr2,0)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	MR_r3 = MR_tfield(0, MR_tempr2, 0);
	if ((strcmp((char *) (MR_Word *) MR_r3, MR_string_const("used", 4)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_module_timestamp_4_0_i4);
	}
	MR_r1 = MR_sv(3);
	MR_r3 = (MR_Integer) 0;
	}
MR_def_label(recompilation__check__parse_module_timestamp_4_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(4);
	MR_tfield(0, MR_tempr1, 1) = MR_r2;
	MR_tfield(0, MR_tempr1, 2) = MR_r3;
	MR_r2 = MR_tempr1;
	MR_decr_sp_and_return(7);
	}
MR_def_label(recompilation__check__parse_module_timestamp_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(6);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__parse_module_timestamp_4_0_i23);
MR_def_label(recompilation__check__parse_module_timestamp_4_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in module timestamp", 25);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(1);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_tempr1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(exception__throw_1_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(list__foldl_4_0);

MR_BEGIN_MODULE(recompilation__check_module11)
	MR_init_entry1(recompilation__check__parse_used_items_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__parse_used_items_3_0);
	MR_init_label6(recompilation__check__parse_used_items_3_0,21,22,23,24,2,28)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'parse_used_items'/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_def_static(recompilation__check__parse_used_items_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(9);
	MR_sv(9) = (MR_Word) MR_succip;
	if (MR_PTAG_TESTR(MR_r2,0)) {
		MR_GOTO_LAB(recompilation__check__parse_used_items_3_0_i2);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr1 = MR_tfield(0, MR_r2, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_used_items_3_0_i2);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const("used_items", 10)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_used_items_3_0_i2);
	}
	MR_tag_alloc_heap(MR_tempr3, 0, (MR_Integer) 4);
	MR_sv(2) = MR_tempr3;
	MR_tfield(0, MR_tempr3, 0) = (MR_Word) MR_COMMON(3,2);
	MR_tfield(0, MR_tempr3, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__parse_used_item_set_4_0);
	MR_tfield(0, MR_tempr3, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr3, 3) = MR_r1;
	MR_sv(1) = MR_tfield(0, MR_r2, 1);
	MR_sv(4) = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_sv(5) = (MR_Word) MR_TAG_COMMON(0,5,3);
	MR_sv(3) = (MR_Word) MR_TAG_COMMON(0,0,2);
	MR_sv(6) = (MR_Word) MR_TAG_COMMON(0,5,7);
	MR_sv(7) = (MR_Word) MR_TAG_COMMON(0,0,4);
	MR_sv(8) = (MR_Word) MR_TAG_COMMON(0,5,10);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,1);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,5,2);
	}
	MR_np_call_localret_ent(fn__map__init_0_0,
		recompilation__check__parse_used_items_3_0_i21);
MR_def_label(recompilation__check__parse_used_items_3_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,2);
	MR_np_call_localret_ent(fn__map__init_0_0,
		recompilation__check__parse_used_items_3_0_i22);
MR_def_label(recompilation__check__parse_used_items_3_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_r1;
	MR_r1 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r2 = MR_sv(7);
	MR_np_call_localret_ent(fn__map__init_0_0,
		recompilation__check__parse_used_items_3_0_i23);
MR_def_label(recompilation__check__parse_used_items_3_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(8);
	MR_r4 = MR_sv(3);
	MR_r5 = MR_sv(4);
	MR_r6 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__recompilation__init_item_id_set_3_0,
		recompilation__check__parse_used_items_3_0_i24);
MR_def_label(recompilation__check__parse_used_items_3_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,25);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,10,1);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_sv(1);
	MR_r5 = MR_tempr1;
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(list__foldl_4_0);
	}
MR_def_label(recompilation__check__parse_used_items_3_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__parse_used_items_3_0_i28);
MR_def_label(recompilation__check__parse_used_items_3_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in used items", 19);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(1);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_tempr1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(exception__throw_1_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__foldl_4_0);

MR_BEGIN_MODULE(recompilation__check_module12)
	MR_init_entry1(recompilation__check__check_instance_version_numbers_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_instance_version_numbers_5_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_instance_version_numbers'/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(recompilation__check__check_instance_version_numbers_5_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 5);
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(11,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_instance_version_number_6_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 2;
	MR_tfield(0, MR_tempr1, 3) = MR_r1;
	MR_tfield(0, MR_tempr1, 4) = MR_r3;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation, item_name);
	MR_tempr2 = MR_r2;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(libs__timestamp, timestamp);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_tempr3 = MR_r4;
	MR_r4 = MR_tempr1;
	MR_r5 = MR_tempr2;
	MR_r6 = MR_tempr3;
	MR_np_tailcall_ent(map__foldl_4_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_BEGIN_MODULE(recompilation__check_module13)
	MR_init_entry1(recompilation__check__record_recompilation_reason_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__record_recompilation_reason_3_0);
	MR_init_label1(recompilation__check__record_recompilation_reason_3_0,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'record_recompilation_reason'/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_def_static(recompilation__check__record_recompilation_reason_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(0, MR_r2, 7);
	if (MR_INT_NE(MR_tempr1,1)) {
		MR_GOTO_LAB(recompilation__check__record_recompilation_reason_3_0_i3);
	}
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_r1;
	MR_tfield(1, MR_tempr2, 1) = MR_tfield(0, MR_r2, 8);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 9);
	MR_tfield(0, MR_r1, 0) = MR_tfield(0, MR_r2, 0);
	MR_tfield(0, MR_r1, 1) = MR_tfield(0, MR_r2, 1);
	MR_tfield(0, MR_r1, 2) = MR_tfield(0, MR_r2, 2);
	MR_tfield(0, MR_r1, 3) = MR_tfield(0, MR_r2, 3);
	MR_tfield(0, MR_r1, 4) = MR_tfield(0, MR_r2, 4);
	MR_tfield(0, MR_r1, 5) = MR_tfield(0, MR_r2, 5);
	MR_tfield(0, MR_r1, 6) = MR_tfield(0, MR_r2, 6);
	MR_tfield(0, MR_r1, 7) = MR_tempr1;
	MR_tfield(0, MR_r1, 8) = MR_tempr2;
	MR_proceed();
	}
MR_def_label(recompilation__check__record_recompilation_reason_3_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tfield(0, MR_tempr1, 1) = MR_r2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_r2 = MR_tempr1;
	MR_np_tailcall_ent(exception__throw_1_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(recompilation__version__parse_version_numbers_2_0);
extern const MR_TypeCtorInfo_Struct mercury_data_recompilation__type_ctor_info_item_type_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_item__type_ctor_info_item_0;
MR_decl_entry(fn__map__sorted_keys_1_0);
MR_decl_entry(fn__set__sorted_list_to_set_1_0);
MR_decl_entry(fn__set__intersect_2_0);
MR_decl_entry(set__difference_3_0);
MR_decl_entry(fn__set__to_sorted_list_1_0);

MR_BEGIN_MODULE(recompilation__check_module14)
	MR_init_entry1(recompilation__check__check_module_used_items_8_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_module_used_items_8_0);
	MR_init_label10(recompilation__check__check_module_used_items_8_0,2,4,7,3,13,15,16,17,18,19)
	MR_init_label5(recompilation__check__check_module_used_items_8_0,20,21,22,24,23)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_module_used_items'/8 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(recompilation__check__check_module_used_items_8_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(9);
	MR_sv(9) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(4) = MR_r5;
	MR_sv(5) = MR_r6;
	MR_sv(6) = MR_r7;
	MR_r1 = MR_r4;
	MR_np_call_localret_ent(recompilation__version__parse_version_numbers_2_0,
		recompilation__check__check_module_used_items_8_0_i2);
MR_def_label(recompilation__check__check_module_used_items_8_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(recompilation__check__check_module_used_items_8_0_i4);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 6);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(11,1);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_item_version_numbers_6_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 3;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_tempr2 = MR_tfield(1, MR_r1, 0);
	MR_r4 = MR_tempr2;
	MR_tfield(0, MR_tempr1, 4) = MR_tfield(0, MR_tempr2, 0);
	MR_tempr3 = MR_sv(4);
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_tempr3, 0);
	MR_r6 = MR_tempr3;
	MR_sv(4) = MR_tfield(0, MR_tempr1, 4);
	MR_r7 = MR_sv(6);
	MR_sv(6) = MR_tfield(0, MR_tempr2, 1);
	MR_sv(7) = MR_tfield(0, MR_r6, 1);
	MR_r5 = MR_r7;
	MR_GOTO_LAB(recompilation__check__check_module_used_items_8_0_i3);
	}
MR_def_label(recompilation__check__check_module_used_items_8_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r4 = MR_tfield(0, MR_r1, 0);
	if (MR_LTAGS_TESTR(MR_r4,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_module_used_items_8_0_i7);
	}
	MR_r1 = (MR_Word) MR_string_const("recompilation.check", 19);
	MR_r2 = (MR_Word) MR_string_const("predicate \140recompilation.check.check_module_used_items\'/8", 57);
	MR_r3 = (MR_Word) MR_string_const("error1([])", 10);
	MR_np_call_localret_ent(require__unexpected_3_0,
		recompilation__check__check_module_used_items_8_0_i3);
MR_def_label(recompilation__check__check_module_used_items_8_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 3, (MR_Integer) 2);
	MR_tfield(3, MR_tempr1, 0) = (MR_Integer) 0;
	MR_tfield(3, MR_tempr1, 1) = MR_r4;
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(6);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_tempr1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	}
	MR_np_call_localret_ent(exception__throw_1_0,
		recompilation__check__check_module_used_items_8_0_i3);
MR_def_label(recompilation__check__check_module_used_items_8_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(8) = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation, item_type);
	MR_r2 = MR_sv(8);
	MR_r4 = (MR_Word) MR_TAG_COMMON(1,12,6);
	MR_np_call_localret_ent(list__foldl_4_0,
		recompilation__check__check_module_used_items_8_0_i13);
MR_def_label(recompilation__check__check_module_used_items_8_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 6);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(11,2);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_for_ambiguities_6_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 3;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(2);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(3);
	MR_tfield(0, MR_tempr1, 5) = MR_sv(4);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_item, item);
	MR_r2 = MR_sv(8);
	MR_r4 = MR_sv(5);
	MR_r5 = MR_tempr2;
	}
	MR_np_call_localret_ent(list__foldl_4_0,
		recompilation__check__check_module_used_items_8_0_i15);
MR_def_label(recompilation__check__check_module_used_items_8_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(7);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(recompilation__check__check_instance_version_numbers_5_0,
		recompilation__check__check_module_used_items_8_0_i16);
MR_def_label(recompilation__check__check_module_used_items_8_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_sv(4) = (MR_Word) MR_CTOR0_ADDR(recompilation, item_name);
	MR_sv(2) = (MR_Word) MR_CTOR0_ADDR(libs__timestamp, timestamp);
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(7);
	MR_np_call_localret_ent(fn__map__sorted_keys_1_0,
		recompilation__check__check_module_used_items_8_0_i17);
MR_def_label(recompilation__check__check_module_used_items_8_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__set__sorted_list_to_set_1_0,
		recompilation__check__check_module_used_items_8_0_i18);
MR_def_label(recompilation__check__check_module_used_items_8_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(libs__timestamp, timestamp);
	MR_r3 = MR_sv(6);
	MR_np_call_localret_ent(fn__map__sorted_keys_1_0,
		recompilation__check__check_module_used_items_8_0_i19);
MR_def_label(recompilation__check__check_module_used_items_8_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__set__sorted_list_to_set_1_0,
		recompilation__check__check_module_used_items_8_0_i20);
MR_def_label(recompilation__check__check_module_used_items_8_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_tfield(0, MR_sv(3), 5);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__set__intersect_2_0,
		recompilation__check__check_module_used_items_8_0_i21);
MR_def_label(recompilation__check__check_module_used_items_8_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_tempr1;
	MR_r3 = MR_sv(2);
	}
	MR_np_call_localret_ent(set__difference_3_0,
		recompilation__check__check_module_used_items_8_0_i22);
MR_def_label(recompilation__check__check_module_used_items_8_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__set__to_sorted_list_1_0,
		recompilation__check__check_module_used_items_8_0_i24);
MR_def_label(recompilation__check__check_module_used_items_8_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TEST(MR_r1,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_module_used_items_8_0_i23);
	}
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 3, (MR_Integer) 3);
	MR_tfield(3, MR_tempr1, 0) = (MR_Integer) 6;
	MR_tfield(3, MR_tempr1, 1) = MR_sv(1);
	MR_tfield(3, MR_tempr1, 2) = MR_tfield(1, MR_r1, 0);
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(3);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(recompilation__check__record_recompilation_reason_3_0);
	}
MR_def_label(recompilation__check__check_module_used_items_8_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(3);
	MR_decr_sp_and_return(9);
#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__set_4_0);

MR_BEGIN_MODULE(recompilation__check_module15)
	MR_init_entry1(recompilation__check__record_read_file_8_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__record_read_file_8_0);
	MR_init_label1(recompilation__check__record_read_file_8_0,5)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'record_read_file'/8 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(recompilation__check__record_read_file_8_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_r2, 0);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 5);
	MR_tfield(0, MR_tempr2, 0) = MR_r2;
	MR_tfield(0, MR_tempr2, 1) = MR_r3;
	MR_tfield(0, MR_tempr2, 2) = MR_r4;
	MR_tfield(0, MR_tempr2, 3) = MR_r5;
	MR_tfield(0, MR_tempr2, 4) = MR_r6;
	MR_tempr3 = MR_r7;
	MR_sv(1) = MR_tempr3;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,0);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__read_modules, have_read_module);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_tempr2;
	MR_r5 = MR_tfield(0, MR_tempr3, 3);
	}
	MR_np_call_localret_ent(map__set_4_0,
		recompilation__check__record_read_file_8_0_i5);
MR_def_label(recompilation__check__record_read_file_8_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 9);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_tfield(0, MR_r2, 0) = MR_tfield(0, MR_tempr1, 0);
	MR_tfield(0, MR_r2, 1) = MR_tfield(0, MR_tempr1, 1);
	MR_tfield(0, MR_r2, 2) = MR_tfield(0, MR_tempr1, 2);
	MR_tfield(0, MR_r2, 3) = MR_r1;
	MR_tfield(0, MR_r2, 4) = MR_tfield(0, MR_tempr1, 4);
	MR_tfield(0, MR_r2, 5) = MR_tfield(0, MR_tempr1, 5);
	MR_tfield(0, MR_r2, 6) = MR_tfield(0, MR_tempr1, 6);
	MR_tfield(0, MR_r2, 7) = MR_tfield(0, MR_tempr1, 7);
	MR_tfield(0, MR_r2, 8) = MR_tfield(0, MR_tempr1, 8);
	MR_r1 = MR_r2;
	MR_decr_sp_and_return(2);
	}
#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__read_modules__find_read_module_9_0);
MR_decl_entry(parse_tree__read_modules__read_module_if_changed_13_0);
MR_decl_entry(__Unify___libs__timestamp__timestamp_0_0);

MR_BEGIN_MODULE(recompilation__check_module16)
	MR_init_entry1(recompilation__check__check_imported_module_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_imported_module_6_0);
	MR_init_label10(recompilation__check__check_imported_module_6_0,2,10,11,15,12,13,17,18,26,31)
	MR_init_label6(recompilation__check__check_imported_module_6_0,29,28,32,21,22,20)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_imported_module'/6 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(recompilation__check__check_imported_module_6_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(13);
	MR_sv(13) = (MR_Word) MR_succip;
	if (MR_PTAG_TESTR(MR_r2,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i2);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr1 = MR_tfield(0, MR_r2, 0);
	MR_r5 = MR_tempr1;
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i2);
	}
	MR_r6 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_r6, MR_string_const("=>", 2)) != 0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i2);
	}
	MR_tempr2 = MR_tfield(0, MR_r2, 1);
	MR_r5 = MR_tempr2;
	if (MR_LTAGS_TEST(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i2);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr2, 1);
	MR_r6 = MR_tempr3;
	if (MR_LTAGS_TEST(MR_tempr3,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i2);
	}
	MR_r7 = MR_tfield(1, MR_tempr3, 1);
	if (MR_LTAGS_TESTR(MR_r7,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i2);
	}
	MR_tag_alloc_heap(MR_sv(2), 1, (MR_Integer) 1);
	MR_tfield(1, MR_sv(2), 0) = MR_tfield(1, MR_tempr3, 0);
	MR_sv(1) = MR_r1;
	MR_r2 = MR_tfield(1, MR_tempr2, 0);
	MR_r1 = MR_r3;
	MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i10);
	}
MR_def_label(recompilation__check__check_imported_module_6_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_sv(2) = (MR_Word) MR_tbmkword(0, 0);
	MR_r1 = MR_r3;
MR_def_label(recompilation__check__check_imported_module_6_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(12) = MR_r1;
	MR_np_call_localret_ent(recompilation__check__parse_module_timestamp_4_0,
		recompilation__check__check_imported_module_6_0_i11);
MR_def_label(recompilation__check__check_imported_module_6_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(7) = MR_tfield(0, MR_r2, 2);
	MR_sv(6) = MR_tfield(0, MR_r2, 1);
	MR_r3 = MR_tfield(0, MR_r2, 0);
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr2 = MR_sv(12);
	MR_tempr1 = MR_tfield(0, MR_tempr2, 1);
	if (MR_INT_NE(MR_tempr1,1)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i13);
	}
	MR_sv(3) = MR_r1;
	MR_sv(4) = MR_r2;
	MR_sv(5) = MR_r3;
	MR_r1 = MR_tfield(0, MR_tempr2, 3);
	MR_r2 = MR_sv(3);
	MR_r4 = (MR_Integer) 0;
	}
	MR_np_call_localret_ent(parse_tree__read_modules__find_read_module_9_0,
		recompilation__check__check_imported_module_6_0_i15);
MR_def_label(recompilation__check__check_imported_module_6_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i12);
	}
	MR_sv(1) = MR_r2;
	MR_sv(5) = MR_r3;
	MR_sv(8) = MR_r4;
	MR_sv(9) = MR_r5;
	MR_r1 = MR_r6;
	MR_sv(10) = (MR_Integer) 1;
	MR_r2 = MR_sv(12);
	MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i18);
MR_def_label(recompilation__check__check_imported_module_6_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(5);
MR_def_label(recompilation__check__check_imported_module_6_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_sv(4) = MR_r2;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(3);
	MR_r4 = (MR_Word) MR_string_const("Reading interface file for module", 33);
	MR_r5 = (MR_Integer) 0;
	MR_r6 = MR_sv(6);
	MR_np_call_localret_ent(parse_tree__read_modules__read_module_if_changed_13_0,
		recompilation__check__check_imported_module_6_0_i17);
MR_def_label(recompilation__check__check_imported_module_6_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_sv(5) = MR_r2;
	MR_sv(8) = MR_r3;
	MR_sv(9) = MR_r4;
	MR_r1 = MR_r5;
	MR_sv(10) = (MR_Integer) 0;
	MR_r2 = MR_sv(12);
MR_def_label(recompilation__check__check_imported_module_6_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_sv(8),0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i20);
	}
	if (MR_LTAGS_TEST(MR_r1,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i22);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(1, MR_r1, 0);
	MR_sv(11) = MR_tempr1;
	MR_sv(12) = MR_r2;
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(6);
	}
	MR_np_call_localret_ent(__Unify___libs__timestamp__timestamp_0_0,
		recompilation__check__check_imported_module_6_0_i26);
MR_def_label(recompilation__check__check_imported_module_6_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_r1) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i21);
	}
	MR_r3 = MR_sv(11);
	MR_r2 = MR_sv(12);
	if (MR_INT_NE(MR_sv(10),0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i29);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 3);
	MR_tempr3 = MR_sv(4);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_r3;
	MR_tfield(0, MR_tempr1, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_r1 = MR_sv(3);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_sv(1);
	MR_r4 = MR_sv(5);
	MR_r5 = MR_sv(8);
	MR_r6 = MR_sv(9);
	MR_r7 = MR_tempr2;
	}
	MR_np_call_localret_ent(recompilation__check__record_read_file_8_0,
		recompilation__check__check_imported_module_6_0_i31);
MR_def_label(recompilation__check__check_imported_module_6_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r8 = MR_r1;
	MR_r1 = MR_sv(3);
	MR_r3 = MR_sv(6);
	MR_r2 = MR_sv(7);
	MR_r7 = MR_r8;
	MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i28);
MR_def_label(recompilation__check__check_imported_module_6_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(3);
	MR_r3 = MR_sv(6);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = MR_sv(7);
	MR_r7 = MR_tempr1;
	}
MR_def_label(recompilation__check__check_imported_module_6_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TEST(MR_sv(2),0,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i32);
	}
	if (MR_LTAGS_TEST(MR_sv(1),0,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i32);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tempr4 = MR_sv(1);
	MR_tempr1 = MR_tfield(1, MR_tempr4, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i32);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr4, 0);
	if (MR_PTAG_TESTR(MR_tempr2,2)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i32);
	}
	MR_tempr3 = MR_tfield(0, MR_tfield(2, MR_tempr2, 0), 0);
	if (MR_LTAGS_TESTR(MR_tempr3,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i32);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 0);
	if (MR_PTAG_TESTR(MR_tempr2,2)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i32);
	}
	MR_tempr3 = MR_tfield(0, MR_tfield(2, MR_tempr2, 0), 0);
	if (MR_RTAGS_TESTR(MR_tempr3,3,5)) {
		MR_GOTO_LAB(recompilation__check__check_imported_module_6_0_i32);
	}
	MR_r4 = MR_tfield(1, MR_sv(2), 0);
	MR_r5 = MR_tfield(3, MR_tempr3, 2);
	MR_r6 = MR_tfield(1, MR_tempr1, 1);
	MR_succip_word = MR_sv(13);
	MR_decr_sp(13);
	MR_np_tailcall_ent(recompilation__check__check_module_used_items_8_0);
	}
MR_def_label(recompilation__check__check_imported_module_6_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r1, 3, (MR_Integer) 2);
	MR_tfield(3, MR_r1, 0) = (MR_Integer) 1;
	MR_tfield(3, MR_r1, 1) = MR_sv(9);
	MR_r2 = MR_r7;
	MR_succip_word = MR_sv(13);
	MR_decr_sp(13);
	MR_np_tailcall_ent(recompilation__check__record_recompilation_reason_3_0);
MR_def_label(recompilation__check__check_imported_module_6_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(12);
MR_def_label(recompilation__check__check_imported_module_6_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r2;
	MR_decr_sp_and_return(13);
MR_def_label(recompilation__check__check_imported_module_6_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 1);
	MR_tempr4 = MR_sv(9);
	MR_tfield(2, MR_tempr1, 0) = MR_tempr4;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_TAG_COMMON(1,0,7);
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = (MR_Word) MR_TAG_COMMON(3,7,21);
	MR_tfield(1, MR_tempr3, 1) = MR_tempr2;
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r1, 0) = MR_tempr4;
	MR_tfield(0, MR_r1, 1) = MR_tempr3;
	MR_succip_word = MR_sv(13);
	MR_decr_sp(13);
	MR_np_tailcall_ent(recompilation__check__throw_syntax_error_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(parser__read_term_3_0);
MR_decl_entry(io__input_stream_name_3_0);
MR_decl_entry(io__get_line_number_3_0);

MR_BEGIN_MODULE(recompilation__check_module17)
	MR_init_entry1(recompilation__check__check_imported_modules_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_imported_modules_5_0);
	MR_init_label9(recompilation__check__check_imported_modules_5_0,64,2,5,10,4,14,15,13,21)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_imported_modules'/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(recompilation__check__check_imported_modules_5_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(4);
	MR_sv(4) = (MR_Word) MR_succip;
MR_def_label(recompilation__check__check_imported_modules_5_0,64)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_sv(3) = MR_r2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(parser__read_term_3_0,
		recompilation__check__check_imported_modules_5_0_i2);
MR_def_label(recompilation__check__check_imported_modules_5_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(recompilation__check__check_imported_modules_5_0_i4);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr1 = MR_tfield(2, MR_r1, 1);
	MR_r3 = MR_tempr1;
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_modules_5_0_i5);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 1);
	if (MR_LTAGS_TESTR(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_modules_5_0_i5);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if (MR_PTAG_TESTR(MR_tempr2,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_modules_5_0_i5);
	}
	MR_tempr3 = MR_tfield(0, MR_tempr2, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr3, MR_string_const("done", 4)) != 0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_modules_5_0_i5);
	}
	MR_r1 = MR_sv(3);
	MR_decr_sp_and_return(4);
	}
MR_def_label(recompilation__check__check_imported_modules_5_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = MR_r3;
	MR_r3 = MR_sv(3);
	MR_np_call_localret_ent(recompilation__check__check_imported_module_6_0,
		recompilation__check__check_imported_modules_5_0_i10);
MR_def_label(recompilation__check__check_imported_modules_5_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_tempr1;
	MR_succip_word = MR_sv(4);
	MR_GOTO_LAB(recompilation__check__check_imported_modules_5_0_i64);
	}
MR_def_label(recompilation__check__check_imported_modules_5_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_imported_modules_5_0_i13);
	}
	MR_np_call_localret_ent(io__input_stream_name_3_0,
		recompilation__check__check_imported_modules_5_0_i14);
MR_def_label(recompilation__check__check_imported_modules_5_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_np_call_localret_ent(io__get_line_number_3_0,
		recompilation__check__check_imported_modules_5_0_i15);
MR_def_label(recompilation__check__check_imported_modules_5_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 1) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(2, MR_tempr2, 1) = (MR_Word) MR_string_const("unexpected end of file", 22);
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 9);
	MR_tempr4 = MR_sv(3);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr4, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_tempr4, 1);
	MR_tfield(0, MR_tempr1, 2) = MR_tfield(0, MR_tempr4, 2);
	MR_tfield(0, MR_tempr1, 3) = MR_tfield(0, MR_tempr4, 3);
	MR_tfield(0, MR_tempr1, 4) = MR_tfield(0, MR_tempr4, 4);
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_tempr4, 5);
	MR_tfield(0, MR_tempr1, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_tempr4, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_tempr4, 8);
	MR_tag_alloc_heap(MR_tempr3, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr3, 0) = MR_tempr2;
	MR_tfield(0, MR_tempr3, 1) = MR_tempr1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_r2 = MR_tempr3;
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(exception__throw_1_0);
	}
MR_def_label(recompilation__check__check_imported_modules_5_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_tfield(1, MR_r1, 0);
	MR_sv(2) = MR_tfield(1, MR_r1, 1);
	MR_np_call_localret_ent(io__input_stream_name_3_0,
		recompilation__check__check_imported_modules_5_0_i21);
MR_def_label(recompilation__check__check_imported_modules_5_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tfield(0, MR_tempr1, 1) = MR_sv(2);
	MR_tag_alloc_heap(MR_tempr2, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(2, MR_tempr2, 1) = MR_sv(1);
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 9);
	MR_tempr4 = MR_sv(3);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr4, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_tempr4, 1);
	MR_tfield(0, MR_tempr1, 2) = MR_tfield(0, MR_tempr4, 2);
	MR_tfield(0, MR_tempr1, 3) = MR_tfield(0, MR_tempr4, 3);
	MR_tfield(0, MR_tempr1, 4) = MR_tfield(0, MR_tempr4, 4);
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_tempr4, 5);
	MR_tfield(0, MR_tempr1, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_tempr4, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_tempr4, 8);
	MR_tag_alloc_heap(MR_tempr3, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr3, 0) = MR_tempr2;
	MR_tfield(0, MR_tempr3, 1) = MR_tempr1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_r2 = MR_tempr3;
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(exception__throw_1_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(fn__f_115_116_114_105_110_103_95_95_43_43_2_0);

MR_BEGIN_MODULE(recompilation__check_module18)
	MR_init_entry1(recompilation__check__read_term_check_for_error_or_eof_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__read_term_check_for_error_or_eof_5_0);
	MR_init_label8(recompilation__check__read_term_check_for_error_or_eof_5_0,2,4,6,7,9,10,5,15)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'read_term_check_for_error_or_eof'/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(recompilation__check__read_term_check_for_error_or_eof_5_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_sv(2) = MR_r2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(parser__read_term_3_0,
		recompilation__check__read_term_check_for_error_or_eof_5_0_i2);
MR_def_label(recompilation__check__read_term_check_for_error_or_eof_5_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(recompilation__check__read_term_check_for_error_or_eof_5_0_i4);
	}
	MR_r1 = MR_tfield(2, MR_r1, 1);
	MR_decr_sp_and_return(4);
MR_def_label(recompilation__check__read_term_check_for_error_or_eof_5_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(recompilation__check__read_term_check_for_error_or_eof_5_0_i5);
	}
	MR_np_call_localret_ent(io__input_stream_name_3_0,
		recompilation__check__read_term_check_for_error_or_eof_5_0_i6);
MR_def_label(recompilation__check__read_term_check_for_error_or_eof_5_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_np_call_localret_ent(io__get_line_number_3_0,
		recompilation__check__read_term_check_for_error_or_eof_5_0_i7);
MR_def_label(recompilation__check__read_term_check_for_error_or_eof_5_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(3);
	MR_tfield(0, MR_tempr1, 1) = MR_r1;
	MR_tempr2 = MR_sv(2);
	MR_sv(2) = MR_tempr1;
	MR_r1 = MR_tempr2;
	MR_r2 = (MR_Word) MR_string_const(".", 1);
	}
	MR_np_call_localret_ent(fn__f_115_116_114_105_110_103_95_95_43_43_2_0,
		recompilation__check__read_term_check_for_error_or_eof_5_0_i9);
MR_def_label(recompilation__check__read_term_check_for_error_or_eof_5_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_string_const("unexpected end of file, expected ", 33);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_115_116_114_105_110_103_95_95_43_43_2_0,
		recompilation__check__read_term_check_for_error_or_eof_5_0_i10);
MR_def_label(recompilation__check__read_term_check_for_error_or_eof_5_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_sv(2);
	MR_tfield(2, MR_tempr1, 1) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(1);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_tempr1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(exception__throw_1_0);
	}
MR_def_label(recompilation__check__read_term_check_for_error_or_eof_5_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_tfield(1, MR_r1, 0);
	MR_sv(3) = MR_tfield(1, MR_r1, 1);
	MR_np_call_localret_ent(io__input_stream_name_3_0,
		recompilation__check__read_term_check_for_error_or_eof_5_0_i15);
MR_def_label(recompilation__check__read_term_check_for_error_or_eof_5_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tfield(0, MR_tempr1, 1) = MR_sv(3);
	MR_tag_alloc_heap(MR_tempr2, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(2, MR_tempr2, 1) = MR_sv(2);
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 9);
	MR_tempr4 = MR_sv(1);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr4, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_tempr4, 1);
	MR_tfield(0, MR_tempr1, 2) = MR_tfield(0, MR_tempr4, 2);
	MR_tfield(0, MR_tempr1, 3) = MR_tfield(0, MR_tempr4, 3);
	MR_tfield(0, MR_tempr1, 4) = MR_tfield(0, MR_tempr4, 4);
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_tempr4, 5);
	MR_tfield(0, MR_tempr1, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_tempr4, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_tempr4, 8);
	MR_tag_alloc_heap(MR_tempr3, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr3, 0) = MR_tempr2;
	MR_tfield(0, MR_tempr3, 1) = MR_tempr1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_r2 = MR_tempr3;
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(exception__throw_1_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(fn__recompilation__usage__usage_file_version_number_0_0);
MR_decl_entry(fn__recompilation__version__version_numbers_version_number_0_0);
MR_decl_entry(list__map_3_2);
MR_decl_entry(fn__set__list_to_set_1_0);

MR_BEGIN_MODULE(recompilation__check_module19)
	MR_init_entry1(recompilation__check__should_recompile_3_7_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__should_recompile_3_7_0);
	MR_init_label10(recompilation__check__should_recompile_3_7_0,2,13,16,4,17,27,28,29,32,38)
	MR_init_label10(recompilation__check__should_recompile_3_7_0,41,44,33,34,48,47,46,31,30,63)
	MR_init_label10(recompilation__check__should_recompile_3_7_0,71,64,65,74,77,78,80,81,82,84)
	MR_init_label6(recompilation__check__should_recompile_3_7_0,92,94,85,86,96,99)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'should_recompile_3'/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(recompilation__check__should_recompile_3_7_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(13);
	MR_sv(13) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r4;
	MR_sv(12) = MR_tempr1;
	MR_r1 = MR_tempr1;
	MR_r2 = (MR_Word) MR_string_const("usage file version number", 25);
	}
	MR_np_call_localret_ent(recompilation__check__read_term_check_for_error_or_eof_5_0,
		recompilation__check__should_recompile_3_7_0_i2);
MR_def_label(recompilation__check__should_recompile_3_7_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i4);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(0, MR_r1, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i4);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const(",", 1)) != 0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i4);
	}
	MR_tempr1 = MR_tfield(0, MR_r1, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i4);
	}
	MR_r1 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TEST(MR_r1,0,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i4);
	}
	MR_tempr2 = MR_tfield(1, MR_r1, 1);
	if (MR_LTAGS_TESTR(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i4);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 0);
	if (MR_PTAG_TESTR(MR_tempr2,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i4);
	}
	MR_tempr1 = MR_tfield(0, MR_tempr2, 0);
	if (MR_PTAG_TESTR(MR_tempr1,1)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i4);
	}
	MR_sv(4) = MR_tfield(1, MR_r1, 0);
	MR_sv(5) = MR_tfield(1, MR_tempr1, 0);
	}
	MR_np_call_localret_ent(fn__recompilation__usage__usage_file_version_number_0_0,
		recompilation__check__should_recompile_3_7_0_i13);
MR_def_label(recompilation__check__should_recompile_3_7_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_sv(5) != MR_r1)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i4);
	}
	if (MR_PTAG_TESTR(MR_sv(4),0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i4);
	}
	MR_r1 = MR_tfield(0, MR_sv(4), 0);
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i4);
	}
	MR_sv(4) = MR_tfield(1, MR_r1, 0);
	MR_np_call_localret_ent(fn__recompilation__version__version_numbers_version_number_0_0,
		recompilation__check__should_recompile_3_7_0_i16);
MR_def_label(recompilation__check__should_recompile_3_7_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_sv(4) != MR_r1)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i4);
	}
	MR_r1 = MR_sv(12);
	MR_r2 = (MR_Word) MR_string_const("module timestamp", 16);
	MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i27);
MR_def_label(recompilation__check__should_recompile_3_7_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(io__input_stream_name_3_0,
		recompilation__check__should_recompile_3_7_0_i17);
MR_def_label(recompilation__check__should_recompile_3_7_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 1);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_TAG_COMMON(1,0,7);
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = (MR_Word) MR_TAG_COMMON(3,7,22);
	MR_tfield(1, MR_tempr3, 1) = MR_tempr2;
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr2, 0) = MR_r1;
	MR_tfield(0, MR_tempr2, 1) = MR_tempr3;
	MR_r1 = MR_tempr2;
	MR_r2 = MR_sv(12);
	}
	MR_np_call_localret_ent(recompilation__check__throw_syntax_error_2_0,
		recompilation__check__should_recompile_3_7_0_i27);
MR_def_label(recompilation__check__should_recompile_3_7_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(12) = MR_r1;
	MR_np_call_localret_ent(recompilation__check__read_term_check_for_error_or_eof_5_0,
		recompilation__check__should_recompile_3_7_0_i28);
MR_def_label(recompilation__check__should_recompile_3_7_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(12);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(recompilation__check__parse_module_timestamp_4_0,
		recompilation__check__should_recompile_3_7_0_i29);
MR_def_label(recompilation__check__should_recompile_3_7_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_sv(2),0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i31);
	}
	MR_sv(2) = MR_r2;
	MR_sv(4) = MR_tfield(0, MR_r2, 1);
	MR_sv(5) = MR_tfield(0, MR_sv(12), 0);
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(5);
	MR_r3 = (MR_Word) MR_string_const(".m", 2);
	MR_r4 = (MR_Word) MR_string_const("Reading module", 14);
	MR_r5 = (MR_Integer) 0;
	MR_r6 = MR_sv(4);
	MR_np_call_localret_ent(parse_tree__read_modules__read_module_if_changed_13_0,
		recompilation__check__should_recompile_3_7_0_i32);
MR_def_label(recompilation__check__should_recompile_3_7_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TEST(MR_r5,0,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i34);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr2 = MR_r5;
	MR_tempr1 = MR_tfield(1, MR_tempr2, 0);
	MR_sv(6) = MR_r1;
	MR_sv(7) = MR_r2;
	MR_sv(8) = MR_r3;
	MR_sv(9) = MR_r4;
	MR_sv(10) = MR_tempr2;
	MR_sv(11) = MR_tempr1;
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(4);
	}
	MR_np_call_localret_ent(__Unify___libs__timestamp__timestamp_0_0,
		recompilation__check__should_recompile_3_7_0_i38);
MR_def_label(recompilation__check__should_recompile_3_7_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_r1) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i33);
	}
	MR_r1 = MR_sv(6);
	MR_r2 = MR_sv(7);
	MR_r3 = MR_sv(8);
	MR_r4 = MR_sv(9);
	MR_r5 = MR_sv(10);
	MR_r7 = MR_sv(11);
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 3);
	MR_tempr5 = MR_sv(2);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr5, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_r7;
	MR_tfield(0, MR_tempr1, 2) = MR_tfield(0, MR_tempr5, 2);
	MR_tempr2 = MR_r1;
	MR_r1 = MR_sv(5);
	MR_tempr3 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_tempr4 = MR_r3;
	MR_r3 = MR_tempr2;
	MR_r4 = MR_tempr3;
	MR_r5 = MR_tempr4;
	MR_r6 = MR_sv(9);
	MR_r7 = MR_sv(12);
	}
	MR_np_call_localret_ent(recompilation__check__record_read_file_8_0,
		recompilation__check__should_recompile_3_7_0_i41);
MR_def_label(recompilation__check__should_recompile_3_7_0,41)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 9);
	MR_tfield(0, MR_r2, 0) = MR_tfield(0, MR_r1, 0);
	MR_tfield(0, MR_r2, 1) = MR_tfield(0, MR_r1, 1);
	MR_tfield(0, MR_r2, 2) = MR_tfield(0, MR_r1, 2);
	MR_tfield(0, MR_r2, 3) = MR_tfield(0, MR_r1, 3);
	MR_tfield(0, MR_r2, 4) = MR_tfield(0, MR_r1, 4);
	MR_tfield(0, MR_r2, 5) = MR_tfield(0, MR_r1, 5);
	MR_tfield(0, MR_r2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 7) = MR_tfield(0, MR_r1, 7);
	MR_tfield(0, MR_r2, 8) = MR_tfield(0, MR_r1, 8);
	MR_tag_alloc_heap(MR_r1, 3, (MR_Integer) 2);
	MR_tfield(3, MR_r1, 0) = (MR_Integer) 1;
	MR_tfield(3, MR_r1, 1) = MR_sv(9);
	MR_np_call_localret_ent(recompilation__check__record_recompilation_reason_3_0,
		recompilation__check__should_recompile_3_7_0_i44);
MR_def_label(recompilation__check__should_recompile_3_7_0,44)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = (MR_Word) MR_string_const("inline sub-modules", 18);
	MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i30);
MR_def_label(recompilation__check__should_recompile_3_7_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_sv(8);
	MR_r4 = MR_sv(9);
	MR_r5 = MR_sv(10);
MR_def_label(recompilation__check__should_recompile_3_7_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_EQ(MR_r3,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i48);
	}
	MR_sv(9) = MR_r4;
	MR_r2 = MR_sv(12);
	MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i47);
MR_def_label(recompilation__check__should_recompile_3_7_0,48)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r5,0,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i46);
	}
	MR_sv(9) = MR_r4;
	MR_r2 = MR_sv(12);
MR_def_label(recompilation__check__should_recompile_3_7_0,47)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 1);
	MR_tempr4 = MR_sv(9);
	MR_tfield(2, MR_tempr1, 0) = MR_tempr4;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_TAG_COMMON(1,0,7);
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = (MR_Word) MR_TAG_COMMON(3,7,21);
	MR_tfield(1, MR_tempr3, 1) = MR_tempr2;
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r1, 0) = MR_tempr4;
	MR_tfield(0, MR_r1, 1) = MR_tempr3;
	}
	MR_np_call_localret_ent(recompilation__check__throw_syntax_error_2_0,
		recompilation__check__should_recompile_3_7_0_i30);
MR_def_label(recompilation__check__should_recompile_3_7_0,46)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(12);
	MR_r2 = (MR_Word) MR_string_const("inline sub-modules", 18);
	MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i30);
MR_def_label(recompilation__check__should_recompile_3_7_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_tfield(0, MR_r2, 1);
	MR_r1 = MR_sv(12);
	MR_r2 = (MR_Word) MR_string_const("inline sub-modules", 18);
MR_def_label(recompilation__check__should_recompile_3_7_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_r1;
	MR_np_call_localret_ent(recompilation__check__read_term_check_for_error_or_eof_5_0,
		recompilation__check__should_recompile_3_7_0_i63);
MR_def_label(recompilation__check__should_recompile_3_7_0,63)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i65);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(0, MR_r1, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i65);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const("sub_modules", 11)) != 0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i65);
	}
	MR_sv(2) = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,25);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r3 = (MR_Word) MR_TAG_COMMON(0,9,2);
	MR_r4 = MR_tfield(0, MR_sv(2), 1);
	}
	MR_np_call_localret_ent(list__map_3_2,
		recompilation__check__should_recompile_3_7_0_i71);
MR_def_label(recompilation__check__should_recompile_3_7_0,71)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i64);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 9);
	MR_sv(2) = MR_tempr1;
	MR_tempr2 = MR_sv(5);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_tempr2, 1);
	MR_tfield(0, MR_tempr1, 2) = MR_r2;
	MR_tfield(0, MR_tempr1, 3) = MR_tfield(0, MR_tempr2, 3);
	MR_tfield(0, MR_tempr1, 4) = MR_tfield(0, MR_tempr2, 4);
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_tempr2, 5);
	MR_tfield(0, MR_tempr1, 6) = MR_tfield(0, MR_tempr2, 6);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_tempr2, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_tempr2, 8);
	MR_r1 = MR_sv(3);
	MR_r2 = MR_tfield(0, MR_tempr1, 0);
	}
	MR_set_prof_ho_caller_proc(MR_ENTRY_AP(recompilation__check__should_recompile_3_7_0));
	MR_noprof_call_localret(MR_ENTRY(mercury__do_call_closure_2),
		mercury__recompilation__check__should_recompile_3_7_0_i78);
MR_def_label(recompilation__check__should_recompile_3_7_0,64)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
MR_def_label(recompilation__check__should_recompile_3_7_0,65)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__should_recompile_3_7_0_i74);
MR_def_label(recompilation__check__should_recompile_3_7_0,74)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in sub_modules term", 25);
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(5);
	}
	MR_np_call_localret_ent(recompilation__check__throw_syntax_error_2_0,
		recompilation__check__should_recompile_3_7_0_i77);
MR_def_label(recompilation__check__should_recompile_3_7_0,77)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_set_prof_ho_caller_proc(MR_ENTRY_AP(recompilation__check__should_recompile_3_7_0));
	MR_noprof_call_localret(MR_ENTRY(mercury__do_call_closure_2),
		mercury__recompilation__check__should_recompile_3_7_0_i78);
MR_def_label(recompilation__check__should_recompile_3_7_0,78)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(11,3);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__require_recompilation_if_not_up_to_date_6_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(4);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r3 = (MR_Word) MR_IO_CTOR_ADDR;
	MR_r5 = MR_tempr2;
	MR_r6 = MR_sv(2);
	}
	MR_np_call_localret_ent(list__foldl2_6_2,
		recompilation__check__should_recompile_3_7_0_i80);
MR_def_label(recompilation__check__should_recompile_3_7_0,80)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r2 = (MR_Word) MR_string_const("used items", 10);
	MR_np_call_localret_ent(recompilation__check__read_term_check_for_error_or_eof_5_0,
		recompilation__check__should_recompile_3_7_0_i81);
MR_def_label(recompilation__check__should_recompile_3_7_0,81)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(2);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(recompilation__check__parse_used_items_3_0,
		recompilation__check__should_recompile_3_7_0_i82);
MR_def_label(recompilation__check__should_recompile_3_7_0,82)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 9);
	MR_tempr2 = MR_sv(2);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_tempr2, 1);
	MR_tfield(0, MR_tempr1, 2) = MR_tfield(0, MR_tempr2, 2);
	MR_tfield(0, MR_tempr1, 3) = MR_tfield(0, MR_tempr2, 3);
	MR_tfield(0, MR_tempr1, 4) = MR_r1;
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_tempr2, 5);
	MR_tfield(0, MR_tempr1, 6) = MR_tfield(0, MR_tempr2, 6);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_tempr2, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_tempr2, 8);
	MR_sv(3) = MR_tempr1;
	MR_r1 = MR_tempr1;
	MR_r2 = (MR_Word) MR_string_const("used classes", 12);
	}
	MR_np_call_localret_ent(recompilation__check__read_term_check_for_error_or_eof_5_0,
		recompilation__check__should_recompile_3_7_0_i84);
MR_def_label(recompilation__check__should_recompile_3_7_0,84)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i86);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(0, MR_r1, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i86);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const("used_classes", 12)) != 0)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i86);
	}
	MR_sv(2) = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,25);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(recompilation, item_name);
	MR_r3 = (MR_Word) MR_TAG_COMMON(0,9,3);
	MR_r4 = MR_tfield(0, MR_sv(2), 1);
	}
	MR_np_call_localret_ent(list__map_3_2,
		recompilation__check__should_recompile_3_7_0_i92);
MR_def_label(recompilation__check__should_recompile_3_7_0,92)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__should_recompile_3_7_0_i85);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation, item_name);
	MR_np_call_localret_ent(fn__set__list_to_set_1_0,
		recompilation__check__should_recompile_3_7_0_i94);
MR_def_label(recompilation__check__should_recompile_3_7_0,94)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 9);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_tfield(0, MR_r2, 0) = MR_tfield(0, MR_tempr1, 0);
	MR_tfield(0, MR_r2, 1) = MR_tfield(0, MR_tempr1, 1);
	MR_tfield(0, MR_r2, 2) = MR_tfield(0, MR_tempr1, 2);
	MR_tfield(0, MR_r2, 3) = MR_tfield(0, MR_tempr1, 3);
	MR_tfield(0, MR_r2, 4) = MR_tfield(0, MR_tempr1, 4);
	MR_tfield(0, MR_r2, 5) = MR_r1;
	MR_tfield(0, MR_r2, 6) = MR_tfield(0, MR_tempr1, 6);
	MR_tfield(0, MR_r2, 7) = MR_tfield(0, MR_tempr1, 7);
	MR_tfield(0, MR_r2, 8) = MR_tfield(0, MR_tempr1, 8);
	MR_r1 = MR_sv(1);
	MR_succip_word = MR_sv(13);
	MR_decr_sp(13);
	MR_np_tailcall_ent(recompilation__check__check_imported_modules_5_0);
	}
MR_def_label(recompilation__check__should_recompile_3_7_0,85)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
MR_def_label(recompilation__check__should_recompile_3_7_0,86)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__should_recompile_3_7_0_i96);
MR_def_label(recompilation__check__should_recompile_3_7_0,96)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in used_typeclasses term", 30);
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(3);
	}
	MR_np_call_localret_ent(recompilation__check__throw_syntax_error_2_0,
		recompilation__check__should_recompile_3_7_0_i99);
MR_def_label(recompilation__check__should_recompile_3_7_0,99)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(13);
	MR_decr_sp(13);
	MR_np_tailcall_ent(recompilation__check__check_imported_modules_5_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__file_modification_time_4_0);
MR_decl_entry(fn__libs__timestamp__time_t_to_timestamp_1_0);
MR_decl_entry(__Compare___libs__timestamp__timestamp_0_0);

MR_BEGIN_MODULE(recompilation__check_module20)
	MR_init_entry1(recompilation__check__require_recompilation_if_not_up_to_date_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__require_recompilation_if_not_up_to_date_6_0);
	MR_init_label5(recompilation__check__require_recompilation_if_not_up_to_date_6_0,2,6,7,4,11)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'require_recompilation_if_not_up_to_date'/6 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(recompilation__check__require_recompilation_if_not_up_to_date_6_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_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(io__file_modification_time_4_0,
		recompilation__check__require_recompilation_if_not_up_to_date_6_0_i2);
MR_def_label(recompilation__check__require_recompilation_if_not_up_to_date_6_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,0)) {
		MR_GOTO_LAB(recompilation__check__require_recompilation_if_not_up_to_date_6_0_i4);
	}
	MR_r1 = MR_tfield(0, MR_r1, 0);
	MR_np_call_localret_ent(fn__libs__timestamp__time_t_to_timestamp_1_0,
		recompilation__check__require_recompilation_if_not_up_to_date_6_0_i6);
MR_def_label(recompilation__check__require_recompilation_if_not_up_to_date_6_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(__Compare___libs__timestamp__timestamp_0_0,
		recompilation__check__require_recompilation_if_not_up_to_date_6_0_i7);
MR_def_label(recompilation__check__require_recompilation_if_not_up_to_date_6_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,2)) {
		MR_GOTO_LAB(recompilation__check__require_recompilation_if_not_up_to_date_6_0_i4);
	}
	MR_r1 = MR_sv(3);
	MR_decr_sp_and_return(4);
MR_def_label(recompilation__check__require_recompilation_if_not_up_to_date_6_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 1);
	MR_r3 = MR_tempr1;
	MR_tfield(1, MR_tempr1, 0) = MR_sv(2);
	MR_tempr4 = MR_sv(3);
	MR_tempr2 = MR_tfield(0, MR_tempr4, 7);
	if (MR_INT_NE(MR_tempr2,1)) {
		MR_GOTO_LAB(recompilation__check__require_recompilation_if_not_up_to_date_6_0_i11);
	}
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr3, 1) = MR_tfield(0, MR_tempr4, 8);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 9);
	MR_tfield(0, MR_r1, 0) = MR_tfield(0, MR_tempr4, 0);
	MR_tfield(0, MR_r1, 1) = MR_tfield(0, MR_tempr4, 1);
	MR_tfield(0, MR_r1, 2) = MR_tfield(0, MR_tempr4, 2);
	MR_tfield(0, MR_r1, 3) = MR_tfield(0, MR_tempr4, 3);
	MR_tfield(0, MR_r1, 4) = MR_tfield(0, MR_tempr4, 4);
	MR_tfield(0, MR_r1, 5) = MR_tfield(0, MR_tempr4, 5);
	MR_tfield(0, MR_r1, 6) = MR_tfield(0, MR_tempr4, 6);
	MR_tfield(0, MR_r1, 7) = MR_tempr2;
	MR_tfield(0, MR_r1, 8) = MR_tempr3;
	MR_decr_sp_and_return(4);
	}
MR_def_label(recompilation__check__require_recompilation_if_not_up_to_date_6_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r3;
	MR_tfield(0, MR_tempr1, 1) = MR_sv(3);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_r2 = MR_tempr1;
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(exception__throw_1_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_util__parse_name_and_arity_3_0);

MR_BEGIN_MODULE(recompilation__check_module21)
	MR_init_entry1(recompilation__check__parse_name_and_arity_to_used_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__parse_name_and_arity_to_used_2_0);
	MR_init_label2(recompilation__check__parse_name_and_arity_to_used_2_0,2,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'parse_name_and_arity_to_used'/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_def_static(recompilation__check__parse_name_and_arity_to_used_2_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(1);
	MR_sv(1) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(parse_tree__prog_io_util__parse_name_and_arity_3_0,
		recompilation__check__parse_name_and_arity_to_used_2_0_i2);
MR_def_label(recompilation__check__parse_name_and_arity_to_used_2_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_name_and_arity_to_used_2_0_i1);
	}
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r2;
	MR_tfield(0, MR_tempr1, 1) = MR_r3;
	MR_r2 = MR_tempr1;
	MR_succip_word = MR_sv(1);
	MR_decr_sp(1);
	MR_r1 = MR_TRUE;
	MR_proceed();
	}
MR_def_label(recompilation__check__parse_name_and_arity_to_used_2_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(1);
	MR_decr_sp(1);
	MR_r1 = MR_FALSE;
	MR_proceed();
#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(recompilation__string_to_item_type_2_0);
MR_decl_entry(recompilation__is_simple_item_type_1_0);
MR_decl_entry(fn__recompilation__update_simple_item_set_3_0);
MR_decl_entry(recompilation__is_pred_or_func_item_type_1_0);
MR_decl_entry(fn__recompilation__update_pred_or_func_set_3_0);

MR_BEGIN_MODULE(recompilation__check_module22)
	MR_init_entry1(recompilation__check__parse_used_item_set_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__parse_used_item_set_4_0);
	MR_init_label10(recompilation__check__parse_used_item_set_4_0,6,10,15,18,8,33,41,44,31,61)
	MR_init_label7(recompilation__check__parse_used_item_set_4_0,64,54,66,67,2,3,73)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'parse_used_item_set'/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_def_static(recompilation__check__parse_used_item_set_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(12);
	MR_sv(12) = (MR_Word) MR_succip;
	if (MR_PTAG_TESTR(MR_r2,0)) {
		MR_GOTO_LAB(recompilation__check__parse_used_item_set_4_0_i3);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(0, MR_r2, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_used_item_set_4_0_i3);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(4) = MR_tfield(0, MR_tempr1, 0);
	MR_sv(5) = MR_tfield(0, MR_r2, 1);
	MR_r1 = MR_sv(4);
	}
	MR_np_call_localret_ent(recompilation__string_to_item_type_2_0,
		recompilation__check__parse_used_item_set_4_0_i6);
MR_def_label(recompilation__check__parse_used_item_set_4_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_used_item_set_4_0_i2);
	}
	MR_sv(6) = MR_r2;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(recompilation__is_simple_item_type_1_0,
		recompilation__check__parse_used_item_set_4_0_i10);
MR_def_label(recompilation__check__parse_used_item_set_4_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_used_item_set_4_0_i8);
	}
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(3,3);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__parse_simple_item_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_sv(1) = MR_tempr1;
	MR_sv(2) = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_sv(4) = (MR_Word) MR_INT_CTOR_ADDR;
	MR_sv(7) = (MR_Word) MR_CTOR_ADDR(pair, pair, 2);
	MR_sv(8) = (MR_Word) MR_TAG_COMMON(0,5,1);
	MR_sv(9) = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_sv(10) = (MR_Word) MR_CTOR_ADDR(tree234, tree234, 2);
	MR_sv(11) = (MR_Word) MR_TAG_COMMON(0,5,2);
	MR_r1 = MR_sv(8);
	MR_r2 = MR_sv(11);
	}
	MR_np_call_localret_ent(fn__map__init_0_0,
		recompilation__check__parse_used_item_set_4_0_i15);
MR_def_label(recompilation__check__parse_used_item_set_4_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,5,3);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,25);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_sv(5);
	MR_r5 = MR_tempr2;
	}
	MR_np_call_localret_ent(list__foldl_4_0,
		recompilation__check__parse_used_item_set_4_0_i18);
MR_def_label(recompilation__check__parse_used_item_set_4_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,5,7);
	MR_r3 = (MR_Word) MR_TAG_COMMON(0,5,10);
	MR_r4 = MR_sv(3);
	MR_r5 = MR_sv(6);
	MR_r6 = MR_tempr1;
	MR_succip_word = MR_sv(12);
	MR_decr_sp(12);
	MR_np_tailcall_ent(fn__recompilation__update_simple_item_set_3_0);
	}
MR_def_label(recompilation__check__parse_used_item_set_4_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(6);
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(recompilation__is_pred_or_func_item_type_1_0,
		recompilation__check__parse_used_item_set_4_0_i33);
MR_def_label(recompilation__check__parse_used_item_set_4_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_used_item_set_4_0_i31);
	}
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(3,4);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__parse_pred_or_func_item_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_sv(1) = MR_tempr1;
	MR_sv(2) = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_sv(4) = (MR_Word) MR_CTOR_ADDR(pair, pair, 2);
	MR_sv(7) = (MR_Word) MR_TAG_COMMON(0,0,2);
	MR_r1 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r2 = MR_sv(7);
	}
	MR_np_call_localret_ent(fn__map__init_0_0,
		recompilation__check__parse_used_item_set_4_0_i41);
MR_def_label(recompilation__check__parse_used_item_set_4_0,41)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,5,7);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,25);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_sv(5);
	MR_r5 = MR_tempr2;
	}
	MR_np_call_localret_ent(list__foldl_4_0,
		recompilation__check__parse_used_item_set_4_0_i44);
MR_def_label(recompilation__check__parse_used_item_set_4_0,44)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,3);
	MR_r2 = MR_sv(1);
	MR_r3 = (MR_Word) MR_TAG_COMMON(0,5,10);
	MR_r4 = MR_sv(3);
	MR_r5 = MR_sv(6);
	MR_r6 = MR_tempr1;
	MR_succip_word = MR_sv(12);
	MR_decr_sp(12);
	MR_np_tailcall_ent(fn__recompilation__update_pred_or_func_set_3_0);
	}
MR_def_label(recompilation__check__parse_used_item_set_4_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(6);
	if (MR_INT_NE(MR_r2,5)) {
		MR_GOTO_LAB(recompilation__check__parse_used_item_set_4_0_i54);
	}
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(3,5);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__parse_functor_item_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_sv(1) = MR_tempr1;
	MR_sv(2) = (MR_Word) MR_TAG_COMMON(0,0,4);
	MR_r1 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r2 = MR_sv(2);
	}
	MR_np_call_localret_ent(fn__map__init_0_0,
		recompilation__check__parse_used_item_set_4_0_i61);
MR_def_label(recompilation__check__parse_used_item_set_4_0,61)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,25);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,5,10);
	MR_r3 = MR_sv(1);
	MR_r4 = MR_sv(5);
	MR_r5 = MR_tempr1;
	}
	MR_np_call_localret_ent(list__foldl_4_0,
		recompilation__check__parse_used_item_set_4_0_i64);
MR_def_label(recompilation__check__parse_used_item_set_4_0,64)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 10);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_tfield(0, MR_r2, 0) = MR_tfield(0, MR_tempr1, 0);
	MR_tfield(0, MR_r2, 1) = MR_tfield(0, MR_tempr1, 1);
	MR_tfield(0, MR_r2, 2) = MR_tfield(0, MR_tempr1, 2);
	MR_tfield(0, MR_r2, 3) = MR_tfield(0, MR_tempr1, 3);
	MR_tfield(0, MR_r2, 4) = MR_tfield(0, MR_tempr1, 4);
	MR_tfield(0, MR_r2, 5) = MR_r1;
	MR_tfield(0, MR_r2, 6) = MR_tfield(0, MR_tempr1, 6);
	MR_tfield(0, MR_r2, 7) = MR_tfield(0, MR_tempr1, 7);
	MR_tfield(0, MR_r2, 8) = MR_tfield(0, MR_tempr1, 8);
	MR_tfield(0, MR_r2, 9) = MR_tfield(0, MR_tempr1, 9);
	MR_r1 = MR_r2;
	MR_decr_sp_and_return(12);
	}
MR_def_label(recompilation__check__parse_used_item_set_4_0,54)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__parse_used_item_set_4_0_i66);
MR_def_label(recompilation__check__parse_used_item_set_4_0,66)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = (MR_Word) MR_string_const("error in used items: unknown item type: ", 40);
	MR_r2 = MR_sv(4);
	MR_np_call_localret_ent(fn__f_115_116_114_105_110_103_95_95_43_43_2_0,
		recompilation__check__parse_used_item_set_4_0_i67);
MR_def_label(recompilation__check__parse_used_item_set_4_0,67)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_sv(2);
	MR_tfield(2, MR_tempr1, 1) = MR_r1;
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(1);
	MR_succip_word = MR_sv(12);
	MR_decr_sp(12);
	MR_np_tailcall_ent(recompilation__check__throw_syntax_error_2_0);
	}
MR_def_label(recompilation__check__parse_used_item_set_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
MR_def_label(recompilation__check__parse_used_item_set_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__parse_used_item_set_4_0_i73);
MR_def_label(recompilation__check__parse_used_item_set_4_0,73)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in used items", 19);
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(1);
	MR_succip_word = MR_sv(12);
	MR_decr_sp(12);
	MR_np_tailcall_ent(recompilation__check__throw_syntax_error_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__det_insert_4_0);

MR_BEGIN_MODULE(recompilation__check_module23)
	MR_init_entry1(recompilation__check__parse_simple_item_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__parse_simple_item_4_0);
	MR_init_label8(recompilation__check__parse_simple_item_4_0,10,12,13,15,18,2,3,22)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'parse_simple_item'/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_def_static(recompilation__check__parse_simple_item_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(8);
	MR_sv(8) = (MR_Word) MR_succip;
	if (MR_PTAG_TESTR(MR_r2,0)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_4_0_i3);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr1 = MR_tfield(0, MR_r2, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_4_0_i3);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const("-", 1)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_4_0_i3);
	}
	MR_tempr1 = MR_tfield(0, MR_r2, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_4_0_i3);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TEST(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_4_0_i3);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr2, 1);
	if (MR_LTAGS_TESTR(MR_tempr3,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_4_0_i3);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_tfield(1, MR_tempr2, 0);
	MR_sv(4) = MR_r3;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_tfield(1, MR_tempr1, 0);
	}
	MR_np_call_localret_ent(parse_tree__prog_io_util__parse_name_and_arity_3_0,
		recompilation__check__parse_simple_item_4_0_i10);
MR_def_label(recompilation__check__parse_simple_item_4_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_4_0_i2);
	}
	MR_sv(2) = MR_r3;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		recompilation__check__parse_simple_item_4_0_i12);
MR_def_label(recompilation__check__parse_simple_item_4_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_sv(3) = MR_r1;
	MR_sv(6) = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r1 = MR_sv(6);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(parse_tree__prog_io_util__conjunction_to_list_2_0,
		recompilation__check__parse_simple_item_4_0_i13);
MR_def_label(recompilation__check__parse_simple_item_4_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_sv(5) = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(3,6);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__parse_simple_item_match_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_sv(7) = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r1 = MR_sv(7);
	MR_r2 = MR_r1;
	}
	MR_np_call_localret_ent(fn__map__init_0_0,
		recompilation__check__parse_simple_item_4_0_i15);
MR_def_label(recompilation__check__parse_simple_item_4_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,5,2);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,25);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(5);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_tempr2;
	}
	MR_np_call_localret_ent(list__foldl_4_0,
		recompilation__check__parse_simple_item_4_0_i18);
MR_def_label(recompilation__check__parse_simple_item_4_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = MR_sv(3);
	MR_tfield(0, MR_tempr1, 1) = MR_sv(2);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,1);
	MR_r2 = MR_sv(1);
	MR_r4 = MR_tempr2;
	MR_r5 = MR_sv(4);
	MR_succip_word = MR_sv(8);
	MR_decr_sp(8);
	MR_np_tailcall_ent(map__det_insert_4_0);
	}
MR_def_label(recompilation__check__parse_simple_item_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
MR_def_label(recompilation__check__parse_simple_item_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__parse_simple_item_4_0_i22);
MR_def_label(recompilation__check__parse_simple_item_4_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in simple items", 21);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(1);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_tempr1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(8);
	MR_decr_sp(8);
	MR_np_tailcall_ent(exception__throw_1_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_BEGIN_MODULE(recompilation__check_module24)
	MR_init_entry1(recompilation__check__parse_simple_item_match_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__parse_simple_item_match_4_0);
	MR_init_label7(recompilation__check__parse_simple_item_match_4_0,11,13,4,15,17,2,19)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'parse_simple_item_match'/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_def_static(recompilation__check__parse_simple_item_match_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(6);
	MR_sv(6) = (MR_Word) MR_succip;
	if (MR_PTAG_TESTR(MR_r2,0)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_match_4_0_i4);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr1 = MR_tfield(0, MR_r2, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_match_4_0_i4);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const("=>", 2)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_match_4_0_i4);
	}
	MR_tempr1 = MR_tfield(0, MR_r2, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_match_4_0_i4);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TEST(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_match_4_0_i4);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr2, 1);
	if (MR_LTAGS_TESTR(MR_tempr3,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_match_4_0_i4);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_tfield(1, MR_tempr2, 0);
	MR_sv(4) = MR_r3;
	MR_sv(5) = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r1 = MR_sv(5);
	MR_r2 = MR_tfield(1, MR_tempr1, 0);
	}
	MR_np_call_localret_ent(parse_tree__prog_io_sym_name__try_parse_sym_name_and_no_args_2_0,
		recompilation__check__parse_simple_item_match_4_0_i11);
MR_def_label(recompilation__check__parse_simple_item_match_4_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_match_4_0_i2);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_sv(3) = MR_r2;
	MR_r1 = MR_sv(5);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(parse_tree__prog_io_sym_name__try_parse_sym_name_and_no_args_2_0,
		recompilation__check__parse_simple_item_match_4_0_i13);
MR_def_label(recompilation__check__parse_simple_item_match_4_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_match_4_0_i2);
	}
	MR_r3 = MR_sv(3);
	MR_r4 = MR_r2;
	MR_r5 = MR_sv(4);
	MR_GOTO_LAB(recompilation__check__parse_simple_item_match_4_0_i17);
MR_def_label(recompilation__check__parse_simple_item_match_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(4) = MR_r3;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(parse_tree__prog_io_sym_name__try_parse_sym_name_and_no_args_2_0,
		recompilation__check__parse_simple_item_match_4_0_i15);
MR_def_label(recompilation__check__parse_simple_item_match_4_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_simple_item_match_4_0_i2);
	}
	MR_r3 = MR_r2;
	MR_r4 = MR_r2;
	MR_r5 = MR_sv(4);
MR_def_label(recompilation__check__parse_simple_item_match_4_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = MR_r1;
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(map__det_insert_4_0);
MR_def_label(recompilation__check__parse_simple_item_match_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__parse_simple_item_match_4_0_i19);
MR_def_label(recompilation__check__parse_simple_item_match_4_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in simple item match", 26);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(1);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_tempr1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(exception__throw_1_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(list__map_3_0);

MR_BEGIN_MODULE(recompilation__check_module25)
	MR_init_entry1(recompilation__check__parse_pred_or_func_item_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__parse_pred_or_func_item_4_0);
	MR_init_label4(recompilation__check__parse_pred_or_func_item_4_0,14,20,4,23)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'parse_pred_or_func_item'/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_def_static(recompilation__check__parse_pred_or_func_item_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(6);
	MR_sv(6) = (MR_Word) MR_succip;
	if (MR_PTAG_TESTR(MR_r2,0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_4_0_i4);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr1 = MR_tfield(0, MR_r2, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_4_0_i4);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const("-", 1)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_4_0_i4);
	}
	MR_tempr1 = MR_tfield(0, MR_r2, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_4_0_i4);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TEST(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_4_0_i4);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr2, 1);
	if (MR_LTAGS_TESTR(MR_tempr3,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_4_0_i4);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr1, 0);
	if (MR_PTAG_TESTR(MR_tempr3,0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_4_0_i4);
	}
	MR_tempr1 = MR_tfield(0, MR_tempr3, 1);
	if (MR_LTAGS_TESTR(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_4_0_i4);
	}
	MR_tempr1 = MR_tfield(0, MR_tempr3, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_4_0_i4);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r3;
	MR_sv(3) = MR_tfield(0, MR_tempr1, 0);
	MR_sv(4) = (MR_Word) MR_TAG_COMMON(0,0,1);
	MR_sv(5) = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r1 = MR_sv(5);
	MR_r2 = MR_tfield(1, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(parse_tree__prog_io_util__conjunction_to_list_2_0,
		recompilation__check__parse_pred_or_func_item_4_0_i14);
MR_def_label(recompilation__check__parse_pred_or_func_item_4_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 6);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(15,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__parse_resolved_item_arity_matches_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 3;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(4);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 5) = (MR_Word) MR_TAG_COMMON(0,9,4);
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,5,6);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,25);
	MR_r2 = MR_sv(1);
	MR_r4 = MR_tempr2;
	}
	MR_np_call_localret_ent(list__map_3_0,
		recompilation__check__parse_pred_or_func_item_4_0_i20);
MR_def_label(recompilation__check__parse_pred_or_func_item_4_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,2);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_sv(2);
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(map__det_insert_4_0);
	}
MR_def_label(recompilation__check__parse_pred_or_func_item_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__parse_pred_or_func_item_4_0_i23);
MR_def_label(recompilation__check__parse_pred_or_func_item_4_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in resolved item matches", 30);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(1);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_tempr1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(exception__throw_1_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(fn__hlds__hlds_pred__invalid_pred_id_0_0);

MR_BEGIN_MODULE(recompilation__check_module26)
	MR_init_entry1(recompilation__check__parse_pred_or_func_item_match_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__parse_pred_or_func_item_match_4_0);
	MR_init_label10(recompilation__check__parse_pred_or_func_item_match_4_0,2,12,14,18,5,20,24,26,4,29)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'parse_pred_or_func_item_match'/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_def_static(recompilation__check__parse_pred_or_func_item_match_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(7);
	MR_sv(7) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(5) = MR_r3;
	MR_np_call_localret_ent(fn__hlds__hlds_pred__invalid_pred_id_0_0,
		recompilation__check__parse_pred_or_func_item_match_4_0_i2);
MR_def_label(recompilation__check__parse_pred_or_func_item_match_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_match_4_0_i5);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tempr4 = MR_sv(2);
	MR_tempr1 = MR_tfield(0, MR_tempr4, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_match_4_0_i5);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const("=>", 2)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_match_4_0_i5);
	}
	MR_tempr1 = MR_tfield(0, MR_tempr4, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_match_4_0_i5);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TEST(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_match_4_0_i5);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr2, 1);
	if (MR_LTAGS_TESTR(MR_tempr3,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_match_4_0_i5);
	}
	MR_sv(3) = MR_r1;
	MR_sv(4) = MR_tfield(1, MR_tempr2, 0);
	MR_sv(6) = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r1 = MR_sv(6);
	MR_r2 = MR_tfield(1, MR_tempr1, 0);
	}
	MR_np_call_localret_ent(parse_tree__prog_io_sym_name__try_parse_sym_name_and_no_args_2_0,
		recompilation__check__parse_pred_or_func_item_match_4_0_i12);
MR_def_label(recompilation__check__parse_pred_or_func_item_match_4_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_match_4_0_i4);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(4);
	MR_sv(4) = MR_r2;
	MR_r1 = MR_sv(6);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(parse_tree__prog_io_util__conjunction_to_list_2_0,
		recompilation__check__parse_pred_or_func_item_match_4_0_i14);
MR_def_label(recompilation__check__parse_pred_or_func_item_match_4_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(16,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__IntroducedFrom__pred__parse_pred_or_func_item_match__496__1_3_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(3);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,25);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,5,4);
	MR_r4 = MR_tempr2;
	}
	MR_np_call_localret_ent(list__map_3_2,
		recompilation__check__parse_pred_or_func_item_match_4_0_i18);
MR_def_label(recompilation__check__parse_pred_or_func_item_match_4_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_match_4_0_i4);
	}
	MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_match_4_0_i24);
MR_def_label(recompilation__check__parse_pred_or_func_item_match_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(parse_tree__prog_io_sym_name__try_parse_sym_name_and_no_args_2_0,
		recompilation__check__parse_pred_or_func_item_match_4_0_i20);
MR_def_label(recompilation__check__parse_pred_or_func_item_match_4_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_pred_or_func_item_match_4_0_i4);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(3);
	MR_tfield(0, MR_tempr1, 1) = MR_r2;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_sv(4) = MR_r2;
	MR_r2 = MR_tempr2;
	}
MR_def_label(recompilation__check__parse_pred_or_func_item_match_4_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_sv(2) = (MR_Word) MR_TAG_COMMON(0,5,4);
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(fn__set__list_to_set_1_0,
		recompilation__check__parse_pred_or_func_item_match_4_0_i26);
MR_def_label(recompilation__check__parse_pred_or_func_item_match_4_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,1);
	MR_r3 = MR_sv(4);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_sv(5);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(map__det_insert_4_0);
	}
MR_def_label(recompilation__check__parse_pred_or_func_item_match_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__parse_pred_or_func_item_match_4_0_i29);
MR_def_label(recompilation__check__parse_pred_or_func_item_match_4_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in pred or func match", 27);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(1);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_tempr1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(exception__throw_1_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_BEGIN_MODULE(recompilation__check_module27)
	MR_init_entry1(recompilation__check__parse_functor_item_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__parse_functor_item_4_0);
	MR_init_label4(recompilation__check__parse_functor_item_4_0,13,19,3,22)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'parse_functor_item'/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_def_static(recompilation__check__parse_functor_item_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(6);
	MR_sv(6) = (MR_Word) MR_succip;
	if (MR_PTAG_TESTR(MR_r2,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_item_4_0_i3);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr1 = MR_tfield(0, MR_r2, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_item_4_0_i3);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const("-", 1)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_item_4_0_i3);
	}
	MR_tempr1 = MR_tfield(0, MR_r2, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_item_4_0_i3);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TEST(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_item_4_0_i3);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr2, 1);
	if (MR_LTAGS_TESTR(MR_tempr3,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_item_4_0_i3);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr1, 0);
	if (MR_PTAG_TESTR(MR_tempr3,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_item_4_0_i3);
	}
	MR_tempr1 = MR_tfield(0, MR_tempr3, 1);
	if (MR_LTAGS_TESTR(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_item_4_0_i3);
	}
	MR_tempr1 = MR_tfield(0, MR_tempr3, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_item_4_0_i3);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r3;
	MR_sv(3) = MR_tfield(0, MR_tempr1, 0);
	MR_sv(4) = (MR_Word) MR_TAG_COMMON(0,0,3);
	MR_sv(5) = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r1 = MR_sv(5);
	MR_r2 = MR_tfield(1, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(parse_tree__prog_io_util__conjunction_to_list_2_0,
		recompilation__check__parse_functor_item_4_0_i13);
MR_def_label(recompilation__check__parse_functor_item_4_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 6);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(15,1);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__parse_resolved_item_arity_matches_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 3;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(4);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 5) = (MR_Word) MR_TAG_COMMON(0,9,5);
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,5,9);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,25);
	MR_r2 = MR_sv(1);
	MR_r4 = MR_tempr2;
	}
	MR_np_call_localret_ent(list__map_3_0,
		recompilation__check__parse_functor_item_4_0_i19);
MR_def_label(recompilation__check__parse_functor_item_4_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,4);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_sv(2);
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(map__det_insert_4_0);
	}
MR_def_label(recompilation__check__parse_functor_item_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__parse_functor_item_4_0_i22);
MR_def_label(recompilation__check__parse_functor_item_4_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in resolved item matches", 30);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(1);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_tempr1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(exception__throw_1_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_BEGIN_MODULE(recompilation__check_module28)
	MR_init_entry1(recompilation__check__parse_functor_matches_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__parse_functor_matches_4_0);
	MR_init_label7(recompilation__check__parse_functor_matches_4_0,10,12,15,16,2,3,19)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'parse_functor_matches'/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_def_static(recompilation__check__parse_functor_matches_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	if (MR_PTAG_TESTR(MR_r2,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_matches_4_0_i3);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr1 = MR_tfield(0, MR_r2, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_matches_4_0_i3);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const("=>", 2)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_matches_4_0_i3);
	}
	MR_tempr1 = MR_tfield(0, MR_r2, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_matches_4_0_i3);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TEST(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_matches_4_0_i3);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr2, 1);
	if (MR_LTAGS_TESTR(MR_tempr3,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_matches_4_0_i3);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_tfield(1, MR_tempr2, 0);
	MR_sv(4) = MR_r3;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_tfield(1, MR_tempr1, 0);
	}
	MR_np_call_localret_ent(parse_tree__prog_io_sym_name__try_parse_sym_name_and_no_args_2_0,
		recompilation__check__parse_functor_matches_4_0_i10);
MR_def_label(recompilation__check__parse_functor_matches_4_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_functor_matches_4_0_i2);
	}
	MR_sv(2) = MR_r2;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_sv(3) = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r1 = MR_sv(3);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(parse_tree__prog_io_util__conjunction_to_list_2_0,
		recompilation__check__parse_functor_matches_4_0_i12);
MR_def_label(recompilation__check__parse_functor_matches_4_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(16,1);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__parse_resolved_functor_3_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_sv(1) = (MR_Word) MR_CTOR0_ADDR(recompilation__usage, resolved_functor);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,25);
	MR_r2 = MR_sv(1);
	MR_r4 = MR_tempr2;
	}
	MR_np_call_localret_ent(list__map_3_0,
		recompilation__check__parse_functor_matches_4_0_i15);
MR_def_label(recompilation__check__parse_functor_matches_4_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__set__list_to_set_1_0,
		recompilation__check__parse_functor_matches_4_0_i16);
MR_def_label(recompilation__check__parse_functor_matches_4_0,16)
	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_TAG_COMMON(0,0,3);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_sv(4);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(map__det_insert_4_0);
	}
MR_def_label(recompilation__check__parse_functor_matches_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
MR_def_label(recompilation__check__parse_functor_matches_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__parse_functor_matches_4_0_i19);
MR_def_label(recompilation__check__parse_functor_matches_4_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in functor match", 22);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(1);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_tempr1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(exception__throw_1_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_BEGIN_MODULE(recompilation__check_module29)
	MR_init_entry1(recompilation__check__parse_resolved_functor_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__parse_resolved_functor_3_0);
	MR_init_label10(recompilation__check__parse_resolved_functor_3_0,10,12,17,2,3,26,19,20,38,40)
	MR_init_label3(recompilation__check__parse_resolved_functor_3_0,30,31,45)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'parse_resolved_functor'/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_def_static(recompilation__check__parse_resolved_functor_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	if (MR_PTAG_TESTR(MR_r2,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i3);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr1 = MR_tfield(0, MR_r2, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i3);
	}
	MR_tempr2 = MR_tfield(0, MR_r2, 1);
	MR_r4 = MR_tempr2;
	if (MR_LTAGS_TEST(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i3);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr2, 1);
	MR_r5 = MR_tempr3;
	if (MR_LTAGS_TEST(MR_tempr3,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i3);
	}
	MR_r6 = MR_tfield(1, MR_tempr3, 1);
	if (MR_LTAGS_TESTR(MR_r6,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i3);
	}
	MR_r6 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_r6, MR_string_const("function", 8)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i10);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_r2 = MR_tfield(1, MR_tempr2, 0);
	MR_sv(3) = MR_tfield(1, MR_tempr3, 0);
	MR_sv(4) = (MR_Integer) 1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	}
	MR_np_call_localret_ent(parse_tree__prog_io_sym_name__try_parse_sym_name_and_no_args_2_0,
		recompilation__check__parse_resolved_functor_3_0_i12);
MR_def_label(recompilation__check__parse_resolved_functor_3_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((strcmp((char *) (MR_Word *) MR_r6, MR_string_const("predicate", 9)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i3);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_r2 = MR_tfield(1, MR_r4, 0);
	MR_sv(3) = MR_tfield(1, MR_r5, 0);
	MR_sv(4) = (MR_Integer) 0;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(parse_tree__prog_io_sym_name__try_parse_sym_name_and_no_args_2_0,
		recompilation__check__parse_resolved_functor_3_0_i12);
MR_def_label(recompilation__check__parse_resolved_functor_3_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i2);
	}
	if (MR_PTAG_TESTR(MR_sv(3),0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i2);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_r1 = MR_tfield(0, MR_tempr1, 1);
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i2);
	}
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i2);
	}
	MR_sv(1) = MR_r2;
	MR_sv(2) = MR_tfield(1, MR_r1, 0);
	}
	MR_np_call_localret_ent(fn__hlds__hlds_pred__invalid_pred_id_0_0,
		recompilation__check__parse_resolved_functor_3_0_i17);
MR_def_label(recompilation__check__parse_resolved_functor_3_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 4);
	MR_tfield(0, MR_r2, 0) = MR_r1;
	MR_tfield(0, MR_r2, 1) = MR_sv(1);
	MR_tfield(0, MR_r2, 2) = MR_sv(4);
	MR_tfield(0, MR_r2, 3) = MR_sv(2);
	MR_r1 = MR_r2;
	MR_decr_sp_and_return(5);
MR_def_label(recompilation__check__parse_resolved_functor_3_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
MR_def_label(recompilation__check__parse_resolved_functor_3_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r2,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i20);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(0, MR_r2, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i20);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const("ctor", 4)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i20);
	}
	MR_tempr1 = MR_tfield(0, MR_r2, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i20);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TESTR(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i20);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_tfield(1, MR_tempr1, 0);
	}
	MR_np_call_localret_ent(parse_tree__prog_io_util__parse_name_and_arity_3_0,
		recompilation__check__parse_resolved_functor_3_0_i26);
MR_def_label(recompilation__check__parse_resolved_functor_3_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i19);
	}
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r2;
	MR_tfield(0, MR_tempr1, 1) = MR_r3;
	MR_tag_alloc_heap(MR_r1, 1, (MR_Integer) 1);
	MR_tfield(1, MR_r1, 0) = MR_tempr1;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__parse_resolved_functor_3_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
MR_def_label(recompilation__check__parse_resolved_functor_3_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r2,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i31);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr1 = MR_tfield(0, MR_r2, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i31);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const("field", 5)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i31);
	}
	MR_tempr1 = MR_tfield(0, MR_r2, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i31);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TEST(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i31);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr2, 1);
	if (MR_LTAGS_TESTR(MR_tempr3,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i31);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_tfield(1, MR_tempr2, 0);
	MR_sv(4) = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r1 = MR_sv(4);
	MR_r2 = MR_tfield(1, MR_tempr1, 0);
	}
	MR_np_call_localret_ent(parse_tree__prog_io_util__parse_name_and_arity_3_0,
		recompilation__check__parse_resolved_functor_3_0_i38);
MR_def_label(recompilation__check__parse_resolved_functor_3_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i30);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_sv(3) = MR_r2;
	MR_sv(4) = MR_r3;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(parse_tree__prog_io_util__parse_name_and_arity_3_0,
		recompilation__check__parse_resolved_functor_3_0_i40);
MR_def_label(recompilation__check__parse_resolved_functor_3_0,40)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_functor_3_0_i30);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(3);
	MR_tfield(0, MR_tempr1, 1) = MR_sv(4);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr2, 0) = MR_r2;
	MR_tfield(0, MR_tempr2, 1) = MR_r3;
	MR_tag_alloc_heap(MR_r1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_r1, 0) = MR_tempr1;
	MR_tfield(2, MR_r1, 1) = MR_tempr2;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__parse_resolved_functor_3_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
MR_def_label(recompilation__check__parse_resolved_functor_3_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__parse_resolved_functor_3_0_i45);
MR_def_label(recompilation__check__parse_resolved_functor_3_0,45)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in functor match", 22);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(1);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_tempr1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(exception__throw_1_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_BEGIN_MODULE(recompilation__check_module30)
	MR_init_entry1(recompilation__check__parse_resolved_item_arity_matches_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__parse_resolved_item_arity_matches_4_0);
	MR_init_label5(recompilation__check__parse_resolved_item_arity_matches_4_0,13,15,18,3,20)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'parse_resolved_item_arity_matches'/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_def_static(recompilation__check__parse_resolved_item_arity_matches_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(6);
	MR_sv(6) = (MR_Word) MR_succip;
	if (MR_PTAG_TESTR(MR_r4,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_item_arity_matches_4_0_i3);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tempr4 = MR_r4;
	MR_tempr1 = MR_tfield(0, MR_tempr4, 0);
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_item_arity_matches_4_0_i3);
	}
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr2, MR_string_const("-", 1)) != 0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_item_arity_matches_4_0_i3);
	}
	MR_tempr1 = MR_tfield(0, MR_tempr4, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_item_arity_matches_4_0_i3);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TEST(MR_tempr2,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_item_arity_matches_4_0_i3);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr2, 1);
	if (MR_LTAGS_TESTR(MR_tempr3,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_item_arity_matches_4_0_i3);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr1, 0);
	if (MR_PTAG_TESTR(MR_tempr3,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_item_arity_matches_4_0_i3);
	}
	MR_tempr1 = MR_tfield(0, MR_tempr3, 1);
	if (MR_LTAGS_TESTR(MR_tempr1,0,0)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_item_arity_matches_4_0_i3);
	}
	MR_tempr1 = MR_tfield(0, MR_tempr3, 0);
	if (MR_PTAG_TESTR(MR_tempr1,1)) {
		MR_GOTO_LAB(recompilation__check__parse_resolved_item_arity_matches_4_0_i3);
	}
	MR_sv(1) = MR_r2;
	MR_sv(2) = MR_r3;
	MR_sv(3) = MR_tempr4;
	MR_sv(4) = MR_tfield(1, MR_tempr1, 0);
	MR_sv(5) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_tfield(1, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(parse_tree__prog_io_util__conjunction_to_list_2_0,
		recompilation__check__parse_resolved_item_arity_matches_4_0_i13);
MR_def_label(recompilation__check__parse_resolved_item_arity_matches_4_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 6);
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(11,4);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__IntroducedFrom__pred__parse_resolved_item_arity_matches__611__1_6_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 3;
	MR_tempr2 = MR_sv(5);
	MR_tfield(0, MR_tempr1, 3) = MR_tempr2;
	MR_tfield(0, MR_tempr1, 4) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 5) = MR_sv(2);
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_tempr1;
	MR_sv(3) = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r1 = MR_sv(3);
	MR_r2 = MR_tempr2;
	}
	MR_np_call_localret_ent(fn__map__init_0_0,
		recompilation__check__parse_resolved_item_arity_matches_4_0_i15);
MR_def_label(recompilation__check__parse_resolved_item_arity_matches_4_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r2, 0) = (MR_Word) MR_CTOR_ADDR(tree234, tree234, 2);
	MR_tfield(0, MR_r2, 1) = MR_sv(3);
	MR_tfield(0, MR_r2, 2) = MR_sv(5);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,25);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_sv(1);
	MR_r5 = MR_tempr1;
	}
	MR_np_call_localret_ent(list__foldl_4_0,
		recompilation__check__parse_resolved_item_arity_matches_4_0_i18);
MR_def_label(recompilation__check__parse_resolved_item_arity_matches_4_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_sv(4);
	MR_tfield(0, MR_r2, 1) = MR_r1;
	MR_r1 = MR_r2;
	MR_decr_sp_and_return(6);
MR_def_label(recompilation__check__parse_resolved_item_arity_matches_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_r4;
	MR_np_call_localret_ent(fn__term__get_term_context_1_0,
		recompilation__check__parse_resolved_item_arity_matches_4_0_i20);
MR_def_label(recompilation__check__parse_resolved_item_arity_matches_4_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr1, 0) = MR_r1;
	MR_tfield(2, MR_tempr1, 1) = (MR_Word) MR_string_const("error in resolved item matches", 30);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 9);
	MR_tempr3 = MR_sv(1);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_tempr2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_tempr1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(exception__throw_1_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(fn__recompilation__extract_ids_2_0);

MR_BEGIN_MODULE(recompilation__check_module31)
	MR_init_entry1(recompilation__check__check_item_version_numbers_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_item_version_numbers_6_0);
	MR_init_label2(recompilation__check__check_item_version_numbers_6_0,4,6)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_item_version_numbers'/6 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(recompilation__check__check_item_version_numbers_6_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(8);
	MR_sv(8) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r4;
	MR_sv(3) = MR_tempr1;
	MR_sv(4) = MR_r5;
	MR_sv(5) = (MR_Word) MR_TAG_COMMON(0,5,1);
	MR_sv(6) = (MR_Word) MR_CTOR0_ADDR(libs__timestamp, timestamp);
	MR_sv(7) = (MR_Word) MR_TAG_COMMON(0,5,31);
	MR_r1 = MR_sv(7);
	MR_r2 = MR_r3;
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__recompilation__extract_ids_2_0,
		recompilation__check__check_item_version_numbers_6_0_i4);
MR_def_label(recompilation__check__check_item_version_numbers_6_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 6);
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(2,1);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_item_version_number_7_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 3;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 4) = MR_r1;
	MR_tempr2 = MR_sv(3);
	MR_tfield(0, MR_tempr1, 5) = MR_tempr2;
	MR_sv(1) = MR_tempr1;
	MR_r1 = MR_sv(7);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_tempr2;
	}
	MR_np_call_localret_ent(fn__recompilation__extract_ids_2_0,
		recompilation__check__check_item_version_numbers_6_0_i6);
MR_def_label(recompilation__check__check_item_version_numbers_6_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(6);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r4 = MR_sv(1);
	MR_r5 = MR_tempr1;
	MR_r6 = MR_sv(4);
	MR_succip_word = MR_sv(8);
	MR_decr_sp(8);
	MR_np_tailcall_ent(map__foldl_4_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__search_3_0);

MR_BEGIN_MODULE(recompilation__check_module32)
	MR_init_entry1(recompilation__check__check_item_version_number_7_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_item_version_number_7_0);
	MR_init_label5(recompilation__check__check_item_version_number_7_0,4,8,7,15,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_item_version_number'/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(recompilation__check__check_item_version_number_7_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_r3;
	MR_sv(3) = MR_r4;
	MR_sv(4) = MR_r5;
	MR_sv(5) = MR_r6;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,1);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(libs__timestamp, timestamp);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(map__search_3_0,
		recompilation__check__check_item_version_number_7_0_i4);
MR_def_label(recompilation__check__check_item_version_number_7_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_item_version_number_7_0_i2);
	}
	MR_r1 = MR_r2;
	MR_r2 = MR_sv(4);
	MR_np_call_localret_ent(__Unify___libs__timestamp__timestamp_0_0,
		recompilation__check__check_item_version_number_7_0_i8);
MR_def_label(recompilation__check__check_item_version_number_7_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_item_version_number_7_0_i7);
	}
	MR_r1 = MR_sv(5);
	MR_decr_sp_and_return(6);
MR_def_label(recompilation__check__check_item_version_number_7_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_sv(1);
	MR_tempr5 = MR_sv(3);
	MR_tfield(1, MR_tempr1, 1) = MR_tfield(0, MR_tempr5, 0);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 2);
	MR_r4 = MR_tempr2;
	MR_tfield(0, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr5, 1);
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(2);
	MR_tfield(0, MR_tempr1, 1) = MR_tempr2;
	MR_tag_alloc_heap(MR_tempr3, 3, (MR_Integer) 2);
	MR_r4 = MR_tempr3;
	MR_tfield(3, MR_tempr3, 0) = (MR_Integer) 4;
	MR_tfield(3, MR_tempr3, 1) = MR_tempr1;
	MR_tempr6 = MR_sv(5);
	MR_tempr1 = MR_tfield(0, MR_tempr6, 7);
	if (MR_INT_NE(MR_tempr1,1)) {
		MR_GOTO_LAB(recompilation__check__check_item_version_number_7_0_i15);
	}
	MR_tag_alloc_heap(MR_tempr4, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr4, 0) = MR_tempr3;
	MR_tfield(1, MR_tempr4, 1) = MR_tfield(0, MR_tempr6, 8);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 9);
	MR_tfield(0, MR_r1, 0) = MR_tfield(0, MR_tempr6, 0);
	MR_tfield(0, MR_r1, 1) = MR_tfield(0, MR_tempr6, 1);
	MR_tfield(0, MR_r1, 2) = MR_tfield(0, MR_tempr6, 2);
	MR_tfield(0, MR_r1, 3) = MR_tfield(0, MR_tempr6, 3);
	MR_tfield(0, MR_r1, 4) = MR_tfield(0, MR_tempr6, 4);
	MR_tfield(0, MR_r1, 5) = MR_tfield(0, MR_tempr6, 5);
	MR_tfield(0, MR_r1, 6) = MR_tfield(0, MR_tempr6, 6);
	MR_tfield(0, MR_r1, 7) = MR_tempr1;
	MR_tfield(0, MR_r1, 8) = MR_tempr4;
	MR_decr_sp_and_return(6);
	}
MR_def_label(recompilation__check__check_item_version_number_7_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_r4;
	MR_tfield(0, MR_r2, 1) = MR_sv(5);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(exception__throw_1_0);
MR_def_label(recompilation__check__check_item_version_number_7_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_sv(1);
	MR_tempr3 = MR_sv(3);
	MR_tfield(1, MR_tempr1, 1) = MR_tfield(0, MR_tempr3, 0);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(2);
	MR_tfield(0, MR_tempr1, 1) = MR_tempr2;
	MR_tag_alloc_heap(MR_r1, 3, (MR_Integer) 2);
	MR_tfield(3, MR_r1, 0) = (MR_Integer) 5;
	MR_tfield(3, MR_r1, 1) = MR_tempr1;
	MR_r2 = MR_sv(5);
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(recompilation__check__record_recompilation_reason_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_BEGIN_MODULE(recompilation__check_module33)
	MR_init_entry1(recompilation__check__check_instance_version_number_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_instance_version_number_6_0);
	MR_init_label5(recompilation__check__check_instance_version_number_6_0,3,7,6,2,19)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_instance_version_number'/6 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(recompilation__check__check_instance_version_number_6_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r3;
	MR_sv(3) = MR_r4;
	MR_sv(4) = MR_r5;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation, item_name);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(libs__timestamp, timestamp);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_sv(2);
	}
	MR_np_call_localret_ent(map__search_3_0,
		recompilation__check__check_instance_version_number_6_0_i3);
MR_def_label(recompilation__check__check_instance_version_number_6_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_instance_version_number_6_0_i2);
	}
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(__Unify___libs__timestamp__timestamp_0_0,
		recompilation__check__check_instance_version_number_6_0_i7);
MR_def_label(recompilation__check__check_instance_version_number_6_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_instance_version_number_6_0_i6);
	}
	MR_r1 = MR_sv(4);
	MR_decr_sp_and_return(5);
MR_def_label(recompilation__check__check_instance_version_number_6_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 3, (MR_Integer) 3);
	MR_r3 = MR_tempr1;
	MR_tfield(3, MR_tempr1, 0) = (MR_Integer) 6;
	MR_tfield(3, MR_tempr1, 1) = MR_sv(1);
	MR_tfield(3, MR_tempr1, 2) = MR_sv(2);
	MR_tempr4 = MR_sv(4);
	MR_tempr2 = MR_tfield(0, MR_tempr4, 7);
	if (MR_INT_NE(MR_tempr2,1)) {
		MR_GOTO_LAB(recompilation__check__check_instance_version_number_6_0_i19);
	}
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr3, 1) = MR_tfield(0, MR_tempr4, 8);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 9);
	MR_tfield(0, MR_r1, 0) = MR_tfield(0, MR_tempr4, 0);
	MR_tfield(0, MR_r1, 1) = MR_tfield(0, MR_tempr4, 1);
	MR_tfield(0, MR_r1, 2) = MR_tfield(0, MR_tempr4, 2);
	MR_tfield(0, MR_r1, 3) = MR_tfield(0, MR_tempr4, 3);
	MR_tfield(0, MR_r1, 4) = MR_tfield(0, MR_tempr4, 4);
	MR_tfield(0, MR_r1, 5) = MR_tfield(0, MR_tempr4, 5);
	MR_tfield(0, MR_r1, 6) = MR_tfield(0, MR_tempr4, 6);
	MR_tfield(0, MR_r1, 7) = MR_tempr2;
	MR_tfield(0, MR_r1, 8) = MR_tempr3;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__check_instance_version_number_6_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 3, (MR_Integer) 3);
	MR_r3 = MR_tempr1;
	MR_tfield(3, MR_tempr1, 0) = (MR_Integer) 7;
	MR_tfield(3, MR_tempr1, 1) = MR_sv(1);
	MR_tfield(3, MR_tempr1, 2) = MR_sv(2);
	MR_tempr4 = MR_sv(4);
	MR_tempr2 = MR_tfield(0, MR_tempr4, 7);
	if (MR_INT_NE(MR_tempr2,1)) {
		MR_GOTO_LAB(recompilation__check__check_instance_version_number_6_0_i19);
	}
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr3, 1) = MR_tfield(0, MR_tempr4, 8);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 9);
	MR_tfield(0, MR_r1, 0) = MR_tfield(0, MR_tempr4, 0);
	MR_tfield(0, MR_r1, 1) = MR_tfield(0, MR_tempr4, 1);
	MR_tfield(0, MR_r1, 2) = MR_tfield(0, MR_tempr4, 2);
	MR_tfield(0, MR_r1, 3) = MR_tfield(0, MR_tempr4, 3);
	MR_tfield(0, MR_r1, 4) = MR_tfield(0, MR_tempr4, 4);
	MR_tfield(0, MR_r1, 5) = MR_tfield(0, MR_tempr4, 5);
	MR_tfield(0, MR_r1, 6) = MR_tfield(0, MR_tempr4, 6);
	MR_tfield(0, MR_r1, 7) = MR_tempr2;
	MR_tfield(0, MR_r1, 8) = MR_tempr3;
	MR_decr_sp_and_return(5);
	}
MR_def_label(recompilation__check__check_instance_version_number_6_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_r3;
	MR_tfield(0, MR_r2, 1) = MR_sv(4);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(exception__throw_1_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_BEGIN_MODULE(recompilation__check_module34)
	MR_init_entry1(recompilation__check__item_is_new_or_changed_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__item_is_new_or_changed_5_0);
	MR_init_label5(recompilation__check__item_is_new_or_changed_5_0,2,6,8,10,11)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'item_is_new_or_changed'/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(recompilation__check__item_is_new_or_changed_5_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(4) = MR_r5;
	MR_r1 = MR_r4;
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		recompilation__check__item_is_new_or_changed_5_0_i2);
MR_def_label(recompilation__check__item_is_new_or_changed_5_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_tempr2 = MR_sv(3);
	MR_sv(3) = (MR_Word) MR_TAG_COMMON(0,5,1);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,31);
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	}
	MR_np_call_localret_ent(fn__recompilation__extract_ids_2_0,
		recompilation__check__item_is_new_or_changed_5_0_i6);
MR_def_label(recompilation__check__item_is_new_or_changed_5_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = MR_sv(2);
	MR_tfield(0, MR_tempr1, 1) = MR_sv(4);
	MR_tempr2 = MR_r1;
	MR_r1 = MR_sv(3);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(libs__timestamp, timestamp);
	MR_r3 = MR_tempr2;
	}
	MR_np_call_localret_ent(map__search_3_0,
		recompilation__check__item_is_new_or_changed_5_0_i8);
MR_def_label(recompilation__check__item_is_new_or_changed_5_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__item_is_new_or_changed_5_0_i11);
	}
	MR_r1 = MR_r2;
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(__Compare___libs__timestamp__timestamp_0_0,
		recompilation__check__item_is_new_or_changed_5_0_i10);
MR_def_label(recompilation__check__item_is_new_or_changed_5_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = ((MR_Integer) 2 == (MR_Integer) MR_r1);
	MR_decr_sp_and_return(5);
MR_def_label(recompilation__check__item_is_new_or_changed_5_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_r1 = MR_TRUE;
	MR_proceed();
#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(fn__recompilation__extract_simple_item_set_2_0);

MR_BEGIN_MODULE(recompilation__check_module35)
	MR_init_entry1(recompilation__check__check_for_simple_item_ambiguity_9_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_for_simple_item_ambiguity_9_0);
	MR_init_label10(recompilation__check__check_for_simple_item_ambiguity_9_0,3,7,9,11,38,27,28,31,34,29)
	MR_init_label1(recompilation__check__check_for_simple_item_ambiguity_9_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_for_simple_item_ambiguity'/9 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(recompilation__check__check_for_simple_item_ambiguity_9_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(10);
	MR_sv(10) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(4) = MR_r4;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r5;
	MR_sv(5) = MR_tempr1;
	MR_sv(6) = MR_r6;
	MR_sv(7) = MR_r7;
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		recompilation__check__check_for_simple_item_ambiguity_9_0_i3);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_9_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_sv(3) = MR_r1;
	MR_sv(8) = (MR_Word) MR_TAG_COMMON(0,5,1);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,31);
	MR_r2 = MR_tempr1;
	MR_r3 = MR_sv(4);
	}
	MR_np_call_localret_ent(fn__recompilation__extract_ids_2_0,
		recompilation__check__check_for_simple_item_ambiguity_9_0_i7);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_9_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = MR_sv(3);
	MR_tfield(0, MR_tempr1, 1) = MR_sv(6);
	MR_tempr2 = MR_r1;
	MR_r1 = MR_sv(8);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(libs__timestamp, timestamp);
	MR_r3 = MR_tempr2;
	}
	MR_np_call_localret_ent(map__search_3_0,
		recompilation__check__check_for_simple_item_ambiguity_9_0_i9);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_9_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_for_simple_item_ambiguity_9_0_i38);
	}
	MR_r1 = MR_r2;
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(__Compare___libs__timestamp__timestamp_0_0,
		recompilation__check__check_for_simple_item_ambiguity_9_0_i11);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_9_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (((MR_Integer) 2 != (MR_Integer) MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_for_simple_item_ambiguity_9_0_i2);
	}
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_9_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r5 = MR_sv(4);
	MR_sv(3) = (MR_Word) MR_TAG_COMMON(0,5,1);
	MR_sv(8) = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_sv(9) = (MR_Word) MR_TAG_COMMON(0,5,2);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,3);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,5,7);
	MR_r3 = (MR_Word) MR_TAG_COMMON(0,5,10);
	MR_r4 = MR_tfield(0, MR_sv(7), 4);
	MR_np_call_localret_ent(fn__recompilation__extract_simple_item_set_2_0,
		recompilation__check__check_for_simple_item_ambiguity_9_0_i27);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_9_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = MR_sv(5);
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		recompilation__check__check_for_simple_item_ambiguity_9_0_i28);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_9_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tfield(0, MR_tempr1, 1) = MR_sv(6);
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(9);
	MR_r3 = MR_sv(2);
	}
	MR_np_call_localret_ent(map__search_3_0,
		recompilation__check__check_for_simple_item_ambiguity_9_0_i31);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_9_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_for_simple_item_ambiguity_9_0_i29);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 7);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(17,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_for_simple_item_ambiguity_2_8_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 4;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(4);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 5) = MR_sv(5);
	MR_tfield(0, MR_tempr1, 6) = MR_sv(6);
	MR_r1 = MR_sv(8);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_r1;
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r5 = MR_tempr2;
	MR_r6 = MR_sv(7);
	}
	MR_np_call_localret_ent(map__foldl_4_0,
		recompilation__check__check_for_simple_item_ambiguity_9_0_i34);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_9_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Integer) 1;
	MR_r2 = MR_tempr1;
	MR_decr_sp_and_return(10);
	}
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_9_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_r2 = MR_sv(7);
	MR_decr_sp_and_return(10);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_9_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_r2 = MR_sv(7);
	MR_decr_sp_and_return(10);
#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_BEGIN_MODULE(recompilation__check_module36)
	MR_init_entry1(recompilation__check__check_functor_ambiguities_2_7_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_functor_ambiguities_2_7_0);
	MR_init_label7(recompilation__check__check_functor_ambiguities_2_7_0,57,25,3,5,11,10,22)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_functor_ambiguities_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(recompilation__check__check_functor_ambiguities_2_7_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(6);
	MR_sv(6) = (MR_Word) MR_succip;
MR_def_label(recompilation__check__check_functor_ambiguities_2_7_0,57)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r5,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguities_2_7_0_i3);
	}
MR_def_label(recompilation__check__check_functor_ambiguities_2_7_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r6;
	MR_decr_sp_and_return(6);
MR_def_label(recompilation__check__check_functor_ambiguities_2_7_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r3,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguities_2_7_0_i5);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 7);
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(17,1);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_functor_ambiguity_8_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 4;
	MR_tfield(0, MR_tempr1, 3) = MR_r1;
	MR_tfield(0, MR_tempr1, 4) = MR_r2;
	MR_tempr3 = MR_r5;
	MR_tempr2 = MR_tfield(1, MR_tempr3, 0);
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_tempr2, 0);
	MR_tempr4 = MR_r4;
	MR_tfield(0, MR_tempr1, 6) = MR_tempr4;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(4) = MR_tempr4;
	MR_sv(5) = MR_tfield(1, MR_tempr3, 1);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,3);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_tfield(0, MR_tempr2, 1);
	}
	MR_np_call_localret_ent(map__foldl_4_0,
		recompilation__check__check_functor_ambiguities_2_7_0_i22);
MR_def_label(recompilation__check__check_functor_ambiguities_2_7_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r3,1)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguities_2_7_0_i10);
	}
	MR_r7 = MR_tfield(1, MR_r3, 0);
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tempr4 = MR_r5;
	MR_sv(5) = MR_tfield(1, MR_tempr4, 1);
	MR_tempr1 = MR_tfield(1, MR_tempr4, 0);
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	MR_r8 = MR_tempr2;
	if ((MR_r7 != MR_tempr2)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguities_2_7_0_i11);
	}
	MR_tag_alloc_heap(MR_tempr3, 0, (MR_Integer) 7);
	MR_tfield(0, MR_tempr3, 0) = (MR_Word) MR_COMMON(17,2);
	MR_tfield(0, MR_tempr3, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_functor_ambiguity_8_0);
	MR_tfield(0, MR_tempr3, 2) = (MR_Integer) 4;
	MR_tfield(0, MR_tempr3, 3) = MR_r1;
	MR_tfield(0, MR_tempr3, 4) = MR_r2;
	MR_tfield(0, MR_tempr3, 5) = MR_tempr2;
	MR_tfield(0, MR_tempr3, 6) = MR_r4;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,3);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r4 = MR_tempr3;
	MR_r5 = MR_tfield(0, MR_tempr1, 1);
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(map__foldl_4_0);
	}
MR_def_label(recompilation__check__check_functor_ambiguities_2_7_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (((MR_Integer) MR_r8 >= (MR_Integer) MR_r7)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguities_2_7_0_i25);
	}
	MR_r5 = MR_sv(5);
	MR_succip_word = MR_sv(6);
	MR_GOTO_LAB(recompilation__check__check_functor_ambiguities_2_7_0_i57);
MR_def_label(recompilation__check__check_functor_ambiguities_2_7_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr4 = MR_r5;
	MR_tempr1 = MR_tfield(1, MR_tempr4, 0);
	MR_tempr2 = MR_tfield(0, MR_tempr1, 0);
	MR_tempr5 = MR_r3;
	MR_tempr3 = MR_tfield(2, MR_tempr5, 0);
	if (((MR_Integer) MR_tempr2 > (MR_Integer) MR_tempr3)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguities_2_7_0_i25);
	}
	MR_tag_alloc_heap(MR_tempr3, 0, (MR_Integer) 7);
	MR_tfield(0, MR_tempr3, 0) = (MR_Word) MR_COMMON(17,3);
	MR_tfield(0, MR_tempr3, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_functor_ambiguity_8_0);
	MR_tfield(0, MR_tempr3, 2) = (MR_Integer) 4;
	MR_tfield(0, MR_tempr3, 3) = MR_r1;
	MR_tfield(0, MR_tempr3, 4) = MR_r2;
	MR_tfield(0, MR_tempr3, 5) = MR_tempr2;
	MR_tempr6 = MR_r4;
	MR_tfield(0, MR_tempr3, 6) = MR_tempr6;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_tempr5;
	MR_sv(4) = MR_tempr6;
	MR_sv(5) = MR_tfield(1, MR_tempr4, 1);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,3);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r4 = MR_tempr3;
	MR_r5 = MR_tfield(0, MR_tempr1, 1);
	}
	MR_np_call_localret_ent(map__foldl_4_0,
		recompilation__check__check_functor_ambiguities_2_7_0_i22);
MR_def_label(recompilation__check__check_functor_ambiguities_2_7_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_sv(4);
	MR_r5 = MR_sv(5);
	MR_r6 = MR_tempr1;
	MR_succip_word = MR_sv(6);
	MR_GOTO_LAB(recompilation__check__check_functor_ambiguities_2_7_0_i57);
	}
#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_BEGIN_MODULE(recompilation__check_module37)
	MR_init_entry1(recompilation__check__check_functor_ambiguities_by_name_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_functor_ambiguities_by_name_6_0);
	MR_init_label3(recompilation__check__check_functor_ambiguities_by_name_6_0,2,8,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_functor_ambiguities_by_name'/6 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(recompilation__check__check_functor_ambiguities_by_name_6_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(7);
	MR_sv(7) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(4) = MR_r4;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r5;
	MR_sv(5) = MR_tfield(0, MR_tempr1, 4);
	MR_sv(6) = MR_tempr1;
	MR_r1 = MR_r2;
	}
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		recompilation__check__check_functor_ambiguities_by_name_6_0_i2);
MR_def_label(recompilation__check__check_functor_ambiguities_by_name_6_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,4);
	MR_r3 = MR_tfield(0, MR_sv(5), 5);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(map__search_3_0,
		recompilation__check__check_functor_ambiguities_by_name_6_0_i8);
MR_def_label(recompilation__check__check_functor_ambiguities_by_name_6_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguities_by_name_6_0_i3);
	}
	MR_r1 = MR_sv(1);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_sv(4);
	MR_r5 = MR_tempr1;
	MR_r6 = MR_sv(6);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(recompilation__check__check_functor_ambiguities_2_7_0);
	}
MR_def_label(recompilation__check__check_functor_ambiguities_by_name_6_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(6);
	MR_decr_sp_and_return(7);
#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

extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_type_and_mode_0;
MR_decl_entry(fn__list__length_1_0);
MR_decl_entry(parse_tree__prog_util__adjust_func_arity_3_1);
MR_decl_entry(fn__recompilation__extract_pred_or_func_set_2_0);

MR_BEGIN_MODULE(recompilation__check_module38)
	MR_init_entry1(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_for_pred_or_func_item_ambiguity_10_0);
	MR_init_label10(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,4,3,6,7,11,13,10,29,30,33)
	MR_init_label6(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,36,32,38,42,40,9)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_for_pred_or_func_item_ambiguity'/10 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(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(12);
	MR_sv(12) = (MR_Word) MR_succip;
	if (MR_LTAGS_TESTR(MR_r8,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i3);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(4) = MR_r4;
	MR_sv(5) = MR_r5;
	MR_sv(6) = MR_r6;
	MR_sv(7) = MR_r8;
	MR_sv(9) = MR_r9;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, type_and_mode);
	MR_r2 = MR_r7;
	MR_np_call_localret_ent(fn__list__length_1_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i4);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(5);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(parse_tree__prog_util__adjust_func_arity_3_1,
		recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i6);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(4) = MR_r4;
	MR_sv(5) = MR_r5;
	MR_sv(6) = MR_r6;
	MR_sv(7) = MR_r8;
	MR_sv(9) = MR_r9;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, type_and_mode);
	MR_r2 = MR_r7;
	MR_np_call_localret_ent(fn__list__length_1_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i6);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(8) = MR_r1;
	MR_r1 = MR_sv(5);
	MR_np_call_localret_ent(fn__recompilation__pred_or_func_to_item_type_1_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i7);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_sv(1),1)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i11);
	}
	MR_r5 = MR_r1;
	MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i10);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(1);
	MR_r4 = MR_sv(6);
	MR_r5 = MR_sv(8);
	MR_np_call_localret_ent(recompilation__check__item_is_new_or_changed_5_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i13);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i9);
	}
	MR_r5 = MR_sv(1);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r5;
	MR_sv(4) = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_sv(10) = (MR_Word) MR_TAG_COMMON(0,5,6);
	MR_sv(11) = (MR_Word) MR_TAG_COMMON(0,0,2);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,3);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,5,7);
	MR_r3 = (MR_Word) MR_TAG_COMMON(0,5,10);
	MR_r4 = MR_tfield(0, MR_sv(9), 4);
	MR_np_call_localret_ent(fn__recompilation__extract_pred_or_func_set_2_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i29);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_r1 = MR_sv(6);
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i30);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(11);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(map__search_3_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i33);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i32);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 8);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(17,4);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 5;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(7);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 5) = MR_sv(2);
	MR_tfield(0, MR_tempr1, 6) = MR_sv(6);
	MR_tfield(0, MR_tempr1, 7) = MR_sv(8);
	MR_r1 = MR_sv(10);
	MR_tempr2 = MR_r2;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r4 = MR_tempr2;
	MR_r5 = MR_sv(9);
	}
	MR_np_call_localret_ent(list__foldl_4_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i36);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,36)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_np_call_localret_ent(fn__hlds__hlds_pred__invalid_pred_id_0_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i38);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_sv(9);
	MR_np_call_localret_ent(fn__hlds__hlds_pred__invalid_pred_id_0_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i38);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(6),1)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i40);
	}
	if (MR_LTAGS_TESTR(MR_sv(7),0,0)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0_i42);
	}
	MR_tag_alloc_heap(MR_r3, 2, (MR_Integer) 1);
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tempr2 = MR_sv(8);
	MR_tfield(2, MR_r3, 0) = MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tempr3 = MR_sv(6);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(1, MR_tempr3, 0);
	MR_tfield(0, MR_tempr1, 2) = MR_sv(5);
	MR_tfield(0, MR_tempr1, 3) = MR_tempr2;
	MR_r1 = MR_sv(2);
	MR_r2 = MR_tempr3;
	MR_r5 = MR_sv(1);
	MR_succip_word = MR_sv(12);
	MR_decr_sp(12);
	MR_np_tailcall_ent(recompilation__check__check_functor_ambiguities_by_name_6_0);
	}
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,42)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tempr2 = MR_sv(6);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(1, MR_tempr2, 0);
	MR_tfield(0, MR_tempr1, 2) = MR_sv(5);
	MR_tfield(0, MR_tempr1, 3) = MR_sv(8);
	MR_r1 = MR_sv(2);
	MR_r2 = MR_tempr2;
	MR_r3 = (MR_Word) MR_tbmkword(0, 0);
	MR_r5 = MR_sv(1);
	MR_succip_word = MR_sv(12);
	MR_decr_sp(12);
	MR_np_tailcall_ent(recompilation__check__check_functor_ambiguities_by_name_6_0);
	}
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,40)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("recompilation.check", 19);
	MR_r2 = (MR_Word) MR_string_const("predicate \140recompilation.check.check_for_pred_or_func_item_ambiguity\'/10", 72);
	MR_r3 = (MR_Word) MR_string_const("unqualified predicate name", 26);
	MR_succip_word = MR_sv(12);
	MR_decr_sp(12);
	MR_np_tailcall_ent(require__unexpected_3_0);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(9);
	MR_decr_sp_and_return(12);
#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

extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_constructor_0;

MR_BEGIN_MODULE(recompilation__check_module39)
	MR_init_entry1(recompilation__check__check_type_defn_ambiguity_with_functor_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_type_defn_ambiguity_with_functor_5_0);
	MR_init_label2(recompilation__check__check_type_defn_ambiguity_with_functor_5_0,20,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_type_defn_ambiguity_with_functor'/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(recompilation__check__check_type_defn_ambiguity_with_functor_5_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r3,2)) {
		MR_GOTO_LAB(recompilation__check__check_type_defn_ambiguity_with_functor_5_0_i3);
	}
MR_def_label(recompilation__check__check_type_defn_ambiguity_with_functor_5_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r4;
	MR_proceed();
MR_def_label(recompilation__check__check_type_defn_ambiguity_with_functor_5_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r3,0)) {
		MR_GOTO_LAB(recompilation__check__check_type_defn_ambiguity_with_functor_5_0_i20);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 5);
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(15,2);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_functor_ambiguities_5_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 2;
	MR_tfield(0, MR_tempr1, 3) = MR_r1;
	MR_tfield(0, MR_tempr1, 4) = MR_r2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, constructor);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_tempr2 = MR_r3;
	MR_r3 = MR_tempr1;
	MR_tempr3 = MR_r4;
	MR_r4 = MR_tfield(0, MR_tempr2, 0);
	MR_r5 = MR_tempr3;
	MR_np_tailcall_ent(list__foldl_4_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

extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_item__type_ctor_info_class_method_0;

MR_BEGIN_MODULE(recompilation__check_module40)
	MR_init_entry1(recompilation__check__check_for_ambiguities_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_for_ambiguities_6_0);
	MR_init_label10(recompilation__check__check_for_ambiguities_6_0,3,4,7,5,9,10,13,11,15,16)
	MR_init_label10(recompilation__check__check_for_ambiguities_6_0,17,18,19,20,21,23,26,27,77,29)
	MR_init_label4(recompilation__check__check_for_ambiguities_6_0,24,34,35,32)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_for_ambiguities'/6 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(recompilation__check__check_for_ambiguities_6_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,11)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i3);
	}
	MR_r1 = MR_r5;
	MR_proceed();
MR_def_label(recompilation__check__check_for_ambiguities_6_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,10)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i4);
	}
	MR_r1 = MR_r5;
	MR_proceed();
MR_def_label(recompilation__check__check_for_ambiguities_6_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,2)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i5);
	}
	MR_incr_sp(7);
	MR_sv(7) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(6) = MR_r5;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(3, MR_r4, 1);
	MR_sv(4) = MR_tfield(0, MR_tempr1, 1);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,29);
	MR_r2 = MR_tfield(0, MR_tempr1, 2);
	}
	MR_np_call_localret_ent(fn__list__length_1_0,
		recompilation__check__check_for_ambiguities_6_0_i7);
MR_def_label(recompilation__check__check_for_ambiguities_6_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(3);
	MR_r4 = (MR_Integer) 3;
	MR_r5 = MR_sv(4);
	MR_r6 = MR_tempr1;
	MR_r7 = MR_sv(6);
	}
	MR_np_call_localret_ent(recompilation__check__check_for_simple_item_ambiguity_9_0,
		recompilation__check__check_for_ambiguities_6_0_i77);
MR_def_label(recompilation__check__check_for_ambiguities_6_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,9)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i9);
	}
	MR_r1 = MR_r5;
	MR_proceed();
MR_def_label(recompilation__check__check_for_ambiguities_6_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,5)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i10);
	}
	MR_r1 = MR_r5;
	MR_proceed();
MR_def_label(recompilation__check__check_for_ambiguities_6_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,3)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i11);
	}
	MR_incr_sp(7);
	MR_sv(7) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(6) = MR_r5;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(3, MR_r4, 1);
	MR_sv(4) = MR_tfield(0, MR_tempr1, 1);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,29);
	MR_r2 = MR_tfield(0, MR_tempr1, 2);
	}
	MR_np_call_localret_ent(fn__list__length_1_0,
		recompilation__check__check_for_ambiguities_6_0_i13);
MR_def_label(recompilation__check__check_for_ambiguities_6_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(3);
	MR_r4 = (MR_Integer) 2;
	MR_r5 = MR_sv(4);
	MR_r6 = MR_tempr1;
	MR_r7 = MR_sv(6);
	}
	MR_np_call_localret_ent(recompilation__check__check_for_simple_item_ambiguity_9_0,
		recompilation__check__check_for_ambiguities_6_0_i77);
MR_def_label(recompilation__check__check_for_ambiguities_6_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r4,2)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i15);
	}
	MR_r1 = MR_r5;
	MR_proceed();
MR_def_label(recompilation__check__check_for_ambiguities_6_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r4,1)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i16);
	}
	MR_r1 = MR_r5;
	MR_proceed();
MR_def_label(recompilation__check__check_for_ambiguities_6_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r4,0)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i17);
	}
	MR_r1 = MR_r5;
	MR_proceed();
MR_def_label(recompilation__check__check_for_ambiguities_6_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,12)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i18);
	}
	MR_r1 = MR_r5;
	MR_proceed();
MR_def_label(recompilation__check__check_for_ambiguities_6_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,13)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i19);
	}
	MR_r1 = MR_r5;
	MR_proceed();
MR_def_label(recompilation__check__check_for_ambiguities_6_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,6)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i20);
	}
	MR_r1 = MR_r5;
	MR_proceed();
MR_def_label(recompilation__check__check_for_ambiguities_6_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,4)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i21);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Integer) 0;
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_tempr3 = MR_r3;
	MR_r3 = MR_tempr2;
	MR_tempr4 = MR_r4;
	MR_r4 = MR_tempr3;
	MR_tempr5 = MR_r5;
	MR_tempr6 = MR_tfield(3, MR_tempr4, 1);
	MR_r5 = MR_tfield(0, MR_tempr6, 4);
	MR_r6 = MR_tfield(0, MR_tempr6, 5);
	MR_r7 = MR_tfield(0, MR_tempr6, 6);
	MR_r8 = MR_tfield(0, MR_tempr6, 7);
	MR_r9 = MR_tempr5;
	MR_np_tailcall_ent(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0);
	}
MR_def_label(recompilation__check__check_for_ambiguities_6_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,7)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i23);
	}
	MR_r1 = MR_r5;
	MR_proceed();
MR_def_label(recompilation__check__check_for_ambiguities_6_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,1)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i24);
	}
	MR_incr_sp(7);
	MR_sv(7) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(3, MR_r4, 1);
	MR_sv(4) = MR_tfield(0, MR_tempr1, 1);
	MR_sv(5) = MR_tfield(0, MR_tempr1, 3);
	MR_sv(6) = MR_r5;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,30);
	MR_r2 = MR_tfield(0, MR_tempr1, 2);
	}
	MR_np_call_localret_ent(fn__list__length_1_0,
		recompilation__check__check_for_ambiguities_6_0_i26);
MR_def_label(recompilation__check__check_for_ambiguities_6_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_tempr1;
	MR_r3 = MR_sv(3);
	MR_r4 = (MR_Integer) 0;
	MR_r5 = MR_sv(4);
	MR_r6 = MR_sv(2);
	MR_r7 = MR_sv(6);
	}
	MR_np_call_localret_ent(recompilation__check__check_for_simple_item_ambiguity_9_0,
		recompilation__check__check_for_ambiguities_6_0_i27);
MR_def_label(recompilation__check__check_for_ambiguities_6_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i29);
	}
MR_def_label(recompilation__check__check_for_ambiguities_6_0,77)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r2;
	MR_decr_sp_and_return(7);
MR_def_label(recompilation__check__check_for_ambiguities_6_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(4);
	MR_tfield(0, MR_tempr1, 1) = MR_sv(2);
	MR_r1 = MR_sv(1);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_sv(5);
	MR_r4 = MR_tempr2;
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(recompilation__check__check_type_defn_ambiguity_with_functor_5_0);
	}
MR_def_label(recompilation__check__check_for_ambiguities_6_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r4,3,8)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i32);
	}
	MR_incr_sp(7);
	MR_sv(7) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(3, MR_r4, 1);
	MR_sv(4) = MR_tfield(0, MR_tempr1, 4);
	MR_sv(6) = MR_r5;
	MR_sv(5) = MR_tfield(0, MR_tempr1, 2);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,30);
	MR_r2 = MR_tfield(0, MR_tempr1, 3);
	}
	MR_np_call_localret_ent(fn__list__length_1_0,
		recompilation__check__check_for_ambiguities_6_0_i34);
MR_def_label(recompilation__check__check_for_ambiguities_6_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(3);
	MR_r4 = (MR_Integer) 4;
	MR_r5 = MR_sv(5);
	MR_r6 = MR_tempr1;
	MR_r7 = MR_sv(6);
	}
	MR_np_call_localret_ent(recompilation__check__check_for_simple_item_ambiguity_9_0,
		recompilation__check__check_for_ambiguities_6_0_i35);
MR_def_label(recompilation__check__check_for_ambiguities_6_0,35)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,1)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i77);
	}
	if (MR_LTAGS_TEST(MR_sv(4),0,0)) {
		MR_GOTO_LAB(recompilation__check__check_for_ambiguities_6_0_i77);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 6);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(11,5);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_class_method_for_ambiguities_6_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 3;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(2);
	MR_tfield(0, MR_tempr1, 5) = MR_sv(3);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_item, class_method);
	MR_tempr2 = MR_r2;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r4 = MR_tfield(1, MR_sv(4), 0);
	MR_r5 = MR_tempr2;
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(list__foldl_4_0);
	}
MR_def_label(recompilation__check__check_for_ambiguities_6_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("recompilation.check", 19);
	MR_r2 = (MR_Word) MR_string_const("predicate \140recompilation.check.check_for_ambiguities\'/6", 55);
	MR_r3 = (MR_Word) MR_string_const("clause", 6);
	MR_np_tailcall_ent(require__unexpected_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_BEGIN_MODULE(recompilation__check_module41)
	MR_init_entry1(recompilation__check__check_class_method_for_ambiguities_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_class_method_for_ambiguities_6_0);
	MR_init_label1(recompilation__check__check_class_method_for_ambiguities_6_0,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_class_method_for_ambiguities'/6 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(recompilation__check__check_class_method_for_ambiguities_6_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r4,0)) {
		MR_GOTO_LAB(recompilation__check__check_class_method_for_ambiguities_6_0_i3);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Integer) 1;
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_tempr3 = MR_r3;
	MR_r3 = MR_tempr2;
	MR_tempr4 = MR_r4;
	MR_r4 = MR_tempr3;
	MR_tempr5 = MR_r5;
	MR_r5 = MR_tfield(0, MR_tempr4, 3);
	MR_r6 = MR_tfield(0, MR_tempr4, 4);
	MR_r7 = MR_tfield(0, MR_tempr4, 5);
	MR_r8 = MR_tfield(0, MR_tempr4, 6);
	MR_r9 = MR_tempr5;
	MR_np_tailcall_ent(recompilation__check__check_for_pred_or_func_item_ambiguity_10_0);
	}
MR_def_label(recompilation__check__check_class_method_for_ambiguities_6_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r5;
	MR_proceed();
#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(fn__recompilation__module_qualify_name_2_0);
MR_decl_entry(mdbcomp__prim_data__match_sym_name_2_0);
MR_decl_entry(__Unify___mdbcomp__prim_data__sym_name_0_0);

MR_BEGIN_MODULE(recompilation__check_module42)
	MR_init_entry1(recompilation__check__check_for_simple_item_ambiguity_2_8_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_for_simple_item_ambiguity_2_8_0);
	MR_init_label8(recompilation__check__check_for_simple_item_ambiguity_2_8_0,2,39,3,8,9,14,12,24)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_for_simple_item_ambiguity_2'/8 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(recompilation__check__check_for_simple_item_ambiguity_2_8_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(8);
	MR_sv(8) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r3;
	MR_sv(3) = MR_tempr1;
	MR_sv(4) = MR_r4;
	MR_sv(5) = MR_r5;
	MR_sv(6) = MR_r6;
	MR_sv(7) = MR_r7;
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		recompilation__check__check_for_simple_item_ambiguity_2_8_0_i2);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_2_8_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_sv(2),0)) {
		MR_GOTO_LAB(recompilation__check__check_for_simple_item_ambiguity_2_8_0_i3);
	}
	if (MR_PTAG_TESTR(MR_sv(5),0)) {
		MR_GOTO_LAB(recompilation__check__check_for_simple_item_ambiguity_2_8_0_i3);
	}
	MR_r2 = MR_tfield(0, MR_sv(5), 0);
	if ((strcmp((char *) (MR_Word *) MR_r2, MR_string_const("", 0)) != 0)) {
		MR_GOTO_LAB(recompilation__check__check_for_simple_item_ambiguity_2_8_0_i3);
	}
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_2_8_0,39)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(7);
	MR_decr_sp_and_return(8);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_2_8_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(fn__recompilation__module_qualify_name_2_0,
		recompilation__check__check_for_simple_item_ambiguity_2_8_0_i8);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_2_8_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(3);
	MR_np_call_localret_ent(mdbcomp__prim_data__match_sym_name_2_0,
		recompilation__check__check_for_simple_item_ambiguity_2_8_0_i9);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_2_8_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_for_simple_item_ambiguity_2_8_0_i39);
	}
	if (MR_PTAG_TESTR(MR_sv(3),1)) {
		MR_GOTO_LAB(recompilation__check__check_for_simple_item_ambiguity_2_8_0_i12);
	}
	MR_r1 = MR_sv(6);
	MR_r2 = MR_tfield(1, MR_sv(3), 0);
	MR_np_call_localret_ent(__Unify___mdbcomp__prim_data__sym_name_0_0,
		recompilation__check__check_for_simple_item_ambiguity_2_8_0_i14);
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_2_8_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_r1) {
		MR_GOTO_LAB(recompilation__check__check_for_simple_item_ambiguity_2_8_0_i39);
	}
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_2_8_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6, MR_tempr7, MR_tempr8, MR_tempr9;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_r3 = MR_tempr1;
	MR_tfield(1, MR_tempr1, 0) = MR_sv(6);
	MR_tfield(1, MR_tempr1, 1) = MR_sv(2);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr2, 0) = MR_sv(3);
	MR_tempr7 = MR_sv(4);
	MR_tfield(0, MR_tempr2, 1) = MR_tempr7;
	MR_tag_alloc_heap(MR_tempr3, 0, (MR_Integer) 2);
	MR_tempr8 = MR_sv(1);
	MR_tfield(0, MR_tempr3, 0) = MR_tempr8;
	MR_tfield(0, MR_tempr3, 1) = MR_tempr2;
	MR_tag_alloc_heap(MR_tempr4, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr4, 0) = MR_tempr1;
	MR_tfield(0, MR_tempr4, 1) = MR_tempr7;
	MR_tag_alloc_heap(MR_tempr5, 0, (MR_Integer) 2);
	MR_r3 = MR_tempr5;
	MR_tfield(0, MR_tempr5, 0) = MR_tempr8;
	MR_tfield(0, MR_tempr5, 1) = MR_tempr4;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_tempr5;
	MR_tfield(1, MR_tempr2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr6, 3, (MR_Integer) 3);
	MR_r3 = MR_tempr6;
	MR_tfield(3, MR_tempr6, 0) = (MR_Integer) 2;
	MR_tfield(3, MR_tempr6, 1) = MR_tempr3;
	MR_tfield(3, MR_tempr6, 2) = MR_tempr2;
	MR_tempr9 = MR_sv(7);
	MR_tempr2 = MR_tfield(0, MR_tempr9, 7);
	if (MR_INT_NE(MR_tempr2,1)) {
		MR_GOTO_LAB(recompilation__check__check_for_simple_item_ambiguity_2_8_0_i24);
	}
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = MR_tempr6;
	MR_tfield(1, MR_tempr3, 1) = MR_tfield(0, MR_tempr9, 8);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 9);
	MR_tfield(0, MR_r1, 0) = MR_tfield(0, MR_tempr9, 0);
	MR_tfield(0, MR_r1, 1) = MR_tfield(0, MR_tempr9, 1);
	MR_tfield(0, MR_r1, 2) = MR_tfield(0, MR_tempr9, 2);
	MR_tfield(0, MR_r1, 3) = MR_tfield(0, MR_tempr9, 3);
	MR_tfield(0, MR_r1, 4) = MR_tfield(0, MR_tempr9, 4);
	MR_tfield(0, MR_r1, 5) = MR_tfield(0, MR_tempr9, 5);
	MR_tfield(0, MR_r1, 6) = MR_tfield(0, MR_tempr9, 6);
	MR_tfield(0, MR_r1, 7) = MR_tempr2;
	MR_tfield(0, MR_r1, 8) = MR_tempr3;
	MR_decr_sp_and_return(8);
	}
MR_def_label(recompilation__check__check_for_simple_item_ambiguity_2_8_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_r3;
	MR_tfield(0, MR_r2, 1) = MR_sv(7);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(8);
	MR_decr_sp(8);
	MR_np_tailcall_ent(exception__throw_1_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_BEGIN_MODULE(recompilation__check_module43)
	MR_init_entry1(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0);
	MR_init_label3(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0,4,3,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_for_pred_or_func_item_ambiguity_1'/8 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(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0_i4);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr2 = MR_r6;
	MR_tempr1 = MR_tfield(0, MR_tempr2, 0);
	MR_r8 = MR_tempr1;
	if ((MR_tempr1 != MR_r5)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0_i2);
	}
	MR_r1 = MR_r2;
	MR_r2 = MR_r3;
	MR_r3 = MR_r4;
	MR_r4 = MR_tempr1;
	MR_r5 = MR_tfield(0, MR_tempr2, 1);
	MR_r6 = MR_r7;
	MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0_i3);
	}
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr2 = MR_r6;
	MR_tempr1 = MR_tfield(0, MR_tempr2, 0);
	if (((MR_Integer) MR_tempr1 < (MR_Integer) MR_r5)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0_i2);
	}
	MR_r1 = MR_r2;
	MR_r2 = MR_r3;
	MR_r3 = MR_r4;
	MR_r4 = MR_tempr1;
	MR_r5 = MR_tfield(0, MR_tempr2, 1);
	MR_r6 = MR_r7;
	}
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 7);
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(17,5);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 4;
	MR_tfield(0, MR_tempr1, 3) = MR_r1;
	MR_tfield(0, MR_tempr1, 4) = MR_r2;
	MR_tfield(0, MR_tempr1, 5) = MR_r3;
	MR_tfield(0, MR_tempr1, 6) = MR_r4;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,1);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_r4 = MR_tempr1;
	MR_np_tailcall_ent(map__foldl_4_0);
	}
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_1_8_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r7;
	MR_proceed();
#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(set__member_2_1);
MR_decl_entry(builtin__unify_2_0);
MR_declare_entry(MR_do_redo);

MR_BEGIN_MODULE(recompilation__check_module44)
	MR_init_entry1(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0);
	MR_init_label10(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,2,46,3,8,9,18,19,14,24,25)
	MR_init_label1(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,30)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_for_pred_or_func_item_ambiguity_2'/8 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(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(11);
	MR_sv(11) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r3;
	MR_sv(3) = MR_tempr1;
	MR_sv(4) = MR_r4;
	MR_sv(5) = MR_r5;
	MR_sv(6) = MR_r6;
	MR_sv(7) = MR_r7;
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i2);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_sv(2),0)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i3);
	}
	if (MR_PTAG_TESTR(MR_sv(5),0)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i3);
	}
	MR_r2 = MR_tfield(0, MR_sv(5), 0);
	if ((strcmp((char *) (MR_Word *) MR_r2, MR_string_const("", 0)) != 0)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i3);
	}
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,46)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(7);
	MR_decr_sp_and_return(11);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(fn__recompilation__module_qualify_name_2_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i8);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(3);
	MR_np_call_localret_ent(mdbcomp__prim_data__match_sym_name_2_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i9);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i46);
	}
	MR_sv(8) = (MR_Word) MR_redoip_slot(MR_maxfr);
	MR_sv(9) = (MR_Word) MR_redofr_slot(MR_maxfr);
	MR_save_maxfr(MR_sv(10));
	MR_redofr_slot_word(MR_maxfr) = (MR_Word) MR_curfr;
	MR_redoip_slot_word(MR_maxfr) = (MR_Word) MR_LABEL_AP(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i14);
	if (MR_PTAG_TESTR(MR_sv(3),1)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i14);
	}
	MR_tag_alloc_heap(MR_sv(5), 0, (MR_Integer) 2);
	MR_tfield(0, MR_sv(5), 1) = MR_tfield(1, MR_sv(3), 0);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,4);
	MR_r2 = MR_sv(6);
	MR_np_call_localret_ent(set__member_2_1,
		recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i18);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(0, MR_r1, 0);
	MR_tempr2 = MR_sv(5);
	MR_tfield(0, MR_tempr2, 0) = MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = MR_tfield(0, MR_tempr2, 1);
	MR_r3 = MR_tfield(0, MR_tempr1, 1);
	}
	MR_np_call_localret_ent(builtin__unify_2_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i19);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO(MR_ENTRY(MR_do_redo));
	}
	MR_restore_maxfr(MR_sv(10));
	MR_redoip_slot_word(MR_maxfr) = MR_sv(8);
	MR_redofr_slot_word(MR_maxfr) = MR_sv(9);
	MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i46);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_redoip_slot_word(MR_maxfr) = MR_sv(8);
	MR_redofr_slot_word(MR_maxfr) = MR_sv(9);
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 6);
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(15,3);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(fn__recompilation__check__IntroducedFrom__func__check_for_pred_or_func_item_ambiguity_2__1146__1_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 3;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(4);
	MR_tfield(0, MR_tempr1, 5) = MR_sv(2);
	MR_sv(2) = MR_tempr1;
	MR_sv(5) = (MR_Word) MR_TAG_COMMON(0,5,4);
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(6);
	}
	MR_np_call_localret_ent(fn__set__to_sorted_list_1_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i24);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,24)
	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_CTOR0_ADDR(recompilation, item_id);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__list__map_2_0,
		recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i25);
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = MR_sv(3);
	MR_tfield(0, MR_tempr1, 1) = MR_sv(4);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr2, 0) = MR_sv(1);
	MR_tfield(0, MR_tempr2, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr3, 3, (MR_Integer) 3);
	MR_r3 = MR_tempr3;
	MR_tfield(3, MR_tempr3, 0) = (MR_Integer) 2;
	MR_tfield(3, MR_tempr3, 1) = MR_tempr2;
	MR_tfield(3, MR_tempr3, 2) = MR_r1;
	MR_tempr5 = MR_sv(7);
	MR_tempr2 = MR_tfield(0, MR_tempr5, 7);
	if (MR_INT_NE(MR_tempr2,1)) {
		MR_GOTO_LAB(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0_i30);
	}
	MR_tag_alloc_heap(MR_tempr4, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr4, 0) = MR_tempr3;
	MR_tfield(1, MR_tempr4, 1) = MR_tfield(0, MR_tempr5, 8);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 9);
	MR_tfield(0, MR_r1, 0) = MR_tfield(0, MR_tempr5, 0);
	MR_tfield(0, MR_r1, 1) = MR_tfield(0, MR_tempr5, 1);
	MR_tfield(0, MR_r1, 2) = MR_tfield(0, MR_tempr5, 2);
	MR_tfield(0, MR_r1, 3) = MR_tfield(0, MR_tempr5, 3);
	MR_tfield(0, MR_r1, 4) = MR_tfield(0, MR_tempr5, 4);
	MR_tfield(0, MR_r1, 5) = MR_tfield(0, MR_tempr5, 5);
	MR_tfield(0, MR_r1, 6) = MR_tfield(0, MR_tempr5, 6);
	MR_tfield(0, MR_r1, 7) = MR_tempr2;
	MR_tfield(0, MR_r1, 8) = MR_tempr4;
	MR_decr_sp_and_return(11);
	}
MR_def_label(recompilation__check__check_for_pred_or_func_item_ambiguity_2_8_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_r3;
	MR_tfield(0, MR_r2, 1) = MR_sv(7);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(11);
	MR_decr_sp(11);
	MR_np_tailcall_ent(exception__throw_1_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(fn__recompilation__type_ctor_to_item_name_1_0);
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_constructor_arg_0;

MR_BEGIN_MODULE(recompilation__check_module45)
	MR_init_entry1(recompilation__check__check_functor_ambiguities_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_functor_ambiguities_5_0);
	MR_init_label6(recompilation__check__check_functor_ambiguities_5_0,2,4,6,12,14,7)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_functor_ambiguities'/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(recompilation__check__check_functor_ambiguities_5_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(11);
	MR_sv(11) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r3;
	MR_sv(2) = MR_tfield(0, MR_tempr1, 2);
	MR_sv(3) = MR_tfield(0, MR_tempr1, 3);
	MR_sv(7) = MR_r4;
	MR_r1 = MR_r2;
	}
	MR_np_call_localret_ent(fn__recompilation__type_ctor_to_item_name_1_0,
		recompilation__check__check_functor_ambiguities_5_0_i2);
MR_def_label(recompilation__check__check_functor_ambiguities_5_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_sv(5), 1, (MR_Integer) 1);
	MR_tfield(1, MR_sv(5), 0) = MR_r1;
	MR_sv(4) = MR_r1;
	MR_sv(9) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, constructor_arg);
	MR_r1 = MR_sv(9);
	MR_r2 = MR_sv(3);
	MR_np_call_localret_ent(fn__list__length_1_0,
		recompilation__check__check_functor_ambiguities_5_0_i4);
MR_def_label(recompilation__check__check_functor_ambiguities_5_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_sv(8), 1, (MR_Integer) 1);
	MR_tfield(1, MR_sv(8), 0) = MR_r1;
	MR_sv(6) = MR_r1;
	MR_sv(10) = MR_tfield(0, MR_sv(7), 4);
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		recompilation__check__check_functor_ambiguities_5_0_i6);
MR_def_label(recompilation__check__check_functor_ambiguities_5_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,4);
	MR_r3 = MR_tfield(0, MR_sv(10), 5);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(map__search_3_0,
		recompilation__check__check_functor_ambiguities_5_0_i12);
MR_def_label(recompilation__check__check_functor_ambiguities_5_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguities_5_0_i7);
	}
	MR_r1 = MR_sv(1);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(8);
	MR_r4 = MR_sv(5);
	MR_r5 = MR_tempr1;
	MR_r6 = MR_sv(7);
	}
	MR_np_call_localret_ent(recompilation__check__check_functor_ambiguities_2_7_0,
		recompilation__check__check_functor_ambiguities_5_0_i14);
MR_def_label(recompilation__check__check_functor_ambiguities_5_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(2);
	MR_tfield(0, MR_tempr1, 1) = MR_sv(6);
	MR_tag_alloc_heap(MR_tempr2, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr2, 0) = MR_sv(4);
	MR_tfield(2, MR_tempr2, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr3, 0, (MR_Integer) 5);
	MR_r3 = MR_tempr3;
	MR_tfield(0, MR_tempr3, 0) = (MR_Word) MR_COMMON(15,4);
	MR_tfield(0, MR_tempr3, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_field_ambiguities_5_0);
	MR_tfield(0, MR_tempr3, 2) = (MR_Integer) 2;
	MR_tfield(0, MR_tempr3, 3) = MR_sv(1);
	MR_tfield(0, MR_tempr3, 4) = MR_tempr2;
	MR_r4 = MR_sv(3);
	MR_r5 = MR_r1;
	MR_r1 = MR_sv(9);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_succip_word = MR_sv(11);
	MR_decr_sp(11);
	MR_np_tailcall_ent(list__foldl_4_0);
	}
MR_def_label(recompilation__check__check_functor_ambiguities_5_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(2);
	MR_tfield(0, MR_tempr1, 1) = MR_sv(6);
	MR_tag_alloc_heap(MR_tempr2, 2, (MR_Integer) 2);
	MR_tfield(2, MR_tempr2, 0) = MR_sv(4);
	MR_tfield(2, MR_tempr2, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr3, 0, (MR_Integer) 5);
	MR_r3 = MR_tempr3;
	MR_tfield(0, MR_tempr3, 0) = (MR_Word) MR_COMMON(15,5);
	MR_tfield(0, MR_tempr3, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__check_field_ambiguities_5_0);
	MR_tfield(0, MR_tempr3, 2) = (MR_Integer) 2;
	MR_tfield(0, MR_tempr3, 3) = MR_sv(1);
	MR_tfield(0, MR_tempr3, 4) = MR_tempr2;
	MR_r4 = MR_sv(3);
	MR_r5 = MR_sv(7);
	MR_r1 = MR_sv(9);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompilation_check_info);
	MR_succip_word = MR_sv(11);
	MR_decr_sp(11);
	MR_np_tailcall_ent(list__foldl_4_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(hlds__hlds_pred__field_access_function_name_3_0);

MR_BEGIN_MODULE(recompilation__check_module46)
	MR_init_entry1(recompilation__check__check_field_ambiguities_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_field_ambiguities_5_0);
	MR_init_label7(recompilation__check__check_field_ambiguities_5_0,35,4,6,12,14,7,16)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_field_ambiguities'/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(recompilation__check__check_field_ambiguities_5_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r5 = MR_tfield(0, MR_r3, 0);
	if (MR_LTAGS_TESTR(MR_r5,0,0)) {
		MR_GOTO_LAB(recompilation__check__check_field_ambiguities_5_0_i35);
	}
	MR_r1 = MR_r4;
	MR_proceed();
MR_def_label(recompilation__check__check_field_ambiguities_5_0,35)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(8);
	MR_sv(8) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r4;
	MR_sv(4) = MR_tfield(1, MR_r5, 0);
	MR_r1 = (MR_Integer) 0;
	MR_r2 = MR_sv(4);
	MR_np_call_localret_ent(hlds__hlds_pred__field_access_function_name_3_0,
		recompilation__check__check_field_ambiguities_5_0_i4);
MR_def_label(recompilation__check__check_field_ambiguities_5_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_r1;
	MR_sv(6) = (MR_Word) MR_TAG_COMMON(1,18,0);
	MR_sv(7) = MR_tfield(0, MR_sv(3), 4);
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		recompilation__check__check_field_ambiguities_5_0_i6);
MR_def_label(recompilation__check__check_field_ambiguities_5_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,0,4);
	MR_r3 = MR_tfield(0, MR_sv(7), 5);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(map__search_3_0,
		recompilation__check__check_field_ambiguities_5_0_i12);
MR_def_label(recompilation__check__check_field_ambiguities_5_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_field_ambiguities_5_0_i7);
	}
	MR_r1 = MR_sv(1);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(6);
	MR_r4 = MR_sv(2);
	MR_r5 = MR_tempr1;
	MR_r6 = MR_sv(3);
	}
	MR_np_call_localret_ent(recompilation__check__check_functor_ambiguities_2_7_0,
		recompilation__check__check_field_ambiguities_5_0_i14);
MR_def_label(recompilation__check__check_field_ambiguities_5_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(4);
	MR_sv(3) = MR_r1;
	MR_r1 = (MR_Integer) 1;
	MR_np_call_localret_ent(hlds__hlds_pred__field_access_function_name_3_0,
		recompilation__check__check_field_ambiguities_5_0_i16);
MR_def_label(recompilation__check__check_field_ambiguities_5_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(4);
	MR_r1 = (MR_Integer) 1;
	MR_np_call_localret_ent(hlds__hlds_pred__field_access_function_name_3_0,
		recompilation__check__check_field_ambiguities_5_0_i16);
MR_def_label(recompilation__check__check_field_ambiguities_5_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_tempr1;
	MR_r3 = (MR_Word) MR_TAG_COMMON(1,18,1);
	MR_r4 = MR_sv(2);
	MR_r5 = MR_sv(3);
	MR_succip_word = MR_sv(8);
	MR_decr_sp(8);
	MR_np_tailcall_ent(recompilation__check__check_functor_ambiguities_by_name_6_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(set__member_2_0);

MR_BEGIN_MODULE(recompilation__check_module47)
	MR_init_entry1(recompilation__check__check_functor_ambiguity_8_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__check_functor_ambiguity_8_0);
	MR_init_label9(recompilation__check__check_functor_ambiguity_8_0,55,7,8,9,12,14,15,18,6)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_functor_ambiguity'/8 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(recompilation__check__check_functor_ambiguity_8_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguity_8_0_i55);
	}
	if (MR_PTAG_TESTR(MR_r5,0)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguity_8_0_i55);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(0, MR_r5, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr1, MR_string_const("", 0)) != 0)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguity_8_0_i55);
	}
	MR_r1 = MR_r7;
	MR_proceed();
	}
MR_def_label(recompilation__check__check_functor_ambiguity_8_0,55)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(8);
	MR_sv(8) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r2;
	MR_sv(2) = MR_r3;
	MR_sv(3) = MR_r4;
	MR_sv(4) = MR_r5;
	MR_sv(5) = MR_r6;
	MR_sv(7) = MR_r7;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		recompilation__check__check_functor_ambiguity_8_0_i7);
MR_def_label(recompilation__check__check_functor_ambiguity_8_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(6) = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(6);
	MR_np_call_localret_ent(fn__recompilation__module_qualify_name_2_0,
		recompilation__check__check_functor_ambiguity_8_0_i8);
MR_def_label(recompilation__check__check_functor_ambiguity_8_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(mdbcomp__prim_data__match_sym_name_2_0,
		recompilation__check__check_functor_ambiguity_8_0_i9);
MR_def_label(recompilation__check__check_functor_ambiguity_8_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguity_8_0_i6);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__usage, resolved_functor);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_sv(5);
	MR_np_call_localret_ent(set__member_2_0,
		recompilation__check__check_functor_ambiguity_8_0_i12);
MR_def_label(recompilation__check__check_functor_ambiguity_8_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_r1) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguity_8_0_i6);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(6);
	MR_np_call_localret_ent(fn__recompilation__module_qualify_name_2_0,
		recompilation__check__check_functor_ambiguity_8_0_i14);
MR_def_label(recompilation__check__check_functor_ambiguity_8_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__usage, resolved_functor);
	MR_r2 = MR_sv(5);
	MR_np_call_localret_ent(fn__set__to_sorted_list_1_0,
		recompilation__check__check_functor_ambiguity_8_0_i15);
MR_def_label(recompilation__check__check_functor_ambiguity_8_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 3, (MR_Integer) 5);
	MR_r3 = MR_tempr1;
	MR_tfield(3, MR_tempr1, 0) = (MR_Integer) 3;
	MR_tfield(3, MR_tempr1, 1) = MR_sv(1);
	MR_tfield(3, MR_tempr1, 2) = MR_sv(2);
	MR_tfield(3, MR_tempr1, 3) = MR_sv(3);
	MR_tfield(3, MR_tempr1, 4) = MR_r1;
	MR_tempr4 = MR_sv(7);
	MR_tempr2 = MR_tfield(0, MR_tempr4, 7);
	if (MR_INT_NE(MR_tempr2,1)) {
		MR_GOTO_LAB(recompilation__check__check_functor_ambiguity_8_0_i18);
	}
	MR_tag_alloc_heap(MR_tempr3, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr3, 0) = MR_tempr1;
	MR_tfield(1, MR_tempr3, 1) = MR_tfield(0, MR_tempr4, 8);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 9);
	MR_tfield(0, MR_r1, 0) = MR_tfield(0, MR_tempr4, 0);
	MR_tfield(0, MR_r1, 1) = MR_tfield(0, MR_tempr4, 1);
	MR_tfield(0, MR_r1, 2) = MR_tfield(0, MR_tempr4, 2);
	MR_tfield(0, MR_r1, 3) = MR_tfield(0, MR_tempr4, 3);
	MR_tfield(0, MR_r1, 4) = MR_tfield(0, MR_tempr4, 4);
	MR_tfield(0, MR_r1, 5) = MR_tfield(0, MR_tempr4, 5);
	MR_tfield(0, MR_r1, 6) = MR_tfield(0, MR_tempr4, 6);
	MR_tfield(0, MR_r1, 7) = MR_tempr2;
	MR_tfield(0, MR_r1, 8) = MR_tempr3;
	MR_decr_sp_and_return(8);
	}
MR_def_label(recompilation__check__check_functor_ambiguity_8_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_r3;
	MR_tfield(0, MR_r2, 1) = MR_sv(7);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_exception);
	MR_succip_word = MR_sv(8);
	MR_decr_sp(8);
	MR_np_tailcall_ent(exception__throw_1_0);
MR_def_label(recompilation__check__check_functor_ambiguity_8_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(7);
	MR_decr_sp_and_return(8);
#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_BEGIN_MODULE(recompilation__check_module48)
	MR_init_entry1(fn__recompilation__check__project_spec_to_msgs_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__recompilation__check__project_spec_to_msgs_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'project_spec_to_msgs'/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_def_static(fn__recompilation__check__project_spec_to_msgs_1_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 2);
	MR_proceed();
#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(private_builtin__builtin_unify_pred_2_0);

MR_BEGIN_MODULE(recompilation__check_module49)
	MR_init_entry1(__Unify___recompilation__check__find_target_file_names_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___recompilation__check__find_target_file_names_0_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Unify__'/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____Unify___recompilation__check__find_target_file_names_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_unify_pred_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(private_builtin__builtin_compare_pred_3_0);

MR_BEGIN_MODULE(recompilation__check_module50)
	MR_init_entry1(__Compare___recompilation__check__find_target_file_names_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___recompilation__check__find_target_file_names_0_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Compare__'/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____Compare___recompilation__check__find_target_file_names_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_pred_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_BEGIN_MODULE(recompilation__check_module51)
	MR_init_entry1(__Unify___recompilation__check__find_timestamp_file_names_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___recompilation__check__find_timestamp_file_names_0_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Unify__'/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____Unify___recompilation__check__find_timestamp_file_names_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_unify_pred_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_BEGIN_MODULE(recompilation__check_module52)
	MR_init_entry1(__Compare___recompilation__check__find_timestamp_file_names_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___recompilation__check__find_timestamp_file_names_0_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Compare__'/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____Compare___recompilation__check__find_timestamp_file_names_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_pred_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_BEGIN_MODULE(recompilation__check_module53)
	MR_init_entry1(__Unify___recompilation__check__functor_match_arity_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___recompilation__check__functor_match_arity_0_0);
	MR_init_label4(__Unify___recompilation__check__functor_match_arity_0_0,5,15,6,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Unify__'/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_def_static(__Unify___recompilation__check__functor_match_arity_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___recompilation__check__functor_match_arity_0_0_i15);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_sv(1) = MR_tempr1;
	MR_sv(2) = MR_r2;
	if (MR_LTAGS_TESTR(MR_tempr1,0,0)) {
		MR_GOTO_LAB(__Unify___recompilation__check__functor_match_arity_0_0_i5);
	}
	MR_r1 = (MR_sv(2) == MR_tempr1);
	MR_decr_sp(2);
	MR_proceed();
	}
MR_def_label(__Unify___recompilation__check__functor_match_arity_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__functor_match_arity_0_0_i6);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__functor_match_arity_0_0_i1);
	}
	MR_r1 = MR_tfield(1, MR_sv(1), 0);
	MR_r2 = MR_tfield(1, MR_sv(2), 0);
	MR_r1 = (MR_r1 == MR_r2);
	MR_decr_sp(2);
	MR_proceed();
MR_def_label(__Unify___recompilation__check__functor_match_arity_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp(2);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___recompilation__check__functor_match_arity_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Unify___recompilation__check__functor_match_arity_0_0_i1);
	}
	MR_r1 = MR_tfield(2, MR_sv(1), 0);
	MR_r2 = MR_tfield(2, MR_sv(2), 0);
	MR_r1 = (MR_r1 == MR_r2);
	MR_decr_sp(2);
	MR_proceed();
MR_def_label(__Unify___recompilation__check__functor_match_arity_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp(2);
	MR_r1 = MR_FALSE;
	MR_proceed();
#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(private_builtin__builtin_compare_int_3_0);

MR_BEGIN_MODULE(recompilation__check_module54)
	MR_init_entry1(__Compare___recompilation__check__functor_match_arity_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___recompilation__check__functor_match_arity_0_0);
	MR_init_label9(__Compare___recompilation__check__functor_match_arity_0_0,30,7,5,11,34,9,26,15,27)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Compare__'/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_def_static(__Compare___recompilation__check__functor_match_arity_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__functor_match_arity_0_0_i30);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	if (MR_LTAGS_TESTR(MR_sv(1),0,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__functor_match_arity_0_0_i5);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__functor_match_arity_0_0_i7);
	}
MR_def_label(__Compare___recompilation__check__functor_match_arity_0_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___recompilation__check__functor_match_arity_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__functor_match_arity_0_0_i27);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___recompilation__check__functor_match_arity_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__functor_match_arity_0_0_i9);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__functor_match_arity_0_0_i11);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___recompilation__check__functor_match_arity_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__functor_match_arity_0_0_i26);
	}
MR_def_label(__Compare___recompilation__check__functor_match_arity_0_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_mask_field(MR_sv(1), 0);
	MR_r2 = MR_mask_field(MR_sv(2), 0);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___recompilation__check__functor_match_arity_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__functor_match_arity_0_0_i15);
	}
MR_def_label(__Compare___recompilation__check__functor_match_arity_0_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___recompilation__check__functor_match_arity_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__functor_match_arity_0_0_i34);
	}
MR_def_label(__Compare___recompilation__check__functor_match_arity_0_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 2;
	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(__Unify___list__list_1_0);

MR_BEGIN_MODULE(recompilation__check_module55)
	MR_init_entry1(__Unify___recompilation__check__modules_to_recompile_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___recompilation__check__modules_to_recompile_0_0);
	MR_init_label3(__Unify___recompilation__check__modules_to_recompile_0_0,12,5,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Unify__'/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____Unify___recompilation__check__modules_to_recompile_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___recompilation__check__modules_to_recompile_0_0_i12);
	}
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_sv(1) = MR_tempr1;
	MR_sv(2) = MR_r2;
	if (MR_LTAGS_TESTR(MR_tempr1,0,0)) {
		MR_GOTO_LAB(__Unify___recompilation__check__modules_to_recompile_0_0_i5);
	}
	MR_r1 = (MR_sv(2) == MR_tempr1);
	MR_decr_sp(3);
	MR_proceed();
	}
MR_def_label(__Unify___recompilation__check__modules_to_recompile_0_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___recompilation__check__modules_to_recompile_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TEST(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Unify___recompilation__check__modules_to_recompile_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = MR_tfield(1, MR_sv(1), 0);
	MR_r3 = MR_tfield(1, MR_sv(2), 0);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
MR_def_label(__Unify___recompilation__check__modules_to_recompile_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	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(__Compare___list__list_1_0);

MR_BEGIN_MODULE(recompilation__check_module56)
	MR_init_entry1(__Compare___recompilation__check__modules_to_recompile_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___recompilation__check__modules_to_recompile_0_0);
	MR_init_label4(__Compare___recompilation__check__modules_to_recompile_0_0,18,7,5,9)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Compare__'/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____Compare___recompilation__check__modules_to_recompile_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__modules_to_recompile_0_0_i18);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	if (MR_LTAGS_TESTR(MR_sv(1),0,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__modules_to_recompile_0_0_i5);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__modules_to_recompile_0_0_i7);
	}
MR_def_label(__Compare___recompilation__check__modules_to_recompile_0_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___recompilation__check__modules_to_recompile_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___recompilation__check__modules_to_recompile_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__modules_to_recompile_0_0_i9);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___recompilation__check__modules_to_recompile_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = MR_tfield(1, MR_sv(1), 0);
	MR_r3 = MR_tfield(1, MR_sv(2), 0);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Compare___list__list_1_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_BEGIN_MODULE(recompilation__check_module57)
	MR_init_entry1(__Unify___recompilation__check__parse_resolved_item_matches_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___recompilation__check__parse_resolved_item_matches_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Unify__'/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_def_static(__Unify___recompilation__check__parse_resolved_item_matches_1_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r2;
	MR_r2 = MR_r3;
	MR_np_tailcall_ent(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_85_110_105_102_121_95_95_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_112_97_114_115_101_95_114_101_115_111_108_118_101_100_95_105_116_101_109_95_109_97_116_99_104_101_115_95_49_95_95_91_49_93_95_48_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_BEGIN_MODULE(recompilation__check_module58)
	MR_init_entry1(__Compare___recompilation__check__parse_resolved_item_matches_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___recompilation__check__parse_resolved_item_matches_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Compare__'/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_def_static(__Compare___recompilation__check__parse_resolved_item_matches_1_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r2;
	MR_r2 = MR_r3;
	MR_np_tailcall_ent(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_67_111_109_112_97_114_101_95_95_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_112_97_114_115_101_95_114_101_115_111_108_118_101_100_95_105_116_101_109_95_109_97_116_99_104_101_115_95_49_95_95_91_49_93_95_48_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(__Unify___tree234__tree234_2_0);
MR_decl_entry(__Unify___recompilation__item_id_set_3_0);
MR_decl_entry(__Unify___set_ordlist__set_ordlist_1_0);

MR_BEGIN_MODULE(recompilation__check_module59)
	MR_init_entry1(__Unify___recompilation__check__recompilation_check_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___recompilation__check__recompilation_check_info_0_0);
	MR_init_label8(__Unify___recompilation__check__recompilation_check_info_0_0,4,6,9,25,27,29,33,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Unify__'/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_def_static(__Unify___recompilation__check__recompilation_check_info_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompilation_check_info_0_0_i33);
	}
	MR_incr_sp(17);
	MR_sv(17) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_tfield(0, MR_tempr1, 1);
	MR_tempr2 = MR_sv(2);
	MR_sv(2) = MR_tfield(0, MR_tempr1, 2);
	MR_sv(3) = MR_tfield(0, MR_tempr1, 3);
	MR_sv(4) = MR_tfield(0, MR_tempr1, 4);
	MR_sv(5) = MR_tfield(0, MR_tempr1, 5);
	MR_sv(6) = MR_tfield(0, MR_tempr1, 6);
	MR_sv(7) = MR_tfield(0, MR_tempr1, 7);
	MR_sv(8) = MR_tfield(0, MR_tempr1, 8);
	MR_sv(9) = MR_tfield(0, MR_tempr2, 1);
	MR_sv(10) = MR_tfield(0, MR_tempr2, 2);
	MR_sv(11) = MR_tfield(0, MR_tempr2, 3);
	MR_sv(12) = MR_tfield(0, MR_tempr2, 4);
	MR_sv(13) = MR_tfield(0, MR_tempr2, 5);
	MR_sv(14) = MR_tfield(0, MR_tempr2, 6);
	MR_sv(15) = MR_tfield(0, MR_tempr2, 7);
	MR_sv(16) = MR_tfield(0, MR_tempr2, 8);
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___mdbcomp__prim_data__sym_name_0_0,
		__Unify___recompilation__check__recompilation_check_info_0_0_i4);
MR_def_label(__Unify___recompilation__check__recompilation_check_info_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompilation_check_info_0_0_i1);
	}
	if ((MR_sv(1) != MR_sv(9))) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompilation_check_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(10);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___recompilation__check__recompilation_check_info_0_0_i6);
MR_def_label(__Unify___recompilation__check__recompilation_check_info_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompilation_check_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,0);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__read_modules, have_read_module);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_sv(11);
	MR_np_call_localret_ent(__Unify___tree234__tree234_2_0,
		__Unify___recompilation__check__recompilation_check_info_0_0_i9);
MR_def_label(__Unify___recompilation__check__recompilation_check_info_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompilation_check_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,3);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,5,7);
	MR_r3 = (MR_Word) MR_TAG_COMMON(0,5,10);
	MR_r4 = MR_sv(4);
	MR_r5 = MR_sv(12);
	MR_np_call_localret_ent(__Unify___recompilation__item_id_set_3_0,
		__Unify___recompilation__check__recompilation_check_info_0_0_i25);
MR_def_label(__Unify___recompilation__check__recompilation_check_info_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompilation_check_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation, item_name);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(13);
	MR_np_call_localret_ent(__Unify___set_ordlist__set_ordlist_1_0,
		__Unify___recompilation__check__recompilation_check_info_0_0_i27);
MR_def_label(__Unify___recompilation__check__recompilation_check_info_0_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompilation_check_info_0_0_i1);
	}
	MR_r1 = MR_sv(6);
	MR_r2 = MR_sv(14);
	MR_np_call_localret_ent(__Unify___recompilation__check__modules_to_recompile_0_0,
		__Unify___recompilation__check__recompilation_check_info_0_0_i29);
MR_def_label(__Unify___recompilation__check__recompilation_check_info_0_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompilation_check_info_0_0_i1);
	}
	if ((MR_sv(7) != MR_sv(15))) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompilation_check_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_reason);
	MR_r2 = MR_sv(8);
	MR_r3 = MR_sv(16);
	MR_succip_word = MR_sv(17);
	MR_decr_sp(17);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
MR_def_label(__Unify___recompilation__check__recompilation_check_info_0_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___recompilation__check__recompilation_check_info_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	MR_decr_sp_and_return(17);
#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(__Compare___mdbcomp__prim_data__sym_name_0_0);
MR_decl_entry(__Compare___tree234__tree234_2_0);
MR_decl_entry(__Compare___recompilation__item_id_set_3_0);
MR_decl_entry(__Compare___set_ordlist__set_ordlist_1_0);

MR_BEGIN_MODULE(recompilation__check_module60)
	MR_init_entry1(__Compare___recompilation__check__recompilation_check_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___recompilation__check__recompilation_check_info_0_0);
	MR_init_label10(__Compare___recompilation__check__recompilation_check_info_0_0,3,2,5,9,13,18,36,40,44,48)
	MR_init_label1(__Compare___recompilation__check__recompilation_check_info_0_0,119)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Compare__'/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_def_static(__Compare___recompilation__check__recompilation_check_info_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompilation_check_info_0_0_i3);
	}
	MR_incr_sp(17);
	MR_sv(17) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___recompilation__check__recompilation_check_info_0_0_i2);
MR_def_label(__Compare___recompilation__check__recompilation_check_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___recompilation__check__recompilation_check_info_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(2);
	MR_sv(16) = MR_tfield(0, MR_tempr5, 8);
	MR_sv(15) = MR_tfield(0, MR_tempr5, 7);
	MR_sv(14) = MR_tfield(0, MR_tempr5, 6);
	MR_sv(13) = MR_tfield(0, MR_tempr5, 5);
	MR_sv(12) = MR_tfield(0, MR_tempr5, 4);
	MR_sv(11) = MR_tfield(0, MR_tempr5, 3);
	MR_sv(10) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(9) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	MR_sv(8) = MR_tfield(0, MR_tempr6, 8);
	MR_sv(7) = MR_tfield(0, MR_tempr6, 7);
	MR_sv(6) = MR_tfield(0, MR_tempr6, 6);
	MR_sv(5) = MR_tfield(0, MR_tempr6, 5);
	MR_sv(4) = MR_tfield(0, MR_tempr6, 4);
	MR_sv(3) = MR_tfield(0, MR_tempr6, 3);
	MR_tempr1 = MR_tfield(0, MR_tempr6, 2);
	MR_tempr2 = MR_tfield(0, MR_tempr6, 1);
	MR_tempr3 = MR_tempr6;
	MR_sv(1) = MR_tempr2;
	MR_tempr4 = MR_tempr5;
	MR_sv(2) = MR_tempr1;
	MR_r1 = MR_tfield(0, MR_tempr3, 0);
	MR_r2 = MR_tfield(0, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___mdbcomp__prim_data__sym_name_0_0,
		__Compare___recompilation__check__recompilation_check_info_0_0_i5);
MR_def_label(__Compare___recompilation__check__recompilation_check_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompilation_check_info_0_0_i119);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(9);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___recompilation__check__recompilation_check_info_0_0_i9);
MR_def_label(__Compare___recompilation__check__recompilation_check_info_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompilation_check_info_0_0_i119);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(10);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___recompilation__check__recompilation_check_info_0_0_i13);
MR_def_label(__Compare___recompilation__check__recompilation_check_info_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompilation_check_info_0_0_i119);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,0);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__read_modules, have_read_module);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_sv(11);
	MR_np_call_localret_ent(__Compare___tree234__tree234_2_0,
		__Compare___recompilation__check__recompilation_check_info_0_0_i18);
MR_def_label(__Compare___recompilation__check__recompilation_check_info_0_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompilation_check_info_0_0_i119);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,5,3);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,5,7);
	MR_r3 = (MR_Word) MR_TAG_COMMON(0,5,10);
	MR_r4 = MR_sv(4);
	MR_r5 = MR_sv(12);
	MR_np_call_localret_ent(__Compare___recompilation__item_id_set_3_0,
		__Compare___recompilation__check__recompilation_check_info_0_0_i36);
MR_def_label(__Compare___recompilation__check__recompilation_check_info_0_0,36)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompilation_check_info_0_0_i119);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation, item_name);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(13);
	MR_np_call_localret_ent(__Compare___set_ordlist__set_ordlist_1_0,
		__Compare___recompilation__check__recompilation_check_info_0_0_i40);
MR_def_label(__Compare___recompilation__check__recompilation_check_info_0_0,40)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompilation_check_info_0_0_i119);
	}
	MR_r1 = MR_sv(6);
	MR_r2 = MR_sv(14);
	MR_np_call_localret_ent(__Compare___recompilation__check__modules_to_recompile_0_0,
		__Compare___recompilation__check__recompilation_check_info_0_0_i44);
MR_def_label(__Compare___recompilation__check__recompilation_check_info_0_0,44)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompilation_check_info_0_0_i119);
	}
	MR_r1 = MR_sv(7);
	MR_r2 = MR_sv(15);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___recompilation__check__recompilation_check_info_0_0_i48);
MR_def_label(__Compare___recompilation__check__recompilation_check_info_0_0,48)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompilation_check_info_0_0_i119);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_reason);
	MR_r2 = MR_sv(8);
	MR_r3 = MR_sv(16);
	MR_succip_word = MR_sv(17);
	MR_decr_sp(17);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___recompilation__check__recompilation_check_info_0_0,119)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp_and_return(17);
#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_BEGIN_MODULE(recompilation__check_module61)
	MR_init_entry1(__Unify___recompilation__check__recompile_exception_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___recompilation__check__recompile_exception_0_0);
	MR_init_label3(__Unify___recompilation__check__recompile_exception_0_0,4,8,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Unify__'/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_def_static(__Unify___recompilation__check__recompile_exception_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_exception_0_0_i8);
	}
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_tfield(0, MR_tempr1, 1);
	MR_tempr2 = MR_sv(2);
	MR_sv(2) = MR_tfield(0, MR_tempr2, 1);
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___recompilation__check__recompile_reason_0_0,
		__Unify___recompilation__check__recompile_exception_0_0_i4);
MR_def_label(__Unify___recompilation__check__recompile_exception_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_exception_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___recompilation__check__recompilation_check_info_0_0);
MR_def_label(__Unify___recompilation__check__recompile_exception_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___recompilation__check__recompile_exception_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	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_BEGIN_MODULE(recompilation__check_module62)
	MR_init_entry1(__Compare___recompilation__check__recompile_exception_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___recompilation__check__recompile_exception_0_0);
	MR_init_label4(__Compare___recompilation__check__recompile_exception_0_0,3,2,5,21)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Compare__'/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_def_static(__Compare___recompilation__check__recompile_exception_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_exception_0_0_i3);
	}
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___recompilation__check__recompile_exception_0_0_i2);
MR_def_label(__Compare___recompilation__check__recompile_exception_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___recompilation__check__recompile_exception_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(2);
	MR_tempr1 = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	MR_tempr2 = MR_tfield(0, MR_tempr6, 1);
	MR_tempr3 = MR_tempr6;
	MR_sv(1) = MR_tempr2;
	MR_tempr4 = MR_tempr5;
	MR_sv(2) = MR_tempr1;
	MR_r1 = MR_tfield(0, MR_tempr3, 0);
	MR_r2 = MR_tfield(0, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___recompilation__check__recompile_reason_0_0,
		__Compare___recompilation__check__recompile_exception_0_0_i5);
MR_def_label(__Compare___recompilation__check__recompile_exception_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_exception_0_0_i21);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Compare___recompilation__check__recompilation_check_info_0_0);
MR_def_label(__Compare___recompilation__check__recompile_exception_0_0,21)
	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(__Unify___term__context_0_0);
MR_decl_entry(__Unify___recompilation__item_id_0_0);
MR_decl_entry(__Unify___recompilation__item_name_0_0);
MR_decl_entry(__Unify___recompilation__usage__resolved_functor_0_0);

MR_BEGIN_MODULE(recompilation__check_module63)
	MR_init_entry1(__Unify___recompilation__check__recompile_reason_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___recompilation__check__recompile_reason_0_0);
	MR_init_label10(__Unify___recompilation__check__recompile_reason_0_0,5,9,13,11,15,21,19,27,29,25)
	MR_init_label8(__Unify___recompilation__check__recompile_reason_0_0,35,33,39,43,41,93,47,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Unify__'/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_def_static(__Unify___recompilation__check__recompile_reason_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i93);
	}
	MR_incr_sp(7);
	MR_sv(7) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tempr1 = MR_r1;
	MR_sv(1) = MR_tempr1;
	MR_tempr2 = MR_r2;
	MR_sv(2) = MR_tempr2;
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_tempr2,0)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	MR_tempr3 = MR_tfield(0, MR_tempr1, 0);
	MR_tempr4 = MR_tfield(0, MR_tempr2, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr3, (char *) (MR_Word *) MR_tempr4) != 0)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_tfield(0, MR_tempr1, 1);
	MR_r3 = MR_tfield(0, MR_tempr2, 1);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
	}
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i9);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(1, MR_sv(1), 0);
	MR_tempr2 = MR_tfield(1, MR_sv(2), 0);
	MR_r1 = (strcmp((char *) (MR_Word *) MR_tempr1, (char *) (MR_Word *) MR_tempr2) == 0);
	MR_decr_sp_and_return(7);
	}
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),2)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i11);
	}
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_tfield(2, MR_tempr1, 1);
	MR_tempr2 = MR_sv(2);
	MR_sv(2) = MR_tfield(2, MR_tempr2, 1);
	MR_r1 = MR_tfield(2, MR_tempr1, 0);
	MR_r2 = MR_tfield(2, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___term__context_0_0,
		__Unify___recompilation__check__recompile_reason_0_0_i13);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	MR_r1 = (strcmp((char *) (MR_Word *) MR_sv(1), (char *) (MR_Word *) MR_sv(2)) == 0);
	MR_decr_sp_and_return(7);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,4)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i15);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	MR_r1 = MR_tfield(3, MR_sv(1), 1);
	MR_r2 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Unify___recompilation__item_id_0_0);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,6)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i19);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_tfield(3, MR_tempr1, 2);
	MR_tempr2 = MR_sv(2);
	MR_sv(2) = MR_tfield(3, MR_tempr2, 2);
	MR_r1 = MR_tfield(3, MR_tempr1, 1);
	MR_r2 = MR_tfield(3, MR_tempr2, 1);
	}
	MR_np_call_localret_ent(__Unify___mdbcomp__prim_data__sym_name_0_0,
		__Unify___recompilation__check__recompile_reason_0_0_i21);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Unify___recompilation__item_name_0_0);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,3)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i25);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_tfield(3, MR_tempr1, 2);
	MR_tempr2 = MR_sv(2);
	MR_sv(2) = MR_tfield(3, MR_tempr1, 3);
	MR_sv(3) = MR_tfield(3, MR_tempr1, 4);
	MR_sv(4) = MR_tfield(3, MR_tempr2, 2);
	MR_sv(5) = MR_tfield(3, MR_tempr2, 3);
	MR_sv(6) = MR_tfield(3, MR_tempr2, 4);
	MR_r1 = MR_tfield(3, MR_tempr1, 1);
	MR_r2 = MR_tfield(3, MR_tempr2, 1);
	}
	MR_np_call_localret_ent(__Unify___mdbcomp__prim_data__sym_name_0_0,
		__Unify___recompilation__check__recompile_reason_0_0_i27);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	if ((MR_sv(1) != MR_sv(4))) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(5);
	MR_np_call_localret_ent(__Unify___recompilation__usage__resolved_functor_0_0,
		__Unify___recompilation__check__recompile_reason_0_0_i29);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__usage, resolved_functor);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_sv(6);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,2)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i33);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_tfield(3, MR_tempr1, 2);
	MR_tempr2 = MR_sv(2);
	MR_sv(2) = MR_tfield(3, MR_tempr2, 2);
	MR_r1 = MR_tfield(3, MR_tempr1, 1);
	MR_r2 = MR_tfield(3, MR_tempr2, 1);
	}
	MR_np_call_localret_ent(__Unify___recompilation__item_id_0_0,
		__Unify___recompilation__check__recompile_reason_0_0_i35);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,35)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation, item_id);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i39);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(3, MR_sv(1), 1);
	MR_tempr2 = MR_tfield(3, MR_sv(2), 1);
	MR_r1 = (strcmp((char *) (MR_Word *) MR_tempr1, (char *) (MR_Word *) MR_tempr2) == 0);
	MR_decr_sp_and_return(7);
	}
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,39)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,7)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i41);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_tfield(3, MR_tempr1, 2);
	MR_tempr2 = MR_sv(2);
	MR_sv(2) = MR_tfield(3, MR_tempr2, 2);
	MR_r1 = MR_tfield(3, MR_tempr1, 1);
	MR_r2 = MR_tfield(3, MR_tempr2, 1);
	}
	MR_np_call_localret_ent(__Unify___mdbcomp__prim_data__sym_name_0_0,
		__Unify___recompilation__check__recompile_reason_0_0_i43);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,43)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Unify___recompilation__item_name_0_0);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,41)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,5)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i47);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	MR_r1 = MR_tfield(3, MR_sv(1), 1);
	MR_r2 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Unify___recompilation__item_id_0_0);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,93)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,47)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,0)) {
		MR_GOTO_LAB(__Unify___recompilation__check__recompile_reason_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, error_spec);
	MR_r2 = MR_tfield(3, MR_sv(1), 1);
	MR_r3 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
MR_def_label(__Unify___recompilation__check__recompile_reason_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	MR_decr_sp_and_return(7);
#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(private_builtin__builtin_compare_string_3_0);
MR_decl_entry(__Compare___term__context_0_0);
MR_decl_entry(__Compare___recompilation__item_id_0_0);
MR_decl_entry(__Compare___recompilation__item_name_0_0);
MR_decl_entry(__Compare___recompilation__usage__resolved_functor_0_0);

MR_BEGIN_MODULE(recompilation__check_module64)
	MR_init_entry1(__Compare___recompilation__check__recompile_reason_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___recompilation__check__recompile_reason_0_0);
	MR_init_label10(__Compare___recompilation__check__recompile_reason_0_0,3,2,9,7,14,15,16,17,18,19)
	MR_init_label10(__Compare___recompilation__check__recompile_reason_0_0,20,21,5,25,26,28,29,30,31,32)
	MR_init_label10(__Compare___recompilation__check__recompile_reason_0_0,33,34,23,38,39,42,40,47,48,49)
	MR_init_label10(__Compare___recompilation__check__recompile_reason_0_0,50,51,52,36,56,57,58,59,61,62)
	MR_init_label10(__Compare___recompilation__check__recompile_reason_0_0,63,64,65,54,69,70,71,72,75,73)
	MR_init_label10(__Compare___recompilation__check__recompile_reason_0_0,80,81,82,83,67,87,88,89,90,91)
	MR_init_label10(__Compare___recompilation__check__recompile_reason_0_0,94,98,102,92,109,110,111,85,115,116)
	MR_init_label10(__Compare___recompilation__check__recompile_reason_0_0,117,118,119,120,123,121,128,129,113,133)
	MR_init_label10(__Compare___recompilation__check__recompile_reason_0_0,134,135,136,137,138,139,140,142,131,146)
	MR_init_label10(__Compare___recompilation__check__recompile_reason_0_0,147,148,149,150,151,152,153,156,154,144)
	MR_init_label10(__Compare___recompilation__check__recompile_reason_0_0,164,165,166,167,168,169,170,171,172,162)
	MR_init_label10(__Compare___recompilation__check__recompile_reason_0_0,176,177,309,178,179,180,181,182,183,184)
	MR_init_label3(__Compare___recompilation__check__recompile_reason_0_0,316,185,812)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Compare__'/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_def_static(__Compare___recompilation__check__recompile_reason_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i3);
	}
	MR_incr_sp(7);
	MR_sv(7) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i2);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i7);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_tempr1 = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(2);
	MR_tempr2 = MR_tfield(0, MR_tempr6, 1);
	MR_tempr3 = MR_tempr5;
	MR_sv(1) = MR_tempr2;
	MR_tempr4 = MR_tempr6;
	MR_sv(2) = MR_tempr1;
	MR_r1 = MR_tfield(0, MR_tempr3, 0);
	MR_r2 = MR_tfield(0, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(private_builtin__builtin_compare_string_3_0,
		__Compare___recompilation__check__recompile_reason_0_0_i9);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i812);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, format_component);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(1);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i14);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i15);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i16);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i17);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i18);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i19);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i20);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i21);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i316);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i23);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i25);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i26);
	}
	MR_r1 = MR_tfield(1, MR_sv(1), 0);
	MR_r2 = MR_tfield(1, MR_sv(2), 0);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(private_builtin__builtin_compare_string_3_0);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i28);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i29);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i30);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i31);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i32);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i33);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i34);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i316);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i36);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i38);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i39);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,39)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i40);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_tempr1 = MR_tfield(2, MR_tempr5, 1);
	MR_tempr6 = MR_sv(2);
	MR_tempr2 = MR_tfield(2, MR_tempr6, 1);
	MR_tempr3 = MR_tempr5;
	MR_sv(1) = MR_tempr2;
	MR_tempr4 = MR_tempr6;
	MR_sv(2) = MR_tempr1;
	MR_r1 = MR_tfield(2, MR_tempr3, 0);
	MR_r2 = MR_tfield(2, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___term__context_0_0,
		__Compare___recompilation__check__recompile_reason_0_0_i42);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,42)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i812);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(1);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(private_builtin__builtin_compare_string_3_0);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,40)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i47);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,47)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i48);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,48)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i49);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,49)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i50);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,50)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i51);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,51)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i52);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,52)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i316);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,36)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,4)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i54);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i56);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,56)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i57);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,57)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i58);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,58)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i59);
	}
	MR_r1 = MR_tfield(3, MR_sv(1), 1);
	MR_r2 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Compare___recompilation__item_id_0_0);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,59)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i61);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,61)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i62);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,62)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i63);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,63)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i64);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,64)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i65);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,65)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i309);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,54)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,6)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i67);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i69);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,69)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i70);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,70)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i71);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,71)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i72);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,72)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i73);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_tempr1 = MR_tfield(3, MR_tempr5, 2);
	MR_tempr6 = MR_sv(2);
	MR_tempr2 = MR_tfield(3, MR_tempr6, 2);
	MR_tempr3 = MR_tempr5;
	MR_sv(1) = MR_tempr2;
	MR_tempr4 = MR_tempr6;
	MR_sv(2) = MR_tempr1;
	MR_r1 = MR_tfield(3, MR_tempr3, 1);
	MR_r2 = MR_tfield(3, MR_tempr4, 1);
	}
	MR_np_call_localret_ent(__Compare___mdbcomp__prim_data__sym_name_0_0,
		__Compare___recompilation__check__recompile_reason_0_0_i75);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,75)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i812);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(1);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Compare___recompilation__item_name_0_0);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,73)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i80);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,80)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i81);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,81)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i82);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,82)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i83);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,83)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i309);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,67)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,3)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i85);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i87);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,87)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i88);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,88)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i89);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,89)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i90);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,90)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i91);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,91)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i92);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_sv(6) = MR_tfield(3, MR_tempr5, 2);
	MR_sv(5) = MR_tfield(3, MR_tempr5, 3);
	MR_sv(4) = MR_tfield(3, MR_tempr5, 4);
	MR_tempr6 = MR_sv(2);
	MR_sv(3) = MR_tfield(3, MR_tempr6, 4);
	MR_tempr1 = MR_tfield(3, MR_tempr6, 3);
	MR_tempr2 = MR_tfield(3, MR_tempr6, 2);
	MR_tempr3 = MR_tempr5;
	MR_sv(1) = MR_tempr2;
	MR_tempr4 = MR_tempr6;
	MR_sv(2) = MR_tempr1;
	MR_r1 = MR_tfield(3, MR_tempr3, 1);
	MR_r2 = MR_tfield(3, MR_tempr4, 1);
	}
	MR_np_call_localret_ent(__Compare___mdbcomp__prim_data__sym_name_0_0,
		__Compare___recompilation__check__recompile_reason_0_0_i94);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,94)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i812);
	}
	MR_r1 = MR_sv(6);
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___recompilation__check__recompile_reason_0_0_i98);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,98)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i812);
	}
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(__Compare___recompilation__usage__resolved_functor_0_0,
		__Compare___recompilation__check__recompile_reason_0_0_i102);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,102)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i812);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__usage, resolved_functor);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(3);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,92)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i109);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,109)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i110);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,110)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i111);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,111)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i309);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,85)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i113);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i115);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,115)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i116);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,116)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i117);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,117)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i118);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,118)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i119);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,119)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i120);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,120)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i121);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_tempr1 = MR_tfield(3, MR_tempr5, 2);
	MR_tempr6 = MR_sv(2);
	MR_tempr2 = MR_tfield(3, MR_tempr6, 2);
	MR_tempr3 = MR_tempr5;
	MR_sv(1) = MR_tempr2;
	MR_tempr4 = MR_tempr6;
	MR_sv(2) = MR_tempr1;
	MR_r1 = MR_tfield(3, MR_tempr3, 1);
	MR_r2 = MR_tfield(3, MR_tempr4, 1);
	}
	MR_np_call_localret_ent(__Compare___recompilation__item_id_0_0,
		__Compare___recompilation__check__recompile_reason_0_0_i123);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,123)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i812);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation, item_id);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(1);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,121)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i128);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,128)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i129);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,129)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i309);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,113)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i131);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i133);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,133)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i134);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,134)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i135);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,135)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i136);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,136)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i137);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,137)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i138);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,138)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i139);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,139)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i140);
	}
	MR_r1 = MR_tfield(3, MR_sv(1), 1);
	MR_r2 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(private_builtin__builtin_compare_string_3_0);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,140)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i142);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,142)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i309);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,131)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,7)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i144);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i146);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,146)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i147);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,147)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i148);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,148)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i149);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,149)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i150);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,150)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i151);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,151)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i152);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,152)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i153);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,153)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i154);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_tempr1 = MR_tfield(3, MR_tempr5, 2);
	MR_tempr6 = MR_sv(2);
	MR_tempr2 = MR_tfield(3, MR_tempr6, 2);
	MR_tempr3 = MR_tempr5;
	MR_sv(1) = MR_tempr2;
	MR_tempr4 = MR_tempr6;
	MR_sv(2) = MR_tempr1;
	MR_r1 = MR_tfield(3, MR_tempr3, 1);
	MR_r2 = MR_tfield(3, MR_tempr4, 1);
	}
	MR_np_call_localret_ent(__Compare___mdbcomp__prim_data__sym_name_0_0,
		__Compare___recompilation__check__recompile_reason_0_0_i156);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,156)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i812);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(1);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Compare___recompilation__item_name_0_0);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,154)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i309);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,144)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,5)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i162);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i164);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,164)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i165);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,165)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i166);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,166)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i167);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,167)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i168);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,168)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i169);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,169)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i170);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,170)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i171);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,171)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i172);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,172)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i309);
	}
	MR_r1 = MR_tfield(3, MR_sv(1), 1);
	MR_r2 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Compare___recompilation__item_id_0_0);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,162)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i176);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,176)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i177);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,177)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i178);
	}
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,309)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,178)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i179);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,179)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i180);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,180)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i181);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,181)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i182);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,182)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i183);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,183)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i184);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,184)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Compare___recompilation__check__recompile_reason_0_0_i185);
	}
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,316)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(7);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,185)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, error_spec);
	MR_r2 = MR_tfield(3, MR_sv(1), 1);
	MR_r3 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___recompilation__check__recompile_reason_0_0,812)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp_and_return(7);
#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_BEGIN_MODULE(recompilation__check_module65)
	MR_init_entry1(recompilation__check__IntroducedFrom__pred__should_recompile_3__300__1_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__IntroducedFrom__pred__should_recompile_3__300__1_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'IntroducedFrom__pred__should_recompile_3__300__1'/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_def_static(recompilation__check__IntroducedFrom__pred__should_recompile_3__300__1_2_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = MR_tempr1;
	MR_np_tailcall_ent(parse_tree__prog_io_sym_name__try_parse_sym_name_and_no_args_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_BEGIN_MODULE(recompilation__check_module66)
	MR_init_entry1(recompilation__check__IntroducedFrom__pred__parse_pred_or_func_item_match__496__1_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__IntroducedFrom__pred__parse_pred_or_func_item_match__496__1_3_0);
	MR_init_label2(recompilation__check__IntroducedFrom__pred__parse_pred_or_func_item_match__496__1_3_0,2,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'IntroducedFrom__pred__parse_pred_or_func_item_match__496__1'/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_def_static(recompilation__check__IntroducedFrom__pred__parse_pred_or_func_item_match__496__1_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_np_call_localret_ent(parse_tree__prog_io_sym_name__try_parse_sym_name_and_no_args_2_0,
		recompilation__check__IntroducedFrom__pred__parse_pred_or_func_item_match__496__1_3_0_i2);
MR_def_label(recompilation__check__IntroducedFrom__pred__parse_pred_or_func_item_match__496__1_3_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(recompilation__check__IntroducedFrom__pred__parse_pred_or_func_item_match__496__1_3_0_i1);
	}
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 1) = MR_r2;
	MR_r2 = MR_tempr1;
	MR_succip_word = MR_sv(2);
	MR_decr_sp(2);
	MR_r1 = MR_TRUE;
	MR_proceed();
	}
MR_def_label(recompilation__check__IntroducedFrom__pred__parse_pred_or_func_item_match__496__1_3_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(2);
	MR_decr_sp(2);
	MR_r1 = MR_FALSE;
	MR_proceed();
#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_declare_entry(mercury__do_call_closure_3);

MR_BEGIN_MODULE(recompilation__check_module67)
	MR_init_entry1(recompilation__check__IntroducedFrom__pred__parse_resolved_item_arity_matches__611__1_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__recompilation__check__IntroducedFrom__pred__parse_resolved_item_arity_matches__611__1_6_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'IntroducedFrom__pred__parse_resolved_item_arity_matches__611__1'/6 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(recompilation__check__IntroducedFrom__pred__parse_resolved_item_arity_matches__611__1_6_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r3;
	MR_r3 = MR_r4;
	MR_r4 = MR_r5;
	MR_set_prof_ho_caller_proc(MR_ENTRY_AP(recompilation__check__IntroducedFrom__pred__parse_resolved_item_arity_matches__611__1_6_0));
	MR_np_tailcall_ent(do_call_closure_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_BEGIN_MODULE(recompilation__check_module68)
	MR_init_entry1(fn__recompilation__check__IntroducedFrom__func__check_for_pred_or_func_item_ambiguity_2__1146__1_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__recompilation__check__IntroducedFrom__func__check_for_pred_or_func_item_ambiguity_2__1146__1_4_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'IntroducedFrom__func__check_for_pred_or_func_item_ambiguity_2__1146__1'/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(fn__recompilation__check__IntroducedFrom__func__check_for_pred_or_func_item_ambiguity_2__1146__1_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_tfield(0, MR_r4, 1);
	MR_tfield(1, MR_tempr1, 1) = MR_r3;
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr2, 0) = MR_tempr1;
	MR_tfield(0, MR_tempr2, 1) = MR_r2;
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_r1;
	MR_tfield(0, MR_r2, 1) = MR_tempr2;
	MR_r1 = MR_r2;
	MR_proceed();
	}
#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_BEGIN_MODULE(recompilation__check_module69)
	MR_init_entry1(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_85_110_105_102_121_95_95_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_112_97_114_115_101_95_114_101_115_111_108_118_101_100_95_105_116_101_109_95_109_97_116_99_104_101_115_95_49_95_95_91_49_93_95_48_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_85_110_105_102_121_95_95_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_112_97_114_115_101_95_114_101_115_111_108_118_101_100_95_105_116_101_109_95_109_97_116_99_104_101_115_95_49_95_95_91_49_93_95_48_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__pred____Unify___recompilation__check__parse_resolved_item_matches_1__[1]_0'/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_def_static(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_85_110_105_102_121_95_95_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_112_97_114_115_101_95_114_101_115_111_108_118_101_100_95_105_116_101_109_95_109_97_116_99_104_101_115_95_49_95_95_91_49_93_95_48_2_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_unify_pred_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_BEGIN_MODULE(recompilation__check_module70)
	MR_init_entry1(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_67_111_109_112_97_114_101_95_95_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_112_97_114_115_101_95_114_101_115_111_108_118_101_100_95_105_116_101_109_95_109_97_116_99_104_101_115_95_49_95_95_91_49_93_95_48_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_67_111_109_112_97_114_101_95_95_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_112_97_114_115_101_95_114_101_115_111_108_118_101_100_95_105_116_101_109_95_109_97_116_99_104_101_115_95_49_95_95_91_49_93_95_48_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__pred____Compare___recompilation__check__parse_resolved_item_matches_1__[1]_0'/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_def_static(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_67_111_109_112_97_114_101_95_95_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_112_97_114_115_101_95_114_101_115_111_108_118_101_100_95_105_116_101_109_95_109_97_116_99_104_101_115_95_49_95_95_91_49_93_95_48_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_pred_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(io__write_string_3_0);
MR_decl_entry(parse_tree__prog_out__write_sym_name_3_0);

MR_BEGIN_MODULE(recompilation__check_module71)
	MR_init_entry1(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0);
	MR_init_label4(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0,2,5,6,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__pred__write_recompilation_message__ho3__[3]_0'/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_def_static(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_r1 = MR_r2;
	MR_r2 = (MR_Integer) 47;
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0_i2);
MR_def_label(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_EQ(MR_r1,0)) {
		MR_GOTO_LAB(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0_i3);
	}
	MR_r1 = (MR_Word) MR_string_const("Not recompiling module ", 23);
	MR_np_call_localret_ent(io__write_string_3_0,
		f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0_i5);
MR_def_label(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(parse_tree__prog_out__write_sym_name_3_0,
		f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0_i6);
MR_def_label(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const(".\n", 2);
	MR_succip_word = MR_sv(2);
	MR_decr_sp(2);
	MR_np_tailcall_ent(io__write_string_3_0);
MR_def_label(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_51_95_95_91_51_93_95_48_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp_and_return(2);
#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_BEGIN_MODULE(recompilation__check_module72)
	MR_init_entry1(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0);
	MR_init_label2(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0,2,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__pred__write_recompilation_message__ho4__[5]_0'/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_def_static(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_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_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_r1 = MR_r4;
	MR_r2 = (MR_Integer) 47;
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0_i2);
MR_def_label(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_EQ(MR_r1,0)) {
		MR_GOTO_LAB(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0_i3);
	}
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 5);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(15,6);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(recompilation__check__write_recompile_reason_5_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_sv(2);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(recompilation__check, recompile_reason);
	MR_r2 = (MR_Word) MR_IO_CTOR_ADDR;
	MR_r4 = MR_sv(3);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(list__foldl_4_2);
	}
MR_def_label(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_52_95_95_91_53_93_95_48_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp_and_return(4);
#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_BEGIN_MODULE(recompilation__check_module73)
	MR_init_entry1(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_53_95_95_91_53_93_95_48_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_53_95_95_91_53_93_95_48_4_0);
	MR_init_label2(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_53_95_95_91_53_93_95_48_4_0,2,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__pred__write_recompilation_message__ho5__[5]_0'/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_def_static(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_53_95_95_91_53_93_95_48_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_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_r1 = MR_r4;
	MR_r2 = (MR_Integer) 47;
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_53_95_95_91_53_93_95_48_4_0_i2);
MR_def_label(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_53_95_95_91_53_93_95_48_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_EQ(MR_r1,0)) {
		MR_GOTO_LAB(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_53_95_95_91_53_93_95_48_4_0_i3);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(3);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(recompilation__check__write_not_found_reasons_message_5_0);
MR_def_label(f_114_101_99_111_109_112_105_108_97_116_105_111_110_95_95_99_104_101_99_107_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_119_114_105_116_101_95_114_101_99_111_109_112_105_108_97_116_105_111_110_95_109_101_115_115_97_103_101_95_95_104_111_53_95_95_91_53_93_95_48_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp_and_return(4);
#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__recompilation__check_maybe_bunch_0(void)
{
	recompilation__check_module0();
	recompilation__check_module1();
	recompilation__check_module2();
	recompilation__check_module3();
	recompilation__check_module4();
	recompilation__check_module5();
	recompilation__check_module6();
	recompilation__check_module7();
	recompilation__check_module8();
	recompilation__check_module9();
	recompilation__check_module10();
	recompilation__check_module11();
	recompilation__check_module12();
	recompilation__check_module13();
	recompilation__check_module14();
	recompilation__check_module15();
	recompilation__check_module16();
	recompilation__check_module17();
	recompilation__check_module18();
	recompilation__check_module19();
	recompilation__check_module20();
	recompilation__check_module21();
	recompilation__check_module22();
	recompilation__check_module23();
	recompilation__check_module24();
	recompilation__check_module25();
	recompilation__check_module26();
	recompilation__check_module27();
	recompilation__check_module28();
	recompilation__check_module29();
	recompilation__check_module30();
	recompilation__check_module31();
	recompilation__check_module32();
	recompilation__check_module33();
	recompilation__check_module34();
	recompilation__check_module35();
	recompilation__check_module36();
	recompilation__check_module37();
	recompilation__check_module38();
	recompilation__check_module39();
}

static void mercury__recompilation__check_maybe_bunch_1(void)
{
	recompilation__check_module40();
	recompilation__check_module41();
	recompilation__check_module42();
	recompilation__check_module43();
	recompilation__check_module44();
	recompilation__check_module45();
	recompilation__check_module46();
	recompilation__check_module47();
	recompilation__check_module48();
	recompilation__check_module49();
	recompilation__check_module50();
	recompilation__check_module51();
	recompilation__check_module52();
	recompilation__check_module53();
	recompilation__check_module54();
	recompilation__check_module55();
	recompilation__check_module56();
	recompilation__check_module57();
	recompilation__check_module58();
	recompilation__check_module59();
	recompilation__check_module60();
	recompilation__check_module61();
	recompilation__check_module62();
	recompilation__check_module63();
	recompilation__check_module64();
	recompilation__check_module65();
	recompilation__check_module66();
	recompilation__check_module67();
	recompilation__check_module68();
	recompilation__check_module69();
	recompilation__check_module70();
	recompilation__check_module71();
	recompilation__check_module72();
	recompilation__check_module73();
}

/* suppress gcc -Wmissing-decls warnings */
void mercury__recompilation__check__init(void);
void mercury__recompilation__check__init_type_tables(void);
void mercury__recompilation__check__init_debugger(void);
#ifdef MR_DEEP_PROFILING
void mercury__recompilation__check__write_out_proc_statics(FILE *deep_fp, FILE *procrep_fp);
#endif
#ifdef MR_RECORD_TERM_SIZES
void mercury__recompilation__check__init_complexity_procs(void);
#endif
#ifdef MR_THREADSCOPE
void mercury__recompilation__check__init_threadscope_string_table(void);
#endif

void mercury__recompilation__check__init(void)
{
	static MR_bool done = MR_FALSE;
	if (done) {
		return;
	}
	done = MR_TRUE;
	mercury__recompilation__check_maybe_bunch_0();
	mercury__recompilation__check_maybe_bunch_1();
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_recompilation__check__type_ctor_info_find_target_file_names_0,
		recompilation__check__find_target_file_names_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_recompilation__check__type_ctor_info_find_timestamp_file_names_0,
		recompilation__check__find_timestamp_file_names_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_recompilation__check__type_ctor_info_functor_match_arity_0,
		recompilation__check__functor_match_arity_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_recompilation__check__type_ctor_info_modules_to_recompile_0,
		recompilation__check__modules_to_recompile_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_recompilation__check__type_ctor_info_parse_resolved_item_matches_1,
		recompilation__check__parse_resolved_item_matches_1_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_recompilation__check__type_ctor_info_recompilation_check_info_0,
		recompilation__check__recompilation_check_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_recompilation__check__type_ctor_info_recompile_exception_0,
		recompilation__check__recompile_exception_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_recompilation__check__type_ctor_info_recompile_reason_0,
		recompilation__check__recompile_reason_0_0);
	mercury__recompilation__check__init_debugger();
}

void mercury__recompilation__check__init_type_tables(void)
{
	static MR_bool done = MR_FALSE;
	if (done) {
		return;
	}
	done = MR_TRUE;
	{
		MR_register_type_ctor_info(
		&mercury_data_recompilation__check__type_ctor_info_find_target_file_names_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_recompilation__check__type_ctor_info_find_timestamp_file_names_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_recompilation__check__type_ctor_info_functor_match_arity_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_recompilation__check__type_ctor_info_modules_to_recompile_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_recompilation__check__type_ctor_info_parse_resolved_item_matches_1);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_recompilation__check__type_ctor_info_recompilation_check_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_recompilation__check__type_ctor_info_recompile_exception_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_recompilation__check__type_ctor_info_recompile_reason_0);
	}
}


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

#ifdef MR_DEEP_PROFILING

void mercury__recompilation__check__write_out_proc_statics(FILE *deep_fp, FILE *procrep_fp)
{
	MR_write_out_module_proc_reps_start(procrep_fp, &mercury_data__module_common_layout__recompilation__check);
	MR_write_out_module_proc_reps_end(procrep_fp);
}

#endif

#ifdef MR_RECORD_TERM_SIZES

void mercury__recompilation__check__init_complexity_procs(void)
{
}

#endif

#ifdef MR_THREADSCOPE

void mercury__recompilation__check__init_threadscope_string_table(void)
{
}

#endif

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